@nine-lab/nine-mu 0.1.315 → 0.1.317

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nine-lab/nine-mu",
3
- "version": "0.1.315",
3
+ "version": "0.1.317",
4
4
  "description": "AI-Driven Full-Stack Code Fabrication Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/nine-mu.umd.js",
@@ -74,23 +74,33 @@ export class NotificationHandler {
74
74
  * 최종 조립이 끝나 시그널이 도달했을 때 딱 한 번 팝업을 열어 일괄 주입
75
75
  */
76
76
  #openDiffPopup = () => {
77
+ trace.log("1111111");
77
78
  if (this.#collectedFiles.length === 0) return;
78
79
 
79
- const oldPopup = this.#owner.shadowRoot.querySelector('nine-diff-popup');
80
- if (oldPopup) {
81
- oldPopup.remove();
80
+ const $oldPopup = this.#owner.shadowRoot.querySelector('nine-diff-popup');
81
+ if ($oldPopup) {
82
+ $oldPopup.remove();
82
83
  }
83
84
 
85
+ trace.log("222222");
84
86
  // DOM 상에 싱글톤 팝업 인스턴스 레이아웃 추출 및 빌드
85
87
 
86
88
  const $popup = document.createElement('nine-diff-popup');
87
89
  $popup.setAttribute('package-name', this.#owner.getAttribute('package-name') || '');
88
- document.body.appendChild($popup);
90
+
91
+ trace.log("33333");
92
+
93
+ const container = this.#owner.shadowRoot.querySelector('.wrapper') || this.#owner.shadowRoot;
94
+ container.appendChild($diffPopup);
95
+ //document.body.appendChild($popup);
96
+
97
+ trace.log("444444");
89
98
 
90
99
  // 팝업 내부 맵 저장소에 수집된 멀티 탭 소스 리스트 주입 및 모달 디스플레이
91
100
  $popup.data([...this.#collectedFiles]);
92
101
  $popup.popup();
93
102
 
103
+ trace.log("55555");
94
104
  // 다음 수정 세션을 대비하여 핸들러 내부 전역 버퍼 완전 초기화
95
105
  this.#collectedFiles = [];
96
106
  };