@nine-lab/nine-mu 0.1.162 → 0.1.163

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
@@ -13801,9 +13801,9 @@ initActions_fn = function() {
13801
13801
  $textarea.addEventListener("keypress", async (e) => {
13802
13802
  if (e.key === "Enter" && !e.shiftKey) {
13803
13803
  e.preventDefault();
13804
- const userInput = $textarea.value.trim();
13805
- if (!userInput || this.isProcessing) return;
13806
- $textarea.disabled = true;
13804
+ const userInput = e.target.value.trim();
13805
+ if (!userInput) return;
13806
+ e.target.disabled = true;
13807
13807
  trace.log("22222222222222");
13808
13808
  __privateGet(this, _$nineChatMessage).add("me", userInput);
13809
13809
  __privateGet(this, _$nineChatMessage).add("ing", "");
@@ -13825,7 +13825,7 @@ render_fn = function() {
13825
13825
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
13826
13826
  this.shadowRoot.innerHTML = `
13827
13827
  <style>
13828
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.161"}/dist/css/nine-mu.css";
13828
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.162"}/dist/css/nine-mu.css";
13829
13829
  ${customImport}
13830
13830
  </style>
13831
13831
  <div class="wrapper">
@@ -40044,7 +40044,7 @@ class NineDiff extends HTMLElement {
40044
40044
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40045
40045
  this.shadowRoot.innerHTML = `
40046
40046
  <style>
40047
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.161"}/dist/css/nine-mu.css";
40047
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.162"}/dist/css/nine-mu.css";
40048
40048
  ${customImport}
40049
40049
  </style>
40050
40050
 
@@ -40154,7 +40154,7 @@ render_fn2 = function() {
40154
40154
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40155
40155
  this.shadowRoot.innerHTML = `
40156
40156
  <style>
40157
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.161"}/dist/css/nine-mu.css";
40157
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.162"}/dist/css/nine-mu.css";
40158
40158
  ${customImport}
40159
40159
  </style>
40160
40160
 
@@ -40482,7 +40482,7 @@ class ChatMessage extends HTMLElement {
40482
40482
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40483
40483
  this.shadowRoot.innerHTML = `
40484
40484
  <style>
40485
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.161"}/dist/css/nine-mu.css";
40485
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.162"}/dist/css/nine-mu.css";
40486
40486
  ${customImport}
40487
40487
  </style>
40488
40488
 
@@ -40576,7 +40576,7 @@ if (!customElements.get("nine-chat-me")) {
40576
40576
  customElements.define("nine-chat-me", MyMessage);
40577
40577
  }
40578
40578
  const NineMu = {
40579
- version: "0.1.161",
40579
+ version: "0.1.162",
40580
40580
  init: (config2) => {
40581
40581
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
40582
40582
  }