ninegrid2 6.935.0 → 6.937.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 +9 -9
- package/dist/bundle.esm.js +9 -9
- package/dist/nx/nxTitle.js +9 -9
- package/package.json +1 -1
- package/src/nx/nxTitle.js +9 -9
package/dist/bundle.cjs.js
CHANGED
|
@@ -121758,7 +121758,7 @@ console.log(currentElement);
|
|
|
121758
121758
|
const caption = currentElement.caption;//.getAttribute('caption');
|
|
121759
121759
|
|
|
121760
121760
|
// 'group' 속성을 가진 메뉴 항목 찾기 (예: '자료관리')
|
|
121761
|
-
if (currentElement.
|
|
121761
|
+
if (currentElement.getAttribute('type') === "group") {
|
|
121762
121762
|
if (caption && !foundGroupParent) { // 이미 찾지 않은 경우에만 추가
|
|
121763
121763
|
tempPath.unshift(caption);
|
|
121764
121764
|
foundGroupParent = true;
|
|
@@ -121796,12 +121796,16 @@ console.log(path);
|
|
|
121796
121796
|
|
|
121797
121797
|
const htmlTmpl = document.createElement("template");
|
|
121798
121798
|
htmlTmpl.innerHTML = `
|
|
121799
|
-
|
|
121800
|
-
|
|
121801
|
-
|
|
121802
|
-
|
|
121799
|
+
<style>
|
|
121800
|
+
@import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/nxTitle.css";
|
|
121801
|
+
${ninegrid.getCustomPath(this,"nxTitle.css")}
|
|
121802
|
+
</style>
|
|
121803
121803
|
|
|
121804
121804
|
<div class="wrapper">
|
|
121805
|
+
<div class="title-wrapper">
|
|
121806
|
+
<i class="title-icon"></i>
|
|
121807
|
+
<span class="title-text">${caption}</span>
|
|
121808
|
+
</div>
|
|
121805
121809
|
<div class="breadcrumb-container">
|
|
121806
121810
|
${this.#breadcrumbPath.map((item, index) => `
|
|
121807
121811
|
<span class="breadcrumb-item ${index === this.#breadcrumbPath.length - 1 ? 'breadcrumb-current' : ''}">
|
|
@@ -121810,10 +121814,6 @@ console.log(path);
|
|
|
121810
121814
|
${index < this.#breadcrumbPath.length - 1 ? '<span class="breadcrumb-separator"> > </span>' : ''}
|
|
121811
121815
|
`).join('')}
|
|
121812
121816
|
</div>
|
|
121813
|
-
<div class="title-wrapper">
|
|
121814
|
-
<i class="title-icon"></i>
|
|
121815
|
-
<span class="title-text">${caption}</span>
|
|
121816
|
-
</div>
|
|
121817
121817
|
</div>
|
|
121818
121818
|
`;
|
|
121819
121819
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -121754,7 +121754,7 @@ console.log(currentElement);
|
|
|
121754
121754
|
const caption = currentElement.caption;//.getAttribute('caption');
|
|
121755
121755
|
|
|
121756
121756
|
// 'group' 속성을 가진 메뉴 항목 찾기 (예: '자료관리')
|
|
121757
|
-
if (currentElement.
|
|
121757
|
+
if (currentElement.getAttribute('type') === "group") {
|
|
121758
121758
|
if (caption && !foundGroupParent) { // 이미 찾지 않은 경우에만 추가
|
|
121759
121759
|
tempPath.unshift(caption);
|
|
121760
121760
|
foundGroupParent = true;
|
|
@@ -121792,12 +121792,16 @@ console.log(path);
|
|
|
121792
121792
|
|
|
121793
121793
|
const htmlTmpl = document.createElement("template");
|
|
121794
121794
|
htmlTmpl.innerHTML = `
|
|
121795
|
-
|
|
121796
|
-
|
|
121797
|
-
|
|
121798
|
-
|
|
121795
|
+
<style>
|
|
121796
|
+
@import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/nxTitle.css";
|
|
121797
|
+
${ninegrid.getCustomPath(this,"nxTitle.css")}
|
|
121798
|
+
</style>
|
|
121799
121799
|
|
|
121800
121800
|
<div class="wrapper">
|
|
121801
|
+
<div class="title-wrapper">
|
|
121802
|
+
<i class="title-icon"></i>
|
|
121803
|
+
<span class="title-text">${caption}</span>
|
|
121804
|
+
</div>
|
|
121801
121805
|
<div class="breadcrumb-container">
|
|
121802
121806
|
${this.#breadcrumbPath.map((item, index) => `
|
|
121803
121807
|
<span class="breadcrumb-item ${index === this.#breadcrumbPath.length - 1 ? 'breadcrumb-current' : ''}">
|
|
@@ -121806,10 +121810,6 @@ console.log(path);
|
|
|
121806
121810
|
${index < this.#breadcrumbPath.length - 1 ? '<span class="breadcrumb-separator"> > </span>' : ''}
|
|
121807
121811
|
`).join('')}
|
|
121808
121812
|
</div>
|
|
121809
|
-
<div class="title-wrapper">
|
|
121810
|
-
<i class="title-icon"></i>
|
|
121811
|
-
<span class="title-text">${caption}</span>
|
|
121812
|
-
</div>
|
|
121813
121813
|
</div>
|
|
121814
121814
|
`;
|
|
121815
121815
|
|
package/dist/nx/nxTitle.js
CHANGED
|
@@ -78,7 +78,7 @@ console.log(currentElement);
|
|
|
78
78
|
const caption = currentElement.caption;//.getAttribute('caption');
|
|
79
79
|
|
|
80
80
|
// 'group' 속성을 가진 메뉴 항목 찾기 (예: '자료관리')
|
|
81
|
-
if (currentElement.
|
|
81
|
+
if (currentElement.getAttribute('type') === "group") {
|
|
82
82
|
if (caption && !foundGroupParent) { // 이미 찾지 않은 경우에만 추가
|
|
83
83
|
tempPath.unshift(caption);
|
|
84
84
|
foundGroupParent = true;
|
|
@@ -131,12 +131,16 @@ console.log(path);
|
|
|
131
131
|
|
|
132
132
|
const htmlTmpl = document.createElement("template");
|
|
133
133
|
htmlTmpl.innerHTML = `
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
134
|
+
<style>
|
|
135
|
+
@import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/nxTitle.css";
|
|
136
|
+
${ninegrid.getCustomPath(this,"nxTitle.css")}
|
|
137
|
+
</style>
|
|
138
138
|
|
|
139
139
|
<div class="wrapper">
|
|
140
|
+
<div class="title-wrapper">
|
|
141
|
+
<i class="title-icon"></i>
|
|
142
|
+
<span class="title-text">${caption}</span>
|
|
143
|
+
</div>
|
|
140
144
|
<div class="breadcrumb-container">
|
|
141
145
|
${this.#breadcrumbPath.map((item, index) => `
|
|
142
146
|
<span class="breadcrumb-item ${index === this.#breadcrumbPath.length - 1 ? 'breadcrumb-current' : ''}">
|
|
@@ -145,10 +149,6 @@ console.log(path);
|
|
|
145
149
|
${index < this.#breadcrumbPath.length - 1 ? '<span class="breadcrumb-separator"> > </span>' : ''}
|
|
146
150
|
`).join('')}
|
|
147
151
|
</div>
|
|
148
|
-
<div class="title-wrapper">
|
|
149
|
-
<i class="title-icon"></i>
|
|
150
|
-
<span class="title-text">${caption}</span>
|
|
151
|
-
</div>
|
|
152
152
|
</div>
|
|
153
153
|
`;
|
|
154
154
|
|
package/package.json
CHANGED
package/src/nx/nxTitle.js
CHANGED
|
@@ -78,7 +78,7 @@ console.log(currentElement);
|
|
|
78
78
|
const caption = currentElement.caption;//.getAttribute('caption');
|
|
79
79
|
|
|
80
80
|
// 'group' 속성을 가진 메뉴 항목 찾기 (예: '자료관리')
|
|
81
|
-
if (currentElement.
|
|
81
|
+
if (currentElement.getAttribute('type') === "group") {
|
|
82
82
|
if (caption && !foundGroupParent) { // 이미 찾지 않은 경우에만 추가
|
|
83
83
|
tempPath.unshift(caption);
|
|
84
84
|
foundGroupParent = true;
|
|
@@ -131,12 +131,16 @@ console.log(path);
|
|
|
131
131
|
|
|
132
132
|
const htmlTmpl = document.createElement("template");
|
|
133
133
|
htmlTmpl.innerHTML = `
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
134
|
+
<style>
|
|
135
|
+
@import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/nxTitle.css";
|
|
136
|
+
${ninegrid.getCustomPath(this,"nxTitle.css")}
|
|
137
|
+
</style>
|
|
138
138
|
|
|
139
139
|
<div class="wrapper">
|
|
140
|
+
<div class="title-wrapper">
|
|
141
|
+
<i class="title-icon"></i>
|
|
142
|
+
<span class="title-text">${caption}</span>
|
|
143
|
+
</div>
|
|
140
144
|
<div class="breadcrumb-container">
|
|
141
145
|
${this.#breadcrumbPath.map((item, index) => `
|
|
142
146
|
<span class="breadcrumb-item ${index === this.#breadcrumbPath.length - 1 ? 'breadcrumb-current' : ''}">
|
|
@@ -145,10 +149,6 @@ console.log(path);
|
|
|
145
149
|
${index < this.#breadcrumbPath.length - 1 ? '<span class="breadcrumb-separator"> > </span>' : ''}
|
|
146
150
|
`).join('')}
|
|
147
151
|
</div>
|
|
148
|
-
<div class="title-wrapper">
|
|
149
|
-
<i class="title-icon"></i>
|
|
150
|
-
<span class="title-text">${caption}</span>
|
|
151
|
-
</div>
|
|
152
152
|
</div>
|
|
153
153
|
`;
|
|
154
154
|
|