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