publ-echo-test 0.0.72 → 0.0.74
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.
@@ -496,6 +496,9 @@ var ReactGridLayout = function (_a) {
|
|
496
496
|
var isInBulk = bulkIds === null || bulkIds === void 0 ? void 0 : bulkIds.includes(l.i);
|
497
497
|
var isRoot = editingGroupBlock === 'ROOT';
|
498
498
|
var baseZ = function () {
|
499
|
+
if (isInBulk) {
|
500
|
+
return zIndexMap.BULK;
|
501
|
+
}
|
499
502
|
if (!isRoot && editable) {
|
500
503
|
return zIndexMap.EDITING_GROUP;
|
501
504
|
}
|
@@ -507,14 +510,15 @@ var ReactGridLayout = function (_a) {
|
|
507
510
|
}
|
508
511
|
return 0;
|
509
512
|
};
|
513
|
+
var outsideOfEditingGroup = !editingGroupAllChildren.includes(l.i);
|
510
514
|
return (_jsx(GridItem, { className: classNames({
|
511
515
|
'editable-grid-item': (!isRoot && editable),
|
512
516
|
'not-editable-grid-item': (!isRoot && !editable),
|
513
517
|
'bulk-child-item': isInBulk,
|
514
|
-
|
518
|
+
'outside-of-editing-group': outsideOfEditingGroup,
|
515
519
|
}),
|
516
520
|
// className={editable ? 'editable-grid-item' : isInBulk ? 'bulk-grid-item': 'not-editable-grid-item'}
|
517
|
-
z: baseZ() + z, isDraggable: editable, isResizable: editable, 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));
|
521
|
+
z: baseZ() + 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));
|
518
522
|
};
|
519
523
|
var onDragOverHandler = function (e) {
|
520
524
|
var _a;
|