publ-echo-test 0.0.313 → 0.0.315
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.
@@ -128,9 +128,11 @@ var GridItem = function (_a) {
|
|
128
128
|
if (!targetNode || isDragging || isResizing) {
|
129
129
|
return;
|
130
130
|
}
|
131
|
+
console.log("targetNode", targetNode);
|
131
132
|
if (!targetNode.classList.contains("ccb-layout-box")) {
|
132
133
|
return;
|
133
134
|
}
|
135
|
+
console.log("contains?:", targetNode.classList.contains("ccb-layout-box"));
|
134
136
|
var prevPaddingL = parseFloat(getComputedStyle(targetNode).paddingLeft);
|
135
137
|
var prevPaddingR = parseFloat(getComputedStyle(targetNode).paddingRight);
|
136
138
|
var prevPaddingT = parseFloat(getComputedStyle(targetNode).paddingTop);
|
@@ -139,6 +141,7 @@ var GridItem = function (_a) {
|
|
139
141
|
var callback = function (mutationsList) {
|
140
142
|
for (var _i = 0, mutationsList_2 = mutationsList; _i < mutationsList_2.length; _i++) {
|
141
143
|
var mutation = mutationsList_2[_i];
|
144
|
+
console.log("mutation", mutation);
|
142
145
|
// const isInitial = mutation.attributeName === "data-is-initialized";
|
143
146
|
var isSizeChanged = mutation.attributeName === "data-min-width" ||
|
144
147
|
mutation.attributeName === "data-min-height";
|
@@ -147,6 +150,9 @@ var GridItem = function (_a) {
|
|
147
150
|
var layoutBox = targetNode.children[0];
|
148
151
|
var contentsWrapper = layoutBox.children[0];
|
149
152
|
var oneComposition = contentsWrapper.children[0];
|
153
|
+
console.log("layoutbox", layoutBox);
|
154
|
+
console.log("contentsWrapper", contentsWrapper);
|
155
|
+
console.log("oneComposition", oneComposition);
|
150
156
|
// const insetTop = Number(mutation.target.dataset.insetTop!);
|
151
157
|
// const insetBottom = Number(mutation.target.dataset.insetBottom!);
|
152
158
|
var minWidth = 0;
|
@@ -213,7 +219,7 @@ var GridItem = function (_a) {
|
|
213
219
|
minWidth = listMinWidth;
|
214
220
|
}
|
215
221
|
}
|
216
|
-
//
|
222
|
+
// 필요가 없을 수도.
|
217
223
|
if (isNaN(minWidth) || isNaN(minHeight)) {
|
218
224
|
return;
|
219
225
|
}
|