@nine-lab/nine-mu 0.1.235 → 0.1.237

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