@nine-lab/nine-mu 0.1.232 → 0.1.233
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
|
@@ -17399,12 +17399,11 @@ initActions_fn = function() {
|
|
|
17399
17399
|
const parsed = JSON.parse(rawText);
|
|
17400
17400
|
__privateGet(this, _manager).addChatHistory(parsed.message);
|
|
17401
17401
|
__privateGet(this, _$nineChatMessage).add("ai", parsed.message);
|
|
17402
|
-
const
|
|
17402
|
+
const asis = await __privateGet(this, _manager).getRoutes();
|
|
17403
17403
|
if ((parsed == null ? void 0 : parsed.selected_tool) === "source-missing") {
|
|
17404
17404
|
nine.alert("메뉴 정리를 위한 라우터 정보 저장 화면으로 이동합니다.").then((res) => {
|
|
17405
|
-
const
|
|
17406
|
-
|
|
17407
|
-
__privateGet(this, _showDiff).call(this, currRoutes, cleanedList, "json");
|
|
17405
|
+
const tobe = ((parsed == null ? void 0 : parsed.data) || []).map(({ isNew, ...rest }) => rest);
|
|
17406
|
+
__privateGet(this, _showDiff).call(this, asis, tobe, "json");
|
|
17408
17407
|
});
|
|
17409
17408
|
}
|
|
17410
17409
|
} catch (err2) {
|
|
@@ -17421,7 +17420,7 @@ render_fn = function() {
|
|
|
17421
17420
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17422
17421
|
this.shadowRoot.innerHTML = `
|
|
17423
17422
|
<style>
|
|
17424
|
-
@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.232"}/dist/css/nine-mu.css";
|
|
17425
17424
|
${customImport}
|
|
17426
17425
|
</style>
|
|
17427
17426
|
<div class="wrapper">
|
|
@@ -43638,7 +43637,7 @@ class NineDiff extends HTMLElement {
|
|
|
43638
43637
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43639
43638
|
this.shadowRoot.innerHTML = `
|
|
43640
43639
|
<style>
|
|
43641
|
-
@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.232"}/dist/css/nine-mu.css";
|
|
43642
43641
|
${customImport}
|
|
43643
43642
|
</style>
|
|
43644
43643
|
|
|
@@ -43748,7 +43747,7 @@ render_fn2 = function() {
|
|
|
43748
43747
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43749
43748
|
this.shadowRoot.innerHTML = `
|
|
43750
43749
|
<style>
|
|
43751
|
-
@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.232"}/dist/css/nine-mu.css";
|
|
43752
43751
|
${customImport}
|
|
43753
43752
|
</style>
|
|
43754
43753
|
|
|
@@ -43771,8 +43770,15 @@ render_fn2 = function() {
|
|
|
43771
43770
|
};
|
|
43772
43771
|
handleConfirm_fn = function() {
|
|
43773
43772
|
const content2 = __privateGet(this, _diffView) ? __privateGet(this, _diffView).getContents() : __privateGet(this, _asisBackup);
|
|
43774
|
-
|
|
43775
|
-
|
|
43773
|
+
const params = {
|
|
43774
|
+
packageName: __privateGet(this, _host).getAttribute("package-name"),
|
|
43775
|
+
contents: content2
|
|
43776
|
+
};
|
|
43777
|
+
api.post(`/nine-mu/source/generateJsonFile`, params).then((res) => {
|
|
43778
|
+
nine.alert("소스를 변경하였습니다.").then((res2) => {
|
|
43779
|
+
__privateGet(this, _dialog).close();
|
|
43780
|
+
});
|
|
43781
|
+
});
|
|
43776
43782
|
};
|
|
43777
43783
|
handleCancel_fn = function() {
|
|
43778
43784
|
__privateGet(this, _dialog).close();
|
|
@@ -44067,7 +44073,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44067
44073
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44068
44074
|
this.shadowRoot.innerHTML = `
|
|
44069
44075
|
<style>
|
|
44070
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44076
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.232"}/dist/css/nine-mu.css";
|
|
44071
44077
|
${customImport}
|
|
44072
44078
|
</style>
|
|
44073
44079
|
|
|
@@ -44161,7 +44167,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44161
44167
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44162
44168
|
}
|
|
44163
44169
|
const NineMu = {
|
|
44164
|
-
version: "0.1.
|
|
44170
|
+
version: "0.1.232",
|
|
44165
44171
|
init: (config2) => {
|
|
44166
44172
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44167
44173
|
}
|