publ-echo-test 0.0.310 → 0.0.312

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.
@@ -47,7 +47,8 @@ var GridItem = function (_a) {
47
47
  if (!targetNode || isDragging || isResizing) {
48
48
  return;
49
49
  }
50
- if (targetNode.id === "contentslist-box") {
50
+ console.log("contains?:", targetNode.classList.contains("ccb-layout-box"));
51
+ if (targetNode.classList.contains("ccb-layout-box")) {
51
52
  return;
52
53
  }
53
54
  var prevPaddingL = parseFloat(getComputedStyle(targetNode).paddingLeft);
@@ -112,7 +113,7 @@ var GridItem = function (_a) {
112
113
  observer.observe(targetNode, config);
113
114
  // 정리 함수에서 MutationObserver 해제
114
115
  return function () {
115
- if (targetNode.id === "contentslist-box") {
116
+ if (targetNode.classList.contains("ccb-layout-box")) {
116
117
  return;
117
118
  }
118
119
  observer.disconnect();
@@ -127,7 +128,7 @@ var GridItem = function (_a) {
127
128
  if (!targetNode || isDragging || isResizing) {
128
129
  return;
129
130
  }
130
- if (targetNode.id !== "contentslist-box") {
131
+ if (!targetNode.classList.contains("ccb-layout-box")) {
131
132
  return;
132
133
  }
133
134
  var prevPaddingL = parseFloat(getComputedStyle(targetNode).paddingLeft);
@@ -263,7 +264,7 @@ var GridItem = function (_a) {
263
264
  observer.observe(targetNode, config);
264
265
  // 정리 함수에서 MutationObserver 해제
265
266
  return function () {
266
- if (targetNode.id !== "contentslist-box") {
267
+ if (!targetNode.classList.contains("ccb-layout-box")) {
267
268
  return;
268
269
  }
269
270
  observer.disconnect();
@@ -131,7 +131,6 @@ var Resizable = function (_a) {
131
131
  var layoutBox = target.children[0];
132
132
  var contentsWrapper = layoutBox.children[0];
133
133
  var oneComposition = contentsWrapper.children[0].children[0].children[0].children[2];
134
- console.log("one composition", oneComposition);
135
134
  if (!isContentsList || !oneComposition) {
136
135
  return;
137
136
  }
@@ -176,12 +175,6 @@ var Resizable = function (_a) {
176
175
  (numberOfColumns - 1) * columnGap +
177
176
  paddingLR +
178
177
  compositionWrapperPaddingLR;
179
- console.log("oneCompositionMinWidth", oneCompositionMinWidth);
180
- console.log("cols", numberOfColumns);
181
- console.log("listMinWidth", listMinWidth);
182
- console.log("one-composition", oneComposition);
183
- console.log("minCellWidth;", minCellWidth);
184
- console.log("compositionCols", compositionCols);
185
178
  var numberOfRows = Math.ceil(numberOfItems / numberOfColumns);
186
179
  var gridWrapperTotalH = gridWrapperInnerH + insetTop + insetBottom;
187
180
  var listMinHeight = oneCompositionMinHeight * numberOfRows +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.310",
3
+ "version": "0.0.312",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",