@alan-ai/alan-sdk-web 1.8.65 → 1.8.66
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/alan_lib.js +5 -1
- package/dist/alan_lib.min.js +1 -1
- package/package.json +1 -1
package/dist/alan_lib.js
CHANGED
|
@@ -93599,7 +93599,7 @@ code.hljs {
|
|
|
93599
93599
|
// alan_btn/alan_btn.ts
|
|
93600
93600
|
var import_lodash2 = __toESM(require_lodash());
|
|
93601
93601
|
(function(ns) {
|
|
93602
|
-
uiState.lib.version = "alan-version.1.8.
|
|
93602
|
+
uiState.lib.version = "alan-version.1.8.66".replace("alan-version.", "");
|
|
93603
93603
|
if (window.alanBtn) {
|
|
93604
93604
|
console.warn("Alan: the Alan Button source code has already added (v." + uiState.lib.version + ")");
|
|
93605
93605
|
}
|
|
@@ -96338,6 +96338,9 @@ ${LEARN_MORE_LABEL}
|
|
|
96338
96338
|
function onChatTextAreaFocus() {
|
|
96339
96339
|
sendSyncPageState();
|
|
96340
96340
|
}
|
|
96341
|
+
function onChatTextAreaBlur() {
|
|
96342
|
+
isMsgTypingInProcess = false;
|
|
96343
|
+
}
|
|
96341
96344
|
function onChatTextAreaKeyDown(e) {
|
|
96342
96345
|
const keyCode = e.keyCode || e.which;
|
|
96343
96346
|
sendSyncPageState();
|
|
@@ -96437,6 +96440,7 @@ ${LEARN_MORE_LABEL}
|
|
|
96437
96440
|
el.setAttribute("autocomplete", "off");
|
|
96438
96441
|
el.classList.add("alan-btn__chat-textarea");
|
|
96439
96442
|
el.addEventListener("focus", onChatTextAreaFocus);
|
|
96443
|
+
el.addEventListener("blur", onChatTextAreaBlur);
|
|
96440
96444
|
el.addEventListener("keydown", onChatTextAreaKeyDown);
|
|
96441
96445
|
el.addEventListener("keyup", onChatTextAreaKeyUp);
|
|
96442
96446
|
el.addEventListener("input", onChatTextAreaChange);
|