@nine-lab/nine-mu 0.1.230 → 0.1.231
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 +13 -7
- package/dist/nine-mu.js.map +1 -1
- package/dist/nine-mu.umd.js +1 -1
- package/dist/nine-mu.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/NineDiffPopup.js +9 -2
package/dist/nine-mu.js
CHANGED
|
@@ -17420,7 +17420,7 @@ render_fn = function() {
|
|
|
17420
17420
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17421
17421
|
this.shadowRoot.innerHTML = `
|
|
17422
17422
|
<style>
|
|
17423
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17423
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.230"}/dist/css/nine-mu.css";
|
|
17424
17424
|
${customImport}
|
|
17425
17425
|
</style>
|
|
17426
17426
|
<div class="wrapper">
|
|
@@ -43637,7 +43637,7 @@ class NineDiff extends HTMLElement {
|
|
|
43637
43637
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43638
43638
|
this.shadowRoot.innerHTML = `
|
|
43639
43639
|
<style>
|
|
43640
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43640
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.230"}/dist/css/nine-mu.css";
|
|
43641
43641
|
${customImport}
|
|
43642
43642
|
</style>
|
|
43643
43643
|
|
|
@@ -43747,7 +43747,7 @@ render_fn2 = function() {
|
|
|
43747
43747
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43748
43748
|
this.shadowRoot.innerHTML = `
|
|
43749
43749
|
<style>
|
|
43750
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43750
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.230"}/dist/css/nine-mu.css";
|
|
43751
43751
|
${customImport}
|
|
43752
43752
|
</style>
|
|
43753
43753
|
|
|
@@ -43769,8 +43769,14 @@ render_fn2 = function() {
|
|
|
43769
43769
|
this.shadowRoot.querySelector(".btn-cancel").onclick = () => __privateMethod(this, _NineDiffPopup_instances, handleCancel_fn).call(this);
|
|
43770
43770
|
};
|
|
43771
43771
|
handleConfirm_fn = function() {
|
|
43772
|
-
const
|
|
43773
|
-
|
|
43772
|
+
const jsonString = __privateGet(this, _diffView) ? __privateGet(this, _diffView).getContents() : __privateGet(this, _asisBackup);
|
|
43773
|
+
const cleanedData = JSON.parse(jsonString, (key, value) => {
|
|
43774
|
+
if (key === "isNew") {
|
|
43775
|
+
return void 0;
|
|
43776
|
+
}
|
|
43777
|
+
return value;
|
|
43778
|
+
});
|
|
43779
|
+
console.log(JSON.stringify(cleanedData));
|
|
43774
43780
|
return;
|
|
43775
43781
|
};
|
|
43776
43782
|
handleCancel_fn = function() {
|
|
@@ -44066,7 +44072,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44066
44072
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44067
44073
|
this.shadowRoot.innerHTML = `
|
|
44068
44074
|
<style>
|
|
44069
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44075
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.230"}/dist/css/nine-mu.css";
|
|
44070
44076
|
${customImport}
|
|
44071
44077
|
</style>
|
|
44072
44078
|
|
|
@@ -44160,7 +44166,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44160
44166
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44161
44167
|
}
|
|
44162
44168
|
const NineMu = {
|
|
44163
|
-
version: "0.1.
|
|
44169
|
+
version: "0.1.230",
|
|
44164
44170
|
init: (config2) => {
|
|
44165
44171
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44166
44172
|
}
|