publ-echo-test 0.0.391 → 0.0.393
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.
|
@@ -209,9 +209,8 @@ var ReactGridLayout = function (_a) {
|
|
|
209
209
|
* @param {Element} node The current dragging DOM element
|
|
210
210
|
*/
|
|
211
211
|
var onDragHandler = function (i, x, y, _a, isGroup) {
|
|
212
|
-
var _b;
|
|
213
212
|
var e = _a.e, node = _a.node;
|
|
214
|
-
var l = (
|
|
213
|
+
var l = isGroup ? generateGrouplayout(i) : getLayoutItem(layout, i);
|
|
215
214
|
if (!l)
|
|
216
215
|
return;
|
|
217
216
|
if (!oldDragItem) {
|
|
@@ -793,6 +792,8 @@ var ReactGridLayout = function (_a) {
|
|
|
793
792
|
var activeRowsFiltered = shouldShowAllHeightVariableRows
|
|
794
793
|
? heightVariableRows
|
|
795
794
|
: activeRows;
|
|
795
|
+
console.log("activeDrag:", activeDrag);
|
|
796
|
+
console.log("selectedLayoutItem:", selectedLayoutItem);
|
|
796
797
|
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,
|
|
797
798
|
// width={width}
|
|
798
799
|
rowHeight: rowHeight, activeRows: activeRowsFiltered !== null && activeRowsFiltered !== void 0 ? activeRowsFiltered : [], colWidth: colWidth, activeDrag: activeDragItemOrSelectedItem, activeBlock: activeBlock, selectedBlockId: selectedBlockId, totalCols: cols, layout: layout }))] }));
|