@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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect, useState, useCallback, useMemo } from "react";
|
|
2
2
|
import { d as deepEqual } from "../../node_modules.d73a220d.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
+
import { i as isEqualLayout } from "./Responsive/index.0905a698.js";
|
|
4
5
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
5
6
|
import { D as DraggableCore_1 } from "../../react-draggable.7abb5d0a.js";
|
|
6
7
|
import { R as Resizable, r as react_resizable_css } from "../../react-resizable.ba08699a.js";
|
|
@@ -37,11 +38,11 @@ function cloneLayoutItem(layoutItem, layoutItemReplaceProps) {
|
|
|
37
38
|
isBounded: layoutItem.isBounded,
|
|
38
39
|
freeMove: layoutItem.freeMove,
|
|
39
40
|
colapsed: layoutItem.colapsed,
|
|
41
|
+
visible: layoutItem.visible,
|
|
40
42
|
...layoutItemReplaceProps
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
function cloneLayout(layout, layoutItemReplaceProps) {
|
|
44
|
-
console.log("cloneLayout");
|
|
45
46
|
const newLayout = Array(layout.length);
|
|
46
47
|
for (let i = 0, len = layout.length; i < len; i++) {
|
|
47
48
|
newLayout[i] = cloneLayoutItem(layout[i], layoutItemReplaceProps);
|
|
@@ -108,7 +109,6 @@ function compactItem(compareWith, l, compactType, cols, fullLayout, colapsedHeig
|
|
|
108
109
|
function compact(layout, compactType, cols, colapsedHeight, allowOverlap) {
|
|
109
110
|
const layoutToCompact = layout.filter((l) => !l.freeMove);
|
|
110
111
|
const layoutFreeMov = layout.filter((l) => l?.freeMove);
|
|
111
|
-
console.log(`Compacting`, layoutToCompact, layoutFreeMov);
|
|
112
112
|
const compareWith = getStatics(layoutToCompact);
|
|
113
113
|
const sorted = sortLayoutItems(layoutToCompact, compactType);
|
|
114
114
|
const out = Array(layoutToCompact.length);
|
|
@@ -392,20 +392,7 @@ function calcGridItemPosition(positionParams, x, y, w, h, maximize, state) {
|
|
|
392
392
|
if (maximize === "maximize_me") {
|
|
393
393
|
out.width = positionParams.containerWidth - 2 * containerPadding[0] - 2;
|
|
394
394
|
out.height = positionParams.containerHeight - 2 * containerPadding[1] - 2;
|
|
395
|
-
console.log(
|
|
396
|
-
"calcGridItemPosition top,left",
|
|
397
|
-
out,
|
|
398
|
-
maximize,
|
|
399
|
-
positionParams.containerHeight
|
|
400
|
-
);
|
|
401
395
|
} else {
|
|
402
|
-
console.log(
|
|
403
|
-
"calcGridItemPosition top,left",
|
|
404
|
-
out,
|
|
405
|
-
maximize,
|
|
406
|
-
containerMargin,
|
|
407
|
-
positionParams.containerHeight
|
|
408
|
-
);
|
|
409
396
|
out.width = calcGridItemWHPx(w, colWidth, containerMargin[0]);
|
|
410
397
|
out.height = calcGridItemWHPx(h, rowHeight, containerMargin[1]);
|
|
411
398
|
}
|
|
@@ -484,7 +471,8 @@ function GridItem(props) {
|
|
|
484
471
|
freeMove,
|
|
485
472
|
maximize = "none",
|
|
486
473
|
colapsed,
|
|
487
|
-
colapsedHeight = 1.5
|
|
474
|
+
colapsedHeight = 1.5,
|
|
475
|
+
visible = true
|
|
488
476
|
} = props;
|
|
489
477
|
const refProps = useRef({
|
|
490
478
|
cols,
|
|
@@ -547,9 +535,7 @@ function GridItem(props) {
|
|
|
547
535
|
};
|
|
548
536
|
}, []);
|
|
549
537
|
useEffect(() => {
|
|
550
|
-
console.log("useEffect Grid Item****", i);
|
|
551
538
|
return () => {
|
|
552
|
-
console.log(`*** useEffect Grid Item: ${i} [cleanUP] **** type:${type}`);
|
|
553
539
|
};
|
|
554
540
|
}, []);
|
|
555
541
|
const createStyle = (pos2) => {
|
|
@@ -766,7 +752,7 @@ function GridItem(props) {
|
|
|
766
752
|
}, []);
|
|
767
753
|
const positionParms = getPositionParams(containerWidth, containerHeight);
|
|
768
754
|
const pos = calcGridItemPosition(positionParms, x, y, w, getH(h, colapsedHeight, colapsed), maximize, currentState);
|
|
769
|
-
const classNameFinal = clsx("
|
|
755
|
+
const classNameFinal = clsx("M4LGridItem", className, {
|
|
770
756
|
type,
|
|
771
757
|
static: props.static,
|
|
772
758
|
resizing: Boolean(currentState.resizing),
|
|
@@ -774,8 +760,11 @@ function GridItem(props) {
|
|
|
774
760
|
"react-maximize-me": maximize === "maximize_me",
|
|
775
761
|
"react-maximize-other": maximize === "maximize_other",
|
|
776
762
|
"react-colapsed": colapsed,
|
|
777
|
-
|
|
763
|
+
M4LGridItemPopup: freeMove,
|
|
778
764
|
"react-draggable-dragging": Boolean(currentState.dragging),
|
|
765
|
+
M4LColapsed: colapsed,
|
|
766
|
+
M4LResizeHide: colapsed,
|
|
767
|
+
M4LInvisible: !visible,
|
|
779
768
|
cssTransforms: useCSSTransforms
|
|
780
769
|
});
|
|
781
770
|
const styleFinal = {
|
|
@@ -797,7 +786,6 @@ function GridItem(props) {
|
|
|
797
786
|
children: memoLayouItemRender
|
|
798
787
|
});
|
|
799
788
|
const gridItem = mixinDraggable(mixinResizable(baseGridItem, pos, getPositionParams()));
|
|
800
|
-
console.log(`Render Grid Item: ${i} type:${type} ==> {x,y,w,h}:{${x},${y},${w},${getH(h, colapsedHeight, colapsed)}} - containerHeight:${containerHeight}`);
|
|
801
789
|
return /* @__PURE__ */ jsx(Fragment, {
|
|
802
790
|
children: gridItem
|
|
803
791
|
});
|
|
@@ -813,45 +801,45 @@ const GridLayoutRoot = styled("div")`
|
|
|
813
801
|
transition: height 200ms ease;
|
|
814
802
|
border: 1px dashed gray; //TODO:Para borrar
|
|
815
803
|
|
|
816
|
-
.
|
|
804
|
+
.M4LGridItem {
|
|
817
805
|
transition: all 200ms ease;
|
|
818
806
|
transition-property: left, top;
|
|
819
807
|
}
|
|
820
|
-
.
|
|
808
|
+
.M4LGridItem img {
|
|
821
809
|
pointer-events: none;
|
|
822
810
|
user-select: none;
|
|
823
811
|
}
|
|
824
|
-
.
|
|
812
|
+
.M4LGridItem.cssTransforms {
|
|
825
813
|
transition-property: transform;
|
|
826
814
|
}
|
|
827
|
-
.
|
|
815
|
+
.M4LGridItem.react-maximize-other {
|
|
828
816
|
display: none;
|
|
829
817
|
}
|
|
830
818
|
|
|
831
|
-
.
|
|
819
|
+
.M4LGridItem.M4LGridItemPopup {
|
|
832
820
|
z-index: 1;
|
|
833
821
|
will-change: width, height;
|
|
834
822
|
}
|
|
835
|
-
.
|
|
836
|
-
z-index:
|
|
823
|
+
.M4LGridItem.resizing {
|
|
824
|
+
z-index: 2000;
|
|
837
825
|
will-change: width, height;
|
|
838
826
|
}
|
|
839
827
|
|
|
840
|
-
.
|
|
828
|
+
.M4LGridItem.react-draggable-dragging {
|
|
841
829
|
transition: none;
|
|
842
|
-
z-index:
|
|
830
|
+
z-index: 4000;
|
|
843
831
|
will-change: transform;
|
|
844
832
|
}
|
|
845
833
|
|
|
846
|
-
.
|
|
834
|
+
.M4LGridItem.dropping {
|
|
847
835
|
visibility: hidden;
|
|
848
836
|
}
|
|
849
837
|
|
|
850
|
-
.
|
|
838
|
+
.M4LGridItem.react-grid-placeholder {
|
|
851
839
|
background: green;
|
|
852
840
|
opacity: 0.2;
|
|
853
841
|
transition-duration: 100ms;
|
|
854
|
-
z-index:
|
|
842
|
+
z-index: 300000;
|
|
855
843
|
-webkit-user-select: none;
|
|
856
844
|
-moz-user-select: none;
|
|
857
845
|
-ms-user-select: none;
|
|
@@ -859,13 +847,13 @@ const GridLayoutRoot = styled("div")`
|
|
|
859
847
|
user-select: none;
|
|
860
848
|
}
|
|
861
849
|
|
|
862
|
-
.
|
|
850
|
+
.M4LGridItem > .react-resizable-handle {
|
|
863
851
|
position: absolute;
|
|
864
852
|
width: 20px;
|
|
865
853
|
height: 20px;
|
|
866
854
|
}
|
|
867
855
|
|
|
868
|
-
.
|
|
856
|
+
.M4LGridItem > .react-resizable-handle::after {
|
|
869
857
|
content: '';
|
|
870
858
|
position: absolute;
|
|
871
859
|
right: 3px;
|
|
@@ -880,63 +868,68 @@ const GridLayoutRoot = styled("div")`
|
|
|
880
868
|
display: none;
|
|
881
869
|
}
|
|
882
870
|
|
|
883
|
-
.
|
|
871
|
+
.M4LGridItem > .react-resizable-handle.react-resizable-handle-sw {
|
|
884
872
|
bottom: 0;
|
|
885
873
|
left: 0;
|
|
886
874
|
cursor: sw-resize;
|
|
887
875
|
transform: rotate(90deg);
|
|
888
876
|
}
|
|
889
|
-
.
|
|
877
|
+
.M4LGridItem > .react-resizable-handle.react-resizable-handle-se {
|
|
890
878
|
bottom: 0;
|
|
891
879
|
right: 0;
|
|
892
880
|
cursor: se-resize;
|
|
893
881
|
}
|
|
894
|
-
.
|
|
882
|
+
.M4LGridItem > .react-resizable-handle.react-resizable-handle-nw {
|
|
895
883
|
top: 0;
|
|
896
884
|
left: 0;
|
|
897
885
|
cursor: nw-resize;
|
|
898
886
|
transform: rotate(180deg);
|
|
899
887
|
}
|
|
900
|
-
.
|
|
888
|
+
.M4LGridItem > .react-resizable-handle.react-resizable-handle-ne {
|
|
901
889
|
top: 0;
|
|
902
890
|
right: 0;
|
|
903
891
|
cursor: ne-resize;
|
|
904
892
|
transform: rotate(270deg);
|
|
905
893
|
}
|
|
906
|
-
.
|
|
907
|
-
.
|
|
894
|
+
.M4LGridItem > .react-resizable-handle.react-resizable-handle-w,
|
|
895
|
+
.M4LGridItem > .react-resizable-handle.react-resizable-handle-e {
|
|
908
896
|
top: 50%;
|
|
909
897
|
margin-top: -10px;
|
|
910
898
|
cursor: ew-resize;
|
|
911
899
|
}
|
|
912
|
-
.
|
|
900
|
+
.M4LGridItem > .react-resizable-handle.react-resizable-handle-w {
|
|
913
901
|
left: 0;
|
|
914
902
|
transform: rotate(135deg);
|
|
915
903
|
}
|
|
916
|
-
.
|
|
904
|
+
.M4LGridItem > .react-resizable-handle.react-resizable-handle-e {
|
|
917
905
|
right: 0;
|
|
918
906
|
transform: rotate(315deg);
|
|
919
907
|
}
|
|
920
|
-
.
|
|
921
|
-
.
|
|
908
|
+
.M4LGridItem > .react-resizable-handle.react-resizable-handle-n,
|
|
909
|
+
.M4LGridItem > .react-resizable-handle.react-resizable-handle-s {
|
|
922
910
|
left: 50%;
|
|
923
911
|
margin-left: -10px;
|
|
924
912
|
cursor: ns-resize;
|
|
925
913
|
}
|
|
926
|
-
.
|
|
914
|
+
.M4LGridItem > .react-resizable-handle.react-resizable-handle-n {
|
|
927
915
|
top: 0;
|
|
928
916
|
transform: rotate(225deg);
|
|
929
917
|
}
|
|
930
|
-
.
|
|
918
|
+
.M4LGridItem > .react-resizable-handle.react-resizable-handle-s {
|
|
931
919
|
bottom: 0;
|
|
932
920
|
transform: rotate(45deg);
|
|
933
921
|
}
|
|
934
|
-
.
|
|
922
|
+
.M4LGridItem.react-maximize-me > .react-resizable-handle,
|
|
923
|
+
.M4LGridItem.M4LResizeHide > .react-resizable-handle {
|
|
935
924
|
display: none;
|
|
936
925
|
}
|
|
926
|
+
.M4LGridItem.M4LInvisible {
|
|
927
|
+
display: none;
|
|
928
|
+
}
|
|
929
|
+
|
|
937
930
|
${react_resizable_css}
|
|
938
931
|
`;
|
|
939
|
-
const layoutClassName = "
|
|
932
|
+
const layoutClassName = "M4LGridLayout";
|
|
940
933
|
function GridLayout(props) {
|
|
941
934
|
const {
|
|
942
935
|
innerRef,
|
|
@@ -978,6 +971,10 @@ function GridLayout(props) {
|
|
|
978
971
|
mounted: false
|
|
979
972
|
});
|
|
980
973
|
const [finalLayoutRender, setFinalLayoutRender] = useState(layout);
|
|
974
|
+
const [zIndexes, setzIndexes] = useState(() => {
|
|
975
|
+
return layout.filter((li) => li.freeMove).map((lmap) => lmap.i);
|
|
976
|
+
});
|
|
977
|
+
const refZindexes = useRef(zIndexes);
|
|
981
978
|
const refState = useRef({
|
|
982
979
|
layout,
|
|
983
980
|
mounted: false,
|
|
@@ -991,10 +988,22 @@ function GridLayout(props) {
|
|
|
991
988
|
});
|
|
992
989
|
}, []);
|
|
993
990
|
useEffect(() => {
|
|
994
|
-
if (!
|
|
995
|
-
console.debug("****useEffect cambio de layout****", layout);
|
|
996
|
-
|
|
997
|
-
|
|
991
|
+
if (!isEqualLayout(finalLayoutRender, layout)) {
|
|
992
|
+
console.debug("****useEffect GridLayout cambio de layout****", layout);
|
|
993
|
+
const newLayout = cloneLayout(layout);
|
|
994
|
+
const newzIndexes = [...zIndexes];
|
|
995
|
+
for (let index = 0; index < newLayout.length; index++) {
|
|
996
|
+
const li = newLayout[index];
|
|
997
|
+
if (li.freeMove && newzIndexes.indexOf(li.i) === -1) {
|
|
998
|
+
newzIndexes.push(li.i);
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
refState.current.layout = newLayout;
|
|
1002
|
+
setFinalLayoutRender(newLayout);
|
|
1003
|
+
if (newzIndexes.length !== zIndexes.length) {
|
|
1004
|
+
setzIndexes(newzIndexes);
|
|
1005
|
+
refZindexes.current = newzIndexes;
|
|
1006
|
+
}
|
|
998
1007
|
} else {
|
|
999
1008
|
console.debug("****useEffect cambio de layout sin cambios****");
|
|
1000
1009
|
}
|
|
@@ -1004,7 +1013,6 @@ function GridLayout(props) {
|
|
|
1004
1013
|
return;
|
|
1005
1014
|
const nbRow = bottom(finalLayoutRender, colapsedHeight);
|
|
1006
1015
|
const containerPaddingY = containerPadding ? containerPadding[1] : containerMargin[1];
|
|
1007
|
-
console.log("containerHeight", nbRow, containerPaddingY, containerMargin[1], rowHeight);
|
|
1008
1016
|
return nbRow * rowHeight + (nbRow - 1) * containerMargin[1] + containerPaddingY * 2 + "px";
|
|
1009
1017
|
};
|
|
1010
1018
|
const localOnDragStart = useCallback((i, _x, _y, gridDragEvent) => {
|
|
@@ -1023,6 +1031,7 @@ function GridLayout(props) {
|
|
|
1023
1031
|
oldDragItem: cloneLayoutItem(l),
|
|
1024
1032
|
oldLayout: [...layout2]
|
|
1025
1033
|
};
|
|
1034
|
+
console.log("localOnDragStart");
|
|
1026
1035
|
return onDragStart(layout2, l, l, void 0, e, node);
|
|
1027
1036
|
}, []);
|
|
1028
1037
|
const onLayoutMaybeChanged = useCallback((newLayout, oldLayout) => {
|
|
@@ -1031,7 +1040,7 @@ function GridLayout(props) {
|
|
|
1031
1040
|
oldLayout = refState.current.layout;
|
|
1032
1041
|
}
|
|
1033
1042
|
setFinalLayoutRender(newLayout);
|
|
1034
|
-
if (!
|
|
1043
|
+
if (!isEqualLayout(oldLayout, newLayout)) {
|
|
1035
1044
|
onLayoutChange(newLayout);
|
|
1036
1045
|
}
|
|
1037
1046
|
}, []);
|
|
@@ -1061,15 +1070,11 @@ function GridLayout(props) {
|
|
|
1061
1070
|
if (!l.freeMove) {
|
|
1062
1071
|
newLayout = moveElement(layout2, l, x, y, isUserAction, preventCollision, compactType, cols, colapsedHeight, allowOverlap);
|
|
1063
1072
|
} else {
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
const nl = getLayoutItem(newLayout, i);
|
|
1073
|
+
l.x = x;
|
|
1074
|
+
l.y = y;
|
|
1067
1075
|
newPlaceholder.x = x;
|
|
1068
1076
|
newPlaceholder.y = y;
|
|
1069
|
-
|
|
1070
|
-
nl.x = x;
|
|
1071
|
-
nl.y = y;
|
|
1072
|
-
}
|
|
1077
|
+
newLayout = cloneLayout(layout2);
|
|
1073
1078
|
}
|
|
1074
1079
|
onDrag(newLayout, oldDragItem, l, newPlaceholder, e, node);
|
|
1075
1080
|
const finalLayout = allowOverlap || l.freeMove ? newLayout : compact(newLayout, compactType, cols, colapsedHeight, allowOverlap);
|
|
@@ -1078,12 +1083,15 @@ function GridLayout(props) {
|
|
|
1078
1083
|
layout: finalLayout,
|
|
1079
1084
|
activeDrag: newPlaceholder
|
|
1080
1085
|
};
|
|
1081
|
-
console.log(`GridLayout localOnDrag i:${i} placeHolder:{${newPlaceholder.x},${newPlaceholder.y},${newPlaceholder.w},${newPlaceholder.h}}`);
|
|
1082
1086
|
setCurrentState((prev) => ({
|
|
1083
1087
|
...prev,
|
|
1084
1088
|
activeDrag: newPlaceholder
|
|
1085
1089
|
}));
|
|
1086
1090
|
setFinalLayoutRender([...finalLayout]);
|
|
1091
|
+
if (gridDragEvent.e.type !== "touchmove") {
|
|
1092
|
+
gridDragEvent.e.preventDefault();
|
|
1093
|
+
}
|
|
1094
|
+
gridDragEvent.e.stopPropagation();
|
|
1087
1095
|
} catch (error) {
|
|
1088
1096
|
console.warn("GridLayout error capturado");
|
|
1089
1097
|
}
|
|
@@ -1107,16 +1115,13 @@ function GridLayout(props) {
|
|
|
1107
1115
|
if (!l.freeMove) {
|
|
1108
1116
|
newLayout = moveElement(layout2, l, x, y, isUserAction, preventCollision, compactType, cols, colapsedHeight, allowOverlap);
|
|
1109
1117
|
} else {
|
|
1118
|
+
l.x = x;
|
|
1119
|
+
l.y = y;
|
|
1110
1120
|
newLayout = cloneLayout(layout2);
|
|
1111
1121
|
const nl = getLayoutItem(newLayout, i);
|
|
1112
1122
|
if (nl) {
|
|
1113
1123
|
nl.x = x;
|
|
1114
1124
|
nl.y = y;
|
|
1115
|
-
const index = newLayout.indexOf(nl);
|
|
1116
|
-
if (index !== -1 && index !== newLayout.length - 1) {
|
|
1117
|
-
newLayout.splice(index, 1);
|
|
1118
|
-
newLayout.push(nl);
|
|
1119
|
-
}
|
|
1120
1125
|
}
|
|
1121
1126
|
}
|
|
1122
1127
|
onDragStop(layout2, oldDragItem, l, void 0, e, node);
|
|
@@ -1125,7 +1130,6 @@ function GridLayout(props) {
|
|
|
1125
1130
|
...prev,
|
|
1126
1131
|
activeDrag: void 0
|
|
1127
1132
|
}));
|
|
1128
|
-
console.log(`GridLayout localOnDragStop i:${i}`, finalLayout);
|
|
1129
1133
|
onLayoutMaybeChanged(finalLayout, oldLayout);
|
|
1130
1134
|
refState.current = {
|
|
1131
1135
|
...refState.current,
|
|
@@ -1134,6 +1138,9 @@ function GridLayout(props) {
|
|
|
1134
1138
|
oldLayout: void 0,
|
|
1135
1139
|
activeDrag: void 0
|
|
1136
1140
|
};
|
|
1141
|
+
console.log("localOnDragStop");
|
|
1142
|
+
e.preventDefault();
|
|
1143
|
+
e.stopPropagation();
|
|
1137
1144
|
}, []);
|
|
1138
1145
|
const localOnResizeStart = useCallback((i, _w, _h, {
|
|
1139
1146
|
e,
|
|
@@ -1160,7 +1167,6 @@ function GridLayout(props) {
|
|
|
1160
1167
|
layout: layout2,
|
|
1161
1168
|
oldResizeItem
|
|
1162
1169
|
} = refState.current;
|
|
1163
|
-
console.log("GridLayout localOnResize 1");
|
|
1164
1170
|
let newLayout;
|
|
1165
1171
|
let l;
|
|
1166
1172
|
if (!oldResizeItem?.freeMove) {
|
|
@@ -1205,7 +1211,6 @@ function GridLayout(props) {
|
|
|
1205
1211
|
}
|
|
1206
1212
|
if (!l)
|
|
1207
1213
|
return;
|
|
1208
|
-
console.log(`GridLayout localOnResize i:${l.i} {x,y,w,h}:{${l.x},${l.y},${l.w},${l.h}}`);
|
|
1209
1214
|
const newPlaceholder = {
|
|
1210
1215
|
w: l.w,
|
|
1211
1216
|
h: l.h,
|
|
@@ -1228,7 +1233,6 @@ function GridLayout(props) {
|
|
|
1228
1233
|
}));
|
|
1229
1234
|
onResize(newLayout, oldResizeItem, l, newPlaceholder, e, node);
|
|
1230
1235
|
} catch (error) {
|
|
1231
|
-
console.log("GridLayout localOnResize capturado");
|
|
1232
1236
|
}
|
|
1233
1237
|
}, []);
|
|
1234
1238
|
const localOnResizeStop = useCallback((i, _w, _h, {
|
|
@@ -1244,7 +1248,6 @@ function GridLayout(props) {
|
|
|
1244
1248
|
if (l) {
|
|
1245
1249
|
onResizeStop(layout2, oldResizeItem, l, void 0, e, node);
|
|
1246
1250
|
}
|
|
1247
|
-
console.log("GridLayout localOnResizeStop 1");
|
|
1248
1251
|
const finalLayout = allowOverlap || l?.freeMove ? layout2 : compact(layout2, compactType, cols, colapsedHeight, allowOverlap);
|
|
1249
1252
|
if (l && l?.freeMove) {
|
|
1250
1253
|
const index = finalLayout.indexOf(l);
|
|
@@ -1260,36 +1263,29 @@ function GridLayout(props) {
|
|
|
1260
1263
|
oldLayout: void 0,
|
|
1261
1264
|
activeDrag: void 0
|
|
1262
1265
|
};
|
|
1263
|
-
console.log("GridLayout localOnResizeStop 2");
|
|
1264
1266
|
setCurrentState((prev) => ({
|
|
1265
1267
|
...prev,
|
|
1266
1268
|
activeDrag: void 0
|
|
1267
1269
|
}));
|
|
1268
|
-
console.log("GridLayout localOnResizeStop 3");
|
|
1269
1270
|
onLayoutMaybeChanged(finalLayout, oldLayout);
|
|
1270
|
-
console.log("GridLayout localOnResizeStop 4");
|
|
1271
1271
|
}, []);
|
|
1272
1272
|
const localFreeMoveOnClick = useCallback((i) => {
|
|
1273
1273
|
const {
|
|
1274
1274
|
layout: layout2
|
|
1275
1275
|
} = refState.current;
|
|
1276
|
-
|
|
1276
|
+
const index = refZindexes.current.indexOf(i);
|
|
1277
|
+
const l = getLayoutItem(layout2, i);
|
|
1278
|
+
console.log("localFreeMoveOnClick", index, l?.freeMove);
|
|
1277
1279
|
if (l && l?.freeMove) {
|
|
1278
|
-
|
|
1279
|
-
if (index !== -1
|
|
1280
|
-
const
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
if (l) {
|
|
1284
|
-
newLayout.splice(index, 1);
|
|
1285
|
-
newLayout.push(l);
|
|
1286
|
-
refState.current = {
|
|
1287
|
-
...refState.current,
|
|
1288
|
-
layout: newLayout
|
|
1289
|
-
};
|
|
1290
|
-
setFinalLayoutRender(newLayout);
|
|
1291
|
-
onLayoutChange(newLayout);
|
|
1280
|
+
console.log("localFreeMoveOnClick", index, refZindexes.current.length);
|
|
1281
|
+
if (index !== refZindexes.current.length - 1 || index === -1) {
|
|
1282
|
+
const newIndexes = [...refZindexes.current];
|
|
1283
|
+
if (index !== -1) {
|
|
1284
|
+
newIndexes.splice(index, 1);
|
|
1292
1285
|
}
|
|
1286
|
+
newIndexes.push(i);
|
|
1287
|
+
refZindexes.current = newIndexes;
|
|
1288
|
+
setzIndexes(newIndexes);
|
|
1293
1289
|
}
|
|
1294
1290
|
}
|
|
1295
1291
|
}, []);
|
|
@@ -1337,6 +1333,17 @@ function GridLayout(props) {
|
|
|
1337
1333
|
const resizeHandlesOptions = l.resizeHandles || resizeHandles;
|
|
1338
1334
|
const bounded = draggable && isBounded && l.isBounded !== false;
|
|
1339
1335
|
const mximize = maximizeId ? maximizeId === l.i ? "maximize_me" : "maximize_other" : "none";
|
|
1336
|
+
let zIndex = void 0;
|
|
1337
|
+
let style2;
|
|
1338
|
+
if (l.freeMove) {
|
|
1339
|
+
zIndex = zIndexes.indexOf(l.i);
|
|
1340
|
+
if (zIndex !== -1) {
|
|
1341
|
+
zIndex = zIndex + 1;
|
|
1342
|
+
style2 = {
|
|
1343
|
+
zIndex
|
|
1344
|
+
};
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1340
1347
|
return /* @__PURE__ */ jsx(MemonizedGridItem, {
|
|
1341
1348
|
type: "layoutItem",
|
|
1342
1349
|
layoutItemRender: LayoutItemRender,
|
|
@@ -1375,10 +1382,13 @@ function GridLayout(props) {
|
|
|
1375
1382
|
resizeHandles: resizeHandlesOptions,
|
|
1376
1383
|
resizeHandle,
|
|
1377
1384
|
maximize: mximize,
|
|
1385
|
+
freeMove: l.freeMove,
|
|
1378
1386
|
colapsed: l.colapsed,
|
|
1379
|
-
|
|
1387
|
+
visible: l.visible,
|
|
1388
|
+
colapsedHeight,
|
|
1389
|
+
style: style2
|
|
1380
1390
|
}, l.i);
|
|
1381
|
-
}, [width, height, cols, containerMargin, containerPadding, maxRows, rowHeight, draggableCancel, draggableHandle, isDraggable, isResizable, isBounded, useCSSTransforms, transformScale, resizeHandles, resizeHandle, maximizeId]);
|
|
1391
|
+
}, [width, height, cols, containerMargin, containerPadding, maxRows, rowHeight, draggableCancel, draggableHandle, isDraggable, isResizable, isBounded, useCSSTransforms, transformScale, resizeHandles, resizeHandle, maximizeId, zIndexes]);
|
|
1382
1392
|
const mergedStyle = {
|
|
1383
1393
|
height: containerHeight(),
|
|
1384
1394
|
...style
|
|
@@ -60,6 +60,7 @@ export declare type GridItemProps = {
|
|
|
60
60
|
i: string;
|
|
61
61
|
maximize: Maximize;
|
|
62
62
|
colapsed?: boolean;
|
|
63
|
+
visible?: boolean;
|
|
63
64
|
resizeHandles?: ResizeHandle[];
|
|
64
65
|
/**
|
|
65
66
|
* Defines custom component for resize handle
|
|
@@ -73,4 +74,5 @@ export declare type GridItemProps = {
|
|
|
73
74
|
onResizeStop?: GridItemCallback<GridResizeEvent>;
|
|
74
75
|
onFreeMoveClick?: (i: string) => void;
|
|
75
76
|
freeMove?: boolean;
|
|
77
|
+
zIndex?: number;
|
|
76
78
|
};
|
|
@@ -29,7 +29,7 @@ export declare function getColsFromBreakpoint(breakpoint: Breakpoint, cols: Brea
|
|
|
29
29
|
* vertically.
|
|
30
30
|
* @return {Array} New layout.
|
|
31
31
|
*/
|
|
32
|
-
export declare function findOrGenerateResponsiveLayout(layouts: ResponsiveLayout<Breakpoint>, breakpoints: Breakpoints<Breakpoint>, breakpoint: Breakpoint, lastBreakpoint: Breakpoint, cols: number, compactType: CompactType, brekpointsCols: BreakpointCols, colapsedHeight: number
|
|
32
|
+
export declare function findOrGenerateResponsiveLayout(layouts: ResponsiveLayout<Breakpoint>, breakpoints: Breakpoints<Breakpoint>, breakpoint: Breakpoint, lastBreakpoint: Breakpoint, cols: number, compactType: CompactType, brekpointsCols: BreakpointCols, colapsedHeight: number): Layout;
|
|
33
33
|
/**
|
|
34
34
|
* Given breakpoints, return an array of breakpoints sorted by width. This is usually
|
|
35
35
|
* e.g. ['xxs', 'xs', 'sm', ...]
|
|
@@ -51,11 +51,14 @@ export declare function getIndentationValue(param: ResponsiveMargin, breakpoint:
|
|
|
51
51
|
* @param layouts
|
|
52
52
|
* @param layoutItem
|
|
53
53
|
*/
|
|
54
|
-
export declare function addLayoutItemToBreakPointIfNoExists(layouts: Layouts, breakpoint: string, layoutItem: LayoutItem, cols: BreakpointCols, margin: ResponsiveMargin, containerPadding: ResponsiveMargin, rowHeight: number, containerHeight?: number): void;
|
|
54
|
+
export declare function addLayoutItemToBreakPointIfNoExists(layouts: Layouts, breakpoint: string, layoutItem: LayoutItem, cols: BreakpointCols, margin: ResponsiveMargin, containerPadding: ResponsiveMargin, rowHeight: number, containerHeight?: number, currentBreakpoint?: Breakpoint): void;
|
|
55
55
|
/**
|
|
56
56
|
* Modifica el layout y le arega el item a todos los breakpoints
|
|
57
57
|
* @param layouts
|
|
58
58
|
* @param layoutItem
|
|
59
59
|
*/
|
|
60
|
-
export declare function addLayoutItemToBreakPoints(layouts: Layouts, layoutItem: LayoutItem, cols: BreakpointCols, margin: ResponsiveMargin, containerPadding: ResponsiveMargin, rowHeight: number, containerHeight?: number): Layouts;
|
|
60
|
+
export declare function addLayoutItemToBreakPoints(layouts: Layouts, layoutItem: LayoutItem, cols: BreakpointCols, margin: ResponsiveMargin, containerPadding: ResponsiveMargin, rowHeight: number, containerHeight?: number, currentBreakpoint?: Breakpoint): Layouts;
|
|
61
61
|
export declare function cloneLayouts(layouts: Layouts, layoutItemReplaceProps?: Partial<Exclude<LayoutItem, 'i'>>): Layouts;
|
|
62
|
+
export declare function isEqualLayoutItem(layoutA: LayoutItem, layoutB: LayoutItem): boolean;
|
|
63
|
+
export declare function isEqualLayout(layoutA: Layout, layoutB: Layout): boolean;
|
|
64
|
+
export declare function isEqualLayouts(layoutsA: Layouts, layoutsB: Layouts): boolean;
|
|
@@ -31,7 +31,6 @@ export declare type RefResponsiveState = {
|
|
|
31
31
|
layouts: LayoutsNotReadonly;
|
|
32
32
|
breakpoint: Breakpoint;
|
|
33
33
|
breakpoints: Breakpoints<Breakpoint>;
|
|
34
|
-
colapsedItems?: Record<string, boolean>;
|
|
35
34
|
width: number;
|
|
36
35
|
height: number;
|
|
37
36
|
};
|
|
@@ -63,9 +62,8 @@ export declare type ResponsiveReactGridLayoutProps = {
|
|
|
63
62
|
height: number;
|
|
64
63
|
containerMargin?: ResponsiveMargin;
|
|
65
64
|
containerPadding?: ResponsiveMargin;
|
|
66
|
-
colapsedItems?: Record<string, boolean>;
|
|
67
65
|
onBreakpointChange?: OnBreakpointChange;
|
|
68
66
|
onLayoutChange?: OnLayoutChangeCallback;
|
|
69
67
|
onContainerChange?: OnContainerChange;
|
|
70
68
|
} & Omit<GridLayoutProps, 'cols' | 'margin' | 'containerPadding' | 'onLayoutChange' | 'layout'>;
|
|
71
|
-
export declare type generateInitialStateProps = Pick<ResponsiveReactGridLayoutProps, 'width' | 'height' | 'breakpoint' | 'breakpoints' | 'cols' | 'compactType' | 'layouts' | 'containerMargin' | 'containerPadding' | 'colapsedHeight'
|
|
69
|
+
export declare type generateInitialStateProps = Pick<ResponsiveReactGridLayoutProps, 'width' | 'height' | 'breakpoint' | 'breakpoints' | 'cols' | 'compactType' | 'layouts' | 'containerMargin' | 'containerPadding' | 'colapsedHeight'>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
2
|
import "react";
|
|
3
3
|
import "@m4l/core";
|
|
4
|
-
import "../Icon/index.
|
|
4
|
+
import "../Icon/index.9fcd1476.js";
|
|
5
5
|
import "clsx";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
import "../mui_extended/IconButton/index.
|
|
7
|
+
import "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import "../mui_extended/Accordion/index.
|
|
9
|
+
import "../mui_extended/Accordion/index.9877f7bf.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";
|
|
@@ -15,10 +15,10 @@ import "../mui_extended/Button/index.4288f9fc.js";
|
|
|
15
15
|
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
16
16
|
import "../Image/index.c18ebf5a.js";
|
|
17
17
|
import "@mui/lab";
|
|
18
|
+
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
18
19
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
19
|
-
import "../mui_extended/
|
|
20
|
-
import "../mui_extended/
|
|
21
|
-
import "../mui_extended/Tab/index.9e2f6e34.js";
|
|
20
|
+
import "../mui_extended/Pager/index.2f6d6d7d.js";
|
|
21
|
+
import "../mui_extended/Tab/index.7c82e43d.js";
|
|
22
22
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
23
23
|
import { unstable_composeClasses } from "@mui/base";
|
|
24
24
|
const HelperTextRoot = styled("div")(({
|
|
@@ -3,7 +3,7 @@ import { styled, generateUtilityClasses, generateUtilityClass, Skeleton } from "
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { useEnvironment } from "@m4l/core";
|
|
6
|
-
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.
|
|
6
|
+
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.2f497e6c.js";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
const IconRoot = styled("div")(({
|
|
@@ -3,12 +3,12 @@ import { styled, generateUtilityClasses, generateUtilityClass, Stack, MenuItem }
|
|
|
3
3
|
import { I as Image } from "../Image/index.c18ebf5a.js";
|
|
4
4
|
import { useLocales } from "@m4l/graphics";
|
|
5
5
|
import { useEnvironment, useNetwork } from "@m4l/core";
|
|
6
|
-
import "../Icon/index.
|
|
6
|
+
import "../Icon/index.9fcd1476.js";
|
|
7
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
|
-
import "../mui_extended/IconButton/index.
|
|
11
|
-
import "../mui_extended/Accordion/index.
|
|
10
|
+
import "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
11
|
+
import "../mui_extended/Accordion/index.9877f7bf.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";
|
|
@@ -17,10 +17,10 @@ import { I as ImageButton } from "../mui_extended/Button/index.4288f9fc.js";
|
|
|
17
17
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.ad569afd.js";
|
|
18
18
|
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
19
19
|
import "@mui/lab";
|
|
20
|
+
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
20
21
|
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
21
|
-
import "../mui_extended/
|
|
22
|
-
import "../mui_extended/
|
|
23
|
-
import "../mui_extended/Tab/index.9e2f6e34.js";
|
|
22
|
+
import "../mui_extended/Pager/index.2f6d6d7d.js";
|
|
23
|
+
import "../mui_extended/Tab/index.7c82e43d.js";
|
|
24
24
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
25
25
|
import { unstable_composeClasses } from "@mui/base";
|
|
26
26
|
const LanguagePopoverRoot = styled("div")(({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useTheme, Dialog, Paper } from "@mui/material";
|
|
2
2
|
import { c as cjs } from "../../react-draggable.7abb5d0a.js";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.8e85f7ae.js";
|
|
4
4
|
import { R as ResizeableWindow } from "../Resizeable/index.9a9c79a4.js";
|
|
5
5
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
6
|
-
import { I as Icon } from "../Icon/index.
|
|
6
|
+
import { I as Icon } from "../Icon/index.9fcd1476.js";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
8
|
import { I as ICONS } from "../areas/icons.8266ccc8.js";
|
|
9
|
-
import { m as modalUtilityClasses } from "../modal/index.
|
|
9
|
+
import { m as modalUtilityClasses } from "../modal/index.00efea85.js";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
11
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.52125041.js";
|
|
12
12
|
const DragabblePaperComponent = (props) => {
|
|
13
13
|
return /* @__PURE__ */ jsx(cjs.exports, {
|
|
14
14
|
handle: ".m4l_draggable_handle",
|