@m4l/components 0.2.28 → 0.2.30
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 +413 -413
- package/components/AccountPopover/{index.7b7f3962.js → index.69cda48b.js} +1 -1
- package/components/AppBar/{index.cb2f1763.js → index.1562b3b8.js} +2 -2
- package/components/CommonActions/components/ActionCancel/{index.e03455db.js → index.f00f026d.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.9120552e.js → index.674a0faa.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.48e7d28a.js → index.b5a5c4b4.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.5ba2ef5f.js → index.574967a0.js} +2 -2
- package/components/CommonActions/components/Actions/{index.16946bfd.js → index.23bfc86b.js} +1 -1
- package/components/DataGrid/assets/icons/datagrid.svg +4 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.ce8c7b9c.js → index.cf410875.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.3a1ae54f.js → index.00f9ed87.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.de32e830.js → index.c097ac25.js} +1 -1
- package/components/DataGrid/{index.690184a8.js → index.6bdcbf70.js} +3 -3
- package/components/DataGrid/subcomponents/Actions/{index.339ccf42.js → index.380c24dc.js} +10 -10
- package/components/DragResizeWindow/{index.be2fc1e0.js → index.6c2e763b.js} +3 -3
- package/components/DynamicFilter/contexts/DynamicFilterContext/index.d.ts +2 -6
- package/components/DynamicFilter/{index.ad2460cf.js → index.3e45fa12.js} +10 -10
- package/components/FieldLabel/{index.61d55577.js → index.75e89ace.js} +2 -2
- package/components/GridLayout/{index.0996cd19.js → index.e005b65b.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.ded0e80e.js → index.ee5c31cd.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.d2ec9ddb.js → index.69e13d04.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.7669a2cd.js → index.607d8861.js} +1 -1
- package/components/HamburgerMenu/{index.9f99b7c1.js → index.fb1a3aae.js} +2 -2
- package/components/Icon/{index.1976cb37.js → index.14670a00.js} +1 -1
- package/components/Image/{index.fd6f2c5f.js → index.6aa1ae49.js} +2 -2
- package/components/LanguagePopover/{index.f90fd1dc.js → index.4149a8da.js} +2 -2
- package/components/LinearProgressIndeterminate/{index.a0ad2d9e.js → index.6e5db737.js} +1 -1
- package/components/LoadingError/{index.2aa5daba.js → index.1ec78dd5.js} +3 -3
- package/components/MFLoader/{index.1e56a845.js → index.6037f834.js} +1 -1
- package/components/ModalDialog/{index.86de725b.js → index.7b85f8b0.js} +4 -4
- package/components/NoItemSelected/{index.16ff4e09.js → index.54023226.js} +1 -1
- package/components/ObjectLogs/{index.d200ba38.js → index.d0aa563e.js} +5 -5
- package/components/PDFViewer/{index.3bffbae3.js → index.d185afd0.js} +1 -1
- package/components/Page/{index.026d463c.js → index.2c550c91.js} +1 -1
- package/components/PaperForm/{index.fe630839.js → index.63dc4b29.js} +1 -1
- package/components/Period/{index.b6fa6ce6.js → index.ddf8716c.js} +2 -2
- package/components/PrintingSystem/{index.02517f9c.js → index.bcef9a6f.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index.0abc77a8.js → index.14ecdd97.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.293e44cd.js → index.aa2b8706.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.3a2363d4.js → index.ce81726b.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.fc1466e0.js → index.7fc8c316.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.ca2cc635.js → index.88fcc856.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.5ae4e58e.js → index.d3f4e000.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.251d9664.js → index.30cbab70.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.45054100.js → index.05a3579e.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.cfd21ea3.js → index.d6344807.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.0f22f144.js → index.79d2e283.js} +1 -1
- package/components/PropertyValue/{index.041a0585.js → index.1dbf6ef8.js} +16 -11
- package/components/PropertyValue/types.d.ts +2 -1
- package/components/Resizeable/{index.8db8f77d.js → index.eba4fda9.js} +1 -1
- package/components/SideBar/{index.3ea827ea.js → index.b1455bd0.js} +4 -4
- package/components/ToastContainer/{index.ee15bfce.js → index.a33ebb52.js} +3 -3
- package/components/areas/components/AreasAdmin/{index.01ea7058.js → index.f7194012.js} +10 -10
- package/components/areas/components/AreasViewer/{index.71038f0e.js → index.32960256.js} +14 -14
- package/components/areas/contexts/AreasContext/{index.cc89c1a7.js → index.8f0ba01f.js} +4 -4
- package/components/areas/hooks/useAreas/{index.32c7a909.js → index.0e9185fd.js} +1 -1
- package/components/areas/types.d.ts +1 -1
- package/components/commercial/AppBarCommercial/{index.c5022fdd.js → index.3e0ad6ef.js} +1 -1
- package/components/commercial/TopBar/{index.6493e8ab.js → index.7b22d97b.js} +4 -4
- package/components/formatters/BooleanFormatter/{index.477c6419.js → index.fb44d69d.js} +2 -2
- package/components/formatters/{index.ac0a547b.js → index.05c4e1a4.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.24e4387c.js → index.253f47ce.js} +4 -4
- package/components/hook-form/RHFAutocompleteAsync/{index.0cc78417.js → index.ba3ab09b.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.22648b5a.js → index.3f4a0890.js} +2 -2
- package/components/hook-form/RHFColorPicker/{index.d02de5ee.js → index.e1bd5645.js} +5 -5
- package/components/hook-form/RHFDateTime/{index.f02f1122.js → index.b1e5bd93.js} +3 -3
- package/components/hook-form/RHFPeriod/{index.5ca467ac.js → index.b92c344d.js} +3 -3
- package/components/hook-form/RHFTextField/{index.81c4b52b.js → index.e01f32f2.js} +4 -4
- package/components/hook-form/RHFUpload/{index.f6c5027f.js → index.9d4d4460.js} +2 -2
- package/components/maps/leaflet-geoman.d.ts +1633 -1633
- package/components/modal/{WindowBase.f38260ec.js → WindowBase.ab22627c.js} +3 -3
- package/components/modal/{WindowConfirm.67ee36e9.js → WindowConfirm.0aae86b3.js} +6 -6
- package/components/mui_extended/Accordion/{index.a55875a5.js → index.f9042228.js} +2 -2
- package/components/mui_extended/Button/{index.c6befaeb.js → index.d5a031be.js} +1 -1
- package/components/mui_extended/{CheckBox.d676424c.js → CheckBox.0dcf39ae.js} +1 -1
- package/components/mui_extended/IconButton/{index.63a9d74c.js → index.d8bdadaa.js} +1 -1
- package/components/mui_extended/MenuActions/{index.bca14ad9.js → index.154d57f0.js} +2 -2
- package/components/mui_extended/Pager/{index.a024f67b.js → index.8e2d569e.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.3f8bcf51.js → index.595ea955.js} +1 -1
- package/components/mui_extended/ToggleIconButton/ToggleIconButton.d.ts +1 -1
- package/components/mui_extended/ToggleIconButton/{index.04375093.js → index.c588d5e1.js} +1 -1
- package/contexts/ModalContext/{index.e748f329.js → index.f9da6aa8.js} +1 -1
- package/hooks/useFormAddEdit/{index.649004a5.js → index.8127dd88.js} +2 -2
- package/hooks/useModal/{index.66a0c82e.js → index.b64e2ea0.js} +1 -1
- package/index.js +82 -82
- package/{node_modules.4d80a09c.js → node_modules.98455a76.js} +1 -1
- package/package.json +1 -1
- package/{react-draggable.ee21cb7e.js → react-draggable.6cf19cba.js} +1 -1
- package/{react-resizable.ee028152.js → react-resizable.0ebffd82.js} +2 -2
- package/{vendor.aa97e825.js → vendor.4bb30ea4.js} +65 -65
- package/vite-env.d.ts +3 -3
- /package/components/GridLayout/subcomponents/{GridItem → Griditem}/index.d.ts +0 -0
- /package/components/GridLayout/subcomponents/{GridItem → Griditem}/types.d.ts +0 -0
- /package/utils/{index.de903261.js → index.24b5284a.js} +0 -0
|
@@ -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.bcef9a6f.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.cfd21ea3.js → index.d6344807.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.bcef9a6f.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.0f22f144.js → index.79d2e283.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.bcef9a6f.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const TextBoxNode = (props) => {
|
|
@@ -6,8 +6,8 @@ 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 {
|
|
10
|
-
import {
|
|
9
|
+
import { F as FieldLabel } from "../FieldLabel/index.75e89ace.js";
|
|
10
|
+
import { I as Icon } from "../Icon/index.14670a00.js";
|
|
11
11
|
const PropertyValueRoot = styled("div")(({
|
|
12
12
|
theme
|
|
13
13
|
}) => ({
|
|
@@ -54,7 +54,10 @@ function PropertyValue(props) {
|
|
|
54
54
|
isForm,
|
|
55
55
|
className,
|
|
56
56
|
dataTestId = "",
|
|
57
|
-
disabled = false
|
|
57
|
+
disabled = false,
|
|
58
|
+
mandatory,
|
|
59
|
+
mandatoryMessage,
|
|
60
|
+
helperMessage
|
|
58
61
|
} = props;
|
|
59
62
|
const isDesktop = useResponsiveDesktop();
|
|
60
63
|
const [isFocus, setIsFocus] = useState(false);
|
|
@@ -129,10 +132,11 @@ function PropertyValue(props) {
|
|
|
129
132
|
children: [iconProperty ? /* @__PURE__ */ jsx(Icon, {
|
|
130
133
|
src: iconProperty,
|
|
131
134
|
className: classes.iconProperty
|
|
132
|
-
}) : null, /* @__PURE__ */ jsx(
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
135
|
+
}) : null, /* @__PURE__ */ jsx(FieldLabel, {
|
|
136
|
+
label: property,
|
|
137
|
+
mandatory,
|
|
138
|
+
mandatoryMessage,
|
|
139
|
+
helperMessage
|
|
136
140
|
})]
|
|
137
141
|
}), /* @__PURE__ */ jsx("div", {
|
|
138
142
|
className: classes.value,
|
|
@@ -180,10 +184,11 @@ function PropertyValue(props) {
|
|
|
180
184
|
children: [iconProperty ? /* @__PURE__ */ jsx(Icon, {
|
|
181
185
|
src: iconProperty,
|
|
182
186
|
className: classes.iconProperty
|
|
183
|
-
}) : null, /* @__PURE__ */ jsx(
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
+
}) : null, /* @__PURE__ */ jsx(FieldLabel, {
|
|
188
|
+
label: property,
|
|
189
|
+
mandatory,
|
|
190
|
+
mandatoryMessage,
|
|
191
|
+
helperMessage
|
|
187
192
|
})]
|
|
188
193
|
}), /* @__PURE__ */ jsx("div", {
|
|
189
194
|
className: classes.value,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import { FieldLabelProps } from '../FieldLabel/types';
|
|
2
3
|
export interface PropertyProps {
|
|
3
4
|
propertyWidth?: number;
|
|
4
5
|
iconProperty?: string;
|
|
@@ -8,7 +9,7 @@ export interface ValueProps {
|
|
|
8
9
|
valueWidth?: number;
|
|
9
10
|
valueWidthMobile?: number;
|
|
10
11
|
}
|
|
11
|
-
export interface PropertyValueProps extends PropertyProps, ValueProps {
|
|
12
|
+
export interface PropertyValueProps extends PropertyProps, ValueProps, Omit<FieldLabelProps, 'label'> {
|
|
12
13
|
property: string;
|
|
13
14
|
value: number | string | ReactNode;
|
|
14
15
|
isForm?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { styled } from "@mui/material";
|
|
2
|
-
import { a as ResizableBox } from "../../react-resizable.
|
|
2
|
+
import { a as ResizableBox } from "../../react-resizable.0ebffd82.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
const WrapperResizeable = styled(ResizableBox)(({
|
|
5
5
|
theme
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { styled, generateUtilityClasses, ListItemText, ListItemButton, Collapse, Drawer as Drawer$1, useTheme } from "@mui/material";
|
|
2
2
|
import { createContext, useState, useContext, useEffect } from "react";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import { g as getComponentUtilityClass } from "../../utils/index.
|
|
4
|
+
import { g as getComponentUtilityClass } from "../../utils/index.24b5284a.js";
|
|
5
5
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
6
6
|
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.14670a00.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.6aa1ae49.js";
|
|
15
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.d8bdadaa.js";
|
|
16
16
|
import { useResponsive } from "@m4l/styles";
|
|
17
17
|
const SideBarRoot = styled("div")(({
|
|
18
18
|
theme
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { styled, generateUtilityClasses } from "@mui/material";
|
|
2
|
-
import { A } from "../../node_modules.
|
|
2
|
+
import { A } from "../../node_modules.98455a76.js";
|
|
3
3
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { g as getComponentUtilityClass } from "../../utils/index.
|
|
5
|
+
import { g as getComponentUtilityClass } from "../../utils/index.24b5284a.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.14670a00.js";
|
|
9
9
|
const ToastContainerRoot = styled("div")(({ theme }) => ({
|
|
10
10
|
...theme.components?.M4LToastContainer?.styleOverrides
|
|
11
11
|
}));
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
1
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.0e9185fd.js";
|
|
2
2
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { useState, useRef, useMemo } from "react";
|
|
4
4
|
import * as Yup from "yup";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { generateUtilityClasses, styled, useTheme } from "@mui/material";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
-
import { g as getComponentUtilityClass } from "../../../../utils/index.
|
|
8
|
+
import { g as getComponentUtilityClass } from "../../../../utils/index.24b5284a.js";
|
|
9
9
|
import { A as AREAS_ADMIN_CLASS_NAME } from "../../constants.66529246.js";
|
|
10
10
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
11
11
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
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.154d57f0.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.e01f32f2.js";
|
|
18
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.23bfc86b.js";
|
|
19
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.f00f026d.js";
|
|
20
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.574967a0.js";
|
|
21
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.d8bdadaa.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.d5a031be.js";
|
|
27
|
+
import { I as Icon } from "../../../Icon/index.14670a00.js";
|
|
28
28
|
import { u as useOnClickOutside } from "../../index.4cc6a221.js";
|
|
29
29
|
const areasAdminClasses = generateUtilityClasses(AREAS_ADMIN_CLASS_NAME, [
|
|
30
30
|
"root",
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { generateUtilityClasses, styled, Skeleton, Dialog } from "@mui/material";
|
|
2
|
-
import { r as react_resizable_css } from "../../../../react-resizable.
|
|
2
|
+
import { r as react_resizable_css } from "../../../../react-resizable.0ebffd82.js";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import { g as getComponentUtilityClass } from "../../../../utils/index.
|
|
4
|
+
import { g as getComponentUtilityClass } from "../../../../utils/index.24b5284a.js";
|
|
5
5
|
import { a as AREAS_VIEWER_CLASS_NAME } from "../../constants.66529246.js";
|
|
6
6
|
import { shallow } from "zustand/shallow";
|
|
7
7
|
import React__default, { useMemo, useEffect } from "react";
|
|
8
8
|
import clsx from "clsx";
|
|
9
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
9
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.0e9185fd.js";
|
|
10
10
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
11
|
-
import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.
|
|
11
|
+
import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.154d57f0.js";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
13
13
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
14
14
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
15
15
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
16
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
17
|
-
import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.
|
|
18
|
-
import { I as Icon } from "../../../Icon/index.
|
|
16
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.d8bdadaa.js";
|
|
17
|
+
import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.6e5db737.js";
|
|
18
|
+
import { I as Icon } from "../../../Icon/index.14670a00.js";
|
|
19
19
|
import { T as Typography } from "../../../mui_extended/Typography/index.379dd374.js";
|
|
20
|
-
import { M as MFLoader } from "../../../MFLoader/index.
|
|
20
|
+
import { M as MFLoader } from "../../../MFLoader/index.6037f834.js";
|
|
21
21
|
import { W as WindowToolsMFProvider } from "../../contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
22
22
|
import { D as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
23
23
|
import { L as LinearProgress } from "../../../mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
24
24
|
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
|
|
25
25
|
import { g as getNameDataTestId } from "../../../../test/getNameDataTestId.14875ec7.js";
|
|
26
|
-
import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.
|
|
27
|
-
import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index.
|
|
28
|
-
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.
|
|
26
|
+
import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.8f0ba01f.js";
|
|
27
|
+
import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index.607d8861.js";
|
|
28
|
+
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.69e13d04.js";
|
|
29
29
|
import { useLocation } from "react-router-dom";
|
|
30
|
-
import { L as LoadingError } from "../../../LoadingError/index.
|
|
31
|
-
import { c as cjs } from "../../../../react-draggable.
|
|
32
|
-
import { R as ResizeableWindow } from "../../../Resizeable/index.
|
|
30
|
+
import { L as LoadingError } from "../../../LoadingError/index.1ec78dd5.js";
|
|
31
|
+
import { c as cjs } from "../../../../react-draggable.6cf19cba.js";
|
|
32
|
+
import { R as ResizeableWindow } from "../../../Resizeable/index.eba4fda9.js";
|
|
33
33
|
const areasViewerClasses = generateUtilityClasses(AREAS_VIEWER_CLASS_NAME, [
|
|
34
34
|
"root",
|
|
35
35
|
"areaRoot",
|
|
@@ -5,13 +5,13 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
|
5
5
|
import { useHostTools, useModuleDictionary, useNetwork, useModuleSkeleton, EmitEvents } from "@m4l/core";
|
|
6
6
|
import { devtools } from "zustand/middleware";
|
|
7
7
|
import { immer } from "zustand/middleware/immer";
|
|
8
|
-
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.
|
|
9
|
-
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.
|
|
8
|
+
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.32960256.js";
|
|
9
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.f7194012.js";
|
|
10
10
|
import { c as createDynamicMFStore } from "../DynamicMFParmsContext/index.1607c78e.js";
|
|
11
11
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
12
|
-
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.
|
|
12
|
+
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.69e13d04.js";
|
|
13
13
|
import { debounce, cloneDeep } from "lodash";
|
|
14
|
-
import { A as isEqualLayouts } from "../../../GridLayout/index.
|
|
14
|
+
import { A as isEqualLayouts } from "../../../GridLayout/index.e005b65b.js";
|
|
15
15
|
import { useNavigate } from "react-router-dom";
|
|
16
16
|
import { jsx } from "react/jsx-runtime";
|
|
17
17
|
const PADDING_GRIDLAYOUT = 10;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
2
|
import { useStore } from "zustand";
|
|
3
|
-
import { A as AreasContext } from "../../contexts/AreasContext/index.
|
|
3
|
+
import { A as AreasContext } from "../../contexts/AreasContext/index.8f0ba01f.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { generateUtilityClasses, styled } from "@mui/material";
|
|
2
2
|
import { unstable_composeClasses } from "@mui/base";
|
|
3
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
3
|
+
import { g as getComponentUtilityClass } from "../../../utils/index.24b5284a.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const componentName = "M4LAppBarCommercial";
|
|
6
6
|
generateUtilityClasses(componentName, [
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
2
2
|
import { generateUtilityClasses, styled, useTheme, Box, Grid } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
4
|
+
import { g as getComponentUtilityClass } from "../../../utils/index.24b5284a.js";
|
|
5
5
|
import { createContext, useContext, useState } from "react";
|
|
6
6
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
|
-
import { I as Icon } from "../../Icon/index.
|
|
8
|
+
import { I as Icon } from "../../Icon/index.14670a00.js";
|
|
9
9
|
import clsx from "clsx";
|
|
10
10
|
import { g as getNameDataTestId } from "../../../test/getNameDataTestId.14875ec7.js";
|
|
11
|
-
import { A as Accordion } from "../../mui_extended/Accordion/index.
|
|
12
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
11
|
+
import { A as Accordion } from "../../mui_extended/Accordion/index.f9042228.js";
|
|
12
|
+
import { B as Button } from "../../mui_extended/Button/index.d5a031be.js";
|
|
13
13
|
import { P as Popover } from "../../mui_extended/Popover/index.d85de73b.js";
|
|
14
14
|
const componentName = "M4LTopBar";
|
|
15
15
|
const TopBarClasses = generateUtilityClasses(componentName, [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
3
|
-
import { I as Icon } from "../../Icon/index.
|
|
3
|
+
import { I as Icon } from "../../Icon/index.14670a00.js";
|
|
4
4
|
import { W as WrapperComponent } from "../../WrapperComponent/index.5e872594.js";
|
|
5
|
-
import { F as FormatterRoot, f as formatterClasses } from "../index.
|
|
5
|
+
import { F as FormatterRoot, f as formatterClasses } from "../index.05c4e1a4.js";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
|
|
@@ -3,7 +3,7 @@ import "@mui/base";
|
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { W as WrapperComponent } from "../WrapperComponent/index.5e872594.js";
|
|
5
5
|
import { useModuleDictionary } from "@m4l/core";
|
|
6
|
-
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.
|
|
6
|
+
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.fb44d69d.js";
|
|
7
7
|
const COMPONENT_CLASS_NAME = "M4LFormatter";
|
|
8
8
|
const formatterClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
9
9
|
"root",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
3
|
import { styled, Skeleton, generateUtilityClasses, generateUtilityClass, useTheme, Autocomplete, Popper, TextField, CircularProgress } from "@mui/material";
|
|
4
|
-
import { I as Image } from "../../Image/index.
|
|
4
|
+
import { I as Image } from "../../Image/index.6aa1ae49.js";
|
|
5
5
|
import { useMemo, useRef, useState, useEffect } from "react";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
@@ -9,9 +9,9 @@ import { T as Typography } from "../../mui_extended/Typography/index.379dd374.js
|
|
|
9
9
|
import { unstable_composeClasses } from "@mui/base";
|
|
10
10
|
import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
11
11
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
12
|
-
import { u as useFormFocus } from "../../../vendor.
|
|
13
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
14
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
12
|
+
import { u as useFormFocus } from "../../../vendor.4bb30ea4.js";
|
|
13
|
+
import { F as FieldLabel } from "../../FieldLabel/index.75e89ace.js";
|
|
14
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.d8bdadaa.js";
|
|
15
15
|
const AutocompleteRoot = styled("div")(({
|
|
16
16
|
theme
|
|
17
17
|
}) => ({
|
|
@@ -5,7 +5,7 @@ import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/mater
|
|
|
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 { jsx } from "react/jsx-runtime";
|
|
8
|
-
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.
|
|
8
|
+
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.253f47ce.js";
|
|
9
9
|
styled("div")(() => ({
|
|
10
10
|
display: "flex",
|
|
11
11
|
width: "100%",
|
|
@@ -6,8 +6,8 @@ import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
|
6
6
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
7
7
|
import { useModuleSkeleton } from "@m4l/core";
|
|
8
8
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
9
|
-
import { u as useFormFocus } from "../../../vendor.
|
|
10
|
-
import { C as CheckBox } from "../../mui_extended/CheckBox.
|
|
9
|
+
import { u as useFormFocus } from "../../../vendor.4bb30ea4.js";
|
|
10
|
+
import { C as CheckBox } from "../../mui_extended/CheckBox.0dcf39ae.js";
|
|
11
11
|
const RHFCheckboxRoot = styled("div")(({
|
|
12
12
|
theme
|
|
13
13
|
}) => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState } from "react";
|
|
2
2
|
import { useFormContext, useWatch, Controller } from "react-hook-form";
|
|
3
3
|
import { useModuleSkeleton, useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
4
|
-
import { S as SketchPicker } from "../../../node_modules.
|
|
4
|
+
import { S as SketchPicker } from "../../../node_modules.98455a76.js";
|
|
5
5
|
import "lodash-es/debounce";
|
|
6
6
|
import "lodash-es/each";
|
|
7
7
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
@@ -10,11 +10,11 @@ import { generateUtilityClasses, generateUtilityClass, styled, Skeleton } from "
|
|
|
10
10
|
import { unstable_composeClasses } from "@mui/base";
|
|
11
11
|
import { useTheme } from "@mui/material/styles";
|
|
12
12
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
13
|
-
import { u as useFormFocus } from "../../../vendor.
|
|
14
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
13
|
+
import { u as useFormFocus } from "../../../vendor.4bb30ea4.js";
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index.75e89ace.js";
|
|
15
15
|
import { P as Popover } from "../../mui_extended/Popover/index.d85de73b.js";
|
|
16
|
-
import { I as Icon } from "../../Icon/index.
|
|
17
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
16
|
+
import { I as Icon } from "../../Icon/index.14670a00.js";
|
|
17
|
+
import { B as Button } from "../../mui_extended/Button/index.d5a031be.js";
|
|
18
18
|
const componentName = "M4LRHFColorPicker";
|
|
19
19
|
const colorPickerClasses = generateUtilityClasses(componentName, [
|
|
20
20
|
"root",
|
|
@@ -9,9 +9,9 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
9
9
|
import clsx from "clsx";
|
|
10
10
|
import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
11
11
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
12
|
-
import { u as useFormFocus } from "../../../vendor.
|
|
13
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
14
|
-
import { I as Icon } from "../../Icon/index.
|
|
12
|
+
import { u as useFormFocus } from "../../../vendor.4bb30ea4.js";
|
|
13
|
+
import { F as FieldLabel } from "../../FieldLabel/index.75e89ace.js";
|
|
14
|
+
import { I as Icon } from "../../Icon/index.14670a00.js";
|
|
15
15
|
const SkeletonRHFDateTime = (props) => {
|
|
16
16
|
const {
|
|
17
17
|
skeletonWidth,
|
|
@@ -4,9 +4,9 @@ import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { useModuleSkeleton } from "@m4l/core";
|
|
6
6
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
7
|
-
import { u as useFormFocus } from "../../../vendor.
|
|
8
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
9
|
-
import { P as Period } from "../../Period/index.
|
|
7
|
+
import { u as useFormFocus } from "../../../vendor.4bb30ea4.js";
|
|
8
|
+
import { F as FieldLabel } from "../../FieldLabel/index.75e89ace.js";
|
|
9
|
+
import { P as Period } from "../../Period/index.ddf8716c.js";
|
|
10
10
|
const RHFPeriodRoot = styled("div")(({
|
|
11
11
|
theme
|
|
12
12
|
}) => ({
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, Skeleton, generateUtilityClasses, TextField, InputAdornment, generateUtilityClass } from "@mui/material";
|
|
3
3
|
import { forwardRef, useState, useEffect } from "react";
|
|
4
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
4
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.d8bdadaa.js";
|
|
5
5
|
import { useFormContext, Controller } from "react-hook-form";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
9
|
+
import { g as getComponentUtilityClass } from "../../../utils/index.24b5284a.js";
|
|
10
10
|
import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
11
11
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
12
|
-
import { u as useFormFocus } from "../../../vendor.
|
|
13
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
12
|
+
import { u as useFormFocus } from "../../../vendor.4bb30ea4.js";
|
|
13
|
+
import { F as FieldLabel } from "../../FieldLabel/index.75e89ace.js";
|
|
14
14
|
const SkeletonTextFieldRoot = styled("div")(() => ({
|
|
15
15
|
display: "flex",
|
|
16
16
|
flexDirection: "column",
|
|
@@ -2,14 +2,14 @@ import { useCallback } from "react";
|
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
3
|
import require$$0 from "lodash/isString";
|
|
4
4
|
import { useDropzone } from "react-dropzone";
|
|
5
|
-
import { I as Image } from "../../Image/index.
|
|
5
|
+
import { I as Image } from "../../Image/index.6aa1ae49.js";
|
|
6
6
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
7
7
|
import { styled, Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
9
9
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
10
10
|
import { unstable_composeClasses } from "@mui/base";
|
|
11
11
|
import { T as Typography } from "../../mui_extended/Typography/index.379dd374.js";
|
|
12
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
12
|
+
import { B as Button } from "../../mui_extended/Button/index.d5a031be.js";
|
|
13
13
|
import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
14
14
|
const UploadImageRoot = styled("div")(({
|
|
15
15
|
theme
|