@m4l/components 0.2.26 → 0.2.28
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.e31fc908.js → index.7b7f3962.js} +1 -1
- package/components/AppBar/{index.4945897e.js → index.cb2f1763.js} +2 -2
- package/components/CommonActions/components/ActionCancel/{index.33a748be.js → index.e03455db.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.9a965204.js → index.9120552e.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.7add0125.js → index.48e7d28a.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.ac7cd0ee.js → index.5ba2ef5f.js} +2 -2
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.f731d23f.js → index.ce8c7b9c.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.ad82747c.js → index.3a1ae54f.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.64854fdd.js → index.de32e830.js} +1 -1
- package/components/DataGrid/{index.1c695ed3.js → index.690184a8.js} +3 -3
- package/components/DataGrid/subcomponents/Actions/{index.4a402633.js → index.339ccf42.js} +10 -10
- package/components/DragResizeWindow/{index.f84451f8.js → index.be2fc1e0.js} +1 -1
- package/components/DynamicFilter/{index.22ba3195.js → index.ad2460cf.js} +12 -10
- package/components/FieldLabel/{index.1da2a28d.js → index.61d55577.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.0fd1b7f8.js → index.d2ec9ddb.js} +1 -0
- package/components/HamburgerMenu/{index.1663edef.js → index.9f99b7c1.js} +2 -2
- package/components/Icon/{index.8c744412.js → index.1976cb37.js} +8 -48
- package/components/Icon/types.d.ts +0 -5
- package/components/Image/classes/index.d.ts +7 -0
- package/components/Image/{utils/classes → classes}/types.d.ts +0 -5
- package/components/Image/index.fd6f2c5f.js +203 -0
- package/components/Image/tests/utils.d.ts +1 -1
- package/components/Image/types.d.ts +3 -43
- package/components/LanguagePopover/{index.80896e49.js → index.f90fd1dc.js} +2 -3
- package/components/LoadingError/{index.9c64680a.js → index.2aa5daba.js} +2 -2
- package/components/MFLoader/{index.7cd7c372.js → index.1e56a845.js} +1 -1
- package/components/ModalDialog/{index.ce0f4d16.js → index.86de725b.js} +2 -2
- package/components/NoItemSelected/{index.ffba558b.js → index.16ff4e09.js} +1 -1
- package/components/ObjectLogs/{index.dd6a5009.js → index.d200ba38.js} +5 -5
- package/components/PDFViewer/{index.093ddd35.js → index.3bffbae3.js} +1 -1
- package/components/Page/{index.1b20a73e.js → index.026d463c.js} +1 -1
- package/components/PaperForm/{index.42e78a24.js → index.fe630839.js} +1 -1
- package/components/Period/{index.6e8d92dc.js → index.b6fa6ce6.js} +2 -2
- package/components/PrintingSystem/{index.c2d21657.js → index.02517f9c.js} +12 -12
- package/components/PrintingSystem/subcomponents/BodyNode/{index.c7b59f3f.js → index.0abc77a8.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.263f02f0.js → index.293e44cd.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.f00c44f3.js → index.3a2363d4.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.fb323704.js → index.fc1466e0.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.1ed935be.js → index.ca2cc635.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.5173c74a.js → index.5ae4e58e.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.fad64696.js → index.251d9664.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.3a3e5fd0.js → index.45054100.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.2890fc12.js → index.cfd21ea3.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.148708e6.js → index.0f22f144.js} +1 -1
- package/components/PropertyValue/{index.4ea5af0f.js → index.041a0585.js} +1 -1
- package/components/SideBar/classes/index.d.ts +1 -0
- package/components/SideBar/classes/types.d.ts +1 -0
- package/components/SideBar/{index.141dac10.js → index.3ea827ea.js} +13 -29
- package/components/SideBar/subcomponents/ContentGroups/index.d.ts +1 -1
- package/components/ToastContainer/{index.98c4873e.js → index.ee15bfce.js} +2 -2
- package/components/areas/components/AreasAdmin/{index.debe3e3d.js → index.01ea7058.js} +13 -13
- package/components/areas/components/AreasViewer/{index.82a22acb.js → index.71038f0e.js} +75 -189
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowHeaderSkeleton/index.d.ts +2 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowHeaderSkeleton/types.d.ts +3 -0
- package/components/areas/contexts/AreasContext/helper.d.ts +2 -2
- package/components/areas/contexts/AreasContext/{index.0dc69929.js → index.cc89c1a7.js} +5 -5
- package/components/areas/hooks/useAreas/{index.ca15a4b6.js → index.32c7a909.js} +1 -1
- package/components/commercial/TopBar/{index.32a332c4.js → index.6493e8ab.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.0703a256.js → index.477c6419.js} +2 -2
- package/components/formatters/{index.94be7098.js → index.ac0a547b.js} +1 -1
- package/components/hook-form/RHFAutocomplete/classes/types.d.ts +1 -0
- package/components/hook-form/RHFAutocomplete/{index.993794f8.js → index.24e4387c.js} +22 -15
- package/components/hook-form/RHFAutocomplete/types.d.ts +2 -1
- package/components/hook-form/RHFAutocompleteAsync/{index.924c6473.js → index.0cc78417.js} +1 -1
- package/components/hook-form/RHFCheckbox/classes/types.d.ts +2 -0
- package/components/hook-form/RHFCheckbox/{index.f1fd5789.js → index.22648b5a.js} +20 -3
- package/components/hook-form/RHFCheckbox/types.d.ts +2 -0
- package/components/hook-form/RHFColorPicker/classes/types.d.ts +2 -0
- package/components/hook-form/RHFColorPicker/{index.60b50052.js → index.d02de5ee.js} +24 -6
- package/components/hook-form/RHFColorPicker/types.d.ts +2 -0
- package/components/hook-form/RHFDateTime/classes/types.d.ts +1 -0
- package/components/hook-form/RHFDateTime/{index.2396ea4a.js → index.f02f1122.js} +19 -12
- package/components/hook-form/RHFDateTime/types.d.ts +2 -1
- package/components/hook-form/RHFPeriod/classes/index.d.ts +2 -1
- package/components/hook-form/RHFPeriod/classes/types.d.ts +2 -0
- package/components/hook-form/RHFPeriod/index.5ca467ac.js +112 -0
- package/components/hook-form/RHFPeriod/types.d.ts +4 -0
- package/components/hook-form/RHFTextField/classes/types.d.ts +1 -0
- package/components/hook-form/RHFTextField/{index.fb0d1cac.js → index.81c4b52b.js} +21 -15
- package/components/hook-form/RHFTextField/types.d.ts +2 -1
- package/components/hook-form/RHFUpload/{index.e5f734b8.js → index.f6c5027f.js} +2 -2
- package/components/modal/{WindowBase.dd1d2d7b.js → WindowBase.f38260ec.js} +3 -3
- package/components/modal/{WindowConfirm.4501497a.js → WindowConfirm.67ee36e9.js} +6 -6
- package/components/mui_extended/Accordion/{index.4393eca9.js → index.a55875a5.js} +2 -2
- package/components/mui_extended/Button/{index.93389adb.js → index.c6befaeb.js} +3 -7
- package/components/mui_extended/{CheckBox.840a443f.js → CheckBox.d676424c.js} +1 -1
- package/components/mui_extended/IconButton/classes/types.d.ts +0 -1
- package/components/mui_extended/IconButton/{index.383f5496.js → index.63a9d74c.js} +2 -5
- package/components/mui_extended/IconButton/types.d.ts +1 -1
- package/components/mui_extended/ImageButton/ImageButton.d.ts +1 -1
- package/components/mui_extended/MenuActions/{index.e6e3aac8.js → index.bca14ad9.js} +2 -2
- package/components/mui_extended/Pager/{index.5791276c.js → index.a024f67b.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.4ac1f974.js → index.3f8bcf51.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.8ca0114f.js → index.04375093.js} +1 -1
- package/contexts/ModalContext/{index.dde4e35a.js → index.e748f329.js} +1 -1
- package/hooks/index.d.ts +1 -0
- package/hooks/useFormAddEdit/{index.7fdad61d.js → index.649004a5.js} +2 -2
- package/hooks/useFormFocus/index.d.ts +7 -0
- package/hooks/useFormFocus/types.d.ts +8 -0
- package/hooks/useModal/{index.2f1d6a07.js → index.66a0c82e.js} +1 -1
- package/index.js +78 -77
- package/{node_modules.585eab0e.js → node_modules.4d80a09c.js} +1 -1
- package/package.json +1 -1
- package/{vendor.173d0b89.js → vendor.aa97e825.js} +79 -60
- package/components/Image/index.39b3b9d9.js +0 -387
- package/components/Image/subcomponents/BasicIntersectComponent/index.d.ts +0 -3
- package/components/Image/subcomponents/LazyLoadComponent/index.d.ts +0 -7
- package/components/Image/subcomponents/Skeleton/index.d.ts +0 -2
- package/components/Image/subcomponents/Skeleton/types.d.ts +0 -6
- package/components/Image/utils/classes/index.d.ts +0 -12
- package/components/Image/utils/isIntersectionObserverAvailable.d.ts +0 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/skeleton.d.ts +0 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/index.d.ts +0 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/types.d.ts +0 -2
- package/components/hook-form/RHFPeriod/index.011965ef.js +0 -90
- package/components/CommonActions/components/Actions/{index.389f9b28.js → index.16946bfd.js} +11 -11
- /package/components/Image/{utils/classes → classes}/constant.d.ts +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useState, useEffect } from "react";
|
|
2
2
|
import { styled, generateUtilityClasses, generateUtilityClass, Stack, MenuItem } from "@mui/material";
|
|
3
|
-
import { I as Image } from "../Image/index.
|
|
3
|
+
import { I as Image } from "../Image/index.fd6f2c5f.js";
|
|
4
4
|
import { useLocales } from "@m4l/graphics";
|
|
5
|
-
import { I as ImageButton } from "../mui_extended/Button/index.
|
|
5
|
+
import { I as ImageButton } from "../mui_extended/Button/index.c6befaeb.js";
|
|
6
6
|
import { useEnvironment, useNetwork } from "@m4l/core";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
@@ -128,7 +128,6 @@ function LanguagePopover(props) {
|
|
|
128
128
|
alt: currentLocale?.name,
|
|
129
129
|
width: "24px",
|
|
130
130
|
height: "24px",
|
|
131
|
-
skeletonVariant: "circle",
|
|
132
131
|
...process.env.NODE_ENV !== "production" ? {
|
|
133
132
|
[TEST_PROP_ID]: getNameDataTestId("imageButton")
|
|
134
133
|
} : {}
|
|
@@ -4,9 +4,9 @@ import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/mater
|
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { L as LinearProgressIndeterminate } from "../LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
7
|
-
import { I as Icon } from "../Icon/index.
|
|
7
|
+
import { I as Icon } from "../Icon/index.1976cb37.js";
|
|
8
8
|
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
9
|
-
import { B as Button } from "../mui_extended/Button/index.
|
|
9
|
+
import { B as Button } from "../mui_extended/Button/index.c6befaeb.js";
|
|
10
10
|
const componentName = "M4LoadingError";
|
|
11
11
|
generateUtilityClasses(componentName, [
|
|
12
12
|
"root",
|
|
@@ -12,7 +12,7 @@ import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/mater
|
|
|
12
12
|
import { unstable_composeClasses } from "@mui/base";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { L as LinearProgress } from "../mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
15
|
-
import { L as LoadingError } from "../LoadingError/index.
|
|
15
|
+
import { L as LoadingError } from "../LoadingError/index.2aa5daba.js";
|
|
16
16
|
const componentName = "M4LMFLoader";
|
|
17
17
|
const mfLoaderClasses = generateUtilityClasses(componentName, [
|
|
18
18
|
"root",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useTheme, Dialog, Paper } from "@mui/material";
|
|
2
2
|
import { c as cjs } from "../../react-draggable.ee21cb7e.js";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.66a0c82e.js";
|
|
4
4
|
import { R as ResizeableWindow } from "../Resizeable/index.8db8f77d.js";
|
|
5
5
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
6
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.16946bfd.js";
|
|
9
9
|
const DragabblePaperComponent = (props) => {
|
|
10
10
|
return /* @__PURE__ */ jsx(cjs.exports, {
|
|
11
11
|
handle: ".m4l_draggable_handle",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
2
2
|
import { styled, generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
|
|
3
|
-
import { I as Image } from "../Image/index.
|
|
3
|
+
import { I as Image } from "../Image/index.fd6f2c5f.js";
|
|
4
4
|
import { useMemo } from "react";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback, useMemo } from "react";
|
|
2
2
|
import { useNetwork, useModuleDictionary, useEnvironment, usePaginate } from "@m4l/core";
|
|
3
3
|
import { styled, Tooltip, IconButton } from "@mui/material";
|
|
4
|
-
import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.
|
|
4
|
+
import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.690184a8.js";
|
|
5
5
|
import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
|
|
6
6
|
import { useHostTheme, useResponsiveDesktop } from "@m4l/graphics";
|
|
7
7
|
import { R as ReactJson } from "../../react-json-view.5636414a.js";
|
|
8
8
|
import { S as ScrollBar } from "../ScrollBar/index.7dfc2f29.js";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
11
|
-
import { I as Icon } from "../Icon/index.
|
|
10
|
+
import { u as useModal } from "../../hooks/useModal/index.66a0c82e.js";
|
|
11
|
+
import { I as Icon } from "../Icon/index.1976cb37.js";
|
|
12
12
|
import { S as Stack } from "../mui_extended/Stack/index.0e53197c.js";
|
|
13
|
-
import { W as WindowBase } from "../modal/WindowBase.
|
|
14
|
-
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.
|
|
13
|
+
import { W as WindowBase } from "../modal/WindowBase.f38260ec.js";
|
|
14
|
+
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.ad2460cf.js";
|
|
15
15
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
16
16
|
const Container = styled("div")(() => ({
|
|
17
17
|
height: "100%",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
2
|
import { unstable_composeClasses } from "@mui/base";
|
|
3
3
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
|
-
import { B as Button } from "../mui_extended/Button/index.
|
|
4
|
+
import { B as Button } from "../mui_extended/Button/index.c6befaeb.js";
|
|
5
5
|
const PDFVeiwerRoot = styled("div")(({ theme }) => ({
|
|
6
6
|
...theme.components?.M4LPDFViewer?.styleOverrides
|
|
7
7
|
}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase, BaseProvider, useModuleSkeleton } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize, F as FactoryRender } from "../PrintingSystem/index.
|
|
2
|
+
import { c as classes, g as getSize, F as FactoryRender } from "../PrintingSystem/index.02517f9c.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
5
5
|
import React__default from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { styled, Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
|
-
import { I as Icon } from "../Icon/index.
|
|
3
|
+
import { I as Icon } from "../Icon/index.1976cb37.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
const PaperFormRoot = styled("div")(({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, generateUtilityClasses, generateUtilityClass, Skeleton, Autocomplete, TextField } from "@mui/material";
|
|
3
3
|
import { useState, useMemo } from "react";
|
|
4
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
4
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.16946bfd.js";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
8
8
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
9
9
|
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
10
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
10
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.63a9d74c.js";
|
|
11
11
|
const ContainerPeriod = styled("div")(({
|
|
12
12
|
theme
|
|
13
13
|
}) => ({
|
|
@@ -2,18 +2,18 @@ import { generateUtilityClasses, styled } from "@mui/material";
|
|
|
2
2
|
import { unstable_composeClasses } from "@mui/base";
|
|
3
3
|
import { g as getComponentUtilityClass } from "../../utils/index.de903261.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { D as DividerNode } from "./subcomponents/DividerNode/index.
|
|
6
|
-
import { S as SectionNode } from "./subcomponents/SectionNode/index.
|
|
7
|
-
import { T as TextBoxNode } from "./subcomponents/TextBoxNode/index.
|
|
8
|
-
import { H as HeaderNode } from "./subcomponents/HeaderNode/index.
|
|
9
|
-
import { a as ImageNode, Q as QRImageNode } from "../Image/index.
|
|
10
|
-
import { B as BodyNode } from "./subcomponents/BodyNode/index.
|
|
11
|
-
import { F as FooterNode } from "./subcomponents/FooterNode/index.
|
|
12
|
-
import { P as PaperNode } from "./subcomponents/PaperNode/index.
|
|
13
|
-
import { P as PropertyValueNode } from "./subcomponents/PropertyValueNode/index.
|
|
14
|
-
import { G as GridNode } from "./subcomponents/GridNode/index.
|
|
15
|
-
import { C as ChartNode } from "./subcomponents/ChartNode/index.
|
|
16
|
-
import { P as PagerNode, a as PageRender } from "../Page/index.
|
|
5
|
+
import { D as DividerNode } from "./subcomponents/DividerNode/index.3a2363d4.js";
|
|
6
|
+
import { S as SectionNode } from "./subcomponents/SectionNode/index.cfd21ea3.js";
|
|
7
|
+
import { T as TextBoxNode } from "./subcomponents/TextBoxNode/index.0f22f144.js";
|
|
8
|
+
import { H as HeaderNode } from "./subcomponents/HeaderNode/index.5ae4e58e.js";
|
|
9
|
+
import { a as ImageNode, Q as QRImageNode } from "../Image/index.fd6f2c5f.js";
|
|
10
|
+
import { B as BodyNode } from "./subcomponents/BodyNode/index.0abc77a8.js";
|
|
11
|
+
import { F as FooterNode } from "./subcomponents/FooterNode/index.fc1466e0.js";
|
|
12
|
+
import { P as PaperNode } from "./subcomponents/PaperNode/index.251d9664.js";
|
|
13
|
+
import { P as PropertyValueNode } from "./subcomponents/PropertyValueNode/index.45054100.js";
|
|
14
|
+
import { G as GridNode } from "./subcomponents/GridNode/index.ca2cc635.js";
|
|
15
|
+
import { C as ChartNode } from "./subcomponents/ChartNode/index.293e44cd.js";
|
|
16
|
+
import { P as PagerNode, a as PageRender } from "../Page/index.026d463c.js";
|
|
17
17
|
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
18
18
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
19
19
|
import { forwardRef, useRef, useImperativeHandle } from "react";
|
package/components/PrintingSystem/subcomponents/BodyNode/{index.c7b59f3f.js → index.0abc77a8.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.02517f9c.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const BodyNode = (props) => {
|
package/components/PrintingSystem/subcomponents/FooterNode/{index.fb323704.js → index.fc1466e0.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.02517f9c.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const FooterNode = (props) => {
|
package/components/PrintingSystem/subcomponents/GridNode/{index.1ed935be.js → index.ca2cc635.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase, getPropertyByString, evaluateWithContext } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.02517f9c.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
const GridNode = (props) => {
|
package/components/PrintingSystem/subcomponents/HeaderNode/{index.5173c74a.js → index.5ae4e58e.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.02517f9c.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const HeaderNode = (props) => {
|
package/components/PrintingSystem/subcomponents/PaperNode/{index.fad64696.js → index.251d9664.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
2
|
-
import { c as classes } from "../../index.
|
|
2
|
+
import { c as classes } from "../../index.02517f9c.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
const PaperNode = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.02517f9c.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
const PropertyValueNode = (props) => {
|
package/components/PrintingSystem/subcomponents/SectionNode/{index.2890fc12.js → index.cfd21ea3.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.02517f9c.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const SectionNode = (props) => {
|
package/components/PrintingSystem/subcomponents/TextBoxNode/{index.148708e6.js → index.0f22f144.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
2
|
-
import { c as classes } from "../../index.
|
|
2
|
+
import { c as classes } from "../../index.02517f9c.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const TextBoxNode = (props) => {
|
|
@@ -6,7 +6,7 @@ import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
|
6
6
|
import { g as getNameDataTestId } from "../../test/getNameDataTestId.14875ec7.js";
|
|
7
7
|
import { useState } from "react";
|
|
8
8
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
9
|
-
import { I as Icon } from "../Icon/index.
|
|
9
|
+
import { I as Icon } from "../Icon/index.1976cb37.js";
|
|
10
10
|
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
11
11
|
const PropertyValueRoot = styled("div")(({
|
|
12
12
|
theme
|
|
@@ -16,6 +16,7 @@ export declare const getSideBarClassesByState: (ownerState: SideBarState) => {
|
|
|
16
16
|
contentGroups: string;
|
|
17
17
|
wrapperGroup: string;
|
|
18
18
|
wrapperGroupTitle: string;
|
|
19
|
+
itemListMainRootContainer: string;
|
|
19
20
|
itemListMainRoot: string;
|
|
20
21
|
containerListSubItem: string;
|
|
21
22
|
navItemMainRoot: string;
|
|
@@ -7,12 +7,12 @@ import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
|
7
7
|
import { styled as styled$1, alpha } from "@mui/material/styles";
|
|
8
8
|
import { useEnvironment, useBase, BaseProvider } from "@m4l/core";
|
|
9
9
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
10
|
-
import { I as Icon, A as ArrowIcon } from "../Icon/index.
|
|
10
|
+
import { I as Icon, A as ArrowIcon } from "../Icon/index.1976cb37.js";
|
|
11
11
|
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
12
12
|
import clsx from "clsx";
|
|
13
13
|
import { useLocation } from "react-router-dom";
|
|
14
|
-
import { I as Image } from "../Image/index.
|
|
15
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
14
|
+
import { I as Image } from "../Image/index.fd6f2c5f.js";
|
|
15
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.63a9d74c.js";
|
|
16
16
|
import { useResponsive } from "@m4l/styles";
|
|
17
17
|
const SideBarRoot = styled("div")(({
|
|
18
18
|
theme
|
|
@@ -28,21 +28,6 @@ styled("div", {
|
|
|
28
28
|
alignItems: props.collapsed ? "center" : "normal",
|
|
29
29
|
padding: props.theme.spacing(3, 2.5, 2, 2.5)
|
|
30
30
|
}));
|
|
31
|
-
const WrapperSideBar = styled("div", {
|
|
32
|
-
shouldForwardProp: (props) => props !== "width" && props !== "visible"
|
|
33
|
-
})(({
|
|
34
|
-
visible,
|
|
35
|
-
theme
|
|
36
|
-
}) => ({
|
|
37
|
-
transition: theme.transitions.create("width", {
|
|
38
|
-
duration: theme.transitions.duration.shorter
|
|
39
|
-
}),
|
|
40
|
-
opacity: 1,
|
|
41
|
-
...!visible && {
|
|
42
|
-
width: 0,
|
|
43
|
-
opacity: 0
|
|
44
|
-
}
|
|
45
|
-
}));
|
|
46
31
|
const componentName = "M4LSideBar";
|
|
47
32
|
generateUtilityClasses(
|
|
48
33
|
componentName,
|
|
@@ -58,6 +43,7 @@ generateUtilityClasses(
|
|
|
58
43
|
"contentGroups",
|
|
59
44
|
"wrapperGroup",
|
|
60
45
|
"wrapperGroupTitle",
|
|
46
|
+
"itemListMainRootContainer",
|
|
61
47
|
"itemListMainRoot",
|
|
62
48
|
"containerListSubItem",
|
|
63
49
|
"navItemMainRoot",
|
|
@@ -104,6 +90,7 @@ const getSideBarClassesByState = (ownerState) => {
|
|
|
104
90
|
contentGroups: ["contentGroups"],
|
|
105
91
|
wrapperGroup: ["wrapperGroup"],
|
|
106
92
|
wrapperGroupTitle: ["wrapperGroupTitle"],
|
|
93
|
+
itemListMainRootContainer: ["itemListMainRootContainer"],
|
|
107
94
|
itemListMainRoot: ["itemListMainRoot"],
|
|
108
95
|
containerListSubItem: ["containerListSubItem"],
|
|
109
96
|
navItemMainRoot: ["navItemMainRoot"],
|
|
@@ -184,7 +171,6 @@ const SideBarProvider = (props) => {
|
|
|
184
171
|
classes,
|
|
185
172
|
companyName
|
|
186
173
|
} = value;
|
|
187
|
-
console.log("status collapsed", collapsed);
|
|
188
174
|
return /* @__PURE__ */ jsx(SideBarContext.Provider, {
|
|
189
175
|
value: {
|
|
190
176
|
collapsed,
|
|
@@ -656,12 +642,7 @@ const ContentGroups = () => {
|
|
|
656
642
|
children: group.title
|
|
657
643
|
})
|
|
658
644
|
}), /* @__PURE__ */ jsx("div", {
|
|
659
|
-
|
|
660
|
-
display: "flex",
|
|
661
|
-
flexDirection: "column",
|
|
662
|
-
width: "100%",
|
|
663
|
-
height: "auto"
|
|
664
|
-
},
|
|
645
|
+
className: classes.itemListMainRootContainer,
|
|
665
646
|
children: group.children?.map((list, id) => /* @__PURE__ */ jsx(ItemListMain, {
|
|
666
647
|
list,
|
|
667
648
|
itemMainActive,
|
|
@@ -672,7 +653,12 @@ const ContentGroups = () => {
|
|
|
672
653
|
}, group.title))]
|
|
673
654
|
});
|
|
674
655
|
}
|
|
675
|
-
return
|
|
656
|
+
return /* @__PURE__ */ jsx(ContentGroupsRoot, {
|
|
657
|
+
className: classes.contentGroups,
|
|
658
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
659
|
+
[TEST_PROP_ID]: getNameDataTestId("contentGroups")
|
|
660
|
+
} : {}
|
|
661
|
+
});
|
|
676
662
|
};
|
|
677
663
|
const CollapseButtonRoot = styled("div")(() => ({
|
|
678
664
|
display: "flex"
|
|
@@ -887,7 +873,6 @@ const SideBar = (props) => {
|
|
|
887
873
|
variantStyle = "variantDefault"
|
|
888
874
|
} = props;
|
|
889
875
|
const isMobile = useResponsive("down", "md");
|
|
890
|
-
console.log("collapsed status", collapsed);
|
|
891
876
|
const ownerState = {
|
|
892
877
|
collapsed,
|
|
893
878
|
visible,
|
|
@@ -914,9 +899,8 @@ const SideBar = (props) => {
|
|
|
914
899
|
classes,
|
|
915
900
|
companyName
|
|
916
901
|
},
|
|
917
|
-
children: /* @__PURE__ */ jsx(
|
|
902
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
918
903
|
className: classes.wrapperSideBar,
|
|
919
|
-
visible,
|
|
920
904
|
style: {
|
|
921
905
|
width: collapsed ? MENU_COLLAPSED_SIZE : expandedWidth
|
|
922
906
|
},
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { styled, generateUtilityClasses } from "@mui/material";
|
|
2
|
-
import { A } from "../../node_modules.
|
|
2
|
+
import { A } from "../../node_modules.4d80a09c.js";
|
|
3
3
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { g as getComponentUtilityClass } from "../../utils/index.de903261.js";
|
|
6
6
|
import { useEnvironment } from "@m4l/core";
|
|
7
7
|
import { useMemo } from "react";
|
|
8
|
-
import { I as Icon } from "../Icon/index.
|
|
8
|
+
import { I as Icon } from "../Icon/index.1976cb37.js";
|
|
9
9
|
const ToastContainerRoot = styled("div")(({ theme }) => ({
|
|
10
10
|
...theme.components?.M4LToastContainer?.styleOverrides
|
|
11
11
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
1
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.32c7a909.js";
|
|
2
2
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { useState, useRef, useMemo } from "react";
|
|
4
4
|
import * as Yup from "yup";
|
|
@@ -12,19 +12,19 @@ import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cf
|
|
|
12
12
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
13
13
|
import { shallow } from "zustand/shallow";
|
|
14
14
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
15
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
15
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.bca14ad9.js";
|
|
16
16
|
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.7b2a8723.js";
|
|
17
|
-
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.
|
|
18
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index.
|
|
19
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.
|
|
20
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.
|
|
21
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
17
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.81c4b52b.js";
|
|
18
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.16946bfd.js";
|
|
19
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.e03455db.js";
|
|
20
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.5ba2ef5f.js";
|
|
21
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.63a9d74c.js";
|
|
22
22
|
import { P as Popover } from "../../../mui_extended/Popover/index.d85de73b.js";
|
|
23
23
|
import { T as Typography } from "../../../mui_extended/Typography/index.379dd374.js";
|
|
24
24
|
import { S as ScrollBar } from "../../../ScrollBar/index.7dfc2f29.js";
|
|
25
25
|
import TouchRipple from "@mui/material/ButtonBase/TouchRipple";
|
|
26
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
27
|
-
import { I as Icon } from "../../../Icon/index.
|
|
26
|
+
import { B as Button } from "../../../mui_extended/Button/index.c6befaeb.js";
|
|
27
|
+
import { I as Icon } from "../../../Icon/index.1976cb37.js";
|
|
28
28
|
import { u as useOnClickOutside } from "../../index.4cc6a221.js";
|
|
29
29
|
const areasAdminClasses = generateUtilityClasses(AREAS_ADMIN_CLASS_NAME, [
|
|
30
30
|
"root",
|
|
@@ -239,7 +239,7 @@ const AreaChip = (props) => {
|
|
|
239
239
|
children: [/* @__PURE__ */ jsx(IconButton, {
|
|
240
240
|
className: areasAdminClasses.areaChipEditButton,
|
|
241
241
|
src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.EDIT_AREA}`,
|
|
242
|
-
size: "
|
|
242
|
+
size: "small",
|
|
243
243
|
onClick: (e) => {
|
|
244
244
|
handlerOpenPopoverEditArea(e);
|
|
245
245
|
},
|
|
@@ -247,7 +247,7 @@ const AreaChip = (props) => {
|
|
|
247
247
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
248
248
|
className: areasAdminClasses.areaChipDeleteButton,
|
|
249
249
|
src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.DELETE_AREA}`,
|
|
250
|
-
size: "
|
|
250
|
+
size: "small",
|
|
251
251
|
onClick: (e) => {
|
|
252
252
|
onClickDeleteArea(e);
|
|
253
253
|
},
|
|
@@ -432,14 +432,14 @@ const ChipMobile = (props) => {
|
|
|
432
432
|
children: [/* @__PURE__ */ jsx(IconButton, {
|
|
433
433
|
className: areasAdminClasses.areaChipEditButton,
|
|
434
434
|
src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.EDIT_AREA}`,
|
|
435
|
-
size: "
|
|
435
|
+
size: "small",
|
|
436
436
|
onClick: (e) => {
|
|
437
437
|
handlerOpenPopoverEditArea(e);
|
|
438
438
|
}
|
|
439
439
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
440
440
|
className: areasAdminClasses.areaChipDeleteButton,
|
|
441
441
|
src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.DELETE_AREA}`,
|
|
442
|
-
size: "
|
|
442
|
+
size: "small",
|
|
443
443
|
onClick: (e) => {
|
|
444
444
|
onClickDeleteArea(e);
|
|
445
445
|
}
|