@nine-lab/nine-mu 0.1.157 → 0.1.159
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 +10 -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/src/components/NineChat.js +5 -3
package/dist/nine-mu.js
CHANGED
|
@@ -13802,13 +13802,15 @@ initActions_fn = function() {
|
|
|
13802
13802
|
$textarea.addEventListener("keypress", async (e) => {
|
|
13803
13803
|
if (e.key === "Enter" && !e.shiftKey) {
|
|
13804
13804
|
e.preventDefault();
|
|
13805
|
-
const userInput =
|
|
13805
|
+
const userInput = $textarea.value.trim();
|
|
13806
13806
|
if (!userInput || this.isProcessing) return;
|
|
13807
13807
|
this.isProcessing = true;
|
|
13808
13808
|
__privateGet(this, _$nineChatMessage).add("me", userInput);
|
|
13809
13809
|
__privateGet(this, _$nineChatMessage).add("ing", "");
|
|
13810
|
-
|
|
13811
|
-
|
|
13810
|
+
setTimeout(() => {
|
|
13811
|
+
$textarea.value = "";
|
|
13812
|
+
});
|
|
13813
|
+
const [_, err] = await nine.safe(__privateGet(this, _manager).handleChatSubmit($textarea));
|
|
13812
13814
|
if (err) {
|
|
13813
13815
|
console.error("Manager 실행 에러:", err);
|
|
13814
13816
|
this.shadowRoot.querySelectorAll("nx-ai-ing-message").forEach((el) => el.remove());
|
|
@@ -13823,7 +13825,7 @@ render_fn = function() {
|
|
|
13823
13825
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
13824
13826
|
this.shadowRoot.innerHTML = `
|
|
13825
13827
|
<style>
|
|
13826
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
13828
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.158"}/dist/css/nine-mu.css";
|
|
13827
13829
|
${customImport}
|
|
13828
13830
|
</style>
|
|
13829
13831
|
<div class="wrapper">
|
|
@@ -40042,7 +40044,7 @@ class NineDiff extends HTMLElement {
|
|
|
40042
40044
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40043
40045
|
this.shadowRoot.innerHTML = `
|
|
40044
40046
|
<style>
|
|
40045
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40047
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.158"}/dist/css/nine-mu.css";
|
|
40046
40048
|
${customImport}
|
|
40047
40049
|
</style>
|
|
40048
40050
|
|
|
@@ -40152,7 +40154,7 @@ render_fn2 = function() {
|
|
|
40152
40154
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40153
40155
|
this.shadowRoot.innerHTML = `
|
|
40154
40156
|
<style>
|
|
40155
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40157
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.158"}/dist/css/nine-mu.css";
|
|
40156
40158
|
${customImport}
|
|
40157
40159
|
</style>
|
|
40158
40160
|
|
|
@@ -40480,7 +40482,7 @@ class ChatMessage extends HTMLElement {
|
|
|
40480
40482
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40481
40483
|
this.shadowRoot.innerHTML = `
|
|
40482
40484
|
<style>
|
|
40483
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40485
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.158"}/dist/css/nine-mu.css";
|
|
40484
40486
|
${customImport}
|
|
40485
40487
|
</style>
|
|
40486
40488
|
|
|
@@ -40574,7 +40576,7 @@ if (!customElements.get("nine-chat-me")) {
|
|
|
40574
40576
|
customElements.define("nine-chat-me", MyMessage);
|
|
40575
40577
|
}
|
|
40576
40578
|
const NineMu = {
|
|
40577
|
-
version: "0.1.
|
|
40579
|
+
version: "0.1.158",
|
|
40578
40580
|
init: (config2) => {
|
|
40579
40581
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
40580
40582
|
}
|