@m4l/components 0.1.83 → 0.1.85
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 +25 -4
- package/components/AccountPopover/classes/index.d.ts +4 -0
- package/components/AccountPopover/classes/types.d.ts +4 -0
- package/components/AccountPopover/dictionary.d.ts +1 -0
- package/components/AccountPopover/{index.2677fe77.js → index.35c29a55.js} +86 -36
- package/components/AccountPopover/index.d.ts +1 -0
- package/components/AccountPopover/types.d.ts +2 -0
- package/components/AppBar/dictionary.d.ts +1 -0
- package/components/AppBar/{index.ad2a6f0e.js → index.291da9fd.js} +19 -11
- package/components/AppBar/index.d.ts +1 -0
- package/components/CommonActions/components/ActionCancel/{index.b2fc495d.js → index.67b91376.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.60d8963e.js → index.d4503410.js} +17 -16
- package/components/CommonActions/components/ActionFormIntro/{index.fde4ea51.js → index.01ed67de.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.724d8e17.js → index.53e7fe2b.js} +1 -1
- package/components/CommonActions/components/Actions/{index.23a2d6ae.js → index.c91c27f9.js} +15 -14
- package/components/DataGrid/{index.d5d0d62f.js → index.37e14e83.js} +14 -12
- package/components/DataGrid/subcomponents/Actions/{index.201394f5.js → index.155c63af.js} +47 -31
- package/components/DynamicFilter/{index.7d134537.js → index.a8c2609c.js} +29 -28
- package/components/GridLayout/constants.d.ts +1 -1
- package/components/GridLayout/{index.70085b00.js → index.2383aaf9.js} +86 -23
- package/components/GridLayout/index.d.ts +1 -1
- package/components/GridLayout/subcomponents/Griditem/{index.c09681ff.js → index.58168132.js} +1 -6
- package/components/GridLayout/subcomponents/Responsive/{index.eb04fd5e.js → index.a6642437.js} +1 -2
- package/components/GridLayout/types.d.ts +2 -2
- package/components/HelperText/{index.28e9105d.js → index.8b5911d1.js} +9 -8
- package/components/Icon/{index.2414ff25.js → index.c3a579e7.js} +1 -1
- package/components/LanguagePopover/{index.065e0296.js → index.7681b08e.js} +9 -8
- package/components/ModalDialog/{index.fb148f76.js → index.b85ee3cb.js} +4 -6
- package/components/NavLink/{index.2ef07c44.js → index.bb879650.js} +9 -8
- package/components/NoItemSelected/classes/constants.d.ts +1 -0
- package/components/NoItemSelected/classes/index.d.ts +6 -0
- package/components/NoItemSelected/classes/types.d.ts +6 -0
- package/components/NoItemSelected/{index.23dfc897.js → index.a2807715.js} +46 -31
- package/components/NoItemSelected/index.d.ts +2 -1
- package/components/NoItemSelected/types.d.ts +4 -0
- package/components/ObjectLogs/{index.5d74dfe0.js → index.2ed38a84.js} +22 -19
- package/components/PaperForm/{index.f931dc02.js → index.989377a5.js} +1 -1
- package/components/Period/{index.0e6512b2.js → index.061c9b2f.js} +16 -15
- package/components/PropertyValue/{index.a67c9916.js → index.ac46f441.js} +1 -1
- package/components/ScrollBar/{index.d4410cb5.js → index.1247c1c5.js} +38 -9
- package/components/SideBar/classes/index.d.ts +0 -1
- package/components/SideBar/classes/types.d.ts +0 -1
- package/components/SideBar/{index.72564ef2.js → index.e0587639.js} +131 -75
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/type.d.ts +5 -0
- package/components/areas/components/AreasAdmin/classes/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/classes/types.d.ts +3 -0
- package/components/areas/components/AreasAdmin/index.d.ts +2 -2
- package/components/areas/components/AreasAdmin/index.f505897a.js +767 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/types.d.ts +2 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/types.d.ts +2 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.d.ts +6 -0
- 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.9ed7dfd7.js → index.cacec884.js} +77 -52
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/index.d.ts +2 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/subcomponents/ResizeHandle/index.d.ts +4 -0
- package/components/areas/components/index.6d5dfeec.js +31 -0
- package/components/areas/contexts/AreasContext/helper.d.ts +10 -3
- package/components/areas/contexts/AreasContext/{index.36fe6953.js → index.6f56b1da.js} +103 -80
- package/components/areas/contexts/AreasContext/types.d.ts +28 -8
- package/components/areas/contexts/{index.68c53fc9.js → index.999e8b1e.js} +1 -1
- package/components/areas/hooks/useAreas/{index.a4c03e23.js → index.4baec91c.js} +1 -1
- package/components/areas/index.3088f99e.js +54 -0
- package/components/areas/utils/useOnClickOutside/index.d.ts +4 -0
- package/components/formatters/BooleanFormatter/{index.32de0803.js → index.e7f0b76a.js} +1 -1
- package/components/formatters/{index.d16d2331.js → index.d911949d.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.42df8eb4.js → index.aca6984f.js} +11 -9
- package/components/hook-form/RHFAutocompleteAsync/{index.0441524c.js → index.8511bcf8.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.c66147f7.js → index.0f45e6b0.js} +10 -9
- package/components/hook-form/RHFDateTime/{index.4698ca29.js → index.07412ef0.js} +10 -9
- package/components/hook-form/RHFPeriod/{index.f653934b.js → index.15b8f11e.js} +2 -2
- package/components/hook-form/RHFTextField/{index.1fa07688.js → index.94c8c59b.js} +3 -3
- package/components/hook-form/RHFUpload/{index.93c2dcb5.js → index.7ef1e124.js} +10 -9
- package/components/modal/{WindowBase.92ce9b8f.js → WindowBase.d485315d.js} +17 -12
- package/components/modal/{WindowConfirm.4c3d2cd7.js → WindowConfirm.3d9cd6e1.js} +18 -17
- package/components/modal/{index.1bd35bd5.js → index.c7e4beba.js} +15 -14
- package/components/mui_extended/Accordion/{index.5111314b.js → index.854f4c90.js} +3 -3
- package/components/mui_extended/Badge/classes/constants.d.ts +1 -1
- package/components/mui_extended/Badge/{index.cad260fe.js → index.8c2b8b66.js} +1 -1
- package/components/mui_extended/CheckBox/CheckBox.d.ts +1 -1
- package/components/mui_extended/{CheckBox.5f6c78b0.js → CheckBox.38abccd8.js} +5 -3
- package/components/mui_extended/IconButton/{index.a318316e.js → index.be111a34.js} +2 -12
- package/components/mui_extended/MenuActions/{index.f6bfdd40.js → index.b16e84c1.js} +26 -8
- package/components/mui_extended/MenuActions/types.d.ts +3 -0
- package/components/mui_extended/Pager/{index.da26e9d4.js → index.5b77fa4c.js} +84 -82
- package/components/mui_extended/Pager/subcomponents/CustomTablePagination/index.d.ts +5 -0
- package/components/mui_extended/Pager/subcomponents/CustomTablePagination/types.d.ts +1 -4
- package/components/mui_extended/Stack/Stack.d.ts +3 -0
- package/components/mui_extended/Stack/classes/constants.d.ts +1 -0
- package/components/mui_extended/Stack/classes/index.d.ts +6 -0
- package/components/mui_extended/Stack/classes/types.d.ts +6 -0
- package/components/mui_extended/Stack/index.0e53197c.js +39 -0
- package/components/mui_extended/Stack/index.d.ts +2 -0
- package/components/mui_extended/Stack/types.d.ts +2 -0
- package/components/mui_extended/Tab/{index.0989d15d.js → index.c1dc7bbf.js} +42 -9
- package/components/mui_extended/Tabs/Tabs.d.ts +3 -0
- package/components/mui_extended/Tabs/classes/constants.d.ts +1 -0
- package/components/mui_extended/Tabs/classes/index.d.ts +6 -0
- package/components/mui_extended/Tabs/classes/types.d.ts +6 -0
- package/components/mui_extended/Tabs/index.d.ts +1 -0
- package/components/mui_extended/index.d.ts +2 -0
- package/components/mui_extended/{index.813723c5.js → index.d1ee9a6a.js} +9 -8
- package/contexts/ModalContext/{index.577bf36b.js → index.1ea79d7e.js} +1 -1
- package/contexts/RHFormContext/{index.b9266262.js → index.e019f87d.js} +1 -1
- package/hooks/useModal/{index.7a07c208.js → index.c906706c.js} +1 -1
- package/index.js +81 -75
- package/package.json +1 -1
- package/{vendor.5365cc7e.js → vendor.f27b86c9.js} +51 -51
- package/components/GridLayout/subcomponents/SizeProvider/index.9c5e80b2.js +0 -65
- package/components/areas/components/AreasAdmin/index.7bfec13f.js +0 -487
- package/components/areas/components/index.654b08aa.js +0 -30
- package/components/areas/index.ec4f088c.js +0 -32
- /package/components/GridLayout/subcomponents/{SizeProvider → WidthProvider}/index.d.ts +0 -0
- /package/components/areas/components/AreasAdmin/subcomponents/{AreaChipMobile/subcomponents/PanelWindowPopUp → PanelWindowPopUp}/index.d.ts +0 -0
- /package/components/areas/components/AreasAdmin/subcomponents/{AreaChipMobile/subcomponents/PanelWindowPopUp → PanelWindowPopUp}/types.d.ts +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useTheme, Dialog, Paper } from "@mui/material";
|
|
2
2
|
import { c as cjs } from "../../react-draggable.7abb5d0a.js";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.c906706c.js";
|
|
4
4
|
import { R as ResizeableWindow } from "../Resizeable/index.9a9c79a4.js";
|
|
5
5
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
6
|
-
import { I as Icon } from "../Icon/index.
|
|
6
|
+
import { I as Icon } from "../Icon/index.c3a579e7.js";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
8
|
import { I as ICONS } from "../areas/icons.8266ccc8.js";
|
|
9
|
-
import { m as modalUtilityClasses } from "../modal/index.
|
|
9
|
+
import { m as modalUtilityClasses } from "../modal/index.c7e4beba.js";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
11
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.c91c27f9.js";
|
|
12
12
|
const DragabblePaperComponent = (props) => {
|
|
13
13
|
return /* @__PURE__ */ jsx(cjs.exports, {
|
|
14
14
|
handle: ".m4l_draggable_handle",
|
|
@@ -65,8 +65,6 @@ const ModalDialog = () => {
|
|
|
65
65
|
"aria-labelledby": "child-modal-title",
|
|
66
66
|
"aria-describedby": "child-modal-description",
|
|
67
67
|
PaperComponent: isDesktop ? DragabblePaperComponent : PaperComponent,
|
|
68
|
-
maxWidth: false,
|
|
69
|
-
fullWidth: !isDesktop,
|
|
70
68
|
fullScreen,
|
|
71
69
|
disableEnforceFocus: true,
|
|
72
70
|
children: [isDesktop && /* @__PURE__ */ jsx(ResizeableWindow, {
|
|
@@ -2,25 +2,26 @@ 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.
|
|
5
|
+
import "../Icon/index.c3a579e7.js";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import "clsx";
|
|
8
8
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
9
|
-
import "../mui_extended/IconButton/index.
|
|
9
|
+
import "../mui_extended/IconButton/index.be111a34.js";
|
|
10
10
|
import "@m4l/graphics";
|
|
11
|
-
import "../mui_extended/Accordion/index.
|
|
11
|
+
import "../mui_extended/Accordion/index.854f4c90.js";
|
|
12
12
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
13
13
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
14
14
|
import "@mui/material/Button";
|
|
15
15
|
import "../mui_extended/Button/index.40af964e.js";
|
|
16
|
-
import "../mui_extended/CheckBox.
|
|
17
|
-
import "../mui_extended/Badge/index.
|
|
16
|
+
import "../mui_extended/CheckBox.38abccd8.js";
|
|
17
|
+
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
18
18
|
import "../Image/index.c18ebf5a.js";
|
|
19
19
|
import "@mui/lab";
|
|
20
|
-
import "../mui_extended/MenuActions/index.
|
|
20
|
+
import "../mui_extended/MenuActions/index.b16e84c1.js";
|
|
21
21
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
22
|
-
import "../mui_extended/
|
|
23
|
-
import "../mui_extended/Tab/index.
|
|
22
|
+
import "../mui_extended/Stack/index.0e53197c.js";
|
|
23
|
+
import "../mui_extended/Tab/index.c1dc7bbf.js";
|
|
24
|
+
import "../mui_extended/Pager/index.5b77fa4c.js";
|
|
24
25
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
25
26
|
import { unstable_composeClasses } from "@mui/base";
|
|
26
27
|
const componentName = "M4LNavLink";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const componentName = "M4LNoItemSelected";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { NoItemSelectedClassesType } from './types';
|
|
2
|
+
export declare const noItemSelectedClasses: NoItemSelectedClassesType;
|
|
3
|
+
export declare function getNoItemSelectedUtilityClass(slot: string): string;
|
|
4
|
+
export declare const useNoItemSelectedUtilityClasses: () => {
|
|
5
|
+
root: string;
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { useNoItemSelectedUtilityClasses } from ".";
|
|
2
|
+
export interface NoItemSelectedClassesType {
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export declare type NoItemSelectedClassesKey = keyof NoItemSelectedClassesType;
|
|
6
|
+
export declare type Classes = ReturnType<typeof useNoItemSelectedUtilityClasses>;
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
3
|
import { I as Image } from "../Image/index.c18ebf5a.js";
|
|
4
|
-
import { Skeleton } from "@mui/material";
|
|
4
|
+
import { generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
|
-
import {
|
|
6
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
7
8
|
const WrapperNoItemSelected = styled("div")(({
|
|
8
9
|
theme
|
|
9
10
|
}) => ({
|
|
10
|
-
|
|
11
|
-
maxWidth: "400px",
|
|
12
|
-
minWidth: "300px",
|
|
13
|
-
display: "flex",
|
|
14
|
-
flexDirection: "column",
|
|
15
|
-
alignItems: "center",
|
|
16
|
-
justifyContent: "center",
|
|
17
|
-
padding: theme.spacing(3)
|
|
11
|
+
...theme.components?.M4LNoItemSelected?.styleOverrides
|
|
18
12
|
}));
|
|
19
13
|
const Img = styled(Image)(() => ({
|
|
20
14
|
display: "flex"
|
|
@@ -34,7 +28,27 @@ const WrapperSKTNoItemSelected = styled("div")(() => ({
|
|
|
34
28
|
mask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 70 70' style='enable-background:new 0 0 70 70%3B' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M45 8.7c1.4-1.5 3.4-2.3 5.4-2.3s3.9 0.8 5.4 2.3s2.4 3.5 2.5 5.7c0 2.2-0.9 4.2-2.4 5.7s-3.5 2.3-5.5 2.2c-2.1 0.1-4-0.7-5.5-2.2c-1.4-1.5-2.3-3.5-2.4-5.7C42.6 12.2 43.5 10.2 45 8.7z'/%3E%3Cpath d='M68.4 62.1c-0.3 0.5-0.7 0.8-1.2 1.1s-1 0.4-1.6 0.4H4.3c-0.6 0-1.1-0.1-1.6-0.4s-0.9-0.6-1.2-1.1c-0.2-0.5-0.4-1-0.4-1.5s0.1-1.1 0.4-1.5l23-36.4c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l11.5 18.2c0.2 0.3 0.5 0.5 0.8 0.7c0.3 0.2 0.6 0.3 1 0.3c0.3 0 0.7-0.1 1-0.3c0.3-0.2 0.6-0.4 0.8-0.7l3.1-4.9c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l14.6 23.1c0.3 0.5 0.3 1 0.3 1.5S68.7 61.7 68.4 62.1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain`,
|
|
35
29
|
WebkitMask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 70 70' style='enable-background:new 0 0 70 70%3B' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M45 8.7c1.4-1.5 3.4-2.3 5.4-2.3s3.9 0.8 5.4 2.3s2.4 3.5 2.5 5.7c0 2.2-0.9 4.2-2.4 5.7s-3.5 2.3-5.5 2.2c-2.1 0.1-4-0.7-5.5-2.2c-1.4-1.5-2.3-3.5-2.4-5.7C42.6 12.2 43.5 10.2 45 8.7z'/%3E%3Cpath d='M68.4 62.1c-0.3 0.5-0.7 0.8-1.2 1.1s-1 0.4-1.6 0.4H4.3c-0.6 0-1.1-0.1-1.6-0.4s-0.9-0.6-1.2-1.1c-0.2-0.5-0.4-1-0.4-1.5s0.1-1.1 0.4-1.5l23-36.4c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l11.5 18.2c0.2 0.3 0.5 0.5 0.8 0.7c0.3 0.2 0.6 0.3 1 0.3c0.3 0 0.7-0.1 1-0.3c0.3-0.2 0.6-0.4 0.8-0.7l3.1-4.9c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l14.6 23.1c0.3 0.5 0.3 1 0.3 1.5S68.7 61.7 68.4 62.1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain`
|
|
36
30
|
}));
|
|
37
|
-
|
|
31
|
+
const componentName = "M4LNoItemSelected";
|
|
32
|
+
generateUtilityClasses(componentName, [
|
|
33
|
+
"root"
|
|
34
|
+
]);
|
|
35
|
+
function getNoItemSelectedUtilityClass(slot) {
|
|
36
|
+
return generateUtilityClass(componentName, slot);
|
|
37
|
+
}
|
|
38
|
+
const useNoItemSelectedUtilityClasses = () => {
|
|
39
|
+
const slots = {
|
|
40
|
+
root: ["root"]
|
|
41
|
+
};
|
|
42
|
+
const composedClasses = unstable_composeClasses(slots, getNoItemSelectedUtilityClass, {});
|
|
43
|
+
return {
|
|
44
|
+
...composedClasses
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
function NoItemSelected(props) {
|
|
48
|
+
const {
|
|
49
|
+
image,
|
|
50
|
+
message
|
|
51
|
+
} = props;
|
|
38
52
|
const {
|
|
39
53
|
host_static_assets,
|
|
40
54
|
environment_assets
|
|
@@ -43,29 +57,30 @@ function NoItemSelected() {
|
|
|
43
57
|
getLabel
|
|
44
58
|
} = useModuleDictionary();
|
|
45
59
|
const isSkeleton = useModuleSkeleton();
|
|
46
|
-
const
|
|
60
|
+
const defaultImage = useMemo(() => {
|
|
47
61
|
return `${host_static_assets}/${environment_assets}/frontend/components/no_item_selected/assets/icons/no_selected.svg`;
|
|
48
62
|
}, []);
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
63
|
+
const classes = useNoItemSelectedUtilityClasses();
|
|
64
|
+
return /* @__PURE__ */ jsx(WrapperNoItemSelected, {
|
|
65
|
+
className: classes.root,
|
|
66
|
+
children: !isSkeleton ? /* @__PURE__ */ jsxs(Fragment, {
|
|
67
|
+
children: [!image ? /* @__PURE__ */ jsx(Img, {
|
|
68
|
+
src: defaultImage
|
|
69
|
+
}) : /* @__PURE__ */ jsx(Img, {
|
|
70
|
+
src: image
|
|
71
|
+
}), !message ? /* @__PURE__ */ jsx(Label, {
|
|
72
|
+
children: getLabel("no_item_selected.message")
|
|
73
|
+
}) : /* @__PURE__ */ jsx(Label, {
|
|
74
|
+
children: message
|
|
75
|
+
})]
|
|
76
|
+
}) : /* @__PURE__ */ jsx(WrapperSKTNoItemSelected, {
|
|
77
|
+
id: "WrapperSKTNoItemSelected",
|
|
78
|
+
children: /* @__PURE__ */ jsx(Skeleton, {
|
|
79
|
+
variant: "rectangular",
|
|
80
|
+
width: "100%",
|
|
81
|
+
height: "100%"
|
|
59
82
|
})
|
|
60
|
-
})
|
|
61
|
-
}
|
|
62
|
-
return /* @__PURE__ */ jsxs(WrapperNoItemSelected, {
|
|
63
|
-
id: "WrapperNoItemSelected",
|
|
64
|
-
children: [/* @__PURE__ */ jsx(Img, {
|
|
65
|
-
src
|
|
66
|
-
}), /* @__PURE__ */ jsx(Label, {
|
|
67
|
-
children: getLabel("no_item_selected.message")
|
|
68
|
-
})]
|
|
83
|
+
})
|
|
69
84
|
});
|
|
70
85
|
}
|
|
71
86
|
function getNoItemSelectedComponentsDictionary() {
|
|
@@ -1,54 +1,57 @@
|
|
|
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 {
|
|
4
|
+
import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.37e14e83.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.
|
|
10
|
+
import { u as useModal } from "../../hooks/useModal/index.c906706c.js";
|
|
11
|
+
import { I as Icon } from "../Icon/index.c3a579e7.js";
|
|
12
12
|
import "../../react-draggable.7abb5d0a.js";
|
|
13
13
|
import "../Resizeable/index.9a9c79a4.js";
|
|
14
|
-
import "../modal/index.
|
|
15
|
-
import "../CommonActions/components/Actions/index.
|
|
14
|
+
import "../modal/index.c7e4beba.js";
|
|
15
|
+
import "../CommonActions/components/Actions/index.c91c27f9.js";
|
|
16
16
|
import "@mui/material/Button";
|
|
17
17
|
import "../mui_extended/Button/index.40af964e.js";
|
|
18
18
|
import "clsx";
|
|
19
19
|
import "react-hook-form";
|
|
20
|
-
import "../mui_extended/IconButton/index.
|
|
20
|
+
import "../mui_extended/IconButton/index.be111a34.js";
|
|
21
21
|
import "zustand";
|
|
22
|
-
import "../areas/contexts/AreasContext/index.
|
|
23
|
-
import "../areas/components/AreasAdmin/index.
|
|
22
|
+
import "../areas/contexts/AreasContext/index.6f56b1da.js";
|
|
23
|
+
import "../areas/components/AreasAdmin/index.f505897a.js";
|
|
24
24
|
import "zustand/shallow";
|
|
25
|
-
import "../ScrollBar/index.
|
|
26
|
-
import "../mui_extended/Accordion/index.
|
|
25
|
+
import "../ScrollBar/index.1247c1c5.js";
|
|
26
|
+
import "../mui_extended/Accordion/index.854f4c90.js";
|
|
27
27
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
28
28
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
29
29
|
import "react-router-dom";
|
|
30
|
-
import "../mui_extended/CheckBox.
|
|
31
|
-
import "../mui_extended/Badge/index.
|
|
30
|
+
import "../mui_extended/CheckBox.38abccd8.js";
|
|
31
|
+
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
32
32
|
import "../Image/index.c18ebf5a.js";
|
|
33
33
|
import "@mui/lab";
|
|
34
|
-
import "../mui_extended/MenuActions/index.
|
|
34
|
+
import "../mui_extended/MenuActions/index.b16e84c1.js";
|
|
35
35
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
36
|
-
import "../mui_extended/
|
|
37
|
-
import "../mui_extended/Tab/index.
|
|
36
|
+
import "../mui_extended/Stack/index.0e53197c.js";
|
|
37
|
+
import "../mui_extended/Tab/index.c1dc7bbf.js";
|
|
38
|
+
import "../mui_extended/Pager/index.5b77fa4c.js";
|
|
38
39
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
39
|
-
import "../areas/components/AreasViewer/index.
|
|
40
|
+
import "../areas/components/AreasViewer/index.cacec884.js";
|
|
40
41
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
41
42
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
42
43
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
43
|
-
import { W as WindowBase } from "../modal/WindowBase.
|
|
44
|
-
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.
|
|
44
|
+
import { W as WindowBase } from "../modal/WindowBase.d485315d.js";
|
|
45
|
+
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.a8c2609c.js";
|
|
45
46
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
46
47
|
const Container$1 = styled("div")(() => ({
|
|
47
48
|
height: "100%",
|
|
48
49
|
width: "100%",
|
|
49
50
|
display: "flex",
|
|
50
51
|
flexDirection: "column",
|
|
51
|
-
justifyContent: "flex-start"
|
|
52
|
+
justifyContent: "flex-start",
|
|
53
|
+
gap: "4px",
|
|
54
|
+
padding: "4px"
|
|
52
55
|
}));
|
|
53
56
|
const Actions = styled("div")(({
|
|
54
57
|
theme
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../Icon/index.
|
|
4
|
+
import { I as Icon } from "../Icon/index.c3a579e7.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
const PaperFormRoot = styled("div")(({
|
|
@@ -1,38 +1,39 @@
|
|
|
1
1
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, generateUtilityClasses, generateUtilityClass, Autocomplete, TextField, Skeleton } 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.c3a579e7.js";
|
|
5
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.c91c27f9.js";
|
|
6
6
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import "@mui/material/Button";
|
|
8
8
|
import "../mui_extended/Button/index.40af964e.js";
|
|
9
9
|
import "clsx";
|
|
10
10
|
import "react-hook-form";
|
|
11
|
-
import "../../contexts/ModalContext/index.
|
|
11
|
+
import "../../contexts/ModalContext/index.1ea79d7e.js";
|
|
12
12
|
import "../../react-draggable.7abb5d0a.js";
|
|
13
13
|
import "../Resizeable/index.9a9c79a4.js";
|
|
14
14
|
import "@m4l/graphics";
|
|
15
|
-
import "../modal/index.
|
|
15
|
+
import "../modal/index.c7e4beba.js";
|
|
16
16
|
import "../Image/index.c18ebf5a.js";
|
|
17
|
-
import "../mui_extended/IconButton/index.
|
|
18
|
-
import "../mui_extended/Accordion/index.
|
|
17
|
+
import "../mui_extended/IconButton/index.be111a34.js";
|
|
18
|
+
import "../mui_extended/Accordion/index.854f4c90.js";
|
|
19
19
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
20
20
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
21
21
|
import "react-router-dom";
|
|
22
|
-
import "../mui_extended/CheckBox.
|
|
23
|
-
import "../mui_extended/Badge/index.
|
|
22
|
+
import "../mui_extended/CheckBox.38abccd8.js";
|
|
23
|
+
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
24
24
|
import "@mui/lab";
|
|
25
|
-
import "../mui_extended/MenuActions/index.
|
|
25
|
+
import "../mui_extended/MenuActions/index.b16e84c1.js";
|
|
26
26
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
27
|
-
import "../mui_extended/
|
|
28
|
-
import "../mui_extended/Tab/index.
|
|
27
|
+
import "../mui_extended/Stack/index.0e53197c.js";
|
|
28
|
+
import "../mui_extended/Tab/index.c1dc7bbf.js";
|
|
29
|
+
import "../mui_extended/Pager/index.5b77fa4c.js";
|
|
29
30
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
30
31
|
import "zustand";
|
|
31
|
-
import "../areas/contexts/AreasContext/index.
|
|
32
|
-
import "../areas/components/AreasAdmin/index.
|
|
32
|
+
import "../areas/contexts/AreasContext/index.6f56b1da.js";
|
|
33
|
+
import "../areas/components/AreasAdmin/index.f505897a.js";
|
|
33
34
|
import "zustand/shallow";
|
|
34
|
-
import "../ScrollBar/index.
|
|
35
|
-
import "../areas/components/AreasViewer/index.
|
|
35
|
+
import "../ScrollBar/index.1247c1c5.js";
|
|
36
|
+
import "../areas/components/AreasViewer/index.cacec884.js";
|
|
36
37
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
37
38
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
38
39
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
3
3
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
4
|
-
import { g as getNameDataTestId } from "../../vendor.
|
|
4
|
+
import { g as getNameDataTestId } from "../../vendor.f27b86c9.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
7
7
|
import { useModuleSkeleton } from "@m4l/core";
|
|
@@ -3,18 +3,50 @@ import { styled, alpha } from "@mui/material/styles";
|
|
|
3
3
|
import SimpleBarReact from "simplebar-react";
|
|
4
4
|
import simpleBarCss from "simplebar/dist/simplebar.min.css?used";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
styled(
|
|
7
|
-
flex-grow: 1;
|
|
6
|
+
const SimpleBarStyle = styled(SimpleBarReact)`
|
|
7
|
+
/* flex-grow: 1;
|
|
8
8
|
height: 100%;
|
|
9
|
-
overflow: hidden;
|
|
9
|
+
overflow: hidden; */
|
|
10
10
|
${simpleBarCss}
|
|
11
|
+
height: 100%;
|
|
12
|
+
|
|
13
|
+
.simplebar-scrollbar {
|
|
14
|
+
:before: {
|
|
15
|
+
background-color: ${(props) => alpha(props.theme.palette.grey[600], 0.48)};
|
|
16
|
+
}
|
|
17
|
+
.simplebar-visible:before {
|
|
18
|
+
opacity: 1;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.simplebar-track.simplebar-vertical {
|
|
22
|
+
width: 30;
|
|
23
|
+
}
|
|
24
|
+
.simplebar-track.simplebar-horizontal .simplebar-scrollbar {
|
|
25
|
+
height: 6;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.simplebar-mask {
|
|
29
|
+
z-index: 'inherit';
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.simplebar-content {
|
|
33
|
+
// display: 'flex',
|
|
34
|
+
// flexDirection: 'column',
|
|
35
|
+
// height: '100%',
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.simplebar-content-wrapper[style*='overflow: hidden scroll;'] {
|
|
39
|
+
.simplebar-content {
|
|
40
|
+
margin-right: 16px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
11
43
|
`;
|
|
12
44
|
const RootStyle = styled("div")(() => ({
|
|
13
45
|
flexGrow: 1,
|
|
14
46
|
height: "100%",
|
|
15
47
|
overflow: "hidden"
|
|
16
48
|
}));
|
|
17
|
-
|
|
49
|
+
styled(SimpleBarReact)(({
|
|
18
50
|
theme
|
|
19
51
|
}) => ({
|
|
20
52
|
height: "100%",
|
|
@@ -35,13 +67,10 @@ const SimpleBarStyle = styled(SimpleBarReact)(({
|
|
|
35
67
|
"& .simplebar-mask": {
|
|
36
68
|
zIndex: "inherit"
|
|
37
69
|
},
|
|
38
|
-
"& .simplebar-content": {
|
|
39
|
-
display: "flex",
|
|
40
|
-
height: "100%"
|
|
41
|
-
},
|
|
70
|
+
"& .simplebar-content": {},
|
|
42
71
|
'& .simplebar-content-wrapper[style*="overflow: hidden scroll;"] ': {
|
|
43
72
|
"& .simplebar-content": {
|
|
44
|
-
marginRight: "
|
|
73
|
+
marginRight: "12px"
|
|
45
74
|
}
|
|
46
75
|
}
|
|
47
76
|
}));
|
|
@@ -24,7 +24,6 @@ export declare const getSideBarClassesByState: (ownerState: SideBarState) => {
|
|
|
24
24
|
subItemActive: string;
|
|
25
25
|
lineLeft: string;
|
|
26
26
|
wrapperSideBar: string;
|
|
27
|
-
containerLogoButton: string;
|
|
28
27
|
itemMainActive: string;
|
|
29
28
|
navItemMainTriangleTop: string;
|
|
30
29
|
navItemMainTriangleBottom: string;
|