@m4l/components 0.1.69 → 0.1.71
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 +27 -1
- package/components/CommonActions/components/ActionCancel/{index.e83053da.js → index.ff90f2c0.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.ca378b0a.js → index.392a17c0.js} +26 -13
- package/components/CommonActions/components/ActionFormIntro/{index.fa2107df.js → index.f88d8849.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.b8d5c8ee.js → index.e31ab7e9.js} +3 -3
- package/components/CommonActions/components/Actions/{index.1b2a0921.js → index.6b7d480a.js} +24 -13
- package/components/DataGrid/{index.75ea6038.js → index.77ae9b4c.js} +23 -20
- package/components/DynamicFilter/{index.aaeea668.js → index.b2ba5167.js} +53 -108
- package/components/HelperText/{index.742d547d.js → index.d7b1b21a.js} +11 -10
- package/components/Icon/{index.952f0635.js → index.6f2a5618.js} +6 -4
- package/components/Icon/types.d.ts +1 -0
- package/components/Image/{index.f30f79f0.js → index.1e3b7ff6.js} +3 -3
- package/components/LanguagePopover/{index.526e544e.js → index.310e9a3a.js} +11 -11
- package/components/ModalDialog/{index.4d663d0a.js → index.598f9a86.js} +19 -5
- package/components/NavLink/{index.92008184.js → index.ac3778af.js} +12 -11
- package/components/NoItemSelected/{index.6f2952ab.js → index.3809e3d1.js} +1 -1
- package/components/ObjectLogs/{index.d1eee18b.js → index.949d3595.js} +18 -15
- package/components/PaperForm/{index.e9db704b.js → index.cf8af08b.js} +1 -1
- package/components/Period/{index.3ff6f53b.js → index.53ea0562.js} +25 -14
- package/components/Resizeable/{index.ff97422e.js → index.ff4ce7a4.js} +20 -6
- package/components/SideBar/{index.365f64f0.js → index.4daafbab.js} +59 -58
- package/components/SideBar/subcomponents/ContentMobile/subcomponents/Drawer.d.ts +3 -0
- package/components/SideBar/subcomponents/ContentMobile/subcomponents/types.d.ts +8 -0
- package/components/areas/components/AreasAdmin/classes/types.d.ts +1 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/styles.d.ts +4 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/types.d.ts +5 -0
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +3 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/index.d.ts +2 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/GridLayout/index.d.ts +2 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/GridLayout/types.d.ts +3 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/InnerForHooks/index.d.ts +2 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/InnerForHooks/types.d.ts +3 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/PanelWindows/index.d.ts +2 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/PanelWindows/types.d.ts +3 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/styles.d.ts +2 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Component/index.d.ts +4 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Component/types.d.ts +9 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/helper.d.ts +3 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/index.d.ts +9 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/MainActions/index.d.ts +6 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/index.d.ts +4 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/{InnerForHooks/subcomponents/MicroFrontend → MicroFrontend}/subcomponents/MFLoader/index.d.ts +2 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/types.d.ts +8 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/types.d.ts +8 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/types.d.ts +2 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/types.d.ts +4 -0
- package/components/areas/components/{index.ffb147c7.js → index.31f39977.js} +601 -1034
- package/components/areas/components/index.d.ts +1 -1
- package/components/areas/contexts/AreasContext/helper.d.ts +59 -0
- package/components/areas/contexts/AreasContext/index.e14d6799.js +1030 -0
- package/components/areas/contexts/AreasContext/store.d.ts +1 -2
- package/components/areas/contexts/AreasContext/types.d.ts +91 -13
- package/components/areas/contexts/DynamicMFParmsContext/index.1607c78e.js +42 -0
- package/components/areas/contexts/DynamicMFParmsContext/index.d.ts +8 -0
- package/components/areas/{components/AreasViewer/subcomponents/Area/subcomponents/Window/contexts → contexts}/DynamicMFParmsContext/store.d.ts +3 -9
- package/components/areas/contexts/WindowToolsMFContext/index.8f3e2a04.js +20 -0
- package/components/areas/{components/AreasViewer/subcomponents/Area/subcomponents/Window/contexts → contexts}/WindowToolsMFContext/types.d.ts +3 -2
- package/components/areas/contexts/index.5ba05323.js +2 -0
- package/components/areas/contexts/index.d.ts +4 -4
- package/components/areas/dictionary.d.ts +3 -0
- package/components/areas/hooks/index.ae8d8631.js +13 -0
- package/components/areas/hooks/useArea/index.c135e0cf.js +12 -0
- package/components/areas/hooks/useDynamicMFParameters/index.d.ts +3 -9
- package/components/areas/hooks/useDynamicMFParameters/{index.7ce7176f.js → index.e52c5392.js} +1 -1
- package/components/areas/hooks/useWindowToolsMF/index.d.ts +1 -1
- package/components/areas/icons.d.ts +5 -0
- package/components/areas/{index.20cbd7b7.js → index.bd29b1db.js} +21 -9
- package/components/areas/types.d.ts +32 -23
- package/components/formatters/BooleanFormatter/{index.d5e21bdd.js → index.99c7fe49.js} +1 -1
- package/components/formatters/{index.650243bb.js → index.1a92006b.js} +3 -2
- package/components/hook-form/RHFAutocomplete/{index.21377a2c.js → index.c4ba070a.js} +12 -11
- package/components/hook-form/RHFAutocompleteAsync/{index.8c7e0842.js → index.a63f3704.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.83902d07.js → index.9055f88d.js} +3 -3
- package/components/hook-form/RHFDateTime/{index.166250d8.js → index.2cb94a66.js} +10 -10
- package/components/hook-form/RHFPeriod/{index.61baf76f.js → index.14dcf762.js} +2 -2
- package/components/hook-form/RHFTextField/{index.55687a39.js → index.7ce2b16e.js} +7 -7
- package/components/hook-form/RHFUpload/{index.eb4d0dac.js → index.c57a43f8.js} +1 -1
- package/components/modal/WindowBase/subcomponents/Header/types.d.ts +1 -1
- package/components/modal/WindowBase/types.d.ts +1 -0
- package/components/modal/{WindowBase.7ce0b21e.js → WindowBase.32d35d71.js} +28 -21
- package/components/modal/{WindowConfirm.7ae1326f.js → WindowConfirm.70bcbb69.js} +18 -15
- package/components/modal/index.ef3aa9ac.js +35 -0
- package/components/mui_extended/Accordion/{index.51feece8.js → index.44e96bb8.js} +2 -2
- package/components/mui_extended/Button/{index.b34c8b68.js → index.ec6525e0.js} +6 -4
- package/components/mui_extended/Button/types.d.ts +2 -0
- package/components/mui_extended/IconButton/{index.917f0d3c.js → index.7aab3e04.js} +7 -5
- package/components/mui_extended/MenuActions/{index.651dec44.js → index.bff47c06.js} +3 -3
- package/components/mui_extended/Pager/{index.e0663072.js → index.907d5801.js} +1 -1
- package/components/mui_extended/Popover/{index.226f247e.js → index.9f35d0eb.js} +1 -3
- package/components/mui_extended/Popover/types.d.ts +6 -2
- package/components/mui_extended/Typography/{index.79e2b06f.js → index.d5e0f69f.js} +1 -1
- package/components/mui_extended/index.1f766f93.js +20 -0
- package/contexts/ModalContext/{index.76d5ccee.js → index.fca184e2.js} +1 -1
- package/contexts/index.d.ts +1 -1
- package/hooks/useModal/{index.043e419b.js → index.9b244379.js} +1 -1
- package/index.js +101 -99
- package/package.json +5 -4
- package/{react-draggable.de1aac90.js → react-draggable.29f78f6d.js} +1 -1
- package/{react-resizable.e0470767.js → react-resizable.baf54eb2.js} +3 -3
- package/utils/{index.b5c62ef0.js → index.ee16888d.js} +1 -1
- package/{vendor.6a33c6d2.js → vendor.619c3533.js} +50 -48
- package/components/DynamicFilter/subcomponents/fieldstypes/BooleanFilter/styles.d.ts +0 -2
- package/components/DynamicFilter/subcomponents/fieldstypes/DateTimeFilter/styles.d.ts +0 -2
- package/components/DynamicFilter/subcomponents/fieldstypes/NumberFilter/styles.d.ts +0 -2
- package/components/DynamicFilter/subcomponents/fieldstypes/StringFilter/styles.d.ts +0 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/contexts/AreaContext/helper.d.ts +0 -39
- package/components/areas/components/AreasViewer/subcomponents/Area/contexts/AreaContext/index.d.ts +0 -20
- package/components/areas/components/AreasViewer/subcomponents/Area/contexts/AreaContext/store.d.ts +0 -11
- package/components/areas/components/AreasViewer/subcomponents/Area/contexts/AreaContext/types.d.ts +0 -82
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/contexts/DynamicMFParmsContext/index.d.ts +0 -14
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/contexts/WindowContext/helper.d.ts +0 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/contexts/WindowContext/index.d.ts +0 -13
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/contexts/WindowContext/store.d.ts +0 -36
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/contexts/WindowContext/types.d.ts +0 -5
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/InnerForHooks/index.d.ts +0 -4
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/InnerForHooks/subcomponents/Component/index.d.ts +0 -8
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/InnerForHooks/subcomponents/Header/helper.d.ts +0 -3
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/InnerForHooks/subcomponents/Header/index.d.ts +0 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/InnerForHooks/subcomponents/Header/subcomponents/MainActions/index.d.ts +0 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/InnerForHooks/subcomponents/MicroFrontend/index.d.ts +0 -4
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/InnerForHooks/subcomponents/MicroFrontend/types.d.ts +0 -8
- package/components/areas/contexts/AreasContext/index.7c12b512.js +0 -230
- package/components/areas/contexts/index.1a823ffb.js +0 -2
- package/components/areas/hooks/index.d09ea7de.js +0 -26
- package/components/areas/hooks/useArea/index.3a0d4b8c.js +0 -34
- package/components/areas/hooks/useArea/index.d.ts +0 -11
- package/components/areas/hooks/useWindow/index.d.ts +0 -11
- package/components/modal/index.d6dcd1b1.js +0 -24
- package/components/mui_extended/index.8b30e8c8.js +0 -19
- /package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/{InnerForHooks/subcomponents/Header → Header}/skeleton.d.ts +0 -0
- /package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/{InnerForHooks/subcomponents/Header → Header}/styles.d.ts +0 -0
- /package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/{InnerForHooks/subcomponents/MicroFrontend → MicroFrontend}/subcomponents/MFLoader/subcomponents/LoadingMF/index.d.ts +0 -0
- /package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/{InnerForHooks/subcomponents/MicroFrontend → MicroFrontend}/subcomponents/MFLoader/subcomponents/LoadingMF/styles.d.ts +0 -0
- /package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/{InnerForHooks/subcomponents/MicroFrontend → MicroFrontend}/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/index.d.ts +0 -0
- /package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/{InnerForHooks/subcomponents/MicroFrontend → MicroFrontend}/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/styles.d.ts +0 -0
- /package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/{InnerForHooks/subcomponents/MicroFrontend → MicroFrontend}/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/types.d.ts +0 -0
- /package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/{InnerForHooks/subcomponents/MicroFrontend → MicroFrontend}/subcomponents/MFLoader/subcomponents/LoadingMF/types.d.ts +0 -0
- /package/components/areas/{components/AreasViewer/subcomponents/Area/subcomponents/Window/contexts → contexts}/DynamicMFParmsContext/types.d.ts +0 -0
- /package/components/areas/{components/AreasViewer/subcomponents/Area/subcomponents/Window/contexts → contexts}/WindowToolsMFContext/index.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useBase, useModuleSkeleton, BaseProvider } from "@m4l/core";
|
|
2
2
|
import { forwardRef, useState, useRef, useImperativeHandle, useEffect, useMemo } from "react";
|
|
3
|
-
import { T as TEST_PROP_ID } from "../../vendor.
|
|
3
|
+
import { T as TEST_PROP_ID } from "../../vendor.619c3533.js";
|
|
4
4
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { styled, Skeleton as Skeleton$1, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
@@ -277,8 +277,8 @@ function Image(props) {
|
|
|
277
277
|
} : {},
|
|
278
278
|
...width && height ? {
|
|
279
279
|
style: {
|
|
280
|
-
width,
|
|
281
|
-
height
|
|
280
|
+
minWidth: width,
|
|
281
|
+
minHeight: height
|
|
282
282
|
}
|
|
283
283
|
} : {
|
|
284
284
|
sx: {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { useState, useEffect } from "react";
|
|
2
2
|
import { styled, generateUtilityClasses, generateUtilityClass, Stack, MenuItem } from "@mui/material";
|
|
3
|
-
import { I as Image } from "../Image/index.
|
|
3
|
+
import { I as Image } from "../Image/index.1e3b7ff6.js";
|
|
4
4
|
import { useLocales } from "@m4l/graphics";
|
|
5
5
|
import { useEnvironment, useNetwork } from "@m4l/core";
|
|
6
|
-
import "../Icon/index.
|
|
7
|
-
import { T as TEST_PROP_ID } from "../../vendor.
|
|
8
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
9
|
-
import "../mui_extended/IconButton/index.917f0d3c.js";
|
|
6
|
+
import "../Icon/index.6f2a5618.js";
|
|
7
|
+
import { T as TEST_PROP_ID } from "../../vendor.619c3533.js";
|
|
10
8
|
import "clsx";
|
|
11
|
-
import "
|
|
9
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
10
|
+
import "../mui_extended/IconButton/index.7aab3e04.js";
|
|
11
|
+
import "../mui_extended/Accordion/index.44e96bb8.js";
|
|
12
12
|
import "../mui_extended/Avatar/index.fe06afd7.js";
|
|
13
13
|
import "react-router-dom";
|
|
14
14
|
import "@mui/material/Button";
|
|
15
|
-
import { I as ImageButton } from "../mui_extended/Button/index.
|
|
15
|
+
import { I as ImageButton } from "../mui_extended/Button/index.ec6525e0.js";
|
|
16
16
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.ad569afd.js";
|
|
17
17
|
import "@mui/lab";
|
|
18
|
-
import "../mui_extended/Typography/index.
|
|
19
|
-
import { P as Popover } from "../mui_extended/Popover/index.
|
|
20
|
-
import "../mui_extended/MenuActions/index.
|
|
21
|
-
import "../mui_extended/Pager/index.
|
|
18
|
+
import "../mui_extended/Typography/index.d5e0f69f.js";
|
|
19
|
+
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
20
|
+
import "../mui_extended/MenuActions/index.bff47c06.js";
|
|
21
|
+
import "../mui_extended/Pager/index.907d5801.js";
|
|
22
22
|
import "../mui_extended/Tab/index.e0653a0a.js";
|
|
23
23
|
import { unstable_composeClasses } from "@mui/base";
|
|
24
24
|
const LanguagePopoverRoot = styled("div")(({
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { Dialog, Paper } from "@mui/material";
|
|
2
|
-
import { c as cjs } from "../../react-draggable.
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
2
|
+
import { c as cjs } from "../../react-draggable.29f78f6d.js";
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.9b244379.js";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
|
-
import { a as getThemeVariantColor } from "../../utils/index.
|
|
6
|
-
import { R as ResizeableWindow } from "../Resizeable/index.
|
|
5
|
+
import { a as getThemeVariantColor } from "../../utils/index.ee16888d.js";
|
|
6
|
+
import { R as ResizeableWindow } from "../Resizeable/index.ff4ce7a4.js";
|
|
7
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
8
|
+
import { I as Icon } from "../Icon/index.6f2a5618.js";
|
|
9
|
+
import { useEnvironment } from "@m4l/core";
|
|
10
|
+
import { I as ICONS } from "../areas/index.bd29b1db.js";
|
|
8
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
12
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.6b7d480a.js";
|
|
10
13
|
const WrapperDialog = styled(Dialog)(() => ({}));
|
|
11
14
|
const Container = styled("div")(({ theme }) => ({
|
|
12
15
|
display: "flex",
|
|
@@ -88,6 +91,10 @@ const ModalDialog = () => {
|
|
|
88
91
|
fullScreen
|
|
89
92
|
} = useModal();
|
|
90
93
|
const isDesktop = useResponsiveDesktop();
|
|
94
|
+
const {
|
|
95
|
+
host_static_assets,
|
|
96
|
+
environment_assets
|
|
97
|
+
} = useEnvironment();
|
|
91
98
|
const contentComnponent = /* @__PURE__ */ jsx(Container, {
|
|
92
99
|
id: "Container",
|
|
93
100
|
children: typeof window === "function" ? window() : window
|
|
@@ -106,6 +113,13 @@ const ModalDialog = () => {
|
|
|
106
113
|
height: initialHeigth,
|
|
107
114
|
maxWidth,
|
|
108
115
|
maxHeigth,
|
|
116
|
+
handle: (resizeHandle, ref) => /* @__PURE__ */ jsx("div", {
|
|
117
|
+
ref,
|
|
118
|
+
children: /* @__PURE__ */ jsx(Icon, {
|
|
119
|
+
src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.RESIZE}`,
|
|
120
|
+
className: `custom-handle custom-handle-${resizeHandle}`
|
|
121
|
+
})
|
|
122
|
+
}, resizeHandle),
|
|
109
123
|
children: contentComnponent
|
|
110
124
|
}), !isDesktop && contentComnponent]
|
|
111
125
|
});
|
|
@@ -2,21 +2,22 @@ import { NavLink as NavLink$1 } from "react-router-dom";
|
|
|
2
2
|
import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/material";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@m4l/core";
|
|
5
|
-
import "../Icon/index.
|
|
6
|
-
import { T as TEST_PROP_ID } from "../../vendor.
|
|
7
|
-
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
8
|
-
import "../mui_extended/IconButton/index.917f0d3c.js";
|
|
5
|
+
import "../Icon/index.6f2a5618.js";
|
|
6
|
+
import { T as TEST_PROP_ID } from "../../vendor.619c3533.js";
|
|
9
7
|
import "clsx";
|
|
10
|
-
import "
|
|
8
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
9
|
+
import "../mui_extended/IconButton/index.7aab3e04.js";
|
|
10
|
+
import "@m4l/graphics";
|
|
11
|
+
import "../mui_extended/Accordion/index.44e96bb8.js";
|
|
11
12
|
import "../mui_extended/Avatar/index.fe06afd7.js";
|
|
12
13
|
import "@mui/material/Button";
|
|
13
|
-
import "../mui_extended/Button/index.
|
|
14
|
-
import "../Image/index.
|
|
14
|
+
import "../mui_extended/Button/index.ec6525e0.js";
|
|
15
|
+
import "../Image/index.1e3b7ff6.js";
|
|
15
16
|
import "@mui/lab";
|
|
16
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
17
|
-
import "../mui_extended/Popover/index.
|
|
18
|
-
import "../mui_extended/MenuActions/index.
|
|
19
|
-
import "../mui_extended/Pager/index.
|
|
17
|
+
import { T as Typography } from "../mui_extended/Typography/index.d5e0f69f.js";
|
|
18
|
+
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
19
|
+
import "../mui_extended/MenuActions/index.bff47c06.js";
|
|
20
|
+
import "../mui_extended/Pager/index.907d5801.js";
|
|
20
21
|
import "../mui_extended/Tab/index.e0653a0a.js";
|
|
21
22
|
import { unstable_composeClasses } from "@mui/base";
|
|
22
23
|
const componentName = "M4LNavLink";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
|
-
import { I as Image } from "../Image/index.
|
|
3
|
+
import { I as Image } from "../Image/index.1e3b7ff6.js";
|
|
4
4
|
import { Skeleton } from "@mui/material";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,32 +1,35 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback, useMemo } from "react";
|
|
2
2
|
import { useNetwork, useModuleDictionary, useEnvironment, usePaginate } from "@m4l/core";
|
|
3
3
|
import { styled } from "@mui/material/styles";
|
|
4
|
-
import { D as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.
|
|
4
|
+
import { D as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.77ae9b4c.js";
|
|
5
5
|
import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
|
|
6
6
|
import { Tooltip, IconButton } from "@mui/material";
|
|
7
7
|
import { useHostTheme, useResponsiveDesktop } from "@m4l/graphics";
|
|
8
8
|
import { R as ReactJson } from "../../react-json-view.57125fcf.js";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
11
|
-
import { I as Icon } from "../Icon/index.
|
|
12
|
-
import "../../react-draggable.
|
|
13
|
-
import "../ModalDialog/index.
|
|
14
|
-
import "../Resizeable/index.
|
|
15
|
-
import "../CommonActions/components/Actions/index.
|
|
10
|
+
import { u as useModal } from "../../hooks/useModal/index.9b244379.js";
|
|
11
|
+
import { I as Icon } from "../Icon/index.6f2a5618.js";
|
|
12
|
+
import "../../react-draggable.29f78f6d.js";
|
|
13
|
+
import "../ModalDialog/index.598f9a86.js";
|
|
14
|
+
import "../Resizeable/index.ff4ce7a4.js";
|
|
15
|
+
import "../CommonActions/components/Actions/index.6b7d480a.js";
|
|
16
16
|
import "@mui/material/Button";
|
|
17
|
-
import "../mui_extended/Button/index.
|
|
17
|
+
import "../mui_extended/Button/index.ec6525e0.js";
|
|
18
18
|
import "clsx";
|
|
19
19
|
import "react-hook-form";
|
|
20
|
-
import "../mui_extended/IconButton/index.
|
|
20
|
+
import "../mui_extended/IconButton/index.7aab3e04.js";
|
|
21
21
|
import "zustand";
|
|
22
|
-
import "../areas/contexts/AreasContext/index.
|
|
23
|
-
import "../areas/components/index.
|
|
22
|
+
import "../areas/contexts/AreasContext/index.e14d6799.js";
|
|
23
|
+
import "../areas/components/index.31f39977.js";
|
|
24
24
|
import "zustand/shallow";
|
|
25
|
+
import "../ScrollBar/index.bbe48f4d.js";
|
|
26
|
+
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
27
|
+
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
25
28
|
import "@mui/lab";
|
|
26
|
-
import "../mui_extended/Typography/index.
|
|
27
|
-
import "../modal/WindowConfirm.
|
|
28
|
-
import { W as WindowBase } from "../modal/WindowBase.
|
|
29
|
-
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.
|
|
29
|
+
import "../mui_extended/Typography/index.d5e0f69f.js";
|
|
30
|
+
import "../modal/WindowConfirm.70bcbb69.js";
|
|
31
|
+
import { W as WindowBase } from "../modal/WindowBase.32d35d71.js";
|
|
32
|
+
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.b2ba5167.js";
|
|
30
33
|
const Container$1 = styled("div")(() => ({
|
|
31
34
|
height: "100%",
|
|
32
35
|
width: "100%",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../Icon/index.
|
|
4
|
+
import { I as Icon } from "../Icon/index.6f2a5618.js";
|
|
5
5
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
6
6
|
const WrapperPaper = styled("div")(({
|
|
7
7
|
theme
|
|
@@ -1,27 +1,38 @@
|
|
|
1
1
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, Skeleton, Autocomplete, TextField } from "@mui/material";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
|
-
import { I as Icon } from "../Icon/index.
|
|
5
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
4
|
+
import { I as Icon } from "../Icon/index.6f2a5618.js";
|
|
5
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.6b7d480a.js";
|
|
6
6
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
7
7
|
import "@mui/material/Button";
|
|
8
|
-
import "../mui_extended/Button/index.
|
|
8
|
+
import "../mui_extended/Button/index.ec6525e0.js";
|
|
9
9
|
import "clsx";
|
|
10
10
|
import "react-hook-form";
|
|
11
|
-
import "../../contexts/ModalContext/index.
|
|
12
|
-
import "../../react-draggable.
|
|
13
|
-
import "../ModalDialog/index.
|
|
14
|
-
import "../Resizeable/index.
|
|
11
|
+
import "../../contexts/ModalContext/index.fca184e2.js";
|
|
12
|
+
import "../../react-draggable.29f78f6d.js";
|
|
13
|
+
import "../ModalDialog/index.598f9a86.js";
|
|
14
|
+
import "../Resizeable/index.ff4ce7a4.js";
|
|
15
15
|
import "@m4l/graphics";
|
|
16
|
-
import "../modal/WindowConfirm.
|
|
17
|
-
import "../modal/WindowBase.
|
|
18
|
-
import "../mui_extended/IconButton/index.
|
|
16
|
+
import "../modal/WindowConfirm.70bcbb69.js";
|
|
17
|
+
import "../modal/WindowBase.32d35d71.js";
|
|
18
|
+
import "../mui_extended/IconButton/index.7aab3e04.js";
|
|
19
|
+
import "../mui_extended/Accordion/index.44e96bb8.js";
|
|
20
|
+
import "../mui_extended/Avatar/index.fe06afd7.js";
|
|
21
|
+
import "react-router-dom";
|
|
22
|
+
import "../Image/index.1e3b7ff6.js";
|
|
23
|
+
import "@mui/lab";
|
|
24
|
+
import "../mui_extended/Typography/index.d5e0f69f.js";
|
|
25
|
+
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
|
+
import "../mui_extended/MenuActions/index.bff47c06.js";
|
|
27
|
+
import "../mui_extended/Pager/index.907d5801.js";
|
|
28
|
+
import "../mui_extended/Tab/index.e0653a0a.js";
|
|
19
29
|
import "zustand";
|
|
20
|
-
import "../areas/contexts/AreasContext/index.
|
|
21
|
-
import "../areas/components/index.
|
|
30
|
+
import "../areas/contexts/AreasContext/index.e14d6799.js";
|
|
31
|
+
import "../areas/components/index.31f39977.js";
|
|
22
32
|
import "zustand/shallow";
|
|
23
|
-
import "
|
|
24
|
-
import "../
|
|
33
|
+
import "../ScrollBar/index.bbe48f4d.js";
|
|
34
|
+
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
35
|
+
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
25
36
|
const ContainerPeriod = styled("div")(({
|
|
26
37
|
theme,
|
|
27
38
|
error,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
|
-
import { R as ResizableBox } from "../../react-resizable.
|
|
2
|
+
import { R as ResizableBox } from "../../react-resizable.baf54eb2.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
const WrapperResizeable = styled(ResizableBox)(({
|
|
5
5
|
theme
|
|
@@ -27,18 +27,32 @@ const WrapperResizeable = styled(ResizableBox)(({
|
|
|
27
27
|
bottom: "0",
|
|
28
28
|
left: "0",
|
|
29
29
|
cursor: "sw-resize",
|
|
30
|
-
transform: "rotate(90deg)"
|
|
30
|
+
transform: "rotate(90deg)",
|
|
31
|
+
position: "absolute"
|
|
31
32
|
},
|
|
32
|
-
".
|
|
33
|
+
".M4LIcon-root.custom-handle.custom-handle-se": {
|
|
33
34
|
bottom: "0",
|
|
34
35
|
right: "0",
|
|
35
|
-
cursor: "se-resize"
|
|
36
|
+
cursor: "se-resize",
|
|
37
|
+
position: "absolute",
|
|
38
|
+
"& .M4LIcon-icon": {
|
|
39
|
+
width: "12px",
|
|
40
|
+
height: "12px",
|
|
41
|
+
minWidth: "12px",
|
|
42
|
+
minHeight: "12px"
|
|
43
|
+
}
|
|
36
44
|
},
|
|
37
|
-
"& .
|
|
45
|
+
"& .M4LIcon-root.custom-handle.custom-handle-nw": {
|
|
38
46
|
top: "0",
|
|
39
47
|
left: "0",
|
|
40
48
|
cursor: "nw-resize",
|
|
41
|
-
transform: "rotate(180deg)"
|
|
49
|
+
transform: "rotate(180deg)",
|
|
50
|
+
"& .M4LIcon-icon": {
|
|
51
|
+
width: "12px",
|
|
52
|
+
height: "12px",
|
|
53
|
+
minWidth: "12px",
|
|
54
|
+
minHeight: "12px"
|
|
55
|
+
}
|
|
42
56
|
},
|
|
43
57
|
"& .react-resizable-handle-ne": {
|
|
44
58
|
top: "0",
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
2
2
|
import { useEnvironment } from "@m4l/core";
|
|
3
3
|
import { createContext, useContext, useState } from "react";
|
|
4
|
-
import { T as TEST_PROP_ID } from "../../vendor.
|
|
5
|
-
import { I as Image } from "../Image/index.
|
|
6
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
4
|
+
import { T as TEST_PROP_ID } from "../../vendor.619c3533.js";
|
|
5
|
+
import { I as Image } from "../Image/index.1e3b7ff6.js";
|
|
6
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.7aab3e04.js";
|
|
7
7
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
8
|
-
import { styled as styled$1, generateUtilityClasses, ListItemText, ListItemButton, Collapse, Skeleton, Drawer } from "@mui/material";
|
|
9
|
-
import { I as Icon, A as ArrowIcon } from "../Icon/index.
|
|
10
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
8
|
+
import { styled as styled$1, generateUtilityClasses, ListItemText, ListItemButton, Collapse, useTheme, Skeleton, Drawer as Drawer$1 } from "@mui/material";
|
|
9
|
+
import { I as Icon, A as ArrowIcon } from "../Icon/index.6f2a5618.js";
|
|
10
|
+
import { T as Typography } from "../mui_extended/Typography/index.d5e0f69f.js";
|
|
11
11
|
import clsx from "clsx";
|
|
12
|
-
import { P as Popover } from "../mui_extended/Popover/index.
|
|
12
|
+
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
13
13
|
import { S as ScrollBar } from "../ScrollBar/index.bbe48f4d.js";
|
|
14
14
|
import { styled, alpha } from "@mui/material/styles";
|
|
15
15
|
import { unstable_composeClasses } from "@mui/base";
|
|
16
|
-
import { g as getComponentUtilityClass } from "../../utils/index.
|
|
16
|
+
import { g as getComponentUtilityClass } from "../../utils/index.ee16888d.js";
|
|
17
17
|
const SideBarRoot = styled("div")(({
|
|
18
18
|
theme
|
|
19
19
|
}) => ({
|
|
@@ -285,7 +285,7 @@ const WrapperGroupTitle = styled$1("li", {
|
|
|
285
285
|
...collapsed && {
|
|
286
286
|
opacity: 0,
|
|
287
287
|
width: 0,
|
|
288
|
-
|
|
288
|
+
overflow: "hidden"
|
|
289
289
|
}
|
|
290
290
|
}));
|
|
291
291
|
const NavItemMainRoot = styled("div", {
|
|
@@ -356,11 +356,8 @@ const NavItemMainContent = (props) => {
|
|
|
356
356
|
} = useEnvironment();
|
|
357
357
|
const {
|
|
358
358
|
collapsed,
|
|
359
|
-
isItemActive,
|
|
360
359
|
classes
|
|
361
360
|
} = useSideBar();
|
|
362
|
-
const active = isItemActive(item);
|
|
363
|
-
console.log("NavItemRootContent active", active);
|
|
364
361
|
const isDesktop = useResponsiveDesktop();
|
|
365
362
|
const handlerClick = (event) => {
|
|
366
363
|
onClick && onClick(item);
|
|
@@ -454,8 +451,6 @@ const NavSubItemContent = (props) => {
|
|
|
454
451
|
if (!hasChildren || hasChildren === void 0) {
|
|
455
452
|
closePopover();
|
|
456
453
|
}
|
|
457
|
-
console.log("hasChildren", hasChildren);
|
|
458
|
-
console.log("hasChildren validation", hasChildren === void 0);
|
|
459
454
|
setOpenSub((val) => !val);
|
|
460
455
|
if (!isDesktop && (!hasChildren || hasChildren === void 0)) {
|
|
461
456
|
onToggleVisible();
|
|
@@ -552,13 +547,13 @@ function NavItemMain(props) {
|
|
|
552
547
|
classes
|
|
553
548
|
} = useSideBar();
|
|
554
549
|
const [popoverStatus, setPopoverStatus] = useState(null);
|
|
550
|
+
const theme = useTheme();
|
|
555
551
|
const active = isItemActive(item);
|
|
556
552
|
const handleOpen = (event) => {
|
|
557
553
|
setPopoverStatus(event.currentTarget);
|
|
558
554
|
};
|
|
559
555
|
const handleClose = () => {
|
|
560
556
|
setPopoverStatus(null);
|
|
561
|
-
console.log("se ejecuto el handle close");
|
|
562
557
|
};
|
|
563
558
|
if (children) {
|
|
564
559
|
return /* @__PURE__ */ jsxs(Fragment, {
|
|
@@ -578,8 +573,8 @@ function NavItemMain(props) {
|
|
|
578
573
|
anchorEl: popoverStatus,
|
|
579
574
|
onClose: handleClose,
|
|
580
575
|
arrowType: "left-center",
|
|
581
|
-
disablePortal: true,
|
|
582
576
|
sx: {
|
|
577
|
+
...theme.components?.M4LSideBarPopover?.styleOverrides,
|
|
583
578
|
ml: "14px"
|
|
584
579
|
},
|
|
585
580
|
anchorOrigin: {
|
|
@@ -645,9 +640,9 @@ function ItemListMain(props) {
|
|
|
645
640
|
const active = isItemActive(list);
|
|
646
641
|
const [open, setOpen] = useState(active);
|
|
647
642
|
const hasChildren = list.children && Array.isArray(list.children) && list.children.length > 0;
|
|
648
|
-
console.log("test item active equal", itemMainActive === id);
|
|
649
643
|
if (hasChildren) {
|
|
650
644
|
return /* @__PURE__ */ jsxs("div", {
|
|
645
|
+
role: "presentation",
|
|
651
646
|
className: clsx(classes.itemListMainRoot, itemMainActive === id && classes.itemMainActive),
|
|
652
647
|
...process.env.NODE_ENV !== "production" ? {
|
|
653
648
|
[TEST_PROP_ID]: getNameDataTestId("itemListMainRoot")
|
|
@@ -688,18 +683,13 @@ function ItemListMain(props) {
|
|
|
688
683
|
}
|
|
689
684
|
const WrapperSKTNavSectionVertical = styled$1("div", {
|
|
690
685
|
shouldForwardProp: (props) => props !== "collapse"
|
|
691
|
-
})(({
|
|
692
|
-
theme,
|
|
693
|
-
collapse
|
|
694
|
-
}) => ({
|
|
686
|
+
})(() => ({
|
|
695
687
|
margin: "0",
|
|
696
688
|
padding: "0",
|
|
697
689
|
position: "relative",
|
|
698
690
|
height: "100%"
|
|
699
691
|
}));
|
|
700
|
-
const NavSectionVerticalItem = styled$1("div")(({
|
|
701
|
-
theme
|
|
702
|
-
}) => ({
|
|
692
|
+
const NavSectionVerticalItem = styled$1("div")(() => ({
|
|
703
693
|
display: "grid",
|
|
704
694
|
gridTemplateColumns: "16px 1fr",
|
|
705
695
|
gap: "8px",
|
|
@@ -708,9 +698,7 @@ const NavSectionVerticalItem = styled$1("div")(({
|
|
|
708
698
|
padding: "8px",
|
|
709
699
|
height: "36px"
|
|
710
700
|
}));
|
|
711
|
-
const NavSectionVerticalTitle = styled$1("div")(({
|
|
712
|
-
theme
|
|
713
|
-
}) => ({
|
|
701
|
+
const NavSectionVerticalTitle = styled$1("div")(() => ({
|
|
714
702
|
display: "flex",
|
|
715
703
|
justifyContent: "flex-start",
|
|
716
704
|
height: "60px",
|
|
@@ -792,7 +780,6 @@ const ContentGroups = () => {
|
|
|
792
780
|
classes
|
|
793
781
|
} = useSideBar();
|
|
794
782
|
const [itemMainActive, setItemMainActive] = useState(-1);
|
|
795
|
-
console.log("valor del item main active", itemMainActive);
|
|
796
783
|
if (menuData && menuData.length > 0) {
|
|
797
784
|
return /* @__PURE__ */ jsxs(ContentGroupsRoot, {
|
|
798
785
|
className: classes.contentGroups,
|
|
@@ -900,6 +887,15 @@ styled$1("div")(({
|
|
|
900
887
|
height: "auto",
|
|
901
888
|
padding: theme.spacing(0, 2)
|
|
902
889
|
}));
|
|
890
|
+
const Drawer = (props) => {
|
|
891
|
+
const {
|
|
892
|
+
children
|
|
893
|
+
} = props;
|
|
894
|
+
return /* @__PURE__ */ jsx(Drawer$1, {
|
|
895
|
+
...props,
|
|
896
|
+
children
|
|
897
|
+
});
|
|
898
|
+
};
|
|
903
899
|
const ContentMobile = () => {
|
|
904
900
|
const {
|
|
905
901
|
visible,
|
|
@@ -910,7 +906,8 @@ const ContentMobile = () => {
|
|
|
910
906
|
classes,
|
|
911
907
|
companyName
|
|
912
908
|
} = useSideBar();
|
|
913
|
-
|
|
909
|
+
const theme = useTheme();
|
|
910
|
+
return /* @__PURE__ */ jsx(Drawer, {
|
|
914
911
|
open: visible,
|
|
915
912
|
onClose: onToggleVisible,
|
|
916
913
|
PaperProps: {
|
|
@@ -919,40 +916,44 @@ const ContentMobile = () => {
|
|
|
919
916
|
}
|
|
920
917
|
},
|
|
921
918
|
className: classes.drawer,
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
[TEST_PROP_ID]: getNameDataTestId("lineLeft")
|
|
927
|
-
} : {}
|
|
928
|
-
}), /* @__PURE__ */ jsxs(WrapperContentMobile, {
|
|
929
|
-
className: classes.contentMobile,
|
|
930
|
-
...process.env.NODE_ENV !== "production" ? {
|
|
931
|
-
[TEST_PROP_ID]: getNameDataTestId("contentMobile")
|
|
932
|
-
} : {},
|
|
919
|
+
sx: {
|
|
920
|
+
...theme.components?.M4LSideBarDrawer?.styleOverrides
|
|
921
|
+
},
|
|
922
|
+
children: /* @__PURE__ */ jsxs(Fragment, {
|
|
933
923
|
children: [/* @__PURE__ */ jsx("div", {
|
|
934
|
-
className: classes.
|
|
924
|
+
className: classes.lineLeft,
|
|
925
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
926
|
+
[TEST_PROP_ID]: getNameDataTestId("lineLeft")
|
|
927
|
+
} : {}
|
|
928
|
+
}), /* @__PURE__ */ jsxs(WrapperContentMobile, {
|
|
929
|
+
className: classes.contentMobile,
|
|
935
930
|
...process.env.NODE_ENV !== "production" ? {
|
|
936
|
-
[TEST_PROP_ID]: getNameDataTestId("
|
|
931
|
+
[TEST_PROP_ID]: getNameDataTestId("contentMobile")
|
|
937
932
|
} : {},
|
|
938
|
-
children: /* @__PURE__ */
|
|
939
|
-
className: classes.
|
|
933
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
934
|
+
className: classes.containerSideBarLogo,
|
|
940
935
|
...process.env.NODE_ENV !== "production" ? {
|
|
941
|
-
[TEST_PROP_ID]: getNameDataTestId("
|
|
936
|
+
[TEST_PROP_ID]: getNameDataTestId("containerSideBarLogo")
|
|
942
937
|
} : {},
|
|
943
|
-
children:
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
938
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
939
|
+
className: classes.containerLogo,
|
|
940
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
941
|
+
[TEST_PROP_ID]: getNameDataTestId("containerLogo")
|
|
942
|
+
} : {},
|
|
943
|
+
children: [/* @__PURE__ */ jsx(Image, {
|
|
944
|
+
width: "40px",
|
|
945
|
+
height: "40px",
|
|
946
|
+
src: companyLogoSmallUrl,
|
|
947
|
+
alt: "logo"
|
|
948
|
+
}, "Logo"), !collapsed && /* @__PURE__ */ jsx(Typography, {
|
|
949
|
+
variant: "subtitleDens",
|
|
950
|
+
skeletonWidth: "100px",
|
|
951
|
+
children: companyName
|
|
952
|
+
})]
|
|
953
|
+
})
|
|
954
|
+
}), /* @__PURE__ */ jsx(ContentGroups, {})]
|
|
955
|
+
})]
|
|
956
|
+
})
|
|
956
957
|
});
|
|
957
958
|
};
|
|
958
959
|
const SideBar = (props) => {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DrawerProps as MUIDrawerProps, Theme } from "@mui/material";
|
|
2
|
+
import { ComponentNameToClassKey, SxProps } from "@mui/material";
|
|
3
|
+
import { OverridesStyleRules } from "@mui/material/styles/overrides";
|
|
4
|
+
import { ReactElement } from "react";
|
|
5
|
+
export interface DrawerProps extends Omit<MUIDrawerProps, 'sx'> {
|
|
6
|
+
sx?: SxProps<Theme> | Partial<OverridesStyleRules<string, ComponentNameToClassKey, Theme>>;
|
|
7
|
+
children: ReactElement;
|
|
8
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const WrapperAreaChips: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
+
export declare const AreaSelect: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
+
export declare const EditAreaHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AreasViewerClasses } from './types';
|
|
2
2
|
import { OwnerState } from '../../../contexts/AreasContext/types';
|
|
3
3
|
export declare const areasViewerClasses: AreasViewerClasses;
|
|
4
|
-
export declare const useAreasViewerUtilityClasses: (ownerState: OwnerState) => Record<"root" | "areaRoot" | "areaGridLayoutPanelContainer" | "areaGridLayout" | "areaGridLayoutPopupsContainer" | "windowRoot" | "windowHeader" | "windowHeaderTitle" | "windowHeaderMainActions" | "windowContent" | "windowPopupRoot" | "windowModalRoot" | "panelWindowsRoot" | "panelWindowsButtonContainer", string>;
|
|
4
|
+
export declare const useAreasViewerUtilityClasses: (ownerState: OwnerState) => Record<"root" | "areaRoot" | "areaGridLayoutPanelContainer" | "areaGridLayout" | "areaGridLayoutPopupsContainer" | "windowRoot" | "windowRootContainer" | "windowHeader" | "windowHeaderTitle" | "windowHeaderMainActions" | "windowContent" | "windowPopupRoot" | "windowModalRoot" | "selectedWindow" | "panelWindowsRoot" | "panelWindowsButtonContainer", string>;
|
|
5
5
|
export declare type ViwerClasses = ReturnType<typeof useAreasViewerUtilityClasses>;
|
|
@@ -11,9 +11,12 @@ export interface AreasViewerClasses {
|
|
|
11
11
|
windowHeaderTitle: string;
|
|
12
12
|
windowHeaderMainActions: string;
|
|
13
13
|
windowContent: string;
|
|
14
|
+
windowRootContainer: string;
|
|
14
15
|
windowPopupRoot: string;
|
|
15
16
|
windowModalRoot: string;
|
|
16
17
|
selected: string;
|
|
18
|
+
selectedWindow: string;
|
|
17
19
|
isMobile: string;
|
|
20
|
+
loading: string;
|
|
18
21
|
}
|
|
19
22
|
export declare type AreasViewerClassesKey = keyof AreasViewerClasses;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { AreaProps } from '
|
|
2
|
+
import { AreaProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* @description Funcion encargada de renderizar un área completa.
|
|
5
5
|
* El AreaProvider crea el store del área, por medio del cual se controla todo el estado y almacenamiento del área
|
|
@@ -8,6 +8,6 @@ import { AreaProps } from '../../../../types';
|
|
|
8
8
|
* @returns JSX
|
|
9
9
|
*/
|
|
10
10
|
export declare const Area: {
|
|
11
|
-
(props: AreaProps): import("react").JSX.Element;
|
|
11
|
+
(props: AreaProps): import("react").JSX.Element | null;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { GridLayoutProps } from './types';
|
|
2
3
|
/**
|
|
3
4
|
* @description Retorna el componente GridLayout con las ventanas (layouts) y popups tomados del área de trabajo.
|
|
4
5
|
* @returns JSX
|
|
5
6
|
*/
|
|
6
|
-
export declare const GridLayout: () => import("react").JSX.Element;
|
|
7
|
+
export declare const GridLayout: (props: GridLayoutProps) => import("react").JSX.Element;
|