publ-echo-test 0.0.375 → 0.0.377
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.
|
@@ -756,10 +756,11 @@ var ReactGridLayout = function (_a) {
|
|
|
756
756
|
var selectedLayoutItem = selectedBlockId
|
|
757
757
|
? getLayoutItem(layout, selectedBlockId)
|
|
758
758
|
: null;
|
|
759
|
+
console.log("layout", layout);
|
|
759
760
|
var activeDragItemOrSelectedItem = activeDrag || selectedLayoutItem;
|
|
760
761
|
var activeBlock = activeDragItemOrSelectedItem
|
|
761
762
|
? blockStructure
|
|
762
|
-
? findBlockByBlockId(blockStructure,
|
|
763
|
+
? findBlockByBlockId(blockStructure, activeDragItemOrSelectedItem.i)
|
|
763
764
|
: null
|
|
764
765
|
: null;
|
|
765
766
|
var activeRows = activeDragItemOrSelectedItem &&
|
|
@@ -771,7 +772,9 @@ var ReactGridLayout = function (_a) {
|
|
|
771
772
|
var activeRowsFiltered = shouldShowAllHeightVariableRows
|
|
772
773
|
? heightVariableRows
|
|
773
774
|
: activeRows;
|
|
775
|
+
console.log("activeDragItemOrSelectedItem", activeDragItemOrSelectedItem);
|
|
774
776
|
console.log("selectedBlockId", selectedBlockId);
|
|
777
|
+
console.log("selectedLayoutItem", selectedLayoutItem);
|
|
775
778
|
console.log("activeBlock", activeBlock);
|
|
776
779
|
console.log("activeRowsFiltered", activeRowsFiltered);
|
|
777
780
|
return (_jsxs("div", { ref: innerRef, className: mergedClassName, style: mergedStyle, onDrop: isDroppable ? onDropHandler : noop, onDragLeave: isDroppable ? onDragLeaveHandler : noop, onDragEnter: isDroppable ? onDragEnterHandler : noop, onDragOver: isDroppable ? onDragOverHandler : noop, "data-grid-row-height": rowHeight, "data-grid-cols": cols, "data-section-id": sectionId, children: [currentGroupBlocks.map(function (each) { return processGroup(each); }), React.Children.map(children, function (child) { return processGridItem(child); }), placeholder(), activeDrag && _jsx("div", { className: "grid-guide-line-center" }), activeDragItemOrSelectedItem && (_jsx(GridBackgroundPlaceholder, { device: device, backgroundWidth: getBackgroundWidth(), backgroundHeight: getBackgroundHeight(), margin: margin,
|