@nine-lab/nine-mu 0.1.164 → 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.
- package/dist/css/nine-mu.css +1 -1
- package/dist/nine-mu.js +8 -9
- 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/public/css/nine-mu.css +1 -1
- package/src/components/NineChat.js +3 -7
package/dist/css/nine-mu.css
CHANGED
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
border: 1px solid green;
|
|
209
209
|
}
|
|
210
210
|
textarea:disabled {
|
|
211
|
-
background-color:
|
|
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,25 +13797,24 @@ initInteractions_fn = function() {
|
|
|
13797
13797
|
};
|
|
13798
13798
|
// --- [그룹 2: Action] 엔터키 입력 시 서비스 호출 ---
|
|
13799
13799
|
initActions_fn = function() {
|
|
13800
|
-
|
|
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
13805
|
e.target.setAttribute("disabled", "disabled");
|
|
13807
|
-
trace.log("22222222222222");
|
|
13808
13806
|
__privateGet(this, _$nineChatMessage).add("me", userInput);
|
|
13809
13807
|
__privateGet(this, _$nineChatMessage).add("ing", "");
|
|
13810
13808
|
setTimeout(() => {
|
|
13811
13809
|
e.target.value = "";
|
|
13812
13810
|
});
|
|
13813
|
-
const [_, err] = await nine.safe(__privateGet(this, _manager).handleChatSubmit(
|
|
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
|
}
|
|
13817
|
+
e.target.removeAttribute("disabled");
|
|
13819
13818
|
}
|
|
13820
13819
|
});
|
|
13821
13820
|
};
|
|
@@ -13824,7 +13823,7 @@ render_fn = function() {
|
|
|
13824
13823
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
13825
13824
|
this.shadowRoot.innerHTML = `
|
|
13826
13825
|
<style>
|
|
13827
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
13826
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
|
|
13828
13827
|
${customImport}
|
|
13829
13828
|
</style>
|
|
13830
13829
|
<div class="wrapper">
|
|
@@ -40043,7 +40042,7 @@ class NineDiff extends HTMLElement {
|
|
|
40043
40042
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40044
40043
|
this.shadowRoot.innerHTML = `
|
|
40045
40044
|
<style>
|
|
40046
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40045
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
|
|
40047
40046
|
${customImport}
|
|
40048
40047
|
</style>
|
|
40049
40048
|
|
|
@@ -40153,7 +40152,7 @@ render_fn2 = function() {
|
|
|
40153
40152
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40154
40153
|
this.shadowRoot.innerHTML = `
|
|
40155
40154
|
<style>
|
|
40156
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40155
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
|
|
40157
40156
|
${customImport}
|
|
40158
40157
|
</style>
|
|
40159
40158
|
|
|
@@ -40481,7 +40480,7 @@ class ChatMessage extends HTMLElement {
|
|
|
40481
40480
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40482
40481
|
this.shadowRoot.innerHTML = `
|
|
40483
40482
|
<style>
|
|
40484
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40483
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
|
|
40485
40484
|
${customImport}
|
|
40486
40485
|
</style>
|
|
40487
40486
|
|
|
@@ -40575,7 +40574,7 @@ if (!customElements.get("nine-chat-me")) {
|
|
|
40575
40574
|
customElements.define("nine-chat-me", MyMessage);
|
|
40576
40575
|
}
|
|
40577
40576
|
const NineMu = {
|
|
40578
|
-
version: "0.1.
|
|
40577
|
+
version: "0.1.164",
|
|
40579
40578
|
init: (config2) => {
|
|
40580
40579
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
40581
40580
|
}
|