publ-echo 0.0.107 → 0.0.109
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.
|
@@ -565,12 +565,13 @@ var ReactGridLayout = function (_a) {
|
|
|
565
565
|
return _jsx(_Fragment, { children: "NO-BLOCK-FOUND" });
|
|
566
566
|
}
|
|
567
567
|
var zOrder = (_a = block[device === 'DESKTOP' ? 'zOrderDesktopInternal' : 'zOrderMobileInternal']) !== null && _a !== void 0 ? _a : 0;
|
|
568
|
+
var isInsideOfEditingGroup = editingGroupAllChildren.includes(l.i);
|
|
568
569
|
var editorZIndex = (function () {
|
|
569
570
|
if (isInBulk) {
|
|
570
571
|
return zIndexMap.EDITING_GROUP_CHILD + z;
|
|
571
572
|
}
|
|
572
|
-
if (!isRoot &&
|
|
573
|
-
return zIndexMap.EDITING_GROUP_CHILD +
|
|
573
|
+
if (!isRoot && isInsideOfEditingGroup) {
|
|
574
|
+
return zIndexMap.EDITING_GROUP_CHILD + zOrder;
|
|
574
575
|
}
|
|
575
576
|
if (isRoot && editable) {
|
|
576
577
|
return zIndexMap.ROOT + z;
|
|
@@ -583,13 +584,12 @@ var ReactGridLayout = function (_a) {
|
|
|
583
584
|
}
|
|
584
585
|
return z;
|
|
585
586
|
})();
|
|
586
|
-
var outsideOfEditingGroup = !editingGroupAllChildren.includes(l.i);
|
|
587
587
|
var zIndex = editorMode === 'EDIT' ? editorZIndex : z;
|
|
588
588
|
return (_jsx(GridItem, { className: classNames({
|
|
589
589
|
'editable-grid-item': !isRoot && editable,
|
|
590
590
|
'not-editable-grid-item': !isRoot && !editable,
|
|
591
591
|
'bulk-child-item': isInBulk,
|
|
592
|
-
'outside-of-editing-group':
|
|
592
|
+
'outside-of-editing-group': !isInsideOfEditingGroup,
|
|
593
593
|
}), z: zIndex, zOrder: l.z, zOrderInternal: parent
|
|
594
594
|
? "".concat(parent[device === 'DESKTOP'
|
|
595
595
|
? 'zOrderDesktopInternal'
|