publ-echo-test 0.0.297 → 0.0.299
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.
@@ -138,9 +138,7 @@ var GridItem = function (_a) {
|
|
138
138
|
var callback = function (mutationsList) {
|
139
139
|
for (var _i = 0, mutationsList_2 = mutationsList; _i < mutationsList_2.length; _i++) {
|
140
140
|
var mutation = mutationsList_2[_i];
|
141
|
-
console.log("mutation", mutation);
|
142
141
|
var isInitial = mutation.attributeName === "data-is-initialized";
|
143
|
-
console.log("isInitial", isInitial);
|
144
142
|
var isSizeChanged = mutation.attributeName === "data-min-width" ||
|
145
143
|
mutation.attributeName === "data-min-height";
|
146
144
|
var keepWidth = true;
|
@@ -36,7 +36,7 @@ import classNames from "../../external-lib/classnames";
|
|
36
36
|
import { bottom, cloneLayoutItem, compact, getAllCollisions, getBoundingArea, getLayoutItem, moveElement, noop, synchronizeLayoutWithChildren, withLayoutItem, } from "./utils/renderHelpers";
|
37
37
|
import { calcGridColWidth, calcXY, resolveRowHeight, } from "../GridItem/utils/calculateUtils";
|
38
38
|
// NOTE: 필수 변경하기
|
39
|
-
import GridItem from "../GridItem/
|
39
|
+
import GridItem from "../GridItem/GridItemCopy";
|
40
40
|
import isEqual from "../../external-lib/lodash.isEqual";
|
41
41
|
import { findAllChildrenCbIds, findBlockByBlockId, findDirectChildrenBlockIds, findDirectChildrenCbIds, findGroupBlocks, findParentGroupBlock, formatCbIdToBlockId, getBlockSpecificType, zIndexMap, } from "./group";
|
42
42
|
import GroupItem from "../GridItem/GroupItem";
|
@@ -282,7 +282,6 @@ var Resizable = function (_a) {
|
|
282
282
|
var _b, _c;
|
283
283
|
var _d, _e, _f, _g, _h, _j;
|
284
284
|
var node = _a.node, deltaX = _a.deltaX, deltaY = _a.deltaY;
|
285
|
-
console.log("handleAxis:", handleAxis);
|
286
285
|
if (handlerName === "onResizeStart") {
|
287
286
|
var position = { top: (_d = props.top) !== null && _d !== void 0 ? _d : 0, left: (_e = props.left) !== null && _e !== void 0 ? _e : 0 };
|
288
287
|
startPosition.current = position;
|
@@ -335,6 +334,7 @@ var Resizable = function (_a) {
|
|
335
334
|
if (autoResize && minHeight.current === height) {
|
336
335
|
handleAxis = removeNorthHandle(handleAxis);
|
337
336
|
}
|
337
|
+
console.log("deltax deltay", deltaX, deltaY);
|
338
338
|
_c = checkTopLeft(deltaX, deltaY, top, left, width, height, handleAxis), top = _c[0], left = _c[1];
|
339
339
|
var isDimensionsChanged = width !== props.width || height !== props.height;
|
340
340
|
var cb = typeof props[handlerName] === "function" ? props[handlerName] : null;
|