@nine-lab/nine-mu 0.1.163 → 0.1.165

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.
@@ -208,7 +208,7 @@
208
208
  border: 1px solid green;
209
209
  }
210
210
  textarea:disabled {
211
- background-color: red; /* 연한 회색 배경 */
211
+ background-color: #f5f5f5; /* 연한 회색 배경 */
212
212
  color: #999; /* 글자색도 연하게 */
213
213
  cursor: not-allowed; /* 마우스 커서를 금지 모양으로 변경 */
214
214
  border-color: #ddd; /* 테두리 색상도 힘을 뺌 */
package/dist/nine-mu.js CHANGED
@@ -13797,26 +13797,24 @@ initInteractions_fn = function() {
13797
13797
  };
13798
13798
  // --- [그룹 2: Action] 엔터키 입력 시 서비스 호출 ---
13799
13799
  initActions_fn = function() {
13800
- const $textarea = this.shadowRoot.querySelector("#q");
13801
- $textarea.addEventListener("keypress", async (e) => {
13800
+ this.shadowRoot.querySelector("#q").addEventListener("keypress", async (e) => {
13802
13801
  if (e.key === "Enter" && !e.shiftKey) {
13803
13802
  e.preventDefault();
13804
13803
  const userInput = e.target.value.trim();
13805
13804
  if (!userInput) return;
13806
- e.target.disabled = true;
13807
- trace.log("22222222222222");
13805
+ e.target.setAttribute("disabled", "disabled");
13808
13806
  __privateGet(this, _$nineChatMessage).add("me", userInput);
13809
13807
  __privateGet(this, _$nineChatMessage).add("ing", "");
13810
13808
  setTimeout(() => {
13811
- $textarea.value = "";
13809
+ e.target.value = "";
13812
13810
  });
13813
- const [_, err] = await nine.safe(__privateGet(this, _manager).handleChatSubmit($textarea));
13811
+ const [_, err] = await nine.safe(__privateGet(this, _manager).handleChatSubmit(e.target));
13814
13812
  if (err) {
13815
13813
  console.error("Manager 실행 에러:", err);
13816
13814
  this.shadowRoot.querySelectorAll("nx-ai-ing-message").forEach((el) => el.remove());
13817
13815
  nine.alert("메시지 전송 중 오류가 발생했습니다.").rgb().shake();
13818
13816
  }
13819
- $textarea.disabled = false;
13817
+ e.target.removeAttribute("disabled");
13820
13818
  }
13821
13819
  });
13822
13820
  };
@@ -13825,7 +13823,7 @@ render_fn = function() {
13825
13823
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
13826
13824
  this.shadowRoot.innerHTML = `
13827
13825
  <style>
13828
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.162"}/dist/css/nine-mu.css";
13826
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
13829
13827
  ${customImport}
13830
13828
  </style>
13831
13829
  <div class="wrapper">
@@ -40044,7 +40042,7 @@ class NineDiff extends HTMLElement {
40044
40042
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40045
40043
  this.shadowRoot.innerHTML = `
40046
40044
  <style>
40047
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.162"}/dist/css/nine-mu.css";
40045
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
40048
40046
  ${customImport}
40049
40047
  </style>
40050
40048
 
@@ -40154,7 +40152,7 @@ render_fn2 = function() {
40154
40152
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40155
40153
  this.shadowRoot.innerHTML = `
40156
40154
  <style>
40157
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.162"}/dist/css/nine-mu.css";
40155
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
40158
40156
  ${customImport}
40159
40157
  </style>
40160
40158
 
@@ -40482,7 +40480,7 @@ class ChatMessage extends HTMLElement {
40482
40480
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40483
40481
  this.shadowRoot.innerHTML = `
40484
40482
  <style>
40485
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.162"}/dist/css/nine-mu.css";
40483
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
40486
40484
  ${customImport}
40487
40485
  </style>
40488
40486
 
@@ -40576,7 +40574,7 @@ if (!customElements.get("nine-chat-me")) {
40576
40574
  customElements.define("nine-chat-me", MyMessage);
40577
40575
  }
40578
40576
  const NineMu = {
40579
- version: "0.1.162",
40577
+ version: "0.1.164",
40580
40578
  init: (config2) => {
40581
40579
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
40582
40580
  }