@nine-lab/nine-mu 0.1.236 → 0.1.238
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 +8 -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/NineChat.js +6 -2
package/dist/nine-mu.js
CHANGED
|
@@ -17409,9 +17409,10 @@ initActions_fn = function() {
|
|
|
17409
17409
|
if ((parsed == null ? void 0 : parsed.selected_tool) === "source-missing") {
|
|
17410
17410
|
const hasCreated = parsed == null ? void 0 : parsed.data.some((item) => item.action === "CREATE");
|
|
17411
17411
|
const hasUpdated = parsed == null ? void 0 : parsed.data.some((item) => item.action === "UPDATE");
|
|
17412
|
-
|
|
17412
|
+
const hasDeleted = parsed == null ? void 0 : parsed.data.some((item) => item.action === "DELETE");
|
|
17413
|
+
if (hasUpdated || hasCreated || hasDeleted) {
|
|
17413
17414
|
nine.alert("메뉴 정리를 위한 라우터 정보 저장 화면으로 이동합니다.").then((res) => {
|
|
17414
|
-
const tobe = ((parsed == null ? void 0 : parsed.data) || []).map(({ isNew, action, ...rest }) => rest);
|
|
17415
|
+
const tobe = ((parsed == null ? void 0 : parsed.data) || []).filter((item) => item.action !== "DELETE").map(({ isNew, action, ...rest }) => rest);
|
|
17415
17416
|
__privateGet(this, _showDiff).call(this, asis, tobe, "json");
|
|
17416
17417
|
});
|
|
17417
17418
|
}
|
|
@@ -17430,7 +17431,7 @@ render_fn = function() {
|
|
|
17430
17431
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17431
17432
|
this.shadowRoot.innerHTML = `
|
|
17432
17433
|
<style>
|
|
17433
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17434
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.237"}/dist/css/nine-mu.css";
|
|
17434
17435
|
${customImport}
|
|
17435
17436
|
</style>
|
|
17436
17437
|
<div class="wrapper">
|
|
@@ -43647,7 +43648,7 @@ class NineDiff extends HTMLElement {
|
|
|
43647
43648
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43648
43649
|
this.shadowRoot.innerHTML = `
|
|
43649
43650
|
<style>
|
|
43650
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43651
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.237"}/dist/css/nine-mu.css";
|
|
43651
43652
|
${customImport}
|
|
43652
43653
|
</style>
|
|
43653
43654
|
|
|
@@ -43757,7 +43758,7 @@ render_fn2 = function() {
|
|
|
43757
43758
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43758
43759
|
this.shadowRoot.innerHTML = `
|
|
43759
43760
|
<style>
|
|
43760
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43761
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.237"}/dist/css/nine-mu.css";
|
|
43761
43762
|
${customImport}
|
|
43762
43763
|
</style>
|
|
43763
43764
|
|
|
@@ -44083,7 +44084,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44083
44084
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44084
44085
|
this.shadowRoot.innerHTML = `
|
|
44085
44086
|
<style>
|
|
44086
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44087
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.237"}/dist/css/nine-mu.css";
|
|
44087
44088
|
${customImport}
|
|
44088
44089
|
</style>
|
|
44089
44090
|
|
|
@@ -44177,7 +44178,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44177
44178
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44178
44179
|
}
|
|
44179
44180
|
const NineMu = {
|
|
44180
|
-
version: "0.1.
|
|
44181
|
+
version: "0.1.237",
|
|
44181
44182
|
init: (config2) => {
|
|
44182
44183
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44183
44184
|
}
|