@m4l/components 0.1.89 → 0.1.92
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/components/AccountPopover/{index.bb2c369d.js → index.eebea1c5.js} +3 -3
- package/components/AppBar/{index.58233583.js → index.90cceb7d.js} +3 -3
- package/components/CommonActions/components/ActionCancel/{index.ffc5618a.js → index.54588e5b.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.baa35ca3.js → index.7907e6f4.js} +10 -10
- package/components/CommonActions/components/ActionFormIntro/{index.906d46a0.js → index.f7cd515b.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.81d2648b.js → index.f20cffae.js} +1 -1
- package/components/CommonActions/components/Actions/{index.366cb775.js → index.7a196c44.js} +8 -8
- package/components/DataGrid/{index.8c887df9.js → index.95cea2ca.js} +3 -3
- package/components/DataGrid/subcomponents/Actions/{index.895fc73f.js → index.5b0b1fbf.js} +13 -13
- package/components/DynamicFilter/{index.d2e7bdcc.js → index.e9192ebd.js} +21 -21
- package/components/GridLayout/{index.8ae34c50.js → index.5e43414d.js} +15 -12
- package/components/GridLayout/subcomponents/Griditem/{index.c7a33781.js → index.d6f326d2.js} +2 -1
- package/components/GridLayout/subcomponents/Responsive/helper.d.ts +1 -0
- package/components/GridLayout/subcomponents/Responsive/{index.96cdb1b4.js → index.d41e31ca.js} +32 -11
- 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.69791151.js → index.191348cc.js} +3 -3
- package/components/LanguagePopover/{index.349d359c.js → index.a74f2065.js} +3 -3
- package/components/ModalDialog/{index.302a87c9.js → index.99745527.js} +3 -3
- package/components/NavLink/{index.8fe407ef.js → index.f12bba32.js} +3 -3
- package/components/ObjectLogs/{index.98d3400e.js → index.9bbac2a0.js} +12 -12
- package/components/Period/{index.972dbe64.js → index.ebd5e3b7.js} +9 -9
- package/components/PropertyValue/{index.d3d71d50.js → index.76fa6a12.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.cb3d7bd6.js → index.cd054608.js} +21 -21
- package/components/areas/components/AreasViewer/{index.1eef603d.js → index.62abf0bb.js} +32 -31
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/index.d.ts +2 -2
- package/components/areas/components/{index.44ec162f.js → index.ea2f9914.js} +6 -6
- package/components/areas/contexts/AreasContext/helper.d.ts +14 -1
- package/components/areas/contexts/AreasContext/{index.7a2d5394.js → index.d528f6e7.js} +12 -10
- package/components/areas/contexts/{index.7bae4208.js → index.6e9bbc64.js} +1 -1
- package/components/areas/hooks/useAreas/{index.1f112e0b.js → index.d417e4b2.js} +1 -1
- package/components/areas/{index.aaaa1f62.js → index.8d6d8969.js} +6 -6
- package/components/hook-form/RHFAutocomplete/{index.5c23bd25.js → index.29a4c62c.js} +4 -4
- package/components/hook-form/RHFAutocompleteAsync/{index.85b11f3a.js → index.647c3f9c.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.a136882e.js → index.0b89ea5c.js} +4 -4
- package/components/hook-form/RHFDateTime/{index.1ca795b0.js → index.1adc88ad.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.90777c53.js → index.a4476d23.js} +2 -2
- package/components/hook-form/RHFTextField/{index.ccea64e7.js → index.a1a240b1.js} +2 -2
- package/components/hook-form/RHFUpload/{index.85e59119.js → index.a4582341.js} +4 -4
- package/components/modal/{WindowBase.39a70f35.js → WindowBase.a4752aa1.js} +9 -9
- package/components/modal/{WindowConfirm.f53c02f6.js → WindowConfirm.7a9c12c0.js} +12 -12
- package/components/modal/{index.dbdb6ac0.js → index.b434146b.js} +8 -8
- package/components/mui_extended/Accordion/{index.0e0090ca.js → index.cdedddba.js} +1 -1
- package/components/mui_extended/MenuActions/{index.4c2e48d4.js → index.7669b8af.js} +2 -2
- package/components/mui_extended/Tab/{index.3db2e0c7.js → index.5f09e16a.js} +1 -1
- package/components/mui_extended/{index.9e8aeca8.js → index.fe189e7d.js} +3 -3
- package/contexts/ModalContext/{index.1fc9f5d9.js → index.347f6738.js} +1 -1
- package/hooks/useFormAddEdit/{index.4906dbb4.js → index.e8e7f758.js} +9 -10
- package/hooks/useModal/{index.6457198c.js → index.fa6dfaa1.js} +1 -1
- package/index.js +59 -59
- package/package.json +1 -1
- package/{vendor.92191f81.js → vendor.e14dec76.js} +39 -39
|
@@ -34,6 +34,14 @@ export declare type ResponsiveState = {
|
|
|
34
34
|
* "contaierPadding" padding del contenedor para el brekpoint actual
|
|
35
35
|
**/
|
|
36
36
|
contaierPadding: Margin;
|
|
37
|
+
/**
|
|
38
|
+
* colapsedHeight: Valor de altura de un grid item colapsado.
|
|
39
|
+
*/
|
|
40
|
+
colapsedHeight: number;
|
|
41
|
+
/**
|
|
42
|
+
* colapsedHeight: Valor de altura de un grid item colapsado.
|
|
43
|
+
*/
|
|
44
|
+
rowHeight: number;
|
|
37
45
|
};
|
|
38
46
|
export declare type OnLayoutChangeCallback = (layout: Layout, layouts: Layouts) => void;
|
|
39
47
|
export declare type LayoutItemResponsive = {
|
|
@@ -81,6 +89,14 @@ export declare type RefResponsiveState = {
|
|
|
81
89
|
* "containerHeight" altura del contendor offsetParent.height (No incluye el contenido oculto )
|
|
82
90
|
*/
|
|
83
91
|
containerHeight: number;
|
|
92
|
+
/**
|
|
93
|
+
* colapsedHeight: Valor de altura de un grid item colapsado.
|
|
94
|
+
*/
|
|
95
|
+
colapsedHeight: number;
|
|
96
|
+
/**
|
|
97
|
+
* colapsedHeight: Valor de altura de un grid item colapsado.
|
|
98
|
+
*/
|
|
99
|
+
rowHeight: number;
|
|
84
100
|
};
|
|
85
101
|
export declare type ContainerChangeEvent = {
|
|
86
102
|
containerWidth: number;
|
|
@@ -92,7 +108,7 @@ export declare type OnContainerChange = (event: ContainerChangeEvent) => void;
|
|
|
92
108
|
export declare type BreakpointCols = {
|
|
93
109
|
[key: Breakpoint]: number;
|
|
94
110
|
};
|
|
95
|
-
export interface ResponsiveProps extends CoreProps {
|
|
111
|
+
export interface ResponsiveProps extends Omit<CoreProps, 'colapsedHeight' | 'rowHeight'> {
|
|
96
112
|
/**
|
|
97
113
|
* "breakpoint" permite configurar a traves de prop el breakpoint a mostrar,
|
|
98
114
|
* por encima del que puede estar detectando en el contenedor root del gridLayout
|
|
@@ -143,6 +159,11 @@ export interface ResponsiveProps extends CoreProps {
|
|
|
143
159
|
* "onLayoutChange" handler que recibirá los cambios asociados a las medidas del contenedor, breakpoint y columnas
|
|
144
160
|
*/
|
|
145
161
|
onContainerChange?: OnContainerChange;
|
|
162
|
+
/**
|
|
163
|
+
* colapsedHeight: Valor de altura de los grid items colapsados.
|
|
164
|
+
*/
|
|
165
|
+
colapsedHeight: number | Record<string, number>;
|
|
166
|
+
rowHeight: number | Record<string, number>;
|
|
146
167
|
}
|
|
147
168
|
/**
|
|
148
169
|
* "ResponsiveInitialStateProps" interfaz usada en la inicialización y conciliación del primer estado del componente
|
|
@@ -174,7 +174,18 @@ export declare type GridLayoutRefState = {
|
|
|
174
174
|
* "oldResizeItem" snapshot de layoutItem cuando inicia el resizzing
|
|
175
175
|
*/
|
|
176
176
|
oldResizeItem?: LayoutItem;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
*/
|
|
177
180
|
zIndexes: string[];
|
|
181
|
+
/**
|
|
182
|
+
* colapsedHeight
|
|
183
|
+
*/
|
|
184
|
+
colapsedHeight: number;
|
|
185
|
+
/**
|
|
186
|
+
* rowHeight
|
|
187
|
+
*/
|
|
188
|
+
rowHeight: number;
|
|
178
189
|
};
|
|
179
190
|
export declare type Layout = Array<LayoutItem>;
|
|
180
191
|
/** Tipos de datos para el responsive que es nec */
|
|
@@ -6,7 +6,7 @@ import "clsx";
|
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import "../mui_extended/IconButton/index.76624519.js";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import "../mui_extended/Accordion/index.
|
|
9
|
+
import "../mui_extended/Accordion/index.cdedddba.js";
|
|
10
10
|
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
11
11
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
12
12
|
import "react-router-dom";
|
|
@@ -16,10 +16,10 @@ import "../mui_extended/CheckBox.38abccd8.js";
|
|
|
16
16
|
import "../mui_extended/Badge/index.b09524fe.js";
|
|
17
17
|
import "../Image/index.c18ebf5a.js";
|
|
18
18
|
import "@mui/lab";
|
|
19
|
-
import "../mui_extended/MenuActions/index.
|
|
19
|
+
import "../mui_extended/MenuActions/index.7669b8af.js";
|
|
20
20
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
21
21
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
22
|
-
import "../mui_extended/Tab/index.
|
|
22
|
+
import "../mui_extended/Tab/index.5f09e16a.js";
|
|
23
23
|
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
24
24
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
25
25
|
import { unstable_composeClasses } from "@mui/base";
|
|
@@ -8,7 +8,7 @@ import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
|
8
8
|
import "clsx";
|
|
9
9
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
10
10
|
import "../mui_extended/IconButton/index.76624519.js";
|
|
11
|
-
import "../mui_extended/Accordion/index.
|
|
11
|
+
import "../mui_extended/Accordion/index.cdedddba.js";
|
|
12
12
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
13
13
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
14
14
|
import "react-router-dom";
|
|
@@ -18,10 +18,10 @@ import "../mui_extended/CheckBox.38abccd8.js";
|
|
|
18
18
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.ad569afd.js";
|
|
19
19
|
import "../mui_extended/Badge/index.b09524fe.js";
|
|
20
20
|
import "@mui/lab";
|
|
21
|
-
import "../mui_extended/MenuActions/index.
|
|
21
|
+
import "../mui_extended/MenuActions/index.7669b8af.js";
|
|
22
22
|
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
23
23
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
24
|
-
import "../mui_extended/Tab/index.
|
|
24
|
+
import "../mui_extended/Tab/index.5f09e16a.js";
|
|
25
25
|
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
26
26
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
27
27
|
import { unstable_composeClasses } from "@mui/base";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useTheme, Dialog, Paper } from "@mui/material";
|
|
2
2
|
import { c as cjs } from "../../react-draggable.7abb5d0a.js";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.fa6dfaa1.js";
|
|
4
4
|
import { R as ResizeableWindow } from "../Resizeable/index.676c96fe.js";
|
|
5
5
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
6
|
-
import { m as modalUtilityClasses } from "../modal/index.
|
|
6
|
+
import { m as modalUtilityClasses } from "../modal/index.b434146b.js";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
8
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.7a196c44.js";
|
|
9
9
|
const DragabblePaperComponent = (props) => {
|
|
10
10
|
return /* @__PURE__ */ jsx(cjs.exports, {
|
|
11
11
|
handle: ".m4l_draggable_handle",
|
|
@@ -8,7 +8,7 @@ import "clsx";
|
|
|
8
8
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
9
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.cdedddba.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";
|
|
@@ -17,10 +17,10 @@ import "../mui_extended/CheckBox.38abccd8.js";
|
|
|
17
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.7669b8af.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.
|
|
23
|
+
import "../mui_extended/Tab/index.5f09e16a.js";
|
|
24
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";
|
|
@@ -1,29 +1,29 @@
|
|
|
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.95cea2ca.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.
|
|
11
|
+
import { u as useModal } from "../../hooks/useModal/index.fa6dfaa1.js";
|
|
12
12
|
import { I as Icon } from "../Icon/index.a70c4729.js";
|
|
13
13
|
import "../../react-draggable.7abb5d0a.js";
|
|
14
14
|
import "../Resizeable/index.676c96fe.js";
|
|
15
|
-
import "../modal/index.
|
|
16
|
-
import "../CommonActions/components/Actions/index.
|
|
15
|
+
import "../modal/index.b434146b.js";
|
|
16
|
+
import "../CommonActions/components/Actions/index.7a196c44.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
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.d528f6e7.js";
|
|
24
|
+
import "../areas/components/AreasAdmin/index.cd054608.js";
|
|
25
25
|
import "zustand/shallow";
|
|
26
|
-
import "../mui_extended/Accordion/index.
|
|
26
|
+
import "../mui_extended/Accordion/index.cdedddba.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";
|
|
@@ -31,18 +31,18 @@ import "../mui_extended/CheckBox.38abccd8.js";
|
|
|
31
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.7669b8af.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.
|
|
37
|
+
import "../mui_extended/Tab/index.5f09e16a.js";
|
|
38
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.62abf0bb.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.a4752aa1.js";
|
|
45
|
+
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.e9192ebd.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%",
|
|
@@ -2,38 +2,38 @@ import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/cor
|
|
|
2
2
|
import { styled, generateUtilityClasses, generateUtilityClass, Autocomplete, TextField, Skeleton } from "@mui/material";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import { I as Icon } from "../Icon/index.a70c4729.js";
|
|
5
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
5
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.7a196c44.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.347f6738.js";
|
|
12
12
|
import "../../react-draggable.7abb5d0a.js";
|
|
13
13
|
import "../Resizeable/index.676c96fe.js";
|
|
14
14
|
import "@m4l/graphics";
|
|
15
|
-
import "../modal/index.
|
|
15
|
+
import "../modal/index.b434146b.js";
|
|
16
16
|
import "../Image/index.c18ebf5a.js";
|
|
17
17
|
import "../mui_extended/IconButton/index.76624519.js";
|
|
18
|
-
import "../mui_extended/Accordion/index.
|
|
18
|
+
import "../mui_extended/Accordion/index.cdedddba.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
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.7669b8af.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.
|
|
28
|
+
import "../mui_extended/Tab/index.5f09e16a.js";
|
|
29
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.d528f6e7.js";
|
|
33
|
+
import "../areas/components/AreasAdmin/index.cd054608.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.62abf0bb.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.e14dec76.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
7
7
|
import { useModuleSkeleton } from "@m4l/core";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { I as IconButton } from "../../../mui_extended/IconButton/index.76624519.js";
|
|
2
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
2
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.d417e4b2.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.
|
|
7
|
+
import "../../../mui_extended/Accordion/index.cdedddba.js";
|
|
8
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";
|
|
@@ -17,10 +17,10 @@ import "../../../mui_extended/CheckBox.38abccd8.js";
|
|
|
17
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.7669b8af.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.
|
|
23
|
+
import "../../../mui_extended/Tab/index.5f09e16a.js";
|
|
24
24
|
import "../../../mui_extended/Pager/index.ac2a21f0.js";
|
|
25
25
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
26
26
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
@@ -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.
|
|
32
|
+
import "../../../../contexts/ModalContext/index.347f6738.js";
|
|
33
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.29a4c62c.js";
|
|
36
|
+
import "../../../HelperText/index.191348cc.js";
|
|
37
37
|
import "lodash/debounce";
|
|
38
|
-
import "../../../hook-form/RHFAutocompleteAsync/index.
|
|
39
|
-
import "../../../hook-form/RHFCheckbox/index.
|
|
38
|
+
import "../../../hook-form/RHFAutocompleteAsync/index.647c3f9c.js";
|
|
39
|
+
import "../../../hook-form/RHFCheckbox/index.0b89ea5c.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.1adc88ad.js";
|
|
42
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.a1a240b1.js";
|
|
43
|
+
import "../../../hook-form/RHFPeriod/index.a4476d23.js";
|
|
44
|
+
import "../../../Period/index.ebd5e3b7.js";
|
|
45
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.7a196c44.js";
|
|
46
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.54588e5b.js";
|
|
47
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.f20cffae.js";
|
|
48
48
|
import "../../../../react-draggable.7abb5d0a.js";
|
|
49
49
|
import "../../../Resizeable/index.676c96fe.js";
|
|
50
|
-
import "../../../modal/index.
|
|
50
|
+
import "../../../modal/index.b434146b.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
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.62abf0bb.js";
|
|
57
57
|
import "../../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
58
|
-
import "../../contexts/AreasContext/index.
|
|
58
|
+
import "../../contexts/AreasContext/index.d528f6e7.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.a4582341.js";
|
|
64
|
+
import { u as useOnClickOutside } from "../../index.8d6d8969.js";
|
|
65
65
|
const areasAdminClasses = generateUtilityClasses(AREAS_ADMIN_CLASS_NAME, [
|
|
66
66
|
"root",
|
|
67
67
|
"rootContent",
|
|
@@ -13,10 +13,10 @@ import { a as AREAS_VIEWER_CLASS_NAME } from "../../constants.66529246.js";
|
|
|
13
13
|
import { shallow } from "zustand/shallow";
|
|
14
14
|
import React__default, { useMemo, useState, useCallback, useEffect } from "react";
|
|
15
15
|
import clsx from "clsx";
|
|
16
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
16
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.d417e4b2.js";
|
|
17
17
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton, useNetwork, useHostTools, axiosOperation } from "@m4l/core";
|
|
18
18
|
import { I as IconButton } from "../../../mui_extended/IconButton/index.76624519.js";
|
|
19
|
-
import "../../../mui_extended/Accordion/index.
|
|
19
|
+
import "../../../mui_extended/Accordion/index.cdedddba.js";
|
|
20
20
|
import { I as Icon } from "../../../Icon/index.a70c4729.js";
|
|
21
21
|
import { T as Typography } from "../../../mui_extended/Typography/index.443590d6.js";
|
|
22
22
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
@@ -28,10 +28,10 @@ import "../../../mui_extended/CheckBox.38abccd8.js";
|
|
|
28
28
|
import "../../../mui_extended/Badge/index.b09524fe.js";
|
|
29
29
|
import "../../../Image/index.c18ebf5a.js";
|
|
30
30
|
import "@mui/lab";
|
|
31
|
-
import { M as MenuActions, a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.
|
|
31
|
+
import { M as MenuActions, a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.7669b8af.js";
|
|
32
32
|
import "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
33
33
|
import "../../../mui_extended/Stack/index.0e53197c.js";
|
|
34
|
-
import "../../../mui_extended/Tab/index.
|
|
34
|
+
import "../../../mui_extended/Tab/index.5f09e16a.js";
|
|
35
35
|
import "../../../mui_extended/Pager/index.ac2a21f0.js";
|
|
36
36
|
import { useResponsiveDesktop, useHostTheme, useFormatter, useLocales, useFirstRender } from "@m4l/graphics";
|
|
37
37
|
import "../../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
@@ -42,57 +42,57 @@ import debounce from "lodash/debounce";
|
|
|
42
42
|
import { L as LinearProgress } from "../../../mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
43
43
|
import { W as WindowToolsMFProvider } from "../../contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
44
44
|
import { D as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
45
|
-
import "../../../../contexts/ModalContext/index.
|
|
45
|
+
import "../../../../contexts/ModalContext/index.347f6738.js";
|
|
46
46
|
import "../../../../contexts/RHFormContext/index.1755b324.js";
|
|
47
|
-
import "../../../GridLayout/subcomponents/Griditem/index.
|
|
48
|
-
import { S as SizeProvider } from "../../../GridLayout/index.
|
|
49
|
-
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.
|
|
50
|
-
import { R as
|
|
47
|
+
import "../../../GridLayout/subcomponents/Griditem/index.d6f326d2.js";
|
|
48
|
+
import { S as SizeProvider } from "../../../GridLayout/index.5e43414d.js";
|
|
49
|
+
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.d41e31ca.js";
|
|
50
|
+
import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.d528f6e7.js";
|
|
51
51
|
import "../../../animate/index.4e9774a6.js";
|
|
52
52
|
import "framer-motion";
|
|
53
53
|
import "../../../animate/LoadingScreen/index.1d0c4307.js";
|
|
54
54
|
import "../../../animate/PropagateLoader/index.7fab43c8.js";
|
|
55
|
-
import "../AreasAdmin/index.
|
|
55
|
+
import "../AreasAdmin/index.cd054608.js";
|
|
56
56
|
import "../../../ScrollBar/index.65bb2930.js";
|
|
57
57
|
import "zustand";
|
|
58
58
|
import "react-hook-form";
|
|
59
|
-
import "../../../hook-form/RHFAutocomplete/index.
|
|
60
|
-
import "../../../HelperText/index.
|
|
61
|
-
import "../../../hook-form/RHFAutocompleteAsync/index.
|
|
62
|
-
import "../../../hook-form/RHFCheckbox/index.
|
|
59
|
+
import "../../../hook-form/RHFAutocomplete/index.29a4c62c.js";
|
|
60
|
+
import "../../../HelperText/index.191348cc.js";
|
|
61
|
+
import "../../../hook-form/RHFAutocompleteAsync/index.647c3f9c.js";
|
|
62
|
+
import "../../../hook-form/RHFCheckbox/index.0b89ea5c.js";
|
|
63
63
|
import "@mui/x-date-pickers";
|
|
64
|
-
import "../../../hook-form/RHFDateTime/index.
|
|
65
|
-
import "../../../hook-form/RHFTextField/index.
|
|
66
|
-
import "../../../hook-form/RHFPeriod/index.
|
|
67
|
-
import "../../../Period/index.
|
|
68
|
-
import "../../../CommonActions/components/Actions/index.
|
|
64
|
+
import "../../../hook-form/RHFDateTime/index.1adc88ad.js";
|
|
65
|
+
import "../../../hook-form/RHFTextField/index.a1a240b1.js";
|
|
66
|
+
import "../../../hook-form/RHFPeriod/index.a4476d23.js";
|
|
67
|
+
import "../../../Period/index.ebd5e3b7.js";
|
|
68
|
+
import "../../../CommonActions/components/Actions/index.7a196c44.js";
|
|
69
69
|
import { c as cjs } from "../../../../react-draggable.7abb5d0a.js";
|
|
70
70
|
import { R as ResizeableWindow } from "../../../Resizeable/index.676c96fe.js";
|
|
71
|
-
import "../../../modal/index.
|
|
71
|
+
import "../../../modal/index.b434146b.js";
|
|
72
72
|
import "lodash/isString";
|
|
73
73
|
import "react-dropzone";
|
|
74
|
-
import "../../../hook-form/RHFUpload/index.
|
|
75
|
-
import "../../../DataGrid/index.
|
|
74
|
+
import "../../../hook-form/RHFUpload/index.a4582341.js";
|
|
75
|
+
import "../../../DataGrid/index.95cea2ca.js";
|
|
76
76
|
import "react-dnd";
|
|
77
77
|
import "react-dnd-html5-backend";
|
|
78
|
-
import "../../../DataGrid/subcomponents/Actions/index.
|
|
78
|
+
import "../../../DataGrid/subcomponents/Actions/index.5b0b1fbf.js";
|
|
79
79
|
import "../../../DataGrid/subcomponents/editors/TextEditor/index.91380a55.js";
|
|
80
|
-
import "../../../DynamicFilter/index.
|
|
80
|
+
import "../../../DynamicFilter/index.e9192ebd.js";
|
|
81
81
|
import "yup";
|
|
82
82
|
import "lodash";
|
|
83
|
-
import "../../../LanguagePopover/index.
|
|
84
|
-
import "../../../NavLink/index.
|
|
83
|
+
import "../../../LanguagePopover/index.a74f2065.js";
|
|
84
|
+
import "../../../NavLink/index.f12bba32.js";
|
|
85
85
|
import "../../../NoItemSelected/index.1eaf72d8.js";
|
|
86
|
-
import "../../../ObjectLogs/index.
|
|
86
|
+
import "../../../ObjectLogs/index.9bbac2a0.js";
|
|
87
87
|
import "../../../../react-json-view.57125fcf.js";
|
|
88
88
|
import "../../../PaperForm/index.e02c772c.js";
|
|
89
89
|
import "../../../Page/index.4237c241.js";
|
|
90
|
-
import "../../../PropertyValue/index.
|
|
90
|
+
import "../../../PropertyValue/index.76fa6a12.js";
|
|
91
91
|
import "../../../SplitLayout/index.9ef430f6.js";
|
|
92
92
|
import "../../../../react-splitter-layout.8b1655c8.js";
|
|
93
93
|
import "../../../SideBar/index.2dfc5445.js";
|
|
94
|
-
import "../../../AppBar/index.
|
|
95
|
-
import "../../../AccountPopover/index.
|
|
94
|
+
import "../../../AppBar/index.90cceb7d.js";
|
|
95
|
+
import "../../../AccountPopover/index.eebea1c5.js";
|
|
96
96
|
const areasViewerClasses = generateUtilityClasses(AREAS_VIEWER_CLASS_NAME, [
|
|
97
97
|
"root",
|
|
98
98
|
"areaRoot",
|
|
@@ -1371,8 +1371,9 @@ const AreaGridLayout = (props) => {
|
|
|
1371
1371
|
});
|
|
1372
1372
|
},
|
|
1373
1373
|
breakpoints,
|
|
1374
|
+
colapsedHeight: RESPONSIVE_COLAPSED_HEIGHTS,
|
|
1375
|
+
rowHeight: RESPONSIVE_ROW_HEIGHTS,
|
|
1374
1376
|
cols,
|
|
1375
|
-
rowHeight: ROW_HEIGTH_GRIDLAYOUT,
|
|
1376
1377
|
containerMargin: [MARGIN_GRIDLAYOUT, MARGIN_GRIDLAYOUT],
|
|
1377
1378
|
containerPadding: [PADDING_GRIDLAYOUT, PADDING_GRIDLAYOUT],
|
|
1378
1379
|
onContainerChange: (e) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { GridLayoutProps } from './types';
|
|
2
|
-
import React from 'react';
|
|
3
3
|
/**
|
|
4
4
|
* @description Retorna el componente GridLayout con las ventanas (layouts) y popups tomados del área de trabajo.
|
|
5
5
|
* @returns JSX
|
|
6
6
|
*/
|
|
7
|
-
export declare const AreaGridLayout: (props: GridLayoutProps) =>
|
|
7
|
+
export declare const AreaGridLayout: (props: GridLayoutProps) => import("react").JSX.Element;
|
|
@@ -7,11 +7,11 @@ import "react/jsx-runtime";
|
|
|
7
7
|
import "../../mui_extended/IconButton/index.76624519.js";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
9
|
import "zustand";
|
|
10
|
-
import "../contexts/AreasContext/index.
|
|
11
|
-
import "./AreasAdmin/index.
|
|
10
|
+
import "../contexts/AreasContext/index.d528f6e7.js";
|
|
11
|
+
import "./AreasAdmin/index.cd054608.js";
|
|
12
12
|
import "zustand/shallow";
|
|
13
13
|
import "../../ScrollBar/index.65bb2930.js";
|
|
14
|
-
import "../../mui_extended/Accordion/index.
|
|
14
|
+
import "../../mui_extended/Accordion/index.cdedddba.js";
|
|
15
15
|
import "../../mui_extended/Typography/index.443590d6.js";
|
|
16
16
|
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
17
17
|
import "react-router-dom";
|
|
@@ -21,11 +21,11 @@ import "../../mui_extended/CheckBox.38abccd8.js";
|
|
|
21
21
|
import "../../mui_extended/Badge/index.b09524fe.js";
|
|
22
22
|
import "../../Image/index.c18ebf5a.js";
|
|
23
23
|
import "@mui/lab";
|
|
24
|
-
import "../../mui_extended/MenuActions/index.
|
|
24
|
+
import "../../mui_extended/MenuActions/index.7669b8af.js";
|
|
25
25
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
26
|
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../../mui_extended/Tab/index.
|
|
27
|
+
import "../../mui_extended/Tab/index.5f09e16a.js";
|
|
28
28
|
import "../../mui_extended/Pager/index.ac2a21f0.js";
|
|
29
29
|
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
30
|
-
import "./AreasViewer/index.
|
|
30
|
+
import "./AreasViewer/index.62abf0bb.js";
|
|
31
31
|
import "../../LinearProgressIndeterminate/index.60dabc06.js";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { WritableDraft } from 'immer/dist/internal';
|
|
2
2
|
import type { Area, AreasStateWithActions } from './types';
|
|
3
3
|
import type { WindowState, WindowStateProps } from '../../types';
|
|
4
|
-
export declare const ROW_HEIGTH_GRIDLAYOUT = 20;
|
|
5
4
|
export declare const PADDING_GRIDLAYOUT = 4;
|
|
6
5
|
export declare const MARGIN_GRIDLAYOUT = 4;
|
|
7
6
|
export declare const DEBOUCED_SAVE_TIME = 500;
|
|
@@ -29,6 +28,20 @@ export declare const DEFAULT_LAYOUTS: {
|
|
|
29
28
|
xs: never[];
|
|
30
29
|
xxs: never[];
|
|
31
30
|
};
|
|
31
|
+
export declare const RESPONSIVE_COLAPSED_HEIGHTS: {
|
|
32
|
+
xxs: number;
|
|
33
|
+
xs: number;
|
|
34
|
+
sm: number;
|
|
35
|
+
md: number;
|
|
36
|
+
lg: number;
|
|
37
|
+
};
|
|
38
|
+
export declare const RESPONSIVE_ROW_HEIGHTS: {
|
|
39
|
+
xxs: number;
|
|
40
|
+
xs: number;
|
|
41
|
+
sm: number;
|
|
42
|
+
md: number;
|
|
43
|
+
lg: number;
|
|
44
|
+
};
|
|
32
45
|
import { Layouts } from '../../../GridLayout/types';
|
|
33
46
|
export declare const DEFAULT_WINDOW: Pick<WindowState, 'status' | 'moduleActions' | 'cookies' | 'loading' | 'toasties' | 'toastyCount' | 'hashToasties'>;
|
|
34
47
|
export declare const DEFAULT_AREA: Omit<Area, 'id' | 'name' | 'viewMode'>;
|
|
@@ -5,18 +5,17 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
|
5
5
|
import { useHostTools, useModuleDictionary, useNetwork, useModuleSkeleton, EmitEvents } from "@m4l/core";
|
|
6
6
|
import { devtools } from "zustand/middleware";
|
|
7
7
|
import { immer } from "zustand/middleware/immer";
|
|
8
|
-
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.
|
|
9
|
-
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.
|
|
8
|
+
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.62abf0bb.js";
|
|
9
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.cd054608.js";
|
|
10
10
|
import { c as createDynamicMFStore } from "../DynamicMFParmsContext/index.1607c78e.js";
|
|
11
11
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
12
12
|
import "clsx";
|
|
13
|
-
import "../../../GridLayout/subcomponents/Griditem/index.
|
|
14
|
-
import { z as isEqualLayouts } from "../../../GridLayout/index.
|
|
13
|
+
import "../../../GridLayout/subcomponents/Griditem/index.d6f326d2.js";
|
|
14
|
+
import { z as isEqualLayouts } from "../../../GridLayout/index.5e43414d.js";
|
|
15
15
|
import { jsx } from "react/jsx-runtime";
|
|
16
|
-
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.
|
|
16
|
+
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.d41e31ca.js";
|
|
17
17
|
import { debounce, cloneDeep } from "lodash";
|
|
18
18
|
import { useNavigate } from "react-router-dom";
|
|
19
|
-
const ROW_HEIGTH_GRIDLAYOUT = 20;
|
|
20
19
|
const PADDING_GRIDLAYOUT = 4;
|
|
21
20
|
const MARGIN_GRIDLAYOUT = 4;
|
|
22
21
|
const DEBOUCED_SAVE_TIME = 500;
|
|
@@ -25,6 +24,8 @@ const COOKIE_WINDOWS = "windows";
|
|
|
25
24
|
const BREAKPOINT_SIZES = { lg: 1200, md: 996, sm: 768, xs: 480, xxs: 1 };
|
|
26
25
|
const NORMALIZED_COLS = { lg: 64, md: 48, sm: 32, xs: 24, xxs: 1 };
|
|
27
26
|
const DEFAULT_LAYOUTS = { lg: [], md: [], sm: [], xs: [], xxs: [] };
|
|
27
|
+
const RESPONSIVE_COLAPSED_HEIGHTS = { xxs: 48, xs: 48, sm: 40, md: 40, lg: 40 };
|
|
28
|
+
const RESPONSIVE_ROW_HEIGHTS = { xxs: 48, xs: 48, sm: 48, md: 40, lg: 40 };
|
|
28
29
|
const DEFAULT_WINDOW = {
|
|
29
30
|
status: "init",
|
|
30
31
|
moduleActions: [],
|
|
@@ -186,7 +187,7 @@ function getDataFromResponse(data, state, areaId) {
|
|
|
186
187
|
NORMALIZED_COLS,
|
|
187
188
|
[MARGIN_GRIDLAYOUT, MARGIN_GRIDLAYOUT],
|
|
188
189
|
[PADDING_GRIDLAYOUT, PADDING_GRIDLAYOUT],
|
|
189
|
-
|
|
190
|
+
RESPONSIVE_ROW_HEIGHTS
|
|
190
191
|
);
|
|
191
192
|
}
|
|
192
193
|
}
|
|
@@ -470,7 +471,7 @@ const createAreasStore = (initProps) => {
|
|
|
470
471
|
NORMALIZED_COLS,
|
|
471
472
|
[MARGIN_GRIDLAYOUT, MARGIN_GRIDLAYOUT],
|
|
472
473
|
[PADDING_GRIDLAYOUT, PADDING_GRIDLAYOUT],
|
|
473
|
-
|
|
474
|
+
RESPONSIVE_ROW_HEIGHTS,
|
|
474
475
|
area.containerHeight,
|
|
475
476
|
area.currentBreakpoint
|
|
476
477
|
);
|
|
@@ -1115,6 +1116,7 @@ export {
|
|
|
1115
1116
|
AreasContext as A,
|
|
1116
1117
|
MARGIN_GRIDLAYOUT as M,
|
|
1117
1118
|
PADDING_GRIDLAYOUT as P,
|
|
1118
|
-
|
|
1119
|
-
|
|
1119
|
+
RESPONSIVE_COLAPSED_HEIGHTS as R,
|
|
1120
|
+
RESPONSIVE_ROW_HEIGHTS as a,
|
|
1121
|
+
AreasProvider as b
|
|
1120
1122
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./AreasContext/index.
|
|
1
|
+
import "./AreasContext/index.d528f6e7.js";
|
|
2
2
|
import "./WindowToolsMFContext/index.8f3e2a04.js";
|