@m4l/components 0.2.27 → 0.2.29
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.3994a80b.js → index.69cda48b.js} +1 -1
- package/components/AppBar/{index.23323f96.js → index.1562b3b8.js} +2 -2
- package/components/CommonActions/components/ActionCancel/{index.bd767c14.js → index.f00f026d.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.d737bddc.js → index.674a0faa.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.d5b80747.js → index.b5a5c4b4.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.9bd56cd0.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.29cf6542.js → index.cf410875.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.2c4fd22e.js → index.00f9ed87.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.e30c976f.js → index.c097ac25.js} +1 -1
- package/components/DataGrid/{index.a3792770.js → index.6bdcbf70.js} +3 -3
- package/components/DataGrid/subcomponents/Actions/{index.a317b384.js → index.380c24dc.js} +10 -10
- package/components/DragResizeWindow/{index.bf1a4a47.js → index.1c6d51f9.js} +3 -3
- package/components/DynamicFilter/contexts/DynamicFilterContext/index.d.ts +2 -6
- package/components/DynamicFilter/{index.cce92677.js → index.04cc1034.js} +10 -10
- package/components/FieldLabel/{index.8d3d6bb4.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.06986ab4.js → index.607d8861.js} +6 -10
- package/components/HamburgerMenu/{index.06905db3.js → index.fb1a3aae.js} +2 -2
- package/components/Icon/{index.58eaf354.js → index.14670a00.js} +1 -1
- package/components/Image/{index.fa98eb78.js → index.6aa1ae49.js} +2 -2
- package/components/LanguagePopover/{index.2740fb8e.js → index.4149a8da.js} +2 -2
- package/components/LinearProgressIndeterminate/{index.a0ad2d9e.js → index.6e5db737.js} +1 -1
- package/components/LoadingError/{index.4f4724c4.js → index.1ec78dd5.js} +3 -3
- package/components/MFLoader/{index.f6a46c70.js → index.6037f834.js} +1 -1
- package/components/ModalDialog/{index.86de725b.js → index.7b85f8b0.js} +4 -4
- package/components/NoItemSelected/{index.aa3679f1.js → index.54023226.js} +1 -1
- package/components/ObjectLogs/{index.0e365006.js → index.edc0fecc.js} +5 -5
- package/components/PDFViewer/{index.85d4e010.js → index.d185afd0.js} +1 -1
- package/components/Page/{index.aa33f20b.js → index.2c550c91.js} +1 -1
- package/components/PaperForm/{index.b6811634.js → index.63dc4b29.js} +1 -1
- package/components/Period/{index.ba79014c.js → index.ddf8716c.js} +2 -2
- package/components/PrintingSystem/{index.b3ed9375.js → index.bcef9a6f.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index.7a5c7bdd.js → index.14ecdd97.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.85914c4b.js → index.aa2b8706.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.45284722.js → index.ce81726b.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.a83e65dc.js → index.7fc8c316.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.cb7d0af9.js → index.88fcc856.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.d67484e5.js → index.d3f4e000.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.ab17815a.js → index.30cbab70.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.8a2617ae.js → index.05a3579e.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.2c52ee12.js → index.d6344807.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.f0ac0243.js → index.79d2e283.js} +1 -1
- package/components/PropertyValue/{index.a3527d10.js → index.3e240f9d.js} +11 -6
- package/components/PropertyValue/types.d.ts +2 -1
- package/components/Resizeable/{index.8db8f77d.js → index.eba4fda9.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.0d49daff.js → index.b1455bd0.js} +7 -10
- package/components/ToastContainer/{index.b42aca02.js → index.a33ebb52.js} +3 -3
- package/components/areas/components/AreasAdmin/{index.6d902d47.js → index.be0ad2f1.js} +10 -10
- package/components/areas/components/AreasViewer/{index.2a286dfa.js → index.4d7caeeb.js} +42 -56
- package/components/areas/contexts/AreasContext/{index.3eb6b2a4.js → index.ef8e9ef3.js} +4 -4
- package/components/areas/hooks/useAreas/{index.febe901b.js → index.33fe5c67.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.08853566.js → index.7b22d97b.js} +4 -4
- package/components/formatters/BooleanFormatter/{index.4bb3d2f9.js → index.fb44d69d.js} +2 -2
- package/components/formatters/{index.3e9e2305.js → index.05c4e1a4.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.f9be5465.js → index.42ec23c5.js} +4 -4
- package/components/hook-form/RHFAutocompleteAsync/{index.c01fd38a.js → index.91ad29a5.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.4f650b78.js → index.f890d98f.js} +2 -2
- package/components/hook-form/RHFColorPicker/{index.5be9e237.js → index.25a0318a.js} +5 -5
- package/components/hook-form/RHFDateTime/{index.ace3f52e.js → index.1d21546f.js} +3 -3
- package/components/hook-form/RHFPeriod/{index.88812636.js → index.d30e8d8c.js} +3 -3
- package/components/hook-form/RHFTextField/{index.d4192912.js → index.2c2dcc64.js} +4 -4
- package/components/hook-form/RHFUpload/{index.f7efd0e2.js → index.9d4d4460.js} +2 -2
- package/components/maps/leaflet-geoman.d.ts +1633 -1633
- package/components/modal/{WindowBase.4881da1f.js → WindowBase.ab22627c.js} +3 -3
- package/components/modal/{WindowConfirm.3b0e842b.js → WindowConfirm.0aae86b3.js} +6 -6
- package/components/mui_extended/Accordion/{index.a32a5761.js → index.f9042228.js} +2 -2
- package/components/mui_extended/Button/{index.81367a73.js → index.d5a031be.js} +1 -1
- package/components/mui_extended/{CheckBox.b3c0f2ad.js → CheckBox.0dcf39ae.js} +1 -1
- package/components/mui_extended/IconButton/{index.32fc9419.js → index.d8bdadaa.js} +1 -1
- package/components/mui_extended/MenuActions/{index.fdea20e7.js → index.154d57f0.js} +2 -2
- package/components/mui_extended/Pager/{index.c843dde3.js → index.8e2d569e.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.3d71f374.js → index.595ea955.js} +1 -1
- package/components/mui_extended/ToggleIconButton/ToggleIconButton.d.ts +1 -1
- package/components/mui_extended/ToggleIconButton/{index.1cff26af.js → index.c588d5e1.js} +1 -1
- package/contexts/ModalContext/{index.e748f329.js → index.f9da6aa8.js} +1 -1
- package/hooks/useFormAddEdit/{index.5c3d8e48.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.47f7709b.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.47f1f3d4.js → vendor.e5e34bad.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
package/components/PrintingSystem/subcomponents/FooterNode/{index.a83e65dc.js → index.7fc8c316.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 FooterNode = (props) => {
|
package/components/PrintingSystem/subcomponents/GridNode/{index.cb7d0af9.js → index.88fcc856.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.bcef9a6f.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.d67484e5.js → index.d3f4e000.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 HeaderNode = (props) => {
|
package/components/PrintingSystem/subcomponents/PaperNode/{index.ab17815a.js → index.30cbab70.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 { 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.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.2c52ee12.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.f0ac0243.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,7 +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 {
|
|
9
|
+
import { F as FieldLabel } from "../FieldLabel/index.75e89ace.js";
|
|
10
|
+
import { I as Icon } from "../Icon/index.14670a00.js";
|
|
10
11
|
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
11
12
|
const PropertyValueRoot = styled("div")(({
|
|
12
13
|
theme
|
|
@@ -54,7 +55,10 @@ function PropertyValue(props) {
|
|
|
54
55
|
isForm,
|
|
55
56
|
className,
|
|
56
57
|
dataTestId = "",
|
|
57
|
-
disabled = false
|
|
58
|
+
disabled = false,
|
|
59
|
+
mandatory,
|
|
60
|
+
mandatoryMessage,
|
|
61
|
+
helperMessage
|
|
58
62
|
} = props;
|
|
59
63
|
const isDesktop = useResponsiveDesktop();
|
|
60
64
|
const [isFocus, setIsFocus] = useState(false);
|
|
@@ -129,10 +133,11 @@ function PropertyValue(props) {
|
|
|
129
133
|
children: [iconProperty ? /* @__PURE__ */ jsx(Icon, {
|
|
130
134
|
src: iconProperty,
|
|
131
135
|
className: classes.iconProperty
|
|
132
|
-
}) : null, /* @__PURE__ */ jsx(
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
+
}) : null, /* @__PURE__ */ jsx(FieldLabel, {
|
|
137
|
+
label: property,
|
|
138
|
+
mandatory,
|
|
139
|
+
mandatoryMessage,
|
|
140
|
+
helperMessage
|
|
136
141
|
})]
|
|
137
142
|
}), /* @__PURE__ */ jsx("div", {
|
|
138
143
|
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
|
|
@@ -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;
|
|
@@ -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
|
|
@@ -43,6 +43,7 @@ generateUtilityClasses(
|
|
|
43
43
|
"contentGroups",
|
|
44
44
|
"wrapperGroup",
|
|
45
45
|
"wrapperGroupTitle",
|
|
46
|
+
"itemListMainRootContainer",
|
|
46
47
|
"itemListMainRoot",
|
|
47
48
|
"containerListSubItem",
|
|
48
49
|
"navItemMainRoot",
|
|
@@ -89,6 +90,7 @@ const getSideBarClassesByState = (ownerState) => {
|
|
|
89
90
|
contentGroups: ["contentGroups"],
|
|
90
91
|
wrapperGroup: ["wrapperGroup"],
|
|
91
92
|
wrapperGroupTitle: ["wrapperGroupTitle"],
|
|
93
|
+
itemListMainRootContainer: ["itemListMainRootContainer"],
|
|
92
94
|
itemListMainRoot: ["itemListMainRoot"],
|
|
93
95
|
containerListSubItem: ["containerListSubItem"],
|
|
94
96
|
navItemMainRoot: ["navItemMainRoot"],
|
|
@@ -640,12 +642,7 @@ const ContentGroups = () => {
|
|
|
640
642
|
children: group.title
|
|
641
643
|
})
|
|
642
644
|
}), /* @__PURE__ */ jsx("div", {
|
|
643
|
-
|
|
644
|
-
display: "flex",
|
|
645
|
-
flexDirection: "column",
|
|
646
|
-
width: "100%",
|
|
647
|
-
height: "auto"
|
|
648
|
-
},
|
|
645
|
+
className: classes.itemListMainRootContainer,
|
|
649
646
|
children: group.children?.map((list, id) => /* @__PURE__ */ jsx(ItemListMain, {
|
|
650
647
|
list,
|
|
651
648
|
itemMainActive,
|
|
@@ -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.33fe5c67.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.2c2dcc64.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
|
-
import React__default, { useMemo,
|
|
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.33fe5c67.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
|
-
import { useResponsiveDesktop
|
|
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.ef8e9ef3.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",
|
|
@@ -536,8 +536,6 @@ function Header(props) {
|
|
|
536
536
|
});
|
|
537
537
|
}
|
|
538
538
|
const MicroFrontend = (props) => {
|
|
539
|
-
const breakPoint = useResponsiveRelativeStore((state) => state.breakPoint, shallow);
|
|
540
|
-
console.log("test breakPoint", breakPoint);
|
|
541
539
|
return /* @__PURE__ */ jsx(MFLoader, {
|
|
542
540
|
...props
|
|
543
541
|
});
|
|
@@ -732,7 +730,6 @@ const Window = (props) => {
|
|
|
732
730
|
const selected = useAreasStore((state) => {
|
|
733
731
|
return emergeType === "layout" ? state.hashAreas[areaId]?.currentLayoutId : state.hashAreas[areaId]?.currentPopUpId;
|
|
734
732
|
}) === windowId;
|
|
735
|
-
const observedDivRef = useRef(null);
|
|
736
733
|
const mfProps = useAreasStore((state) => state.hashWindows[windowId]?.mfProps, shallow);
|
|
737
734
|
const component = useAreasStore((state) => state.hashWindows[windowId]?.component, shallow);
|
|
738
735
|
const loading = useAreasStore((state) => state.hashWindows[windowId]?.loading, shallow);
|
|
@@ -795,43 +792,32 @@ const Window = (props) => {
|
|
|
795
792
|
...process.env.NODE_ENV !== "production" ? {
|
|
796
793
|
[TEST_PROP_ID]: getNameDataTestId(AREAS_VIEWER_CLASS_NAME, "windowRoot", `${emergeType}`)
|
|
797
794
|
} : {},
|
|
798
|
-
children: /* @__PURE__ */
|
|
799
|
-
|
|
800
|
-
children: /* @__PURE__ */ jsx(
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
windowTools,
|
|
825
|
-
...mfProps
|
|
826
|
-
}) : /* @__PURE__ */ jsx(Component, {
|
|
827
|
-
moduleId,
|
|
828
|
-
dynamicMFStore,
|
|
829
|
-
windowTools,
|
|
830
|
-
component
|
|
831
|
-
}) : null]
|
|
832
|
-
})]
|
|
833
|
-
})
|
|
834
|
-
})
|
|
795
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
796
|
+
className: areasViewerClasses.windowRootContainer,
|
|
797
|
+
children: [/* @__PURE__ */ jsx(Header, {
|
|
798
|
+
areaId,
|
|
799
|
+
windowId,
|
|
800
|
+
emergeType
|
|
801
|
+
}), /* @__PURE__ */ jsx(Toasties, {
|
|
802
|
+
windowId
|
|
803
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
804
|
+
className: clsx(
|
|
805
|
+
areasViewerClasses.windowContent
|
|
806
|
+
),
|
|
807
|
+
children: [status === "init" ? /* @__PURE__ */ jsx(Fragment, {
|
|
808
|
+
children: "Cargando..."
|
|
809
|
+
}) : null, status === "loaded" ? winType === "microfrontend" ? /* @__PURE__ */ jsx(MemonizedMicroFrontend, {
|
|
810
|
+
moduleId,
|
|
811
|
+
dynamicMFStore,
|
|
812
|
+
windowTools,
|
|
813
|
+
...mfProps
|
|
814
|
+
}) : /* @__PURE__ */ jsx(Component, {
|
|
815
|
+
moduleId,
|
|
816
|
+
dynamicMFStore,
|
|
817
|
+
windowTools,
|
|
818
|
+
component
|
|
819
|
+
}) : null]
|
|
820
|
+
})]
|
|
835
821
|
})
|
|
836
822
|
});
|
|
837
823
|
};
|
|
@@ -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.4d7caeeb.js";
|
|
9
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.be0ad2f1.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.ef8e9ef3.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.e5e34bad.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.42ec23c5.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.e5e34bad.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.e5e34bad.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.e5e34bad.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.e5e34bad.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.e5e34bad.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",
|