publ-echo-test 0.0.124 → 0.0.125
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.
@@ -641,16 +641,6 @@ var ReactGridLayout = function (_a) {
|
|
641
641
|
}
|
642
642
|
var childrenIds = findAllChildrenCbIds(blockStructure, block.blockId).map(function (i) { return i.toString(); });
|
643
643
|
var groupItem = getBoundingArea(layout, childrenIds);
|
644
|
-
// const draggable =
|
645
|
-
// typeof l.isDraggable === "boolean"
|
646
|
-
// ? l.isDraggable
|
647
|
-
// : !l.static && isDraggable;
|
648
|
-
// const resizable =
|
649
|
-
// typeof l.isResizable === "boolean"
|
650
|
-
// ? l.isResizable
|
651
|
-
// : !l.static && isResizable;
|
652
|
-
// const resizeHandlesOptions = l.resizeHandles || resizeHandles;
|
653
|
-
// const bounded = draggable && isBounded && l.isBounded !== false;
|
654
644
|
if (!groupItem) {
|
655
645
|
return _jsx(_Fragment, {});
|
656
646
|
}
|
@@ -101,6 +101,7 @@ export var findDirectChildrenBlockIds = function (block, targetId) {
|
|
101
101
|
}
|
102
102
|
return collectChildrenBlockIds(targetBlock, 'current');
|
103
103
|
};
|
104
|
+
// NOTE: 타겟과 하위 모두.
|
104
105
|
export var findGroupBlocks = function (block, targetId) {
|
105
106
|
var targetBlock = findBlockByBlockId(block, targetId);
|
106
107
|
// const groupBlocks: Set<GroupBlock> = new Set();
|
@@ -120,7 +121,7 @@ export var findGroupBlocks = function (block, targetId) {
|
|
120
121
|
return [];
|
121
122
|
}
|
122
123
|
var groupBlocks = targetBlock.children.filter(function (child) { return child.type === 'GROUP_BLOCK'; });
|
123
|
-
return groupBlocks;
|
124
|
+
return [targetBlock].concat(groupBlocks);
|
124
125
|
// if (targetBlock.blockId === 'ROOT') {
|
125
126
|
// addGroupBlocks(targetBlock as RootBlock);
|
126
127
|
// }
|