ninegrid2 6.706.0 → 6.708.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 -6
- package/dist/bundle.esm.js +6 -6
- package/dist/nx/nxSplitter.js +6 -6
- package/package.json +1 -1
- package/src/nx/nxSplitter.js +6 -6
package/dist/bundle.cjs.js
CHANGED
|
@@ -121068,6 +121068,10 @@ class nxSplitter extends HTMLElement {
|
|
|
121068
121068
|
};
|
|
121069
121069
|
|
|
121070
121070
|
#startDrag = (e) => {
|
|
121071
|
+
|
|
121072
|
+
e.preventDefault(); // 기본 drag/select 동작 제거
|
|
121073
|
+
e.stopPropagation();
|
|
121074
|
+
|
|
121071
121075
|
//const mode = this.#mode;
|
|
121072
121076
|
const dragBar = document.createElement("div");
|
|
121073
121077
|
dragBar.className = `nx-splitter-drag-bar-${this.#mode}`;
|
|
@@ -121149,12 +121153,8 @@ class nxSplitter extends HTMLElement {
|
|
|
121149
121153
|
? e.clientX - prev.getBoundingClientRect().left
|
|
121150
121154
|
: e.clientY - prev.getBoundingClientRect().top;
|
|
121151
121155
|
|
|
121152
|
-
|
|
121153
|
-
|
|
121154
|
-
100/10/90
|
|
121155
|
-
totalSize = 190;
|
|
121156
|
-
delta = 50;
|
|
121157
|
-
*/
|
|
121156
|
+
prev.style.flex = "none";
|
|
121157
|
+
next.style.flex = "none";
|
|
121158
121158
|
|
|
121159
121159
|
// 📌 사이즈 적용
|
|
121160
121160
|
if (this.#mode === "h") {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -121064,6 +121064,10 @@ class nxSplitter extends HTMLElement {
|
|
|
121064
121064
|
};
|
|
121065
121065
|
|
|
121066
121066
|
#startDrag = (e) => {
|
|
121067
|
+
|
|
121068
|
+
e.preventDefault(); // 기본 drag/select 동작 제거
|
|
121069
|
+
e.stopPropagation();
|
|
121070
|
+
|
|
121067
121071
|
//const mode = this.#mode;
|
|
121068
121072
|
const dragBar = document.createElement("div");
|
|
121069
121073
|
dragBar.className = `nx-splitter-drag-bar-${this.#mode}`;
|
|
@@ -121145,12 +121149,8 @@ class nxSplitter extends HTMLElement {
|
|
|
121145
121149
|
? e.clientX - prev.getBoundingClientRect().left
|
|
121146
121150
|
: e.clientY - prev.getBoundingClientRect().top;
|
|
121147
121151
|
|
|
121148
|
-
|
|
121149
|
-
|
|
121150
|
-
100/10/90
|
|
121151
|
-
totalSize = 190;
|
|
121152
|
-
delta = 50;
|
|
121153
|
-
*/
|
|
121152
|
+
prev.style.flex = "none";
|
|
121153
|
+
next.style.flex = "none";
|
|
121154
121154
|
|
|
121155
121155
|
// 📌 사이즈 적용
|
|
121156
121156
|
if (this.#mode === "h") {
|
package/dist/nx/nxSplitter.js
CHANGED
|
@@ -23,6 +23,10 @@ class nxSplitter extends HTMLElement {
|
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
#startDrag = (e) => {
|
|
26
|
+
|
|
27
|
+
e.preventDefault(); // 기본 drag/select 동작 제거
|
|
28
|
+
e.stopPropagation();
|
|
29
|
+
|
|
26
30
|
//const mode = this.#mode;
|
|
27
31
|
const dragBar = document.createElement("div");
|
|
28
32
|
dragBar.className = `nx-splitter-drag-bar-${this.#mode}`;
|
|
@@ -104,12 +108,8 @@ class nxSplitter extends HTMLElement {
|
|
|
104
108
|
? e.clientX - prev.getBoundingClientRect().left
|
|
105
109
|
: e.clientY - prev.getBoundingClientRect().top;
|
|
106
110
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
100/10/90
|
|
110
|
-
totalSize = 190;
|
|
111
|
-
delta = 50;
|
|
112
|
-
*/
|
|
111
|
+
prev.style.flex = "none";
|
|
112
|
+
next.style.flex = "none";
|
|
113
113
|
|
|
114
114
|
// 📌 사이즈 적용
|
|
115
115
|
if (this.#mode === "h") {
|
package/package.json
CHANGED
package/src/nx/nxSplitter.js
CHANGED
|
@@ -23,6 +23,10 @@ class nxSplitter extends HTMLElement {
|
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
#startDrag = (e) => {
|
|
26
|
+
|
|
27
|
+
e.preventDefault(); // 기본 drag/select 동작 제거
|
|
28
|
+
e.stopPropagation();
|
|
29
|
+
|
|
26
30
|
//const mode = this.#mode;
|
|
27
31
|
const dragBar = document.createElement("div");
|
|
28
32
|
dragBar.className = `nx-splitter-drag-bar-${this.#mode}`;
|
|
@@ -104,12 +108,8 @@ class nxSplitter extends HTMLElement {
|
|
|
104
108
|
? e.clientX - prev.getBoundingClientRect().left
|
|
105
109
|
: e.clientY - prev.getBoundingClientRect().top;
|
|
106
110
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
100/10/90
|
|
110
|
-
totalSize = 190;
|
|
111
|
-
delta = 50;
|
|
112
|
-
*/
|
|
111
|
+
prev.style.flex = "none";
|
|
112
|
+
next.style.flex = "none";
|
|
113
113
|
|
|
114
114
|
// 📌 사이즈 적용
|
|
115
115
|
if (this.#mode === "h") {
|