ninegrid2 6.919.0 → 6.922.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 +12 -3
- package/dist/bundle.esm.js +12 -3
- package/dist/nx/nxTitle.js +10 -2
- package/dist/utils/ninegrid.js +2 -1
- package/package.json +1 -1
- package/src/nx/nxTitle.js +10 -2
- package/src/utils/ninegrid.js +2 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -11161,10 +11161,11 @@ class ninegrid {
|
|
|
11161
11161
|
let attempts = 0;
|
|
11162
11162
|
const interval = setInterval(() => {
|
|
11163
11163
|
const el = ninegrid.querySelector(selector, root);
|
|
11164
|
+
|
|
11164
11165
|
if (el) {
|
|
11165
11166
|
//console.log("InnerHTML 확인됨, init() 실행 가능!");
|
|
11166
11167
|
clearInterval(interval);
|
|
11167
|
-
resolve();
|
|
11168
|
+
resolve(el);
|
|
11168
11169
|
} else {
|
|
11169
11170
|
attempts++;
|
|
11170
11171
|
//console.log(`InnerHTML이 비어 있음, ${attempts}/${maxAttempts}번 재시도`);
|
|
@@ -121687,12 +121688,20 @@ class nxTitle extends HTMLElement {
|
|
|
121687
121688
|
|
|
121688
121689
|
|
|
121689
121690
|
#init = () => {
|
|
121691
|
+
/**
|
|
121690
121692
|
console.log("111");
|
|
121691
121693
|
const activeMenuItem = ninegrid.delayQuerySelector('nx-side-menu-item.active');
|
|
121692
121694
|
console.log(activeMenuItem);
|
|
121693
121695
|
|
|
121694
121696
|
this.#generateBreadcrumb(); // 빵 부스러기 데이터 생성 및 최종 렌더링 트리거
|
|
121695
121697
|
this.#renderer(); // 초기 렌더링 (빵 부스러기 데이터는 아직 없음)
|
|
121698
|
+
*/
|
|
121699
|
+
ninegrid.delayQuerySelector('nx-side-menu-item.active')
|
|
121700
|
+
.then((el) => {
|
|
121701
|
+
console.log(el);
|
|
121702
|
+
this.#generateBreadcrumb(); // 빵 부스러기 데이터 생성 및 최종 렌더링 트리거
|
|
121703
|
+
this.#renderer(); // 초기 렌더링 (빵 부스러기 데이터는 아직 없음)
|
|
121704
|
+
});
|
|
121696
121705
|
};
|
|
121697
121706
|
|
|
121698
121707
|
// Breadcrumb 경로를 구성하는 비공개 메서드
|
|
@@ -121710,8 +121719,8 @@ class nxTitle extends HTMLElement {
|
|
|
121710
121719
|
const tempPath = []; // 임시 경로를 저장하여 역순으로 처리
|
|
121711
121720
|
|
|
121712
121721
|
// 1. 현재 활성화된 메뉴 항목의 캡션을 추가 (예: '심의자료')
|
|
121713
|
-
const currentActiveCaption = activeMenuItem.
|
|
121714
|
-
console.log(
|
|
121722
|
+
const currentActiveCaption = activeMenuItem.caption;
|
|
121723
|
+
console.log(activeMenuItem.caption);
|
|
121715
121724
|
|
|
121716
121725
|
if (currentActiveCaption) {
|
|
121717
121726
|
tempPath.unshift(currentActiveCaption); // 맨 앞에 추가
|
package/dist/bundle.esm.js
CHANGED
|
@@ -11157,10 +11157,11 @@ class ninegrid {
|
|
|
11157
11157
|
let attempts = 0;
|
|
11158
11158
|
const interval = setInterval(() => {
|
|
11159
11159
|
const el = ninegrid.querySelector(selector, root);
|
|
11160
|
+
|
|
11160
11161
|
if (el) {
|
|
11161
11162
|
//console.log("InnerHTML 확인됨, init() 실행 가능!");
|
|
11162
11163
|
clearInterval(interval);
|
|
11163
|
-
resolve();
|
|
11164
|
+
resolve(el);
|
|
11164
11165
|
} else {
|
|
11165
11166
|
attempts++;
|
|
11166
11167
|
//console.log(`InnerHTML이 비어 있음, ${attempts}/${maxAttempts}번 재시도`);
|
|
@@ -121683,12 +121684,20 @@ class nxTitle extends HTMLElement {
|
|
|
121683
121684
|
|
|
121684
121685
|
|
|
121685
121686
|
#init = () => {
|
|
121687
|
+
/**
|
|
121686
121688
|
console.log("111");
|
|
121687
121689
|
const activeMenuItem = ninegrid.delayQuerySelector('nx-side-menu-item.active');
|
|
121688
121690
|
console.log(activeMenuItem);
|
|
121689
121691
|
|
|
121690
121692
|
this.#generateBreadcrumb(); // 빵 부스러기 데이터 생성 및 최종 렌더링 트리거
|
|
121691
121693
|
this.#renderer(); // 초기 렌더링 (빵 부스러기 데이터는 아직 없음)
|
|
121694
|
+
*/
|
|
121695
|
+
ninegrid.delayQuerySelector('nx-side-menu-item.active')
|
|
121696
|
+
.then((el) => {
|
|
121697
|
+
console.log(el);
|
|
121698
|
+
this.#generateBreadcrumb(); // 빵 부스러기 데이터 생성 및 최종 렌더링 트리거
|
|
121699
|
+
this.#renderer(); // 초기 렌더링 (빵 부스러기 데이터는 아직 없음)
|
|
121700
|
+
});
|
|
121692
121701
|
};
|
|
121693
121702
|
|
|
121694
121703
|
// Breadcrumb 경로를 구성하는 비공개 메서드
|
|
@@ -121706,8 +121715,8 @@ class nxTitle extends HTMLElement {
|
|
|
121706
121715
|
const tempPath = []; // 임시 경로를 저장하여 역순으로 처리
|
|
121707
121716
|
|
|
121708
121717
|
// 1. 현재 활성화된 메뉴 항목의 캡션을 추가 (예: '심의자료')
|
|
121709
|
-
const currentActiveCaption = activeMenuItem.
|
|
121710
|
-
console.log(
|
|
121718
|
+
const currentActiveCaption = activeMenuItem.caption;
|
|
121719
|
+
console.log(activeMenuItem.caption);
|
|
121711
121720
|
|
|
121712
121721
|
if (currentActiveCaption) {
|
|
121713
121722
|
tempPath.unshift(currentActiveCaption); // 맨 앞에 추가
|
package/dist/nx/nxTitle.js
CHANGED
|
@@ -20,12 +20,20 @@ class nxTitle extends HTMLElement {
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
#init = () => {
|
|
23
|
+
/**
|
|
23
24
|
console.log("111");
|
|
24
25
|
const activeMenuItem = ninegrid.delayQuerySelector('nx-side-menu-item.active');
|
|
25
26
|
console.log(activeMenuItem);
|
|
26
27
|
|
|
27
28
|
this.#generateBreadcrumb(); // 빵 부스러기 데이터 생성 및 최종 렌더링 트리거
|
|
28
29
|
this.#renderer(); // 초기 렌더링 (빵 부스러기 데이터는 아직 없음)
|
|
30
|
+
*/
|
|
31
|
+
ninegrid.delayQuerySelector('nx-side-menu-item.active')
|
|
32
|
+
.then((el) => {
|
|
33
|
+
console.log(el);
|
|
34
|
+
this.#generateBreadcrumb(); // 빵 부스러기 데이터 생성 및 최종 렌더링 트리거
|
|
35
|
+
this.#renderer(); // 초기 렌더링 (빵 부스러기 데이터는 아직 없음)
|
|
36
|
+
});
|
|
29
37
|
};
|
|
30
38
|
|
|
31
39
|
// Breadcrumb 경로를 구성하는 비공개 메서드
|
|
@@ -43,8 +51,8 @@ class nxTitle extends HTMLElement {
|
|
|
43
51
|
const tempPath = []; // 임시 경로를 저장하여 역순으로 처리
|
|
44
52
|
|
|
45
53
|
// 1. 현재 활성화된 메뉴 항목의 캡션을 추가 (예: '심의자료')
|
|
46
|
-
const currentActiveCaption = activeMenuItem.
|
|
47
|
-
console.log(
|
|
54
|
+
const currentActiveCaption = activeMenuItem.caption;
|
|
55
|
+
console.log(activeMenuItem.caption);
|
|
48
56
|
|
|
49
57
|
if (currentActiveCaption) {
|
|
50
58
|
tempPath.unshift(currentActiveCaption); // 맨 앞에 추가
|
package/dist/utils/ninegrid.js
CHANGED
|
@@ -294,10 +294,11 @@ export class ninegrid {
|
|
|
294
294
|
let attempts = 0;
|
|
295
295
|
const interval = setInterval(() => {
|
|
296
296
|
const el = ninegrid.querySelector(selector, root);
|
|
297
|
+
|
|
297
298
|
if (el) {
|
|
298
299
|
//console.log("InnerHTML 확인됨, init() 실행 가능!");
|
|
299
300
|
clearInterval(interval);
|
|
300
|
-
resolve();
|
|
301
|
+
resolve(el);
|
|
301
302
|
} else {
|
|
302
303
|
attempts++;
|
|
303
304
|
//console.log(`InnerHTML이 비어 있음, ${attempts}/${maxAttempts}번 재시도`);
|
package/package.json
CHANGED
package/src/nx/nxTitle.js
CHANGED
|
@@ -20,12 +20,20 @@ class nxTitle extends HTMLElement {
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
#init = () => {
|
|
23
|
+
/**
|
|
23
24
|
console.log("111");
|
|
24
25
|
const activeMenuItem = ninegrid.delayQuerySelector('nx-side-menu-item.active');
|
|
25
26
|
console.log(activeMenuItem);
|
|
26
27
|
|
|
27
28
|
this.#generateBreadcrumb(); // 빵 부스러기 데이터 생성 및 최종 렌더링 트리거
|
|
28
29
|
this.#renderer(); // 초기 렌더링 (빵 부스러기 데이터는 아직 없음)
|
|
30
|
+
*/
|
|
31
|
+
ninegrid.delayQuerySelector('nx-side-menu-item.active')
|
|
32
|
+
.then((el) => {
|
|
33
|
+
console.log(el);
|
|
34
|
+
this.#generateBreadcrumb(); // 빵 부스러기 데이터 생성 및 최종 렌더링 트리거
|
|
35
|
+
this.#renderer(); // 초기 렌더링 (빵 부스러기 데이터는 아직 없음)
|
|
36
|
+
});
|
|
29
37
|
};
|
|
30
38
|
|
|
31
39
|
// Breadcrumb 경로를 구성하는 비공개 메서드
|
|
@@ -43,8 +51,8 @@ class nxTitle extends HTMLElement {
|
|
|
43
51
|
const tempPath = []; // 임시 경로를 저장하여 역순으로 처리
|
|
44
52
|
|
|
45
53
|
// 1. 현재 활성화된 메뉴 항목의 캡션을 추가 (예: '심의자료')
|
|
46
|
-
const currentActiveCaption = activeMenuItem.
|
|
47
|
-
console.log(
|
|
54
|
+
const currentActiveCaption = activeMenuItem.caption;
|
|
55
|
+
console.log(activeMenuItem.caption);
|
|
48
56
|
|
|
49
57
|
if (currentActiveCaption) {
|
|
50
58
|
tempPath.unshift(currentActiveCaption); // 맨 앞에 추가
|
package/src/utils/ninegrid.js
CHANGED
|
@@ -294,10 +294,11 @@ export class ninegrid {
|
|
|
294
294
|
let attempts = 0;
|
|
295
295
|
const interval = setInterval(() => {
|
|
296
296
|
const el = ninegrid.querySelector(selector, root);
|
|
297
|
+
|
|
297
298
|
if (el) {
|
|
298
299
|
//console.log("InnerHTML 확인됨, init() 실행 가능!");
|
|
299
300
|
clearInterval(interval);
|
|
300
|
-
resolve();
|
|
301
|
+
resolve(el);
|
|
301
302
|
} else {
|
|
302
303
|
attempts++;
|
|
303
304
|
//console.log(`InnerHTML이 비어 있음, ${attempts}/${maxAttempts}번 재시도`);
|