@m4l/components 0.2.27 → 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.3994a80b.js → index.7b7f3962.js} +1 -1
- package/components/AppBar/{index.23323f96.js → index.cb2f1763.js} +2 -2
- package/components/CommonActions/components/ActionCancel/{index.bd767c14.js → index.e03455db.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.d737bddc.js → index.9120552e.js} +2 -2
- package/components/CommonActions/components/ActionFormIntro/{index.d5b80747.js → index.48e7d28a.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.9bd56cd0.js → index.5ba2ef5f.js} +1 -1
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.29cf6542.js → index.ce8c7b9c.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.2c4fd22e.js → index.3a1ae54f.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.e30c976f.js → index.de32e830.js} +1 -1
- package/components/DataGrid/{index.a3792770.js → index.690184a8.js} +2 -2
- package/components/DataGrid/subcomponents/Actions/{index.a317b384.js → index.339ccf42.js} +8 -8
- package/components/DragResizeWindow/{index.bf1a4a47.js → index.be2fc1e0.js} +1 -1
- package/components/DynamicFilter/{index.cce92677.js → index.ad2460cf.js} +8 -8
- package/components/FieldLabel/{index.8d3d6bb4.js → index.61d55577.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.06986ab4.js → index.7669a2cd.js} +5 -9
- package/components/HamburgerMenu/{index.06905db3.js → index.9f99b7c1.js} +2 -2
- package/components/Icon/{index.58eaf354.js → index.1976cb37.js} +1 -1
- package/components/Image/{index.fa98eb78.js → index.fd6f2c5f.js} +2 -2
- package/components/LanguagePopover/{index.2740fb8e.js → index.f90fd1dc.js} +2 -2
- package/components/LoadingError/{index.4f4724c4.js → index.2aa5daba.js} +2 -2
- package/components/MFLoader/{index.f6a46c70.js → index.1e56a845.js} +1 -1
- package/components/NoItemSelected/{index.aa3679f1.js → index.16ff4e09.js} +1 -1
- package/components/ObjectLogs/{index.0e365006.js → index.d200ba38.js} +4 -4
- package/components/PDFViewer/{index.85d4e010.js → index.3bffbae3.js} +1 -1
- package/components/Page/{index.aa33f20b.js → index.026d463c.js} +1 -1
- package/components/PaperForm/{index.b6811634.js → index.fe630839.js} +1 -1
- package/components/Period/{index.ba79014c.js → index.b6fa6ce6.js} +1 -1
- package/components/PrintingSystem/{index.b3ed9375.js → index.02517f9c.js} +12 -12
- package/components/PrintingSystem/subcomponents/BodyNode/{index.7a5c7bdd.js → index.0abc77a8.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.85914c4b.js → index.293e44cd.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.45284722.js → index.3a2363d4.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.a83e65dc.js → index.fc1466e0.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.cb7d0af9.js → index.ca2cc635.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.d67484e5.js → index.5ae4e58e.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.ab17815a.js → index.251d9664.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.8a2617ae.js → index.45054100.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.2c52ee12.js → index.cfd21ea3.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.f0ac0243.js → index.0f22f144.js} +1 -1
- package/components/PropertyValue/{index.a3527d10.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.0d49daff.js → index.3ea827ea.js} +6 -9
- package/components/ToastContainer/{index.b42aca02.js → index.ee15bfce.js} +2 -2
- package/components/areas/components/AreasAdmin/{index.6d902d47.js → index.01ea7058.js} +8 -8
- package/components/areas/components/AreasViewer/{index.2a286dfa.js → index.71038f0e.js} +36 -50
- package/components/areas/contexts/AreasContext/{index.3eb6b2a4.js → index.cc89c1a7.js} +2 -2
- package/components/areas/hooks/useAreas/{index.febe901b.js → index.32c7a909.js} +1 -1
- package/components/commercial/TopBar/{index.08853566.js → index.6493e8ab.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.4bb3d2f9.js → index.477c6419.js} +2 -2
- package/components/formatters/{index.3e9e2305.js → index.ac0a547b.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.f9be5465.js → index.24e4387c.js} +4 -4
- package/components/hook-form/RHFAutocompleteAsync/{index.c01fd38a.js → index.0cc78417.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.4f650b78.js → index.22648b5a.js} +2 -2
- package/components/hook-form/RHFColorPicker/{index.5be9e237.js → index.d02de5ee.js} +5 -5
- package/components/hook-form/RHFDateTime/{index.ace3f52e.js → index.f02f1122.js} +3 -3
- package/components/hook-form/RHFPeriod/{index.88812636.js → index.5ca467ac.js} +3 -3
- package/components/hook-form/RHFTextField/{index.d4192912.js → index.81c4b52b.js} +3 -3
- package/components/hook-form/RHFUpload/{index.f7efd0e2.js → index.f6c5027f.js} +2 -2
- package/components/modal/{WindowBase.4881da1f.js → WindowBase.f38260ec.js} +2 -2
- package/components/modal/{WindowConfirm.3b0e842b.js → WindowConfirm.67ee36e9.js} +4 -4
- package/components/mui_extended/Accordion/{index.a32a5761.js → index.a55875a5.js} +2 -2
- package/components/mui_extended/Button/{index.81367a73.js → index.c6befaeb.js} +1 -1
- package/components/mui_extended/{CheckBox.b3c0f2ad.js → CheckBox.d676424c.js} +1 -1
- package/components/mui_extended/IconButton/{index.32fc9419.js → index.63a9d74c.js} +1 -1
- package/components/mui_extended/MenuActions/{index.fdea20e7.js → index.bca14ad9.js} +2 -2
- package/components/mui_extended/Pager/{index.c843dde3.js → index.a024f67b.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.3d71f374.js → index.3f8bcf51.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.1cff26af.js → index.04375093.js} +1 -1
- package/hooks/useFormAddEdit/{index.5c3d8e48.js → index.649004a5.js} +1 -1
- package/index.js +69 -69
- package/{node_modules.47f7709b.js → node_modules.4d80a09c.js} +1 -1
- package/package.json +1 -1
- package/{vendor.47f1f3d4.js → vendor.aa97e825.js} +55 -55
|
@@ -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.
|
|
17
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.81c4b52b.js";
|
|
18
18
|
import { A as Actions } from "../../../CommonActions/components/Actions/index.16946bfd.js";
|
|
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.
|
|
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",
|
|
@@ -4,30 +4,30 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
4
4
|
import { g as getComponentUtilityClass } from "../../../../utils/index.de903261.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.32c7a909.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.bca14ad9.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.
|
|
16
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.63a9d74c.js";
|
|
17
17
|
import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
18
|
-
import { I as Icon } from "../../../Icon/index.
|
|
18
|
+
import { I as Icon } from "../../../Icon/index.1976cb37.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.1e56a845.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.
|
|
26
|
+
import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.cc89c1a7.js";
|
|
27
|
+
import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index.7669a2cd.js";
|
|
28
28
|
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.d2ec9ddb.js";
|
|
29
29
|
import { useLocation } from "react-router-dom";
|
|
30
|
-
import { L as LoadingError } from "../../../LoadingError/index.
|
|
30
|
+
import { L as LoadingError } from "../../../LoadingError/index.2aa5daba.js";
|
|
31
31
|
import { c as cjs } from "../../../../react-draggable.ee21cb7e.js";
|
|
32
32
|
import { R as ResizeableWindow } from "../../../Resizeable/index.8db8f77d.js";
|
|
33
33
|
const areasViewerClasses = generateUtilityClasses(AREAS_VIEWER_CLASS_NAME, [
|
|
@@ -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,8 +5,8 @@ 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.71038f0e.js";
|
|
9
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.01ea7058.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
12
|
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.d2ec9ddb.js";
|
|
@@ -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.cc89c1a7.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -5,11 +5,11 @@ import { g as getComponentUtilityClass } from "../../../utils/index.de903261.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.1976cb37.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.a55875a5.js";
|
|
12
|
+
import { B as Button } from "../../mui_extended/Button/index.c6befaeb.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.1976cb37.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.ac0a547b.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.477c6419.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.fd6f2c5f.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.aa97e825.js";
|
|
13
|
+
import { F as FieldLabel } from "../../FieldLabel/index.61d55577.js";
|
|
14
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.63a9d74c.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.24e4387c.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.aa97e825.js";
|
|
10
|
+
import { C as CheckBox } from "../../mui_extended/CheckBox.d676424c.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.4d80a09c.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.aa97e825.js";
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index.61d55577.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.1976cb37.js";
|
|
17
|
+
import { B as Button } from "../../mui_extended/Button/index.c6befaeb.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.aa97e825.js";
|
|
13
|
+
import { F as FieldLabel } from "../../FieldLabel/index.61d55577.js";
|
|
14
|
+
import { I as Icon } from "../../Icon/index.1976cb37.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.aa97e825.js";
|
|
8
|
+
import { F as FieldLabel } from "../../FieldLabel/index.61d55577.js";
|
|
9
|
+
import { P as Period } from "../../Period/index.b6fa6ce6.js";
|
|
10
10
|
const RHFPeriodRoot = styled("div")(({
|
|
11
11
|
theme
|
|
12
12
|
}) => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
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.63a9d74c.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";
|
|
@@ -9,8 +9,8 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
9
9
|
import { g as getComponentUtilityClass } from "../../../utils/index.de903261.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.aa97e825.js";
|
|
13
|
+
import { F as FieldLabel } from "../../FieldLabel/index.61d55577.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.fd6f2c5f.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.c6befaeb.js";
|
|
13
13
|
import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
14
14
|
const UploadImageRoot = styled("div")(({
|
|
15
15
|
theme
|
|
@@ -2,8 +2,8 @@ import { m as modalUtilityClasses } from "./index.61389369.js";
|
|
|
2
2
|
import { useEnvironment } from "@m4l/core";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
6
|
-
import { I as Icon } from "../Icon/index.
|
|
5
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.63a9d74c.js";
|
|
6
|
+
import { I as Icon } from "../Icon/index.1976cb37.js";
|
|
7
7
|
import { u as useModal } from "../../hooks/useModal/index.66a0c82e.js";
|
|
8
8
|
const Header = (props) => {
|
|
9
9
|
const {
|
|
@@ -3,11 +3,11 @@ import { Typography } from "@mui/material";
|
|
|
3
3
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
4
4
|
import { u as useModal } from "../../hooks/useModal/index.66a0c82e.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { I as Image } from "../Image/index.
|
|
6
|
+
import { I as Image } from "../Image/index.fd6f2c5f.js";
|
|
7
7
|
import { m as modalUtilityClasses } from "./index.61389369.js";
|
|
8
|
-
import { W as WindowBase } from "./WindowBase.
|
|
9
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
10
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
8
|
+
import { W as WindowBase } from "./WindowBase.f38260ec.js";
|
|
9
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.e03455db.js";
|
|
10
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.5ba2ef5f.js";
|
|
11
11
|
const dictionary = {
|
|
12
12
|
MESSAGE: "common_actions.confirm_quit_msg"
|
|
13
13
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { generateUtilityClasses, generateUtilityClass, styled, Accordion as Accordion$1, AccordionSummary, AccordionDetails } from "@mui/material";
|
|
2
|
-
import { I as IconButton } from "../IconButton/index.
|
|
2
|
+
import { I as IconButton } from "../IconButton/index.63a9d74c.js";
|
|
3
3
|
import { useEnvironment } from "@m4l/core";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import { g as getNameDataTestId } from "../../../test/getNameDataTestId.14875ec7.js";
|
|
8
8
|
import { jsx, jsxs } 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 "../Typography/index.379dd374.js";
|
|
11
11
|
const componentName = "M4LAccordion";
|
|
12
12
|
generateUtilityClasses(componentName, [
|
|
@@ -5,7 +5,7 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { useMemo } from "react";
|
|
8
|
-
import { I as Image } from "../../Image/index.
|
|
8
|
+
import { I as Image } from "../../Image/index.fd6f2c5f.js";
|
|
9
9
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
10
10
|
import { LoadingButton as LoadingButton$1 } from "@mui/lab";
|
|
11
11
|
import { T as Typography } from "../Typography/index.379dd374.js";
|
|
@@ -5,7 +5,7 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
5
5
|
import { useModuleSkeleton } from "@m4l/core";
|
|
6
6
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { forwardRef } from "react";
|
|
8
|
-
import { F as FieldLabel } from "../FieldLabel/index.
|
|
8
|
+
import { F as FieldLabel } from "../FieldLabel/index.61d55577.js";
|
|
9
9
|
const COMPONENT_CLASS_NAME = "M4LCheckBox";
|
|
10
10
|
generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
11
11
|
"root",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMemo, useState } from "react";
|
|
2
2
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, styled, generateUtilityClasses, generateUtilityClass, Tooltip, IconButton as IconButton$1 } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index.1976cb37.js";
|
|
5
5
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import clsx from "clsx";
|
|
@@ -2,12 +2,12 @@ import React__default, { useState, useEffect, useMemo } from "react";
|
|
|
2
2
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { styled, IconButton, generateUtilityClasses, generateUtilityClass, useTheme, MenuItem } from "@mui/material";
|
|
4
4
|
import { P as Popover } from "../Popover/index.d85de73b.js";
|
|
5
|
-
import { I as Icon } from "../../Icon/index.
|
|
5
|
+
import { I as Icon } from "../../Icon/index.1976cb37.js";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
8
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
9
9
|
import { B as Badge } from "../Badge/index.09f5aee5.js";
|
|
10
|
-
import { I as IconButton$1 } from "../IconButton/index.
|
|
10
|
+
import { I as IconButton$1 } from "../IconButton/index.63a9d74c.js";
|
|
11
11
|
styled(IconButton)(() => ({}));
|
|
12
12
|
const LabelMemuItem = styled("div")(({
|
|
13
13
|
theme
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { styled, generateUtilityClasses, generateUtilityClass, useTheme, Select, InputBase, MenuItem } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import { I as IconButton } from "../IconButton/index.
|
|
4
|
+
import { I as IconButton } from "../IconButton/index.63a9d74c.js";
|
|
5
5
|
import { useEnvironment } from "@m4l/core";
|
|
6
6
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
7
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import clsx from "clsx";
|
|
2
|
-
import { B as Button, b as buttonClasses } from "../Button/index.
|
|
2
|
+
import { B as Button, b as buttonClasses } from "../Button/index.c6befaeb.js";
|
|
3
3
|
import { w as withToggle } from "../../../hocs/withToggle/index.e44eb0da.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const ToggleAbleButton = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import clsx from "clsx";
|
|
2
|
-
import { I as IconButton, i as iconButtonClasses } from "../IconButton/index.
|
|
2
|
+
import { I as IconButton, i as iconButtonClasses } from "../IconButton/index.63a9d74c.js";
|
|
3
3
|
import { w as withToggle } from "../../../hocs/withToggle/index.e44eb0da.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const ToggleAbleIconButton = ({
|
|
@@ -2,7 +2,7 @@ import { useNetwork, useFlags, useModuleDictionary } from "@m4l/core";
|
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
3
|
import { u as useModal } from "../useModal/index.66a0c82e.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import { W as WindowConfirm } from "../../components/modal/WindowConfirm.
|
|
5
|
+
import { W as WindowConfirm } from "../../components/modal/WindowConfirm.67ee36e9.js";
|
|
6
6
|
function useFormAddEdit(props) {
|
|
7
7
|
const {
|
|
8
8
|
initialValues,
|