publ-echo 0.0.111 → 0.0.112

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.
@@ -410,12 +410,6 @@ var GridItem = function (_a) {
410
410
  cssTransforms: useCSSTransforms,
411
411
  }),
412
412
  style: __assign(__assign(__assign({}, props.style), child.props.style), createStyle(pos)),
413
- onClick: function (event) {
414
- var _a;
415
- if ((_a = child.props.className) === null || _a === void 0 ? void 0 : _a.includes('not-editable-grid-item')) {
416
- event.preventDefault();
417
- }
418
- },
419
413
  });
420
414
  newChild = mixinResizable(newChild, pos, isResizable);
421
415
  newChild = mixinDraggable(newChild, isDraggable);
@@ -568,10 +568,10 @@ var ReactGridLayout = function (_a) {
568
568
  var isInsideOfEditingGroup = editingGroupAllChildren.includes(l.i);
569
569
  var editorZIndex = (function () {
570
570
  if (isInBulk) {
571
- return zIndexMap.EDITING_GROUP_CHILD + z;
571
+ return zIndexMap.CB_IN_EDITING_GROUP + z;
572
572
  }
573
573
  if (!isRoot && isInsideOfEditingGroup) {
574
- return zIndexMap.EDITING_GROUP_CHILD + z;
574
+ return zIndexMap.CB_IN_EDITING_GROUP + z;
575
575
  }
576
576
  if (isRoot && editable) {
577
577
  return zIndexMap.ROOT + z;
@@ -683,16 +683,16 @@ var ReactGridLayout = function (_a) {
683
683
  return zIndexMap.EDITING_GROUP;
684
684
  }
685
685
  if (isBulk) {
686
- return zIndexMap.EDITING_GROUP_CHILD + groupItem.z;
686
+ return zIndexMap.CB_IN_EDITING_GROUP + groupItem.z;
687
687
  }
688
688
  if (isInBulk) {
689
689
  // 위와 같지만 이것은 not-editable이긴 함.
690
690
  // const bulkBlock = findBlockByBlockId(blockStructure, 'BULK');
691
691
  // const bulkZOrder = bulkBlock?.[device === 'DESKTOP' ? 'zOrderDesktopInternal' : 'zOrderMobileInternal'] ?? 0;
692
- return zIndexMap.EDITING_GROUP_CHILD + zOrder;
692
+ return zIndexMap.CB_IN_EDITING_GROUP + zOrder;
693
693
  }
694
694
  if (!isRoot && type === 'GROUP_BLOCK') {
695
- return zIndexMap.EDITING_GROUP_CHILD + zOrder;
695
+ return zIndexMap.EDITABLE_GROUP + zOrder;
696
696
  }
697
697
  if (type === 'GROUP_BLOCK') {
698
698
  return zIndexMap.GROUP;
@@ -1,7 +1,8 @@
1
1
  export declare const zIndexMap: {
2
2
  ISDRAGGING: number;
3
3
  BULK: number;
4
- EDITING_GROUP_CHILD: number;
4
+ EDITABLE_GROUP: number;
5
+ CB_IN_EDITING_GROUP: number;
5
6
  EDITING_GROUP: number;
6
7
  GROUP: number;
7
8
  CB: number;
@@ -9,8 +9,9 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
9
9
  };
10
10
  export var zIndexMap = {
11
11
  ISDRAGGING: 999999,
12
- BULK: 20000,
13
- EDITING_GROUP_CHILD: 10000,
12
+ BULK: 30000,
13
+ EDITABLE_GROUP: 20000,
14
+ CB_IN_EDITING_GROUP: 10000,
14
15
  EDITING_GROUP: 9000,
15
16
  GROUP: 5000,
16
17
  CB: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo",
3
- "version": "0.0.111",
3
+ "version": "0.0.112",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",