@m4l/components 0.1.87 → 0.1.89
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 +84 -112
- package/components/AccountPopover/{index.0bee6fca.js → index.bb2c369d.js} +7 -7
- package/components/AppBar/{index.8e3e0148.js → index.58233583.js} +7 -7
- package/components/CommonActions/components/ActionCancel/{index.e66f9b5f.js → index.ffc5618a.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.51311bde.js → index.baa35ca3.js} +15 -15
- package/components/CommonActions/components/ActionFormIntro/{index.2ecd7ba1.js → index.906d46a0.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.33892c01.js → index.81d2648b.js} +1 -1
- package/components/CommonActions/components/Actions/{index.018d4c62.js → index.366cb775.js} +13 -13
- package/components/DataGrid/formatters/columnNestedValueFormatter/{index.f68ef4e1.js → index.b63f7246.js} +3 -1
- package/components/DataGrid/{index.c348b106.js → index.8c887df9.js} +7 -7
- package/components/DataGrid/subcomponents/Actions/{index.080e8c7d.js → index.895fc73f.js} +25 -23
- package/components/DynamicFilter/dictionary.d.ts +6 -2
- package/components/DynamicFilter/{index.20ee6e21.js → index.d2e7bdcc.js} +56 -53
- package/components/GridLayout/{index.2383aaf9.js → index.8ae34c50.js} +25 -16
- package/components/GridLayout/subcomponents/Griditem/{index.58168132.js → index.c7a33781.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.a6642437.js → index.96cdb1b4.js} +1 -2
- package/components/HelperText/{index.d00b45e5.js → index.69791151.js} +7 -7
- package/components/Icon/{index.435df215.js → index.a70c4729.js} +1 -1
- package/components/LanguagePopover/{index.3f25054a.js → index.349d359c.js} +7 -7
- package/components/ModalDialog/{index.df9b1e97.js → index.302a87c9.js} +5 -15
- package/components/NavLink/{index.cc66f31f.js → index.8fe407ef.js} +7 -7
- package/components/NoItemSelected/{index.a2807715.js → index.1eaf72d8.js} +7 -8
- package/components/ObjectLogs/{index.ca98686d.js → index.98d3400e.js} +17 -17
- package/components/PaperForm/{index.ad703ab6.js → index.e02c772c.js} +3 -14
- package/components/Period/{index.83b88249.js → index.972dbe64.js} +14 -14
- package/components/PropertyValue/{index.45b365c3.js → index.d3d71d50.js} +5 -4
- package/components/Resizeable/{index.9a9c79a4.js → index.676c96fe.js} +33 -12
- package/components/SideBar/{index.387a2fa1.js → index.2dfc5445.js} +2 -2
- package/components/areas/components/AreasAdmin/classes/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/classes/types.d.ts +1 -0
- package/components/areas/components/AreasAdmin/{index.f0fd024a.js → index.cb3d7bd6.js} +44 -40
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/{index.6c28b2c0.js → index.1eef603d.js} +68 -77
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/helper.d.ts +2 -0
- package/components/areas/components/{index.d920205b.js → index.44ec162f.js} +10 -10
- package/components/areas/contexts/AreasContext/{index.060aa7b0.js → index.7a2d5394.js} +9 -15
- package/components/areas/contexts/{index.1485986f.js → index.7bae4208.js} +1 -1
- package/components/areas/{dictionary.afb7e3d9.js → dictionary.08cfc4c9.js} +7 -1
- package/components/areas/dictionary.d.ts +6 -0
- package/components/areas/hooks/useAreas/{index.e4e54402.js → index.1f112e0b.js} +1 -1
- package/components/areas/{index.e9f2274c.js → index.aaaa1f62.js} +10 -10
- package/components/formatters/BooleanFormatter/{index.14cfcbc7.js → index.a013b080.js} +1 -1
- package/components/formatters/{index.b574dda9.js → index.576922c9.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.f4eb65ce.js → index.5c23bd25.js} +8 -9
- package/components/hook-form/RHFAutocompleteAsync/{index.8ecce8fd.js → index.85b11f3a.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.45b6ee0b.js → index.a136882e.js} +9 -8
- package/components/hook-form/RHFDateTime/{index.802fb228.js → index.1ca795b0.js} +8 -10
- package/components/hook-form/RHFPeriod/{index.6395b24a.js → index.90777c53.js} +2 -2
- package/components/hook-form/RHFTextField/{index.75129118.js → index.ccea64e7.js} +3 -3
- package/components/hook-form/RHFUpload/{index.fead1c63.js → index.85e59119.js} +8 -8
- package/components/modal/{WindowBase.f568bcac.js → WindowBase.39a70f35.js} +21 -17
- package/components/modal/{WindowConfirm.3c4da58c.js → WindowConfirm.f53c02f6.js} +29 -19
- package/components/modal/classes/index.d.ts +2 -0
- package/components/modal/classes/types.d.ts +2 -0
- package/components/modal/dictionary.d.ts +1 -0
- package/components/modal/index.d.ts +1 -0
- package/components/modal/{index.8d846036.js → index.dbdb6ac0.js} +24 -16
- package/components/mui_extended/Accordion/{index.1d182a0e.js → index.0e0090ca.js} +3 -3
- package/components/mui_extended/Badge/{index.8c2b8b66.js → index.b09524fe.js} +1 -1
- package/components/mui_extended/Badge/types.d.ts +1 -1
- package/components/mui_extended/IconButton/{index.d88a3f2e.js → index.76624519.js} +2 -2
- package/components/mui_extended/MenuActions/classes/constants.d.ts +1 -0
- package/components/mui_extended/MenuActions/classes/index.d.ts +7 -0
- package/components/mui_extended/MenuActions/classes/types.d.ts +7 -0
- package/components/mui_extended/MenuActions/{index.c53370f6.js → index.4c2e48d4.js} +42 -11
- package/components/mui_extended/MenuActions/types.d.ts +2 -0
- package/components/mui_extended/Pager/{index.d6c87c44.js → index.ac2a21f0.js} +1 -1
- package/components/mui_extended/Tab/{index.8592b93c.js → index.3db2e0c7.js} +37 -5
- package/components/mui_extended/TabContent/TabContent.d.ts +3 -0
- package/components/mui_extended/TabContent/classes/constants.d.ts +1 -0
- package/components/mui_extended/TabContent/classes/index.d.ts +6 -0
- package/components/mui_extended/TabContent/classes/types.d.ts +6 -0
- package/components/mui_extended/TabContent/index.d.ts +2 -0
- package/components/mui_extended/TabContent/types.d.ts +6 -0
- package/components/mui_extended/{index.5ffe6d2b.js → index.9e8aeca8.js} +7 -7
- package/components/mui_extended/index.d.ts +1 -0
- package/contexts/ModalContext/{index.9fb8e0a2.js → index.1fc9f5d9.js} +3 -1
- package/contexts/RHFormContext/{index.ea2758ed.js → index.1755b324.js} +4 -7
- package/hooks/useFormAddEdit/{index.3f77d470.js → index.4906dbb4.js} +15 -14
- package/hooks/useModal/{index.caaeaddd.js → index.6457198c.js} +1 -1
- package/index.js +65 -63
- package/package.json +1 -1
- package/{vendor.15beabcd.js → vendor.92191f81.js} +53 -53
|
@@ -2,26 +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.a70c4729.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.76624519.js";
|
|
10
10
|
import "@m4l/graphics";
|
|
11
|
-
import "../mui_extended/Accordion/index.
|
|
11
|
+
import "../mui_extended/Accordion/index.0e0090ca.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.f79eb74e.js";
|
|
16
16
|
import "../mui_extended/CheckBox.38abccd8.js";
|
|
17
|
-
import "../mui_extended/Badge/index.
|
|
17
|
+
import "../mui_extended/Badge/index.b09524fe.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.4c2e48d4.js";
|
|
21
21
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
22
22
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
23
|
-
import "../mui_extended/Tab/index.
|
|
24
|
-
import "../mui_extended/Pager/index.
|
|
23
|
+
import "../mui_extended/Tab/index.3db2e0c7.js";
|
|
24
|
+
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
25
25
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
26
26
|
import { unstable_composeClasses } from "@mui/base";
|
|
27
27
|
const componentName = "M4LNavLink";
|
|
@@ -16,9 +16,8 @@ const Img = styled(Image)(() => ({
|
|
|
16
16
|
const Label = styled("span")(({
|
|
17
17
|
theme
|
|
18
18
|
}) => ({
|
|
19
|
-
...theme.typography.
|
|
20
|
-
padding: `${theme.spacing(1.5)} ${theme.spacing(1)} ${theme.spacing(1)} ${theme.spacing(1)}
|
|
21
|
-
color: theme.palette.text.primary
|
|
19
|
+
...theme.typography.body,
|
|
20
|
+
padding: `${theme.spacing(1.5)} ${theme.spacing(1)} ${theme.spacing(1)} ${theme.spacing(1)}`
|
|
22
21
|
}));
|
|
23
22
|
const WrapperSKTNoItemSelected = styled("div")(() => ({
|
|
24
23
|
display: "flex",
|
|
@@ -64,14 +63,14 @@ function NoItemSelected(props) {
|
|
|
64
63
|
return /* @__PURE__ */ jsx(WrapperNoItemSelected, {
|
|
65
64
|
className: classes.root,
|
|
66
65
|
children: !isSkeleton ? /* @__PURE__ */ jsxs(Fragment, {
|
|
67
|
-
children: [!
|
|
68
|
-
src: defaultImage
|
|
69
|
-
}) : /* @__PURE__ */ jsx(Img, {
|
|
70
|
-
src: image
|
|
71
|
-
}), !message ? /* @__PURE__ */ jsx(Label, {
|
|
66
|
+
children: [!message ? /* @__PURE__ */ jsx(Label, {
|
|
72
67
|
children: getLabel("no_item_selected.message")
|
|
73
68
|
}) : /* @__PURE__ */ jsx(Label, {
|
|
74
69
|
children: message
|
|
70
|
+
}), !image ? /* @__PURE__ */ jsx(Img, {
|
|
71
|
+
src: defaultImage
|
|
72
|
+
}) : /* @__PURE__ */ jsx(Img, {
|
|
73
|
+
src: image
|
|
75
74
|
})]
|
|
76
75
|
}) : /* @__PURE__ */ jsx(WrapperSKTNoItemSelected, {
|
|
77
76
|
id: "WrapperSKTNoItemSelected",
|
|
@@ -1,48 +1,48 @@
|
|
|
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 { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.
|
|
4
|
+
import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.8c887df9.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 { S as ScrollBar } from "../ScrollBar/index.65bb2930.js";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
12
|
-
import { I as Icon } from "../Icon/index.
|
|
11
|
+
import { u as useModal } from "../../hooks/useModal/index.6457198c.js";
|
|
12
|
+
import { I as Icon } from "../Icon/index.a70c4729.js";
|
|
13
13
|
import "../../react-draggable.7abb5d0a.js";
|
|
14
|
-
import "../Resizeable/index.
|
|
15
|
-
import "../modal/index.
|
|
16
|
-
import "../CommonActions/components/Actions/index.
|
|
14
|
+
import "../Resizeable/index.676c96fe.js";
|
|
15
|
+
import "../modal/index.dbdb6ac0.js";
|
|
16
|
+
import "../CommonActions/components/Actions/index.366cb775.js";
|
|
17
17
|
import "@mui/material/Button";
|
|
18
18
|
import "../mui_extended/Button/index.f79eb74e.js";
|
|
19
19
|
import "clsx";
|
|
20
20
|
import "react-hook-form";
|
|
21
|
-
import "../mui_extended/IconButton/index.
|
|
21
|
+
import "../mui_extended/IconButton/index.76624519.js";
|
|
22
22
|
import "zustand";
|
|
23
|
-
import "../areas/contexts/AreasContext/index.
|
|
24
|
-
import "../areas/components/AreasAdmin/index.
|
|
23
|
+
import "../areas/contexts/AreasContext/index.7a2d5394.js";
|
|
24
|
+
import "../areas/components/AreasAdmin/index.cb3d7bd6.js";
|
|
25
25
|
import "zustand/shallow";
|
|
26
|
-
import "../mui_extended/Accordion/index.
|
|
26
|
+
import "../mui_extended/Accordion/index.0e0090ca.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
30
|
import "../mui_extended/CheckBox.38abccd8.js";
|
|
31
|
-
import "../mui_extended/Badge/index.
|
|
31
|
+
import "../mui_extended/Badge/index.b09524fe.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.4c2e48d4.js";
|
|
35
35
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
36
36
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
37
|
-
import "../mui_extended/Tab/index.
|
|
38
|
-
import "../mui_extended/Pager/index.
|
|
37
|
+
import "../mui_extended/Tab/index.3db2e0c7.js";
|
|
38
|
+
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
39
39
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
40
|
-
import "../areas/components/AreasViewer/index.
|
|
40
|
+
import "../areas/components/AreasViewer/index.1eef603d.js";
|
|
41
41
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
42
42
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
43
43
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
44
|
-
import { W as WindowBase } from "../modal/WindowBase.
|
|
45
|
-
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.
|
|
44
|
+
import { W as WindowBase } from "../modal/WindowBase.39a70f35.js";
|
|
45
|
+
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.d2e7bdcc.js";
|
|
46
46
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
47
47
|
const Container = styled("div")(() => ({
|
|
48
48
|
height: "100%",
|
|
@@ -1,22 +1,12 @@
|
|
|
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.a70c4729.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
const PaperFormRoot = styled("div")(({
|
|
8
8
|
theme
|
|
9
9
|
}) => ({
|
|
10
|
-
display: "flex",
|
|
11
|
-
flexDirection: "column",
|
|
12
|
-
padding: theme.spacing(1),
|
|
13
|
-
[theme.breakpoints.up("sm")]: {
|
|
14
|
-
margin: `${theme.spacing(1.5)} ${theme.spacing(1.5)} ${theme.spacing(3)} ${theme.spacing(1.5)}`,
|
|
15
|
-
borderRadius: theme.spacing(2),
|
|
16
|
-
boxShadow: theme.shadows[8],
|
|
17
|
-
padding: theme.spacing(3),
|
|
18
|
-
backgroundColor: theme.palette.background.paper
|
|
19
|
-
},
|
|
20
10
|
...theme.components?.M4LPaperForm?.styleOverrides
|
|
21
11
|
}));
|
|
22
12
|
const HeaderContainer = styled("div")(({
|
|
@@ -37,9 +27,8 @@ const IconTitleContainer = styled("div")(({
|
|
|
37
27
|
flexDirection: "row",
|
|
38
28
|
flexGrow: 1,
|
|
39
29
|
alignItems: "center",
|
|
40
|
-
|
|
41
|
-
...theme.typography.subtitle1
|
|
42
|
-
color: theme.palette.text.primary
|
|
30
|
+
color: theme.palette.text.primary,
|
|
31
|
+
...theme.typography.subtitle1
|
|
43
32
|
}));
|
|
44
33
|
const IconHeader = styled("div")(({
|
|
45
34
|
theme
|
|
@@ -1,39 +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.a70c4729.js";
|
|
5
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.366cb775.js";
|
|
6
6
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import "@mui/material/Button";
|
|
8
8
|
import "../mui_extended/Button/index.f79eb74e.js";
|
|
9
9
|
import "clsx";
|
|
10
10
|
import "react-hook-form";
|
|
11
|
-
import "../../contexts/ModalContext/index.
|
|
11
|
+
import "../../contexts/ModalContext/index.1fc9f5d9.js";
|
|
12
12
|
import "../../react-draggable.7abb5d0a.js";
|
|
13
|
-
import "../Resizeable/index.
|
|
13
|
+
import "../Resizeable/index.676c96fe.js";
|
|
14
14
|
import "@m4l/graphics";
|
|
15
|
-
import "../modal/index.
|
|
15
|
+
import "../modal/index.dbdb6ac0.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.76624519.js";
|
|
18
|
+
import "../mui_extended/Accordion/index.0e0090ca.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
22
|
import "../mui_extended/CheckBox.38abccd8.js";
|
|
23
|
-
import "../mui_extended/Badge/index.
|
|
23
|
+
import "../mui_extended/Badge/index.b09524fe.js";
|
|
24
24
|
import "@mui/lab";
|
|
25
|
-
import "../mui_extended/MenuActions/index.
|
|
25
|
+
import "../mui_extended/MenuActions/index.4c2e48d4.js";
|
|
26
26
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
27
27
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
28
|
-
import "../mui_extended/Tab/index.
|
|
29
|
-
import "../mui_extended/Pager/index.
|
|
28
|
+
import "../mui_extended/Tab/index.3db2e0c7.js";
|
|
29
|
+
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
30
30
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
31
31
|
import "zustand";
|
|
32
|
-
import "../areas/contexts/AreasContext/index.
|
|
33
|
-
import "../areas/components/AreasAdmin/index.
|
|
32
|
+
import "../areas/contexts/AreasContext/index.7a2d5394.js";
|
|
33
|
+
import "../areas/components/AreasAdmin/index.cb3d7bd6.js";
|
|
34
34
|
import "zustand/shallow";
|
|
35
35
|
import "../ScrollBar/index.65bb2930.js";
|
|
36
|
-
import "../areas/components/AreasViewer/index.
|
|
36
|
+
import "../areas/components/AreasViewer/index.1eef603d.js";
|
|
37
37
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
38
38
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
39
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.92191f81.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
7
7
|
import { useModuleSkeleton } from "@m4l/core";
|
|
@@ -40,7 +40,7 @@ const Property = styled("div", {
|
|
|
40
40
|
}) => ({
|
|
41
41
|
width: "100%",
|
|
42
42
|
minWidth: "100%",
|
|
43
|
-
...theme.typography.
|
|
43
|
+
...theme.typography.body,
|
|
44
44
|
color: theme.palette.text.primary,
|
|
45
45
|
height: "100%",
|
|
46
46
|
display: "flex",
|
|
@@ -66,8 +66,10 @@ const Value = styled("div", {
|
|
|
66
66
|
theme
|
|
67
67
|
}) => ({
|
|
68
68
|
flexGrow: "1",
|
|
69
|
-
...theme.typography.
|
|
69
|
+
...theme.typography.body,
|
|
70
70
|
color: theme.palette.text.secondary,
|
|
71
|
+
overflow: "hidden",
|
|
72
|
+
textOverflow: "ellipsis",
|
|
71
73
|
position: "relative",
|
|
72
74
|
padding: "1px",
|
|
73
75
|
maxWidth: `${valueWidth}%`,
|
|
@@ -77,7 +79,6 @@ const Value = styled("div", {
|
|
|
77
79
|
[theme.breakpoints.up("sm")]: {
|
|
78
80
|
marginTop: "0px"
|
|
79
81
|
},
|
|
80
|
-
overflow: "auto",
|
|
81
82
|
overflowWrap: "break-word"
|
|
82
83
|
}));
|
|
83
84
|
const SKTWrapperProperty = styled("div")(() => ({
|
|
@@ -9,6 +9,29 @@ const WrapperResizeable = styled(ResizableBox)(({
|
|
|
9
9
|
width: "100%",
|
|
10
10
|
height: "100%"
|
|
11
11
|
},
|
|
12
|
+
"& .custom-handle-se": {
|
|
13
|
+
width: "7px",
|
|
14
|
+
height: "7px",
|
|
15
|
+
position: "absolute",
|
|
16
|
+
bottom: "3px",
|
|
17
|
+
right: "3px",
|
|
18
|
+
cursor: "se-resize",
|
|
19
|
+
borderRight: `2px solid ${theme.palette.text.disabled}`,
|
|
20
|
+
borderBottom: `2px solid ${theme.palette.text.disabled}`,
|
|
21
|
+
borderBottomRightRadius: "15%"
|
|
22
|
+
},
|
|
23
|
+
"& .custom-handle-nw": {
|
|
24
|
+
width: "7px",
|
|
25
|
+
height: "7px",
|
|
26
|
+
position: "absolute",
|
|
27
|
+
top: "3px",
|
|
28
|
+
left: "3px",
|
|
29
|
+
cursor: "se-resize",
|
|
30
|
+
transform: "rotate(180deg)",
|
|
31
|
+
borderRight: `2px solid ${theme.palette.text.disabled}`,
|
|
32
|
+
borderBottom: `2px solid ${theme.palette.text.disabled}`,
|
|
33
|
+
borderBottomRightRadius: "15%"
|
|
34
|
+
},
|
|
12
35
|
"& .react-resizable-handle": {
|
|
13
36
|
position: "absolute",
|
|
14
37
|
width: "20px",
|
|
@@ -30,28 +53,26 @@ const WrapperResizeable = styled(ResizableBox)(({
|
|
|
30
53
|
transform: "rotate(90deg)",
|
|
31
54
|
position: "absolute"
|
|
32
55
|
},
|
|
33
|
-
".
|
|
56
|
+
".M4LImage-root.custom-handle.custom-handle-se": {
|
|
34
57
|
bottom: "0",
|
|
35
58
|
right: "0",
|
|
36
59
|
cursor: "se-resize",
|
|
37
60
|
position: "absolute",
|
|
38
|
-
"& .
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
minHeight: "12px"
|
|
61
|
+
"& .M4LImage-img": {
|
|
62
|
+
opacity: "0.5",
|
|
63
|
+
filter: "invert(0.4) hue-rotate(20deg) saturate(1000%)",
|
|
64
|
+
"-webkit-user-drag": "none"
|
|
43
65
|
}
|
|
44
66
|
},
|
|
45
|
-
"& .
|
|
67
|
+
"& .M4LImage-root.custom-handle.custom-handle-nw": {
|
|
46
68
|
top: "0",
|
|
47
69
|
left: "0",
|
|
48
70
|
cursor: "nw-resize",
|
|
49
71
|
transform: "rotate(180deg)",
|
|
50
|
-
"& .
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
minHeight: "12px"
|
|
72
|
+
"& .M4LImage-img": {
|
|
73
|
+
opacity: "0.5",
|
|
74
|
+
filter: "invert(0.4) hue-rotate(20deg) saturate(1000%)",
|
|
75
|
+
"-webkit-user-drag": "none"
|
|
55
76
|
}
|
|
56
77
|
},
|
|
57
78
|
"& .react-resizable-handle-ne": {
|
|
@@ -3,10 +3,10 @@ import { useEnvironment, useBase, BaseProvider } from "@m4l/core";
|
|
|
3
3
|
import { createContext, useContext, useState, useEffect } from "react";
|
|
4
4
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
5
5
|
import { I as Image } from "../Image/index.c18ebf5a.js";
|
|
6
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
6
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.76624519.js";
|
|
7
7
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
8
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.
|
|
9
|
+
import { I as Icon, A as ArrowIcon } from "../Icon/index.a70c4729.js";
|
|
10
10
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
11
11
|
import clsx from "clsx";
|
|
12
12
|
import { useLocation } from "react-router-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AreasAdmninClasses } from './types';
|
|
2
2
|
import { OwnerState } from '../../../contexts/AreasContext/types';
|
|
3
3
|
export declare const areasAdminClasses: AreasAdmninClasses;
|
|
4
|
-
export declare const useAreasAdminUtilityClasses: (ownerState: OwnerState) => Record<"root" | "rootContent" | "areaChipRoot" | "areaIconLayer" | "areaContainerChipsIcon" | "areaContainerChips" | "areaContainerContentChips" | "areaEditPopover" | "areaChipMobileRoot" | "areaChipMobileIconContainer" | "areaChipTitle" | "areaContainerChipEditButton" | "areaChipDeleteButton" | "areaChipEditButton" | "areasAddButton" | "areasPopoverMobileOptions" | "areasPopoverListWindows" | "areasPopoverListWindowsIcon", string>;
|
|
4
|
+
export declare const useAreasAdminUtilityClasses: (ownerState: OwnerState) => Record<"root" | "rootContent" | "areaChipRoot" | "areaIconLayer" | "areaContainerChipsIcon" | "areaContainerChips" | "areaContainerContentChips" | "areaEditPopover" | "areaChipMobileRoot" | "areaChipMobileIconContainer" | "areaChipTitle" | "areaContainerChipEditButton" | "areaChipDeleteButton" | "areaChipEditButton" | "areasAddButton" | "areasPopoverMobileOptions" | "areasPopoverListWindows" | "areasPopoverListWindowsIcon" | "areaContentChips", string>;
|
|
5
5
|
export declare type AdminClasses = ReturnType<typeof useAreasAdminUtilityClasses>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
2
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
1
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.76624519.js";
|
|
2
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.1f112e0b.js";
|
|
3
3
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import { useState, useRef, useMemo } from "react";
|
|
5
5
|
import * as Yup from "yup";
|
|
6
6
|
import { generateUtilityClasses, useTheme } from "@mui/material";
|
|
7
|
-
import "../../../mui_extended/Accordion/index.
|
|
8
|
-
import { I as Icon } from "../../../Icon/index.
|
|
7
|
+
import "../../../mui_extended/Accordion/index.0e0090ca.js";
|
|
8
|
+
import { I as Icon } from "../../../Icon/index.a70c4729.js";
|
|
9
9
|
import clsx from "clsx";
|
|
10
10
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
11
11
|
import { T as Typography } from "../../../mui_extended/Typography/index.443590d6.js";
|
|
@@ -14,14 +14,14 @@ import "react-router-dom";
|
|
|
14
14
|
import "@mui/material/Button";
|
|
15
15
|
import { B as Button } from "../../../mui_extended/Button/index.f79eb74e.js";
|
|
16
16
|
import "../../../mui_extended/CheckBox.38abccd8.js";
|
|
17
|
-
import "../../../mui_extended/Badge/index.
|
|
17
|
+
import "../../../mui_extended/Badge/index.b09524fe.js";
|
|
18
18
|
import "../../../Image/index.c18ebf5a.js";
|
|
19
19
|
import "@mui/lab";
|
|
20
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
20
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.4c2e48d4.js";
|
|
21
21
|
import { P as Popover } from "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
22
22
|
import "../../../mui_extended/Stack/index.0e53197c.js";
|
|
23
|
-
import "../../../mui_extended/Tab/index.
|
|
24
|
-
import "../../../mui_extended/Pager/index.
|
|
23
|
+
import "../../../mui_extended/Tab/index.3db2e0c7.js";
|
|
24
|
+
import "../../../mui_extended/Pager/index.ac2a21f0.js";
|
|
25
25
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
26
26
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
27
27
|
import { unstable_composeClasses } from "@mui/base";
|
|
@@ -29,39 +29,39 @@ import { g as getComponentUtilityClass } from "../../../../utils/index.c43a95f4.
|
|
|
29
29
|
import { A as AREAS_ADMIN_CLASS_NAME } from "../../constants.66529246.js";
|
|
30
30
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
31
31
|
import "../../contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
32
|
-
import "../../../../contexts/ModalContext/index.
|
|
33
|
-
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.
|
|
32
|
+
import "../../../../contexts/ModalContext/index.1fc9f5d9.js";
|
|
33
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.1755b324.js";
|
|
34
34
|
import "react-hook-form";
|
|
35
|
-
import "../../../hook-form/RHFAutocomplete/index.
|
|
36
|
-
import "../../../HelperText/index.
|
|
35
|
+
import "../../../hook-form/RHFAutocomplete/index.5c23bd25.js";
|
|
36
|
+
import "../../../HelperText/index.69791151.js";
|
|
37
37
|
import "lodash/debounce";
|
|
38
|
-
import "../../../hook-form/RHFAutocompleteAsync/index.
|
|
39
|
-
import "../../../hook-form/RHFCheckbox/index.
|
|
38
|
+
import "../../../hook-form/RHFAutocompleteAsync/index.85b11f3a.js";
|
|
39
|
+
import "../../../hook-form/RHFCheckbox/index.a136882e.js";
|
|
40
40
|
import "@mui/x-date-pickers";
|
|
41
|
-
import "../../../hook-form/RHFDateTime/index.
|
|
42
|
-
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.
|
|
43
|
-
import "../../../hook-form/RHFPeriod/index.
|
|
44
|
-
import "../../../Period/index.
|
|
45
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index.
|
|
46
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.
|
|
47
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.
|
|
41
|
+
import "../../../hook-form/RHFDateTime/index.1ca795b0.js";
|
|
42
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.ccea64e7.js";
|
|
43
|
+
import "../../../hook-form/RHFPeriod/index.90777c53.js";
|
|
44
|
+
import "../../../Period/index.972dbe64.js";
|
|
45
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.366cb775.js";
|
|
46
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.ffc5618a.js";
|
|
47
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.81d2648b.js";
|
|
48
48
|
import "../../../../react-draggable.7abb5d0a.js";
|
|
49
|
-
import "../../../Resizeable/index.
|
|
50
|
-
import "../../../modal/index.
|
|
49
|
+
import "../../../Resizeable/index.676c96fe.js";
|
|
50
|
+
import "../../../modal/index.dbdb6ac0.js";
|
|
51
51
|
import { shallow } from "zustand/shallow";
|
|
52
52
|
import { styled } from "@mui/material/styles";
|
|
53
53
|
import { S as ScrollBar } from "../../../ScrollBar/index.65bb2930.js";
|
|
54
|
-
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.
|
|
54
|
+
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
55
55
|
import TouchRipple from "@mui/material/ButtonBase/TouchRipple";
|
|
56
|
-
import "../AreasViewer/index.
|
|
56
|
+
import "../AreasViewer/index.1eef603d.js";
|
|
57
57
|
import "../../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
58
|
-
import "../../contexts/AreasContext/index.
|
|
58
|
+
import "../../contexts/AreasContext/index.7a2d5394.js";
|
|
59
59
|
import "../../contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
60
60
|
import "zustand";
|
|
61
61
|
import "lodash/isString";
|
|
62
62
|
import "react-dropzone";
|
|
63
|
-
import "../../../hook-form/RHFUpload/index.
|
|
64
|
-
import { u as useOnClickOutside } from "../../index.
|
|
63
|
+
import "../../../hook-form/RHFUpload/index.85e59119.js";
|
|
64
|
+
import { u as useOnClickOutside } from "../../index.aaaa1f62.js";
|
|
65
65
|
const areasAdminClasses = generateUtilityClasses(AREAS_ADMIN_CLASS_NAME, [
|
|
66
66
|
"root",
|
|
67
67
|
"rootContent",
|
|
@@ -82,6 +82,7 @@ const areasAdminClasses = generateUtilityClasses(AREAS_ADMIN_CLASS_NAME, [
|
|
|
82
82
|
"areasPopoverMobileOptions",
|
|
83
83
|
"areasPopoverListWindows",
|
|
84
84
|
"areasPopoverListWindowsIcon",
|
|
85
|
+
"areaContentChips",
|
|
85
86
|
"selected",
|
|
86
87
|
"isMobile",
|
|
87
88
|
"disabled",
|
|
@@ -106,7 +107,8 @@ const useAreasAdminUtilityClasses = (ownerState) => {
|
|
|
106
107
|
areasAddButton: ["areasAddButton"],
|
|
107
108
|
areasPopoverMobileOptions: ["areasPopoverMobileOptions"],
|
|
108
109
|
areasPopoverListWindows: ["areasPopoverListWindows"],
|
|
109
|
-
areasPopoverListWindowsIcon: ["areasPopoverListWindowsIcon"]
|
|
110
|
+
areasPopoverListWindowsIcon: ["areasPopoverListWindowsIcon"],
|
|
111
|
+
areaContentChips: ["areaContentChips"]
|
|
110
112
|
};
|
|
111
113
|
return unstable_composeClasses(slots, getComponentUtilityClass(AREAS_ADMIN_CLASS_NAME), {});
|
|
112
114
|
};
|
|
@@ -218,7 +220,6 @@ const AreaChip = (props) => {
|
|
|
218
220
|
const anchorRef = useRef(null);
|
|
219
221
|
const theme = useTheme();
|
|
220
222
|
const onClickDeleteArea = (e) => {
|
|
221
|
-
console.log("listAreas", listAreas);
|
|
222
223
|
if (listAreas.length > 1) {
|
|
223
224
|
e.stopPropagation();
|
|
224
225
|
setFocus(true);
|
|
@@ -242,7 +243,6 @@ const AreaChip = (props) => {
|
|
|
242
243
|
inputEditArea: Yup.string().required(getLabel(getAreasDictionary(DICCTIONARY.validation_edit_area)))
|
|
243
244
|
}), [getLabel]);
|
|
244
245
|
const handlerOnClick = (e) => {
|
|
245
|
-
console.log("evento de handlerOnClick");
|
|
246
246
|
setAnchorMenuAreas && setAnchorMenuAreas(e.currentTarget);
|
|
247
247
|
selectArea(areaId);
|
|
248
248
|
};
|
|
@@ -278,20 +278,23 @@ const AreaChip = (props) => {
|
|
|
278
278
|
size: "extraSmall",
|
|
279
279
|
onClick: (e) => {
|
|
280
280
|
handlerOpenPopoverEditArea(e);
|
|
281
|
-
}
|
|
281
|
+
},
|
|
282
|
+
tooltip: getLabel(getAreasDictionary(DICCTIONARY.label_edit_area))
|
|
282
283
|
}), /* @__PURE__ */ jsx(IconButton, {
|
|
283
284
|
className: areasAdminClasses.areaChipDeleteButton,
|
|
284
285
|
src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.DELETE_AREA}`,
|
|
285
286
|
size: "extraSmall",
|
|
286
287
|
onClick: (e) => {
|
|
287
288
|
onClickDeleteArea(e);
|
|
288
|
-
}
|
|
289
|
+
},
|
|
290
|
+
tooltip: getLabel(getAreasDictionary(DICCTIONARY.label_delete_area))
|
|
289
291
|
})]
|
|
290
292
|
}) : /* @__PURE__ */ jsx(ChipActionsMobile, {
|
|
291
293
|
areaId,
|
|
292
294
|
handlerOpenPopoverEditArea
|
|
293
295
|
})]
|
|
294
296
|
}), /* @__PURE__ */ jsx("div", {
|
|
297
|
+
role: "presentation",
|
|
295
298
|
onClick: (e) => {
|
|
296
299
|
e.stopPropagation();
|
|
297
300
|
},
|
|
@@ -402,7 +405,6 @@ const ChipMobile = (props) => {
|
|
|
402
405
|
const anchorRef = useRef(null);
|
|
403
406
|
const theme = useTheme();
|
|
404
407
|
const onClickDeleteArea = (e) => {
|
|
405
|
-
console.log("listAreas", listAreas);
|
|
406
408
|
if (listAreas.length > 1) {
|
|
407
409
|
e.stopPropagation();
|
|
408
410
|
setFocus(true);
|
|
@@ -426,7 +428,6 @@ const ChipMobile = (props) => {
|
|
|
426
428
|
inputEditArea: Yup.string().required(getLabel(getAreasDictionary(DICCTIONARY.validation_edit_area)))
|
|
427
429
|
}), [getLabel]);
|
|
428
430
|
const handlerOnClick = (e) => {
|
|
429
|
-
console.log("evento de handlerOnClick");
|
|
430
431
|
setAnchorMenuAreas && setAnchorMenuAreas(e.currentTarget);
|
|
431
432
|
selectArea(areaId);
|
|
432
433
|
};
|
|
@@ -564,7 +565,6 @@ const AreaChipMobile = () => {
|
|
|
564
565
|
setFocus
|
|
565
566
|
} = useAreasStore((state) => state.areaAdminActions, shallow);
|
|
566
567
|
const [anchorMenuAreas, setAnchorMenuAreas] = useState(null);
|
|
567
|
-
console.log("anchorMenuAreas change", anchorMenuAreas);
|
|
568
568
|
const {
|
|
569
569
|
getLabel
|
|
570
570
|
} = useModuleDictionary();
|
|
@@ -588,7 +588,6 @@ const AreaChipMobile = () => {
|
|
|
588
588
|
setFocus(false);
|
|
589
589
|
setAnchorMenuAreas(element);
|
|
590
590
|
};
|
|
591
|
-
console.log("menuActions areas", menuActions);
|
|
592
591
|
return /* @__PURE__ */ jsx("div", {
|
|
593
592
|
className: areasAdminClasses.areaChipMobileRoot,
|
|
594
593
|
children: /* @__PURE__ */ jsxs("div", {
|
|
@@ -699,11 +698,13 @@ function AreasAdmin() {
|
|
|
699
698
|
addArea
|
|
700
699
|
} = useAreasStore((state) => state.areasActions, shallow);
|
|
701
700
|
const maximizedId = useAreasStore((state) => state.hashAreas[currentArea] ? state.hashAreas[currentArea].maximizedId : false, shallow);
|
|
702
|
-
console.log("currentArea test", currentArea);
|
|
703
701
|
const {
|
|
704
702
|
host_static_assets,
|
|
705
703
|
environment_assets
|
|
706
704
|
} = useEnvironment();
|
|
705
|
+
const {
|
|
706
|
+
getLabel
|
|
707
|
+
} = useModuleDictionary();
|
|
707
708
|
const divRef = useRef(null);
|
|
708
709
|
const divRefOut = useRef(null);
|
|
709
710
|
const handleClickOutsideFn = () => {
|
|
@@ -730,6 +731,7 @@ function AreasAdmin() {
|
|
|
730
731
|
onMouseUp: onRippleStop,
|
|
731
732
|
className: classesRoot,
|
|
732
733
|
children: /* @__PURE__ */ jsxs("div", {
|
|
734
|
+
role: "presentation",
|
|
733
735
|
ref: divRef,
|
|
734
736
|
className: areasAdminClasses.rootContent,
|
|
735
737
|
onClick: () => setFocus(true),
|
|
@@ -740,7 +742,8 @@ function AreasAdmin() {
|
|
|
740
742
|
children: /* @__PURE__ */ jsx("div", {
|
|
741
743
|
className: areasAdminClasses.areaContainerContentChips,
|
|
742
744
|
children: isDesktop ? /* @__PURE__ */ jsx(ScrollBar, {
|
|
743
|
-
children: /* @__PURE__ */ jsx(
|
|
745
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
746
|
+
className: areasAdminClasses.areaContentChips,
|
|
744
747
|
children: areas.map((area) => /* @__PURE__ */ jsx(AreaChip, {
|
|
745
748
|
areaId: area,
|
|
746
749
|
selected: area === currentArea,
|
|
@@ -754,7 +757,8 @@ function AreasAdmin() {
|
|
|
754
757
|
className: areasAdminClasses.areasAddButton,
|
|
755
758
|
src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.ADD_AREA}`,
|
|
756
759
|
size: "small",
|
|
757
|
-
onClick: addArea
|
|
760
|
+
onClick: addArea,
|
|
761
|
+
tooltip: getLabel(getAreasDictionary(DICCTIONARY.area_add_new))
|
|
758
762
|
}) : null, !isDesktop && maximizedId ? /* @__PURE__ */ jsx(PanelWindowPopUp, {
|
|
759
763
|
currentAreaId: currentArea
|
|
760
764
|
}) : null]
|
|
@@ -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" | "resizeHandle" | "windowLinearProgressBar" | "areaRoot" | "areasLoadingErrorRoot" | "areasLoadingErrorLoading" | "areasLoadingError" | "areasLoadingErrorIcon" | "areasLoadingErrorTitle" | "areasLoadingErrorDescription" | "areasLoadingErrorDivider" | "areaGridLayoutPanelContainer" | "areaGridLayout" | "areaGridLayoutPopupsContainer" | "areasWindowPopUpList" | "windowRoot" | "windowRootContainer" | "windowHeader" | "windowHeaderTitle" | "windowHeaderMainActions" | "windowHeaderCancelHandle" | "
|
|
4
|
+
export declare const useAreasViewerUtilityClasses: (ownerState: OwnerState) => Record<"root" | "resizeHandle" | "windowLinearProgressBar" | "windowContent" | "areaRoot" | "areasLoadingErrorRoot" | "areasLoadingErrorLoading" | "areasLoadingError" | "areasLoadingErrorIcon" | "areasLoadingErrorTitle" | "areasLoadingErrorDescription" | "areasLoadingErrorDivider" | "areaGridLayoutPanelContainer" | "areaGridLayout" | "areaGridLayoutPopupsContainer" | "areasWindowPopUpList" | "windowRoot" | "windowRootContainer" | "windowHeader" | "windowHeaderTitle" | "windowHeaderMainActions" | "windowHeaderCancelHandle" | "windowLinearProgressRoot" | "windowPopupRoot" | "windowModalRoot" | "selectedWindow" | "windowToastiesContainer" | "windowToastiesContainerTostys" | "windowToastyMeesageButtonsContainer" | "windowToastyMessage" | "windowToastyButtonsContainer" | "windowToastyPin" | "windowToastyClose" | "panelWindowsRoot" | "panelWindowsButtonContainer" | "windowToastyContainer", string>;
|
|
5
5
|
export declare type ViwerClasses = ReturnType<typeof useAreasViewerUtilityClasses>;
|