@m4l/components 0.1.92 → 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.eebea1c5.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.90cceb7d.js → index.16fe42a1.js} +3 -22
- package/components/CommonActions/components/ActionCancel/{index.54588e5b.js → index.c3e23ad4.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.7907e6f4.js → index.6da52418.js} +4 -34
- package/components/CommonActions/components/ActionFormIntro/{index.f7cd515b.js → index.c3af6d1d.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.f20cffae.js → index.49631fcb.js} +2 -2
- package/components/CommonActions/components/Actions/{index.7a196c44.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.95cea2ca.js → index.abedf2c0.js} +44 -14
- package/components/DataGrid/subcomponents/Actions/{index.5b0b1fbf.js → index.c8408b73.js} +9 -38
- package/components/DraggableWindow/{index.c702d3f2.js → index.8f423ed7.js} +1 -1
- package/components/DynamicFilter/{index.e9192ebd.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.5e43414d.js → index.1421f0d4.js} +7 -7
- package/components/GridLayout/subcomponents/Griditem/{index.d6f326d2.js → index.b2342897.js} +4 -4
- package/components/GridLayout/subcomponents/Responsive/{index.d41e31ca.js → index.f459804c.js} +2 -2
- package/components/HelperText/{index.191348cc.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.a74f2065.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.99745527.js → index.ec55087e.js} +5 -5
- package/components/NavLink/{index.f12bba32.js → index.b75c91e1.js} +2 -22
- package/components/NoItemSelected/{index.1eaf72d8.js → index.3e29c208.js} +1 -1
- package/components/ObjectLogs/{index.9bbac2a0.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.ebd5e3b7.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.76fa6a12.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.cd054608.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.62abf0bb.js → index.625bf23b.js} +68 -437
- package/components/areas/components/index.558684b3.js +1 -0
- package/components/areas/components/index.d.ts +0 -1
- package/components/areas/contexts/AreasContext/{index.d528f6e7.js → index.646f3c8f.js} +9 -7
- 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.d417e4b2.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.29a4c62c.js → index.52387f0f.js} +7 -22
- package/components/hook-form/RHFAutocompleteAsync/{index.647c3f9c.js → index.638bd2ae.js} +3 -2
- package/components/hook-form/RHFCheckbox/{index.0b89ea5c.js → index.a38715e3.js} +2 -22
- package/components/hook-form/RHFDateTime/{index.1adc88ad.js → index.66e334b0.js} +23 -23
- package/components/hook-form/RHFPeriod/{index.a4476d23.js → index.23099265.js} +2 -2
- package/components/hook-form/RHFTextField/{index.a1a240b1.js → index.25b3627e.js} +6 -8
- package/components/hook-form/RHFUpload/{index.a4582341.js → index.65588e08.js} +5 -22
- package/components/index.d.ts +3 -0
- package/components/modal/{WindowBase.a4752aa1.js → WindowBase.161ec78a.js} +5 -37
- package/components/modal/{WindowConfirm.7a9c12c0.js → WindowConfirm.7eed7c35.js} +8 -40
- package/components/modal/{index.b434146b.js → index.61389369.js} +0 -37
- package/components/mui_extended/Accordion/{index.cdedddba.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.7669b8af.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.5f09e16a.js → index.1fcabba2.js} +2 -2
- package/components/mui_extended/index.b606cd9d.js +1 -0
- package/contexts/ModalContext/{index.347f6738.js → index.436c2938.js} +1 -1
- package/contexts/RHFormContext/classes/index.d.ts +1 -1
- package/hooks/useFormAddEdit/{index.e8e7f758.js → index.3584a29f.js} +2 -26
- package/hooks/useModal/{index.fa6dfaa1.js → index.05d1821e.js} +1 -1
- package/index.js +196 -187
- 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.ea2f9914.js +0 -31
- package/components/areas/contexts/index.6e9bbc64.js +0 -2
- package/components/areas/hooks/index.0184c6f7.js +0 -4
- package/components/areas/index.8d6d8969.js +0 -54
- package/components/mui_extended/index.fe189e7d.js +0 -24
- package/node_modules.d73a220d.js +0 -363
- package/react-draggable.7abb5d0a.js +0 -962
- package/vendor.e14dec76.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
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AreaStatus, AreasStatus } from "../areas/contexts/AreasContext/types";
|
|
2
|
+
export interface AreasLoadingErrorProps {
|
|
3
|
+
status: AreasStatus | AreaStatus;
|
|
4
|
+
action: () => void;
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
recommendation?: string;
|
|
8
|
+
introMessage?: string;
|
|
9
|
+
errorIcon?: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const componentName = "M4LMFLoader";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MFLoaderClassesType } from './types';
|
|
2
|
+
export declare const mfLoaderClasses: MFLoaderClassesType;
|
|
3
|
+
export declare function getMFLoaderUtilityClass(slot: string): string;
|
|
4
|
+
export declare const mfLoaderUtilityClasses: () => {
|
|
5
|
+
root: string;
|
|
6
|
+
containerLinearProgress: string;
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { mfLoaderUtilityClasses } from ".";
|
|
2
|
+
export interface MFLoaderClassesType {
|
|
3
|
+
root: string;
|
|
4
|
+
containerLinearProgress: string;
|
|
5
|
+
}
|
|
6
|
+
export declare type MFLoaderClassesKey = keyof MFLoaderClassesType;
|
|
7
|
+
export declare type Classes = ReturnType<typeof mfLoaderUtilityClasses>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getMFLoaderComponentsDictionary(): string[];
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
+
var __publicField = (obj, key, value) => {
|
|
4
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
+
return value;
|
|
6
|
+
};
|
|
7
|
+
import { useState, useCallback, useEffect } from "react";
|
|
8
|
+
import { useNetwork, useEnvironment, useHostTools, axiosOperation } from "@m4l/core";
|
|
9
|
+
import { useHostTheme, useFormatter, useLocales, useFirstRender } from "@m4l/graphics";
|
|
10
|
+
import debounce from "lodash/debounce";
|
|
11
|
+
import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/material";
|
|
12
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
13
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
+
import { L as LinearProgress } from "../mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
15
|
+
import { L as LoadingError } from "../LoadingError/index.96bdc803.js";
|
|
16
|
+
const componentName = "M4LMFLoader";
|
|
17
|
+
const mfLoaderClasses = generateUtilityClasses(componentName, [
|
|
18
|
+
"root",
|
|
19
|
+
"containerLinearProgress"
|
|
20
|
+
]);
|
|
21
|
+
function getMFLoaderUtilityClass(slot) {
|
|
22
|
+
return generateUtilityClass(componentName, slot);
|
|
23
|
+
}
|
|
24
|
+
const mfLoaderUtilityClasses = () => {
|
|
25
|
+
const slots = {
|
|
26
|
+
root: ["root"],
|
|
27
|
+
containerLinearProgress: ["containerLinearProgress"]
|
|
28
|
+
};
|
|
29
|
+
const composedClasses = unstable_composeClasses(slots, getMFLoaderUtilityClass, {});
|
|
30
|
+
return {
|
|
31
|
+
...composedClasses
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
const ProggessLoadingMF = (props) => {
|
|
35
|
+
try {
|
|
36
|
+
const {
|
|
37
|
+
loadingProgress
|
|
38
|
+
} = props;
|
|
39
|
+
if (loadingProgress >= 0 && loadingProgress <= 100) {
|
|
40
|
+
return /* @__PURE__ */ jsx("div", {
|
|
41
|
+
className: mfLoaderClasses.containerLinearProgress,
|
|
42
|
+
children: /* @__PURE__ */ jsx(LinearProgress, {
|
|
43
|
+
variant: "determinate",
|
|
44
|
+
value: loadingProgress
|
|
45
|
+
})
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
} catch (error) {
|
|
49
|
+
}
|
|
50
|
+
return null;
|
|
51
|
+
};
|
|
52
|
+
class ObservableLoaderMF {
|
|
53
|
+
constructor(host, scriptId, networkOperation, isRemote) {
|
|
54
|
+
__publicField(this, "host");
|
|
55
|
+
__publicField(this, "isRemote");
|
|
56
|
+
__publicField(this, "eventStatus");
|
|
57
|
+
__publicField(this, "scriptId");
|
|
58
|
+
__publicField(this, "networkOperation");
|
|
59
|
+
__publicField(this, "subscribers");
|
|
60
|
+
this.host = host;
|
|
61
|
+
this.subscribers = [];
|
|
62
|
+
this.scriptId = scriptId;
|
|
63
|
+
this.networkOperation = networkOperation;
|
|
64
|
+
this.isRemote = isRemote;
|
|
65
|
+
this.eventStatus = "progress";
|
|
66
|
+
this.start = this.start.bind(this);
|
|
67
|
+
this.subscribe = this.subscribe.bind(this);
|
|
68
|
+
this.unsubscribe = this.unsubscribe.bind(this);
|
|
69
|
+
this.notify = this.notify.bind(this);
|
|
70
|
+
this.tryAgain = this.tryAgain.bind(this);
|
|
71
|
+
setTimeout(this.start, 100);
|
|
72
|
+
}
|
|
73
|
+
tryAgain() {
|
|
74
|
+
if (this.eventStatus === "error") {
|
|
75
|
+
setTimeout(this.start, 100);
|
|
76
|
+
new Promise((resolve) => {
|
|
77
|
+
resolve("ok");
|
|
78
|
+
}).then(() => {
|
|
79
|
+
this.start();
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
async start() {
|
|
84
|
+
let percentCompleted = 0;
|
|
85
|
+
this.notify("progress", percentCompleted);
|
|
86
|
+
const manifest = await fetch(`${this.host}/manifest.json?rnd=${Math.random()}`).then((res) => res.json()).catch(() => {
|
|
87
|
+
setTimeout(() => this.notify("error", 0), 300);
|
|
88
|
+
return void 0;
|
|
89
|
+
});
|
|
90
|
+
if (!manifest) {
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
percentCompleted = 10;
|
|
94
|
+
this.notify("progress", percentCompleted);
|
|
95
|
+
const urlFile = `${this.host}/${manifest["src/index.tsx"]["file"]}?rnd=${Math.random()}`;
|
|
96
|
+
const controller = new AbortController();
|
|
97
|
+
const ret = await this.networkOperation({
|
|
98
|
+
method: "GET",
|
|
99
|
+
endPoint: urlFile,
|
|
100
|
+
isRemote: this.isRemote,
|
|
101
|
+
headers: { "Content-Type": "application/json" },
|
|
102
|
+
onDownloadProgress: (progressEvent) => {
|
|
103
|
+
try {
|
|
104
|
+
if (progressEvent.lengthComputable) {
|
|
105
|
+
percentCompleted = 10 + Math.round(progressEvent.loaded * 90 / progressEvent.total);
|
|
106
|
+
} else {
|
|
107
|
+
percentCompleted = 10 + progressEvent.loaded / 15e5 * 90;
|
|
108
|
+
if (percentCompleted > 95)
|
|
109
|
+
percentCompleted = 95;
|
|
110
|
+
}
|
|
111
|
+
} catch (error) {
|
|
112
|
+
}
|
|
113
|
+
this.notify("progress", percentCompleted);
|
|
114
|
+
},
|
|
115
|
+
isExternalUrl: true,
|
|
116
|
+
responseType: "text",
|
|
117
|
+
signal: controller.signal
|
|
118
|
+
}).then(() => {
|
|
119
|
+
return "ok";
|
|
120
|
+
}).catch(() => {
|
|
121
|
+
this.notify("error", 0);
|
|
122
|
+
return "error";
|
|
123
|
+
});
|
|
124
|
+
if (ret == "ok") {
|
|
125
|
+
const script = document.createElement("script");
|
|
126
|
+
const startTime = new Date().getTime();
|
|
127
|
+
script.id = this.scriptId;
|
|
128
|
+
script.crossOrigin = "";
|
|
129
|
+
script.type = "module";
|
|
130
|
+
script.src = urlFile || "";
|
|
131
|
+
script.onload = () => {
|
|
132
|
+
this.notify("complete", 100);
|
|
133
|
+
};
|
|
134
|
+
document.head.appendChild(script);
|
|
135
|
+
console.debug("Script appened", startTime);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
subscribe(subscriber) {
|
|
139
|
+
this.subscribers.push(subscriber);
|
|
140
|
+
this.tryAgain();
|
|
141
|
+
}
|
|
142
|
+
unsubscribe(subscriber) {
|
|
143
|
+
console.log("unsubscribe", subscriber);
|
|
144
|
+
const index = this.subscribers.indexOf(subscriber);
|
|
145
|
+
if (index !== -1) {
|
|
146
|
+
this.subscribers.splice(index, 1);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
notify(newEvent, progress) {
|
|
150
|
+
this.eventStatus = newEvent;
|
|
151
|
+
this.subscribers.forEach((subscriber) => {
|
|
152
|
+
setTimeout(() => subscriber(newEvent, progress), 1);
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
const MFLoaderRoot = styled("div")(({ theme }) => ({
|
|
157
|
+
...theme.components?.M4LMFLoader?.styleOverrides
|
|
158
|
+
}));
|
|
159
|
+
function getDivScritId(prefix, moduleId) {
|
|
160
|
+
const rotational_id = `${Math.round(new Date().getTime() / 1e3)}_rnd_${Math.round(Math.random() * 1e3)}`;
|
|
161
|
+
return {
|
|
162
|
+
divContainerId: `container_${prefix}_${moduleId}_${rotational_id}`,
|
|
163
|
+
scriptId: `script_${moduleId}_${rotational_id}`,
|
|
164
|
+
moduleId
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
function MFLoader(props) {
|
|
168
|
+
const {
|
|
169
|
+
prefix,
|
|
170
|
+
moduleId,
|
|
171
|
+
cache = true,
|
|
172
|
+
debug_port,
|
|
173
|
+
dynamicMFStore,
|
|
174
|
+
windowTools
|
|
175
|
+
} = props;
|
|
176
|
+
const {
|
|
177
|
+
hostThemeOptions,
|
|
178
|
+
fnComponentsOverrides
|
|
179
|
+
} = useHostTheme();
|
|
180
|
+
const {
|
|
181
|
+
networkOperation
|
|
182
|
+
} = useNetwork();
|
|
183
|
+
const environment = useEnvironment();
|
|
184
|
+
const hostTools = useHostTools();
|
|
185
|
+
const formatter = useFormatter();
|
|
186
|
+
const [statusLoader, setStatusLoader] = useState("progress");
|
|
187
|
+
const [loadingProgress, setLoadingProgress] = useState(-1);
|
|
188
|
+
const [divScript, setDivScript] = useState(getDivScritId(prefix, moduleId));
|
|
189
|
+
const {
|
|
190
|
+
currentLocale
|
|
191
|
+
} = useLocales();
|
|
192
|
+
console.log("divScript", divScript);
|
|
193
|
+
const classes = mfLoaderUtilityClasses();
|
|
194
|
+
const isFirstRender = useFirstRender([moduleId]);
|
|
195
|
+
const final_host = environment.isLocalhost ? `https://localhost:${debug_port}` : `https://${window.location.host}/mf/${moduleId}`;
|
|
196
|
+
function cleanUp(dScript) {
|
|
197
|
+
try {
|
|
198
|
+
if (window[`unmount_${prefix}_${dScript.moduleId}`]) {
|
|
199
|
+
window[`unmount_${prefix}_${dScript.moduleId}`](dScript.divContainerId);
|
|
200
|
+
}
|
|
201
|
+
} catch (error) {
|
|
202
|
+
}
|
|
203
|
+
if (!cache) {
|
|
204
|
+
const script = document.getElementById(dScript.scriptId);
|
|
205
|
+
if (script) {
|
|
206
|
+
try {
|
|
207
|
+
document.head.removeChild(script);
|
|
208
|
+
delete window[`render_${prefix}_${dScript.moduleId}`];
|
|
209
|
+
delete window[`unmount_${prefix}_${dScript.moduleId}`];
|
|
210
|
+
} catch (error) {
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
const renderMicroFrontend = useCallback((newDScript) => {
|
|
216
|
+
console.log("`render_${prefix}_${newDScript.moduleId}`", `render_${prefix}_${newDScript.moduleId}`);
|
|
217
|
+
try {
|
|
218
|
+
window[`render_${prefix}_${newDScript.moduleId}`](newDScript.divContainerId, environment, hostTools, currentLocale, {
|
|
219
|
+
hostThemeOptions,
|
|
220
|
+
fnComponentsOverrides
|
|
221
|
+
}, axiosOperation, formatter, dynamicMFStore, windowTools);
|
|
222
|
+
} catch (error) {
|
|
223
|
+
}
|
|
224
|
+
}, [hostThemeOptions, currentLocale, formatter]);
|
|
225
|
+
const debouncedSetDivScript = useCallback(debounce((newName) => {
|
|
226
|
+
const newDivScript = getDivScritId(prefix, newName);
|
|
227
|
+
if (newName !== divScript.moduleId) {
|
|
228
|
+
setDivScript({
|
|
229
|
+
...newDivScript
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
}, 200), [divScript]);
|
|
233
|
+
useEffect(() => {
|
|
234
|
+
if (!isFirstRender) {
|
|
235
|
+
debouncedSetDivScript(moduleId + "");
|
|
236
|
+
if (moduleId !== divScript.moduleId)
|
|
237
|
+
;
|
|
238
|
+
}
|
|
239
|
+
return () => {
|
|
240
|
+
};
|
|
241
|
+
}, [moduleId]);
|
|
242
|
+
const tryAgainOnError = useCallback(() => {
|
|
243
|
+
window[`observable_${prefix}_${moduleId}`]?.tryAgain();
|
|
244
|
+
}, []);
|
|
245
|
+
useEffect(() => {
|
|
246
|
+
const dsNowScript = {
|
|
247
|
+
...divScript
|
|
248
|
+
};
|
|
249
|
+
const observableDownload = (event, progress) => {
|
|
250
|
+
setLoadingProgress(progress);
|
|
251
|
+
setStatusLoader(event);
|
|
252
|
+
};
|
|
253
|
+
if (!window[`render_${prefix}_${moduleId}`]) {
|
|
254
|
+
let observableLoaderMF;
|
|
255
|
+
if (!window[`observable_${prefix}_${moduleId}`]) {
|
|
256
|
+
observableLoaderMF = new ObservableLoaderMF(final_host, dsNowScript.scriptId, networkOperation, !environment.isLocalhost);
|
|
257
|
+
window[`observable_${prefix}_${moduleId}`] = observableLoaderMF;
|
|
258
|
+
} else {
|
|
259
|
+
observableLoaderMF = window[`observable_${prefix}_${moduleId}`];
|
|
260
|
+
}
|
|
261
|
+
observableLoaderMF.subscribe(observableDownload);
|
|
262
|
+
} else {
|
|
263
|
+
setStatusLoader("complete");
|
|
264
|
+
}
|
|
265
|
+
return () => {
|
|
266
|
+
window[`observable_${prefix}_${moduleId}`].unsubscribe(observableDownload);
|
|
267
|
+
cleanUp(dsNowScript);
|
|
268
|
+
};
|
|
269
|
+
}, [divScript]);
|
|
270
|
+
useEffect(() => {
|
|
271
|
+
if (statusLoader === "complete") {
|
|
272
|
+
renderMicroFrontend(divScript);
|
|
273
|
+
}
|
|
274
|
+
}, [statusLoader]);
|
|
275
|
+
return /* @__PURE__ */ jsxs(MFLoaderRoot, {
|
|
276
|
+
id: divScript.divContainerId,
|
|
277
|
+
className: classes.root,
|
|
278
|
+
children: [statusLoader === "progress" ? /* @__PURE__ */ jsx(ProggessLoadingMF, {
|
|
279
|
+
loadingProgress
|
|
280
|
+
}) : null, statusLoader === "error" ? /* @__PURE__ */ jsx(LoadingError, {
|
|
281
|
+
status: statusLoader,
|
|
282
|
+
action: tryAgainOnError
|
|
283
|
+
}) : null]
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
MFLoader.defaultProps = {
|
|
287
|
+
document,
|
|
288
|
+
window
|
|
289
|
+
};
|
|
290
|
+
function getMFLoaderComponentsDictionary() {
|
|
291
|
+
return ["mf_loader"];
|
|
292
|
+
}
|
|
293
|
+
export {
|
|
294
|
+
MFLoader as M,
|
|
295
|
+
getMFLoaderComponentsDictionary as g
|
|
296
|
+
};
|
|
@@ -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.cdedddba.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.7669b8af.js";
|
|
21
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
22
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
23
|
-
import "../mui_extended/Tab/index.5f09e16a.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.7a196c44.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.d528f6e7.js";
|
|
24
|
-
import "../areas/components/AreasAdmin/index.cd054608.js";
|
|
25
|
-
import "zustand/shallow";
|
|
26
|
-
import "../mui_extended/Accordion/index.cdedddba.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.7669b8af.js";
|
|
35
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
36
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
37
|
-
import "../mui_extended/Tab/index.5f09e16a.js";
|
|
38
|
-
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
39
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
40
|
-
import "../areas/components/AreasViewer/index.62abf0bb.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.a4752aa1.js";
|
|
45
|
-
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.e9192ebd.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.347f6738.js";
|
|
12
|
-
import "../../react-draggable.7abb5d0a.js";
|
|
13
|
-
import "../Resizeable/index.676c96fe.js";
|
|
14
|
-
import "@m4l/graphics";
|
|
15
|
-
import "../modal/index.b434146b.js";
|
|
16
|
-
import "../Image/index.c18ebf5a.js";
|
|
17
|
-
import "../mui_extended/IconButton/index.76624519.js";
|
|
18
|
-
import "../mui_extended/Accordion/index.cdedddba.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.7669b8af.js";
|
|
26
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
27
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
28
|
-
import "../mui_extended/Tab/index.5f09e16a.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.d528f6e7.js";
|
|
33
|
-
import "../areas/components/AreasAdmin/index.cd054608.js";
|
|
34
|
-
import "zustand/shallow";
|
|
35
|
-
import "../ScrollBar/index.65bb2930.js";
|
|
36
|
-
import "../areas/components/AreasViewer/index.62abf0bb.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";
|