@nine-lab/nine-mu 0.1.38 → 0.1.40
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.
|
|
186
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.39"}/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.
|
|
26388
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.39"}/dist/css/nine-mu.css";
|
|
26389
26389
|
${customImport}
|
|
26390
26390
|
</style>
|
|
26391
26391
|
|
|
@@ -26449,7 +26449,7 @@ class NineDiffPopup extends HTMLElement {
|
|
|
26449
26449
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
26450
26450
|
this.shadowRoot.innerHTML = `
|
|
26451
26451
|
<style>
|
|
26452
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
26452
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.39"}/dist/css/nine-mu.css";
|
|
26453
26453
|
${customImport}
|
|
26454
26454
|
</style>
|
|
26455
26455
|
|
|
@@ -26478,7 +26478,8 @@ class NineDiffPopup extends HTMLElement {
|
|
|
26478
26478
|
trace.log("NineDiff is Ready! Injecting data...");
|
|
26479
26479
|
const asisStr = typeof data.asis === "object" ? JSON.stringify(data.asis, null, 2) : data.asis;
|
|
26480
26480
|
const tobeStr = typeof data.tobe === "object" ? JSON.stringify(data.tobe, null, 2) : data.tobe;
|
|
26481
|
-
|
|
26481
|
+
trace.log(asisStr, tobeStr);
|
|
26482
|
+
__privateGet(this, _diffView).initialize(asisStr, tobeStr, data.lang);
|
|
26482
26483
|
}, { once: true });
|
|
26483
26484
|
__privateGet(this, _dialog).showModal();
|
|
26484
26485
|
});
|
|
@@ -26593,7 +26594,7 @@ if (!customElements.get("nine-dialog")) {
|
|
|
26593
26594
|
customElements.define("nine-dialog", NineDialog);
|
|
26594
26595
|
}
|
|
26595
26596
|
const NineMu = {
|
|
26596
|
-
version: "0.1.
|
|
26597
|
+
version: "0.1.39",
|
|
26597
26598
|
init: (config) => {
|
|
26598
26599
|
trace.log("🛠️ Nine-Mu Engine initialized", config);
|
|
26599
26600
|
}
|