publ-echo-test 0.0.402 → 0.0.403

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,7 +138,6 @@ 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
  // const isInitial = mutation.attributeName === "data-is-initialized";
143
142
  var isSizeChanged = mutation.attributeName === "data-min-width" ||
144
143
  mutation.attributeName === "data-min-height";
@@ -313,7 +312,6 @@ var GridItem = function (_a) {
313
312
  // h = prevH;
314
313
  // }
315
314
  // if (prevH === h && prevW === w) {
316
- // console.log("cancelled 3");
317
315
  // return;
318
316
  // }
319
317
  // props.onFitToContent &&
@@ -302,7 +302,6 @@ var GridItem = function (_a) {
302
302
  // h = prevH;
303
303
  // }
304
304
  // if (prevH === h && prevW === w) {
305
- // console.log("cancelled 3");
306
305
  // return;
307
306
  // }
308
307
  // props.onFitToContent &&
@@ -23,8 +23,6 @@ export function GridBackgroundPlaceholder(_a) {
23
23
  var isHeightVariable = activeBlock
24
24
  ? getIsHeightVariable(activeBlock, device)
25
25
  : false;
26
- console.log("activeBlock", activeBlock);
27
- console.log("isHeightVariable", isHeightVariable);
28
26
  var showActiveRows = activeBlock && activeBlock.type === "GROUP_BLOCK"
29
27
  ? getShowActiveRows(activeBlock, layout)
30
28
  : !!activeDrag.heightFitContent || isHeightVariable;
@@ -52,7 +52,6 @@ var ReactGridLayout = function (_a) {
52
52
  } : _w, // TODO fix
53
53
  _x = props.resizeHandles, // TODO fix
54
54
  resizeHandles = _x === void 0 ? ["se"] : _x, _y = props.width, width = _y === void 0 ? 0 : _y, resizeHandle = props.resizeHandle, _z = props.isHiddenVisibility, isHiddenVisibility = _z === void 0 ? true : _z, innerRef = props.innerRef, minNbRow = props.minNbRow, customColWidth = props.customColWidth, blockStructure = props.blockStructure, onDoubleClickGroup = props.onDoubleClickGroup, _0 = props.editingGroupBlock, editingGroupBlock = _0 === void 0 ? "ROOT" : _0, _1 = props.selectedGroupBlock, selectedGroupBlock = _1 === void 0 ? "ROOT" : _1, onClickGroup = props.onClickGroup, bulkIds = props.bulkIds, onDoubleClickOutsideGroup = props.onDoubleClickOutsideGroup, device = props.device;
55
- console.log("selectedBlockId", selectedGroupBlock);
56
55
  var parsedSelectedBlockId = getBlockIdKind(selectedBlockId !== null && selectedBlockId !== void 0 ? selectedBlockId : "");
57
56
  var _2 = useState(), activeDrag = _2[0], setActiveDrag = _2[1];
58
57
  var _3 = useState(), oldDragItem = _3[0], setOldDragItem = _3[1];
@@ -585,7 +584,6 @@ var ReactGridLayout = function (_a) {
585
584
  return false;
586
585
  }
587
586
  }
588
- console.log("activeBlock", activeBlock);
589
587
  if ((activeBlock === null || activeBlock === void 0 ? void 0 : activeBlock.type) === "GROUP_BLOCK") {
590
588
  var hasFitContentCB = getShowActiveRows(activeBlock, layout);
591
589
  if (!hasFitContentCB) {
@@ -821,7 +819,6 @@ var ReactGridLayout = function (_a) {
821
819
  ? generateGrouplayout(parsedSelectedBlockId.blockId)
822
820
  : null;
823
821
  var activeDragItemOrSelectedItem = activeDrag || selectedLayoutItem;
824
- console.log("activeDragItemOrSelectedItem", parsedSelectedBlockId);
825
822
  var activeBlock = activeDragItemOrSelectedItem && parsedSelectedBlockId
826
823
  ? blockStructure
827
824
  ? findBlockByBlockId(blockStructure, parsedSelectedBlockId.blockId)
@@ -251,7 +251,6 @@ export function formatCbIdToBlockId(cbId) {
251
251
  return "CB_".concat(cbId);
252
252
  }
253
253
  export function getBlockIdKind(blockId) {
254
- console.log("blockId:", blockId);
255
254
  if (blockId === "BULK") {
256
255
  return {
257
256
  type: "GB",
@@ -157,9 +157,6 @@ var Resizable = function (_a) {
157
157
  if (contentsWrapper) {
158
158
  var gridWrapperInnerH = contentsWrapper.clientHeight;
159
159
  var oneCompositionH = oneComposition.scrollHeight;
160
- console.log("scrollHeight", oneCompositionH);
161
- console.log("clientHeight", oneComposition.clientHeight);
162
- console.log("gap", oneCompositionH - oneComposition.clientHeight);
163
160
  var compositionBGwrapperPaddingT = Number(oneComposition.getAttribute("data-wrapper-paddingt"));
164
161
  var compositionBGwrapperPaddingB = Number(oneComposition.getAttribute("data-wrapper-paddingb"));
165
162
  var compositionBGwrapperPaddingL = Number(oneComposition.getAttribute("data-wrapper-paddingl"));
@@ -238,7 +235,6 @@ var Resizable = function (_a) {
238
235
  height = Math.min(maxConstraints[1], height);
239
236
  }
240
237
  slack.current = [slackW + (oldW - width), slackH + (oldH - height)];
241
- console.log("minH", minHeight.current);
242
238
  return [width, height];
243
239
  };
244
240
  var checkTopLeft = function (deltaX, deltaY, top, left, width, height, handleAxis) {
@@ -310,7 +306,6 @@ var Resizable = function (_a) {
310
306
  // if (lastHandleRectRef.current !== null) {
311
307
  // if (axisH === "w") {
312
308
  // const deltaLeftSinceLast = handleRect.left - lastHandleRectRef.current.left;
313
- // console.log('delta, :', deltaLeftSinceLast);
314
309
  // deltaX += deltaLeftSinceLast;
315
310
  // }
316
311
  // if (axisV === "n") {
@@ -339,7 +334,6 @@ var Resizable = function (_a) {
339
334
  if (autoResize && minHeight.current === height) {
340
335
  handleAxis = removeNorthHandle(handleAxis);
341
336
  }
342
- console.log("deltax deltay", deltaX, deltaY);
343
337
  _c = checkTopLeft(deltaX, deltaY, top, left, width, height, handleAxis), top = _c[0], left = _c[1];
344
338
  var isDimensionsChanged = width !== props.width || height !== props.height;
345
339
  var cb = typeof props[handlerName] === "function" ? props[handlerName] : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.402",
3
+ "version": "0.0.403",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",