ninegrid2 6.374.0 → 6.375.0
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/ai/aiMessage.js +2 -1
- package/dist/bundle.cjs.js +2 -1
- package/dist/bundle.esm.js +2 -1
- package/package.json +1 -1
- package/src/ai/aiMessage.js +2 -1
package/dist/ai/aiMessage.js
CHANGED
|
@@ -227,7 +227,7 @@ class aiChat extends HTMLElement
|
|
|
227
227
|
add = (sender, message, data) => {
|
|
228
228
|
const target = this.shadowRoot.querySelector(".chat-body");
|
|
229
229
|
|
|
230
|
-
console.log(data);
|
|
230
|
+
//console.log(data);
|
|
231
231
|
|
|
232
232
|
let el;
|
|
233
233
|
switch (sender) {
|
|
@@ -260,6 +260,7 @@ class aiChat extends HTMLElement
|
|
|
260
260
|
break;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
+
el.scrollIntoView({ behavior: "smooth", block: "end" });
|
|
263
264
|
};
|
|
264
265
|
}
|
|
265
266
|
|
package/dist/bundle.cjs.js
CHANGED
|
@@ -27569,7 +27569,7 @@ class aiChat extends HTMLElement
|
|
|
27569
27569
|
add = (sender, message, data) => {
|
|
27570
27570
|
const target = this.shadowRoot.querySelector(".chat-body");
|
|
27571
27571
|
|
|
27572
|
-
console.log(data);
|
|
27572
|
+
//console.log(data);
|
|
27573
27573
|
|
|
27574
27574
|
let el;
|
|
27575
27575
|
switch (sender) {
|
|
@@ -27599,6 +27599,7 @@ class aiChat extends HTMLElement
|
|
|
27599
27599
|
break;
|
|
27600
27600
|
}
|
|
27601
27601
|
|
|
27602
|
+
el.scrollIntoView({ behavior: "smooth", block: "end" });
|
|
27602
27603
|
};
|
|
27603
27604
|
}
|
|
27604
27605
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -27567,7 +27567,7 @@ class aiChat extends HTMLElement
|
|
|
27567
27567
|
add = (sender, message, data) => {
|
|
27568
27568
|
const target = this.shadowRoot.querySelector(".chat-body");
|
|
27569
27569
|
|
|
27570
|
-
console.log(data);
|
|
27570
|
+
//console.log(data);
|
|
27571
27571
|
|
|
27572
27572
|
let el;
|
|
27573
27573
|
switch (sender) {
|
|
@@ -27597,6 +27597,7 @@ class aiChat extends HTMLElement
|
|
|
27597
27597
|
break;
|
|
27598
27598
|
}
|
|
27599
27599
|
|
|
27600
|
+
el.scrollIntoView({ behavior: "smooth", block: "end" });
|
|
27600
27601
|
};
|
|
27601
27602
|
}
|
|
27602
27603
|
|
package/package.json
CHANGED
package/src/ai/aiMessage.js
CHANGED
|
@@ -227,7 +227,7 @@ class aiChat extends HTMLElement
|
|
|
227
227
|
add = (sender, message, data) => {
|
|
228
228
|
const target = this.shadowRoot.querySelector(".chat-body");
|
|
229
229
|
|
|
230
|
-
console.log(data);
|
|
230
|
+
//console.log(data);
|
|
231
231
|
|
|
232
232
|
let el;
|
|
233
233
|
switch (sender) {
|
|
@@ -260,6 +260,7 @@ class aiChat extends HTMLElement
|
|
|
260
260
|
break;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
+
el.scrollIntoView({ behavior: "smooth", block: "end" });
|
|
263
264
|
};
|
|
264
265
|
}
|
|
265
266
|
|