@nine-lab/nine-mu 0.1.74 → 0.1.76

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
@@ -117,6 +117,8 @@ class NineChat extends HTMLElement {
117
117
  __privateMethod(this, _NineChat_instances, render_fn).call(this);
118
118
  __privateMethod(this, _NineChat_instances, initInteractions_fn).call(this);
119
119
  __privateMethod(this, _NineChat_instances, initActions_fn).call(this);
120
+ const res = await api.get("/nine-mu/config/get");
121
+ console.log(res);
120
122
  __privateSet(this, _routes, await __privateGet(this, _service).fetchRoutes(this.getAttribute("route-url")));
121
123
  }
122
124
  }
@@ -128,7 +130,7 @@ _NineChat_instances = new WeakSet();
128
130
  initInteractions_fn = function() {
129
131
  var _a2;
130
132
  const $settings = this.shadowRoot.querySelector("nine-ai-settings");
131
- const $menuIcons = this.shadowRoot.querySelectorAll(".menu-icon");
133
+ const $menuIcons = this.shadowRoot.querySelectorAll("menu .menu-icon");
132
134
  const toggleUI = () => this.classList.toggle("collapse");
133
135
  this.shadowRoot.querySelector(".expand-icon").addEventListener("click", toggleUI);
134
136
  this.shadowRoot.querySelector(".collapse-icon").addEventListener("click", toggleUI);
@@ -183,7 +185,7 @@ render_fn = function() {
183
185
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
184
186
  this.shadowRoot.innerHTML = `
185
187
  <style>
186
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.73"}/dist/css/nine-mu.css";
188
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.75"}/dist/css/nine-mu.css";
187
189
  ${customImport}
188
190
  </style>
189
191
  <div class="wrapper">
@@ -211,6 +213,9 @@ render_fn = function() {
211
213
  <div class="menu-icon menu-filter"></div>
212
214
  <div class="menu-icon menu-general active"></div>
213
215
  <div class="menu-icon menu-setting"></div>
216
+ </div>
217
+ <div class="menu2">
218
+ <div class="menu-icon make-menu"></div>
214
219
  <div class="menu-icon source-gen"></div>
215
220
  </div>
216
221
  </div>
@@ -26396,7 +26401,7 @@ class NineDiff extends HTMLElement {
26396
26401
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
26397
26402
  this.shadowRoot.innerHTML = `
26398
26403
  <style>
26399
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.73"}/dist/css/nine-mu.css";
26404
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.75"}/dist/css/nine-mu.css";
26400
26405
  ${customImport}
26401
26406
  </style>
26402
26407
 
@@ -26506,7 +26511,7 @@ render_fn2 = function() {
26506
26511
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
26507
26512
  this.shadowRoot.innerHTML = `
26508
26513
  <style>
26509
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.73"}/dist/css/nine-mu.css";
26514
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.75"}/dist/css/nine-mu.css";
26510
26515
  ${customImport}
26511
26516
  </style>
26512
26517
 
@@ -26534,7 +26539,7 @@ handleConfirm_fn = function() {
26534
26539
  packageName: __privateGet(this, _host).getAttribute("package-name"),
26535
26540
  contents: finalContent
26536
26541
  };
26537
- api.post(`/nine-ai/source/generateJsonFile`, params).then((res) => {
26542
+ api.post(`/nine-mu/source/generateJsonFile`, params).then((res) => {
26538
26543
  nine.alert("소스를 변경하였습니다.").then((res2) => {
26539
26544
  __privateGet(this, _dialog).close();
26540
26545
  });
@@ -26545,7 +26550,7 @@ handleCancel_fn = function() {
26545
26550
  };
26546
26551
  customElements.define("nine-diff-popup", NineDiffPopup);
26547
26552
  const NineMu = {
26548
- version: "0.1.73",
26553
+ version: "0.1.75",
26549
26554
  init: (config) => {
26550
26555
  trace.log("🛠️ Nine-Mu Engine initialized", config);
26551
26556
  }