publ-echo-test 0.0.294 → 0.0.296

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.
@@ -139,8 +139,7 @@ var GridItem = function (_a) {
139
139
  for (var _i = 0, mutationsList_2 = mutationsList; _i < mutationsList_2.length; _i++) {
140
140
  var mutation = mutationsList_2[_i];
141
141
  console.log("mutation", mutation);
142
- var isInitial = mutation.attributeName === "data-is-initialized" &&
143
- mutation.target.getAttribute("data-is-initialized") === "true";
142
+ var isInitial = mutation.attributeName === "data-is-initialized";
144
143
  console.log("isInitial", isInitial);
145
144
  var isSizeChanged = mutation.attributeName === "data-min-width" ||
146
145
  mutation.attributeName === "data-min-height";
@@ -264,17 +263,12 @@ var GridItem = function (_a) {
264
263
  var config = { attributes: true, characterData: true };
265
264
  // 대상 노드와 설정으로 관찰 시작
266
265
  observer.observe(targetNode, config);
267
- setTimeout(function () {
268
- targetNode.setAttribute("data-is-initialized", "true");
269
- }, 100);
270
266
  // 정리 함수에서 MutationObserver 해제
271
267
  return function () {
272
268
  if (targetNode.id !== "contentslist-box") {
273
269
  return;
274
270
  }
275
271
  observer.disconnect();
276
- // NOTE: 필수? 아니람 삭제
277
- targetNode.removeAttribute("data-is-initialized");
278
272
  };
279
273
  }, [autoResize, isSelected, isDragging, isResizing, props.w, props.h, x, y]);
280
274
  // useEffect(() => {
@@ -124,8 +124,6 @@ var GridItem = function (_a) {
124
124
  return;
125
125
  }
126
126
  var targetNode = (_a = elementRef.current) === null || _a === void 0 ? void 0 : _a.children[0].children[0].children[0];
127
- console.log("elementRef", elementRef.current);
128
- console.dir("targetNode", targetNode);
129
127
  if (!targetNode || isDragging || isResizing) {
130
128
  return;
131
129
  }
@@ -149,7 +147,6 @@ var GridItem = function (_a) {
149
147
  var minWidth = 0;
150
148
  // const minHeight =
151
149
  // Number(mutation.target.dataset.minHeight) + insetTop + insetBottom;
152
- console.dir("mutation target", mutation.target);
153
150
  var contentsWrapper = mutation.target.querySelector(".cb-contentslist-wrapper");
154
151
  var oneComposition = mutation.target.querySelector(".composition-container");
155
152
  var minHeight = 0;
@@ -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/GridItemCopy";
39
+ import GridItem from "../GridItem/GridItem";
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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.294",
3
+ "version": "0.0.296",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",