publ-echo-test 0.0.70 → 0.0.72
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.
@@ -495,7 +495,6 @@ var ReactGridLayout = function (_a) {
|
|
495
495
|
var z = l.z || 0;
|
496
496
|
var isInBulk = bulkIds === null || bulkIds === void 0 ? void 0 : bulkIds.includes(l.i);
|
497
497
|
var isRoot = editingGroupBlock === 'ROOT';
|
498
|
-
var outsideOfEditingGroup = !editingGroupAllChildren.includes(l.i);
|
499
498
|
var baseZ = function () {
|
500
499
|
if (!isRoot && editable) {
|
501
500
|
return zIndexMap.EDITING_GROUP;
|
@@ -511,7 +510,8 @@ var ReactGridLayout = function (_a) {
|
|
511
510
|
return (_jsx(GridItem, { className: classNames({
|
512
511
|
'editable-grid-item': (!isRoot && editable),
|
513
512
|
'not-editable-grid-item': (!isRoot && !editable),
|
514
|
-
'
|
513
|
+
'bulk-child-item': isInBulk,
|
514
|
+
// 'outside-of-editing-group': outsideOfEditingGroup,
|
515
515
|
}),
|
516
516
|
// className={editable ? 'editable-grid-item' : isInBulk ? 'bulk-grid-item': 'not-editable-grid-item'}
|
517
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));
|
@@ -623,6 +623,7 @@ var ReactGridLayout = function (_a) {
|
|
623
623
|
onDoubleClickGroup && onDoubleClickGroup(e, block.blockId, type);
|
624
624
|
};
|
625
625
|
return (_jsx(OutsideClickHandler, { onOutsideClick: onDoubleClickOutsideGroup, children: _jsx(GroupItem, { className: classNames({
|
626
|
+
'grid-bulk-block': block.blockId === 'BULK',
|
626
627
|
'editing': editingGroupBlock === block.blockId,
|
627
628
|
'selected': selectedGroupBlock === block.blockId
|
628
629
|
}), 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, isDraggable: !viewOnly && !isEditingGroup, isResizable: !viewOnly && !isEditingGroup, isBounded: false, useCSSTransforms: useCSSTransforms && isMounted, usePercentages: !isMounted, transformScale: transformScale, w: groupItem.w, h: groupItem.h, x: groupItem.x, y: groupItem.y, z: z, i: block.blockId,
|