@m4l/components 0.2.12 → 0.2.13
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/AccountPopover/{index.bfacb05d.js → index.7060320a.js} +8 -8
- package/components/AppBar/{index.0821efbc.js → index.c8e7b25c.js} +8 -8
- package/components/CommonActions/components/ActionCancel/{index.5606420f.js → index.82313aef.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.c8f9d47d.js → index.3b2605ee.js} +44 -44
- package/components/CommonActions/components/ActionFormIntro/{index.1e141999.js → index.29891df9.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.f85266eb.js → index.c70ae272.js} +2 -2
- package/components/CommonActions/components/Actions/{index.9bf6a051.js → index.93e9112b.js} +42 -42
- package/components/DataGrid/{index.35e65d9b.js → index.387652a9.js} +48 -48
- package/components/DynamicFilter/{index.e1ad0e47.js → index.9e9885b0.js} +45 -45
- package/components/HelperText/{index.207eea15.js → index.918bba47.js} +8 -8
- package/components/Icon/{index.29065051.js → index.e215d0f0.js} +1 -1
- package/components/Image/{index.cf640615.js → index.d684bdf2.js} +2 -2
- package/components/LanguagePopover/{index.df17bd3b.js → index.424bad09.js} +8 -8
- package/components/LoadingError/{index.209dc4ff.js → index.b3e4e8e5.js} +8 -8
- package/components/MFLoader/{index.7e274375.js → index.3d17dfc3.js} +9 -9
- package/components/ModalDialog/{index.2b93a5df.js → index.40f6571e.js} +3 -3
- package/components/NavLink/{index.35759d66.js → index.ed4c0609.js} +8 -8
- package/components/NoItemSelected/{index.50d06852.js → index.5ed80b8e.js} +1 -1
- package/components/ObjectLogs/{index.5c07c159.js → index.3a939c6b.js} +43 -43
- package/components/PDFViewer/{index.5e4d01af.js → index.4d16e5bc.js} +8 -8
- package/components/Page/{index.5aefe8f7.js → index.890fbaac.js} +1 -1
- package/components/PaperForm/{index.6859d4e8.js → index.013ed28b.js} +1 -1
- package/components/Period/{index.08e6f781.js → index.3bd05e05.js} +42 -42
- package/components/PrintingSystem/{index.73dd98b3.js → index.70234425.js} +17 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index.d70a5d24.js → index.1dd418aa.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.4cd7f6d8.js → index.6aadd6b3.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.56efaa0c.js → index.91e65ff6.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.4320bb03.js → index.c2481749.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.6cabbf31.js → index.758d94d1.js} +2 -2
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.0e23ffd4.js → index.732d7c58.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.f97e7aa6.js → index.1a20a9d4.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.7d3a3c8f.js → index.8402e742.js} +3 -4
- package/components/PrintingSystem/subcomponents/SectionNode/{index.05d1fcf7.js → index.25aeb4aa.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.3894059c.js → index.2b632722.js} +1 -1
- package/components/PrintingSystem/types.d.ts +2 -2
- package/components/PropertyValue/{index.c1d519a2.js → index.45482ca3.js} +9 -9
- package/components/SideBar/{index.f322ee0b.js → index.614f85fb.js} +3 -3
- package/components/ToastContainer/{index.f67795cb.js → index.5e729fbb.js} +2 -2
- package/components/areas/components/AreasAdmin/{index.3b2795c4.js → index.c1539c1b.js} +46 -46
- package/components/areas/components/AreasViewer/{index.26f5cb46.js → index.e084d8e9.js} +44 -44
- package/components/areas/components/{index.7d8c88e9.js → index.4381fcfa.js} +12 -12
- package/components/areas/contexts/AreasContext/{index.32bf901d.js → index.cffa1526.js} +2 -2
- package/components/areas/contexts/{index.2b5ecd67.js → index.003a53c1.js} +1 -1
- package/components/areas/hooks/useAreas/{index.773990cf.js → index.00031ac3.js} +1 -1
- package/components/areas/{index.4de63629.js → index.1b5b2267.js} +12 -12
- package/components/formatters/BooleanFormatter/{index.64ed2d71.js → index.5ed55bda.js} +2 -2
- package/components/formatters/{index.57f0da1b.js → index.4426a315.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.b2e17b00.js → index.01a8f57e.js} +9 -9
- package/components/hook-form/RHFAutocompleteAsync/{index.4cd318d2.js → index.df1d5bca.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.f6b8a161.js → index.23fc4851.js} +9 -9
- package/components/hook-form/RHFColorPicker/{index.7170bbf9.js → index.c7695748.js} +10 -10
- package/components/hook-form/RHFDateTime/{index.082312da.js → index.984b803f.js} +9 -9
- package/components/hook-form/RHFPeriod/{index.fcf1fadc.js → index.1852e7d3.js} +2 -2
- package/components/hook-form/RHFTextField/{index.11acfb14.js → index.1167879e.js} +3 -3
- package/components/hook-form/RHFUpload/{index.426af663.js → index.49edcb02.js} +9 -9
- package/components/modal/{WindowBase.07af6541.js → WindowBase.8e3e5337.js} +43 -43
- package/components/modal/{WindowConfirm.0c7d6afb.js → WindowConfirm.eec3e5d0.js} +46 -46
- package/components/modal/{index.e956af6b.js → index.ac0c9093.js} +42 -42
- package/components/mui_extended/Accordion/{index.d28e2432.js → index.3087f40e.js} +3 -3
- package/components/mui_extended/Button/{index.f538e360.js → index.0f2552ed.js} +1 -1
- package/components/mui_extended/IconButton/{index.e295aa1f.js → index.5afe56b7.js} +1 -1
- package/components/mui_extended/MenuActions/{index.69ac3618.js → index.cc54c35c.js} +7 -7
- package/components/mui_extended/Pager/{index.78dea971.js → index.5fbbefe2.js} +1 -1
- package/components/mui_extended/Tab/{index.51a68bcd.js → index.ae9ea641.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.43140642.js → index.667d63cd.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.3d725376.js → index.2de19be3.js} +2 -2
- package/components/mui_extended/{index.be1d0dcd.js → index.6837d969.js} +8 -8
- package/contexts/ModalContext/{index.6fe8dc84.js → index.ef38d747.js} +1 -1
- package/hooks/useFormAddEdit/{index.bf28bff2.js → index.8276444a.js} +44 -44
- package/hooks/useModal/{index.8741e50f.js → index.8acace45.js} +1 -1
- package/hooks/useTab/index.07f652ec.js +101 -0
- package/index.js +69 -69
- package/{node_modules.56dca1cf.js → node_modules.79f5ed2f.js} +1 -1
- package/package.json +1 -1
- package/{vendor.2b182abe.js → vendor.f0742647.js} +56 -56
- package/hooks/useTab/index.90bde9dc.js +0 -101
|
@@ -1,93 +1,93 @@
|
|
|
1
1
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, generateUtilityClasses, generateUtilityClass, Autocomplete, TextField, Skeleton } from "@mui/material";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
|
-
import { I as Icon } from "../Icon/index.
|
|
5
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
4
|
+
import { I as Icon } from "../Icon/index.e215d0f0.js";
|
|
5
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.93e9112b.js";
|
|
6
6
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import "@mui/material/Button";
|
|
8
|
-
import "../mui_extended/Button/index.
|
|
8
|
+
import "../mui_extended/Button/index.0f2552ed.js";
|
|
9
9
|
import "clsx";
|
|
10
10
|
import "react-hook-form";
|
|
11
|
-
import "../../contexts/ModalContext/index.
|
|
11
|
+
import "../../contexts/ModalContext/index.ef38d747.js";
|
|
12
12
|
import "../../react-draggable.ee21cb7e.js";
|
|
13
13
|
import "../Resizeable/index.6478d7d8.js";
|
|
14
14
|
import "@m4l/graphics";
|
|
15
|
-
import "../modal/index.
|
|
15
|
+
import "../modal/index.ac0c9093.js";
|
|
16
16
|
import "../animate/index.4e9774a6.js";
|
|
17
17
|
import "framer-motion";
|
|
18
18
|
import "@mui/material/styles";
|
|
19
19
|
import "react-router-dom";
|
|
20
20
|
import "../animate/LoadingScreen/index.1d0c4307.js";
|
|
21
21
|
import "../animate/PropagateLoader/index.7fab43c8.js";
|
|
22
|
-
import "../mui_extended/IconButton/index.
|
|
22
|
+
import "../mui_extended/IconButton/index.5afe56b7.js";
|
|
23
23
|
import "zustand";
|
|
24
|
-
import "../areas/contexts/AreasContext/index.
|
|
25
|
-
import "../areas/components/AreasAdmin/index.
|
|
24
|
+
import "../areas/contexts/AreasContext/index.cffa1526.js";
|
|
25
|
+
import "../areas/components/AreasAdmin/index.c1539c1b.js";
|
|
26
26
|
import "zustand/shallow";
|
|
27
27
|
import "../ScrollBar/index.010f1b9d.js";
|
|
28
|
-
import "../mui_extended/Accordion/index.
|
|
28
|
+
import "../mui_extended/Accordion/index.3087f40e.js";
|
|
29
29
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
30
30
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
31
31
|
import "../mui_extended/CheckBox.38abccd8.js";
|
|
32
32
|
import "../mui_extended/Badge/index.b09524fe.js";
|
|
33
|
-
import "../Image/index.
|
|
33
|
+
import "../Image/index.d684bdf2.js";
|
|
34
34
|
import "@mui/lab";
|
|
35
|
-
import "../mui_extended/MenuActions/index.
|
|
35
|
+
import "../mui_extended/MenuActions/index.cc54c35c.js";
|
|
36
36
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
37
37
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
38
|
-
import "../mui_extended/Tab/index.
|
|
39
|
-
import "../mui_extended/Pager/index.
|
|
38
|
+
import "../mui_extended/Tab/index.ae9ea641.js";
|
|
39
|
+
import "../mui_extended/Pager/index.5fbbefe2.js";
|
|
40
40
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
41
|
-
import "../areas/components/AreasViewer/index.
|
|
41
|
+
import "../areas/components/AreasViewer/index.e084d8e9.js";
|
|
42
42
|
import "../LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
43
|
-
import "../LoadingError/index.
|
|
43
|
+
import "../LoadingError/index.b3e4e8e5.js";
|
|
44
44
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
45
45
|
import "zustand/middleware/immer";
|
|
46
46
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
47
|
-
import "../hook-form/RHFAutocomplete/index.
|
|
48
|
-
import "../HelperText/index.
|
|
49
|
-
import "../../node_modules.
|
|
47
|
+
import "../hook-form/RHFAutocomplete/index.01a8f57e.js";
|
|
48
|
+
import "../HelperText/index.918bba47.js";
|
|
49
|
+
import "../../node_modules.79f5ed2f.js";
|
|
50
50
|
import "lodash-es/debounce";
|
|
51
51
|
import "lodash-es/each";
|
|
52
|
-
import "../hook-form/RHFColorPicker/index.
|
|
52
|
+
import "../hook-form/RHFColorPicker/index.c7695748.js";
|
|
53
53
|
import "lodash/debounce";
|
|
54
|
-
import "../hook-form/RHFAutocompleteAsync/index.
|
|
55
|
-
import "../hook-form/RHFCheckbox/index.
|
|
54
|
+
import "../hook-form/RHFAutocompleteAsync/index.df1d5bca.js";
|
|
55
|
+
import "../hook-form/RHFCheckbox/index.23fc4851.js";
|
|
56
56
|
import "@mui/x-date-pickers";
|
|
57
|
-
import "../hook-form/RHFDateTime/index.
|
|
58
|
-
import "../hook-form/RHFTextField/index.
|
|
59
|
-
import "../hook-form/RHFPeriod/index.
|
|
57
|
+
import "../hook-form/RHFDateTime/index.984b803f.js";
|
|
58
|
+
import "../hook-form/RHFTextField/index.1167879e.js";
|
|
59
|
+
import "../hook-form/RHFPeriod/index.1852e7d3.js";
|
|
60
60
|
import "lodash/isString";
|
|
61
61
|
import "react-dropzone";
|
|
62
|
-
import "../hook-form/RHFUpload/index.
|
|
63
|
-
import "../formatters/index.
|
|
64
|
-
import "../DataGrid/index.
|
|
62
|
+
import "../hook-form/RHFUpload/index.49edcb02.js";
|
|
63
|
+
import "../formatters/index.4426a315.js";
|
|
64
|
+
import "../DataGrid/index.387652a9.js";
|
|
65
65
|
import "react-dnd";
|
|
66
66
|
import "react-dnd-html5-backend";
|
|
67
|
-
import "../DynamicFilter/index.
|
|
67
|
+
import "../DynamicFilter/index.9e9885b0.js";
|
|
68
68
|
import "yup";
|
|
69
69
|
import "../../contexts/RHFormContext/index.7769076a.js";
|
|
70
70
|
import "../GridLayout/subcomponents/Griditem/index.8e4af155.js";
|
|
71
71
|
import "../GridLayout/index.68093cfb.js";
|
|
72
72
|
import "fast-equals";
|
|
73
73
|
import "lodash";
|
|
74
|
-
import "../PrintingSystem/index.
|
|
75
|
-
import "../LanguagePopover/index.
|
|
76
|
-
import "../MFLoader/index.
|
|
77
|
-
import "../NavLink/index.
|
|
78
|
-
import "../NoItemSelected/index.
|
|
79
|
-
import "../ObjectLogs/index.
|
|
74
|
+
import "../PrintingSystem/index.70234425.js";
|
|
75
|
+
import "../LanguagePopover/index.424bad09.js";
|
|
76
|
+
import "../MFLoader/index.3d17dfc3.js";
|
|
77
|
+
import "../NavLink/index.ed4c0609.js";
|
|
78
|
+
import "../NoItemSelected/index.5ed80b8e.js";
|
|
79
|
+
import "../ObjectLogs/index.3a939c6b.js";
|
|
80
80
|
import "../../react-json-view.5636414a.js";
|
|
81
|
-
import "../PaperForm/index.
|
|
82
|
-
import "../PDFViewer/index.
|
|
83
|
-
import "../Page/index.
|
|
84
|
-
import "../PropertyValue/index.
|
|
81
|
+
import "../PaperForm/index.013ed28b.js";
|
|
82
|
+
import "../PDFViewer/index.4d16e5bc.js";
|
|
83
|
+
import "../Page/index.890fbaac.js";
|
|
84
|
+
import "../PropertyValue/index.45482ca3.js";
|
|
85
85
|
import "../SplitLayout/index.30fd5861.js";
|
|
86
86
|
import "../../react-splitter-layout.c5d98bf7.js";
|
|
87
|
-
import "../ToastContainer/index.
|
|
88
|
-
import "../SideBar/index.
|
|
89
|
-
import "../AppBar/index.
|
|
90
|
-
import "../AccountPopover/index.
|
|
87
|
+
import "../ToastContainer/index.5e729fbb.js";
|
|
88
|
+
import "../SideBar/index.614f85fb.js";
|
|
89
|
+
import "../AppBar/index.c8e7b25c.js";
|
|
90
|
+
import "../AccountPopover/index.7060320a.js";
|
|
91
91
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
92
92
|
import { unstable_composeClasses } from "@mui/base";
|
|
93
93
|
const ContainerPeriod = styled("div")(({
|
|
@@ -3,18 +3,19 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
3
3
|
import { g as getComponentUtilityClass } from "../../utils/index.de903261.js";
|
|
4
4
|
import { styled, useTheme } from "@mui/material/styles";
|
|
5
5
|
import clsx from "clsx";
|
|
6
|
-
import { D as DividerNode } from "./subcomponents/DividerNode/index.
|
|
7
|
-
import { S as SectionNode } from "./subcomponents/SectionNode/index.
|
|
8
|
-
import { T as TextBoxNode } from "./subcomponents/TextBoxNode/index.
|
|
9
|
-
import { H as HeaderNode } from "./subcomponents/HeaderNode/index.
|
|
10
|
-
import { a as ImageNode, Q as QRImageNode } from "../Image/index.
|
|
11
|
-
import { B as BodyNode } from "./subcomponents/BodyNode/index.
|
|
12
|
-
import { F as FooterNode } from "./subcomponents/FooterNode/index.
|
|
13
|
-
import { P as PaperNode } from "./subcomponents/PaperNode/index.
|
|
14
|
-
import { P as PropertyValueNode } from "./subcomponents/PropertyValueNode/index.
|
|
15
|
-
import { G as GridNode } from "./subcomponents/GridNode/index.
|
|
16
|
-
import { C as ChartNode } from "./subcomponents/ChartNode/index.
|
|
17
|
-
import { P as PagerNode, a as PageRender } from "../Page/index.
|
|
6
|
+
import { D as DividerNode } from "./subcomponents/DividerNode/index.91e65ff6.js";
|
|
7
|
+
import { S as SectionNode } from "./subcomponents/SectionNode/index.25aeb4aa.js";
|
|
8
|
+
import { T as TextBoxNode } from "./subcomponents/TextBoxNode/index.2b632722.js";
|
|
9
|
+
import { H as HeaderNode } from "./subcomponents/HeaderNode/index.732d7c58.js";
|
|
10
|
+
import { a as ImageNode, Q as QRImageNode } from "../Image/index.d684bdf2.js";
|
|
11
|
+
import { B as BodyNode } from "./subcomponents/BodyNode/index.1dd418aa.js";
|
|
12
|
+
import { F as FooterNode } from "./subcomponents/FooterNode/index.c2481749.js";
|
|
13
|
+
import { P as PaperNode } from "./subcomponents/PaperNode/index.1a20a9d4.js";
|
|
14
|
+
import { P as PropertyValueNode } from "./subcomponents/PropertyValueNode/index.8402e742.js";
|
|
15
|
+
import { G as GridNode } from "./subcomponents/GridNode/index.758d94d1.js";
|
|
16
|
+
import { C as ChartNode } from "./subcomponents/ChartNode/index.6aadd6b3.js";
|
|
17
|
+
import { P as PagerNode, a as PageRender } from "../Page/index.890fbaac.js";
|
|
18
|
+
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
18
19
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
19
20
|
import { forwardRef, useRef, useImperativeHandle } from "react";
|
|
20
21
|
const componentName = "M4LPrintingSystem";
|
|
@@ -104,6 +105,9 @@ const FactoryRender = (props) => {
|
|
|
104
105
|
children,
|
|
105
106
|
...otherProps
|
|
106
107
|
} = parent || {};
|
|
108
|
+
const {
|
|
109
|
+
sourceData
|
|
110
|
+
} = useBase();
|
|
107
111
|
const strategiesComponents = {
|
|
108
112
|
section: SectionNode,
|
|
109
113
|
textBox: TextBoxNode,
|
|
@@ -129,7 +133,7 @@ const FactoryRender = (props) => {
|
|
|
129
133
|
return /* @__PURE__ */ jsx(FactoryRender, {
|
|
130
134
|
data: subComponent
|
|
131
135
|
}, `${subComponent.key}-${Math.random().toString(36).substring(7)}`);
|
|
132
|
-
}) : null, typeof children === "string" ? children : null]
|
|
136
|
+
}) : null, typeof children === "string" ? evaluateWithContext(sourceData, children) : null]
|
|
133
137
|
});
|
|
134
138
|
};
|
|
135
139
|
const PrintingSystem = forwardRef((props, ref) => {
|
package/components/PrintingSystem/subcomponents/BodyNode/{index.d70a5d24.js → index.1dd418aa.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.70234425.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const BodyNode = (props) => {
|
package/components/PrintingSystem/subcomponents/FooterNode/{index.4320bb03.js → index.c2481749.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.70234425.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const FooterNode = (props) => {
|
package/components/PrintingSystem/subcomponents/GridNode/{index.6cabbf31.js → index.758d94d1.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase, getPropertyByString, evaluateWithContext } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.70234425.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
const GridNode = (props) => {
|
|
@@ -54,7 +54,7 @@ const GridNode = (props) => {
|
|
|
54
54
|
minWidth: getSize(dataColumns[id].width || "auto", unitSize),
|
|
55
55
|
justifyContent: cell.alignX ? cell.alignX : "center"
|
|
56
56
|
},
|
|
57
|
-
children: isNested ?
|
|
57
|
+
children: isNested ? getPropertyByString(row, dataColumns[id].nestedValue || "") : row[dataColumns[id].key]
|
|
58
58
|
}, `td-${Math.random().toString(36).substring(7)}`);
|
|
59
59
|
})
|
|
60
60
|
}, `tr-${Math.random().toString(36).substring(7)}`);
|
package/components/PrintingSystem/subcomponents/HeaderNode/{index.0e23ffd4.js → index.732d7c58.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.70234425.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const HeaderNode = (props) => {
|
package/components/PrintingSystem/subcomponents/PaperNode/{index.f97e7aa6.js → index.1a20a9d4.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
2
|
-
import { c as classes } from "../../index.
|
|
2
|
+
import { c as classes } from "../../index.70234425.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
const PaperNode = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.70234425.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
const PropertyValueNode = (props) => {
|
|
@@ -7,7 +7,7 @@ const PropertyValueNode = (props) => {
|
|
|
7
7
|
style = {},
|
|
8
8
|
className = "",
|
|
9
9
|
property,
|
|
10
|
-
|
|
10
|
+
children,
|
|
11
11
|
direction,
|
|
12
12
|
propertyWidth = "auto"
|
|
13
13
|
} = props;
|
|
@@ -17,7 +17,6 @@ const PropertyValueNode = (props) => {
|
|
|
17
17
|
sourceData
|
|
18
18
|
} = useBase();
|
|
19
19
|
const propertyFormated = evaluateWithContext(sourceData, property);
|
|
20
|
-
const valueFormated = evaluateWithContext(sourceData, value);
|
|
21
20
|
return /* @__PURE__ */ jsxs("div", {
|
|
22
21
|
className: clsx(classes.propertyValueNodeRoot, direction === "column" ? classes.propertyValueNodeHorizontal : classes.propertyValueNodeVertical, className),
|
|
23
22
|
style: {
|
|
@@ -33,7 +32,7 @@ const PropertyValueNode = (props) => {
|
|
|
33
32
|
children: propertyFormated
|
|
34
33
|
}), /* @__PURE__ */ jsx("div", {
|
|
35
34
|
className: classes.propertyValueNodeContent,
|
|
36
|
-
children
|
|
35
|
+
children
|
|
37
36
|
})]
|
|
38
37
|
});
|
|
39
38
|
};
|
package/components/PrintingSystem/subcomponents/SectionNode/{index.05d1fcf7.js → index.25aeb4aa.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.70234425.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const SectionNode = (props) => {
|
package/components/PrintingSystem/subcomponents/TextBoxNode/{index.3894059c.js → index.2b632722.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
2
|
-
import { c as classes } from "../../index.
|
|
2
|
+
import { c as classes } from "../../index.70234425.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const TextBoxNode = (props) => {
|
|
@@ -163,10 +163,10 @@ export interface PropertyValue extends Omit<BaseNode, 'children'> {
|
|
|
163
163
|
type: 'propertyValue';
|
|
164
164
|
property: string;
|
|
165
165
|
propertyWidth?: number | string;
|
|
166
|
-
|
|
166
|
+
children: string | NodePrintPropertyValue[];
|
|
167
167
|
direction: Direction;
|
|
168
|
-
children?: string;
|
|
169
168
|
}
|
|
169
|
+
export declare type NodePrintPropertyValue = SectionNode | TextBoxNode | ImageNode | FooterNode | PaperNode | DividerNode | GridNode | ChartNode | PagerNode | QRImageNode;
|
|
170
170
|
/**
|
|
171
171
|
* DividerNode: Componente que aporta una división gráfica.
|
|
172
172
|
*/
|
|
@@ -4,27 +4,27 @@ import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
7
|
-
import { g as getNameDataTestId } from "../../vendor.
|
|
7
|
+
import { g as getNameDataTestId } from "../../vendor.f0742647.js";
|
|
8
8
|
import { useState } from "react";
|
|
9
9
|
import "@m4l/core";
|
|
10
|
-
import { I as Icon } from "../Icon/index.
|
|
10
|
+
import { I as Icon } from "../Icon/index.e215d0f0.js";
|
|
11
11
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
12
|
-
import "../mui_extended/IconButton/index.
|
|
13
|
-
import "../mui_extended/Accordion/index.
|
|
12
|
+
import "../mui_extended/IconButton/index.5afe56b7.js";
|
|
13
|
+
import "../mui_extended/Accordion/index.3087f40e.js";
|
|
14
14
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
15
15
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
16
16
|
import "react-router-dom";
|
|
17
17
|
import "@mui/material/Button";
|
|
18
|
-
import "../mui_extended/Button/index.
|
|
18
|
+
import "../mui_extended/Button/index.0f2552ed.js";
|
|
19
19
|
import "../mui_extended/CheckBox.38abccd8.js";
|
|
20
20
|
import "../mui_extended/Badge/index.b09524fe.js";
|
|
21
|
-
import "../Image/index.
|
|
21
|
+
import "../Image/index.d684bdf2.js";
|
|
22
22
|
import "@mui/lab";
|
|
23
|
-
import "../mui_extended/MenuActions/index.
|
|
23
|
+
import "../mui_extended/MenuActions/index.cc54c35c.js";
|
|
24
24
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
25
25
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
26
|
-
import "../mui_extended/Tab/index.
|
|
27
|
-
import "../mui_extended/Pager/index.
|
|
26
|
+
import "../mui_extended/Tab/index.ae9ea641.js";
|
|
27
|
+
import "../mui_extended/Pager/index.5fbbefe2.js";
|
|
28
28
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
29
29
|
const PropertyValueRoot = styled("div")(({
|
|
30
30
|
theme
|
|
@@ -2,11 +2,11 @@ import { useResponsiveDesktop } from "@m4l/graphics";
|
|
|
2
2
|
import { useEnvironment, useBase, BaseProvider } from "@m4l/core";
|
|
3
3
|
import { createContext, useContext, useState, useEffect } from "react";
|
|
4
4
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
5
|
-
import { I as Image } from "../Image/index.
|
|
6
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
5
|
+
import { I as Image } from "../Image/index.d684bdf2.js";
|
|
6
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.5afe56b7.js";
|
|
7
7
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
8
8
|
import { styled as styled$1, generateUtilityClasses, ListItemText, Tooltip, ListItemButton, Collapse, useTheme, Skeleton, Drawer as Drawer$1 } from "@mui/material";
|
|
9
|
-
import { I as Icon, A as ArrowIcon } from "../Icon/index.
|
|
9
|
+
import { I as Icon, A as ArrowIcon } from "../Icon/index.e215d0f0.js";
|
|
10
10
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
11
11
|
import clsx from "clsx";
|
|
12
12
|
import { useLocation } from "react-router-dom";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A } from "../../node_modules.
|
|
1
|
+
import { A } from "../../node_modules.79f5ed2f.js";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
-
import { I as Icon } from "../Icon/index.
|
|
3
|
+
import { I as Icon } from "../Icon/index.e215d0f0.js";
|
|
4
4
|
import { useEnvironment } from "@m4l/core";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { styled, generateUtilityClasses } from "@mui/material";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
2
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
1
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.5afe56b7.js";
|
|
2
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.00031ac3.js";
|
|
3
3
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import { useState, useRef, useMemo } from "react";
|
|
5
5
|
import * as Yup from "yup";
|
|
6
6
|
import { generateUtilityClasses, useTheme } from "@mui/material";
|
|
7
|
-
import "../../../mui_extended/Accordion/index.
|
|
8
|
-
import { I as Icon } from "../../../Icon/index.
|
|
7
|
+
import "../../../mui_extended/Accordion/index.3087f40e.js";
|
|
8
|
+
import { I as Icon } from "../../../Icon/index.e215d0f0.js";
|
|
9
9
|
import clsx from "clsx";
|
|
10
10
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
@@ -13,46 +13,46 @@ import { T as Typography } from "../../../mui_extended/Typography/index.443590d6
|
|
|
13
13
|
import "../../../mui_extended/Avatar/index.75e6ed57.js";
|
|
14
14
|
import "react-router-dom";
|
|
15
15
|
import "@mui/material/Button";
|
|
16
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
16
|
+
import { B as Button } from "../../../mui_extended/Button/index.0f2552ed.js";
|
|
17
17
|
import "../../../mui_extended/CheckBox.38abccd8.js";
|
|
18
18
|
import "../../../mui_extended/Badge/index.b09524fe.js";
|
|
19
|
-
import "../../../Image/index.
|
|
19
|
+
import "../../../Image/index.d684bdf2.js";
|
|
20
20
|
import "@mui/lab";
|
|
21
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
21
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.cc54c35c.js";
|
|
22
22
|
import { P as Popover } from "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
23
23
|
import "../../../mui_extended/Stack/index.0e53197c.js";
|
|
24
|
-
import "../../../mui_extended/Tab/index.
|
|
25
|
-
import "../../../mui_extended/Pager/index.
|
|
24
|
+
import "../../../mui_extended/Tab/index.ae9ea641.js";
|
|
25
|
+
import "../../../mui_extended/Pager/index.5fbbefe2.js";
|
|
26
26
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
27
27
|
import { unstable_composeClasses } from "@mui/base";
|
|
28
28
|
import { g as getComponentUtilityClass } from "../../../../utils/index.de903261.js";
|
|
29
29
|
import { A as AREAS_ADMIN_CLASS_NAME } from "../../constants.66529246.js";
|
|
30
30
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
31
31
|
import "../../contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
32
|
-
import "../../../../contexts/ModalContext/index.
|
|
32
|
+
import "../../../../contexts/ModalContext/index.ef38d747.js";
|
|
33
33
|
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.7769076a.js";
|
|
34
34
|
import "react-hook-form";
|
|
35
|
-
import "../../../hook-form/RHFAutocomplete/index.
|
|
36
|
-
import "../../../HelperText/index.
|
|
37
|
-
import "../../../../node_modules.
|
|
35
|
+
import "../../../hook-form/RHFAutocomplete/index.01a8f57e.js";
|
|
36
|
+
import "../../../HelperText/index.918bba47.js";
|
|
37
|
+
import "../../../../node_modules.79f5ed2f.js";
|
|
38
38
|
import "lodash-es/debounce";
|
|
39
39
|
import "lodash-es/each";
|
|
40
|
-
import "../../../hook-form/RHFColorPicker/index.
|
|
40
|
+
import "../../../hook-form/RHFColorPicker/index.c7695748.js";
|
|
41
41
|
import { styled } from "@mui/material/styles";
|
|
42
42
|
import "lodash/debounce";
|
|
43
|
-
import "../../../hook-form/RHFAutocompleteAsync/index.
|
|
44
|
-
import "../../../hook-form/RHFCheckbox/index.
|
|
43
|
+
import "../../../hook-form/RHFAutocompleteAsync/index.df1d5bca.js";
|
|
44
|
+
import "../../../hook-form/RHFCheckbox/index.23fc4851.js";
|
|
45
45
|
import "@mui/x-date-pickers";
|
|
46
|
-
import "../../../hook-form/RHFDateTime/index.
|
|
47
|
-
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.
|
|
48
|
-
import "../../../hook-form/RHFPeriod/index.
|
|
49
|
-
import "../../../Period/index.
|
|
50
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index.
|
|
51
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.
|
|
52
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.
|
|
46
|
+
import "../../../hook-form/RHFDateTime/index.984b803f.js";
|
|
47
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.1167879e.js";
|
|
48
|
+
import "../../../hook-form/RHFPeriod/index.1852e7d3.js";
|
|
49
|
+
import "../../../Period/index.3bd05e05.js";
|
|
50
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.93e9112b.js";
|
|
51
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.82313aef.js";
|
|
52
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.c70ae272.js";
|
|
53
53
|
import "../../../../react-draggable.ee21cb7e.js";
|
|
54
54
|
import "../../../Resizeable/index.6478d7d8.js";
|
|
55
|
-
import "../../../modal/index.
|
|
55
|
+
import "../../../modal/index.ac0c9093.js";
|
|
56
56
|
import "../../../animate/index.4e9774a6.js";
|
|
57
57
|
import "framer-motion";
|
|
58
58
|
import "../../../animate/LoadingScreen/index.1d0c4307.js";
|
|
@@ -61,43 +61,43 @@ import { shallow } from "zustand/shallow";
|
|
|
61
61
|
import { S as ScrollBar } from "../../../ScrollBar/index.010f1b9d.js";
|
|
62
62
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
63
63
|
import TouchRipple from "@mui/material/ButtonBase/TouchRipple";
|
|
64
|
-
import "../AreasViewer/index.
|
|
64
|
+
import "../AreasViewer/index.e084d8e9.js";
|
|
65
65
|
import "../../../LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
66
|
-
import "../../../LoadingError/index.
|
|
67
|
-
import "../../contexts/AreasContext/index.
|
|
66
|
+
import "../../../LoadingError/index.b3e4e8e5.js";
|
|
67
|
+
import "../../contexts/AreasContext/index.cffa1526.js";
|
|
68
68
|
import "../../contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
69
69
|
import "zustand";
|
|
70
70
|
import "zustand/middleware/immer";
|
|
71
|
-
import "../../../formatters/index.
|
|
72
|
-
import "../../../DataGrid/index.
|
|
71
|
+
import "../../../formatters/index.4426a315.js";
|
|
72
|
+
import "../../../DataGrid/index.387652a9.js";
|
|
73
73
|
import "react-dnd";
|
|
74
74
|
import "react-dnd-html5-backend";
|
|
75
|
-
import "../../../DynamicFilter/index.
|
|
75
|
+
import "../../../DynamicFilter/index.9e9885b0.js";
|
|
76
76
|
import "../../../GridLayout/subcomponents/Griditem/index.8e4af155.js";
|
|
77
77
|
import "../../../GridLayout/index.68093cfb.js";
|
|
78
78
|
import "fast-equals";
|
|
79
79
|
import "lodash";
|
|
80
|
-
import "../../../PrintingSystem/index.
|
|
81
|
-
import "../../../LanguagePopover/index.
|
|
82
|
-
import "../../../MFLoader/index.
|
|
83
|
-
import "../../../NavLink/index.
|
|
84
|
-
import "../../../NoItemSelected/index.
|
|
85
|
-
import "../../../ObjectLogs/index.
|
|
80
|
+
import "../../../PrintingSystem/index.70234425.js";
|
|
81
|
+
import "../../../LanguagePopover/index.424bad09.js";
|
|
82
|
+
import "../../../MFLoader/index.3d17dfc3.js";
|
|
83
|
+
import "../../../NavLink/index.ed4c0609.js";
|
|
84
|
+
import "../../../NoItemSelected/index.5ed80b8e.js";
|
|
85
|
+
import "../../../ObjectLogs/index.3a939c6b.js";
|
|
86
86
|
import "../../../../react-json-view.5636414a.js";
|
|
87
|
-
import "../../../PaperForm/index.
|
|
88
|
-
import "../../../PDFViewer/index.
|
|
89
|
-
import "../../../Page/index.
|
|
90
|
-
import "../../../PropertyValue/index.
|
|
87
|
+
import "../../../PaperForm/index.013ed28b.js";
|
|
88
|
+
import "../../../PDFViewer/index.4d16e5bc.js";
|
|
89
|
+
import "../../../Page/index.890fbaac.js";
|
|
90
|
+
import "../../../PropertyValue/index.45482ca3.js";
|
|
91
91
|
import "../../../SplitLayout/index.30fd5861.js";
|
|
92
92
|
import "../../../../react-splitter-layout.c5d98bf7.js";
|
|
93
|
-
import "../../../ToastContainer/index.
|
|
94
|
-
import "../../../SideBar/index.
|
|
95
|
-
import "../../../AppBar/index.
|
|
96
|
-
import "../../../AccountPopover/index.
|
|
93
|
+
import "../../../ToastContainer/index.5e729fbb.js";
|
|
94
|
+
import "../../../SideBar/index.614f85fb.js";
|
|
95
|
+
import "../../../AppBar/index.c8e7b25c.js";
|
|
96
|
+
import "../../../AccountPopover/index.7060320a.js";
|
|
97
97
|
import "lodash/isString";
|
|
98
98
|
import "react-dropzone";
|
|
99
|
-
import "../../../hook-form/RHFUpload/index.
|
|
100
|
-
import { u as useOnClickOutside } from "../../index.
|
|
99
|
+
import "../../../hook-form/RHFUpload/index.49edcb02.js";
|
|
100
|
+
import { u as useOnClickOutside } from "../../index.1b5b2267.js";
|
|
101
101
|
const areasAdminClasses = generateUtilityClasses(AREAS_ADMIN_CLASS_NAME, [
|
|
102
102
|
"root",
|
|
103
103
|
"rootContent",
|