@nine-lab/nine-mu 0.1.30 → 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
|
|
|
@@ -26434,9 +26434,11 @@ class NineDiffPopup extends HTMLElement {
|
|
|
26434
26434
|
this.render();
|
|
26435
26435
|
}
|
|
26436
26436
|
render() {
|
|
26437
|
+
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
26437
26438
|
this.shadowRoot.innerHTML = `
|
|
26438
|
-
|
|
26439
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
26439
|
+
<style>
|
|
26440
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.31"}/dist/css/nine-mu.css";
|
|
26441
|
+
${customImport}
|
|
26440
26442
|
</style>
|
|
26441
26443
|
|
|
26442
26444
|
<nx-dialog>
|
|
@@ -26463,7 +26465,9 @@ class NineDiffPopup extends HTMLElement {
|
|
|
26463
26465
|
if (__privateGet(this, _diffView)) {
|
|
26464
26466
|
const asisStr = typeof data.asis === "object" ? JSON.stringify(data.asis, null, 2) : data.asis;
|
|
26465
26467
|
const tobeStr = typeof data.tobe === "object" ? JSON.stringify(data.tobe, null, 2) : data.tobe;
|
|
26466
|
-
|
|
26468
|
+
setTimeout(() => {
|
|
26469
|
+
__privateGet(this, _diffView).initialize(asisStr, tobeStr, data.lang || "");
|
|
26470
|
+
}, 100);
|
|
26467
26471
|
}
|
|
26468
26472
|
__privateGet(this, _dialog).showModal();
|
|
26469
26473
|
});
|
|
@@ -26578,7 +26582,7 @@ if (!customElements.get("nine-dialog")) {
|
|
|
26578
26582
|
customElements.define("nine-dialog", NineDialog);
|
|
26579
26583
|
}
|
|
26580
26584
|
const NineMu = {
|
|
26581
|
-
version: "0.1.
|
|
26585
|
+
version: "0.1.31",
|
|
26582
26586
|
init: (config) => {
|
|
26583
26587
|
trace.log("🛠️ Nine-Mu Engine initialized", config);
|
|
26584
26588
|
}
|