@m4l/components 0.1.90 → 0.1.93
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 +12 -15
- package/components/AccountPopover/AccountPopover.d.ts +2 -1
- package/components/AccountPopover/{index.724828f0.js → index.2ef0bf6d.js} +20 -31
- package/components/AccountPopover/index.d.ts +0 -1
- package/components/AccountPopover/subcomponents/PopOver/types.d.ts +4 -3
- package/components/AccountPopover/types.d.ts +50 -26
- package/components/AppBar/{index.0328abec.js → index.16fe42a1.js} +3 -22
- package/components/CommonActions/components/ActionCancel/{index.441118b5.js → index.c3e23ad4.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.435fcb53.js → index.6da52418.js} +4 -34
- package/components/CommonActions/components/ActionFormIntro/{index.edb131c4.js → index.c3af6d1d.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.24367ed3.js → index.49631fcb.js} +2 -2
- package/components/CommonActions/components/Actions/{index.8dcaba29.js → index.ccf731c1.js} +2 -38
- package/components/DataGrid/classes/index.d.ts +1 -0
- package/components/DataGrid/classes/types.d.ts +1 -0
- package/components/DataGrid/formatters/columnConcatenatedValueFormatter/index.d.ts +2 -2
- package/components/DataGrid/{index.c296f69c.js → index.abedf2c0.js} +44 -14
- package/components/DataGrid/subcomponents/Actions/{index.fadd92f2.js → index.c8408b73.js} +9 -38
- package/components/DraggableWindow/{index.c702d3f2.js → index.8f423ed7.js} +1 -1
- package/components/DynamicFilter/{index.6a22346e.js → index.cb1402aa.js} +23 -56
- package/components/DynamicFilter/index.d.ts +1 -1
- package/components/GridLayout/classes/index.d.ts +1 -1
- package/components/GridLayout/{index.8ae34c50.js → index.1421f0d4.js} +21 -18
- package/components/GridLayout/subcomponents/Griditem/{index.c7a33781.js → index.b2342897.js} +5 -4
- package/components/GridLayout/subcomponents/Responsive/helper.d.ts +1 -0
- package/components/GridLayout/subcomponents/Responsive/{index.96cdb1b4.js → index.f459804c.js} +33 -12
- package/components/GridLayout/subcomponents/Responsive/responsiveUtils.d.ts +2 -2
- package/components/GridLayout/subcomponents/Responsive/types.d.ts +22 -1
- package/components/GridLayout/types.d.ts +11 -0
- package/components/HelperText/{index.31f2a824.js → index.7d2afdb3.js} +2 -23
- package/components/Icon/{index.a70c4729.js → index.3211023d.js} +8 -6
- package/components/Image/{index.c18ebf5a.js → index.611cd930.js} +43 -14
- package/components/LanguagePopover/{index.c9876e63.js → index.b6dc03d0.js} +4 -20
- package/components/LinearProgressIndeterminate/{index.60dabc06.js → index.c46da124.js} +1 -1
- package/components/LoadingError/LoadingError.d.ts +3 -0
- package/components/LoadingError/classes/constants.d.ts +1 -0
- package/components/LoadingError/classes/index.d.ts +14 -0
- package/components/LoadingError/classes/types.d.ts +14 -0
- package/components/LoadingError/dictionary.d.ts +1 -0
- package/components/LoadingError/index.96bdc803.js +106 -0
- package/components/LoadingError/index.d.ts +2 -0
- package/components/LoadingError/types.d.ts +10 -0
- package/components/MFLoader/classes/constants.d.ts +1 -0
- package/components/MFLoader/classes/index.d.ts +7 -0
- package/components/MFLoader/classes/types.d.ts +7 -0
- package/components/MFLoader/dictionary.d.ts +1 -0
- package/components/MFLoader/index.caee87dd.js +296 -0
- package/components/MFLoader/index.d.ts +2 -0
- package/components/MFLoader/types.d.ts +7 -0
- package/components/ModalDialog/{index.7d0d3ea1.js → index.ec55087e.js} +5 -5
- package/components/NavLink/{index.4f927064.js → index.b75c91e1.js} +2 -22
- package/components/NoItemSelected/{index.1eaf72d8.js → index.3e29c208.js} +1 -1
- package/components/ObjectLogs/{index.87438c47.js → index.38fd657f.js} +12 -38
- package/components/Page/index.c4642a29.js +127 -0
- package/components/PaperForm/{index.e02c772c.js → index.cce9ed39.js} +1 -1
- package/components/Period/{index.d1182d4a.js → index.c35c6a6c.js} +5 -37
- package/components/PrintingSystem/PrintingSystem.d.ts +3 -0
- package/components/PrintingSystem/classes/constants.d.ts +1 -0
- package/components/PrintingSystem/classes/index.d.ts +32 -0
- package/components/PrintingSystem/classes/types.d.ts +33 -0
- package/components/PrintingSystem/index.d.ts +2 -0
- package/components/PrintingSystem/index.e18a2fa8.js +634 -0
- package/components/PrintingSystem/subcomponents/BodyNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/BodyNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/ChartNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/ChartNode/types.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/DividerNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/DividerNode/types.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/FooterNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/FooterNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/GridNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/GridNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/HeaderNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/HeaderNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/ImageNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/ImageNode/types.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PageNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PageNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/Pager/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/Pager/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/PaperNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PaperNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/PropertyValueNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/PropertyValueNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/SectionNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/SectionNode/types.d.ts +5 -0
- package/components/PrintingSystem/subcomponents/TextBoxNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/TextBoxNode/types.d.ts +3 -0
- package/components/PrintingSystem/types.d.ts +214 -0
- package/components/PrintingSystem/utils/FactoryRender/index.d.ts +3 -0
- package/components/PrintingSystem/utils/FactoryRender/types.d.ts +4 -0
- package/components/PrintingSystem/utils/PageRender/index.d.ts +3 -0
- package/components/PrintingSystem/utils/PageRender/types.d.ts +13 -0
- package/components/PrintingSystem/utils/getEvalValue/index.d.ts +1 -0
- package/components/PrintingSystem/utils/getSize/index.d.ts +1 -0
- package/components/PropertyValue/classes/index.d.ts +3 -2
- package/components/PropertyValue/classes/types.d.ts +2 -0
- package/components/PropertyValue/{index.3ee94e0f.js → index.3ee95452.js} +25 -9
- package/components/PropertyValue/types.d.ts +4 -0
- package/components/Resizeable/{index.676c96fe.js → index.8c53c1fa.js} +1 -1
- package/components/SideBar/{index.2dfc5445.js → index.5fd648d2.js} +44 -39
- package/components/animate/{index.4e9774a6.js → index.5d4575bc.js} +2 -6
- package/components/areas/components/AreasAdmin/{index.98a54515.js → index.ddb384a1.js} +29 -62
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +2 -8
- package/components/areas/components/AreasViewer/{index.ee7170bc.js → index.625bf23b.js} +70 -438
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/index.d.ts +2 -2
- package/components/areas/components/index.558684b3.js +1 -0
- package/components/areas/components/index.d.ts +0 -1
- package/components/areas/contexts/AreasContext/helper.d.ts +14 -1
- package/components/areas/contexts/AreasContext/{index.1950eef9.js → index.646f3c8f.js} +16 -12
- package/components/areas/contexts/index.24025b97.js +1 -0
- package/components/areas/contexts/index.d.ts +1 -0
- package/components/areas/hooks/index.d9dc1e21.js +1 -0
- package/components/areas/hooks/useAreas/{index.ce75bfb5.js → index.ee66240b.js} +1 -1
- package/components/areas/index.4cc6a221.js +22 -0
- package/components/areas/index.d.ts +1 -1
- package/components/formatters/BooleanFormatter/{index.a013b080.js → index.3c2df7a8.js} +10 -4
- package/components/formatters/FormatterRoot/index.d.ts +3 -0
- package/components/formatters/FormatterRoot/types.d.ts +4 -0
- package/components/formatters/classes/index.d.ts +4 -0
- package/components/formatters/classes/types.d.ts +6 -0
- package/components/formatters/constants.d.ts +1 -0
- package/components/formatters/{index.576922c9.js → index.dc77adb7.js} +25 -8
- package/components/hook-form/RHFAutocomplete/{index.8e4ff8d7.js → index.52387f0f.js} +7 -22
- package/components/hook-form/RHFAutocompleteAsync/{index.78f8e4c4.js → index.638bd2ae.js} +3 -2
- package/components/hook-form/RHFCheckbox/{index.bdad2059.js → index.a38715e3.js} +2 -22
- package/components/hook-form/RHFDateTime/{index.73f8a11e.js → index.66e334b0.js} +23 -23
- package/components/hook-form/RHFPeriod/{index.71df31df.js → index.23099265.js} +2 -2
- package/components/hook-form/RHFTextField/{index.6d21060a.js → index.25b3627e.js} +6 -8
- package/components/hook-form/RHFUpload/{index.f04d24ee.js → index.65588e08.js} +5 -22
- package/components/index.d.ts +3 -0
- package/components/modal/{WindowBase.b9dd76a4.js → WindowBase.161ec78a.js} +5 -37
- package/components/modal/{WindowConfirm.d407f47a.js → WindowConfirm.7eed7c35.js} +8 -40
- package/components/modal/{index.764e2723.js → index.61389369.js} +0 -37
- package/components/mui_extended/Accordion/{index.a706b12f.js → index.92aae1a4.js} +4 -4
- package/components/mui_extended/Button/{index.f79eb74e.js → index.94fec33c.js} +3 -3
- package/components/mui_extended/{CheckBox.38abccd8.js → CheckBox.e662d20c.js} +1 -1
- package/components/mui_extended/IconButton/{index.76624519.js → index.53cd6388.js} +2 -2
- package/components/mui_extended/MenuActions/{index.570fbae0.js → index.dd9f65a2.js} +5 -19
- package/components/mui_extended/Pager/{index.ac2a21f0.js → index.de0bd62c.js} +2 -2
- package/components/mui_extended/Tab/{index.d0302c81.js → index.1fcabba2.js} +2 -2
- package/components/mui_extended/index.b606cd9d.js +1 -0
- package/contexts/ModalContext/{index.41fbf6bc.js → index.436c2938.js} +1 -1
- package/contexts/RHFormContext/classes/index.d.ts +1 -1
- package/hooks/useFormAddEdit/{index.0c6b6b68.js → index.3584a29f.js} +2 -26
- package/hooks/useModal/{index.71987a49.js → index.05d1821e.js} +1 -1
- package/index.js +199 -190
- package/node_modules.b55d04d9.js +15267 -0
- package/package.json +5 -1
- package/react-data-grid.d46d625e.js +2 -2
- package/react-draggable.e4725f3a.js +630 -0
- package/{react-resizable.ba08699a.js → react-resizable.c07d63fb.js} +2 -2
- package/utils/{index.c43a95f4.js → index.6469f148.js} +75 -107
- package/vendor.71883626.js +104 -0
- package/components/Page/index.4237c241.js +0 -27
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/types.d.ts +0 -8
- package/components/areas/components/AreasViewer/subcomponents/AreasLoadingError/index.d.ts +0 -3
- package/components/areas/components/AreasViewer/subcomponents/AreasLoadingError/types.d.ts +0 -5
- package/components/areas/components/index.431c5397.js +0 -31
- package/components/areas/contexts/index.b846bbcb.js +0 -2
- package/components/areas/hooks/index.0184c6f7.js +0 -4
- package/components/areas/index.5abba006.js +0 -54
- package/components/mui_extended/index.a8d347a9.js +0 -24
- package/node_modules.d73a220d.js +0 -363
- package/react-draggable.7abb5d0a.js +0 -962
- package/vendor.4dedf99e.js +0 -128
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/index.d.ts → MFLoader/MFLoader.d.ts} +0 -0
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader → MFLoader}/helper.d.ts +0 -0
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader → MFLoader}/subcomponents/ProggessLoadingMF/index.d.ts +0 -0
- package/components/{areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader → MFLoader}/subcomponents/ProggessLoadingMF/types.d.ts +0 -0
- package/components/mui_extended/Badge/{index.b09524fe.js → index.09f5aee5.js} +1 -1
- package/components/mui_extended/Popover/{index.9f35d0eb.js → index.b3eca6b1.js} +2 -2
- package/components/mui_extended/Tooltip/{index.5a795dcd.js → index.24a2bc3f.js} +1 -1
- package/components/mui_extended/Typography/{index.443590d6.js → index.379dd374.js} +1 -1
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { forwardRef, useRef } from "react";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
1
|
import { m } from "framer-motion";
|
|
2
|
+
import { forwardRef, useRef } from "react";
|
|
4
3
|
import { IconButton, Box, styled, alpha } from "@mui/material";
|
|
5
|
-
import "
|
|
6
|
-
import "react-router-dom";
|
|
7
|
-
import "./LoadingScreen/index.1d0c4307.js";
|
|
8
|
-
import "./PropagateLoader/index.7fab43c8.js";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
5
|
import SimpleBarReact from "simplebar-react";
|
|
10
6
|
const varSmall = {
|
|
11
7
|
hover: {
|
|
@@ -1,67 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.ce75bfb5.js";
|
|
1
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.ee66240b.js";
|
|
3
2
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
4
3
|
import { useState, useRef, useMemo } from "react";
|
|
5
4
|
import * as Yup from "yup";
|
|
6
|
-
import { generateUtilityClasses, useTheme } from "@mui/material";
|
|
7
|
-
import "../../../mui_extended/Accordion/index.a706b12f.js";
|
|
8
|
-
import { I as Icon } from "../../../Icon/index.a70c4729.js";
|
|
9
5
|
import clsx from "clsx";
|
|
10
|
-
import {
|
|
11
|
-
import { T as Typography } from "../../../mui_extended/Typography/index.443590d6.js";
|
|
12
|
-
import "../../../mui_extended/Avatar/index.75e6ed57.js";
|
|
13
|
-
import "react-router-dom";
|
|
14
|
-
import "@mui/material/Button";
|
|
15
|
-
import { B as Button } from "../../../mui_extended/Button/index.f79eb74e.js";
|
|
16
|
-
import "../../../mui_extended/CheckBox.38abccd8.js";
|
|
17
|
-
import "../../../mui_extended/Badge/index.b09524fe.js";
|
|
18
|
-
import "../../../Image/index.c18ebf5a.js";
|
|
19
|
-
import "@mui/lab";
|
|
20
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.570fbae0.js";
|
|
21
|
-
import { P as Popover } from "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
22
|
-
import "../../../mui_extended/Stack/index.0e53197c.js";
|
|
23
|
-
import "../../../mui_extended/Tab/index.d0302c81.js";
|
|
24
|
-
import "../../../mui_extended/Pager/index.ac2a21f0.js";
|
|
25
|
-
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
26
|
-
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
6
|
+
import { generateUtilityClasses, useTheme } from "@mui/material";
|
|
27
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
28
|
-
import { g as getComponentUtilityClass } from "../../../../utils/index.
|
|
8
|
+
import { g as getComponentUtilityClass } from "../../../../utils/index.6469f148.js";
|
|
29
9
|
import { A as AREAS_ADMIN_CLASS_NAME } from "../../constants.66529246.js";
|
|
30
10
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
31
|
-
import "../../
|
|
32
|
-
import "../../../../contexts/ModalContext/index.41fbf6bc.js";
|
|
33
|
-
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.1755b324.js";
|
|
34
|
-
import "react-hook-form";
|
|
35
|
-
import "../../../hook-form/RHFAutocomplete/index.8e4ff8d7.js";
|
|
36
|
-
import "../../../HelperText/index.31f2a824.js";
|
|
37
|
-
import "lodash/debounce";
|
|
38
|
-
import "../../../hook-form/RHFAutocompleteAsync/index.78f8e4c4.js";
|
|
39
|
-
import "../../../hook-form/RHFCheckbox/index.bdad2059.js";
|
|
40
|
-
import "@mui/x-date-pickers";
|
|
41
|
-
import "../../../hook-form/RHFDateTime/index.73f8a11e.js";
|
|
42
|
-
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.6d21060a.js";
|
|
43
|
-
import "../../../hook-form/RHFPeriod/index.71df31df.js";
|
|
44
|
-
import "../../../Period/index.d1182d4a.js";
|
|
45
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index.8dcaba29.js";
|
|
46
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.441118b5.js";
|
|
47
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.24367ed3.js";
|
|
48
|
-
import "../../../../react-draggable.7abb5d0a.js";
|
|
49
|
-
import "../../../Resizeable/index.676c96fe.js";
|
|
50
|
-
import "../../../modal/index.764e2723.js";
|
|
51
|
-
import { shallow } from "zustand/shallow";
|
|
11
|
+
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
52
12
|
import { styled } from "@mui/material/styles";
|
|
13
|
+
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
14
|
+
import { shallow } from "zustand/shallow";
|
|
15
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
16
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.dd9f65a2.js";
|
|
17
|
+
import { P as Popover } from "../../../mui_extended/Popover/index.b3eca6b1.js";
|
|
18
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.1755b324.js";
|
|
19
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.25b3627e.js";
|
|
20
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.ccf731c1.js";
|
|
21
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.c3e23ad4.js";
|
|
22
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.49631fcb.js";
|
|
23
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.53cd6388.js";
|
|
24
|
+
import { T as Typography } from "../../../mui_extended/Typography/index.379dd374.js";
|
|
53
25
|
import { S as ScrollBar } from "../../../ScrollBar/index.65bb2930.js";
|
|
54
|
-
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
55
26
|
import TouchRipple from "@mui/material/ButtonBase/TouchRipple";
|
|
56
|
-
import "
|
|
57
|
-
import "../../../
|
|
58
|
-
import "../../
|
|
59
|
-
import "../../contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
60
|
-
import "zustand";
|
|
61
|
-
import "lodash/isString";
|
|
62
|
-
import "react-dropzone";
|
|
63
|
-
import "../../../hook-form/RHFUpload/index.f04d24ee.js";
|
|
64
|
-
import { u as useOnClickOutside } from "../../index.5abba006.js";
|
|
27
|
+
import { B as Button } from "../../../mui_extended/Button/index.94fec33c.js";
|
|
28
|
+
import { I as Icon } from "../../../Icon/index.3211023d.js";
|
|
29
|
+
import { u as useOnClickOutside } from "../../index.4cc6a221.js";
|
|
65
30
|
const areasAdminClasses = generateUtilityClasses(AREAS_ADMIN_CLASS_NAME, [
|
|
66
31
|
"root",
|
|
67
32
|
"rootContent",
|
|
@@ -685,19 +650,21 @@ const PanelWindowPopUp = (props) => {
|
|
|
685
650
|
});
|
|
686
651
|
};
|
|
687
652
|
function AreasAdmin() {
|
|
688
|
-
const areas = useAreasStore((
|
|
689
|
-
const currentArea = useAreasStore((
|
|
690
|
-
const status = useAreasStore((
|
|
653
|
+
const areas = useAreasStore((state2) => state2.areasIds, shallow);
|
|
654
|
+
const currentArea = useAreasStore((state2) => state2.currentAreaId, shallow);
|
|
655
|
+
const status = useAreasStore((state2) => state2.ownerState.status);
|
|
691
656
|
const {
|
|
692
657
|
setFocus
|
|
693
|
-
} = useAreasStore((
|
|
694
|
-
const classesRoot = useAreasStore((
|
|
695
|
-
const areasLength = useAreasStore((
|
|
658
|
+
} = useAreasStore((state2) => state2.areaAdminActions, shallow);
|
|
659
|
+
const classesRoot = useAreasStore((state2) => state2.adminClasses.root);
|
|
660
|
+
const areasLength = useAreasStore((state2) => state2.areasIds.length);
|
|
696
661
|
const isDesktop = useResponsiveDesktop();
|
|
697
662
|
const {
|
|
698
663
|
addArea
|
|
699
|
-
} = useAreasStore((
|
|
700
|
-
const maximizedId = useAreasStore((
|
|
664
|
+
} = useAreasStore((state2) => state2.areasActions, shallow);
|
|
665
|
+
const maximizedId = useAreasStore((state2) => state2.hashAreas[currentArea] ? state2.hashAreas[currentArea].maximizedId : false, shallow);
|
|
666
|
+
const state = useAreasStore((state2) => state2, shallow);
|
|
667
|
+
console.log("store state", state);
|
|
701
668
|
const {
|
|
702
669
|
host_static_assets,
|
|
703
670
|
environment_assets
|
|
@@ -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" | "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>;
|
|
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" | "loaderContainer" | "containerComponent" | "windowToastyContainer", string>;
|
|
5
5
|
export declare type ViwerClasses = ReturnType<typeof useAreasViewerUtilityClasses>;
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
export interface AreasViewerClasses {
|
|
2
2
|
root: string;
|
|
3
3
|
areaRoot: string;
|
|
4
|
-
areasLoadingErrorRoot: string;
|
|
5
|
-
areasLoadingErrorLoading: string;
|
|
6
|
-
areasLoadingError: string;
|
|
7
|
-
areasLoadingErrorIcon: string;
|
|
8
|
-
areasLoadingErrorTitle: string;
|
|
9
|
-
areasLoadingErrorDescription: string;
|
|
10
|
-
areasLoadingErrorDivider: string;
|
|
11
|
-
areasLoadingErrorTextAction: string;
|
|
12
4
|
areaGridLayoutPanelContainer: string;
|
|
13
5
|
areaGridLayout: string;
|
|
14
6
|
areaGridLayoutPopupsContainer: string;
|
|
@@ -36,6 +28,8 @@ export interface AreasViewerClasses {
|
|
|
36
28
|
panelWindowsRoot: string;
|
|
37
29
|
panelWindowsButtonContainer: string;
|
|
38
30
|
resizeHandle: string;
|
|
31
|
+
loaderContainer: string;
|
|
32
|
+
containerComponent: string;
|
|
39
33
|
selected: string;
|
|
40
34
|
selectedWindow: string;
|
|
41
35
|
colapsed: string;
|