@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/dist/nine-mu.js CHANGED
@@ -17097,16 +17097,22 @@ class NotificationHandler {
17097
17097
  * 최종 조립이 끝나 시그널이 도달했을 때 딱 한 번 팝업을 열어 일괄 주입
17098
17098
  */
17099
17099
  __privateAdd(this, _openDiffPopup, () => {
17100
+ trace.log("1111111");
17100
17101
  if (__privateGet(this, _collectedFiles).length === 0) return;
17101
- const oldPopup = __privateGet(this, _owner).shadowRoot.querySelector("nine-diff-popup");
17102
- if (oldPopup) {
17103
- oldPopup.remove();
17102
+ const $oldPopup = __privateGet(this, _owner).shadowRoot.querySelector("nine-diff-popup");
17103
+ if ($oldPopup) {
17104
+ $oldPopup.remove();
17104
17105
  }
17106
+ trace.log("222222");
17105
17107
  const $popup = document.createElement("nine-diff-popup");
17106
17108
  $popup.setAttribute("package-name", __privateGet(this, _owner).getAttribute("package-name") || "");
17107
- document.body.appendChild($popup);
17109
+ trace.log("33333");
17110
+ const container = __privateGet(this, _owner).shadowRoot.querySelector(".wrapper") || __privateGet(this, _owner).shadowRoot;
17111
+ container.appendChild($diffPopup);
17112
+ trace.log("444444");
17108
17113
  $popup.data([...__privateGet(this, _collectedFiles)]);
17109
17114
  $popup.popup();
17115
+ trace.log("55555");
17110
17116
  __privateSet(this, _collectedFiles, []);
17111
17117
  });
17112
17118
  /**
@@ -17455,10 +17461,10 @@ class NineChat extends HTMLElement {
17455
17461
  if (oldPopup) {
17456
17462
  oldPopup.remove();
17457
17463
  }
17458
- const $diffPopup = document.createElement("nine-menu-diff-popup");
17464
+ const $diffPopup2 = document.createElement("nine-menu-diff-popup");
17459
17465
  const container = this.shadowRoot.querySelector(".wrapper") || this.shadowRoot;
17460
- container.appendChild($diffPopup);
17461
- $diffPopup.popup().data(asis, tobe, lang);
17466
+ container.appendChild($diffPopup2);
17467
+ $diffPopup2.popup().data(asis, tobe, lang);
17462
17468
  });
17463
17469
  this.attachShadow({ mode: "open" });
17464
17470
  }
@@ -17560,7 +17566,7 @@ render_fn = function() {
17560
17566
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
17561
17567
  this.shadowRoot.innerHTML = `
17562
17568
  <style>
17563
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.314"}/dist/css/nine-mu.css";
17569
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.316"}/dist/css/nine-mu.css";
17564
17570
  ${customImport}
17565
17571
  </style>
17566
17572
  <div class="wrapper">
@@ -43812,7 +43818,7 @@ class NineDiff extends HTMLElement {
43812
43818
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
43813
43819
  this.shadowRoot.innerHTML = `
43814
43820
  <style>
43815
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.314"}/dist/css/nine-mu.css";
43821
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.316"}/dist/css/nine-mu.css";
43816
43822
  ${customImport}
43817
43823
  </style>
43818
43824
 
@@ -43951,7 +43957,7 @@ renderScaffolding_fn = function() {
43951
43957
  const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
43952
43958
  this.shadowRoot.innerHTML = `
43953
43959
  <style>
43954
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.314"}/dist/css/nine-mu.css";
43960
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.316"}/dist/css/nine-mu.css";
43955
43961
  ${customImport}
43956
43962
  </style>
43957
43963
 
@@ -44061,7 +44067,7 @@ render_fn2 = function() {
44061
44067
  const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
44062
44068
  this.shadowRoot.innerHTML = `
44063
44069
  <style>
44064
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.314"}/dist/css/nine-mu.css";
44070
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.316"}/dist/css/nine-mu.css";
44065
44071
  ${customImport}
44066
44072
  </style>
44067
44073
 
@@ -44392,7 +44398,7 @@ class ChatMessageBody extends HTMLElement {
44392
44398
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
44393
44399
  this.shadowRoot.innerHTML = `
44394
44400
  <style>
44395
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.314"}/dist/css/nine-mu.css";
44401
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.316"}/dist/css/nine-mu.css";
44396
44402
  ${customImport}
44397
44403
  </style>
44398
44404
 
@@ -44486,7 +44492,7 @@ if (!customElements.get("nine-chat-progress")) {
44486
44492
  customElements.define("nine-chat-progress", ProgressMessage);
44487
44493
  }
44488
44494
  const NineMu = {
44489
- version: "0.1.314",
44495
+ version: "0.1.316",
44490
44496
  init: (config2) => {
44491
44497
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
44492
44498
  }