ninegrid2 6.1136.0 → 6.1138.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 +3 -12
- package/dist/bundle.esm.js +3 -12
- package/dist/nx/_nxDiv.js +1 -2
- package/dist/nx/nxButtons.js +2 -10
- package/package.json +1 -1
- package/src/nx/_nxDiv.js +1 -2
- package/src/nx/nxButtons.js +2 -10
package/dist/bundle.cjs.js
CHANGED
|
@@ -122011,6 +122011,7 @@ customElements.define("nx-panel", nxPanel);
|
|
|
122011
122011
|
|
|
122012
122012
|
class nxDiv extends HTMLElement
|
|
122013
122013
|
{
|
|
122014
|
+
originContents = '';
|
|
122014
122015
|
#isInitialized = false;
|
|
122015
122016
|
|
|
122016
122017
|
constructor () {
|
|
@@ -122043,8 +122044,6 @@ class nxDiv extends HTMLElement
|
|
|
122043
122044
|
|
|
122044
122045
|
this.originContents = this.innerHTML.trim();
|
|
122045
122046
|
this.innerHTML = ""; // 기존 내부 HTML 제거
|
|
122046
|
-
|
|
122047
|
-
console.log(this.originContents);
|
|
122048
122047
|
};
|
|
122049
122048
|
}
|
|
122050
122049
|
|
|
@@ -122057,7 +122056,7 @@ class nxButtons extends nxDiv {
|
|
|
122057
122056
|
}
|
|
122058
122057
|
|
|
122059
122058
|
connectedCallback() {
|
|
122060
|
-
if (!super.connectedCallback(
|
|
122059
|
+
if (!super.connectedCallback()) return;
|
|
122061
122060
|
|
|
122062
122061
|
console.log("==========", "child.connectedCallback");
|
|
122063
122062
|
|
|
@@ -122065,14 +122064,6 @@ class nxButtons extends nxDiv {
|
|
|
122065
122064
|
};
|
|
122066
122065
|
|
|
122067
122066
|
#init = () => {
|
|
122068
|
-
/**
|
|
122069
|
-
const contents = this.innerHTML.trim();
|
|
122070
|
-
|
|
122071
|
-
this.innerHTML = ""; // 기존 내부 HTML 제거
|
|
122072
|
-
*/
|
|
122073
|
-
|
|
122074
|
-
console.log(super.originContents);
|
|
122075
|
-
|
|
122076
122067
|
const htmlTmpl = document.createElement("template");
|
|
122077
122068
|
htmlTmpl.innerHTML = `
|
|
122078
122069
|
<style>
|
|
@@ -122080,7 +122071,7 @@ class nxButtons extends nxDiv {
|
|
|
122080
122071
|
${ninegrid.getCustomPath(this,"nxButtons.css")}
|
|
122081
122072
|
</style>
|
|
122082
122073
|
|
|
122083
|
-
${
|
|
122074
|
+
${this.originContents}
|
|
122084
122075
|
`;
|
|
122085
122076
|
|
|
122086
122077
|
this.shadowRoot.appendChild(htmlTmpl.content.cloneNode(true));
|
package/dist/bundle.esm.js
CHANGED
|
@@ -122007,6 +122007,7 @@ customElements.define("nx-panel", nxPanel);
|
|
|
122007
122007
|
|
|
122008
122008
|
class nxDiv extends HTMLElement
|
|
122009
122009
|
{
|
|
122010
|
+
originContents = '';
|
|
122010
122011
|
#isInitialized = false;
|
|
122011
122012
|
|
|
122012
122013
|
constructor () {
|
|
@@ -122039,8 +122040,6 @@ class nxDiv extends HTMLElement
|
|
|
122039
122040
|
|
|
122040
122041
|
this.originContents = this.innerHTML.trim();
|
|
122041
122042
|
this.innerHTML = ""; // 기존 내부 HTML 제거
|
|
122042
|
-
|
|
122043
|
-
console.log(this.originContents);
|
|
122044
122043
|
};
|
|
122045
122044
|
}
|
|
122046
122045
|
|
|
@@ -122053,7 +122052,7 @@ class nxButtons extends nxDiv {
|
|
|
122053
122052
|
}
|
|
122054
122053
|
|
|
122055
122054
|
connectedCallback() {
|
|
122056
|
-
if (!super.connectedCallback(
|
|
122055
|
+
if (!super.connectedCallback()) return;
|
|
122057
122056
|
|
|
122058
122057
|
console.log("==========", "child.connectedCallback");
|
|
122059
122058
|
|
|
@@ -122061,14 +122060,6 @@ class nxButtons extends nxDiv {
|
|
|
122061
122060
|
};
|
|
122062
122061
|
|
|
122063
122062
|
#init = () => {
|
|
122064
|
-
/**
|
|
122065
|
-
const contents = this.innerHTML.trim();
|
|
122066
|
-
|
|
122067
|
-
this.innerHTML = ""; // 기존 내부 HTML 제거
|
|
122068
|
-
*/
|
|
122069
|
-
|
|
122070
|
-
console.log(super.originContents);
|
|
122071
|
-
|
|
122072
122063
|
const htmlTmpl = document.createElement("template");
|
|
122073
122064
|
htmlTmpl.innerHTML = `
|
|
122074
122065
|
<style>
|
|
@@ -122076,7 +122067,7 @@ class nxButtons extends nxDiv {
|
|
|
122076
122067
|
${ninegrid.getCustomPath(this,"nxButtons.css")}
|
|
122077
122068
|
</style>
|
|
122078
122069
|
|
|
122079
|
-
${
|
|
122070
|
+
${this.originContents}
|
|
122080
122071
|
`;
|
|
122081
122072
|
|
|
122082
122073
|
this.shadowRoot.appendChild(htmlTmpl.content.cloneNode(true));
|
package/dist/nx/_nxDiv.js
CHANGED
|
@@ -2,6 +2,7 @@ import ninegrid from "../index.js";
|
|
|
2
2
|
|
|
3
3
|
export class nxDiv extends HTMLElement
|
|
4
4
|
{
|
|
5
|
+
originContents = '';
|
|
5
6
|
#isInitialized = false;
|
|
6
7
|
|
|
7
8
|
constructor () {
|
|
@@ -34,7 +35,5 @@ export class nxDiv extends HTMLElement
|
|
|
34
35
|
|
|
35
36
|
this.originContents = this.innerHTML.trim();
|
|
36
37
|
this.innerHTML = ""; // 기존 내부 HTML 제거
|
|
37
|
-
|
|
38
|
-
console.log(this.originContents);
|
|
39
38
|
};
|
|
40
39
|
}
|
package/dist/nx/nxButtons.js
CHANGED
|
@@ -10,7 +10,7 @@ class nxButtons extends nxDiv {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
connectedCallback() {
|
|
13
|
-
if (!super.connectedCallback(
|
|
13
|
+
if (!super.connectedCallback()) return;
|
|
14
14
|
|
|
15
15
|
console.log("==========", "child.connectedCallback");
|
|
16
16
|
|
|
@@ -18,14 +18,6 @@ class nxButtons extends nxDiv {
|
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
#init = () => {
|
|
21
|
-
/**
|
|
22
|
-
const contents = this.innerHTML.trim();
|
|
23
|
-
|
|
24
|
-
this.innerHTML = ""; // 기존 내부 HTML 제거
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
console.log(super.originContents);
|
|
28
|
-
|
|
29
21
|
const htmlTmpl = document.createElement("template");
|
|
30
22
|
htmlTmpl.innerHTML = `
|
|
31
23
|
<style>
|
|
@@ -33,7 +25,7 @@ class nxButtons extends nxDiv {
|
|
|
33
25
|
${ninegrid.getCustomPath(this,"nxButtons.css")}
|
|
34
26
|
</style>
|
|
35
27
|
|
|
36
|
-
${
|
|
28
|
+
${this.originContents}
|
|
37
29
|
`;
|
|
38
30
|
|
|
39
31
|
this.shadowRoot.appendChild(htmlTmpl.content.cloneNode(true));
|
package/package.json
CHANGED
package/src/nx/_nxDiv.js
CHANGED
|
@@ -2,6 +2,7 @@ import ninegrid from "../index.js";
|
|
|
2
2
|
|
|
3
3
|
export class nxDiv extends HTMLElement
|
|
4
4
|
{
|
|
5
|
+
originContents = '';
|
|
5
6
|
#isInitialized = false;
|
|
6
7
|
|
|
7
8
|
constructor () {
|
|
@@ -34,7 +35,5 @@ export class nxDiv extends HTMLElement
|
|
|
34
35
|
|
|
35
36
|
this.originContents = this.innerHTML.trim();
|
|
36
37
|
this.innerHTML = ""; // 기존 내부 HTML 제거
|
|
37
|
-
|
|
38
|
-
console.log(this.originContents);
|
|
39
38
|
};
|
|
40
39
|
}
|
package/src/nx/nxButtons.js
CHANGED
|
@@ -10,7 +10,7 @@ class nxButtons extends nxDiv {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
connectedCallback() {
|
|
13
|
-
if (!super.connectedCallback(
|
|
13
|
+
if (!super.connectedCallback()) return;
|
|
14
14
|
|
|
15
15
|
console.log("==========", "child.connectedCallback");
|
|
16
16
|
|
|
@@ -18,14 +18,6 @@ class nxButtons extends nxDiv {
|
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
#init = () => {
|
|
21
|
-
/**
|
|
22
|
-
const contents = this.innerHTML.trim();
|
|
23
|
-
|
|
24
|
-
this.innerHTML = ""; // 기존 내부 HTML 제거
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
console.log(super.originContents);
|
|
28
|
-
|
|
29
21
|
const htmlTmpl = document.createElement("template");
|
|
30
22
|
htmlTmpl.innerHTML = `
|
|
31
23
|
<style>
|
|
@@ -33,7 +25,7 @@ class nxButtons extends nxDiv {
|
|
|
33
25
|
${ninegrid.getCustomPath(this,"nxButtons.css")}
|
|
34
26
|
</style>
|
|
35
27
|
|
|
36
|
-
${
|
|
28
|
+
${this.originContents}
|
|
37
29
|
`;
|
|
38
30
|
|
|
39
31
|
this.shadowRoot.appendChild(htmlTmpl.content.cloneNode(true));
|