@m4l/components 0.1.77 → 0.1.78
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 +3 -3
- package/components/AccountPopover/{index.3a79c395.js → index.7e76dbb7.js} +6 -6
- package/components/AppBar/{index.71b38ee9.js → index.06858422.js} +6 -6
- package/components/CommonActions/components/ActionCancel/{index.b748a38e.js → index.d536ccfa.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.27ad09e1.js → index.a915b105.js} +13 -13
- package/components/CommonActions/components/ActionFormIntro/{index.2556f054.js → index.14e65d6c.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.a7d92e66.js → index.aa1648eb.js} +1 -1
- package/components/CommonActions/components/Actions/{index.3eba9d91.js → index.52125041.js} +11 -11
- package/components/DataGrid/{index.545b492f.js → index.9fb3e6a1.js} +20 -23
- package/components/DataGrid/types.d.ts +1 -1
- package/components/DynamicFilter/constants.d.ts +1 -0
- package/components/DynamicFilter/contexts/DynamicFilterContext/store.d.ts +6 -1
- package/components/DynamicFilter/{index.d7be0f37.js → index.d1a2e2d1.js} +50 -50
- package/components/DynamicFilter/subcomponents/InnerForHooks/index.d.ts +1 -2
- package/components/DynamicFilter/tests/contants.d.ts +2 -3
- package/components/GridLayout/Responsive/{index.a12a8cec.js → index.0905a698.js} +61 -43
- package/components/GridLayout/WidthProvider/{index.8ff65909.js → index.9a26dfe4.js} +1 -3
- package/components/GridLayout/index.d.ts +1 -1
- package/components/GridLayout/{index.4ba3767a.js → index.da6fd387.js} +103 -93
- package/components/GridLayout/subcomponents/GridItem/index.d.ts +1 -0
- package/components/GridLayout/subcomponents/GridItem/types.d.ts +2 -0
- package/components/GridLayout/subcomponents/Responsive/responsiveUtils.d.ts +6 -3
- package/components/GridLayout/subcomponents/Responsive/types.d.ts +1 -3
- package/components/HelperText/{index.ef31df1f.js → index.a019742c.js} +6 -6
- package/components/Icon/{index.ecb63e65.js → index.9fcd1476.js} +1 -1
- package/components/LanguagePopover/{index.0023d069.js → index.98b63dcb.js} +6 -6
- package/components/ModalDialog/{index.d880e685.js → index.d9937d46.js} +4 -4
- package/components/NavLink/{index.cd92eceb.js → index.a5dea6d3.js} +6 -6
- package/components/ObjectLogs/{index.f174c542.js → index.d9d20b9d.js} +22 -16
- package/components/ObjectLogs/types.d.ts +1 -0
- package/components/PaperForm/{index.1bd86ee5.js → index.ba38a0bd.js} +1 -1
- package/components/Period/{index.711db043.js → index.7b94c418.js} +12 -12
- package/components/PropertyValue/constants.d.ts +3 -0
- package/components/PropertyValue/{index.8a1adf3e.js → index.45c73161.js} +17 -11
- package/components/PropertyValue/types.d.ts +2 -1
- package/components/SideBar/{index.c5ce0bad.js → index.2f497e6c.js} +2 -2
- 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.cc4cbf56.js → index.43ecd998.js} +91 -79
- 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.9c2aaaeb.js → index.14e62059.js} +143 -161
- package/components/areas/components/{index.0f7ac464.js → index.a87653a9.js} +9 -9
- package/components/areas/contexts/AreasContext/helper.d.ts +3 -1
- package/components/areas/contexts/AreasContext/{index.c8147e8e.js → index.02c4e7be.js} +99 -78
- package/components/areas/contexts/AreasContext/types.d.ts +1 -2
- package/components/areas/contexts/{index.02336412.js → index.1ff9b360.js} +1 -1
- package/components/areas/hooks/useAreas/{index.3406a6cb.js → index.85e4b2e2.js} +1 -1
- package/components/areas/{index.6f2e5dab.js → index.d1dcccf5.js} +9 -9
- package/components/areas/types.d.ts +0 -1
- package/components/formatters/BooleanFormatter/{index.5268b024.js → index.e8de8e4c.js} +1 -1
- package/components/formatters/{index.137169d8.js → index.67aeb049.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.ac2b1fae.js → index.6aa51705.js} +23 -12
- package/components/hook-form/RHFAutocompleteAsync/{index.8b4ccc8d.js → index.1a3dfe5f.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.acef119c.js → index.a08a65b3.js} +1 -1
- package/components/hook-form/RHFDateTime/{index.5b080342.js → index.4d671108.js} +7 -7
- package/components/hook-form/RHFPeriod/{index.5304e3bd.js → index.39b4be49.js} +2 -2
- package/components/hook-form/RHFTextField/{index.e751dca7.js → index.9004e898.js} +3 -3
- package/components/hook-form/RHFUpload/{index.25db0511.js → index.bed8573e.js} +7 -10
- package/components/modal/{WindowBase.850ea31a.js → WindowBase.a0c0b322.js} +8 -8
- package/components/modal/{WindowConfirm.cb37bc58.js → WindowConfirm.6c063f2d.js} +14 -14
- package/components/modal/{index.a0978193.js → index.00efea85.js} +11 -11
- package/components/mui_extended/Accordion/constants.d.ts +1 -0
- package/components/mui_extended/Accordion/{index.12b1339a.js → index.9877f7bf.js} +8 -9
- package/components/mui_extended/Accordion/types.d.ts +1 -0
- package/components/mui_extended/IconButton/{index.fc5b7c2d.js → index.12f1a3c3.js} +4 -1
- package/components/mui_extended/MenuActions/{index.f5b1c022.js → index.43a2e1ae.js} +15 -6
- package/components/mui_extended/MenuActions/index.d.ts +3 -2
- package/components/mui_extended/MenuActions/types.d.ts +1 -0
- package/components/mui_extended/Pager/{index.435af0df.js → index.2f6d6d7d.js} +1 -1
- package/components/mui_extended/Tab/constant.d.ts +1 -0
- package/components/mui_extended/Tab/{index.9e2f6e34.js → index.7c82e43d.js} +5 -6
- package/components/mui_extended/Tab/types.d.ts +1 -0
- package/components/mui_extended/{index.83979b6a.js → index.0e2ff642.js} +6 -6
- package/contexts/ModalContext/{index.dee85a61.js → index.e9a7ba4a.js} +1 -1
- package/hooks/useModal/{index.de522a10.js → index.8e85f7ae.js} +1 -1
- package/index.js +220 -217
- package/package.json +1 -1
- package/test/getNameDataTestId.d.ts +1 -0
- package/vendor.e353394b.js +124 -0
- package/components/DynamicFilter/subcomponents/InnerForHooks/types.d.ts +0 -2
- package/components/DynamicFilter/tests/types.d.ts +0 -2
- package/components/DynamicFilter/tests/utils.d.ts +0 -2
- package/components/PropertyValue/tests/constants.d.ts +0 -1
- package/components/PropertyValue/tests/utils.d.ts +0 -2
- package/components/mui_extended/Accordion/tests/constants.d.ts +0 -1
- package/components/mui_extended/Accordion/tests/utils.d.ts +0 -2
- package/components/mui_extended/Tab/tests/constants.d.ts +0 -1
- package/components/mui_extended/Tab/tests/utils.d.ts +0 -2
|
@@ -2,13 +2,13 @@ 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.9fcd1476.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.12f1a3c3.js";
|
|
10
10
|
import "@m4l/graphics";
|
|
11
|
-
import "../mui_extended/Accordion/index.
|
|
11
|
+
import "../mui_extended/Accordion/index.9877f7bf.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";
|
|
@@ -16,10 +16,10 @@ import "../mui_extended/Button/index.4288f9fc.js";
|
|
|
16
16
|
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
17
17
|
import "../Image/index.c18ebf5a.js";
|
|
18
18
|
import "@mui/lab";
|
|
19
|
+
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
19
20
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
20
|
-
import "../mui_extended/
|
|
21
|
-
import "../mui_extended/
|
|
22
|
-
import "../mui_extended/Tab/index.9e2f6e34.js";
|
|
21
|
+
import "../mui_extended/Pager/index.2f6d6d7d.js";
|
|
22
|
+
import "../mui_extended/Tab/index.7c82e43d.js";
|
|
23
23
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
24
24
|
import { unstable_composeClasses } from "@mui/base";
|
|
25
25
|
const componentName = "M4LNavLink";
|
|
@@ -1,46 +1,47 @@
|
|
|
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.9fb3e6a1.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.8e85f7ae.js";
|
|
11
|
+
import { I as Icon } from "../Icon/index.9fcd1476.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.00efea85.js";
|
|
15
|
+
import "../CommonActions/components/Actions/index.52125041.js";
|
|
16
16
|
import "@mui/material/Button";
|
|
17
17
|
import "../mui_extended/Button/index.4288f9fc.js";
|
|
18
18
|
import "clsx";
|
|
19
19
|
import "react-hook-form";
|
|
20
|
-
import "../mui_extended/IconButton/index.
|
|
20
|
+
import "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
21
21
|
import "zustand";
|
|
22
|
-
import "../areas/contexts/AreasContext/index.
|
|
23
|
-
import "../areas/components/AreasAdmin/index.
|
|
22
|
+
import "../areas/contexts/AreasContext/index.02c4e7be.js";
|
|
23
|
+
import "../areas/components/AreasAdmin/index.43ecd998.js";
|
|
24
24
|
import "zustand/shallow";
|
|
25
25
|
import "../ScrollBar/index.bbe48f4d.js";
|
|
26
|
-
import "../mui_extended/Accordion/index.
|
|
26
|
+
import "../mui_extended/Accordion/index.9877f7bf.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/Badge/index.8c2b8b66.js";
|
|
31
31
|
import "../Image/index.c18ebf5a.js";
|
|
32
32
|
import "@mui/lab";
|
|
33
|
+
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
33
34
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
34
|
-
import "../mui_extended/
|
|
35
|
-
import "../mui_extended/
|
|
36
|
-
import "../mui_extended/Tab/index.9e2f6e34.js";
|
|
35
|
+
import "../mui_extended/Pager/index.2f6d6d7d.js";
|
|
36
|
+
import "../mui_extended/Tab/index.7c82e43d.js";
|
|
37
37
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
38
|
-
import "../areas/components/AreasViewer/index.
|
|
38
|
+
import "../areas/components/AreasViewer/index.14e62059.js";
|
|
39
39
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
40
40
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
41
41
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
42
|
-
import { W as WindowBase } from "../modal/WindowBase.
|
|
43
|
-
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.
|
|
42
|
+
import { W as WindowBase } from "../modal/WindowBase.a0c0b322.js";
|
|
43
|
+
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.d1a2e2d1.js";
|
|
44
|
+
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
44
45
|
const Container$1 = styled("div")(() => ({
|
|
45
46
|
height: "100%",
|
|
46
47
|
width: "100%",
|
|
@@ -164,7 +165,8 @@ function DetailFormatter(props) {
|
|
|
164
165
|
function ObjectLogs(props) {
|
|
165
166
|
const {
|
|
166
167
|
resource_id,
|
|
167
|
-
object_id
|
|
168
|
+
object_id,
|
|
169
|
+
dataTestId = ""
|
|
168
170
|
} = props;
|
|
169
171
|
const {
|
|
170
172
|
getLabel
|
|
@@ -243,6 +245,9 @@ function ObjectLogs(props) {
|
|
|
243
245
|
Refresh();
|
|
244
246
|
};
|
|
245
247
|
return /* @__PURE__ */ jsxs(Container$1, {
|
|
248
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
249
|
+
[TEST_PROP_ID]: `m4ldatagrid-${dataTestId}`
|
|
250
|
+
} : {},
|
|
246
251
|
children: [/* @__PURE__ */ jsx(Actions, {
|
|
247
252
|
id: "objectLogsActions",
|
|
248
253
|
children: /* @__PURE__ */ jsx(DynamicFilter, {
|
|
@@ -284,6 +289,7 @@ function ObjectLogs(props) {
|
|
|
284
289
|
id: "GridWrapper",
|
|
285
290
|
children: /* @__PURE__ */ jsx(DataGrid, {
|
|
286
291
|
id: "users_logs_list",
|
|
292
|
+
dataTestId,
|
|
287
293
|
columns,
|
|
288
294
|
rows,
|
|
289
295
|
rowKeyGetter: (row) => row.id,
|
|
@@ -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.9fcd1476.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,37 +1,37 @@
|
|
|
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.9fcd1476.js";
|
|
5
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.52125041.js";
|
|
6
6
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import "@mui/material/Button";
|
|
8
8
|
import "../mui_extended/Button/index.4288f9fc.js";
|
|
9
9
|
import "clsx";
|
|
10
10
|
import "react-hook-form";
|
|
11
|
-
import "../../contexts/ModalContext/index.
|
|
11
|
+
import "../../contexts/ModalContext/index.e9a7ba4a.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.00efea85.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.12f1a3c3.js";
|
|
18
|
+
import "../mui_extended/Accordion/index.9877f7bf.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/Badge/index.8c2b8b66.js";
|
|
23
23
|
import "@mui/lab";
|
|
24
|
+
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
24
25
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
25
|
-
import "../mui_extended/
|
|
26
|
-
import "../mui_extended/
|
|
27
|
-
import "../mui_extended/Tab/index.9e2f6e34.js";
|
|
26
|
+
import "../mui_extended/Pager/index.2f6d6d7d.js";
|
|
27
|
+
import "../mui_extended/Tab/index.7c82e43d.js";
|
|
28
28
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
29
29
|
import "zustand";
|
|
30
|
-
import "../areas/contexts/AreasContext/index.
|
|
31
|
-
import "../areas/components/AreasAdmin/index.
|
|
30
|
+
import "../areas/contexts/AreasContext/index.02c4e7be.js";
|
|
31
|
+
import "../areas/components/AreasAdmin/index.43ecd998.js";
|
|
32
32
|
import "zustand/shallow";
|
|
33
33
|
import "../ScrollBar/index.bbe48f4d.js";
|
|
34
|
-
import "../areas/components/AreasViewer/index.
|
|
34
|
+
import "../areas/components/AreasViewer/index.14e62059.js";
|
|
35
35
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
36
36
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
37
37
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -1,6 +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.e353394b.js";
|
|
4
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
6
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
6
7
|
import { useModuleSkeleton } from "@m4l/core";
|
|
@@ -83,18 +84,17 @@ const SKTWrapperProperty = styled("div")(() => ({
|
|
|
83
84
|
display: "flex",
|
|
84
85
|
justifyContent: "flex-end"
|
|
85
86
|
}));
|
|
86
|
-
const
|
|
87
|
-
const
|
|
88
|
-
return `${ICON_PREFIX}-${KEY}`;
|
|
89
|
-
};
|
|
87
|
+
const COMPONENT_PREFIX = "m4l-property-value";
|
|
88
|
+
const TEST_PROPS_DATA = `${COMPONENT_PREFIX}-data`;
|
|
90
89
|
function SKTProperty(props) {
|
|
91
90
|
const {
|
|
92
|
-
className
|
|
91
|
+
className,
|
|
92
|
+
dataTestId = ""
|
|
93
93
|
} = props;
|
|
94
94
|
return /* @__PURE__ */ jsx(SKTWrapperProperty, {
|
|
95
95
|
className,
|
|
96
96
|
...process.env.NODE_ENV !== "production" ? {
|
|
97
|
-
[TEST_PROP_ID]:
|
|
97
|
+
[TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "skeletonProperty", dataTestId)
|
|
98
98
|
} : {},
|
|
99
99
|
children: /* @__PURE__ */ jsx(Skeleton, {
|
|
100
100
|
variant: "text",
|
|
@@ -134,7 +134,8 @@ function PropertyValue(props) {
|
|
|
134
134
|
valueWidth = "100",
|
|
135
135
|
valueWidthMobile,
|
|
136
136
|
isForm,
|
|
137
|
-
className
|
|
137
|
+
className,
|
|
138
|
+
dataTestId = ""
|
|
138
139
|
} = props;
|
|
139
140
|
const isDesktop = useResponsiveDesktop();
|
|
140
141
|
const isSkeleton = useModuleSkeleton();
|
|
@@ -169,24 +170,29 @@ function PropertyValue(props) {
|
|
|
169
170
|
isForm,
|
|
170
171
|
propertyWidth,
|
|
171
172
|
...process.env.NODE_ENV !== "production" ? {
|
|
172
|
-
[
|
|
173
|
+
[TEST_PROPS_DATA]: JSON.stringify([{
|
|
174
|
+
property: property ? true : false,
|
|
175
|
+
value: value ? true : false
|
|
176
|
+
}]),
|
|
177
|
+
[TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "root", dataTestId)
|
|
173
178
|
} : {},
|
|
174
179
|
children: [/* @__PURE__ */ jsx(Property, {
|
|
175
180
|
className: classes.property,
|
|
176
181
|
isForm,
|
|
177
182
|
propertyWidth,
|
|
178
183
|
...process.env.NODE_ENV !== "production" ? {
|
|
179
|
-
[TEST_PROP_ID]:
|
|
184
|
+
[TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "property", dataTestId)
|
|
180
185
|
} : {},
|
|
181
186
|
children: isSkeleton ? /* @__PURE__ */ jsx(SKTProperty, {
|
|
182
|
-
className: classes.skeletonProperty
|
|
187
|
+
className: classes.skeletonProperty,
|
|
188
|
+
dataTestId
|
|
183
189
|
}) : property
|
|
184
190
|
}), /* @__PURE__ */ jsx(Value, {
|
|
185
191
|
className: classes.value,
|
|
186
192
|
valueWidth: getValueW(),
|
|
187
193
|
valueHeight,
|
|
188
194
|
...process.env.NODE_ENV !== "production" ? {
|
|
189
|
-
[TEST_PROP_ID]:
|
|
195
|
+
[TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "value", dataTestId)
|
|
190
196
|
} : {},
|
|
191
197
|
children: value
|
|
192
198
|
})]
|
|
@@ -12,10 +12,11 @@ export interface PropertyValueProps extends PropertyProps, ValueProps {
|
|
|
12
12
|
value: number | string | ReactNode;
|
|
13
13
|
isForm?: boolean;
|
|
14
14
|
className?: string;
|
|
15
|
+
dataTestId?: string;
|
|
15
16
|
}
|
|
16
17
|
export declare type WrapperProps = PropertyProps & Pick<PropertyValueProps, 'isForm'>;
|
|
17
18
|
export declare type WrapperPropertyProps = WrapperProps;
|
|
18
19
|
export declare type WrapperValueProps = Omit<ValueProps, 'valueWidthMobile'>;
|
|
19
|
-
export interface SKTPropertyProps {
|
|
20
|
+
export interface SKTPropertyProps extends Pick<PropertyValueProps, 'dataTestId'> {
|
|
20
21
|
className: string;
|
|
21
22
|
}
|
|
@@ -3,10 +3,10 @@ import { useEnvironment } from "@m4l/core";
|
|
|
3
3
|
import { createContext, useContext, useState } 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.12f1a3c3.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.9fcd1476.js";
|
|
10
10
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
11
11
|
import clsx from "clsx";
|
|
12
12
|
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
@@ -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" | "areaChipRoot" | "areaIconLayer" | "areaContainerChips" | "areaEditPopover" | "areaChipMobileRoot" | "areaChipMobileIconContainer" | "areaChipTitle" | "areaContainerChipEditButton" | "areaChipDeleteButton" | "areaChipEditButton" | "areasAddButton" | "areasPopoverMobileOptions" | "areasPopoverListWindows", string>;
|
|
4
|
+
export declare const useAreasAdminUtilityClasses: (ownerState: OwnerState) => Record<"root" | "areaChipRoot" | "areaIconLayer" | "areaContainerChipsIcon" | "areaContainerChips" | "areaContainerContentChips" | "areaEditPopover" | "areaChipMobileRoot" | "areaChipMobileIconContainer" | "areaChipTitle" | "areaContainerChipEditButton" | "areaChipDeleteButton" | "areaChipEditButton" | "areasAddButton" | "areasPopoverMobileOptions" | "areasPopoverListWindows", string>;
|
|
5
5
|
export declare type AdminClasses = ReturnType<typeof useAreasAdminUtilityClasses>;
|
|
@@ -3,10 +3,13 @@ export interface AreasAdmninClasses {
|
|
|
3
3
|
areaChipRoot: string;
|
|
4
4
|
areaChipTitle: string;
|
|
5
5
|
areaContainerChips: string;
|
|
6
|
+
areaContainerContentChips: string;
|
|
7
|
+
areaContainerChipsIcon: string;
|
|
6
8
|
areaChipMobileRoot: string;
|
|
7
9
|
areaEditPopover: string;
|
|
8
10
|
areaChipMobileIconContainer: string;
|
|
9
11
|
areaIconLayer: string;
|
|
12
|
+
areaIconLayerContent: string;
|
|
10
13
|
areaContainerChipEditButton: string;
|
|
11
14
|
areaChipDeleteButton: string;
|
|
12
15
|
areaChipEditButton: string;
|
|
@@ -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.12f1a3c3.js";
|
|
2
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.85e4b2e2.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.9877f7bf.js";
|
|
8
|
+
import { I as Icon } from "../../../Icon/index.9fcd1476.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";
|
|
@@ -16,48 +16,48 @@ import { B as Button } from "../../../mui_extended/Button/index.4288f9fc.js";
|
|
|
16
16
|
import "../../../mui_extended/Badge/index.8c2b8b66.js";
|
|
17
17
|
import "../../../Image/index.c18ebf5a.js";
|
|
18
18
|
import "@mui/lab";
|
|
19
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
19
20
|
import { P as Popover } from "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
20
|
-
import
|
|
21
|
-
import "../../../mui_extended/
|
|
22
|
-
import "../../../mui_extended/Tab/index.9e2f6e34.js";
|
|
21
|
+
import "../../../mui_extended/Pager/index.2f6d6d7d.js";
|
|
22
|
+
import "../../../mui_extended/Tab/index.7c82e43d.js";
|
|
23
23
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
24
24
|
import { unstable_composeClasses } from "@mui/base";
|
|
25
25
|
import { g as getComponentUtilityClass } from "../../../../utils/index.c43a95f4.js";
|
|
26
26
|
import { A as AREAS_ADMIN_CLASS_NAME } from "../../constants.66529246.js";
|
|
27
27
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
28
28
|
import "../../contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
29
|
-
import "../../../../contexts/ModalContext/index.
|
|
29
|
+
import "../../../../contexts/ModalContext/index.e9a7ba4a.js";
|
|
30
30
|
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.fe175bab.js";
|
|
31
31
|
import "react-hook-form";
|
|
32
|
-
import "../../../hook-form/RHFAutocomplete/index.
|
|
33
|
-
import "../../../HelperText/index.
|
|
32
|
+
import "../../../hook-form/RHFAutocomplete/index.6aa51705.js";
|
|
33
|
+
import "../../../HelperText/index.a019742c.js";
|
|
34
34
|
import "lodash/debounce";
|
|
35
|
-
import "../../../hook-form/RHFAutocompleteAsync/index.
|
|
36
|
-
import "../../../hook-form/RHFCheckbox/index.
|
|
35
|
+
import "../../../hook-form/RHFAutocompleteAsync/index.1a3dfe5f.js";
|
|
36
|
+
import "../../../hook-form/RHFCheckbox/index.a08a65b3.js";
|
|
37
37
|
import "@mui/x-date-pickers";
|
|
38
|
-
import "../../../hook-form/RHFDateTime/index.
|
|
38
|
+
import "../../../hook-form/RHFDateTime/index.4d671108.js";
|
|
39
39
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
40
|
-
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.
|
|
41
|
-
import "../../../hook-form/RHFPeriod/index.
|
|
42
|
-
import "../../../Period/index.
|
|
43
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index.
|
|
44
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.
|
|
45
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.
|
|
40
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.9004e898.js";
|
|
41
|
+
import "../../../hook-form/RHFPeriod/index.39b4be49.js";
|
|
42
|
+
import "../../../Period/index.7b94c418.js";
|
|
43
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.52125041.js";
|
|
44
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.d536ccfa.js";
|
|
45
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.aa1648eb.js";
|
|
46
46
|
import "../../../../react-draggable.7abb5d0a.js";
|
|
47
47
|
import "../../../Resizeable/index.9a9c79a4.js";
|
|
48
|
-
import "../../../modal/index.
|
|
48
|
+
import "../../../modal/index.00efea85.js";
|
|
49
49
|
import { shallow } from "zustand/shallow";
|
|
50
50
|
import { styled } from "@mui/material/styles";
|
|
51
51
|
import { S as ScrollBar } from "../../../ScrollBar/index.bbe48f4d.js";
|
|
52
52
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.afb7e3d9.js";
|
|
53
|
-
import "../AreasViewer/index.
|
|
53
|
+
import "../AreasViewer/index.14e62059.js";
|
|
54
54
|
import "../../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
55
|
-
import "../../contexts/AreasContext/index.
|
|
55
|
+
import "../../contexts/AreasContext/index.02c4e7be.js";
|
|
56
56
|
import "../../contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
57
57
|
import "zustand";
|
|
58
58
|
import "lodash/isString";
|
|
59
59
|
import "react-dropzone";
|
|
60
|
-
import "../../../hook-form/RHFUpload/index.
|
|
60
|
+
import "../../../hook-form/RHFUpload/index.bed8573e.js";
|
|
61
61
|
const areasAdminClasses = generateUtilityClasses(AREAS_ADMIN_CLASS_NAME, [
|
|
62
62
|
"root",
|
|
63
63
|
"areaChipRoot",
|
|
@@ -66,10 +66,13 @@ const areasAdminClasses = generateUtilityClasses(AREAS_ADMIN_CLASS_NAME, [
|
|
|
66
66
|
"areasAddButton",
|
|
67
67
|
"areaContainerChipEditButton",
|
|
68
68
|
"areaContainerChips",
|
|
69
|
+
"areaContainerContentChips",
|
|
70
|
+
"areaContainerChipsIcon",
|
|
69
71
|
"areaEditPopover",
|
|
70
72
|
"areaChipMobileRoot",
|
|
71
73
|
"areaChipMobileIconContainer",
|
|
72
74
|
"areaIconLayer",
|
|
75
|
+
"areaIconLayerContent",
|
|
73
76
|
"areaChipEditButton",
|
|
74
77
|
"areasPopoverMobileOptions",
|
|
75
78
|
"areasPopoverListWindows",
|
|
@@ -82,7 +85,9 @@ const useAreasAdminUtilityClasses = (ownerState) => {
|
|
|
82
85
|
root: ["root", ownerState.status, ownerState.isMobile && "isMobile", ownerState.isSkeleton && "isSkeleton"],
|
|
83
86
|
areaChipRoot: ["areaChipRoot"],
|
|
84
87
|
areaIconLayer: ["areaIconLayer"],
|
|
88
|
+
areaContainerChipsIcon: ["areaContainerChipsIcon"],
|
|
85
89
|
areaContainerChips: ["areaContainerChips"],
|
|
90
|
+
areaContainerContentChips: ["areaContainerContentChips"],
|
|
86
91
|
areaEditPopover: ["areaEditPopover"],
|
|
87
92
|
areaChipMobileRoot: ["areaChipMobileRoot"],
|
|
88
93
|
areaChipMobileIconContainer: ["areaChipMobileIconContainer"],
|
|
@@ -192,7 +197,6 @@ const AreaChip = (props) => {
|
|
|
192
197
|
deleteArea(areaId);
|
|
193
198
|
};
|
|
194
199
|
const onSubmit = (data) => {
|
|
195
|
-
console.log("data areachip", data);
|
|
196
200
|
editArea(areaId, data.inputEditArea);
|
|
197
201
|
setOpen(false);
|
|
198
202
|
};
|
|
@@ -304,7 +308,7 @@ const PanelWindowPopUp = (props) => {
|
|
|
304
308
|
host_static_assets,
|
|
305
309
|
environment_assets
|
|
306
310
|
} = useEnvironment();
|
|
307
|
-
const windowsLayouts = useAreasStore((state) => state.hashAreas[currentAreaId].
|
|
311
|
+
const windowsLayouts = useAreasStore((state) => state.hashAreas[currentAreaId].layoutItemsIds.filter((li) => state.hashWindows[li].emergeType === "layout").map((lim) => {
|
|
308
312
|
const w = state.hashWindows[lim];
|
|
309
313
|
return {
|
|
310
314
|
i: w.windowId,
|
|
@@ -372,50 +376,51 @@ const AreaChipMobile = () => {
|
|
|
372
376
|
label: area.name
|
|
373
377
|
};
|
|
374
378
|
}), [areas, currentAreaId]);
|
|
375
|
-
|
|
376
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
379
|
+
return /* @__PURE__ */ jsx("div", {
|
|
377
380
|
className: areasAdminClasses.areaChipMobileRoot,
|
|
378
|
-
children:
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
381
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
382
|
+
className: areasAdminClasses.areaContainerContentChips,
|
|
383
|
+
children: [currentArea ? /* @__PURE__ */ jsx(AreaChip, {
|
|
384
|
+
areaId: currentArea.id,
|
|
385
|
+
selected: true,
|
|
386
|
+
disabled: true
|
|
387
|
+
}, currentArea.id) : null, menuActions.length > 0 ? /* @__PURE__ */ jsxs("div", {
|
|
388
|
+
className: areasAdminClasses.areaChipMobileIconContainer,
|
|
389
|
+
children: [currentArea ? /* @__PURE__ */ jsx(PanelWindowPopUp, {
|
|
390
|
+
currentAreaId: currentArea.id
|
|
391
|
+
}) : null, /* @__PURE__ */ jsx(MenuActions, {
|
|
392
|
+
urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.CHEVRON_DOWN}`,
|
|
393
|
+
arrowType: "no-arrow",
|
|
394
|
+
marginTop: "12px!important",
|
|
395
|
+
marginLeft: "14px!important",
|
|
396
|
+
anchorOrigin: {
|
|
397
|
+
vertical: "bottom",
|
|
398
|
+
horizontal: "right"
|
|
399
|
+
},
|
|
400
|
+
transformOrigin: {
|
|
401
|
+
vertical: "top",
|
|
402
|
+
horizontal: "right"
|
|
403
|
+
},
|
|
404
|
+
menuActions,
|
|
405
|
+
className: areasAdminClasses.areasPopoverMobileOptions,
|
|
406
|
+
menuActionSx: theme.components?.M4LAreasAdminMobilePopoverOptions?.styleOverrides,
|
|
407
|
+
endListElement: /* @__PURE__ */ jsx(Button, {
|
|
408
|
+
onClick: addArea,
|
|
409
|
+
variant: "outlined",
|
|
410
|
+
startIcon: /* @__PURE__ */ jsx(Icon, {
|
|
411
|
+
src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.ADD_AREA}`
|
|
412
|
+
}),
|
|
413
|
+
children: getLabel(getAreasDictionary(DICCTIONARY.area_add_new))
|
|
414
|
+
})
|
|
415
|
+
})]
|
|
416
|
+
}) : null]
|
|
417
|
+
})
|
|
412
418
|
});
|
|
413
419
|
};
|
|
414
420
|
function AreasAdmin() {
|
|
415
421
|
const areas = useAreasStore((state) => state.areas, shallow);
|
|
416
422
|
const currentArea = useAreasStore((state) => state.currentAreaId, shallow);
|
|
417
423
|
const status = useAreasStore((state) => state.ownerState.status);
|
|
418
|
-
const testStore = useAreasStore((state) => state);
|
|
419
424
|
const classesRoot = useAreasStore((state) => state.adminClasses.root);
|
|
420
425
|
const areasLength = useAreasStore((state) => state.areas.length);
|
|
421
426
|
const isDesktop = useResponsiveDesktop();
|
|
@@ -426,29 +431,36 @@ function AreasAdmin() {
|
|
|
426
431
|
host_static_assets,
|
|
427
432
|
environment_assets
|
|
428
433
|
} = useEnvironment();
|
|
429
|
-
console.log("test areas estore bruce", testStore);
|
|
430
|
-
console.log("Render AreasAdmin", areas);
|
|
431
434
|
if (status !== "loaded") {
|
|
432
435
|
return null;
|
|
433
436
|
}
|
|
434
437
|
return /* @__PURE__ */ jsxs(AreasAdminRoot, {
|
|
435
438
|
className: classesRoot,
|
|
436
|
-
children: [/* @__PURE__ */
|
|
437
|
-
className: areasAdminClasses.
|
|
438
|
-
children: /* @__PURE__ */ jsx(
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
children: areas.map((area) => /* @__PURE__ */ jsx(AreaChip, {
|
|
446
|
-
areaId: area,
|
|
447
|
-
selected: area === currentArea,
|
|
448
|
-
disabled: areasLength === 1
|
|
449
|
-
}, area))
|
|
439
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
440
|
+
className: areasAdminClasses.areaContainerChipsIcon,
|
|
441
|
+
children: [isDesktop ? /* @__PURE__ */ jsx("div", {
|
|
442
|
+
className: areasAdminClasses.areaIconLayer,
|
|
443
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
444
|
+
className: areasAdminClasses.areaIconLayerContent,
|
|
445
|
+
children: /* @__PURE__ */ jsx(Icon, {
|
|
446
|
+
src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.LAYERS}`
|
|
447
|
+
})
|
|
450
448
|
})
|
|
451
|
-
}) : /* @__PURE__ */ jsx(
|
|
449
|
+
}) : null, /* @__PURE__ */ jsx("div", {
|
|
450
|
+
className: areasAdminClasses.areaContainerChips,
|
|
451
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
452
|
+
className: areasAdminClasses.areaContainerContentChips,
|
|
453
|
+
children: isDesktop ? /* @__PURE__ */ jsx(ScrollBar, {
|
|
454
|
+
children: /* @__PURE__ */ jsx(Fragment, {
|
|
455
|
+
children: areas.map((area) => /* @__PURE__ */ jsx(AreaChip, {
|
|
456
|
+
areaId: area,
|
|
457
|
+
selected: area === currentArea,
|
|
458
|
+
disabled: areasLength === 1
|
|
459
|
+
}, area))
|
|
460
|
+
})
|
|
461
|
+
}) : /* @__PURE__ */ jsx(AreaChipMobile, {})
|
|
462
|
+
})
|
|
463
|
+
})]
|
|
452
464
|
}), isDesktop ? /* @__PURE__ */ jsx(IconButton, {
|
|
453
465
|
className: areasAdminClasses.areasAddButton,
|
|
454
466
|
src: `${host_static_assets}/${environment_assets}/frontend/components/areas/assets/icons/${ICONS.ADD_AREA}`,
|
|
@@ -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" | "windowLinearProgressBar" | "areaRoot" | "areasLoadingErrorRoot" | "areasLoadingErrorLoading" | "areasLoadingError" | "areasLoadingErrorIcon" | "areasLoadingErrorTitle" | "areasLoadingErrorDescription" | "areasLoadingErrorDivider" | "areaGridLayoutPanelContainer" | "areaGridLayout" | "areaGridLayoutPopupsContainer" | "areasWindowPopUpList" | "windowRoot" | "windowRootContainer" | "windowHeader" | "windowHeaderTitle" | "windowHeaderMainActions" | "windowContent" | "windowLinearProgressRoot" | "windowPopupRoot" | "windowModalRoot" | "selectedWindow" | "windowToastiesContainer" | "windowToastiesContainerTostys" | "windowToastyMeesageButtonsContainer" | "windowToastyMessage" | "windowToastyButtonsContainer" | "windowToastyPin" | "windowToastyClose" | "panelWindowsRoot" | "panelWindowsButtonContainer" | "windowToastyContainer", string>;
|
|
4
|
+
export declare const useAreasViewerUtilityClasses: (ownerState: OwnerState) => Record<"root" | "windowLinearProgressBar" | "areaRoot" | "areasLoadingErrorRoot" | "areasLoadingErrorLoading" | "areasLoadingError" | "areasLoadingErrorIcon" | "areasLoadingErrorTitle" | "areasLoadingErrorDescription" | "areasLoadingErrorDivider" | "areaGridLayoutPanelContainer" | "areaGridLayout" | "areaGridLayoutPopupsContainer" | "areasWindowPopUpList" | "windowRoot" | "windowRootContainer" | "windowHeader" | "windowHeaderTitle" | "windowHeaderMainActions" | "windowHeaderCancelHandle" | "windowContent" | "windowLinearProgressRoot" | "windowPopupRoot" | "windowModalRoot" | "selectedWindow" | "windowToastiesContainer" | "windowToastiesContainerTostys" | "windowToastyMeesageButtonsContainer" | "windowToastyMessage" | "windowToastyButtonsContainer" | "windowToastyPin" | "windowToastyClose" | "panelWindowsRoot" | "panelWindowsButtonContainer" | "windowToastyContainer", string>;
|
|
5
5
|
export declare type ViwerClasses = ReturnType<typeof useAreasViewerUtilityClasses>;
|
|
@@ -18,6 +18,7 @@ export interface AreasViewerClasses {
|
|
|
18
18
|
windowHeaderContent: string;
|
|
19
19
|
windowHeaderTitle: string;
|
|
20
20
|
windowHeaderMainActions: string;
|
|
21
|
+
windowHeaderCancelHandle: string;
|
|
21
22
|
windowContent: string;
|
|
22
23
|
windowRootContainer: string;
|
|
23
24
|
windowLinearProgressRoot: string;
|