@nine-lab/nine-mu 0.1.39 → 0.1.41

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
@@ -183,7 +183,7 @@ render_fn = function() {
183
183
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
184
184
  this.shadowRoot.innerHTML = `
185
185
  <style>
186
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.38"}/dist/css/nine-mu.css";
186
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.40"}/dist/css/nine-mu.css";
187
187
  ${customImport}
188
188
  </style>
189
189
  <div class="wrapper">
@@ -26385,7 +26385,7 @@ class NineDiff extends HTMLElement {
26385
26385
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
26386
26386
  this.shadowRoot.innerHTML = `
26387
26387
  <style>
26388
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.38"}/dist/css/nine-mu.css";
26388
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.40"}/dist/css/nine-mu.css";
26389
26389
  ${customImport}
26390
26390
  </style>
26391
26391
 
@@ -26402,6 +26402,7 @@ class NineDiff extends HTMLElement {
26402
26402
  bubbles: true,
26403
26403
  composed: true
26404
26404
  }));
26405
+ trace.log("dispatchEvent");
26405
26406
  });
26406
26407
  }
26407
26408
  disconnectedCallback() {
@@ -26449,7 +26450,7 @@ class NineDiffPopup extends HTMLElement {
26449
26450
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
26450
26451
  this.shadowRoot.innerHTML = `
26451
26452
  <style>
26452
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.38"}/dist/css/nine-mu.css";
26453
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.40"}/dist/css/nine-mu.css";
26453
26454
  ${customImport}
26454
26455
  </style>
26455
26456
 
@@ -26478,7 +26479,8 @@ class NineDiffPopup extends HTMLElement {
26478
26479
  trace.log("NineDiff is Ready! Injecting data...");
26479
26480
  const asisStr = typeof data.asis === "object" ? JSON.stringify(data.asis, null, 2) : data.asis;
26480
26481
  const tobeStr = typeof data.tobe === "object" ? JSON.stringify(data.tobe, null, 2) : data.tobe;
26481
- __privateGet(this, _diffView).initialize(asisStr, tobeStr, data.lang || "javascript");
26482
+ trace.log(asisStr, tobeStr);
26483
+ __privateGet(this, _diffView).initialize(asisStr, tobeStr, data.lang);
26482
26484
  }, { once: true });
26483
26485
  __privateGet(this, _dialog).showModal();
26484
26486
  });
@@ -26593,7 +26595,7 @@ if (!customElements.get("nine-dialog")) {
26593
26595
  customElements.define("nine-dialog", NineDialog);
26594
26596
  }
26595
26597
  const NineMu = {
26596
- version: "0.1.38",
26598
+ version: "0.1.40",
26597
26599
  init: (config) => {
26598
26600
  trace.log("🛠️ Nine-Mu Engine initialized", config);
26599
26601
  }