ninegrid2 6.713.0 → 6.714.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 +6 -4
- package/dist/bundle.esm.js +6 -4
- package/dist/nx/nxSplitter.js +6 -4
- package/package.json +1 -1
- package/src/nx/nxSplitter.js +6 -4
package/dist/bundle.cjs.js
CHANGED
|
@@ -121134,7 +121134,10 @@ class nxSplitter extends HTMLElement {
|
|
|
121134
121134
|
|
|
121135
121135
|
const onUp = (e) => {
|
|
121136
121136
|
|
|
121137
|
-
|
|
121137
|
+
window.removeEventListener("mousemove", onMove);
|
|
121138
|
+
window.removeEventListener("mouseup", onUp);
|
|
121139
|
+
|
|
121140
|
+
|
|
121138
121141
|
|
|
121139
121142
|
|
|
121140
121143
|
|
|
@@ -121145,7 +121148,7 @@ class nxSplitter extends HTMLElement {
|
|
|
121145
121148
|
|
|
121146
121149
|
// prev 기준 상대 거리 (드래그 거리)
|
|
121147
121150
|
|
|
121148
|
-
|
|
121151
|
+
const dragRect = dragBar.getBoundingClientRect();
|
|
121149
121152
|
const delta = this.#mode === "h"
|
|
121150
121153
|
? dragRect.left - prev.offsetLeft
|
|
121151
121154
|
: dragRect.top - prev.offsetTop;
|
|
@@ -121162,8 +121165,7 @@ class nxSplitter extends HTMLElement {
|
|
|
121162
121165
|
next.style.height = `${totalSize - delta}px`;
|
|
121163
121166
|
}
|
|
121164
121167
|
|
|
121165
|
-
|
|
121166
|
-
window.removeEventListener("mouseup", onUp);
|
|
121168
|
+
|
|
121167
121169
|
dragBar.remove();
|
|
121168
121170
|
};
|
|
121169
121171
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -121130,7 +121130,10 @@ class nxSplitter extends HTMLElement {
|
|
|
121130
121130
|
|
|
121131
121131
|
const onUp = (e) => {
|
|
121132
121132
|
|
|
121133
|
-
|
|
121133
|
+
window.removeEventListener("mousemove", onMove);
|
|
121134
|
+
window.removeEventListener("mouseup", onUp);
|
|
121135
|
+
|
|
121136
|
+
|
|
121134
121137
|
|
|
121135
121138
|
|
|
121136
121139
|
|
|
@@ -121141,7 +121144,7 @@ class nxSplitter extends HTMLElement {
|
|
|
121141
121144
|
|
|
121142
121145
|
// prev 기준 상대 거리 (드래그 거리)
|
|
121143
121146
|
|
|
121144
|
-
|
|
121147
|
+
const dragRect = dragBar.getBoundingClientRect();
|
|
121145
121148
|
const delta = this.#mode === "h"
|
|
121146
121149
|
? dragRect.left - prev.offsetLeft
|
|
121147
121150
|
: dragRect.top - prev.offsetTop;
|
|
@@ -121158,8 +121161,7 @@ class nxSplitter extends HTMLElement {
|
|
|
121158
121161
|
next.style.height = `${totalSize - delta}px`;
|
|
121159
121162
|
}
|
|
121160
121163
|
|
|
121161
|
-
|
|
121162
|
-
window.removeEventListener("mouseup", onUp);
|
|
121164
|
+
|
|
121163
121165
|
dragBar.remove();
|
|
121164
121166
|
};
|
|
121165
121167
|
|
package/dist/nx/nxSplitter.js
CHANGED
|
@@ -89,7 +89,10 @@ class nxSplitter extends HTMLElement {
|
|
|
89
89
|
|
|
90
90
|
const onUp = (e) => {
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
window.removeEventListener("mousemove", onMove);
|
|
93
|
+
window.removeEventListener("mouseup", onUp);
|
|
94
|
+
|
|
95
|
+
|
|
93
96
|
|
|
94
97
|
|
|
95
98
|
|
|
@@ -100,7 +103,7 @@ class nxSplitter extends HTMLElement {
|
|
|
100
103
|
|
|
101
104
|
// prev 기준 상대 거리 (드래그 거리)
|
|
102
105
|
|
|
103
|
-
|
|
106
|
+
const dragRect = dragBar.getBoundingClientRect();
|
|
104
107
|
const delta = this.#mode === "h"
|
|
105
108
|
? dragRect.left - prev.offsetLeft
|
|
106
109
|
: dragRect.top - prev.offsetTop;
|
|
@@ -117,8 +120,7 @@ class nxSplitter extends HTMLElement {
|
|
|
117
120
|
next.style.height = `${totalSize - delta}px`;
|
|
118
121
|
}
|
|
119
122
|
|
|
120
|
-
|
|
121
|
-
window.removeEventListener("mouseup", onUp);
|
|
123
|
+
|
|
122
124
|
dragBar.remove();
|
|
123
125
|
};
|
|
124
126
|
|
package/package.json
CHANGED
package/src/nx/nxSplitter.js
CHANGED
|
@@ -89,7 +89,10 @@ class nxSplitter extends HTMLElement {
|
|
|
89
89
|
|
|
90
90
|
const onUp = (e) => {
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
window.removeEventListener("mousemove", onMove);
|
|
93
|
+
window.removeEventListener("mouseup", onUp);
|
|
94
|
+
|
|
95
|
+
|
|
93
96
|
|
|
94
97
|
|
|
95
98
|
|
|
@@ -100,7 +103,7 @@ class nxSplitter extends HTMLElement {
|
|
|
100
103
|
|
|
101
104
|
// prev 기준 상대 거리 (드래그 거리)
|
|
102
105
|
|
|
103
|
-
|
|
106
|
+
const dragRect = dragBar.getBoundingClientRect();
|
|
104
107
|
const delta = this.#mode === "h"
|
|
105
108
|
? dragRect.left - prev.offsetLeft
|
|
106
109
|
: dragRect.top - prev.offsetTop;
|
|
@@ -117,8 +120,7 @@ class nxSplitter extends HTMLElement {
|
|
|
117
120
|
next.style.height = `${totalSize - delta}px`;
|
|
118
121
|
}
|
|
119
122
|
|
|
120
|
-
|
|
121
|
-
window.removeEventListener("mouseup", onUp);
|
|
123
|
+
|
|
122
124
|
dragBar.remove();
|
|
123
125
|
};
|
|
124
126
|
|