publ-echo-test 0.0.144 → 0.0.145
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.
@@ -528,7 +528,7 @@ var ReactGridLayout = function (_a) {
|
|
528
528
|
if (!item) {
|
529
529
|
return null;
|
530
530
|
}
|
531
|
-
return (_jsx(GridItem, { w: activeDrag.w, h: activeDrag.h, x: activeDrag.x, y: activeDrag.y, z:
|
531
|
+
return (_jsx(GridItem, { w: activeDrag.w, h: activeDrag.h, x: activeDrag.x, y: activeDrag.y, z: zIndexMap.ISDRAGGING, i: activeDrag.i, className: 'placeholder', containerWidth: width, cols: cols, margin: margin, containerPadding: containerPadding || margin, maxRows: maxRows, rowHeight: rowHeight, isDraggable: false, isResizable: false, isBounded: false, useCSSTransforms: useCSSTransforms, transformScale: transformScale, autoResize: !!l.autoResize, children: item && item }));
|
532
532
|
};
|
533
533
|
/**
|
534
534
|
* Given a grid item, set its style attributes & surround in a <Draggable>.
|
@@ -587,7 +587,7 @@ var ReactGridLayout = function (_a) {
|
|
587
587
|
'not-editable-grid-item': !isRoot && !editable,
|
588
588
|
'bulk-child-item': isInBulk,
|
589
589
|
'outside-of-editing-group': outsideOfEditingGroup,
|
590
|
-
}), z: zIndex, zOrder:
|
590
|
+
}), z: zIndex, zOrder: l.z, isDraggable: editable && !isInBulk, isResizable: editable && !isInBulk, containerWidth: width, cols: cols, margin: margin, containerPadding: containerPadding || margin, maxRows: maxRows, rowHeight: rowHeight, cancel: draggableCancel, handle: draggableHandle, onDragStop: onDragStopHandler, onDragStart: onDragStartHandler, onDrag: onDragHandler, onResizeStart: onResizeStartHandler, onResize: onResizeHandler, onResizeStop: onResizeStopHandler, onFitToContent: onFitToContentHandler, isBounded: bounded, useCSSTransforms: useCSSTransforms && isMounted, usePercentages: !isMounted, transformScale: transformScale, w: l.w, h: l.h, x: l.x, y: l.y, i: l.i, minH: l.minH, minW: l.minW, maxH: l.maxH, maxW: l.maxW, static: l.static, droppingPosition: isDroppingItem ? droppingPosition : undefined, resizeHandles: resizeHandlesOptions, resizeHandle: resizeHandle, isHiddenVisibility: isHiddenVisibility, customColWidth: colWidth, autoResize: !!l.autoResize, children: child }, l.i));
|
591
591
|
};
|
592
592
|
var onDragOverHandler = function (e) {
|
593
593
|
var _a;
|
@@ -8,6 +8,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
8
8
|
return to.concat(ar || Array.prototype.slice.call(from));
|
9
9
|
};
|
10
10
|
export var zIndexMap = {
|
11
|
+
ISDRAGGING: 999999,
|
11
12
|
BULK: 20000,
|
12
13
|
EDITING_GROUP_CHILD: 10000,
|
13
14
|
EDITING_GROUP: 9000,
|