@alan-ai/alan-sdk-web 1.8.58 → 1.8.59
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 +10 -6
- package/dist/alan_lib.min.js +1 -1
- package/package.json +1 -1
package/dist/alan_lib.js
CHANGED
|
@@ -84900,6 +84900,10 @@
|
|
|
84900
84900
|
const responseBubbleRightPadding = getNumPropVal(textChatOptions?.bubbles?.response?.padding?.right, 20);
|
|
84901
84901
|
const responseBubbleBottomPadding = getNumPropVal(textChatOptions?.bubbles?.response?.padding?.bottom, 9);
|
|
84902
84902
|
const responseBubbleLeftPadding = getNumPropVal(textChatOptions?.bubbles?.response?.padding?.left, 20);
|
|
84903
|
+
const responseBubbleBorderRadiusTopLeft = getNumPropVal(textChatOptions?.bubbles?.response?.borderRadius?.topLeft, defaultBubbleBorderRadius);
|
|
84904
|
+
const responseBubbleBorderRadiusTopRight = getNumPropVal(textChatOptions?.bubbles?.response?.borderRadius?.topRight, defaultBubbleBorderRadius);
|
|
84905
|
+
const responseBubbleBorderRadiusBottomRight = getNumPropVal(textChatOptions?.bubbles?.response?.borderRadius?.bottomRight, defaultBubbleBorderRadius);
|
|
84906
|
+
const responseBubbleBorderRadiusBottomLeft = getNumPropVal(textChatOptions?.bubbles?.response?.borderRadius?.bottomLeft, defaultBubbleBorderRadius);
|
|
84903
84907
|
const btnsGap = getNumPropVal(textChatOptions?.buttons?.gap, 8);
|
|
84904
84908
|
const textareaTopPadding = getNumPropVal(textChatOptions?.textarea?.padding?.top, 12);
|
|
84905
84909
|
const textareaRightPadding = getNumPropVal(textChatOptions?.textarea?.padding?.right, 42);
|
|
@@ -85869,7 +85873,7 @@
|
|
|
85869
85873
|
display: block;
|
|
85870
85874
|
float: left;
|
|
85871
85875
|
clear: both;
|
|
85872
|
-
border-radius: ${
|
|
85876
|
+
border-radius: ${responseBubbleBorderRadiusTopLeft}px ${responseBubbleBorderRadiusTopRight}px ${responseBubbleBorderRadiusBottomRight}px ${responseBubbleBorderRadiusBottomLeft}px;
|
|
85873
85877
|
position: relative;
|
|
85874
85878
|
background-color: ${responseBubbleBg};
|
|
85875
85879
|
border: 1px solid ${textChatOptions?.bubbles?.response?.borderColor || responseBubbleBg};
|
|
@@ -85980,9 +85984,9 @@
|
|
|
85980
85984
|
display: flex;
|
|
85981
85985
|
flex-wrap: wrap;
|
|
85982
85986
|
position: relative;
|
|
85983
|
-
top:
|
|
85984
|
-
left:
|
|
85985
|
-
width: calc(100% +
|
|
85987
|
+
top: -${responseBubbleTopPadding}px;
|
|
85988
|
+
left: -${responseBubbleLeftPadding}px;
|
|
85989
|
+
width: calc(100% + ${+responseBubbleRightPadding + +responseBubbleLeftPadding}px);
|
|
85986
85990
|
}`;
|
|
85987
85991
|
keyFrames += getStyleSheetMarker() + `.alan-btn__chat-response-imgs-wrapper-left-arrow {
|
|
85988
85992
|
position: absolute;
|
|
@@ -86016,7 +86020,7 @@
|
|
|
86016
86020
|
}`;
|
|
86017
86021
|
keyFrames += getStyleSheetMarker() + `.alan-btn__chat-response-img-block {
|
|
86018
86022
|
overflow: hidden;
|
|
86019
|
-
border-radius:
|
|
86023
|
+
border-radius: ${responseBubbleBorderRadiusTopLeft}px ${responseBubbleBorderRadiusTopRight}px 0 0;
|
|
86020
86024
|
width: 100%;
|
|
86021
86025
|
display: flex;
|
|
86022
86026
|
}`;
|
|
@@ -87535,7 +87539,7 @@
|
|
|
87535
87539
|
|
|
87536
87540
|
// alan_btn/alan_btn.ts
|
|
87537
87541
|
(function(ns) {
|
|
87538
|
-
uiState.lib.version = "alan-version.1.8.
|
|
87542
|
+
uiState.lib.version = "alan-version.1.8.59".replace("alan-version.", "");
|
|
87539
87543
|
if (window.alanBtn) {
|
|
87540
87544
|
console.warn("Alan: the Alan Button source code has already added (v." + uiState.lib.version + ")");
|
|
87541
87545
|
}
|