@nine-lab/nine-mu 0.1.235 → 0.1.236
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 -9
- 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/NineChat.js +10 -4
package/dist/nine-mu.js
CHANGED
|
@@ -17407,10 +17407,14 @@ initActions_fn = function() {
|
|
|
17407
17407
|
__privateGet(this, _$nineChatMessage).add("ai", parsed.message);
|
|
17408
17408
|
const asis = await __privateGet(this, _manager).getRoutes();
|
|
17409
17409
|
if ((parsed == null ? void 0 : parsed.selected_tool) === "source-missing") {
|
|
17410
|
-
|
|
17411
|
-
|
|
17412
|
-
|
|
17413
|
-
|
|
17410
|
+
const hasCreated = parsed == null ? void 0 : parsed.data.some((item) => item.action === "CREATE");
|
|
17411
|
+
const hasUpdated = parsed == null ? void 0 : parsed.data.some((item) => item.action === "UPDATE");
|
|
17412
|
+
if (hasUpdated || hasCreated) {
|
|
17413
|
+
nine.alert("메뉴 정리를 위한 라우터 정보 저장 화면으로 이동합니다.").then((res) => {
|
|
17414
|
+
const tobe = ((parsed == null ? void 0 : parsed.data) || []).map(({ isNew, action, ...rest }) => rest);
|
|
17415
|
+
__privateGet(this, _showDiff).call(this, asis, tobe, "json");
|
|
17416
|
+
});
|
|
17417
|
+
}
|
|
17414
17418
|
}
|
|
17415
17419
|
} catch (err2) {
|
|
17416
17420
|
trace.error(err2);
|
|
@@ -17426,7 +17430,7 @@ render_fn = function() {
|
|
|
17426
17430
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17427
17431
|
this.shadowRoot.innerHTML = `
|
|
17428
17432
|
<style>
|
|
17429
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17433
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.235"}/dist/css/nine-mu.css";
|
|
17430
17434
|
${customImport}
|
|
17431
17435
|
</style>
|
|
17432
17436
|
<div class="wrapper">
|
|
@@ -43643,7 +43647,7 @@ class NineDiff extends HTMLElement {
|
|
|
43643
43647
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43644
43648
|
this.shadowRoot.innerHTML = `
|
|
43645
43649
|
<style>
|
|
43646
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43650
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.235"}/dist/css/nine-mu.css";
|
|
43647
43651
|
${customImport}
|
|
43648
43652
|
</style>
|
|
43649
43653
|
|
|
@@ -43753,7 +43757,7 @@ render_fn2 = function() {
|
|
|
43753
43757
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43754
43758
|
this.shadowRoot.innerHTML = `
|
|
43755
43759
|
<style>
|
|
43756
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43760
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.235"}/dist/css/nine-mu.css";
|
|
43757
43761
|
${customImport}
|
|
43758
43762
|
</style>
|
|
43759
43763
|
|
|
@@ -44079,7 +44083,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44079
44083
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44080
44084
|
this.shadowRoot.innerHTML = `
|
|
44081
44085
|
<style>
|
|
44082
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44086
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.235"}/dist/css/nine-mu.css";
|
|
44083
44087
|
${customImport}
|
|
44084
44088
|
</style>
|
|
44085
44089
|
|
|
@@ -44173,7 +44177,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44173
44177
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44174
44178
|
}
|
|
44175
44179
|
const NineMu = {
|
|
44176
|
-
version: "0.1.
|
|
44180
|
+
version: "0.1.235",
|
|
44177
44181
|
init: (config2) => {
|
|
44178
44182
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44179
44183
|
}
|