@m4l/components 0.1.90 → 0.1.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/export.d.ts +12 -15
- package/components/AccountPopover/AccountPopover.d.ts +2 -1
- package/components/AccountPopover/{index.724828f0.js → index.2ef0bf6d.js} +20 -31
- package/components/AccountPopover/index.d.ts +0 -1
- package/components/AccountPopover/subcomponents/PopOver/types.d.ts +4 -3
- package/components/AccountPopover/types.d.ts +50 -26
- package/components/AppBar/{index.0328abec.js → index.16fe42a1.js} +3 -22
- package/components/CommonActions/components/ActionCancel/{index.441118b5.js → index.c3e23ad4.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.435fcb53.js → index.6da52418.js} +4 -34
- package/components/CommonActions/components/ActionFormIntro/{index.edb131c4.js → index.c3af6d1d.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.24367ed3.js → index.49631fcb.js} +2 -2
- package/components/CommonActions/components/Actions/{index.8dcaba29.js → index.ccf731c1.js} +2 -38
- package/components/DataGrid/classes/index.d.ts +1 -0
- package/components/DataGrid/classes/types.d.ts +1 -0
- package/components/DataGrid/formatters/columnConcatenatedValueFormatter/index.d.ts +2 -2
- package/components/DataGrid/{index.c296f69c.js → index.abedf2c0.js} +44 -14
- package/components/DataGrid/subcomponents/Actions/{index.fadd92f2.js → index.c8408b73.js} +9 -38
- package/components/DraggableWindow/{index.c702d3f2.js → index.8f423ed7.js} +1 -1
- package/components/DynamicFilter/{index.6a22346e.js → index.cb1402aa.js} +23 -56
- package/components/DynamicFilter/index.d.ts +1 -1
- package/components/GridLayout/classes/index.d.ts +1 -1
- package/components/GridLayout/{index.8ae34c50.js → index.1421f0d4.js} +21 -18
- package/components/GridLayout/subcomponents/Griditem/{index.c7a33781.js → index.b2342897.js} +5 -4
- package/components/GridLayout/subcomponents/Responsive/helper.d.ts +1 -0
- package/components/GridLayout/subcomponents/Responsive/{index.96cdb1b4.js → index.f459804c.js} +33 -12
- package/components/GridLayout/subcomponents/Responsive/responsiveUtils.d.ts +2 -2
- package/components/GridLayout/subcomponents/Responsive/types.d.ts +22 -1
- package/components/GridLayout/types.d.ts +11 -0
- package/components/HelperText/{index.31f2a824.js → index.7d2afdb3.js} +2 -23
- package/components/Icon/{index.a70c4729.js → index.3211023d.js} +8 -6
- package/components/Image/{index.c18ebf5a.js → index.611cd930.js} +43 -14
- package/components/LanguagePopover/{index.c9876e63.js → index.b6dc03d0.js} +4 -20
- package/components/LinearProgressIndeterminate/{index.60dabc06.js → index.c46da124.js} +1 -1
- package/components/LoadingError/LoadingError.d.ts +3 -0
- package/components/LoadingError/classes/constants.d.ts +1 -0
- package/components/LoadingError/classes/index.d.ts +14 -0
- package/components/LoadingError/classes/types.d.ts +14 -0
- package/components/LoadingError/dictionary.d.ts +1 -0
- package/components/LoadingError/index.96bdc803.js +106 -0
- package/components/LoadingError/index.d.ts +2 -0
- package/components/LoadingError/types.d.ts +10 -0
- package/components/MFLoader/classes/constants.d.ts +1 -0
- package/components/MFLoader/classes/index.d.ts +7 -0
- package/components/MFLoader/classes/types.d.ts +7 -0
- package/components/MFLoader/dictionary.d.ts +1 -0
- package/components/MFLoader/index.caee87dd.js +296 -0
- package/components/MFLoader/index.d.ts +2 -0
- package/components/MFLoader/types.d.ts +7 -0
- package/components/ModalDialog/{index.7d0d3ea1.js → index.ec55087e.js} +5 -5
- package/components/NavLink/{index.4f927064.js → index.b75c91e1.js} +2 -22
- package/components/NoItemSelected/{index.1eaf72d8.js → index.3e29c208.js} +1 -1
- package/components/ObjectLogs/{index.87438c47.js → index.38fd657f.js} +12 -38
- package/components/Page/index.c4642a29.js +127 -0
- package/components/PaperForm/{index.e02c772c.js → index.cce9ed39.js} +1 -1
- package/components/Period/{index.d1182d4a.js → index.c35c6a6c.js} +5 -37
- package/components/PrintingSystem/PrintingSystem.d.ts +3 -0
- package/components/PrintingSystem/classes/constants.d.ts +1 -0
- package/components/PrintingSystem/classes/index.d.ts +32 -0
- package/components/PrintingSystem/classes/types.d.ts +33 -0
- package/components/PrintingSystem/index.d.ts +2 -0
- package/components/PrintingSystem/index.e18a2fa8.js +634 -0
- package/components/PrintingSystem/subcomponents/BodyNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/BodyNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/ChartNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/ChartNode/types.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/DividerNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/DividerNode/types.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/FooterNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/FooterNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/GridNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/GridNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/HeaderNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/HeaderNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/ImageNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/ImageNode/types.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PageNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PageNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/Pager/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/Pager/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/PaperNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PaperNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/PropertyValueNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PropertyValueNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/SectionNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/SectionNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/TextBoxNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/TextBoxNode/types.d.ts +3 -0
- package/components/PrintingSystem/types.d.ts +214 -0
- package/components/PrintingSystem/utils/FactoryRender/index.d.ts +3 -0
- package/components/PrintingSystem/utils/FactoryRender/types.d.ts +4 -0
- package/components/PrintingSystem/utils/PageRender/index.d.ts +3 -0
- package/components/PrintingSystem/utils/PageRender/types.d.ts +13 -0
- package/components/PrintingSystem/utils/getEvalValue/index.d.ts +1 -0
- package/components/PrintingSystem/utils/getSize/index.d.ts +1 -0
- package/components/PropertyValue/classes/index.d.ts +3 -2
- package/components/PropertyValue/classes/types.d.ts +2 -0
- package/components/PropertyValue/{index.3ee94e0f.js → index.3ee95452.js} +25 -9
- package/components/PropertyValue/types.d.ts +4 -0
- package/components/Resizeable/{index.676c96fe.js → index.8c53c1fa.js} +1 -1
- package/components/SideBar/{index.2dfc5445.js → index.5fd648d2.js} +44 -39
- package/components/animate/{index.4e9774a6.js → index.5d4575bc.js} +2 -6
- package/components/areas/components/AreasAdmin/{index.98a54515.js → index.ddb384a1.js} +29 -62
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +2 -8
- package/components/areas/components/AreasViewer/{index.ee7170bc.js → index.625bf23b.js} +70 -438
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/index.d.ts +2 -2
- package/components/areas/components/index.558684b3.js +1 -0
- package/components/areas/components/index.d.ts +0 -1
- package/components/areas/contexts/AreasContext/helper.d.ts +14 -1
- package/components/areas/contexts/AreasContext/{index.1950eef9.js → index.646f3c8f.js} +16 -12
- package/components/areas/contexts/index.24025b97.js +1 -0
- package/components/areas/contexts/index.d.ts +1 -0
- package/components/areas/hooks/index.d9dc1e21.js +1 -0
- package/components/areas/hooks/useAreas/{index.ce75bfb5.js → index.ee66240b.js} +1 -1
- package/components/areas/index.4cc6a221.js +22 -0
- package/components/areas/index.d.ts +1 -1
- package/components/formatters/BooleanFormatter/{index.a013b080.js → index.3c2df7a8.js} +10 -4
- package/components/formatters/FormatterRoot/index.d.ts +3 -0
- package/components/formatters/FormatterRoot/types.d.ts +4 -0
- package/components/formatters/classes/index.d.ts +4 -0
- package/components/formatters/classes/types.d.ts +6 -0
- package/components/formatters/constants.d.ts +1 -0
- package/components/formatters/{index.576922c9.js → index.dc77adb7.js} +25 -8
- package/components/hook-form/RHFAutocomplete/{index.8e4ff8d7.js → index.52387f0f.js} +7 -22
- package/components/hook-form/RHFAutocompleteAsync/{index.78f8e4c4.js → index.638bd2ae.js} +3 -2
- package/components/hook-form/RHFCheckbox/{index.bdad2059.js → index.a38715e3.js} +2 -22
- package/components/hook-form/RHFDateTime/{index.73f8a11e.js → index.66e334b0.js} +23 -23
- package/components/hook-form/RHFPeriod/{index.71df31df.js → index.23099265.js} +2 -2
- package/components/hook-form/RHFTextField/{index.6d21060a.js → index.25b3627e.js} +6 -8
- package/components/hook-form/RHFUpload/{index.f04d24ee.js → index.65588e08.js} +5 -22
- package/components/index.d.ts +3 -0
- package/components/modal/{WindowBase.b9dd76a4.js → WindowBase.161ec78a.js} +5 -37
- package/components/modal/{WindowConfirm.d407f47a.js → WindowConfirm.7eed7c35.js} +8 -40
- package/components/modal/{index.764e2723.js → index.61389369.js} +0 -37
- package/components/mui_extended/Accordion/{index.a706b12f.js → index.92aae1a4.js} +4 -4
- package/components/mui_extended/Button/{index.f79eb74e.js → index.94fec33c.js} +3 -3
- package/components/mui_extended/{CheckBox.38abccd8.js → CheckBox.e662d20c.js} +1 -1
- package/components/mui_extended/IconButton/{index.76624519.js → index.53cd6388.js} +2 -2
- package/components/mui_extended/MenuActions/{index.570fbae0.js → index.dd9f65a2.js} +5 -19
- package/components/mui_extended/Pager/{index.ac2a21f0.js → index.de0bd62c.js} +2 -2
- package/components/mui_extended/Tab/{index.d0302c81.js → index.1fcabba2.js} +2 -2
- package/components/mui_extended/index.b606cd9d.js +1 -0
- package/contexts/ModalContext/{index.41fbf6bc.js → index.436c2938.js} +1 -1
- package/contexts/RHFormContext/classes/index.d.ts +1 -1
- package/hooks/useFormAddEdit/{index.0c6b6b68.js → index.3584a29f.js} +2 -26
- package/hooks/useModal/{index.71987a49.js → index.05d1821e.js} +1 -1
- package/index.js +199 -190
- package/node_modules.b55d04d9.js +15267 -0
- package/package.json +5 -1
- package/react-data-grid.d46d625e.js +2 -2
- package/react-draggable.e4725f3a.js +630 -0
- package/{react-resizable.ba08699a.js → react-resizable.c07d63fb.js} +2 -2
- package/utils/{index.c43a95f4.js → index.6469f148.js} +75 -107
- package/vendor.71883626.js +104 -0
- package/components/Page/index.4237c241.js +0 -27
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/types.d.ts +0 -8
- package/components/areas/components/AreasViewer/subcomponents/AreasLoadingError/index.d.ts +0 -3
- package/components/areas/components/AreasViewer/subcomponents/AreasLoadingError/types.d.ts +0 -5
- package/components/areas/components/index.431c5397.js +0 -31
- package/components/areas/contexts/index.b846bbcb.js +0 -2
- package/components/areas/hooks/index.0184c6f7.js +0 -4
- package/components/areas/index.5abba006.js +0 -54
- package/components/mui_extended/index.a8d347a9.js +0 -24
- package/node_modules.d73a220d.js +0 -363
- package/react-draggable.7abb5d0a.js +0 -962
- package/vendor.4dedf99e.js +0 -128
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/index.d.ts → MFLoader/MFLoader.d.ts} +0 -0
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader → MFLoader}/helper.d.ts +0 -0
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader → MFLoader}/subcomponents/ProggessLoadingMF/index.d.ts +0 -0
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader → MFLoader}/subcomponents/ProggessLoadingMF/types.d.ts +0 -0
- package/components/mui_extended/Badge/{index.b09524fe.js → index.09f5aee5.js} +1 -1
- package/components/mui_extended/Popover/{index.9f35d0eb.js → index.b3eca6b1.js} +2 -2
- package/components/mui_extended/Tooltip/{index.5a795dcd.js → index.24a2bc3f.js} +1 -1
- package/components/mui_extended/Typography/{index.443590d6.js → index.379dd374.js} +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useTheme, Dialog, Paper } from "@mui/material";
|
|
2
|
-
import { c as cjs } from "../../react-draggable.
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
4
|
-
import { R as ResizeableWindow } from "../Resizeable/index.
|
|
2
|
+
import { c as cjs } from "../../react-draggable.e4725f3a.js";
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.05d1821e.js";
|
|
4
|
+
import { R as ResizeableWindow } from "../Resizeable/index.8c53c1fa.js";
|
|
5
5
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
6
|
-
import { m as modalUtilityClasses } from "../modal/index.
|
|
6
|
+
import { m as modalUtilityClasses } from "../modal/index.61389369.js";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
8
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.ccf731c1.js";
|
|
9
9
|
const DragabblePaperComponent = (props) => {
|
|
10
10
|
return /* @__PURE__ */ jsx(cjs.exports, {
|
|
11
11
|
handle: ".m4l_draggable_handle",
|
|
@@ -1,29 +1,9 @@
|
|
|
1
1
|
import { NavLink as NavLink$1 } from "react-router-dom";
|
|
2
2
|
import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/material";
|
|
3
|
-
import "
|
|
4
|
-
import "@m4l/core";
|
|
5
|
-
import "../Icon/index.a70c4729.js";
|
|
3
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
6
4
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
7
|
-
import "clsx";
|
|
8
5
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
9
|
-
import "../mui_extended/
|
|
10
|
-
import "@m4l/graphics";
|
|
11
|
-
import "../mui_extended/Accordion/index.a706b12f.js";
|
|
12
|
-
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
13
|
-
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
14
|
-
import "@mui/material/Button";
|
|
15
|
-
import "../mui_extended/Button/index.f79eb74e.js";
|
|
16
|
-
import "../mui_extended/CheckBox.38abccd8.js";
|
|
17
|
-
import "../mui_extended/Badge/index.b09524fe.js";
|
|
18
|
-
import "../Image/index.c18ebf5a.js";
|
|
19
|
-
import "@mui/lab";
|
|
20
|
-
import "../mui_extended/MenuActions/index.570fbae0.js";
|
|
21
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
22
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
23
|
-
import "../mui_extended/Tab/index.d0302c81.js";
|
|
24
|
-
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
25
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
26
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
+
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
27
7
|
const componentName = "M4LNavLink";
|
|
28
8
|
generateUtilityClasses(componentName, [
|
|
29
9
|
"root"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
|
-
import { I as Image } from "../Image/index.
|
|
3
|
+
import { I as Image } from "../Image/index.611cd930.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
@@ -1,48 +1,18 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback, useMemo } from "react";
|
|
2
2
|
import { useNetwork, useModuleDictionary, useEnvironment, usePaginate } from "@m4l/core";
|
|
3
3
|
import { styled } from "@mui/material/styles";
|
|
4
|
-
import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.
|
|
4
|
+
import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.abedf2c0.js";
|
|
5
5
|
import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
|
|
6
6
|
import { Tooltip, IconButton } from "@mui/material";
|
|
7
7
|
import { useHostTheme, useResponsiveDesktop } from "@m4l/graphics";
|
|
8
8
|
import { R as ReactJson } from "../../react-json-view.57125fcf.js";
|
|
9
9
|
import { S as ScrollBar } from "../ScrollBar/index.65bb2930.js";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
12
|
-
import { I as Icon } from "../Icon/index.
|
|
13
|
-
import "
|
|
14
|
-
import "../
|
|
15
|
-
import "../
|
|
16
|
-
import "../CommonActions/components/Actions/index.8dcaba29.js";
|
|
17
|
-
import "@mui/material/Button";
|
|
18
|
-
import "../mui_extended/Button/index.f79eb74e.js";
|
|
19
|
-
import "clsx";
|
|
20
|
-
import "react-hook-form";
|
|
21
|
-
import "../mui_extended/IconButton/index.76624519.js";
|
|
22
|
-
import "zustand";
|
|
23
|
-
import "../areas/contexts/AreasContext/index.1950eef9.js";
|
|
24
|
-
import "../areas/components/AreasAdmin/index.98a54515.js";
|
|
25
|
-
import "zustand/shallow";
|
|
26
|
-
import "../mui_extended/Accordion/index.a706b12f.js";
|
|
27
|
-
import "../mui_extended/Typography/index.443590d6.js";
|
|
28
|
-
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
29
|
-
import "react-router-dom";
|
|
30
|
-
import "../mui_extended/CheckBox.38abccd8.js";
|
|
31
|
-
import "../mui_extended/Badge/index.b09524fe.js";
|
|
32
|
-
import "../Image/index.c18ebf5a.js";
|
|
33
|
-
import "@mui/lab";
|
|
34
|
-
import "../mui_extended/MenuActions/index.570fbae0.js";
|
|
35
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
36
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
37
|
-
import "../mui_extended/Tab/index.d0302c81.js";
|
|
38
|
-
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
39
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
40
|
-
import "../areas/components/AreasViewer/index.ee7170bc.js";
|
|
41
|
-
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
42
|
-
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
43
|
-
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
44
|
-
import { W as WindowBase } from "../modal/WindowBase.b9dd76a4.js";
|
|
45
|
-
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.6a22346e.js";
|
|
11
|
+
import { u as useModal } from "../../hooks/useModal/index.05d1821e.js";
|
|
12
|
+
import { I as Icon } from "../Icon/index.3211023d.js";
|
|
13
|
+
import { S as Stack } from "../mui_extended/Stack/index.0e53197c.js";
|
|
14
|
+
import { W as WindowBase } from "../modal/WindowBase.161ec78a.js";
|
|
15
|
+
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.cb1402aa.js";
|
|
46
16
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
47
17
|
const Container = styled("div")(() => ({
|
|
48
18
|
height: "100%",
|
|
@@ -132,8 +102,12 @@ function DetailFormatter(props) {
|
|
|
132
102
|
openModal({
|
|
133
103
|
window: /* @__PURE__ */ jsx(WindowBase, {
|
|
134
104
|
title: getLabel("data_grid.settings_title"),
|
|
135
|
-
children: /* @__PURE__ */ jsx(
|
|
136
|
-
|
|
105
|
+
children: /* @__PURE__ */ jsx(Stack, {
|
|
106
|
+
direction: "column",
|
|
107
|
+
flexGrow: 1,
|
|
108
|
+
children: /* @__PURE__ */ jsx(DetailDialog, {
|
|
109
|
+
log_id
|
|
110
|
+
})
|
|
137
111
|
})
|
|
138
112
|
}),
|
|
139
113
|
fullScreen: !isDesktop ? true : false
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { useBase, BaseProvider, useModuleSkeleton } from "@m4l/core";
|
|
2
|
+
import { c as classes, a as getSize, F as FactoryRender } from "../PrintingSystem/index.e18a2fa8.js";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
5
|
+
import React__default from "react";
|
|
6
|
+
import { Helmet } from "react-helmet-async";
|
|
7
|
+
import { useLocales } from "@m4l/graphics";
|
|
8
|
+
const PagerNode = (props) => {
|
|
9
|
+
const {
|
|
10
|
+
style = {},
|
|
11
|
+
className = ""
|
|
12
|
+
} = props;
|
|
13
|
+
const {
|
|
14
|
+
mainColor,
|
|
15
|
+
countPages,
|
|
16
|
+
pageId
|
|
17
|
+
} = useBase();
|
|
18
|
+
return /* @__PURE__ */ jsx("div", {
|
|
19
|
+
className: clsx(classes.pagerNodeRoot, className),
|
|
20
|
+
style: {
|
|
21
|
+
...style,
|
|
22
|
+
color: mainColor
|
|
23
|
+
},
|
|
24
|
+
children: ` ${pageId} / ${countPages}`
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const PageNode = (props) => {
|
|
28
|
+
const {
|
|
29
|
+
children,
|
|
30
|
+
style = {},
|
|
31
|
+
className = "",
|
|
32
|
+
width = "auto",
|
|
33
|
+
height = "auto",
|
|
34
|
+
paddingTop = "unset",
|
|
35
|
+
paddingRight = "unset",
|
|
36
|
+
paddingBottom = "unset",
|
|
37
|
+
paddingLeft = "unset",
|
|
38
|
+
gap = "unset"
|
|
39
|
+
} = props;
|
|
40
|
+
const {
|
|
41
|
+
unitSize
|
|
42
|
+
} = useBase();
|
|
43
|
+
return /* @__PURE__ */ jsx("div", {
|
|
44
|
+
className: clsx(classes.pageNodeRoot, className),
|
|
45
|
+
style: {
|
|
46
|
+
width: getSize(width, unitSize),
|
|
47
|
+
gap: getSize(gap, unitSize),
|
|
48
|
+
height: getSize(height, unitSize),
|
|
49
|
+
minWidth: getSize(width, unitSize),
|
|
50
|
+
minHeight: typeof height === "number" ? `${height}${unitSize}` : height,
|
|
51
|
+
paddingTop: typeof paddingTop === "number" ? `${paddingTop}${unitSize}` : paddingTop,
|
|
52
|
+
paddingRight: typeof paddingRight === "number" ? `${paddingRight}${unitSize}` : paddingRight,
|
|
53
|
+
paddingBottom: typeof paddingBottom === "number" ? `${paddingBottom}${unitSize}` : paddingBottom,
|
|
54
|
+
paddingLeft: typeof paddingLeft === "number" ? `${paddingLeft}${unitSize}` : paddingLeft,
|
|
55
|
+
...style
|
|
56
|
+
},
|
|
57
|
+
children
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
const PageRender = (props) => {
|
|
61
|
+
const {
|
|
62
|
+
data: parent,
|
|
63
|
+
id,
|
|
64
|
+
unitSize,
|
|
65
|
+
mainColor,
|
|
66
|
+
countPages,
|
|
67
|
+
HeaderGeneral,
|
|
68
|
+
FooterGeneral,
|
|
69
|
+
sourceData,
|
|
70
|
+
templateData
|
|
71
|
+
} = props;
|
|
72
|
+
const {
|
|
73
|
+
children,
|
|
74
|
+
...otherProps
|
|
75
|
+
} = parent || {};
|
|
76
|
+
return /* @__PURE__ */ jsx(BaseProvider, {
|
|
77
|
+
value: {
|
|
78
|
+
pageId: id,
|
|
79
|
+
unitSize,
|
|
80
|
+
mainColor,
|
|
81
|
+
countPages,
|
|
82
|
+
HeaderGeneral,
|
|
83
|
+
FooterGeneral,
|
|
84
|
+
templateData,
|
|
85
|
+
sourceData
|
|
86
|
+
},
|
|
87
|
+
children: /* @__PURE__ */ jsxs(PageNode, {
|
|
88
|
+
...otherProps,
|
|
89
|
+
children: [Array.isArray(children) && children.length > 0 ? children.map((subComponent, id2) => {
|
|
90
|
+
return /* @__PURE__ */ jsxs(React__default.Fragment, {
|
|
91
|
+
children: [id2 === 0 && parent.type === "page" && children[0].type !== "header" ? HeaderGeneral ? /* @__PURE__ */ jsx(HeaderGeneral, {
|
|
92
|
+
ancestor: parent
|
|
93
|
+
}, `${parent.key}-header`) : null : null, /* @__PURE__ */ jsx(FactoryRender, {
|
|
94
|
+
data: subComponent
|
|
95
|
+
}, `${parent.type}-${subComponent.key}`), id2 === children.length - 1 && parent.type === "page" && children[children.length - 1].type !== "footer" ? FooterGeneral ? /* @__PURE__ */ jsx(FooterGeneral, {
|
|
96
|
+
ancestor: parent
|
|
97
|
+
}, `${parent.key}-footer`) : null : null]
|
|
98
|
+
}, `fragment-page-${id2}`);
|
|
99
|
+
}) : null, typeof children === "string" ? children : null]
|
|
100
|
+
})
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
const HelmetPage = (props) => {
|
|
104
|
+
const {
|
|
105
|
+
children,
|
|
106
|
+
title,
|
|
107
|
+
meta,
|
|
108
|
+
subtitle
|
|
109
|
+
} = props;
|
|
110
|
+
const localeString = useLocales().currentLocale?.localeString;
|
|
111
|
+
const isSkeleton = useModuleSkeleton();
|
|
112
|
+
return /* @__PURE__ */ jsxs(Fragment, {
|
|
113
|
+
children: [!isSkeleton && /* @__PURE__ */ jsxs(Helmet, {
|
|
114
|
+
children: [/* @__PURE__ */ jsx("title", {
|
|
115
|
+
children: `${title}${subtitle ? ` | ${subtitle}` : ""} `
|
|
116
|
+
}), /* @__PURE__ */ jsx("html", {
|
|
117
|
+
lang: localeString
|
|
118
|
+
}), meta]
|
|
119
|
+
}), children]
|
|
120
|
+
});
|
|
121
|
+
};
|
|
122
|
+
HelmetPage.displayName = "Page";
|
|
123
|
+
export {
|
|
124
|
+
HelmetPage as H,
|
|
125
|
+
PagerNode as P,
|
|
126
|
+
PageRender as a
|
|
127
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../Icon/index.
|
|
4
|
+
import { I as Icon } from "../Icon/index.3211023d.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
const PaperFormRoot = styled("div")(({
|
|
@@ -1,44 +1,12 @@
|
|
|
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.
|
|
6
|
-
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import "@mui/material/Button";
|
|
8
|
-
import "../mui_extended/Button/index.f79eb74e.js";
|
|
9
|
-
import "clsx";
|
|
10
|
-
import "react-hook-form";
|
|
11
|
-
import "../../contexts/ModalContext/index.41fbf6bc.js";
|
|
12
|
-
import "../../react-draggable.7abb5d0a.js";
|
|
13
|
-
import "../Resizeable/index.676c96fe.js";
|
|
14
|
-
import "@m4l/graphics";
|
|
15
|
-
import "../modal/index.764e2723.js";
|
|
16
|
-
import "../Image/index.c18ebf5a.js";
|
|
17
|
-
import "../mui_extended/IconButton/index.76624519.js";
|
|
18
|
-
import "../mui_extended/Accordion/index.a706b12f.js";
|
|
19
|
-
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
20
|
-
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
21
|
-
import "react-router-dom";
|
|
22
|
-
import "../mui_extended/CheckBox.38abccd8.js";
|
|
23
|
-
import "../mui_extended/Badge/index.b09524fe.js";
|
|
24
|
-
import "@mui/lab";
|
|
25
|
-
import "../mui_extended/MenuActions/index.570fbae0.js";
|
|
26
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
27
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
28
|
-
import "../mui_extended/Tab/index.d0302c81.js";
|
|
29
|
-
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
30
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
31
|
-
import "zustand";
|
|
32
|
-
import "../areas/contexts/AreasContext/index.1950eef9.js";
|
|
33
|
-
import "../areas/components/AreasAdmin/index.98a54515.js";
|
|
34
|
-
import "zustand/shallow";
|
|
35
|
-
import "../ScrollBar/index.65bb2930.js";
|
|
36
|
-
import "../areas/components/AreasViewer/index.ee7170bc.js";
|
|
37
|
-
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
38
|
-
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
39
|
-
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
40
|
-
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
4
|
+
import { I as Icon } from "../Icon/index.3211023d.js";
|
|
5
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.ccf731c1.js";
|
|
41
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
+
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
8
|
+
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
42
10
|
const ContainerPeriod = styled("div")(({
|
|
43
11
|
theme
|
|
44
12
|
}) => ({
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const componentName = "M4LPrintingSystem";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { PrintingSystemClassesType } from './types';
|
|
2
|
+
export declare const classes: PrintingSystemClassesType;
|
|
3
|
+
export declare const printingSystemUtilityClasses: () => {
|
|
4
|
+
root: string;
|
|
5
|
+
pageNodeRoot: string;
|
|
6
|
+
sectionNodeRoot: string;
|
|
7
|
+
dividerNodeRoot: string;
|
|
8
|
+
dividerNodeVertical: string;
|
|
9
|
+
dividerNodeHorizontal: string;
|
|
10
|
+
textBoxNodeVariant: string;
|
|
11
|
+
textBoxNodeRoot: string;
|
|
12
|
+
headerNodeRoot: string;
|
|
13
|
+
imageNodeRoot: string;
|
|
14
|
+
paperNodeRoot: string;
|
|
15
|
+
paperNodeTitle: string;
|
|
16
|
+
paperNodeContent: string;
|
|
17
|
+
propertyValueNodeRoot: string;
|
|
18
|
+
propertyValueNodeTitle: string;
|
|
19
|
+
propertyValueNodeContent: string;
|
|
20
|
+
propertyValueNodeHorizontal: string;
|
|
21
|
+
propertyValueNodeVertical: string;
|
|
22
|
+
gridNodeRoot: string;
|
|
23
|
+
footerNodeRoot: string;
|
|
24
|
+
bodyNodeRoot: string;
|
|
25
|
+
paperNodeContainerTitles: string;
|
|
26
|
+
paperNodeTitleSecondary: string;
|
|
27
|
+
pagerNodeRoot: string;
|
|
28
|
+
gridNodeTh: string;
|
|
29
|
+
gridNodeTr: string;
|
|
30
|
+
gridNodeTd: string;
|
|
31
|
+
chartNodeRoot: string;
|
|
32
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { printingSystemUtilityClasses } from ".";
|
|
2
|
+
export interface PrintingSystemClassesType {
|
|
3
|
+
root: string;
|
|
4
|
+
pageNodeRoot: string;
|
|
5
|
+
sectionNodeRoot: string;
|
|
6
|
+
dividerNodeRoot: string;
|
|
7
|
+
dividerNodeVertical: string;
|
|
8
|
+
dividerNodeHorizontal: string;
|
|
9
|
+
textBoxNodeVariant: string;
|
|
10
|
+
textBoxNodeRoot: string;
|
|
11
|
+
headerNodeRoot: string;
|
|
12
|
+
imageNodeRoot: string;
|
|
13
|
+
paperNodeRoot: string;
|
|
14
|
+
paperNodeTitle: string;
|
|
15
|
+
paperNodeContent: string;
|
|
16
|
+
propertyValueNodeRoot: string;
|
|
17
|
+
propertyValueNodeTitle: string;
|
|
18
|
+
propertyValueNodeContent: string;
|
|
19
|
+
propertyValueNodeHorizontal: string;
|
|
20
|
+
propertyValueNodeVertical: string;
|
|
21
|
+
gridNodeRoot: string;
|
|
22
|
+
footerNodeRoot: string;
|
|
23
|
+
bodyNodeRoot: string;
|
|
24
|
+
paperNodeContainerTitles: string;
|
|
25
|
+
paperNodeTitleSecondary: string;
|
|
26
|
+
pagerNodeRoot: string;
|
|
27
|
+
gridNodeTh: string;
|
|
28
|
+
gridNodeTr: string;
|
|
29
|
+
gridNodeTd: string;
|
|
30
|
+
chartNodeRoot: string;
|
|
31
|
+
}
|
|
32
|
+
export declare type PrintingSystemClassesKey = keyof PrintingSystemClassesType;
|
|
33
|
+
export declare type Classes = ReturnType<typeof printingSystemUtilityClasses>;
|