@nine-lab/nine-mu 0.1.229 → 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 -15
- 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 +11 -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,17 +43769,15 @@ 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
|
-
|
|
43774
|
-
|
|
43775
|
-
|
|
43776
|
-
|
|
43777
|
-
|
|
43778
|
-
api.post(`/nine-mu/source/generateJsonFile`, params).then((res) => {
|
|
43779
|
-
nine.alert("소스를 변경하였습니다.").then((res2) => {
|
|
43780
|
-
__privateGet(this, _dialog).close();
|
|
43781
|
-
});
|
|
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;
|
|
43782
43778
|
});
|
|
43779
|
+
console.log(JSON.stringify(cleanedData));
|
|
43780
|
+
return;
|
|
43783
43781
|
};
|
|
43784
43782
|
handleCancel_fn = function() {
|
|
43785
43783
|
__privateGet(this, _dialog).close();
|
|
@@ -44074,7 +44072,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44074
44072
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44075
44073
|
this.shadowRoot.innerHTML = `
|
|
44076
44074
|
<style>
|
|
44077
|
-
@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";
|
|
44078
44076
|
${customImport}
|
|
44079
44077
|
</style>
|
|
44080
44078
|
|
|
@@ -44168,7 +44166,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44168
44166
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44169
44167
|
}
|
|
44170
44168
|
const NineMu = {
|
|
44171
|
-
version: "0.1.
|
|
44169
|
+
version: "0.1.230",
|
|
44172
44170
|
init: (config2) => {
|
|
44173
44171
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44174
44172
|
}
|