@m4l/components 2.0.4 → 2.0.5
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 +269 -269
- package/@types/types.d.ts +34 -37
- package/components/AccountPopover/{index.323b6cf4.js → index.09362223.js} +3 -3
- package/components/AppBar/{index.209841e1.js → index.ad5dd74a.js} +4 -4
- package/components/BaseModule/{index.aee40a28.js → index.0255d08a.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index.797d8195.js → index.f0e87113.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.d6776091.js → index.19e9426c.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.2af9a15d.js → index.77a6fe72.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.865af0d8.js → index.f35bee5a.js} +2 -2
- package/components/CommonActions/components/Actions/{index.841f1da0.js → index.a31243c7.js} +2 -2
- package/components/DataGrid/assets/icons/datagrid.svg +4 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.5dac4b66.js → index.2dd9a083.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.12d2461f.js → index.989012eb.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.7234f4b9.js → index.64406a72.js} +1 -1
- package/components/DataGrid/formatters/{index.93458be0.js → index.23ae62ba.js} +2 -2
- package/components/DataGrid/{index.fa8634c0.js → index.3b0b896f.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.5ff19f99.js → index.862a2ef4.js} +11 -11
- package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
- package/components/DragResizeWindow/{index.c0382188.js → index.2d36bbda.js} +9 -5
- package/components/DynamicFilter/{dictionary.d36bea70.js → dictionary.ad954460.js} +2 -2
- package/components/DynamicFilter/{index.5d0688b9.js → index.4747acfe.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.58ee518d.js → dynamicFilterSlots.345fe83a.js} +6 -6
- package/components/DynamicFilter/store/{index.2c9704ee.js → index.8e24684e.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.faf637d6.js → index.f68c42e6.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.e1008442.js → index.3508775b.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.246c1304.js → index.5297577d.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.5c3063f2.js → index.cce07177.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.cc477a59.js → index.1fafe2e3.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.88bb0dee.js → index.b0b906a1.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.eec7fa42.js → index.1db0c059.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.50a0dfb9.js → index.7accc2b1.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.06fb696b.js → index.8f88f9d0.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.415b11e6.js → index.bf41bca8.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.46905747.js → index.a2976024.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.fe51263d.js → index.f247b95a.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.0b52a455.js → index.1467729b.js} +2 -2
- package/components/FieldLabel/{index.13a833c9.js → index.c35e5984.js} +4 -4
- package/components/GridLayout/{index.95c84243.js → index.991206c1.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.99bf4b5c.js → index.50663f91.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.83d6fc44.js → index.c10c0af7.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.bf9a859a.js → index.e4ef4f10.js} +1 -1
- package/components/HelperText/{index.83b28429.js → index.c0fc2bfb.js} +2 -2
- package/components/Icon/{index.f9cd9367.js → index.0378f7b8.js} +3 -3
- package/components/Image/{index.eec95206.js → index.7df7536b.js} +2 -2
- package/components/LanguagePopover/{index.becad7ef.js → index.12cbf486.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.87be4283.js → index.49e62c03.js} +2 -2
- package/components/LoadingError/{index.8b7a3162.js → index.efecda3d.js} +5 -5
- package/components/MFIsolationApp/{index.d20c8218.js → index.71823b4e.js} +2 -2
- package/components/MFLoader/{index.3e7b4cb5.js → index.2b4b60aa.js} +2 -2
- package/components/ModalDialog/{index.ec0ab622.js → index.3cf272e0.js} +4 -4
- package/components/NavLink/{index.cca2c605.js → index.34d04791.js} +2 -2
- package/components/NoItemSelected/{index.fa49cac5.js → index.6d3880da.js} +1 -1
- package/components/ObjectLogs/{index.f70e0c0c.js → index.11c77d6c.js} +9 -9
- package/components/PDFViewer/{index.cdc90184.js → index.c119e76a.js} +2 -2
- package/components/Page/{index.4759d66c.js → index.8b261573.js} +1 -1
- package/components/PaperForm/{index.5cc98ed7.js → index.1b7bf005.js} +2 -2
- package/components/Period/{index.6b0b98c1.js → index.d08a64dd.js} +4 -4
- package/components/PrintingSystem/{index.0acacf1b.js → index.64fb8f9e.js} +14 -14
- package/components/PrintingSystem/subcomponents/BodyNode/{index.779838e5.js → index.58e31c42.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.6a572f3d.js → index.cfe2f5ae.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.a121da0d.js → index.ec939491.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.0775edc0.js → index.9d0d60c7.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.8d196cc6.js → index.1f05914c.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.1542db42.js → index.9a488ca7.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.34e7cd43.js → index.1d4ed8ed.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.8f42fe69.js → index.d39efc69.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.9a39e104.js → index.63c25d75.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.73fb8756.js → index.e6e71c65.js} +1 -1
- package/components/PropertyValue/{index.d1ca87c1.js → index.4584a224.js} +3 -3
- package/components/Resizeable/{index.c2f229d6.js → index.c48bfe53.js} +1 -1
- package/components/ScrollBar/{index.424bd908.js → index.3168cc7d.js} +1 -1
- package/components/SideBar/{index.2ce72f65.js → index.c6664730.js} +6 -6
- package/components/SplitLayout/{index.4265a602.js → index.f73f5f71.js} +1 -1
- package/components/ToastContainer/{index.b5413d7f.js → index.404d68c0.js} +3 -3
- package/components/animate/LoadingScreen/{index.20b1f443.js → index.d494c5f4.js} +1 -1
- package/components/animate/{index.680f5895.js → index.35e70d72.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.b41fe898.js → index.daf5521f.js} +15 -15
- package/components/areas/components/AreasViewer/{index.be5f5a9d.js → index.dab7e9c9.js} +15 -15
- package/components/areas/contexts/AreasContext/{index.e4be3c65.js → index.43aadacb.js} +4 -4
- package/components/areas/hooks/useAreas/{index.ce08327d.js → index.ed67113b.js} +1 -1
- package/components/areas/types.d.ts +1 -1
- package/components/commercial/AppBarCommercial/{index.372ea01e.js → index.4ab283a9.js} +2 -2
- package/components/commercial/SectionCommercial/{index.026cc71f.js → index.5e808beb.js} +2 -2
- package/components/commercial/TopBar/{index.fff88136.js → index.d5fc459d.js} +6 -6
- package/components/commercial/{index.1ea39cc1.js → index.b17673f0.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.c29c63fc.js → index.d792c9f4.js} +2 -2
- package/components/formatters/{index.5f44ed46.js → index.e3314ffd.js} +2 -2
- package/components/hook-form/HelperError/{index.f2b943ae.js → index.d37b96f4.js} +1 -1
- package/components/hook-form/RHFAutocomplete/classes/index.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/classes/types.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/{index.3f11b4dd.js → index.e8d47108.js} +58 -29
- package/components/hook-form/RHFAutocomplete/types.d.ts +1 -0
- package/components/hook-form/RHFAutocompleteAsync/{index.60003c6b.js → index.10e23560.js} +64 -68
- package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeImage/index.d.ts +2 -2
- package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeText/index.d.ts +1 -1
- package/components/hook-form/RHFCheckbox/{index.3ce32b03.js → index.ab66cde5.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index.21ae7dca.js → index.8224d965.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.0d2b3d0a.js → index.af136c35.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.c950b5d0.js → index.cdad3414.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index.87be90b7.js → index.a3e56551.js} +1 -1
- package/components/hook-form/RHFTextField/{index.7f95edb6.js → index.03fa7ae0.js} +5 -5
- package/components/hook-form/RHFUpload/{index.13724496.js → index.2209f3a8.js} +5 -5
- package/components/maps/components/GpsTools/{index.6da62b64.js → index.2f9fdb32.js} +23 -23
- package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
- package/components/maps/components/Map/{index.9c3b3cd0.js → index.1130b9e0.js} +35 -42
- package/components/maps/leaflet-geoman.d.ts +1476 -1476
- package/components/modal/{WindowBase.6c15797f.js → WindowBase.26cb9e19.js} +3 -3
- package/components/modal/{WindowConfirm.0d48420b.js → WindowConfirm.ffee7475.js} +6 -6
- package/components/mui_extended/Accordion/{index.fd738d87.js → index.56b0bded.js} +4 -4
- package/components/mui_extended/Avatar/{index.c7b7541f.js → index.9e8c8487.js} +1 -1
- package/components/mui_extended/Badge/{index.cb26549b.js → index.ef803787.js} +1 -1
- package/components/mui_extended/Button/{index.19eb272d.js → index.67e1ea7f.js} +3 -3
- package/components/mui_extended/{CheckBox.d6469bd2.js → CheckBox.71c728f8.js} +2 -2
- package/components/mui_extended/IconButton/{index.4134de6f.js → index.4a12de37.js} +2 -2
- package/components/mui_extended/MenuActions/{index.ee8887b7.js → index.b19042b5.js} +5 -5
- package/components/mui_extended/Pager/{index.015df2f9.js → index.8da962a5.js} +4 -4
- package/components/mui_extended/Popover/{index.ab4709b3.js → index.71389b6e.js} +1 -1
- package/components/mui_extended/Stack/{index.53be5d28.js → index.27af6301.js} +1 -1
- package/components/mui_extended/Tab/{index.7abd42e8.js → index.0469b44f.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.a34836ba.js → index.96ae2da5.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.1f4121fa.js → index.a446e702.js} +1 -1
- package/components/mui_extended/Typography/{index.202945af.js → index.978f5554.js} +1 -1
- package/components/popups/PopupsProvider/{index.9a23e1d0.js → index.776c62e7.js} +1 -6
- package/components/popups/PopupsViewer/{index.fb409d20.js → index.a4d6eb40.js} +12 -12
- package/components/popups/PopupsViewer/slots/{index.37ef2263.js → index.154e4e5f.js} +1 -1
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.ff398b8d.js +39 -0
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +1 -6
- package/components/popups/components/PopupsViewer/PopupsViewer.d.ts +4 -3
- package/components/popups/components/PopupsViewer/constants.d.ts +1 -0
- package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +3 -3
- package/components/popups/components/PopupsViewer/slots/slots.d.ts +1 -1
- package/components/popups/components/PopupsViewer/types.d.ts +1 -1
- package/contexts/ModalContext/{index.eb616dfb.js → index.49e5d904.js} +1 -1
- package/contexts/RHFormContext/{index.2ced89c0.js → index.5f9c1c0e.js} +1 -1
- package/hooks/useFormAddEdit/{index.5f204081.js → index.000bf636.js} +2 -2
- package/hooks/useModal/{index.33e4befd.js → index.3c70915b.js} +1 -1
- package/hooks/useTab/{index.bcbaa818.js → index.0e62c5a7.js} +1 -1
- package/index.js +133 -133
- package/package.json +1 -1
- package/{react-draggable.310e3387.js → react-draggable.df62ccbd.js} +1 -1
- package/{react-resizable.3755959b.js → react-resizable.c746880c.js} +2 -2
- package/styles/{DynamicFilter.557ee3a7.js → DynamicFilter.f317726e.js} +1 -1
- package/styles/{index.cabe6a64.js → index.b0676d6a.js} +8 -8
- package/vite-env.d.ts +4 -4
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.00d8493c.js +0 -46
- /package/utils/{index.78d1638f.js → index.ebfbb70f.js} +0 -0
|
@@ -2,9 +2,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { m as modalUtilityClasses } from "./index.81eb6def.js";
|
|
3
3
|
import { useEnvironment } from "@m4l/core";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { I as Icon } from "../Icon/index.
|
|
6
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
7
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
5
|
+
import { I as Icon } from "../Icon/index.0378f7b8.js";
|
|
6
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.4a12de37.js";
|
|
7
|
+
import { u as useModal } from "../../hooks/useModal/index.3c70915b.js";
|
|
8
8
|
const Header = (props) => {
|
|
9
9
|
const { title, onClickCancel, urlIcon, classes } = props;
|
|
10
10
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { A as Actions } from "../CommonActions/components/Actions/index.
|
|
2
|
+
import { A as Actions } from "../CommonActions/components/Actions/index.a31243c7.js";
|
|
3
3
|
import { Typography } from "@mui/material";
|
|
4
4
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
5
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
6
|
-
import { I as Image } from "../Image/index.
|
|
5
|
+
import { u as useModal } from "../../hooks/useModal/index.3c70915b.js";
|
|
6
|
+
import { I as Image } from "../Image/index.7df7536b.js";
|
|
7
7
|
import { m as modalUtilityClasses } from "./index.81eb6def.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.26cb9e19.js";
|
|
9
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.f0e87113.js";
|
|
10
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.f35bee5a.js";
|
|
11
11
|
const dictionary = {
|
|
12
12
|
MESSAGE: "common_actions.confirm_quit_msg"
|
|
13
13
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses, generateUtilityClass, Accordion as Accordion$1, AccordionSummary, AccordionDetails } from "@mui/material";
|
|
3
|
-
import { I as IconButton } from "../IconButton/index.
|
|
3
|
+
import { I as IconButton } from "../IconButton/index.4a12de37.js";
|
|
4
4
|
import { useEnvironment } from "@m4l/core";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { ax as AccordionRoot } from "../../../styles/index.
|
|
6
|
+
import { ax as AccordionRoot } from "../../../styles/index.b0676d6a.js";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
9
9
|
import { g as getNameDataTestId } from "../../../test/getNameDataTestId.0faeade8.js";
|
|
10
|
-
import { I as Icon } from "../../Icon/index.
|
|
11
|
-
import { T as Typography } from "../Typography/index.
|
|
10
|
+
import { I as Icon } from "../../Icon/index.0378f7b8.js";
|
|
11
|
+
import { T as Typography } from "../Typography/index.978f5554.js";
|
|
12
12
|
const componentName = "M4LAccordion";
|
|
13
13
|
generateUtilityClasses(componentName, [
|
|
14
14
|
"root",
|
|
@@ -4,7 +4,7 @@ import { Skeleton, generateUtilityClasses, generateUtilityClass, Avatar as Avata
|
|
|
4
4
|
import { useModuleSkeleton } from "@m4l/core";
|
|
5
5
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { ay as AvatarRoot } from "../../../styles/index.
|
|
7
|
+
import { ay as AvatarRoot } from "../../../styles/index.b0676d6a.js";
|
|
8
8
|
import clsx from "clsx";
|
|
9
9
|
const AVATAR_PREFIX = "M4LAvatar";
|
|
10
10
|
const getNameAvatarDataTestId = (KEY) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses, Badge as Badge$1 } from "@mui/material";
|
|
3
3
|
import "@mui/base";
|
|
4
|
-
import { az as BadgeRoot } from "../../../styles/index.
|
|
4
|
+
import { az as BadgeRoot } from "../../../styles/index.b0676d6a.js";
|
|
5
5
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
6
6
|
const componentName = "M4LBadge";
|
|
7
7
|
const badgeClasses = generateUtilityClasses(componentName, [
|
|
@@ -2,14 +2,14 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass, Skeleton, IconButton, Tooltip } from "@mui/material";
|
|
4
4
|
import MuiButton from "@mui/material/Button";
|
|
5
|
-
import { aA as ButtonRoot, aB as WrapperImageButton, aC as LoadingButtonRoot } from "../../../styles/index.
|
|
5
|
+
import { aA as ButtonRoot, aB as WrapperImageButton, aC as LoadingButtonRoot } from "../../../styles/index.b0676d6a.js";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { useMemo } from "react";
|
|
9
|
-
import { I as Image } from "../../Image/index.
|
|
9
|
+
import { I as Image } from "../../Image/index.7df7536b.js";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
11
11
|
import { LoadingButton as LoadingButton$1 } from "@mui/lab";
|
|
12
|
-
import { T as Typography } from "../Typography/index.
|
|
12
|
+
import { T as Typography } from "../Typography/index.978f5554.js";
|
|
13
13
|
const componentName$2 = "M4LButton";
|
|
14
14
|
const buttonClasses = generateUtilityClasses(componentName$2, [
|
|
15
15
|
"root",
|
|
@@ -5,8 +5,8 @@ import { useResponsiveDesktop } from "@m4l/graphics";
|
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { useModuleSkeleton } from "@m4l/core";
|
|
7
7
|
import { forwardRef } from "react";
|
|
8
|
-
import { aD as CheckBoxRoot } from "../../styles/index.
|
|
9
|
-
import { F as FieldLabel } from "../FieldLabel/index.
|
|
8
|
+
import { aD as CheckBoxRoot } from "../../styles/index.b0676d6a.js";
|
|
9
|
+
import { F as FieldLabel } from "../FieldLabel/index.c35e5984.js";
|
|
10
10
|
const COMPONENT_CLASS_NAME = "M4LCheckBox";
|
|
11
11
|
generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
12
12
|
"root",
|
|
@@ -2,8 +2,8 @@ import { jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo, useState } from "react";
|
|
3
3
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
4
4
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, Tooltip, IconButton as IconButton$1 } from "@mui/material";
|
|
5
|
-
import { I as Icon } from "../../Icon/index.
|
|
6
|
-
import { aE as IconButtonRoot } from "../../../styles/index.
|
|
5
|
+
import { I as Icon } from "../../Icon/index.0378f7b8.js";
|
|
6
|
+
import { aE as IconButtonRoot } from "../../../styles/index.b0676d6a.js";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
8
|
import clsx from "clsx";
|
|
9
9
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
@@ -2,13 +2,13 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default, { useState, useEffect, useMemo } from "react";
|
|
3
3
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass, useTheme, MenuItem } from "@mui/material";
|
|
5
|
-
import { P as Popover } from "../Popover/index.
|
|
6
|
-
import { aF as LabelMemuItem } from "../../../styles/index.
|
|
7
|
-
import { I as Icon } from "../../Icon/index.
|
|
5
|
+
import { P as Popover } from "../Popover/index.71389b6e.js";
|
|
6
|
+
import { aF as LabelMemuItem } from "../../../styles/index.b0676d6a.js";
|
|
7
|
+
import { I as Icon } from "../../Icon/index.0378f7b8.js";
|
|
8
8
|
import clsx from "clsx";
|
|
9
9
|
import { unstable_composeClasses } from "@mui/base";
|
|
10
|
-
import { B as Badge } from "../Badge/index.
|
|
11
|
-
import { I as IconButton } from "../IconButton/index.
|
|
10
|
+
import { B as Badge } from "../Badge/index.ef803787.js";
|
|
11
|
+
import { I as IconButton } from "../IconButton/index.4a12de37.js";
|
|
12
12
|
const ICONS = {
|
|
13
13
|
MENU: "menu.svg"
|
|
14
14
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
|
-
import { aG as PagerRoot } from "../../../styles/index.
|
|
3
|
+
import { aG as PagerRoot } from "../../../styles/index.b0676d6a.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass, useTheme, Select, InputBase, MenuItem } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { I as IconButton } from "../IconButton/index.
|
|
6
|
+
import { I as IconButton } from "../IconButton/index.4a12de37.js";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
8
|
import { useResponsiveContainerStore } from "@m4l/graphics";
|
|
9
9
|
import { shallow } from "zustand/shallow";
|
|
10
|
-
import { T as Typography } from "../Typography/index.
|
|
11
|
-
import { I as Icon } from "../../Icon/index.
|
|
10
|
+
import { T as Typography } from "../Typography/index.978f5554.js";
|
|
11
|
+
import { I as Icon } from "../../Icon/index.0378f7b8.js";
|
|
12
12
|
const componentName = "M4LPager";
|
|
13
13
|
generateUtilityClasses(componentName, [
|
|
14
14
|
"root",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { aH as PopoverRoot } from "../../../styles/index.
|
|
2
|
+
import { aH as PopoverRoot } from "../../../styles/index.b0676d6a.js";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import { aI as MUISTack } from "../../../styles/index.
|
|
4
|
+
import { aI as MUISTack } from "../../../styles/index.b0676d6a.js";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
const componentName = "M4LStack";
|
|
7
7
|
generateUtilityClasses(componentName, [
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass, Tab as Tab$1, Skeleton } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { aJ as MUITabs, aK as TabContentRoot, aL as TabRoot, aM as SKTTabWrapper } from "../../../styles/index.
|
|
5
|
+
import { aJ as MUITabs, aK as TabContentRoot, aL as TabRoot, aM as SKTTabWrapper } from "../../../styles/index.b0676d6a.js";
|
|
6
6
|
import { useModuleSkeleton } from "@m4l/core";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
import { g as getNameDataTestId } from "../../../test/getNameDataTestId.0faeade8.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { B as Button, b as buttonClasses } from "../Button/index.
|
|
3
|
+
import { B as Button, b as buttonClasses } from "../Button/index.67e1ea7f.js";
|
|
4
4
|
import { w as withToggle } from "../../../hocs/withToggle/index.548aeace.js";
|
|
5
5
|
const ToggleAbleButton = ({ onToggle, isToggled, ...props }) => {
|
|
6
6
|
return /* @__PURE__ */ jsx(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { I as IconButton, i as iconButtonClasses } from "../IconButton/index.
|
|
3
|
+
import { I as IconButton, i as iconButtonClasses } from "../IconButton/index.4a12de37.js";
|
|
4
4
|
import { w as withToggle } from "../../../hocs/withToggle/index.548aeace.js";
|
|
5
5
|
const ToggleAbleIconButton = ({
|
|
6
6
|
onToggle,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, Typography as Typography$1 } from "@mui/material";
|
|
4
|
-
import { aN as WarpperTypography } from "../../../styles/index.
|
|
4
|
+
import { aN as WarpperTypography } from "../../../styles/index.b0676d6a.js";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
@@ -22,15 +22,10 @@ const createPopupsStore = (initProps) => {
|
|
|
22
22
|
popupsActions: {
|
|
23
23
|
init: (initialPopups) => {
|
|
24
24
|
set((state) => {
|
|
25
|
-
let maxZindex = state.baseZindex;
|
|
26
25
|
for (let index = 0; index < initialPopups.length; index++) {
|
|
27
26
|
state.hashPopups[initialPopups[index].popupId] = cloneDeep(initialPopups[index]);
|
|
28
27
|
state.popupsIds.push(initialPopups[index].popupId);
|
|
29
|
-
if (initialPopups[index].zIndex > maxZindex) {
|
|
30
|
-
maxZindex = initialPopups[index].zIndex;
|
|
31
|
-
}
|
|
32
28
|
}
|
|
33
|
-
state.currentZindex = maxZindex + 1;
|
|
34
29
|
});
|
|
35
30
|
},
|
|
36
31
|
addPopup: (popupProps, options) => {
|
|
@@ -108,7 +103,7 @@ const createPopupsStore = (initProps) => {
|
|
|
108
103
|
state.hashPopups[popupId].status = "hidden";
|
|
109
104
|
});
|
|
110
105
|
},
|
|
111
|
-
|
|
106
|
+
setPopupOnTop: (popupId) => {
|
|
112
107
|
if (!get().hashPopups[popupId]) {
|
|
113
108
|
return;
|
|
114
109
|
}
|
|
@@ -3,21 +3,24 @@ import { TransitionGroup, CSSTransition } from "react-transition-group";
|
|
|
3
3
|
import { shallow } from "zustand/shallow";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import { useEnvironment } from "@m4l/core";
|
|
6
|
-
import { u as usePopupsStore } from "../PopupsProvider/index.
|
|
6
|
+
import { u as usePopupsStore } from "../PopupsProvider/index.776c62e7.js";
|
|
7
7
|
import { P as POPUPS_ICONS } from "./icons.066abd43.js";
|
|
8
|
-
import { P as PopupHeaderContainerStyled, a as PopupHeaderTitleStyled, b as PopupHeaderSubTitleStyled, c as PopupContentEditionInfoStyled, d as PopupDragWindowRootStyled, e as PopupContentRootStyled, f as PopupContentWrapperStyled, R as RootStyled } from "./slots/popupsViewerSlots.
|
|
9
|
-
import { d as draggableWindowClasses } from "../../DragResizeWindow/index.
|
|
10
|
-
import { I as Icon } from "../../Icon/index.
|
|
11
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
8
|
+
import { P as PopupHeaderContainerStyled, a as PopupHeaderTitleStyled, b as PopupHeaderSubTitleStyled, c as PopupContentEditionInfoStyled, d as PopupDragWindowRootStyled, e as PopupContentRootStyled, f as PopupContentWrapperStyled, R as RootStyled } from "./slots/popupsViewerSlots.ff398b8d.js";
|
|
9
|
+
import { d as draggableWindowClasses } from "../../DragResizeWindow/index.2d36bbda.js";
|
|
10
|
+
import { I as Icon } from "../../Icon/index.0378f7b8.js";
|
|
11
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.4a12de37.js";
|
|
12
12
|
import { u as useSizeContainer } from "../../../hooks/useSizeContainer/index.3c48670c.js";
|
|
13
13
|
const Header = (props) => {
|
|
14
14
|
const { popupId } = props;
|
|
15
15
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
16
16
|
const popup = usePopupsStore((state) => state.hashPopups[popupId], shallow);
|
|
17
|
-
const {
|
|
17
|
+
const {
|
|
18
|
+
status,
|
|
19
|
+
subTitle,
|
|
20
|
+
zIndex
|
|
21
|
+
} = popup || {};
|
|
18
22
|
const ownerState = {
|
|
19
23
|
status,
|
|
20
|
-
variant,
|
|
21
24
|
subTitle,
|
|
22
25
|
zIndex
|
|
23
26
|
};
|
|
@@ -68,13 +71,12 @@ const EditionInfo = (props) => {
|
|
|
68
71
|
const Popup = forwardRef((props, ref) => {
|
|
69
72
|
const { popupId, containerElement, containerSize, style } = props;
|
|
70
73
|
const popup = usePopupsStore((state) => state.hashPopups[popupId], shallow);
|
|
71
|
-
const {
|
|
74
|
+
const { setPopupOnTop } = usePopupsStore((state) => state.popupsActions, shallow);
|
|
72
75
|
const {
|
|
73
76
|
status,
|
|
74
77
|
subTitle,
|
|
75
78
|
editionInfo,
|
|
76
79
|
zIndex,
|
|
77
|
-
variant = "normal",
|
|
78
80
|
draggable = true,
|
|
79
81
|
resizable = true,
|
|
80
82
|
defaultPosition,
|
|
@@ -84,13 +86,11 @@ const Popup = forwardRef((props, ref) => {
|
|
|
84
86
|
} = popup || {};
|
|
85
87
|
const ownerState = {
|
|
86
88
|
status,
|
|
87
|
-
variant,
|
|
88
89
|
subTitle,
|
|
89
90
|
editionInfo,
|
|
90
91
|
zIndex
|
|
91
92
|
};
|
|
92
93
|
const onMouseDownLocal = (e) => {
|
|
93
|
-
console.log("onMouseDownLocal", popupId);
|
|
94
94
|
setPopupOnTop(popupId);
|
|
95
95
|
if (onMouseDown) {
|
|
96
96
|
onMouseDown(e);
|
|
@@ -112,7 +112,7 @@ const Popup = forwardRef((props, ref) => {
|
|
|
112
112
|
draggable,
|
|
113
113
|
resizeable: resizable,
|
|
114
114
|
defaultPosition,
|
|
115
|
-
style
|
|
115
|
+
style,
|
|
116
116
|
...others,
|
|
117
117
|
children: [
|
|
118
118
|
/* @__PURE__ */ jsx(Header, { popupId: popup.popupId }),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var PopupViewerSlots = /* @__PURE__ */ ((PopupViewerSlots2) => {
|
|
2
2
|
PopupViewerSlots2["root"] = "root";
|
|
3
|
-
PopupViewerSlots2["popupDragWindowRoot"] = "
|
|
3
|
+
PopupViewerSlots2["popupDragWindowRoot"] = "popupRoot";
|
|
4
4
|
PopupViewerSlots2["pDWHeaderContainer"] = "pDWHeaderContainer";
|
|
5
5
|
PopupViewerSlots2["pDWHeaderTitle"] = "pDWHeaderTitle";
|
|
6
6
|
PopupViewerSlots2["pDWHeaderSubTitle"] = "pDWHeaderSubTitle";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { styled } from "@mui/material/styles";
|
|
2
|
+
import { P as POPUPS_VIEWER_KEY_COMPONENT } from "../constants.29247547.js";
|
|
3
|
+
import { aO as popupsViewerStyles } from "../../../../styles/index.b0676d6a.js";
|
|
4
|
+
import { P as PopupViewerSlots } from "./index.154e4e5f.js";
|
|
5
|
+
import { D as DragResizeWindow } from "../../../DragResizeWindow/index.2d36bbda.js";
|
|
6
|
+
const RootStyled = styled("div", { name: POPUPS_VIEWER_KEY_COMPONENT, slot: PopupViewerSlots.root })(
|
|
7
|
+
popupsViewerStyles?.root
|
|
8
|
+
);
|
|
9
|
+
const PopupDragWindowRootStyled = styled(DragResizeWindow, { name: POPUPS_VIEWER_KEY_COMPONENT, slot: PopupViewerSlots.root })(
|
|
10
|
+
popupsViewerStyles?.popupDragWindowRoot
|
|
11
|
+
);
|
|
12
|
+
const PopupContentEditionInfoStyled = styled("div", { name: POPUPS_VIEWER_KEY_COMPONENT, slot: PopupViewerSlots.root })(
|
|
13
|
+
popupsViewerStyles?.pDWContentEditionInfo
|
|
14
|
+
);
|
|
15
|
+
const PopupHeaderContainerStyled = styled("div", { name: POPUPS_VIEWER_KEY_COMPONENT, slot: PopupViewerSlots.root })(
|
|
16
|
+
popupsViewerStyles?.pDWHeaderContainer
|
|
17
|
+
);
|
|
18
|
+
const PopupHeaderTitleStyled = styled("span", { name: POPUPS_VIEWER_KEY_COMPONENT, slot: PopupViewerSlots.root })(
|
|
19
|
+
popupsViewerStyles?.pDWHeaderTitle
|
|
20
|
+
);
|
|
21
|
+
const PopupHeaderSubTitleStyled = styled("span", { name: POPUPS_VIEWER_KEY_COMPONENT, slot: PopupViewerSlots.root })(
|
|
22
|
+
popupsViewerStyles?.pDWHeaderSubTitle
|
|
23
|
+
);
|
|
24
|
+
const PopupContentRootStyled = styled("div", { name: POPUPS_VIEWER_KEY_COMPONENT, slot: PopupViewerSlots.root })(
|
|
25
|
+
popupsViewerStyles?.pDWContentRoot
|
|
26
|
+
);
|
|
27
|
+
const PopupContentWrapperStyled = styled("div", { name: POPUPS_VIEWER_KEY_COMPONENT, slot: PopupViewerSlots.root })(
|
|
28
|
+
popupsViewerStyles?.pDWContentWrapper
|
|
29
|
+
);
|
|
30
|
+
export {
|
|
31
|
+
PopupHeaderContainerStyled as P,
|
|
32
|
+
RootStyled as R,
|
|
33
|
+
PopupHeaderTitleStyled as a,
|
|
34
|
+
PopupHeaderSubTitleStyled as b,
|
|
35
|
+
PopupContentEditionInfoStyled as c,
|
|
36
|
+
PopupDragWindowRootStyled as d,
|
|
37
|
+
PopupContentRootStyled as e,
|
|
38
|
+
PopupContentWrapperStyled as f
|
|
39
|
+
};
|
|
@@ -2,7 +2,6 @@ import { GetLabelType } from '@m4l/core';
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { DraggableWindowProps } from '../../../../../DragResizeWindow/types';
|
|
4
4
|
import { PopupStatus } from '../../../PopupsViewer/types';
|
|
5
|
-
export declare type PopupVariantType = 'normal' | 'small' | 'large';
|
|
6
5
|
export interface PopupStoreProps extends Pick<DraggableWindowProps, 'bounds' | 'defaultPosition'> {
|
|
7
6
|
/**
|
|
8
7
|
* "popupId" Indetificador del popupId
|
|
@@ -12,10 +11,6 @@ export interface PopupStoreProps extends Pick<DraggableWindowProps, 'bounds' | '
|
|
|
12
11
|
* "status" Estado del popup
|
|
13
12
|
*/
|
|
14
13
|
status: PopupStatus;
|
|
15
|
-
/**
|
|
16
|
-
* "variant" Variante del popup
|
|
17
|
-
*/
|
|
18
|
-
variant?: PopupVariantType;
|
|
19
14
|
/**
|
|
20
15
|
* "iconUrl" Icono de la ventan
|
|
21
16
|
*/
|
|
@@ -133,7 +128,7 @@ export interface PopupsStateWithActions extends PopupsStore {
|
|
|
133
128
|
/**
|
|
134
129
|
* @description Pone el popup con zIndex igual a currentIndex y lo amuneta en uno.
|
|
135
130
|
*/
|
|
136
|
-
|
|
131
|
+
setPopupOnTop: (popupId: string) => void;
|
|
137
132
|
/**
|
|
138
133
|
* @description Actualiza la variable de estado "getLabel"
|
|
139
134
|
* @param newHandler handle o función que va a traducir las etiquetas, esto es necesario debido que getLabel de useModuleDictionary
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Visor de poups, cuyo funcionamineto depende de PoupsProvider.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* @description Visor de poups, cuyo funcionamineto depende del proveedor de popups. PoupsProvider.
|
|
3
|
+
* Utiliza la librería de tranciones para animar la apertura y cierre de los popups.
|
|
4
|
+
* @param props
|
|
5
|
+
* @returns
|
|
5
6
|
*/
|
|
6
7
|
export declare const PopupsViewer: () => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -5,6 +5,9 @@ export declare const RootStyled: import("@emotion/styled").StyledComponent<impor
|
|
|
5
5
|
export declare const PopupDragWindowRootStyled: import("@emotion/styled").StyledComponent<Pick<import("../../../../DragResizeWindow/types").DraggableWindowProps & import("react").RefAttributes<HTMLDivElement>, keyof import("../../../../DragResizeWindow/types").DraggableWindowProps | keyof import("react").RefAttributes<HTMLDivElement>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown> & {
|
|
6
6
|
ownerState: Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown>;
|
|
7
7
|
}, {}, {}>;
|
|
8
|
+
export declare const PopupContentEditionInfoStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown> & {
|
|
9
|
+
ownerState: Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown>;
|
|
10
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
8
11
|
export declare const PopupHeaderContainerStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown> & {
|
|
9
12
|
ownerState: Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown>;
|
|
10
13
|
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -14,9 +17,6 @@ export declare const PopupHeaderTitleStyled: import("@emotion/styled").StyledCom
|
|
|
14
17
|
export declare const PopupHeaderSubTitleStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown> & {
|
|
15
18
|
ownerState: Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown>;
|
|
16
19
|
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("react").ClassAttributes<HTMLSpanElement> | keyof import("react").HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
17
|
-
export declare const PopupContentEditionInfoStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown> & {
|
|
18
|
-
ownerState: Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown>;
|
|
19
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
20
20
|
export declare const PopupContentRootStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown> & {
|
|
21
21
|
ownerState: Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown>;
|
|
22
22
|
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -6,7 +6,7 @@ import { PopupStoreProps, PopupsStore } from '../PopupsProvider/contexts/PopupsC
|
|
|
6
6
|
export declare type PopupViewerSlotsType = keyof typeof PopupViewerSlots;
|
|
7
7
|
export declare type PopupsViewerProps = {};
|
|
8
8
|
export declare type PopupStatus = 'init' | 'closing' | 'hidden';
|
|
9
|
-
export interface PopupOwnerState extends Pick<PopupStoreProps, 'status' | 'subTitle' | 'editionInfo' | 'zIndex'
|
|
9
|
+
export interface PopupOwnerState extends Pick<PopupStoreProps, 'status' | 'subTitle' | 'editionInfo' | 'zIndex'> {
|
|
10
10
|
/**
|
|
11
11
|
* "isMobile" cuando el navegador está corriendo en dispositivo móvil
|
|
12
12
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { createContext, useState } from "react";
|
|
3
|
-
import { M as ModalDialog } from "../../components/ModalDialog/index.
|
|
3
|
+
import { M as ModalDialog } from "../../components/ModalDialog/index.3cf272e0.js";
|
|
4
4
|
const ModalContext = createContext(null);
|
|
5
5
|
function ModalProvider({ children }) {
|
|
6
6
|
const [modalOptions, setModalOptions] = useState({
|
|
@@ -3,7 +3,7 @@ import { useEffect } from "react";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { useForm, FormProvider } from "react-hook-form";
|
|
5
5
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
6
|
-
import { aP as FormProviderRoot } from "../../styles/index.
|
|
6
|
+
import { aP as FormProviderRoot } from "../../styles/index.b0676d6a.js";
|
|
7
7
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
const componentName = "M4LRHFormProvider";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useNetwork, useFlagsStore, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
|
-
import { u as useModal } from "../useModal/index.
|
|
5
|
-
import { W as WindowConfirm } from "../../components/modal/WindowConfirm.
|
|
4
|
+
import { u as useModal } from "../useModal/index.3c70915b.js";
|
|
5
|
+
import { W as WindowConfirm } from "../../components/modal/WindowConfirm.ffee7475.js";
|
|
6
6
|
function useFormAddEdit(props) {
|
|
7
7
|
const {
|
|
8
8
|
initialValues,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { a as ModalContext } from "../../contexts/ModalContext/index.
|
|
2
|
+
import { a as ModalContext } from "../../contexts/ModalContext/index.49e5d904.js";
|
|
3
3
|
function useModal() {
|
|
4
4
|
const context = useContext(ModalContext);
|
|
5
5
|
if (!context)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { d as TabContext } from "../../components/mui_extended/Tab/index.
|
|
2
|
+
import { d as TabContext } from "../../components/mui_extended/Tab/index.0469b44f.js";
|
|
3
3
|
const useTab = () => {
|
|
4
4
|
const context = useContext(TabContext);
|
|
5
5
|
if (context === null) {
|