@nine-lab/nine-mu 0.1.31 → 0.1.32
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
|
@@ -178,7 +178,7 @@ render_fn = function() {
|
|
|
178
178
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
179
179
|
this.shadowRoot.innerHTML = `
|
|
180
180
|
<style>
|
|
181
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
181
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.31"}/dist/css/nine-mu.css";
|
|
182
182
|
${customImport}
|
|
183
183
|
</style>
|
|
184
184
|
<div class="wrapper">
|
|
@@ -26378,7 +26378,7 @@ class NineDiff extends HTMLElement {
|
|
|
26378
26378
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
26379
26379
|
this.shadowRoot.innerHTML = `
|
|
26380
26380
|
<style>
|
|
26381
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
26381
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.31"}/dist/css/nine-mu.css";
|
|
26382
26382
|
${customImport}
|
|
26383
26383
|
</style>
|
|
26384
26384
|
|
|
@@ -26437,7 +26437,7 @@ class NineDiffPopup extends HTMLElement {
|
|
|
26437
26437
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
26438
26438
|
this.shadowRoot.innerHTML = `
|
|
26439
26439
|
<style>
|
|
26440
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
26440
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.31"}/dist/css/nine-mu.css";
|
|
26441
26441
|
${customImport}
|
|
26442
26442
|
</style>
|
|
26443
26443
|
|
|
@@ -26465,7 +26465,9 @@ class NineDiffPopup extends HTMLElement {
|
|
|
26465
26465
|
if (__privateGet(this, _diffView)) {
|
|
26466
26466
|
const asisStr = typeof data.asis === "object" ? JSON.stringify(data.asis, null, 2) : data.asis;
|
|
26467
26467
|
const tobeStr = typeof data.tobe === "object" ? JSON.stringify(data.tobe, null, 2) : data.tobe;
|
|
26468
|
-
|
|
26468
|
+
setTimeout(() => {
|
|
26469
|
+
__privateGet(this, _diffView).initialize(asisStr, tobeStr, data.lang || "");
|
|
26470
|
+
}, 100);
|
|
26469
26471
|
}
|
|
26470
26472
|
__privateGet(this, _dialog).showModal();
|
|
26471
26473
|
});
|
|
@@ -26580,7 +26582,7 @@ if (!customElements.get("nine-dialog")) {
|
|
|
26580
26582
|
customElements.define("nine-dialog", NineDialog);
|
|
26581
26583
|
}
|
|
26582
26584
|
const NineMu = {
|
|
26583
|
-
version: "0.1.
|
|
26585
|
+
version: "0.1.31",
|
|
26584
26586
|
init: (config) => {
|
|
26585
26587
|
trace.log("🛠️ Nine-Mu Engine initialized", config);
|
|
26586
26588
|
}
|