@nine-lab/nine-mu 0.1.168 → 0.1.169

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
@@ -13796,24 +13796,23 @@ initActions_fn = function() {
13796
13796
  this.shadowRoot.querySelector("#q").addEventListener("keypress", async (e) => {
13797
13797
  if (e.key === "Enter" && !e.shiftKey) {
13798
13798
  e.preventDefault();
13799
- const userInput = e.target.value.trim();
13799
+ const target = e.target;
13800
+ const userInput = target.value.trim();
13800
13801
  if (!userInput) return;
13801
- e.target.setAttribute("disabled", "disabled");
13802
+ target.setAttribute("disabled", "disabled");
13802
13803
  __privateGet(this, _$nineChatMessage).add("me", userInput);
13803
13804
  __privateGet(this, _$nineChatMessage).add("ing", "");
13804
13805
  setTimeout(() => {
13805
- e.target.value = "";
13806
+ target.value = "";
13806
13807
  });
13807
- console.log("===========start");
13808
- const [_, err] = await nine.safe(__privateGet(this, _manager).handleChatSubmit(e.target));
13809
- console.log("===========end");
13808
+ const [_, err] = await nine.safe(__privateGet(this, _manager).handleChatSubmit(target));
13810
13809
  if (err) {
13811
13810
  console.error("Manager 실행 에러:", err);
13812
13811
  this.shadowRoot.querySelectorAll("nx-ai-ing-message").forEach((el) => el.remove());
13813
13812
  nine.alert("메시지 전송 중 오류가 발생했습니다.").rgb().shake();
13814
13813
  }
13815
- console.log(e.target);
13816
- e.target.removeAttribute("disabled");
13814
+ console.log(target);
13815
+ target.removeAttribute("disabled");
13817
13816
  }
13818
13817
  });
13819
13818
  };
@@ -13822,7 +13821,7 @@ render_fn = function() {
13822
13821
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
13823
13822
  this.shadowRoot.innerHTML = `
13824
13823
  <style>
13825
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.167"}/dist/css/nine-mu.css";
13824
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.168"}/dist/css/nine-mu.css";
13826
13825
  ${customImport}
13827
13826
  </style>
13828
13827
  <div class="wrapper">
@@ -40041,7 +40040,7 @@ class NineDiff extends HTMLElement {
40041
40040
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40042
40041
  this.shadowRoot.innerHTML = `
40043
40042
  <style>
40044
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.167"}/dist/css/nine-mu.css";
40043
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.168"}/dist/css/nine-mu.css";
40045
40044
  ${customImport}
40046
40045
  </style>
40047
40046
 
@@ -40151,7 +40150,7 @@ render_fn2 = function() {
40151
40150
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40152
40151
  this.shadowRoot.innerHTML = `
40153
40152
  <style>
40154
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.167"}/dist/css/nine-mu.css";
40153
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.168"}/dist/css/nine-mu.css";
40155
40154
  ${customImport}
40156
40155
  </style>
40157
40156
 
@@ -40479,7 +40478,7 @@ class ChatMessage extends HTMLElement {
40479
40478
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40480
40479
  this.shadowRoot.innerHTML = `
40481
40480
  <style>
40482
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.167"}/dist/css/nine-mu.css";
40481
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.168"}/dist/css/nine-mu.css";
40483
40482
  ${customImport}
40484
40483
  </style>
40485
40484
 
@@ -40573,7 +40572,7 @@ if (!customElements.get("nine-chat-me")) {
40573
40572
  customElements.define("nine-chat-me", MyMessage);
40574
40573
  }
40575
40574
  const NineMu = {
40576
- version: "0.1.167",
40575
+ version: "0.1.168",
40577
40576
  init: (config2) => {
40578
40577
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
40579
40578
  }