@nine-lab/nine-mu 0.1.312 → 0.1.313

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
@@ -17098,12 +17098,13 @@ class NotificationHandler {
17098
17098
  */
17099
17099
  __privateAdd(this, _openDiffPopup, () => {
17100
17100
  if (__privateGet(this, _collectedFiles).length === 0) return;
17101
- let $popup = document.querySelector("nine-diff-popup");
17102
- if (!$popup) {
17103
- $popup = document.createElement("nine-diff-popup");
17104
- $popup.setAttribute("package-name", __privateGet(this, _owner).getAttribute("package-name") || "");
17105
- document.body.appendChild($popup);
17101
+ const oldPopup = this.shadowRoot.querySelector("nine-diff-popup");
17102
+ if (oldPopup) {
17103
+ oldPopup.remove();
17106
17104
  }
17105
+ const $popup = document.createElement("nine-diff-popup");
17106
+ $popup.setAttribute("package-name", __privateGet(this, _owner).getAttribute("package-name") || "");
17107
+ document.body.appendChild($popup);
17107
17108
  $popup.data([...__privateGet(this, _collectedFiles)]);
17108
17109
  $popup.popup();
17109
17110
  __privateSet(this, _collectedFiles, []);
@@ -17563,7 +17564,7 @@ render_fn = function() {
17563
17564
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
17564
17565
  this.shadowRoot.innerHTML = `
17565
17566
  <style>
17566
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.311"}/dist/css/nine-mu.css";
17567
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.312"}/dist/css/nine-mu.css";
17567
17568
  ${customImport}
17568
17569
  </style>
17569
17570
  <div class="wrapper">
@@ -43815,7 +43816,7 @@ class NineDiff extends HTMLElement {
43815
43816
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
43816
43817
  this.shadowRoot.innerHTML = `
43817
43818
  <style>
43818
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.311"}/dist/css/nine-mu.css";
43819
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.312"}/dist/css/nine-mu.css";
43819
43820
  ${customImport}
43820
43821
  </style>
43821
43822
 
@@ -43954,7 +43955,7 @@ renderScaffolding_fn = function() {
43954
43955
  const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
43955
43956
  this.shadowRoot.innerHTML = `
43956
43957
  <style>
43957
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.311"}/dist/css/nine-mu.css";
43958
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.312"}/dist/css/nine-mu.css";
43958
43959
  ${customImport}
43959
43960
  </style>
43960
43961
 
@@ -44064,7 +44065,7 @@ render_fn2 = function() {
44064
44065
  const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
44065
44066
  this.shadowRoot.innerHTML = `
44066
44067
  <style>
44067
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.311"}/dist/css/nine-mu.css";
44068
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.312"}/dist/css/nine-mu.css";
44068
44069
  ${customImport}
44069
44070
  </style>
44070
44071
 
@@ -44395,7 +44396,7 @@ class ChatMessageBody extends HTMLElement {
44395
44396
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
44396
44397
  this.shadowRoot.innerHTML = `
44397
44398
  <style>
44398
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.311"}/dist/css/nine-mu.css";
44399
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.312"}/dist/css/nine-mu.css";
44399
44400
  ${customImport}
44400
44401
  </style>
44401
44402
 
@@ -44489,7 +44490,7 @@ if (!customElements.get("nine-chat-progress")) {
44489
44490
  customElements.define("nine-chat-progress", ProgressMessage);
44490
44491
  }
44491
44492
  const NineMu = {
44492
- version: "0.1.311",
44493
+ version: "0.1.312",
44493
44494
  init: (config2) => {
44494
44495
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
44495
44496
  }