@m4l/components 2.0.2 → 2.0.4
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 +37 -34
- package/components/AccountPopover/{index.68a8c117.js → index.323b6cf4.js} +3 -3
- package/components/AppBar/{index.09ac84de.js → index.209841e1.js} +4 -4
- package/components/BaseModule/{index.51f3fd59.js → index.aee40a28.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index.f6c15443.js → index.797d8195.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.33d49d50.js → index.d6776091.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.0e78a223.js → index.2af9a15d.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.73b33789.js → index.865af0d8.js} +2 -2
- package/components/CommonActions/components/Actions/{index.c7fab394.js → index.841f1da0.js} +2 -2
- package/components/DataGrid/assets/icons/datagrid.svg +4 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.0a1b3610.js → index.5dac4b66.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.30890ddd.js → index.12d2461f.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.9aa14799.js → index.7234f4b9.js} +1 -1
- package/components/DataGrid/formatters/{index.90ed715b.js → index.93458be0.js} +2 -2
- package/components/DataGrid/{index.58b8d903.js → index.fa8634c0.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.ea70129c.js → index.5ff19f99.js} +11 -11
- package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
- package/components/DragResizeWindow/{index.8c51fb79.js → index.c0382188.js} +5 -9
- package/components/DynamicFilter/{dictionary.10bebb21.js → dictionary.d36bea70.js} +2 -2
- package/components/DynamicFilter/{index.a978aea9.js → index.5d0688b9.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.26eaa1b1.js → dynamicFilterSlots.58ee518d.js} +6 -6
- package/components/DynamicFilter/store/{index.81a5dd49.js → index.2c9704ee.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.bc09a76f.js → index.faf637d6.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.891b913a.js → index.e1008442.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.8fbcaf0f.js → index.246c1304.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.699a1d82.js → index.5c3063f2.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.59293b05.js → index.cc477a59.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.ca652641.js → index.88bb0dee.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.22eac312.js → index.eec7fa42.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.3e2ae583.js → index.50a0dfb9.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.0abab72e.js → index.06fb696b.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.06e8baff.js → index.415b11e6.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.b312fd70.js → index.46905747.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.eeb15b54.js → index.fe51263d.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.43857f7a.js → index.0b52a455.js} +2 -2
- package/components/FieldLabel/{index.2aaaac6f.js → index.13a833c9.js} +4 -4
- package/components/GridLayout/{index.2f9a1cff.js → index.95c84243.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.f904e69e.js → index.99bf4b5c.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.ef62bea3.js → index.83d6fc44.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.2707f196.js → index.bf9a859a.js} +1 -1
- package/components/HelperText/{index.25891eda.js → index.83b28429.js} +2 -2
- package/components/Icon/{index.89dba21c.js → index.f9cd9367.js} +3 -3
- package/components/Image/{index.94949e55.js → index.eec95206.js} +2 -2
- package/components/LanguagePopover/{index.54aff144.js → index.becad7ef.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.e25f9201.js → index.87be4283.js} +2 -2
- package/components/LoadingError/{index.ef15a461.js → index.8b7a3162.js} +5 -5
- package/components/MFIsolationApp/{index.083fad1c.js → index.d20c8218.js} +2 -2
- package/components/MFLoader/{index.342598a8.js → index.3e7b4cb5.js} +2 -2
- package/components/ModalDialog/{index.545ef5eb.js → index.ec0ab622.js} +4 -4
- package/components/NavLink/{index.6a6f3671.js → index.cca2c605.js} +2 -2
- package/components/NoItemSelected/{index.0d1e8d29.js → index.fa49cac5.js} +1 -1
- package/components/ObjectLogs/{index.32555956.js → index.f70e0c0c.js} +9 -9
- package/components/PDFViewer/{index.e909be56.js → index.cdc90184.js} +2 -2
- package/components/Page/{index.d42de29f.js → index.4759d66c.js} +1 -1
- package/components/PaperForm/{index.dbcbd677.js → index.5cc98ed7.js} +2 -2
- package/components/Period/{index.76c4e428.js → index.6b0b98c1.js} +4 -4
- package/components/PrintingSystem/{index.3381ece1.js → index.0acacf1b.js} +14 -14
- package/components/PrintingSystem/subcomponents/BodyNode/{index.da4c231c.js → index.779838e5.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.4871c76e.js → index.6a572f3d.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.f768c90f.js → index.a121da0d.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.725664fd.js → index.0775edc0.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.caebf8e6.js → index.8d196cc6.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.a5f20406.js → index.1542db42.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.6d2ed690.js → index.34e7cd43.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.ec9d332c.js → index.8f42fe69.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.e9449a3f.js → index.9a39e104.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.bf55f5a7.js → index.73fb8756.js} +1 -1
- package/components/PropertyValue/{index.9dd592cd.js → index.d1ca87c1.js} +3 -3
- package/components/Resizeable/{index.6cbe80f0.js → index.c2f229d6.js} +1 -1
- package/components/ScrollBar/{index.aedb43d9.js → index.424bd908.js} +1 -1
- package/components/SideBar/{index.edd76204.js → index.2ce72f65.js} +6 -6
- package/components/SplitLayout/{index.5289a660.js → index.4265a602.js} +1 -1
- package/components/ToastContainer/{index.8f9f75e9.js → index.b5413d7f.js} +3 -3
- package/components/animate/LoadingScreen/{index.c5cf3b93.js → index.20b1f443.js} +1 -1
- package/components/animate/{index.9c9ee071.js → index.680f5895.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.a52bb40d.js → index.b41fe898.js} +15 -15
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +1 -0
- package/components/areas/components/AreasViewer/{index.de8df5d3.js → index.be5f5a9d.js} +73 -36
- package/components/areas/contexts/AreasContext/{index.514df5ff.js → index.e4be3c65.js} +4 -4
- package/components/areas/hooks/useAreas/{index.6c943645.js → index.ce08327d.js} +1 -1
- package/components/areas/types.d.ts +1 -1
- package/components/commercial/AppBarCommercial/{index.cac50795.js → index.372ea01e.js} +2 -2
- package/components/commercial/SectionCommercial/{index.c967ba14.js → index.026cc71f.js} +2 -2
- package/components/commercial/TopBar/{index.85568231.js → index.fff88136.js} +6 -6
- package/components/commercial/{index.d872094e.js → index.1ea39cc1.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.1da1e6b0.js → index.c29c63fc.js} +2 -2
- package/components/formatters/{index.ac081b3a.js → index.5f44ed46.js} +2 -2
- package/components/hook-form/HelperError/{index.296a4c82.js → index.f2b943ae.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.b1c29dd0.js → index.3f11b4dd.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index.fb434e68.js → index.60003c6b.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.140d872f.js → index.3ce32b03.js} +3 -3
- package/components/hook-form/RHFCheckbox/styles.d.ts +1 -1
- package/components/hook-form/RHFColorPicker/{index.3eb719ac.js → index.21ae7dca.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.54f97b37.js → index.0d2b3d0a.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.c8238ea4.js → index.c950b5d0.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index.78ec0e22.js → index.87be90b7.js} +1 -1
- package/components/hook-form/RHFTextField/{index.984a4dba.js → index.7f95edb6.js} +5 -5
- package/components/hook-form/RHFUpload/{index.0516dc8f.js → index.13724496.js} +5 -5
- package/components/maps/components/GpsTools/{index.779e5b17.js → index.6da62b64.js} +23 -23
- package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
- package/components/maps/components/Map/{index.14ce256b.js → index.9c3b3cd0.js} +42 -35
- package/components/maps/leaflet-geoman.d.ts +1476 -1476
- package/components/modal/{WindowBase.a6654e8c.js → WindowBase.6c15797f.js} +3 -3
- package/components/modal/{WindowConfirm.38a79eee.js → WindowConfirm.0d48420b.js} +6 -6
- package/components/mui_extended/Accordion/{index.0e62423b.js → index.fd738d87.js} +4 -4
- package/components/mui_extended/Avatar/{index.edcf899d.js → index.c7b7541f.js} +1 -1
- package/components/mui_extended/Badge/{index.a6dceff2.js → index.cb26549b.js} +1 -1
- package/components/mui_extended/Button/{index.9c6c173c.js → index.19eb272d.js} +3 -3
- package/components/mui_extended/Button/styles.d.ts +1 -1
- package/components/mui_extended/{CheckBox.9d43398b.js → CheckBox.d6469bd2.js} +2 -2
- package/components/mui_extended/IconButton/{index.42efd85d.js → index.4134de6f.js} +2 -2
- package/components/mui_extended/MenuActions/{index.b1f8a1be.js → index.ee8887b7.js} +5 -5
- package/components/mui_extended/Pager/{index.3687d8b6.js → index.015df2f9.js} +4 -4
- package/components/mui_extended/Popover/{index.58f8522b.js → index.ab4709b3.js} +1 -1
- package/components/mui_extended/Stack/{index.b0690398.js → index.53be5d28.js} +1 -1
- package/components/mui_extended/Tab/{index.8a0bd49c.js → index.7abd42e8.js} +1 -1
- package/components/mui_extended/Tabs/styles.d.ts +1 -1
- package/components/mui_extended/ToggleButton/{index.c4e62f10.js → index.a34836ba.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.7635e223.js → index.1f4121fa.js} +1 -1
- package/components/mui_extended/Typography/{index.24a872e2.js → index.202945af.js} +1 -1
- package/components/popups/PopupsProvider/{index.776c62e7.js → index.9a23e1d0.js} +6 -1
- package/components/popups/PopupsViewer/{index.eaa54c6c.js → index.fb409d20.js} +12 -12
- package/components/popups/PopupsViewer/slots/{index.154e4e5f.js → index.37ef2263.js} +1 -1
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.00d8493c.js +46 -0
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +6 -1
- package/components/popups/components/PopupsViewer/PopupsViewer.d.ts +3 -4
- package/components/popups/components/PopupsViewer/constants.d.ts +0 -1
- 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.7f4d2b18.js → index.eb616dfb.js} +1 -1
- package/contexts/RHFormContext/{index.19edaacb.js → index.2ced89c0.js} +1 -1
- package/hooks/useFormAddEdit/{index.aa9cc210.js → index.5f204081.js} +2 -2
- package/hooks/useModal/{index.a2a50f01.js → index.33e4befd.js} +1 -1
- package/hooks/useTab/{index.c0a8f413.js → index.bcbaa818.js} +1 -1
- package/index.js +133 -133
- package/package.json +1 -1
- package/{react-draggable.1c1ba224.js → react-draggable.310e3387.js} +1 -1
- package/{react-resizable.a59c14f4.js → react-resizable.3755959b.js} +2 -2
- package/styles/{DynamicFilter.27c16026.js → DynamicFilter.557ee3a7.js} +1 -1
- package/styles/{index.59da2f54.js → index.cabe6a64.js} +19 -11
- package/vite-env.d.ts +4 -4
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.45032030.js +0 -39
- /package/utils/{index.14912462.js → index.78d1638f.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.f9cd9367.js";
|
|
6
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.4134de6f.js";
|
|
7
|
+
import { u as useModal } from "../../hooks/useModal/index.33e4befd.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.841f1da0.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.33e4befd.js";
|
|
6
|
+
import { I as Image } from "../Image/index.eec95206.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.6c15797f.js";
|
|
9
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.797d8195.js";
|
|
10
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.865af0d8.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.4134de6f.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.cabe6a64.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.f9cd9367.js";
|
|
11
|
+
import { T as Typography } from "../Typography/index.202945af.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.cabe6a64.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.cabe6a64.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.cabe6a64.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.eec95206.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.202945af.js";
|
|
13
13
|
const componentName$2 = "M4LButton";
|
|
14
14
|
const buttonClasses = generateUtilityClasses(componentName$2, [
|
|
15
15
|
"root",
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
export declare const ButtonRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
3
|
export declare const SKTButton: import("@emotion/styled").StyledComponent<import("@mui/material").SkeletonOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
4
4
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
5
|
-
}, "style" | "children" | "width" | "className" | "height" | "animation" | "
|
|
5
|
+
}, "style" | "children" | "width" | "className" | "height" | "animation" | "variant" | "sx" | "classes"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -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.cabe6a64.js";
|
|
9
|
+
import { F as FieldLabel } from "../FieldLabel/index.13a833c9.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.f9cd9367.js";
|
|
6
|
+
import { aE as IconButtonRoot } from "../../../styles/index.cabe6a64.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.ab4709b3.js";
|
|
6
|
+
import { aF as LabelMemuItem } from "../../../styles/index.cabe6a64.js";
|
|
7
|
+
import { I as Icon } from "../../Icon/index.f9cd9367.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.cb26549b.js";
|
|
11
|
+
import { I as IconButton } from "../IconButton/index.4134de6f.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.cabe6a64.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.4134de6f.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.202945af.js";
|
|
11
|
+
import { I as Icon } from "../../Icon/index.f9cd9367.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.cabe6a64.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.cabe6a64.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.cabe6a64.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,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const MUITabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, "value" | "style" | "onChange" | "children" | "aria-label" | "aria-labelledby" | "className" | "action" | "
|
|
4
|
+
}, "value" | "style" | "onChange" | "children" | "aria-label" | "aria-labelledby" | "className" | "action" | "variant" | "sx" | "classes" | "slotProps" | "slots" | "orientation" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -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.19eb272d.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.4134de6f.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.cabe6a64.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,10 +22,15 @@ const createPopupsStore = (initProps) => {
|
|
|
22
22
|
popupsActions: {
|
|
23
23
|
init: (initialPopups) => {
|
|
24
24
|
set((state) => {
|
|
25
|
+
let maxZindex = state.baseZindex;
|
|
25
26
|
for (let index = 0; index < initialPopups.length; index++) {
|
|
26
27
|
state.hashPopups[initialPopups[index].popupId] = cloneDeep(initialPopups[index]);
|
|
27
28
|
state.popupsIds.push(initialPopups[index].popupId);
|
|
29
|
+
if (initialPopups[index].zIndex > maxZindex) {
|
|
30
|
+
maxZindex = initialPopups[index].zIndex;
|
|
31
|
+
}
|
|
28
32
|
}
|
|
33
|
+
state.currentZindex = maxZindex + 1;
|
|
29
34
|
});
|
|
30
35
|
},
|
|
31
36
|
addPopup: (popupProps, options) => {
|
|
@@ -103,7 +108,7 @@ const createPopupsStore = (initProps) => {
|
|
|
103
108
|
state.hashPopups[popupId].status = "hidden";
|
|
104
109
|
});
|
|
105
110
|
},
|
|
106
|
-
|
|
111
|
+
setPopupOnFront: (popupId) => {
|
|
107
112
|
if (!get().hashPopups[popupId]) {
|
|
108
113
|
return;
|
|
109
114
|
}
|
|
@@ -3,24 +3,21 @@ 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.9a23e1d0.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.00d8493c.js";
|
|
9
|
+
import { d as draggableWindowClasses } from "../../DragResizeWindow/index.c0382188.js";
|
|
10
|
+
import { I as Icon } from "../../Icon/index.f9cd9367.js";
|
|
11
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.4134de6f.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 {
|
|
18
|
-
status,
|
|
19
|
-
subTitle,
|
|
20
|
-
zIndex
|
|
21
|
-
} = popup || {};
|
|
17
|
+
const { status, subTitle, zIndex, variant } = popup || {};
|
|
22
18
|
const ownerState = {
|
|
23
19
|
status,
|
|
20
|
+
variant,
|
|
24
21
|
subTitle,
|
|
25
22
|
zIndex
|
|
26
23
|
};
|
|
@@ -71,12 +68,13 @@ const EditionInfo = (props) => {
|
|
|
71
68
|
const Popup = forwardRef((props, ref) => {
|
|
72
69
|
const { popupId, containerElement, containerSize, style } = props;
|
|
73
70
|
const popup = usePopupsStore((state) => state.hashPopups[popupId], shallow);
|
|
74
|
-
const { setPopupOnTop } = usePopupsStore((state) => state.popupsActions, shallow);
|
|
71
|
+
const { setPopupOnFront: setPopupOnTop } = usePopupsStore((state) => state.popupsActions, shallow);
|
|
75
72
|
const {
|
|
76
73
|
status,
|
|
77
74
|
subTitle,
|
|
78
75
|
editionInfo,
|
|
79
76
|
zIndex,
|
|
77
|
+
variant = "normal",
|
|
80
78
|
draggable = true,
|
|
81
79
|
resizable = true,
|
|
82
80
|
defaultPosition,
|
|
@@ -86,11 +84,13 @@ const Popup = forwardRef((props, ref) => {
|
|
|
86
84
|
} = popup || {};
|
|
87
85
|
const ownerState = {
|
|
88
86
|
status,
|
|
87
|
+
variant,
|
|
89
88
|
subTitle,
|
|
90
89
|
editionInfo,
|
|
91
90
|
zIndex
|
|
92
91
|
};
|
|
93
92
|
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: { ...style, zIndex },
|
|
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"] = "popupDragWindowRoot";
|
|
4
4
|
PopupViewerSlots2["pDWHeaderContainer"] = "pDWHeaderContainer";
|
|
5
5
|
PopupViewerSlots2["pDWHeaderTitle"] = "pDWHeaderTitle";
|
|
6
6
|
PopupViewerSlots2["pDWHeaderSubTitle"] = "pDWHeaderSubTitle";
|
|
@@ -0,0 +1,46 @@
|
|
|
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.cabe6a64.js";
|
|
4
|
+
import { P as PopupViewerSlots } from "./index.37ef2263.js";
|
|
5
|
+
import { D as DragResizeWindow } from "../../../DragResizeWindow/index.c0382188.js";
|
|
6
|
+
const RootStyled = styled("div", { name: POPUPS_VIEWER_KEY_COMPONENT, slot: PopupViewerSlots.root })(
|
|
7
|
+
popupsViewerStyles?.root
|
|
8
|
+
);
|
|
9
|
+
const PopupDragWindowRootStyled = styled(DragResizeWindow, {
|
|
10
|
+
name: POPUPS_VIEWER_KEY_COMPONENT,
|
|
11
|
+
slot: PopupViewerSlots.popupDragWindowRoot
|
|
12
|
+
})(popupsViewerStyles?.popupDragWindowRoot);
|
|
13
|
+
const PopupHeaderContainerStyled = styled("div", {
|
|
14
|
+
name: POPUPS_VIEWER_KEY_COMPONENT,
|
|
15
|
+
slot: PopupViewerSlots.pDWHeaderContainer
|
|
16
|
+
})(popupsViewerStyles?.pDWHeaderContainer);
|
|
17
|
+
const PopupHeaderTitleStyled = styled("span", {
|
|
18
|
+
name: POPUPS_VIEWER_KEY_COMPONENT,
|
|
19
|
+
slot: PopupViewerSlots.pDWHeaderTitle
|
|
20
|
+
})(popupsViewerStyles?.pDWHeaderTitle);
|
|
21
|
+
const PopupHeaderSubTitleStyled = styled("span", {
|
|
22
|
+
name: POPUPS_VIEWER_KEY_COMPONENT,
|
|
23
|
+
slot: PopupViewerSlots.pDWHeaderSubTitle
|
|
24
|
+
})(popupsViewerStyles?.pDWHeaderSubTitle);
|
|
25
|
+
const PopupContentEditionInfoStyled = styled("div", {
|
|
26
|
+
name: POPUPS_VIEWER_KEY_COMPONENT,
|
|
27
|
+
slot: PopupViewerSlots.pDWContentEditionInfo
|
|
28
|
+
})(popupsViewerStyles?.pDWContentEditionInfo);
|
|
29
|
+
const PopupContentRootStyled = styled("div", {
|
|
30
|
+
name: POPUPS_VIEWER_KEY_COMPONENT,
|
|
31
|
+
slot: PopupViewerSlots.pDWContentRoot
|
|
32
|
+
})(popupsViewerStyles?.pDWContentRoot);
|
|
33
|
+
const PopupContentWrapperStyled = styled("div", {
|
|
34
|
+
name: POPUPS_VIEWER_KEY_COMPONENT,
|
|
35
|
+
slot: PopupViewerSlots.pDWContentWrapper
|
|
36
|
+
})(popupsViewerStyles?.pDWContentWrapper);
|
|
37
|
+
export {
|
|
38
|
+
PopupHeaderContainerStyled as P,
|
|
39
|
+
RootStyled as R,
|
|
40
|
+
PopupHeaderTitleStyled as a,
|
|
41
|
+
PopupHeaderSubTitleStyled as b,
|
|
42
|
+
PopupContentEditionInfoStyled as c,
|
|
43
|
+
PopupDragWindowRootStyled as d,
|
|
44
|
+
PopupContentRootStyled as e,
|
|
45
|
+
PopupContentWrapperStyled as f
|
|
46
|
+
};
|
|
@@ -2,6 +2,7 @@ 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';
|
|
5
6
|
export interface PopupStoreProps extends Pick<DraggableWindowProps, 'bounds' | 'defaultPosition'> {
|
|
6
7
|
/**
|
|
7
8
|
* "popupId" Indetificador del popupId
|
|
@@ -11,6 +12,10 @@ export interface PopupStoreProps extends Pick<DraggableWindowProps, 'bounds' | '
|
|
|
11
12
|
* "status" Estado del popup
|
|
12
13
|
*/
|
|
13
14
|
status: PopupStatus;
|
|
15
|
+
/**
|
|
16
|
+
* "variant" Variante del popup
|
|
17
|
+
*/
|
|
18
|
+
variant?: PopupVariantType;
|
|
14
19
|
/**
|
|
15
20
|
* "iconUrl" Icono de la ventan
|
|
16
21
|
*/
|
|
@@ -128,7 +133,7 @@ export interface PopupsStateWithActions extends PopupsStore {
|
|
|
128
133
|
/**
|
|
129
134
|
* @description Pone el popup con zIndex igual a currentIndex y lo amuneta en uno.
|
|
130
135
|
*/
|
|
131
|
-
|
|
136
|
+
setPopupOnFront: (popupId: string) => void;
|
|
132
137
|
/**
|
|
133
138
|
* @description Actualiza la variable de estado "getLabel"
|
|
134
139
|
* @param newHandler handle o función que va a traducir las etiquetas, esto es necesario debido que getLabel de useModuleDictionary
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @returns
|
|
2
|
+
* Visor de poups, cuyo funcionamineto depende de PoupsProvider.
|
|
3
|
+
* Utiliza la librería de tranciones para animar la apertura y cierre de los popups que están
|
|
4
|
+
* cargados en el store.
|
|
6
5
|
*/
|
|
7
6
|
export declare const PopupsViewer: () => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -5,9 +5,6 @@ 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>>, {}>;
|
|
11
8
|
export declare const PopupHeaderContainerStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown> & {
|
|
12
9
|
ownerState: Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown>;
|
|
13
10
|
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -17,6 +14,9 @@ export declare const PopupHeaderTitleStyled: import("@emotion/styled").StyledCom
|
|
|
17
14
|
export declare const PopupHeaderSubTitleStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown> & {
|
|
18
15
|
ownerState: Partial<import("../types").PopupsViewerOwnerState> & Record<string, unknown>;
|
|
19
16
|
}, 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' | 'variant'> {
|
|
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.ec0ab622.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.cabe6a64.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.33e4befd.js";
|
|
5
|
+
import { W as WindowConfirm } from "../../components/modal/WindowConfirm.0d48420b.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.eb616dfb.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.7abd42e8.js";
|
|
3
3
|
const useTab = () => {
|
|
4
4
|
const context = useContext(TabContext);
|
|
5
5
|
if (context === null) {
|