@m4l/components 1.0.23 → 1.1.1
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.5c97ab79.js → index.dde11a5c.js} +3 -3
- package/components/AppBar/{index.631dac35.js → index.19b11c19.js} +4 -4
- package/components/BaseModule/BaseModule.d.ts +2 -0
- package/components/BaseModule/index.4b725d16.js +30 -0
- package/components/BaseModule/index.d.ts +2 -0
- package/components/BaseModule/types.d.ts +10 -0
- package/components/CommonActions/components/ActionCancel/{index.4ec04ad9.js → index.c3cddacf.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.4d61b0fe.js → index.3ec840af.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.241ff066.js → index.3187e7a7.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.6c855294.js → index.db2b2999.js} +2 -2
- package/components/CommonActions/components/Actions/{index.2083f1d3.js → index.84b8fd47.js} +1 -1
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.371bcc46.js → index.ea1b882e.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.efe5a903.js → index.cff633f6.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.8128c255.js → index.d2e656a0.js} +1 -1
- package/components/DataGrid/formatters/{index.84c30cd7.js → index.4b65c281.js} +2 -2
- package/components/DataGrid/{index.3f13b6aa.js → index.9aa088f6.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.feeb7987.js → index.9416e750.js} +11 -11
- package/components/DragResizeWindow/{index.4e9cf2dc.js → index.8f5a2e3e.js} +1 -1
- package/components/DynamicFilter/{dictionary.2241d3c2.js → dictionary.e9ad0f7c.js} +2 -2
- package/components/DynamicFilter/{index.94ef8a65.js → index.e737845f.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.cff0c775.js → dynamicFilterSlots.c6d731f1.js} +5 -5
- package/components/DynamicFilter/store/{index.806ee1a5.js → index.7a5e5f6a.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.e75e32be.js → index.f714d323.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.5c30d4c9.js → index.c4131ff0.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.9a3e7c86.js → index.9be8d255.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.abfd8da5.js → index.5caf5b34.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.4937bcea.js → index.f5262ca2.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.09549b28.js → index.f48b4af1.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.bbca18ab.js → index.86de8517.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.4e1c56b6.js → index.1ba1cc22.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.9dd57d81.js → index.8d2e925e.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.d13450e6.js → index.066a32f4.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.293ccf6f.js → index.f3f01ebc.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.c5e7b96f.js → index.7805f621.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.aa8ff6d5.js → index.d5efe247.js} +2 -2
- package/components/FieldLabel/{index.170296ed.js → index.a6235bcc.js} +3 -3
- package/components/GridLayout/{index.9e93facb.js → index.14b734d6.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.225906d4.js → index.5c8546c8.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.3cb5a032.js → index.6646c077.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.16747fc4.js → index.1108dd01.js} +1 -1
- package/components/HelperText/{index.ad6b4907.js → index.b1961313.js} +2 -2
- package/components/Icon/{index.8168aa10.js → index.e06c693f.js} +3 -3
- package/components/Image/{index.92d522f9.js → index.8a3d05d3.js} +2 -2
- package/components/LanguagePopover/{index.68640a8e.js → index.25266514.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.9f87f47c.js → index.80f8b74d.js} +1 -1
- package/components/LoadingError/{index.32dc5ad7.js → index.81979bb3.js} +5 -5
- package/components/MFIsolationApp/MFIsolationApp.d.ts +2 -0
- package/components/MFIsolationApp/index.3125cd12.js +167 -0
- package/components/MFIsolationApp/index.d.ts +1 -0
- package/components/MFIsolationApp/subcomponents/MFAuthApp/MFAuthApp.d.ts +2 -0
- package/components/MFIsolationApp/subcomponents/MFAuthApp/index.d.ts +1 -0
- package/components/MFIsolationApp/subcomponents/MFAuthApp/types.d.ts +6 -0
- package/components/MFIsolationApp/types.d.ts +14 -0
- package/components/MFLoader/{index.70b0984a.js → index.952a3fee.js} +2 -2
- package/components/ModalDialog/{index.22eb4873.js → index.0dba90d3.js} +3 -3
- package/components/NavLink/{index.ddfdae0b.js → index.0c844a30.js} +2 -2
- package/components/NoItemSelected/{index.9ac8f4c8.js → index.dd2cee48.js} +1 -1
- package/components/ObjectLogs/{index.032e25fb.js → index.f98e884b.js} +9 -9
- package/components/PDFViewer/{index.0f8c84da.js → index.1b7068e5.js} +2 -2
- package/components/Page/{index.0268570c.js → index.fa45b3d5.js} +1 -1
- package/components/PaperForm/{index.8a387dab.js → index.f1467e34.js} +2 -2
- package/components/Period/{index.c2efde10.js → index.732248a8.js} +4 -4
- package/components/PrintingSystem/{index.d3db73b0.js → index.7aed44a2.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index.0b481469.js → index.3e82f72e.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.6d961379.js → index.8d4e4894.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.9f5fccbf.js → index.f9343c1f.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.9cb21de9.js → index.1cdf54cf.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.2e8b0108.js → index.32a2e08a.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.683901c4.js → index.715f4e49.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.c666cc89.js → index.92df744d.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.46901d93.js → index.4316a07a.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.4107bf33.js → index.21b9d770.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.ebece5ce.js → index.03e73c9d.js} +1 -1
- package/components/PropertyValue/{index.6445835e.js → index.f85c4118.js} +3 -3
- package/components/Resizeable/{index.57cbe2be.js → index.305dae8c.js} +1 -1
- package/components/ScrollBar/{index.56125bbf.js → index.9c677335.js} +1 -1
- package/components/SideBar/{index.ed48577e.js → index.d33d87f4.js} +5 -5
- package/components/SplitLayout/{index.dcdc77e6.js → index.a5414b61.js} +1 -1
- package/components/ToastContainer/{index.67f277fd.js → index.ce752150.js} +2 -2
- package/components/animate/LoadingScreen/{index.782f1eca.js → index.881ca784.js} +1 -1
- package/components/animate/{index.3dddf2d3.js → index.d6f073fe.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.3c8301b9.js → index.80da2678.js} +14 -14
- package/components/areas/components/AreasViewer/{index.9298ef7a.js → index.7836a623.js} +13 -13
- package/components/areas/contexts/AreasContext/{index.55cdde3e.js → index.c4e41ac3.js} +6 -6
- package/components/areas/hooks/useAreas/{index.5275e969.js → index.cf3f35fa.js} +1 -1
- package/components/commercial/AppBarCommercial/{index.9fa71fbe.js → index.00571293.js} +1 -1
- package/components/commercial/SectionCommercial/{index.67cb0e24.js → index.c3f56cb3.js} +1 -1
- package/components/commercial/TopBar/{index.e307711a.js → index.56ade547.js} +5 -5
- package/components/commercial/{index.3b81acbf.js → index.788464b6.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.6b0373e0.js → index.6f664715.js} +2 -2
- package/components/formatters/{index.a0d79071.js → index.d1846e98.js} +2 -2
- package/components/hook-form/HelperError/{index.6b671a90.js → index.a0faefe4.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.0c0f1166.js → index.dab5e2d6.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index.98c0c8b1.js → index.a61e7dda.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.93b8e70f.js → index.71751a9d.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index.d6edb266.js → index.3a8f36b1.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.d793e753.js → index.2f4ce21c.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.f298b64d.js → index.acf46fb2.js} +4 -4
- package/components/hook-form/RHFTextField/{index.8ca96674.js → index.06342648.js} +4 -4
- package/components/hook-form/RHFUpload/{index.07ebbfc1.js → index.ef58c607.js} +5 -5
- package/components/index.d.ts +2 -0
- package/components/maps/components/GpsTools/{index.a19df7ba.js → index.3cc627c5.js} +23 -23
- package/components/maps/components/Map/{index.ccb0be2e.js → index.c50fc538.js} +13 -13
- package/components/modal/{WindowBase.58fc327c.js → WindowBase.af49e2e8.js} +3 -3
- package/components/modal/{WindowConfirm.746fdae7.js → WindowConfirm.141e19a9.js} +6 -6
- package/components/mui_extended/Accordion/{index.fd3b659c.js → index.e76a8701.js} +4 -4
- package/components/mui_extended/Avatar/{index.3ebe1a4b.js → index.fc674f4b.js} +1 -1
- package/components/mui_extended/Badge/{index.ecd151e9.js → index.615959af.js} +1 -1
- package/components/mui_extended/Button/{index.dc43db94.js → index.a391ee9f.js} +3 -3
- package/components/mui_extended/{CheckBox.ea329fff.js → CheckBox.ae30825c.js} +2 -2
- package/components/mui_extended/IconButton/{index.3284f1d5.js → index.97e91dae.js} +2 -2
- package/components/mui_extended/MenuActions/{index.9e3d7f5d.js → index.1092605e.js} +5 -5
- package/components/mui_extended/Pager/{index.ef526d95.js → index.4d510ef5.js} +4 -4
- package/components/mui_extended/Popover/{index.57cd2dc0.js → index.82970357.js} +1 -1
- package/components/mui_extended/Stack/{index.0c52ffa7.js → index.e64a379b.js} +1 -1
- package/components/mui_extended/Tab/{index.c0a8e330.js → index.f31eb904.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.560c0a3c.js → index.4afacb33.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.98d85395.js → index.621ff8bc.js} +1 -1
- package/components/mui_extended/Typography/{index.5a14dd12.js → index.8a0f958b.js} +1 -1
- package/components/popups/PopupsProvider/{index.b3bb56b7.js → index.6591c56e.js} +1 -1
- package/components/popups/PopupsViewer/{index.0f579946.js → index.caf23a5d.js} +4 -4
- package/contexts/ModalContext/{index.141fdede.js → index.8281527d.js} +3 -3
- package/contexts/RHFormContext/{index.8cfee498.js → index.939811b3.js} +1 -1
- package/hooks/useFormAddEdit/{index.f4f4dccd.js → index.dfb5570d.js} +2 -2
- package/hooks/useModal/{index.70c3f0b5.js → index.538e8219.js} +1 -1
- package/hooks/useTab/{index.6f39459c.js → index.bc8d38fc.js} +1 -1
- package/index.js +127 -119
- package/package.json +4 -1
- package/styles/{index.379fa100.js → index.7868464e.js} +7 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { H as HelperTextRoot } from "../../styles/index.
|
|
2
|
+
import { H as HelperTextRoot } from "../../styles/index.7868464e.js";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
5
|
+
import { T as Typography } from "../mui_extended/Typography/index.8a0f958b.js";
|
|
6
6
|
const componentName = "M4LHelperText";
|
|
7
7
|
const errorLabelClasses = generateUtilityClasses(componentName, [
|
|
8
8
|
"root",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Marker } from "react-leaflet";
|
|
3
3
|
import L__default from "leaflet";
|
|
4
|
-
import { m as mapClasses, L as LABEL_BK_COLOR_DEFAULT, a as LABEL_COLOR_DEFAULT } from "../maps/components/Map/index.
|
|
4
|
+
import { m as mapClasses, L as LABEL_BK_COLOR_DEFAULT, a as LABEL_COLOR_DEFAULT } from "../maps/components/Map/index.c50fc538.js";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { useEnvironment } from "@m4l/core";
|
|
7
|
-
import { I as IconRoot, e as DivIcon, f as ArrowIconRoot } from "../../styles/index.
|
|
8
|
-
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.
|
|
7
|
+
import { I as IconRoot, e as DivIcon, f as ArrowIconRoot } from "../../styles/index.7868464e.js";
|
|
8
|
+
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.d33d87f4.js";
|
|
9
9
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
10
10
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { g as ImageRoot } from "../../styles/index.
|
|
2
|
+
import { g as ImageRoot } from "../../styles/index.7868464e.js";
|
|
3
3
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import { useBase, useEnvironment, evaluateWithContext } from "@m4l/core";
|
|
8
|
-
import { c as classes, g as getSize } from "../PrintingSystem/index.
|
|
8
|
+
import { c as classes, g as getSize } from "../PrintingSystem/index.7aed44a2.js";
|
|
9
9
|
import QRCode from "qrcode.react";
|
|
10
10
|
const ratioOptions = {
|
|
11
11
|
"1.168:1": {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass, Stack, MenuItem } from "@mui/material";
|
|
4
|
-
import { I as Image } from "../Image/index.
|
|
4
|
+
import { I as Image } from "../Image/index.8a3d05d3.js";
|
|
5
5
|
import { useLocales } from "@m4l/graphics";
|
|
6
|
-
import { L as LanguagePopoverRoot, h as ContainerMenuItems, i as ContainerProgress, j as ContainerImage, k as LabelItem } from "../../styles/index.
|
|
7
|
-
import { I as ImageButton } from "../mui_extended/Button/index.
|
|
6
|
+
import { L as LanguagePopoverRoot, h as ContainerMenuItems, i as ContainerProgress, j as ContainerImage, k as LabelItem } from "../../styles/index.7868464e.js";
|
|
7
|
+
import { I as ImageButton } from "../mui_extended/Button/index.a391ee9f.js";
|
|
8
8
|
import { useEnvironment, useNetwork } from "@m4l/core";
|
|
9
9
|
import { unstable_composeClasses } from "@mui/base";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
11
11
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.967e70b7.js";
|
|
12
|
-
import { P as Popover } from "../mui_extended/Popover/index.
|
|
12
|
+
import { P as Popover } from "../mui_extended/Popover/index.82970357.js";
|
|
13
13
|
const componentName = "M4LanguagePopover";
|
|
14
14
|
generateUtilityClasses(
|
|
15
15
|
componentName,
|
|
@@ -3,7 +3,7 @@ import clsx from "clsx";
|
|
|
3
3
|
import { generateUtilityClasses } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { g as getComponentUtilityClass } from "../../utils/index.14912462.js";
|
|
6
|
-
import { l as LinearProgressIndeterminateRoot } from "../../styles/index.
|
|
6
|
+
import { l as LinearProgressIndeterminateRoot } from "../../styles/index.7868464e.js";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
const LINEAR_PROGRESS_INDETERMINATE_CLASS_NAME = "M4LinearProgressIndeterminate";
|
|
9
9
|
generateUtilityClasses(
|
|
@@ -3,11 +3,11 @@ import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
|
3
3
|
import { I as ICONS } from "../areas/icons.8266ccc8.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { m as LoadingErrorRoot } from "../../styles/index.
|
|
7
|
-
import { L as LinearProgressIndeterminate } from "../LinearProgressIndeterminate/index.
|
|
8
|
-
import { I as Icon } from "../Icon/index.
|
|
9
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
10
|
-
import { B as Button } from "../mui_extended/Button/index.
|
|
6
|
+
import { m as LoadingErrorRoot } from "../../styles/index.7868464e.js";
|
|
7
|
+
import { L as LinearProgressIndeterminate } from "../LinearProgressIndeterminate/index.80f8b74d.js";
|
|
8
|
+
import { I as Icon } from "../Icon/index.e06c693f.js";
|
|
9
|
+
import { T as Typography } from "../mui_extended/Typography/index.8a0f958b.js";
|
|
10
|
+
import { B as Button } from "../mui_extended/Button/index.a391ee9f.js";
|
|
11
11
|
const componentName = "M4LoadingError";
|
|
12
12
|
generateUtilityClasses(componentName, [
|
|
13
13
|
"root",
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useMemo, useCallback } from "react";
|
|
3
|
+
import { unstable_HistoryRouter } from "react-router-dom";
|
|
4
|
+
import { ToastContainer, toast } from "react-toastify";
|
|
5
|
+
import { createBrowserHistory } from "history";
|
|
6
|
+
import EventEmitter from "eventemitter3";
|
|
7
|
+
import NProgress from "nprogress";
|
|
8
|
+
import { HostThemeProvider, FormatterProvider, LocalesProvider, getLocaleFromNetwork, ResponsiveContainerProvider } from "@m4l/graphics";
|
|
9
|
+
import { useAuth, DomainCountryProvider, EnvironmentProvider, HostToolsProvider, NetworkProvider, axiosOperation, AuthProvider } from "@m4l/core";
|
|
10
|
+
import { format } from "date-fns";
|
|
11
|
+
import { defaultThemeOptions, fnComponentsOverrides } from "@m4l/styles";
|
|
12
|
+
import { B as BaseModule } from "../BaseModule/index.4b725d16.js";
|
|
13
|
+
import { A as AreasProvider } from "../areas/contexts/AreasContext/index.c4e41ac3.js";
|
|
14
|
+
function MFAuthApp(props) {
|
|
15
|
+
const { children, user, pwd } = props;
|
|
16
|
+
const { isAuthenticated, isInitialized, login, user: authUser } = useAuth();
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
if (isInitialized && isAuthenticated === false) {
|
|
19
|
+
login(user, pwd, false);
|
|
20
|
+
}
|
|
21
|
+
}, [isInitialized, isAuthenticated]);
|
|
22
|
+
if (!isAuthenticated)
|
|
23
|
+
return /* @__PURE__ */ jsx("div", { children: "Pendiente por autenticarse" });
|
|
24
|
+
const domianCountry = {
|
|
25
|
+
id: 1,
|
|
26
|
+
currency: "USD",
|
|
27
|
+
currency_decimal_digits: 2,
|
|
28
|
+
decimal_symbol: ".",
|
|
29
|
+
thousands_symbol: ","
|
|
30
|
+
};
|
|
31
|
+
if (authUser?.domain_country) {
|
|
32
|
+
domianCountry.id = authUser?.domain_country.id ?? domianCountry.id;
|
|
33
|
+
domianCountry.currency = authUser?.domain_country.currency ?? domianCountry.currency;
|
|
34
|
+
domianCountry.currency_decimal_digits = authUser?.domain_country.currency_decimal_digits ?? domianCountry.currency_decimal_digits;
|
|
35
|
+
domianCountry.decimal_symbol = authUser?.domain_country.decimal_symbol ?? domianCountry.decimal_symbol;
|
|
36
|
+
domianCountry.thousands_symbol = authUser?.domain_country?.thousands_symbol ?? domianCountry.thousands_symbol;
|
|
37
|
+
}
|
|
38
|
+
return /* @__PURE__ */ jsxs(
|
|
39
|
+
HostThemeProvider,
|
|
40
|
+
{
|
|
41
|
+
hostThemeOptions: defaultThemeOptions,
|
|
42
|
+
fnComponentsOverrides,
|
|
43
|
+
isMicroFrontEnd: true,
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ jsx(ToastContainer, {}),
|
|
46
|
+
/* @__PURE__ */ jsx(DomainCountryProvider, { ...domianCountry, isMicroFrontEnd: false, children: /* @__PURE__ */ jsx(
|
|
47
|
+
FormatterProvider,
|
|
48
|
+
{
|
|
49
|
+
isMicroFrontEnd: false,
|
|
50
|
+
dateFormatter: {
|
|
51
|
+
formatDate: format
|
|
52
|
+
},
|
|
53
|
+
currencyFormatter: {
|
|
54
|
+
code: domianCountry.currency,
|
|
55
|
+
decimalDigits: domianCountry.currency_decimal_digits
|
|
56
|
+
},
|
|
57
|
+
children
|
|
58
|
+
}
|
|
59
|
+
) })
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
const history = createBrowserHistory({ window });
|
|
65
|
+
function MFIsolationApp(props) {
|
|
66
|
+
const {
|
|
67
|
+
children,
|
|
68
|
+
user,
|
|
69
|
+
pwd,
|
|
70
|
+
database = "domain",
|
|
71
|
+
host_api_local,
|
|
72
|
+
host_api_remote,
|
|
73
|
+
host_static_assets,
|
|
74
|
+
environment_assets,
|
|
75
|
+
moduleId,
|
|
76
|
+
skeletonFlags,
|
|
77
|
+
moduleNameField,
|
|
78
|
+
privileges,
|
|
79
|
+
componentsDictionary,
|
|
80
|
+
onLoad,
|
|
81
|
+
activeAreasNetwork = false,
|
|
82
|
+
activeCookiesFromNetwork = false,
|
|
83
|
+
observedDivRef
|
|
84
|
+
} = props;
|
|
85
|
+
const eventEmitter = useMemo(() => new EventEmitter(), []);
|
|
86
|
+
const events_add_listener = useCallback(
|
|
87
|
+
(eventName, handler) => {
|
|
88
|
+
eventEmitter.on(eventName, handler);
|
|
89
|
+
},
|
|
90
|
+
[eventEmitter]
|
|
91
|
+
);
|
|
92
|
+
const events_remove_listener = useCallback(
|
|
93
|
+
(eventName, handler) => {
|
|
94
|
+
if (handler === null) {
|
|
95
|
+
eventEmitter.removeListener(eventName);
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
eventEmitter.removeListener(eventName, handler);
|
|
99
|
+
},
|
|
100
|
+
[eventEmitter]
|
|
101
|
+
);
|
|
102
|
+
const events_emit = useCallback(
|
|
103
|
+
(eventName, arg) => {
|
|
104
|
+
eventEmitter.emit(eventName, arg);
|
|
105
|
+
},
|
|
106
|
+
[eventEmitter]
|
|
107
|
+
);
|
|
108
|
+
const startProgress = () => {
|
|
109
|
+
NProgress.configure({
|
|
110
|
+
showSpinner: true
|
|
111
|
+
});
|
|
112
|
+
NProgress.start();
|
|
113
|
+
};
|
|
114
|
+
const stopProgress = () => {
|
|
115
|
+
NProgress.done();
|
|
116
|
+
};
|
|
117
|
+
const environment = useMemo(
|
|
118
|
+
() => ({
|
|
119
|
+
host: "",
|
|
120
|
+
isLocalhost: true,
|
|
121
|
+
domain_token: "lab1",
|
|
122
|
+
database,
|
|
123
|
+
host_api_local,
|
|
124
|
+
host_api_remote,
|
|
125
|
+
host_static_assets,
|
|
126
|
+
environment_assets
|
|
127
|
+
}),
|
|
128
|
+
[]
|
|
129
|
+
);
|
|
130
|
+
const hostTools = useMemo(
|
|
131
|
+
() => ({
|
|
132
|
+
history,
|
|
133
|
+
toast,
|
|
134
|
+
startProgress,
|
|
135
|
+
stopProgress,
|
|
136
|
+
events_add_listener,
|
|
137
|
+
events_remove_listener,
|
|
138
|
+
events_emit
|
|
139
|
+
}),
|
|
140
|
+
[]
|
|
141
|
+
);
|
|
142
|
+
return /* @__PURE__ */ jsx(EnvironmentProvider, { ...environment, children: /* @__PURE__ */ jsx(HostToolsProvider, { ...hostTools, children: /* @__PURE__ */ jsx(NetworkProvider, { axiosOperation, children: /* @__PURE__ */ jsx(unstable_HistoryRouter, { history, children: /* @__PURE__ */ jsx(LocalesProvider, { isMicroFrontEnd: false, getLocaleFromNetwork, children: /* @__PURE__ */ jsx(AuthProvider, { children: /* @__PURE__ */ jsx(MFAuthApp, { user, pwd, children: /* @__PURE__ */ jsx(
|
|
143
|
+
BaseModule,
|
|
144
|
+
{
|
|
145
|
+
moduleId,
|
|
146
|
+
privileges,
|
|
147
|
+
skeletonFlags,
|
|
148
|
+
componentsDictionary,
|
|
149
|
+
moduleNameField,
|
|
150
|
+
children: /* @__PURE__ */ jsx(
|
|
151
|
+
AreasProvider,
|
|
152
|
+
{
|
|
153
|
+
onLoad,
|
|
154
|
+
loadAreasFromNetwork: activeAreasNetwork,
|
|
155
|
+
loadCookiesFromNetwork: activeCookiesFromNetwork,
|
|
156
|
+
onSelectLayout: (modId) => {
|
|
157
|
+
console.log("onSelectLayout", modId);
|
|
158
|
+
},
|
|
159
|
+
children: /* @__PURE__ */ jsx(ResponsiveContainerProvider, { observedDivRef, children })
|
|
160
|
+
}
|
|
161
|
+
)
|
|
162
|
+
}
|
|
163
|
+
) }) }) }) }) }) }) });
|
|
164
|
+
}
|
|
165
|
+
export {
|
|
166
|
+
MFIsolationApp as M
|
|
167
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MFIsolationApp } from './MFIsolationApp';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MFAuthApp } from './MFAuthApp';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseModuleProps } from '../BaseModule';
|
|
2
|
+
export declare type MFIsolationAppProps = BaseModuleProps & {
|
|
3
|
+
user: string;
|
|
4
|
+
pwd: string;
|
|
5
|
+
host_api_local: string;
|
|
6
|
+
database?: string;
|
|
7
|
+
host_api_remote: string;
|
|
8
|
+
host_static_assets: string;
|
|
9
|
+
environment_assets: string;
|
|
10
|
+
onLoad: () => void;
|
|
11
|
+
activeAreasNetwork?: boolean;
|
|
12
|
+
activeCookiesFromNetwork?: boolean;
|
|
13
|
+
observedDivRef: Element | Text | null;
|
|
14
|
+
};
|
|
@@ -12,8 +12,8 @@ import debounce from "lodash/debounce";
|
|
|
12
12
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
13
13
|
import { unstable_composeClasses } from "@mui/base";
|
|
14
14
|
import { L as LinearProgress } from "../mui_extended/LinearProgress/index.4092bb69.js";
|
|
15
|
-
import { L as LoadingError } from "../LoadingError/index.
|
|
16
|
-
import { M as MFLoaderRoot } from "../../styles/index.
|
|
15
|
+
import { L as LoadingError } from "../LoadingError/index.81979bb3.js";
|
|
16
|
+
import { M as MFLoaderRoot } from "../../styles/index.7868464e.js";
|
|
17
17
|
const componentName = "M4LMFLoader";
|
|
18
18
|
const mfLoaderClasses = generateUtilityClasses(componentName, [
|
|
19
19
|
"root",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useTheme, Dialog, Paper } from "@mui/material";
|
|
3
3
|
import { c as cjs } from "../../react-draggable.1c1ba224.js";
|
|
4
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
5
|
-
import { R as ResizeableWindow } from "../Resizeable/index.
|
|
4
|
+
import { u as useModal } from "../../hooks/useModal/index.538e8219.js";
|
|
5
|
+
import { R as ResizeableWindow } from "../Resizeable/index.305dae8c.js";
|
|
6
6
|
import { useIsMobile } from "@m4l/graphics";
|
|
7
7
|
import { m as modalUtilityClasses } from "../modal/index.81eb6def.js";
|
|
8
8
|
import { useState, useEffect } from "react";
|
|
9
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
9
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.84b8fd47.js";
|
|
10
10
|
const DragabblePaperComponent = (props) => {
|
|
11
11
|
return /* @__PURE__ */ jsx(cjs.exports, { handle: ".m4l_draggable_handle", cancel: '[class*="MuiDialogContent-root"]', children: /* @__PURE__ */ jsx(Paper, { sx: { maxHeight: "unset", maxWidth: "unset" }, ...props }) });
|
|
12
12
|
};
|
|
@@ -2,9 +2,9 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { NavLink as NavLink$1 } from "react-router-dom";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { N as NavLinkRoot } from "../../styles/index.
|
|
5
|
+
import { N as NavLinkRoot } from "../../styles/index.7868464e.js";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
7
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
7
|
+
import { T as Typography } from "../mui_extended/Typography/index.8a0f958b.js";
|
|
8
8
|
const componentName = "M4LNavLink";
|
|
9
9
|
generateUtilityClasses(componentName, [
|
|
10
10
|
"root"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
3
|
-
import { n as WrapperNoItemSelected, o as Label, p as Img, q as WrapperSKTNoItemSelected } from "../../styles/index.
|
|
3
|
+
import { n as WrapperNoItemSelected, o as Label, p as Img, q as WrapperSKTNoItemSelected } from "../../styles/index.7868464e.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,20 +1,20 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect, useCallback, useMemo } from "react";
|
|
3
3
|
import { useNetwork, useModuleDictionary, useEnvironment, usePaginate } from "@m4l/core";
|
|
4
|
-
import { r as Container, s as Actions, t as GridWrapper } from "../../styles/index.
|
|
5
|
-
import { D as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.
|
|
4
|
+
import { r as Container, s as Actions, t as GridWrapper } from "../../styles/index.7868464e.js";
|
|
5
|
+
import { D as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.9aa088f6.js";
|
|
6
6
|
import { D as DateFormatter } from "../formatters/DateFormatter/index.2ef6f261.js";
|
|
7
7
|
import { Tooltip, IconButton } from "@mui/material";
|
|
8
8
|
import { useHostTheme, useResponsiveDesktop } from "@m4l/graphics";
|
|
9
9
|
import { R as ReactJson } from "../../react-json-view.57125fcf.js";
|
|
10
|
-
import { S as ScrollBar } from "../ScrollBar/index.
|
|
11
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
12
|
-
import { I as Icon } from "../Icon/index.
|
|
13
|
-
import { S as Stack } from "../mui_extended/Stack/index.
|
|
14
|
-
import { W as WindowBase } from "../modal/WindowBase.
|
|
15
|
-
import { D as DynamicFilter } from "../DynamicFilter/index.
|
|
10
|
+
import { S as ScrollBar } from "../ScrollBar/index.9c677335.js";
|
|
11
|
+
import { u as useModal } from "../../hooks/useModal/index.538e8219.js";
|
|
12
|
+
import { I as Icon } from "../Icon/index.e06c693f.js";
|
|
13
|
+
import { S as Stack } from "../mui_extended/Stack/index.e64a379b.js";
|
|
14
|
+
import { W as WindowBase } from "../modal/WindowBase.af49e2e8.js";
|
|
15
|
+
import { D as DynamicFilter } from "../DynamicFilter/index.e737845f.js";
|
|
16
16
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
17
|
-
import { a as getDynamicFilterComponentsDictionary } from "../DynamicFilter/dictionary.
|
|
17
|
+
import { a as getDynamicFilterComponentsDictionary } from "../DynamicFilter/dictionary.e9ad0f7c.js";
|
|
18
18
|
function DetailDialog(props) {
|
|
19
19
|
const { log_id } = props;
|
|
20
20
|
const { networkOperation } = useNetwork();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { P as PDFVeiwerRoot } from "../../styles/index.
|
|
2
|
+
import { P as PDFVeiwerRoot } from "../../styles/index.7868464e.js";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { B as Button } from "../mui_extended/Button/index.
|
|
5
|
+
import { B as Button } from "../mui_extended/Button/index.a391ee9f.js";
|
|
6
6
|
const componentName = "M4LPDFViewer";
|
|
7
7
|
generateUtilityClasses(componentName, [
|
|
8
8
|
"root",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useBase, BaseProvider, useModuleSkeleton } from "@m4l/core";
|
|
3
|
-
import { c as classes, g as getSize, F as FactoryRender } from "../PrintingSystem/index.
|
|
3
|
+
import { c as classes, g as getSize, F as FactoryRender } from "../PrintingSystem/index.7aed44a2.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import React__default from "react";
|
|
6
6
|
import { Helmet } from "react-helmet-async";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { u as HeaderContainer, v as IconTitleContainer, w as IconHeader, S as SkTPaperFormHeader, x as PaperFormRoot, y as Content } from "../../styles/index.
|
|
2
|
+
import { u as HeaderContainer, v as IconTitleContainer, w as IconHeader, S as SkTPaperFormHeader, x as PaperFormRoot, y as Content } from "../../styles/index.7868464e.js";
|
|
3
3
|
import { useModuleSkeleton } from "@m4l/core";
|
|
4
4
|
import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
|
-
import { I as Icon } from "../Icon/index.
|
|
5
|
+
import { I as Icon } from "../Icon/index.e06c693f.js";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
const Header = (props) => {
|
|
8
8
|
const { urlIcon, title, classes } = props;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
3
|
-
import { z as ContainerPeriod } from "../../styles/index.
|
|
3
|
+
import { z as ContainerPeriod } from "../../styles/index.7868464e.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass, Skeleton, Autocomplete, TextField } from "@mui/material";
|
|
5
5
|
import { useState, useMemo } from "react";
|
|
6
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
6
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.84b8fd47.js";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
9
9
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
10
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
11
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
10
|
+
import { T as Typography } from "../mui_extended/Typography/index.8a0f958b.js";
|
|
11
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.97e91dae.js";
|
|
12
12
|
var ETimePeriods = /* @__PURE__ */ ((ETimePeriods2) => {
|
|
13
13
|
ETimePeriods2[ETimePeriods2["YEARS"] = 0] = "YEARS";
|
|
14
14
|
ETimePeriods2[ETimePeriods2["MONTHS"] = 1] = "MONTHS";
|
|
@@ -2,20 +2,20 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { generateUtilityClasses } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
4
|
import { g as getComponentUtilityClass } from "../../utils/index.14912462.js";
|
|
5
|
-
import { B as PrintingSystemRoot } from "../../styles/index.
|
|
5
|
+
import { B as PrintingSystemRoot } from "../../styles/index.7868464e.js";
|
|
6
6
|
import clsx from "clsx";
|
|
7
|
-
import { D as DividerNode } from "./subcomponents/DividerNode/index.
|
|
8
|
-
import { S as SectionNode } from "./subcomponents/SectionNode/index.
|
|
9
|
-
import { T as TextBoxNode } from "./subcomponents/TextBoxNode/index.
|
|
10
|
-
import { H as HeaderNode } from "./subcomponents/HeaderNode/index.
|
|
11
|
-
import { a as ImageNode, Q as QRImageNode } from "../Image/index.
|
|
12
|
-
import { B as BodyNode } from "./subcomponents/BodyNode/index.
|
|
13
|
-
import { F as FooterNode } from "./subcomponents/FooterNode/index.
|
|
14
|
-
import { P as PaperNode } from "./subcomponents/PaperNode/index.
|
|
15
|
-
import { P as PropertyValueNode } from "./subcomponents/PropertyValueNode/index.
|
|
16
|
-
import { G as GridNode } from "./subcomponents/GridNode/index.
|
|
17
|
-
import { C as ChartNode } from "./subcomponents/ChartNode/index.
|
|
18
|
-
import { P as PagerNode, a as PageRender } from "../Page/index.
|
|
7
|
+
import { D as DividerNode } from "./subcomponents/DividerNode/index.f9343c1f.js";
|
|
8
|
+
import { S as SectionNode } from "./subcomponents/SectionNode/index.21b9d770.js";
|
|
9
|
+
import { T as TextBoxNode } from "./subcomponents/TextBoxNode/index.03e73c9d.js";
|
|
10
|
+
import { H as HeaderNode } from "./subcomponents/HeaderNode/index.715f4e49.js";
|
|
11
|
+
import { a as ImageNode, Q as QRImageNode } from "../Image/index.8a3d05d3.js";
|
|
12
|
+
import { B as BodyNode } from "./subcomponents/BodyNode/index.3e82f72e.js";
|
|
13
|
+
import { F as FooterNode } from "./subcomponents/FooterNode/index.1cdf54cf.js";
|
|
14
|
+
import { P as PaperNode } from "./subcomponents/PaperNode/index.92df744d.js";
|
|
15
|
+
import { P as PropertyValueNode } from "./subcomponents/PropertyValueNode/index.4316a07a.js";
|
|
16
|
+
import { G as GridNode } from "./subcomponents/GridNode/index.32a2e08a.js";
|
|
17
|
+
import { C as ChartNode } from "./subcomponents/ChartNode/index.8d4e4894.js";
|
|
18
|
+
import { P as PagerNode, a as PageRender } from "../Page/index.fa45b3d5.js";
|
|
19
19
|
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
20
20
|
import { forwardRef, useRef, useImperativeHandle } from "react";
|
|
21
21
|
import { useTheme } from "@mui/material/styles";
|
package/components/PrintingSystem/subcomponents/BodyNode/{index.0b481469.js → index.3e82f72e.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useBase } from "@m4l/core";
|
|
3
|
-
import { c as classes, g as getSize } from "../../index.
|
|
3
|
+
import { c as classes, g as getSize } from "../../index.7aed44a2.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
const BodyNode = (props) => {
|
|
6
6
|
const {
|
package/components/PrintingSystem/subcomponents/ChartNode/{index.6d961379.js → index.8d4e4894.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c as classes } from "../../index.
|
|
2
|
+
import { c as classes } from "../../index.7aed44a2.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { createRef, useEffect } from "react";
|
|
5
5
|
import { Chart, registerables } from "chart.js";
|
package/components/PrintingSystem/subcomponents/DividerNode/{index.9f5fccbf.js → index.f9343c1f.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c as classes } from "../../index.
|
|
2
|
+
import { c as classes } from "../../index.7aed44a2.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
const DividerNode = (props) => {
|
|
5
5
|
const { direction = "vertical", className = "", style = {} } = props;
|
package/components/PrintingSystem/subcomponents/FooterNode/{index.9cb21de9.js → index.1cdf54cf.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useBase } from "@m4l/core";
|
|
3
|
-
import { c as classes, g as getSize } from "../../index.
|
|
3
|
+
import { c as classes, g as getSize } from "../../index.7aed44a2.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
const FooterNode = (props) => {
|
|
6
6
|
const {
|
package/components/PrintingSystem/subcomponents/GridNode/{index.2e8b0108.js → index.32a2e08a.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useBase, getPropertyByString, evaluateWithContext } from "@m4l/core";
|
|
3
|
-
import { c as classes, g as getSize } from "../../index.
|
|
3
|
+
import { c as classes, g as getSize } from "../../index.7aed44a2.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
const GridNode = (props) => {
|
|
6
6
|
const { style = {}, className = "", rows, columns } = props;
|
package/components/PrintingSystem/subcomponents/HeaderNode/{index.683901c4.js → index.715f4e49.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useBase } from "@m4l/core";
|
|
3
|
-
import { c as classes, g as getSize } from "../../index.
|
|
3
|
+
import { c as classes, g as getSize } from "../../index.7aed44a2.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
const HeaderNode = (props) => {
|
|
6
6
|
const {
|
package/components/PrintingSystem/subcomponents/PaperNode/{index.c666cc89.js → index.92df744d.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
3
|
-
import { c as classes } from "../../index.
|
|
3
|
+
import { c as classes } from "../../index.7aed44a2.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
const PaperNode = (props) => {
|
|
6
6
|
const { children, style = {}, className = "", title, titleSecondary } = props;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
3
|
-
import { c as classes, g as getSize } from "../../index.
|
|
3
|
+
import { c as classes, g as getSize } from "../../index.7aed44a2.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
const PropertyValueNode = (props) => {
|
|
6
6
|
const {
|
package/components/PrintingSystem/subcomponents/SectionNode/{index.4107bf33.js → index.21b9d770.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useBase } from "@m4l/core";
|
|
3
|
-
import { c as classes, g as getSize } from "../../index.
|
|
3
|
+
import { c as classes, g as getSize } from "../../index.7aed44a2.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
const SectionNode = (props) => {
|
|
6
6
|
const {
|
package/components/PrintingSystem/subcomponents/TextBoxNode/{index.ebece5ce.js → index.03e73c9d.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
3
|
-
import { c as classes } from "../../index.
|
|
3
|
+
import { c as classes } from "../../index.7aed44a2.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
const TextBoxNode = (props) => {
|
|
6
6
|
const { variant = "body", style, className, textAlign = "start", children } = props;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { E as PropertyValueRoot } from "../../styles/index.
|
|
2
|
+
import { E as PropertyValueRoot } from "../../styles/index.7868464e.js";
|
|
3
3
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
@@ -7,8 +7,8 @@ import clsx from "clsx";
|
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
import { g as getNameDataTestId } from "../../test/getNameDataTestId.0faeade8.js";
|
|
9
9
|
import { useState } from "react";
|
|
10
|
-
import { F as FieldLabel } from "../FieldLabel/index.
|
|
11
|
-
import { I as Icon } from "../Icon/index.
|
|
10
|
+
import { F as FieldLabel } from "../FieldLabel/index.a6235bcc.js";
|
|
11
|
+
import { I as Icon } from "../Icon/index.e06c693f.js";
|
|
12
12
|
const componentName = "M4LPropertyValue";
|
|
13
13
|
generateUtilityClasses(
|
|
14
14
|
componentName,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { J as WrapperResizeable } from "../../styles/index.
|
|
2
|
+
import { J as WrapperResizeable } from "../../styles/index.7868464e.js";
|
|
3
3
|
function ResizeableWindow(props) {
|
|
4
4
|
const { children, width = 600, height = 400, maxHeigth, onResize, maxWidth, ...other } = props;
|
|
5
5
|
return /* @__PURE__ */ jsx(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses, generateUtilityClass, Box } from "@mui/material";
|
|
3
|
-
import { R as RootStyle, K as SimpleBarStyle } from "../../styles/index.
|
|
3
|
+
import { R as RootStyle, K as SimpleBarStyle } from "../../styles/index.7868464e.js";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
const componentName = "M4LScrollBar";
|
|
6
6
|
generateUtilityClasses(componentName, [
|