ninegrid2 6.1055.0 → 6.1057.0
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.
- package/dist/bundle.cjs.js +4 -2
- package/dist/bundle.esm.js +4 -2
- package/dist/nx/nxSplitter.js +3 -1
- package/package.json +1 -1
- package/src/nx/nxSplitter.js +3 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -121497,12 +121497,14 @@ class nxSplitter extends HTMLElement {
|
|
|
121497
121497
|
}, 0);
|
|
121498
121498
|
|
|
121499
121499
|
// ⭐⭐ Flexbox의 'gap' 크기 계산 (하드코딩된 8px 사용) ⭐⭐
|
|
121500
|
-
|
|
121501
|
-
const totalGapSize = gapCount * 8;
|
|
121500
|
+
allChildren.length - 1;
|
|
121501
|
+
const totalGapSize = 0;//gapCount * 8;
|
|
121502
121502
|
|
|
121503
121503
|
// ⭐⭐ Flexbox 컨테이너의 '총 유효 공간' (패널들이 차지할 수 있는 공간) 계산 ⭐⭐
|
|
121504
121504
|
const totalFlexSpace = totalContainerSize - totalSplitterSize - totalGapSize;
|
|
121505
121505
|
|
|
121506
|
+
console.log(totalContainerSize, totalSplitterSize, totalGapSize, totalFlexSpace);
|
|
121507
|
+
|
|
121506
121508
|
// 드래그로 인한 픽셀 변화량 계산
|
|
121507
121509
|
const dragOffset = (isHorizontal ? parseFloat(dragBar.style.left) : parseFloat(dragBar.style.top)) -
|
|
121508
121510
|
(isHorizontal ? this.getBoundingClientRect().left - parent.getBoundingClientRect().left : this.getBoundingClientRect().top - parent.getBoundingClientRect().top);
|
package/dist/bundle.esm.js
CHANGED
|
@@ -121493,12 +121493,14 @@ class nxSplitter extends HTMLElement {
|
|
|
121493
121493
|
}, 0);
|
|
121494
121494
|
|
|
121495
121495
|
// ⭐⭐ Flexbox의 'gap' 크기 계산 (하드코딩된 8px 사용) ⭐⭐
|
|
121496
|
-
|
|
121497
|
-
const totalGapSize = gapCount * 8;
|
|
121496
|
+
allChildren.length - 1;
|
|
121497
|
+
const totalGapSize = 0;//gapCount * 8;
|
|
121498
121498
|
|
|
121499
121499
|
// ⭐⭐ Flexbox 컨테이너의 '총 유효 공간' (패널들이 차지할 수 있는 공간) 계산 ⭐⭐
|
|
121500
121500
|
const totalFlexSpace = totalContainerSize - totalSplitterSize - totalGapSize;
|
|
121501
121501
|
|
|
121502
|
+
console.log(totalContainerSize, totalSplitterSize, totalGapSize, totalFlexSpace);
|
|
121503
|
+
|
|
121502
121504
|
// 드래그로 인한 픽셀 변화량 계산
|
|
121503
121505
|
const dragOffset = (isHorizontal ? parseFloat(dragBar.style.left) : parseFloat(dragBar.style.top)) -
|
|
121504
121506
|
(isHorizontal ? this.getBoundingClientRect().left - parent.getBoundingClientRect().left : this.getBoundingClientRect().top - parent.getBoundingClientRect().top);
|
package/dist/nx/nxSplitter.js
CHANGED
|
@@ -131,11 +131,13 @@ class nxSplitter extends HTMLElement {
|
|
|
131
131
|
|
|
132
132
|
// ⭐⭐ Flexbox의 'gap' 크기 계산 (하드코딩된 8px 사용) ⭐⭐
|
|
133
133
|
const gapCount = allChildren.length - 1;
|
|
134
|
-
const totalGapSize = gapCount * 8;
|
|
134
|
+
const totalGapSize = 0;//gapCount * 8;
|
|
135
135
|
|
|
136
136
|
// ⭐⭐ Flexbox 컨테이너의 '총 유효 공간' (패널들이 차지할 수 있는 공간) 계산 ⭐⭐
|
|
137
137
|
const totalFlexSpace = totalContainerSize - totalSplitterSize - totalGapSize;
|
|
138
138
|
|
|
139
|
+
console.log(totalContainerSize, totalSplitterSize, totalGapSize, totalFlexSpace);
|
|
140
|
+
|
|
139
141
|
// 드래그로 인한 픽셀 변화량 계산
|
|
140
142
|
const dragOffset = (isHorizontal ? parseFloat(dragBar.style.left) : parseFloat(dragBar.style.top)) -
|
|
141
143
|
(isHorizontal ? this.getBoundingClientRect().left - parent.getBoundingClientRect().left : this.getBoundingClientRect().top - parent.getBoundingClientRect().top);
|
package/package.json
CHANGED
package/src/nx/nxSplitter.js
CHANGED
|
@@ -131,11 +131,13 @@ class nxSplitter extends HTMLElement {
|
|
|
131
131
|
|
|
132
132
|
// ⭐⭐ Flexbox의 'gap' 크기 계산 (하드코딩된 8px 사용) ⭐⭐
|
|
133
133
|
const gapCount = allChildren.length - 1;
|
|
134
|
-
const totalGapSize = gapCount * 8;
|
|
134
|
+
const totalGapSize = 0;//gapCount * 8;
|
|
135
135
|
|
|
136
136
|
// ⭐⭐ Flexbox 컨테이너의 '총 유효 공간' (패널들이 차지할 수 있는 공간) 계산 ⭐⭐
|
|
137
137
|
const totalFlexSpace = totalContainerSize - totalSplitterSize - totalGapSize;
|
|
138
138
|
|
|
139
|
+
console.log(totalContainerSize, totalSplitterSize, totalGapSize, totalFlexSpace);
|
|
140
|
+
|
|
139
141
|
// 드래그로 인한 픽셀 변화량 계산
|
|
140
142
|
const dragOffset = (isHorizontal ? parseFloat(dragBar.style.left) : parseFloat(dragBar.style.top)) -
|
|
141
143
|
(isHorizontal ? this.getBoundingClientRect().left - parent.getBoundingClientRect().left : this.getBoundingClientRect().top - parent.getBoundingClientRect().top);
|