@envive-ai/react-toolkit-v3 0.3.13 → 0.3.14
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/AnimatedText/AnimatedText.d.cts +3 -3
- package/dist/AnimatedText/AnimatedText.d.ts +3 -3
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.ts +2 -2
- package/dist/Carousel/Carousel.d.cts +2 -2
- package/dist/Carousel/Carousel.d.ts +2 -2
- package/dist/ChatFooter/ChatFooter.d.cts +2 -2
- package/dist/ChatFooter/ChatFooter.d.ts +2 -2
- package/dist/ChatFooter/components/index.d.cts +3 -3
- package/dist/ChatFooter/components/index.d.ts +5 -5
- package/dist/ChatHeader/ChatHeader.d.cts +2 -2
- package/dist/ChatHeader/ChatHeader.d.ts +2 -2
- package/dist/ChatPreview/ChatPreview.d.cts +2 -2
- package/dist/ChatPreview/ChatPreview.d.ts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
- package/dist/Container/Container.d.cts +173 -173
- package/dist/Container/Container.d.ts +173 -173
- package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
- package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
- package/dist/FloatingButton/FloatingButton.d.cts +2 -2
- package/dist/FloatingButton/FloatingButton.d.ts +2 -2
- package/dist/FloatingChat/FloatingChat.cjs +7 -3
- package/dist/FloatingChat/FloatingChat.d.cts +2 -2
- package/dist/FloatingChat/FloatingChat.d.ts +2 -2
- package/dist/FloatingChat/FloatingChat.js +7 -3
- package/dist/FloatingChat/components/AgentMessage.cjs +2 -2
- package/dist/FloatingChat/components/AgentMessage.js +2 -2
- package/dist/FloatingChat/components/ChatMessages.cjs +1 -1
- package/dist/FloatingChat/components/ChatMessages.js +1 -1
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +2 -2
- package/dist/Image/Image.d.cts +2 -2
- package/dist/Image/Image.d.ts +2 -2
- package/dist/ImageGallery/ImageGallery.d.cts +2 -2
- package/dist/ImageGallery/ImageGallery.d.ts +2 -2
- package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
- package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
- package/dist/Message/components/AgentHeader.cjs +6 -2
- package/dist/Message/components/AgentHeader.js +6 -2
- package/dist/Message/components/index.cjs +1 -1
- package/dist/Message/components/index.js +1 -1
- package/dist/ProductCard/ProductCard.d.cts +2 -2
- package/dist/ProductCard/ProductCard.d.ts +2 -2
- package/dist/PromptButton/PromptButton.d.cts +2 -2
- package/dist/PromptButton/PromptButton.d.ts +2 -2
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
- package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
- package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
- package/dist/ReviewCard/ReviewCard.d.cts +2 -2
- package/dist/ReviewCard/ReviewCard.d.ts +2 -2
- package/dist/ReviewCard/components/index.d.cts +6 -6
- package/dist/ReviewCard/components/index.d.ts +6 -6
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
- package/dist/SalesAgentProductCard/components/index.d.cts +6 -6
- package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
- package/dist/SocialProof/SocialProof.d.cts +2 -2
- package/dist/SocialProof/SocialProof.d.ts +2 -2
- package/dist/SparkleAnimation/SparkleAnimation.cjs +107 -0
- package/dist/SparkleAnimation/SparkleAnimation.d.cts +15 -0
- package/dist/SparkleAnimation/SparkleAnimation.d.ts +15 -0
- package/dist/SparkleAnimation/SparkleAnimation.js +105 -0
- package/dist/SparkleAnimation/index.cjs +5 -0
- package/dist/SparkleAnimation/index.d.cts +3 -0
- package/dist/SparkleAnimation/index.d.ts +3 -0
- package/dist/SparkleAnimation/index.js +4 -0
- package/dist/SparkleAnimation/types.cjs +12 -0
- package/dist/SparkleAnimation/types.d.cts +9 -0
- package/dist/SparkleAnimation/types.d.ts +9 -0
- package/dist/SparkleAnimation/types.js +11 -0
- package/dist/Stack/Stack.d.cts +2 -2
- package/dist/Stack/Stack.d.ts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
- package/dist/TypingAnimation/TypingAnimation.cjs +3 -1
- package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
- package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
- package/dist/TypingAnimation/TypingAnimation.js +3 -1
- package/dist/TypingAnimation/types/index.d.cts +8 -0
- package/dist/TypingAnimation/types/index.d.ts +8 -0
- package/dist/Typography/Typography.d.ts +4 -4
- package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
- package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
- package/dist/WidgetTextField/hooks/useGetContainerProperties.cjs +1 -1
- package/dist/WidgetTextField/hooks/useGetContainerProperties.js +1 -1
- package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
- package/dist/styles.css +1 -1
- package/package.json +5 -1
- package/src/components/FloatingChat/FloatingChat.tsx +6 -0
- package/src/components/FloatingChat/components/AgentMessage.tsx +3 -1
- package/src/components/FloatingChat/components/ChatMessages.tsx +1 -1
- package/src/components/Message/components/AgentHeader.tsx +7 -2
- package/src/components/SparkleAnimation/SparkleAnimation.tsx +102 -0
- package/src/components/SparkleAnimation/index.ts +2 -0
- package/src/components/SparkleAnimation/types.ts +6 -0
- package/src/components/TypingAnimation/TypingAnimation.tsx +4 -0
- package/src/components/TypingAnimation/types/index.ts +10 -0
- package/src/components/WidgetTextField/hooks/useGetContainerProperties.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContainerProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react7 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Container/Container.d.ts
|
|
5
5
|
|
|
@@ -17,7 +17,9 @@ declare const Container: ({
|
|
|
17
17
|
fluid,
|
|
18
18
|
centerContent,
|
|
19
19
|
...props
|
|
20
|
-
}: ContainerProps & Omit<React.HTMLAttributes<HTMLElement>, "className" | "style" | "component">) =>
|
|
20
|
+
}: ContainerProps & Omit<React.HTMLAttributes<HTMLElement>, "className" | "style" | "component">) => react7.DetailedReactHTMLElement<{
|
|
21
|
+
color?: string | undefined;
|
|
22
|
+
onClick?: react7.MouseEventHandler<HTMLElement>;
|
|
21
23
|
defaultChecked?: boolean | undefined;
|
|
22
24
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
23
25
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -39,7 +41,7 @@ declare const Container: ({
|
|
|
39
41
|
title?: string | undefined;
|
|
40
42
|
translate?: "yes" | "no" | undefined;
|
|
41
43
|
radioGroup?: string | undefined;
|
|
42
|
-
role?:
|
|
44
|
+
role?: react7.AriaRole | undefined;
|
|
43
45
|
about?: string | undefined;
|
|
44
46
|
content?: string | undefined;
|
|
45
47
|
datatype?: string | undefined;
|
|
@@ -53,7 +55,6 @@ declare const Container: ({
|
|
|
53
55
|
vocab?: string | undefined;
|
|
54
56
|
autoCorrect?: string | undefined;
|
|
55
57
|
autoSave?: string | undefined;
|
|
56
|
-
color?: string | undefined;
|
|
57
58
|
itemProp?: string | undefined;
|
|
58
59
|
itemScope?: boolean | undefined;
|
|
59
60
|
itemType?: string | undefined;
|
|
@@ -126,176 +127,175 @@ declare const Container: ({
|
|
|
126
127
|
dangerouslySetInnerHTML?: {
|
|
127
128
|
__html: string | TrustedHTML;
|
|
128
129
|
} | undefined;
|
|
129
|
-
onCopy?:
|
|
130
|
-
onCopyCapture?:
|
|
131
|
-
onCut?:
|
|
132
|
-
onCutCapture?:
|
|
133
|
-
onPaste?:
|
|
134
|
-
onPasteCapture?:
|
|
135
|
-
onCompositionEnd?:
|
|
136
|
-
onCompositionEndCapture?:
|
|
137
|
-
onCompositionStart?:
|
|
138
|
-
onCompositionStartCapture?:
|
|
139
|
-
onCompositionUpdate?:
|
|
140
|
-
onCompositionUpdateCapture?:
|
|
141
|
-
onFocus?:
|
|
142
|
-
onFocusCapture?:
|
|
143
|
-
onBlur?:
|
|
144
|
-
onBlurCapture?:
|
|
145
|
-
onChange?:
|
|
146
|
-
onChangeCapture?:
|
|
147
|
-
onBeforeInput?:
|
|
148
|
-
onBeforeInputCapture?:
|
|
149
|
-
onInput?:
|
|
150
|
-
onInputCapture?:
|
|
151
|
-
onReset?:
|
|
152
|
-
onResetCapture?:
|
|
153
|
-
onSubmit?:
|
|
154
|
-
onSubmitCapture?:
|
|
155
|
-
onInvalid?:
|
|
156
|
-
onInvalidCapture?:
|
|
157
|
-
onLoad?:
|
|
158
|
-
onLoadCapture?:
|
|
159
|
-
onError?:
|
|
160
|
-
onErrorCapture?:
|
|
161
|
-
onKeyDown?:
|
|
162
|
-
onKeyDownCapture?:
|
|
163
|
-
onKeyPress?:
|
|
164
|
-
onKeyPressCapture?:
|
|
165
|
-
onKeyUp?:
|
|
166
|
-
onKeyUpCapture?:
|
|
167
|
-
onAbort?:
|
|
168
|
-
onAbortCapture?:
|
|
169
|
-
onCanPlay?:
|
|
170
|
-
onCanPlayCapture?:
|
|
171
|
-
onCanPlayThrough?:
|
|
172
|
-
onCanPlayThroughCapture?:
|
|
173
|
-
onDurationChange?:
|
|
174
|
-
onDurationChangeCapture?:
|
|
175
|
-
onEmptied?:
|
|
176
|
-
onEmptiedCapture?:
|
|
177
|
-
onEncrypted?:
|
|
178
|
-
onEncryptedCapture?:
|
|
179
|
-
onEnded?:
|
|
180
|
-
onEndedCapture?:
|
|
181
|
-
onLoadedData?:
|
|
182
|
-
onLoadedDataCapture?:
|
|
183
|
-
onLoadedMetadata?:
|
|
184
|
-
onLoadedMetadataCapture?:
|
|
185
|
-
onLoadStart?:
|
|
186
|
-
onLoadStartCapture?:
|
|
187
|
-
onPause?:
|
|
188
|
-
onPauseCapture?:
|
|
189
|
-
onPlay?:
|
|
190
|
-
onPlayCapture?:
|
|
191
|
-
onPlaying?:
|
|
192
|
-
onPlayingCapture?:
|
|
193
|
-
onProgress?:
|
|
194
|
-
onProgressCapture?:
|
|
195
|
-
onRateChange?:
|
|
196
|
-
onRateChangeCapture?:
|
|
197
|
-
onSeeked?:
|
|
198
|
-
onSeekedCapture?:
|
|
199
|
-
onSeeking?:
|
|
200
|
-
onSeekingCapture?:
|
|
201
|
-
onStalled?:
|
|
202
|
-
onStalledCapture?:
|
|
203
|
-
onSuspend?:
|
|
204
|
-
onSuspendCapture?:
|
|
205
|
-
onTimeUpdate?:
|
|
206
|
-
onTimeUpdateCapture?:
|
|
207
|
-
onVolumeChange?:
|
|
208
|
-
onVolumeChangeCapture?:
|
|
209
|
-
onWaiting?:
|
|
210
|
-
onWaitingCapture?:
|
|
211
|
-
onAuxClick?:
|
|
212
|
-
onAuxClickCapture?:
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
onTransitionStartCapture?: react10.TransitionEventHandler<HTMLElement>;
|
|
130
|
+
onCopy?: react7.ClipboardEventHandler<HTMLElement>;
|
|
131
|
+
onCopyCapture?: react7.ClipboardEventHandler<HTMLElement>;
|
|
132
|
+
onCut?: react7.ClipboardEventHandler<HTMLElement>;
|
|
133
|
+
onCutCapture?: react7.ClipboardEventHandler<HTMLElement>;
|
|
134
|
+
onPaste?: react7.ClipboardEventHandler<HTMLElement>;
|
|
135
|
+
onPasteCapture?: react7.ClipboardEventHandler<HTMLElement>;
|
|
136
|
+
onCompositionEnd?: react7.CompositionEventHandler<HTMLElement>;
|
|
137
|
+
onCompositionEndCapture?: react7.CompositionEventHandler<HTMLElement>;
|
|
138
|
+
onCompositionStart?: react7.CompositionEventHandler<HTMLElement>;
|
|
139
|
+
onCompositionStartCapture?: react7.CompositionEventHandler<HTMLElement>;
|
|
140
|
+
onCompositionUpdate?: react7.CompositionEventHandler<HTMLElement>;
|
|
141
|
+
onCompositionUpdateCapture?: react7.CompositionEventHandler<HTMLElement>;
|
|
142
|
+
onFocus?: react7.FocusEventHandler<HTMLElement>;
|
|
143
|
+
onFocusCapture?: react7.FocusEventHandler<HTMLElement>;
|
|
144
|
+
onBlur?: react7.FocusEventHandler<HTMLElement>;
|
|
145
|
+
onBlurCapture?: react7.FocusEventHandler<HTMLElement>;
|
|
146
|
+
onChange?: react7.FormEventHandler<HTMLElement>;
|
|
147
|
+
onChangeCapture?: react7.FormEventHandler<HTMLElement>;
|
|
148
|
+
onBeforeInput?: react7.InputEventHandler<HTMLElement>;
|
|
149
|
+
onBeforeInputCapture?: react7.FormEventHandler<HTMLElement>;
|
|
150
|
+
onInput?: react7.FormEventHandler<HTMLElement>;
|
|
151
|
+
onInputCapture?: react7.FormEventHandler<HTMLElement>;
|
|
152
|
+
onReset?: react7.FormEventHandler<HTMLElement>;
|
|
153
|
+
onResetCapture?: react7.FormEventHandler<HTMLElement>;
|
|
154
|
+
onSubmit?: react7.FormEventHandler<HTMLElement>;
|
|
155
|
+
onSubmitCapture?: react7.FormEventHandler<HTMLElement>;
|
|
156
|
+
onInvalid?: react7.FormEventHandler<HTMLElement>;
|
|
157
|
+
onInvalidCapture?: react7.FormEventHandler<HTMLElement>;
|
|
158
|
+
onLoad?: react7.ReactEventHandler<HTMLElement>;
|
|
159
|
+
onLoadCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
160
|
+
onError?: react7.ReactEventHandler<HTMLElement>;
|
|
161
|
+
onErrorCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
162
|
+
onKeyDown?: react7.KeyboardEventHandler<HTMLElement>;
|
|
163
|
+
onKeyDownCapture?: react7.KeyboardEventHandler<HTMLElement>;
|
|
164
|
+
onKeyPress?: react7.KeyboardEventHandler<HTMLElement>;
|
|
165
|
+
onKeyPressCapture?: react7.KeyboardEventHandler<HTMLElement>;
|
|
166
|
+
onKeyUp?: react7.KeyboardEventHandler<HTMLElement>;
|
|
167
|
+
onKeyUpCapture?: react7.KeyboardEventHandler<HTMLElement>;
|
|
168
|
+
onAbort?: react7.ReactEventHandler<HTMLElement>;
|
|
169
|
+
onAbortCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
170
|
+
onCanPlay?: react7.ReactEventHandler<HTMLElement>;
|
|
171
|
+
onCanPlayCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
172
|
+
onCanPlayThrough?: react7.ReactEventHandler<HTMLElement>;
|
|
173
|
+
onCanPlayThroughCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
174
|
+
onDurationChange?: react7.ReactEventHandler<HTMLElement>;
|
|
175
|
+
onDurationChangeCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
176
|
+
onEmptied?: react7.ReactEventHandler<HTMLElement>;
|
|
177
|
+
onEmptiedCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
178
|
+
onEncrypted?: react7.ReactEventHandler<HTMLElement>;
|
|
179
|
+
onEncryptedCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
180
|
+
onEnded?: react7.ReactEventHandler<HTMLElement>;
|
|
181
|
+
onEndedCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
182
|
+
onLoadedData?: react7.ReactEventHandler<HTMLElement>;
|
|
183
|
+
onLoadedDataCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
184
|
+
onLoadedMetadata?: react7.ReactEventHandler<HTMLElement>;
|
|
185
|
+
onLoadedMetadataCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
186
|
+
onLoadStart?: react7.ReactEventHandler<HTMLElement>;
|
|
187
|
+
onLoadStartCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
188
|
+
onPause?: react7.ReactEventHandler<HTMLElement>;
|
|
189
|
+
onPauseCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
190
|
+
onPlay?: react7.ReactEventHandler<HTMLElement>;
|
|
191
|
+
onPlayCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
192
|
+
onPlaying?: react7.ReactEventHandler<HTMLElement>;
|
|
193
|
+
onPlayingCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
194
|
+
onProgress?: react7.ReactEventHandler<HTMLElement>;
|
|
195
|
+
onProgressCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
196
|
+
onRateChange?: react7.ReactEventHandler<HTMLElement>;
|
|
197
|
+
onRateChangeCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
198
|
+
onSeeked?: react7.ReactEventHandler<HTMLElement>;
|
|
199
|
+
onSeekedCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
200
|
+
onSeeking?: react7.ReactEventHandler<HTMLElement>;
|
|
201
|
+
onSeekingCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
202
|
+
onStalled?: react7.ReactEventHandler<HTMLElement>;
|
|
203
|
+
onStalledCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
204
|
+
onSuspend?: react7.ReactEventHandler<HTMLElement>;
|
|
205
|
+
onSuspendCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
206
|
+
onTimeUpdate?: react7.ReactEventHandler<HTMLElement>;
|
|
207
|
+
onTimeUpdateCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
208
|
+
onVolumeChange?: react7.ReactEventHandler<HTMLElement>;
|
|
209
|
+
onVolumeChangeCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
210
|
+
onWaiting?: react7.ReactEventHandler<HTMLElement>;
|
|
211
|
+
onWaitingCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
212
|
+
onAuxClick?: react7.MouseEventHandler<HTMLElement>;
|
|
213
|
+
onAuxClickCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
214
|
+
onClickCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
215
|
+
onContextMenu?: react7.MouseEventHandler<HTMLElement>;
|
|
216
|
+
onContextMenuCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
217
|
+
onDoubleClick?: react7.MouseEventHandler<HTMLElement>;
|
|
218
|
+
onDoubleClickCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
219
|
+
onDrag?: react7.DragEventHandler<HTMLElement>;
|
|
220
|
+
onDragCapture?: react7.DragEventHandler<HTMLElement>;
|
|
221
|
+
onDragEnd?: react7.DragEventHandler<HTMLElement>;
|
|
222
|
+
onDragEndCapture?: react7.DragEventHandler<HTMLElement>;
|
|
223
|
+
onDragEnter?: react7.DragEventHandler<HTMLElement>;
|
|
224
|
+
onDragEnterCapture?: react7.DragEventHandler<HTMLElement>;
|
|
225
|
+
onDragExit?: react7.DragEventHandler<HTMLElement>;
|
|
226
|
+
onDragExitCapture?: react7.DragEventHandler<HTMLElement>;
|
|
227
|
+
onDragLeave?: react7.DragEventHandler<HTMLElement>;
|
|
228
|
+
onDragLeaveCapture?: react7.DragEventHandler<HTMLElement>;
|
|
229
|
+
onDragOver?: react7.DragEventHandler<HTMLElement>;
|
|
230
|
+
onDragOverCapture?: react7.DragEventHandler<HTMLElement>;
|
|
231
|
+
onDragStart?: react7.DragEventHandler<HTMLElement>;
|
|
232
|
+
onDragStartCapture?: react7.DragEventHandler<HTMLElement>;
|
|
233
|
+
onDrop?: react7.DragEventHandler<HTMLElement>;
|
|
234
|
+
onDropCapture?: react7.DragEventHandler<HTMLElement>;
|
|
235
|
+
onMouseDown?: react7.MouseEventHandler<HTMLElement>;
|
|
236
|
+
onMouseDownCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
237
|
+
onMouseEnter?: react7.MouseEventHandler<HTMLElement>;
|
|
238
|
+
onMouseLeave?: react7.MouseEventHandler<HTMLElement>;
|
|
239
|
+
onMouseMove?: react7.MouseEventHandler<HTMLElement>;
|
|
240
|
+
onMouseMoveCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
241
|
+
onMouseOut?: react7.MouseEventHandler<HTMLElement>;
|
|
242
|
+
onMouseOutCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
243
|
+
onMouseOver?: react7.MouseEventHandler<HTMLElement>;
|
|
244
|
+
onMouseOverCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
245
|
+
onMouseUp?: react7.MouseEventHandler<HTMLElement>;
|
|
246
|
+
onMouseUpCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
247
|
+
onSelect?: react7.ReactEventHandler<HTMLElement>;
|
|
248
|
+
onSelectCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
249
|
+
onTouchCancel?: react7.TouchEventHandler<HTMLElement>;
|
|
250
|
+
onTouchCancelCapture?: react7.TouchEventHandler<HTMLElement>;
|
|
251
|
+
onTouchEnd?: react7.TouchEventHandler<HTMLElement>;
|
|
252
|
+
onTouchEndCapture?: react7.TouchEventHandler<HTMLElement>;
|
|
253
|
+
onTouchMove?: react7.TouchEventHandler<HTMLElement>;
|
|
254
|
+
onTouchMoveCapture?: react7.TouchEventHandler<HTMLElement>;
|
|
255
|
+
onTouchStart?: react7.TouchEventHandler<HTMLElement>;
|
|
256
|
+
onTouchStartCapture?: react7.TouchEventHandler<HTMLElement>;
|
|
257
|
+
onPointerDown?: react7.PointerEventHandler<HTMLElement>;
|
|
258
|
+
onPointerDownCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
259
|
+
onPointerMove?: react7.PointerEventHandler<HTMLElement>;
|
|
260
|
+
onPointerMoveCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
261
|
+
onPointerUp?: react7.PointerEventHandler<HTMLElement>;
|
|
262
|
+
onPointerUpCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
263
|
+
onPointerCancel?: react7.PointerEventHandler<HTMLElement>;
|
|
264
|
+
onPointerCancelCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
265
|
+
onPointerEnter?: react7.PointerEventHandler<HTMLElement>;
|
|
266
|
+
onPointerLeave?: react7.PointerEventHandler<HTMLElement>;
|
|
267
|
+
onPointerOver?: react7.PointerEventHandler<HTMLElement>;
|
|
268
|
+
onPointerOverCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
269
|
+
onPointerOut?: react7.PointerEventHandler<HTMLElement>;
|
|
270
|
+
onPointerOutCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
271
|
+
onGotPointerCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
272
|
+
onGotPointerCaptureCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
273
|
+
onLostPointerCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
274
|
+
onLostPointerCaptureCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
275
|
+
onScroll?: react7.UIEventHandler<HTMLElement>;
|
|
276
|
+
onScrollCapture?: react7.UIEventHandler<HTMLElement>;
|
|
277
|
+
onScrollEnd?: react7.UIEventHandler<HTMLElement>;
|
|
278
|
+
onScrollEndCapture?: react7.UIEventHandler<HTMLElement>;
|
|
279
|
+
onWheel?: react7.WheelEventHandler<HTMLElement>;
|
|
280
|
+
onWheelCapture?: react7.WheelEventHandler<HTMLElement>;
|
|
281
|
+
onAnimationStart?: react7.AnimationEventHandler<HTMLElement>;
|
|
282
|
+
onAnimationStartCapture?: react7.AnimationEventHandler<HTMLElement>;
|
|
283
|
+
onAnimationEnd?: react7.AnimationEventHandler<HTMLElement>;
|
|
284
|
+
onAnimationEndCapture?: react7.AnimationEventHandler<HTMLElement>;
|
|
285
|
+
onAnimationIteration?: react7.AnimationEventHandler<HTMLElement>;
|
|
286
|
+
onAnimationIterationCapture?: react7.AnimationEventHandler<HTMLElement>;
|
|
287
|
+
onToggle?: react7.ToggleEventHandler<HTMLElement>;
|
|
288
|
+
onBeforeToggle?: react7.ToggleEventHandler<HTMLElement>;
|
|
289
|
+
onTransitionCancel?: react7.TransitionEventHandler<HTMLElement>;
|
|
290
|
+
onTransitionCancelCapture?: react7.TransitionEventHandler<HTMLElement>;
|
|
291
|
+
onTransitionEnd?: react7.TransitionEventHandler<HTMLElement>;
|
|
292
|
+
onTransitionEndCapture?: react7.TransitionEventHandler<HTMLElement>;
|
|
293
|
+
onTransitionRun?: react7.TransitionEventHandler<HTMLElement>;
|
|
294
|
+
onTransitionRunCapture?: react7.TransitionEventHandler<HTMLElement>;
|
|
295
|
+
onTransitionStart?: react7.TransitionEventHandler<HTMLElement>;
|
|
296
|
+
onTransitionStartCapture?: react7.TransitionEventHandler<HTMLElement>;
|
|
297
297
|
className: string;
|
|
298
|
-
style:
|
|
298
|
+
style: react7.CSSProperties;
|
|
299
299
|
id: string;
|
|
300
300
|
'data-testid': string;
|
|
301
301
|
}, HTMLElement>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
2
2
|
import { Config } from "tailwindcss";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DesignTokens/DesignTokensComponent.d.ts
|
|
@@ -9,6 +9,6 @@ type DesignTokensProps = {
|
|
|
9
9
|
declare const DesignTokens: ({
|
|
10
10
|
selectedMerchant,
|
|
11
11
|
config
|
|
12
|
-
}: DesignTokensProps) =>
|
|
12
|
+
}: DesignTokensProps) => react_jsx_runtime18.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { DesignTokens, DesignTokensProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
2
2
|
import { Config } from "tailwindcss";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DesignTokens/DesignTokensComponent.d.ts
|
|
@@ -9,6 +9,6 @@ type DesignTokensProps = {
|
|
|
9
9
|
declare const DesignTokens: ({
|
|
10
10
|
selectedMerchant,
|
|
11
11
|
config
|
|
12
|
-
}: DesignTokensProps) =>
|
|
12
|
+
}: DesignTokensProps) => react_jsx_runtime28.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { DesignTokens, DesignTokensProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentRetrievalCardProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DocumentRetrievalCard/DocumentRetrievalCard.d.ts
|
|
5
5
|
declare const DocumentRetrievalCard: ({
|
|
@@ -16,6 +16,6 @@ declare const DocumentRetrievalCard: ({
|
|
|
16
16
|
onViewArticle,
|
|
17
17
|
ariaLabel,
|
|
18
18
|
viewArticleLabel
|
|
19
|
-
}: DocumentRetrievalCardProps) =>
|
|
19
|
+
}: DocumentRetrievalCardProps) => react_jsx_runtime26.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { DocumentRetrievalCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentRetrievalCardProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DocumentRetrievalCard/DocumentRetrievalCard.d.ts
|
|
5
5
|
declare const DocumentRetrievalCard: ({
|
|
@@ -16,6 +16,6 @@ declare const DocumentRetrievalCard: ({
|
|
|
16
16
|
onViewArticle,
|
|
17
17
|
ariaLabel,
|
|
18
18
|
viewArticleLabel
|
|
19
|
-
}: DocumentRetrievalCardProps) =>
|
|
19
|
+
}: DocumentRetrievalCardProps) => react_jsx_runtime23.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { DocumentRetrievalCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FloatingButtonProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FloatingButton/FloatingButton.d.ts
|
|
5
5
|
declare const FloatingButton: ({
|
|
@@ -17,6 +17,6 @@ declare const FloatingButton: ({
|
|
|
17
17
|
onClick,
|
|
18
18
|
ariaLabel,
|
|
19
19
|
previewMode
|
|
20
|
-
}: FloatingButtonProps) =>
|
|
20
|
+
}: FloatingButtonProps) => react_jsx_runtime24.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { FloatingButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FloatingButtonProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FloatingButton/FloatingButton.d.ts
|
|
5
5
|
declare const FloatingButton: ({
|
|
@@ -17,6 +17,6 @@ declare const FloatingButton: ({
|
|
|
17
17
|
onClick,
|
|
18
18
|
ariaLabel,
|
|
19
19
|
previewMode
|
|
20
|
-
}: FloatingButtonProps) =>
|
|
20
|
+
}: FloatingButtonProps) => react_jsx_runtime24.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { FloatingButton };
|
|
@@ -32,7 +32,7 @@ const FloatingChat = ({ id, className, style, testId, theme = require_theme.Them
|
|
|
32
32
|
const [query, setQuery] = (0, react.useState)("");
|
|
33
33
|
const chatMessagesRef = (0, react.useRef)(null);
|
|
34
34
|
const { headerBackgroundColor, headerMode, welcomeMessageIconColor, showVerifiedBuyer, userQueryInputEnabled = true, showEnviveLogo, ignoreFirstModelResponse, neverShowSingleProductCards, partialViewConfig } = floatingChatConfig;
|
|
35
|
-
const { welcomeMessageTitle, welcomeMessageText, chatFooterTextFieldPlaceholderText, disclaimerText } = hardcopyContent?.values ?? {};
|
|
35
|
+
const { welcomeMessageTitle, welcomeMessageText, chatFooterTextFieldPlaceholderText, disclaimerText, leftToggleLabel, rightToggleLabel } = hardcopyContent?.values ?? {};
|
|
36
36
|
const { agentName, chatHeaderLogoDarkSrc, chatHeaderLogoLightSrc } = lookAndFeelConfig;
|
|
37
37
|
const { messages, isResponseStreaming, isPendingResponse, suggestions, onSuggestionClicked, onTypedMessageSubmitted, onFormResponseSubmitted } = salesAgentData;
|
|
38
38
|
const { answerSuggestions, generalSuggestions, showAnswerSuggestions, setAnswerSuggestions, setGeneralSuggestions } = require_useChatSuggestions.useChatSuggestions({
|
|
@@ -82,7 +82,9 @@ const FloatingChat = ({ id, className, style, testId, theme = require_theme.Them
|
|
|
82
82
|
showHandle: false,
|
|
83
83
|
theme: finalTheme,
|
|
84
84
|
variant: headerMode,
|
|
85
|
-
headerBgColor: headerBackgroundColor
|
|
85
|
+
headerBgColor: headerBackgroundColor,
|
|
86
|
+
leftToggleLabel,
|
|
87
|
+
rightToggleLabel
|
|
86
88
|
});
|
|
87
89
|
const mobileHeader = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(framer_motion.motion.div, {
|
|
88
90
|
style: {
|
|
@@ -100,7 +102,9 @@ const FloatingChat = ({ id, className, style, testId, theme = require_theme.Them
|
|
|
100
102
|
centralizeCXToggle: true,
|
|
101
103
|
selectedOption: require_index.ChatHeaderOptions.ASSISTANT,
|
|
102
104
|
onToggle: handleToggleCXButton,
|
|
103
|
-
onClose
|
|
105
|
+
onClose,
|
|
106
|
+
leftToggleLabel,
|
|
107
|
+
rightToggleLabel
|
|
104
108
|
})
|
|
105
109
|
});
|
|
106
110
|
const handler = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ChatHeader.ChatHeader, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FloatingChatProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FloatingChat/FloatingChat.d.ts
|
|
5
5
|
declare const FloatingChat: ({
|
|
@@ -17,6 +17,6 @@ declare const FloatingChat: ({
|
|
|
17
17
|
debugBar,
|
|
18
18
|
onClose,
|
|
19
19
|
onToggleCXButton
|
|
20
|
-
}: FloatingChatProps) =>
|
|
20
|
+
}: FloatingChatProps) => react_jsx_runtime16.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { FloatingChat };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FloatingChatProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FloatingChat/FloatingChat.d.ts
|
|
5
5
|
declare const FloatingChat: ({
|
|
@@ -17,6 +17,6 @@ declare const FloatingChat: ({
|
|
|
17
17
|
debugBar,
|
|
18
18
|
onClose,
|
|
19
19
|
onToggleCXButton
|
|
20
|
-
}: FloatingChatProps) =>
|
|
20
|
+
}: FloatingChatProps) => react_jsx_runtime21.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { FloatingChat };
|
|
@@ -31,7 +31,7 @@ const FloatingChat = ({ id, className, style, testId, theme = Theme.GLOBAL_CUSTO
|
|
|
31
31
|
const [query, setQuery] = useState("");
|
|
32
32
|
const chatMessagesRef = useRef(null);
|
|
33
33
|
const { headerBackgroundColor, headerMode, welcomeMessageIconColor, showVerifiedBuyer, userQueryInputEnabled = true, showEnviveLogo, ignoreFirstModelResponse, neverShowSingleProductCards, partialViewConfig } = floatingChatConfig;
|
|
34
|
-
const { welcomeMessageTitle, welcomeMessageText, chatFooterTextFieldPlaceholderText, disclaimerText } = hardcopyContent?.values ?? {};
|
|
34
|
+
const { welcomeMessageTitle, welcomeMessageText, chatFooterTextFieldPlaceholderText, disclaimerText, leftToggleLabel, rightToggleLabel } = hardcopyContent?.values ?? {};
|
|
35
35
|
const { agentName, chatHeaderLogoDarkSrc, chatHeaderLogoLightSrc } = lookAndFeelConfig;
|
|
36
36
|
const { messages, isResponseStreaming, isPendingResponse, suggestions, onSuggestionClicked, onTypedMessageSubmitted, onFormResponseSubmitted } = salesAgentData;
|
|
37
37
|
const { answerSuggestions, generalSuggestions, showAnswerSuggestions, setAnswerSuggestions, setGeneralSuggestions } = useChatSuggestions({
|
|
@@ -81,7 +81,9 @@ const FloatingChat = ({ id, className, style, testId, theme = Theme.GLOBAL_CUSTO
|
|
|
81
81
|
showHandle: false,
|
|
82
82
|
theme: finalTheme,
|
|
83
83
|
variant: headerMode,
|
|
84
|
-
headerBgColor: headerBackgroundColor
|
|
84
|
+
headerBgColor: headerBackgroundColor,
|
|
85
|
+
leftToggleLabel,
|
|
86
|
+
rightToggleLabel
|
|
85
87
|
});
|
|
86
88
|
const mobileHeader = /* @__PURE__ */ jsx(motion.div, {
|
|
87
89
|
style: {
|
|
@@ -99,7 +101,9 @@ const FloatingChat = ({ id, className, style, testId, theme = Theme.GLOBAL_CUSTO
|
|
|
99
101
|
centralizeCXToggle: true,
|
|
100
102
|
selectedOption: ChatHeaderOptions.ASSISTANT,
|
|
101
103
|
onToggle: handleToggleCXButton,
|
|
102
|
-
onClose
|
|
104
|
+
onClose,
|
|
105
|
+
leftToggleLabel,
|
|
106
|
+
rightToggleLabel
|
|
103
107
|
})
|
|
104
108
|
});
|
|
105
109
|
const handler = /* @__PURE__ */ jsx(ChatHeader, {
|
|
@@ -17,7 +17,7 @@ let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks
|
|
|
17
17
|
let __envive_ai_react_hooks_atoms_chat = require("@envive-ai/react-hooks/atoms/chat");
|
|
18
18
|
|
|
19
19
|
//#region src/components/FloatingChat/components/AgentMessage.tsx
|
|
20
|
-
const AgentMessage = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, agentName, type, messages, hideAgentName = false, isResponseStreaming = false, neverShowSingleProductCards = false, showVerifiedBuyer = false, isPartialView, onFormResponseSubmitted }) => {
|
|
20
|
+
const AgentMessage = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, agentName, type, messages, hideAgentName = false, isResponseStreaming = false, isPendingResponse = false, neverShowSingleProductCards = false, showVerifiedBuyer = false, isPartialView, onFormResponseSubmitted }) => {
|
|
21
21
|
const handleFormSubmittedAtomFallback = require_react.useSetAtom(__envive_ai_react_hooks_atoms_chat.handleFormSubmittedAtom);
|
|
22
22
|
const finalTheme = require_resolveTheme.resolveTheme(theme);
|
|
23
23
|
if (new Set([
|
|
@@ -28,7 +28,7 @@ const AgentMessage = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, agentName, ty
|
|
|
28
28
|
if (msg.type === __envive_ai_react_hooks_application_models.MessageType.Text && msg.metadata.content) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Message.Message, {
|
|
29
29
|
variant: require_index.MessageVariant.AGENT,
|
|
30
30
|
agentName: hideAgentName ? void 0 : agentName,
|
|
31
|
-
showSparkle: isResponseStreaming,
|
|
31
|
+
showSparkle: isResponseStreaming || isPendingResponse,
|
|
32
32
|
content: msg.metadata.content
|
|
33
33
|
}, msg.id);
|
|
34
34
|
return null;
|
|
@@ -16,7 +16,7 @@ import { MessageType } from "@envive-ai/react-hooks/application/models";
|
|
|
16
16
|
import { handleFormSubmittedAtom } from "@envive-ai/react-hooks/atoms/chat";
|
|
17
17
|
|
|
18
18
|
//#region src/components/FloatingChat/components/AgentMessage.tsx
|
|
19
|
-
const AgentMessage = ({ theme = Theme.GLOBAL_CUSTOM, agentName, type, messages, hideAgentName = false, isResponseStreaming = false, neverShowSingleProductCards = false, showVerifiedBuyer = false, isPartialView, onFormResponseSubmitted }) => {
|
|
19
|
+
const AgentMessage = ({ theme = Theme.GLOBAL_CUSTOM, agentName, type, messages, hideAgentName = false, isResponseStreaming = false, isPendingResponse = false, neverShowSingleProductCards = false, showVerifiedBuyer = false, isPartialView, onFormResponseSubmitted }) => {
|
|
20
20
|
const handleFormSubmittedAtomFallback = useSetAtom(handleFormSubmittedAtom);
|
|
21
21
|
const finalTheme = resolveTheme(theme);
|
|
22
22
|
if (new Set([
|
|
@@ -27,7 +27,7 @@ const AgentMessage = ({ theme = Theme.GLOBAL_CUSTOM, agentName, type, messages,
|
|
|
27
27
|
if (msg.type === MessageType.Text && msg.metadata.content) return /* @__PURE__ */ jsx(Message, {
|
|
28
28
|
variant: MessageVariant.AGENT,
|
|
29
29
|
agentName: hideAgentName ? void 0 : agentName,
|
|
30
|
-
showSparkle: isResponseStreaming,
|
|
30
|
+
showSparkle: isResponseStreaming || isPendingResponse,
|
|
31
31
|
content: msg.metadata.content
|
|
32
32
|
}, msg.id);
|
|
33
33
|
return null;
|
|
@@ -66,6 +66,7 @@ const ChatMessages = (0, react.forwardRef)(({ theme = require_theme.Theme.GLOBAL
|
|
|
66
66
|
type,
|
|
67
67
|
messages: assistantMessages,
|
|
68
68
|
isResponseStreaming: isResponseStreaming && isLastMessageTurn,
|
|
69
|
+
isPendingResponse: isLoading && isLastMessageTurn,
|
|
69
70
|
neverShowSingleProductCards,
|
|
70
71
|
showVerifiedBuyer,
|
|
71
72
|
isPartialView,
|
|
@@ -78,7 +79,6 @@ const ChatMessages = (0, react.forwardRef)(({ theme = require_theme.Theme.GLOBAL
|
|
|
78
79
|
}),
|
|
79
80
|
isLoading && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Message.Message, {
|
|
80
81
|
isLoading: true,
|
|
81
|
-
agentName,
|
|
82
82
|
variant: require_index$1.MessageVariant.AGENT
|
|
83
83
|
})
|
|
84
84
|
]
|