@envive-ai/react-widgets-v3 0.3.13 → 0.3.15-alpha.1

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.
Files changed (350) hide show
  1. package/dist/CXIntegration/implementations/useHelpScoutUnifiedCXButton.cjs +65 -0
  2. package/dist/CXIntegration/implementations/useHelpScoutUnifiedCXButton.js +64 -0
  3. package/dist/CXIntegration/implementations/useTalkdeskUnifiedCXButton.cjs +64 -0
  4. package/dist/CXIntegration/implementations/useTalkdeskUnifiedCXButton.js +63 -0
  5. package/dist/CXIntegration/types.cjs +2 -0
  6. package/dist/CXIntegration/types.js +2 -0
  7. package/dist/CXIntegration/utils/functions.cjs +4 -0
  8. package/dist/CXIntegration/utils/functions.js +4 -0
  9. package/dist/debug/chatEmbed.cjs +1 -1
  10. package/dist/debug/chatEmbed.js +1 -1
  11. package/dist/debug/reportIssue.cjs +1 -1
  12. package/dist/debug/reportIssue.js +1 -1
  13. package/dist/hocs/withBaseWidget/types.d.cts +3 -3
  14. package/dist/hocs/withBaseWidget/types.d.ts +5 -3
  15. package/dist/hocs/withBaseWidget/withBaseWidget.d.cts +2 -2
  16. package/dist/hocs/withBaseWidget/withBaseWidget.d.ts +2 -2
  17. package/dist/hooks/dist/application/models/api/widgetText.d.cts +8 -0
  18. package/dist/hooks/dist/contexts/hardcopyContext/hardcopyContext.d.cts +12 -0
  19. package/dist/hooks/dist/contexts/types.d.cts +38 -0
  20. package/dist/hooks/dist/contexts/typesV3.d.cts +230 -0
  21. package/dist/hooks/dist/services/amplitudeService/eventNames.d.cts +43 -0
  22. package/dist/hooks/dist/types/customerService.d.cts +21 -0
  23. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/WidgetType.cjs +1 -0
  24. package/dist/packages/hooks/dist/application/models/api/orgConfigResults.d.ts +1 -0
  25. package/dist/packages/hooks/dist/application/models/api/widgetText.d.ts +8 -0
  26. package/dist/packages/hooks/dist/application/models/frontendConfig.d.ts +1 -0
  27. package/dist/packages/hooks/dist/contexts/amplitudeContext/amplitudeContext.d.ts +2 -0
  28. package/dist/packages/hooks/dist/contexts/amplitudeContext/index.d.ts +2 -0
  29. package/dist/packages/hooks/dist/contexts/featureFlagServiceContext/featureFlagServiceContext.d.ts +2 -0
  30. package/dist/packages/hooks/dist/contexts/hardcopyContext/hardcopyContext.d.ts +14 -0
  31. package/dist/packages/hooks/dist/contexts/hardcopyContext/index.d.ts +1 -0
  32. package/dist/packages/hooks/dist/contexts/types.d.ts +42 -0
  33. package/dist/packages/hooks/dist/contexts/typesV3.d.ts +230 -0
  34. package/dist/packages/hooks/dist/services/amplitudeService/amplitudeService.d.ts +1 -0
  35. package/dist/packages/hooks/dist/services/amplitudeService/eventNames.d.ts +43 -0
  36. package/dist/packages/hooks/dist/types/customerService.d.ts +21 -0
  37. package/dist/packages/icons/dist/IconCloseVariant.cjs +5 -6
  38. package/dist/packages/icons/dist/IconCloseVariant.js +4 -6
  39. package/dist/packages/widgets/dist/SearchResults/SearchResults.d.ts +3 -2
  40. package/dist/packages/widgets/dist/SearchResults/SearchResultsWidget.d.ts +2 -2
  41. package/dist/packages/widgets/dist/SearchZeroState/index.d.ts +2 -1
  42. package/dist/packages/widgets/dist/SearchZeroState/types.d.ts +2 -2
  43. package/dist/packages/widgets/dist/SuggestionBar/SuggestionBar.d.ts +1 -1
  44. package/dist/packages/widgets/dist/SuggestionButtonContainer/index.d.ts +2 -0
  45. package/dist/packages/widgets/dist/SuggestionButtonContainer/types.d.ts +3 -2
  46. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/api/response.d.ts +14 -0
  47. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/api/search.d.ts +15 -0
  48. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/utilityTypes/camelCase.d.ts +73 -0
  49. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/utilityTypes/camelCasedPropertiesDeep.d.ts +61 -0
  50. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/utilityTypes/internal.d.ts +25 -0
  51. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/utilityTypes/splitWords.d.ts +35 -0
  52. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/utilityTypes/trim.d.ts +32 -0
  53. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/utilityTypes/unknownArray.d.ts +32 -0
  54. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/variantInfo/variantInfo.d.ts +1 -0
  55. package/dist/packages/widgets/dist/packages/hooks/dist/atoms/search/searchAPI.d.ts +15 -0
  56. package/dist/packages/widgets/dist/packages/hooks/dist/contexts/hardcopyContext/hardcopyContext.d.ts +1 -0
  57. package/dist/packages/widgets/dist/packages/hooks/dist/contexts/types.d.ts +63 -0
  58. package/dist/packages/widgets/dist/packages/hooks/dist/hooks/Search/useSearch.d.ts +60 -0
  59. package/dist/packages/widgets/dist/packages/hooks/dist/hooks/utils.d.ts +13 -0
  60. package/dist/packages/widgets/dist/packages/hooks/dist/types/OrgInfo.d.ts +1 -0
  61. package/dist/packages/widgets/dist/packages/hooks/dist/types/index.d.ts +1 -0
  62. package/dist/packages/widgets/dist/packages/hooks/dist/types/search-filter-types.d.ts +28 -0
  63. package/dist/packages/widgets/dist/packages/hooks/dist/types/test-types.d.ts +10 -0
  64. package/dist/src/CXIntegration/hooks/useUnifiedCXButton.d.ts +10 -0
  65. package/dist/src/CXIntegration/hooks/useUnifiedCXButton.js +29 -0
  66. package/dist/src/CXIntegration/implementations/useDefaultUnifiedCXButton.d.ts +2 -0
  67. package/dist/src/CXIntegration/implementations/useDefaultUnifiedCXButton.js +6 -0
  68. package/dist/src/CXIntegration/implementations/useEightByEightUnifiedCXButton.d.ts +5 -0
  69. package/dist/src/CXIntegration/implementations/useEightByEightUnifiedCXButton.js +63 -0
  70. package/dist/src/CXIntegration/implementations/useGladlyUnifiedCXButton.d.ts +5 -0
  71. package/dist/src/CXIntegration/implementations/useGladlyUnifiedCXButton.js +23 -0
  72. package/dist/src/CXIntegration/implementations/useGorgiasUnifiedCXButton.d.ts +5 -0
  73. package/dist/src/CXIntegration/implementations/useGorgiasUnifiedCXButton.js +54 -0
  74. package/dist/src/CXIntegration/implementations/useGrooveUnifiedCXButton.d.ts +18 -0
  75. package/dist/src/CXIntegration/implementations/useGrooveUnifiedCXButton.js +48 -0
  76. package/dist/src/CXIntegration/implementations/useHelpScoutUnifiedCXButton.d.ts +5 -0
  77. package/dist/src/CXIntegration/implementations/useHelpScoutUnifiedCXButton.js +84 -0
  78. package/dist/src/CXIntegration/implementations/useKustomerUnifiedCXButton.d.ts +5 -0
  79. package/dist/src/CXIntegration/implementations/useKustomerUnifiedCXButton.js +86 -0
  80. package/dist/src/CXIntegration/implementations/useReDoUnifiedCXButton.d.ts +5 -0
  81. package/dist/src/CXIntegration/implementations/useReDoUnifiedCXButton.js +59 -0
  82. package/dist/src/CXIntegration/implementations/useRichpanelUnifiedCXButton.d.ts +5 -0
  83. package/dist/src/CXIntegration/implementations/useRichpanelUnifiedCXButton.js +62 -0
  84. package/dist/src/CXIntegration/implementations/useShopifyChatUnifiedCXButton.d.ts +5 -0
  85. package/dist/src/CXIntegration/implementations/useShopifyChatUnifiedCXButton.js +49 -0
  86. package/dist/src/CXIntegration/implementations/useTalkdeskUnifiedCXButton.d.ts +5 -0
  87. package/dist/src/CXIntegration/implementations/useTalkdeskUnifiedCXButton.js +77 -0
  88. package/dist/src/CXIntegration/implementations/useTidioUnifiedCXButton.d.ts +13 -0
  89. package/dist/src/CXIntegration/implementations/useTidioUnifiedCXButton.js +20 -0
  90. package/dist/src/CXIntegration/implementations/useZendeskUnifiedCXButton.d.ts +5 -0
  91. package/dist/src/CXIntegration/implementations/useZendeskUnifiedCXButton.js +55 -0
  92. package/dist/src/CXIntegration/implementations/useZowieUnifiedCXButton.d.ts +13 -0
  93. package/dist/src/CXIntegration/implementations/useZowieUnifiedCXButton.js +20 -0
  94. package/dist/src/CXIntegration/types.d.ts +26 -0
  95. package/dist/src/CXIntegration/types.js +17 -0
  96. package/dist/src/CXIntegration/utils/functions.d.ts +2 -0
  97. package/dist/src/CXIntegration/utils/functions.js +57 -0
  98. package/dist/src/debug/GenericSelect.d.ts +11 -0
  99. package/dist/src/debug/GenericSelect.js +151 -0
  100. package/dist/src/debug/MessageContent.d.ts +4 -0
  101. package/dist/src/debug/MessageContent.js +87 -0
  102. package/dist/src/debug/chatEmbed.d.ts +2 -0
  103. package/dist/src/debug/chatEmbed.js +58 -0
  104. package/dist/src/debug/debugBar.d.ts +1 -0
  105. package/dist/src/debug/debugBar.js +9 -0
  106. package/dist/src/debug/reportIssue.d.ts +1 -0
  107. package/dist/src/debug/reportIssue.js +322 -0
  108. package/dist/src/hocs/withBaseWidget/__tests__/withBaseWidget.test.d.ts +1 -0
  109. package/dist/src/hocs/withBaseWidget/__tests__/withBaseWidget.test.js +452 -0
  110. package/dist/src/hocs/withBaseWidget/index.d.ts +2 -0
  111. package/dist/src/hocs/withBaseWidget/index.js +1 -0
  112. package/dist/src/hocs/withBaseWidget/types.d.ts +33 -0
  113. package/dist/src/hocs/withBaseWidget/types.js +0 -0
  114. package/dist/src/hocs/withBaseWidget/withBaseWidget.d.ts +5 -0
  115. package/dist/src/hocs/withBaseWidget/withBaseWidget.js +80 -0
  116. package/dist/src/stories/FloatingChatWidget.stories.d.ts +25 -0
  117. package/dist/src/stories/FloatingChatWidget.stories.js +44 -0
  118. package/dist/src/stories/FullPageSalesAgentWidget.stories.d.ts +31 -0
  119. package/dist/src/stories/FullPageSalesAgentWidget.stories.js +51 -0
  120. package/dist/src/stories/ProductCardWidget.stories.d.ts +31 -0
  121. package/dist/src/stories/ProductCardWidget.stories.js +44 -0
  122. package/dist/src/stories/PromptButtonCarouselWithImageWidget.stories.d.ts +31 -0
  123. package/dist/src/stories/PromptButtonCarouselWithImageWidget.stories.js +40 -0
  124. package/dist/src/stories/PromptCarouselWidget.stories.d.ts +31 -0
  125. package/dist/src/stories/PromptCarouselWidget.stories.js +40 -0
  126. package/dist/src/stories/SalesAgentTest/SalesAgentTest.d.ts +1 -0
  127. package/dist/src/stories/SalesAgentTest/SalesAgentTest.js +40 -0
  128. package/dist/src/stories/SalesAgentTest/SalesAgentTest.stories.d.ts +12 -0
  129. package/dist/src/stories/SalesAgentTest/SalesAgentTest.stories.js +12 -0
  130. package/dist/src/stories/SalesAgentTest/index.d.ts +0 -0
  131. package/dist/src/stories/SalesAgentTest/index.js +0 -0
  132. package/dist/src/stories/SearchResults.stories.d.ts +6 -0
  133. package/dist/src/stories/SearchResults.stories.js +23 -0
  134. package/dist/src/stories/SearchZeroState.stories.d.ts +38 -0
  135. package/dist/src/stories/SearchZeroState.stories.js +42 -0
  136. package/dist/src/stories/SocialProofFlowWidget.stories.d.ts +35 -0
  137. package/dist/src/stories/SocialProofFlowWidget.stories.js +60 -0
  138. package/dist/src/stories/SuggestionBar.stories.d.ts +7 -0
  139. package/dist/src/stories/SuggestionBar.stories.js +36 -0
  140. package/dist/src/stories/TitledPromptCarouselWidget.stories.d.ts +32 -0
  141. package/dist/src/stories/TitledPromptCarouselWidget.stories.js +55 -0
  142. package/dist/src/stories/TypingAnimationFlowWidget.stories.d.ts +34 -0
  143. package/dist/src/stories/TypingAnimationFlowWidget.stories.js +51 -0
  144. package/dist/src/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.d.ts +12 -0
  145. package/dist/src/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.js +112 -0
  146. package/dist/src/widgets/ChatPreviewComparisonWidget/index.d.ts +3 -0
  147. package/dist/src/widgets/ChatPreviewComparisonWidget/index.js +2 -0
  148. package/dist/src/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.ts +9 -0
  149. package/dist/src/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.js +34 -0
  150. package/dist/src/widgets/ChatPreviewLoadingWidget/index.d.ts +3 -0
  151. package/dist/src/widgets/ChatPreviewLoadingWidget/index.js +2 -0
  152. package/dist/src/widgets/ChatPreviewWidget/ChatPreviewWidget.d.ts +12 -0
  153. package/dist/src/widgets/ChatPreviewWidget/ChatPreviewWidget.js +111 -0
  154. package/dist/src/widgets/ChatPreviewWidget/__tests__/ChatPreviewWidget.test.d.ts +1 -0
  155. package/dist/src/widgets/ChatPreviewWidget/__tests__/ChatPreviewWidget.test.js +97 -0
  156. package/dist/src/widgets/ChatPreviewWidget/index.d.ts +3 -0
  157. package/dist/src/widgets/ChatPreviewWidget/index.js +2 -0
  158. package/dist/src/widgets/FloatingChatWidget/FloatingChatOverlay.d.ts +14 -0
  159. package/dist/src/widgets/FloatingChatWidget/FloatingChatOverlay.js +44 -0
  160. package/dist/src/widgets/FloatingChatWidget/FloatingChatWidget.d.ts +8 -0
  161. package/dist/src/widgets/FloatingChatWidget/FloatingChatWidget.js +134 -0
  162. package/dist/src/widgets/FloatingChatWidget/__tests__/FloatingChatWidget.test.d.ts +1 -0
  163. package/dist/src/widgets/FloatingChatWidget/__tests__/FloatingChatWidget.test.js +100 -0
  164. package/dist/src/widgets/FloatingChatWidget/constants.d.ts +1 -0
  165. package/dist/src/widgets/FloatingChatWidget/constants.js +1 -0
  166. package/dist/src/widgets/FloatingChatWidget/hooks/useAutoPopup.d.ts +4 -0
  167. package/dist/src/widgets/FloatingChatWidget/hooks/useAutoPopup.js +51 -0
  168. package/dist/src/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.d.ts +11 -0
  169. package/dist/src/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.js +21 -0
  170. package/dist/src/widgets/FloatingChatWidget/index.d.ts +4 -0
  171. package/dist/src/widgets/FloatingChatWidget/index.js +3 -0
  172. package/dist/src/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.ts +12 -0
  173. package/dist/src/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.js +14 -0
  174. package/dist/src/widgets/FullPageSalesAgentWidget/index.d.ts +1 -0
  175. package/dist/src/widgets/FullPageSalesAgentWidget/index.js +1 -0
  176. package/dist/src/widgets/ProductCardWidget/ProductCardWidget.d.ts +7 -0
  177. package/dist/src/widgets/ProductCardWidget/ProductCardWidget.js +94 -0
  178. package/dist/src/widgets/ProductCardWidget/__tests__/ProductCardWidget.test.d.ts +1 -0
  179. package/dist/src/widgets/ProductCardWidget/__tests__/ProductCardWidget.test.js +106 -0
  180. package/dist/src/widgets/ProductCardWidget/index.d.ts +2 -0
  181. package/dist/src/widgets/ProductCardWidget/index.js +1 -0
  182. package/dist/src/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.d.ts +12 -0
  183. package/dist/src/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.js +88 -0
  184. package/dist/src/widgets/PromptButtonCarouselWithImageWidget/__tests__/PromptButtonCarouselWithImageWidget.test.d.ts +1 -0
  185. package/dist/src/widgets/PromptButtonCarouselWithImageWidget/__tests__/PromptButtonCarouselWithImageWidget.test.js +132 -0
  186. package/dist/src/widgets/PromptButtonCarouselWithImageWidget/index.d.ts +2 -0
  187. package/dist/src/widgets/PromptButtonCarouselWithImageWidget/index.js +2 -0
  188. package/dist/src/widgets/PromptCarouselWidget/PromptCarouselWidget.d.ts +7 -0
  189. package/dist/src/widgets/PromptCarouselWidget/PromptCarouselWidget.js +74 -0
  190. package/dist/src/widgets/PromptCarouselWidget/__tests__/PromptCarouselWidget.test.d.ts +1 -0
  191. package/dist/src/widgets/PromptCarouselWidget/__tests__/PromptCarouselWidget.test.js +106 -0
  192. package/dist/src/widgets/PromptCarouselWidget/index.d.ts +2 -0
  193. package/dist/src/widgets/PromptCarouselWidget/index.js +1 -0
  194. package/dist/src/widgets/SocialProofFlowWidget/SocialProofFlowWidget.d.ts +7 -0
  195. package/dist/src/widgets/SocialProofFlowWidget/SocialProofFlowWidget.js +25 -0
  196. package/dist/src/widgets/SocialProofFlowWidget/index.d.ts +3 -0
  197. package/dist/src/widgets/SocialProofFlowWidget/index.js +2 -0
  198. package/dist/src/widgets/SocialProofWidget/SocialProofWidget.d.ts +12 -0
  199. package/dist/src/widgets/SocialProofWidget/SocialProofWidget.js +203 -0
  200. package/dist/src/widgets/SocialProofWidget/__tests__/SocialProofWidget.test.d.ts +1 -0
  201. package/dist/src/widgets/SocialProofWidget/__tests__/SocialProofWidget.test.js +135 -0
  202. package/dist/src/widgets/SocialProofWidget/index.d.ts +2 -0
  203. package/dist/src/widgets/SocialProofWidget/index.js +1 -0
  204. package/dist/src/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.ts +7 -0
  205. package/dist/src/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.js +75 -0
  206. package/dist/src/widgets/TitledPromptCarouselWidget/__tests__/TitledPromptCarouselWidget.test.d.ts +1 -0
  207. package/dist/src/widgets/TitledPromptCarouselWidget/__tests__/TitledPromptCarouselWidget.test.js +106 -0
  208. package/dist/src/widgets/TitledPromptCarouselWidget/index.d.ts +2 -0
  209. package/dist/src/widgets/TitledPromptCarouselWidget/index.js +1 -0
  210. package/dist/src/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.ts +7 -0
  211. package/dist/src/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.js +25 -0
  212. package/dist/src/widgets/TypingAnimationFlowWidget/index.d.ts +3 -0
  213. package/dist/src/widgets/TypingAnimationFlowWidget/index.js +2 -0
  214. package/dist/src/widgets/TypingAnimationWidget/TypingAnimationWidget.d.ts +12 -0
  215. package/dist/src/widgets/TypingAnimationWidget/TypingAnimationWidget.js +126 -0
  216. package/dist/src/widgets/TypingAnimationWidget/__tests__/TypingAnimationWidget.test.d.ts +1 -0
  217. package/dist/src/widgets/TypingAnimationWidget/__tests__/TypingAnimationWidget.test.js +118 -0
  218. package/dist/src/widgets/TypingAnimationWidget/index.d.ts +2 -0
  219. package/dist/src/widgets/TypingAnimationWidget/index.js +1 -0
  220. package/dist/src/widgets/__tests__/testUtils.d.ts +60 -0
  221. package/dist/src/widgets/__tests__/testUtils.js +46 -0
  222. package/dist/src/widgets/__tests__/trackEventCanary.test.d.ts +1 -0
  223. package/dist/src/widgets/__tests__/trackEventCanary.test.js +37 -0
  224. package/dist/src/widgets/hooks/useGetWidgetStatus.d.ts +7 -0
  225. package/dist/src/widgets/hooks/useGetWidgetStatus.js +17 -0
  226. package/dist/src/widgets/utils/functions.d.ts +16 -0
  227. package/dist/src/widgets/utils/functions.js +87 -0
  228. package/dist/src/widgets-v2/SearchResults/index.d.ts +2 -0
  229. package/dist/src/widgets-v2/SearchResults/index.js +2 -0
  230. package/dist/src/widgets-v2/SearchZeroState/index.d.ts +2 -0
  231. package/dist/src/widgets-v2/SearchZeroState/index.js +2 -0
  232. package/dist/src/widgets-v2/SuggestionBar/index.d.ts +2 -0
  233. package/dist/src/widgets-v2/SuggestionBar/index.js +2 -0
  234. package/dist/src/widgets-v2/SuggestionButtonContainer/index.d.ts +2 -0
  235. package/dist/src/widgets-v2/SuggestionButtonContainer/index.js +2 -0
  236. package/dist/tsdown.config.d.ts +2 -0
  237. package/dist/tsdown.config.js +12 -0
  238. package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.cjs +36 -5
  239. package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.d.cts +3 -3
  240. package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.d.ts +3 -3
  241. package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.js +36 -5
  242. package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.cts +3 -3
  243. package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.ts +3 -3
  244. package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.cjs +34 -4
  245. package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.d.cts +3 -3
  246. package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.d.ts +3 -3
  247. package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.js +35 -5
  248. package/dist/widgets/FloatingChatWidget/FloatingChatOverlay.cjs +0 -2
  249. package/dist/widgets/FloatingChatWidget/FloatingChatOverlay.js +0 -2
  250. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.cjs +31 -7
  251. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.d.cts +2 -2
  252. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.d.ts +2 -2
  253. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.js +32 -8
  254. package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.ts +2 -2
  255. package/dist/widgets/ProductCardWidget/ProductCardWidget.cjs +44 -6
  256. package/dist/widgets/ProductCardWidget/ProductCardWidget.d.cts +2 -2
  257. package/dist/widgets/ProductCardWidget/ProductCardWidget.d.ts +2 -2
  258. package/dist/widgets/ProductCardWidget/ProductCardWidget.js +45 -7
  259. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.cjs +33 -4
  260. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.d.cts +3 -3
  261. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.d.ts +3 -3
  262. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.js +35 -6
  263. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.cjs +17 -12
  264. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.d.cts +2 -2
  265. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.d.ts +2 -2
  266. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.js +18 -13
  267. package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.d.cts +2 -2
  268. package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.d.ts +2 -2
  269. package/dist/widgets/SocialProofWidget/SocialProofWidget.cjs +63 -6
  270. package/dist/widgets/SocialProofWidget/SocialProofWidget.d.cts +3 -3
  271. package/dist/widgets/SocialProofWidget/SocialProofWidget.d.ts +3 -3
  272. package/dist/widgets/SocialProofWidget/SocialProofWidget.js +65 -8
  273. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.cjs +21 -1
  274. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.cts +2 -2
  275. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.js +23 -3
  276. package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.cts +2 -2
  277. package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.ts +2 -2
  278. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.cjs +47 -6
  279. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.d.cts +3 -3
  280. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.d.ts +3 -3
  281. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.js +49 -8
  282. package/dist/widgets/dist/SearchResults/SearchResults.d.cts +3 -2
  283. package/dist/widgets/dist/SearchResults/SearchResultsWidget.d.cts +2 -2
  284. package/dist/widgets/dist/SearchZeroState/types.d.cts +2 -2
  285. package/dist/widgets/dist/SuggestionBar/SuggestionBar.d.cts +1 -1
  286. package/dist/widgets/dist/SuggestionButtonContainer/types.d.cts +3 -2
  287. package/dist/widgets/dist/packages/hooks/dist/application/models/api/response.d.cts +14 -0
  288. package/dist/widgets/dist/packages/hooks/dist/application/models/api/search.d.cts +15 -0
  289. package/dist/widgets/dist/packages/hooks/dist/application/models/utilityTypes/camelCase.d.cts +73 -0
  290. package/dist/widgets/dist/packages/hooks/dist/application/models/utilityTypes/camelCasedPropertiesDeep.d.cts +61 -0
  291. package/dist/widgets/dist/packages/hooks/dist/application/models/utilityTypes/internal.d.cts +25 -0
  292. package/dist/widgets/dist/packages/hooks/dist/application/models/utilityTypes/splitWords.d.cts +35 -0
  293. package/dist/widgets/dist/packages/hooks/dist/application/models/utilityTypes/trim.d.cts +32 -0
  294. package/dist/widgets/dist/packages/hooks/dist/application/models/utilityTypes/unknownArray.d.cts +32 -0
  295. package/dist/widgets/dist/packages/hooks/dist/atoms/search/searchAPI.d.cts +14 -0
  296. package/dist/widgets/dist/packages/hooks/dist/contexts/types.d.cts +61 -0
  297. package/dist/widgets/dist/packages/hooks/dist/hooks/Search/useSearch.d.cts +60 -0
  298. package/dist/widgets/dist/packages/hooks/dist/hooks/utils.d.cts +12 -0
  299. package/dist/widgets/dist/packages/hooks/dist/types/search-filter-types.d.cts +28 -0
  300. package/dist/widgets/dist/packages/hooks/dist/types/test-types.d.cts +10 -0
  301. package/dist/widgets/hooks/useGetWidgetStatus.cjs +1 -1
  302. package/dist/widgets/hooks/useGetWidgetStatus.js +1 -1
  303. package/dist/widgets/utils/functions.cjs +9 -14
  304. package/dist/widgets/utils/functions.js +9 -14
  305. package/dist/widgets-v2/SearchZeroState/index.d.cts +2 -1
  306. package/dist/widgets-v2/SearchZeroState/index.d.ts +2 -1
  307. package/dist/widgets-v2/SuggestionButtonContainer/index.d.ts +1 -0
  308. package/package.json +4 -4
  309. package/src/CXIntegration/implementations/useHelpScoutUnifiedCXButton.ts +108 -0
  310. package/src/CXIntegration/implementations/useTalkdeskUnifiedCXButton.ts +94 -0
  311. package/src/CXIntegration/types.ts +2 -0
  312. package/src/CXIntegration/utils/functions.ts +8 -0
  313. package/src/hocs/withBaseWidget/__tests__/withBaseWidget.test.tsx +83 -305
  314. package/src/hocs/withBaseWidget/types.ts +6 -6
  315. package/src/hocs/withBaseWidget/withBaseWidget.tsx +46 -61
  316. package/src/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.tsx +59 -8
  317. package/src/widgets/ChatPreviewWidget/ChatPreviewWidget.tsx +54 -18
  318. package/src/widgets/ChatPreviewWidget/__tests__/ChatPreviewWidget.test.tsx +120 -0
  319. package/src/widgets/FloatingChatWidget/FloatingChatOverlay.tsx +48 -19
  320. package/src/widgets/FloatingChatWidget/FloatingChatWidget.tsx +100 -52
  321. package/src/widgets/FloatingChatWidget/__tests__/FloatingChatWidget.test.tsx +125 -0
  322. package/src/widgets/ProductCardWidget/ProductCardWidget.tsx +52 -19
  323. package/src/widgets/ProductCardWidget/__tests__/ProductCardWidget.test.tsx +148 -0
  324. package/src/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.tsx +50 -20
  325. package/src/widgets/PromptButtonCarouselWithImageWidget/__tests__/PromptButtonCarouselWithImageWidget.test.tsx +190 -0
  326. package/src/widgets/PromptCarouselWidget/PromptCarouselWidget.tsx +33 -33
  327. package/src/widgets/PromptCarouselWidget/__tests__/PromptCarouselWidget.test.tsx +163 -0
  328. package/src/widgets/SocialProofWidget/SocialProofWidget.tsx +88 -18
  329. package/src/widgets/SocialProofWidget/__tests__/SocialProofWidget.test.tsx +195 -0
  330. package/src/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.tsx +34 -18
  331. package/src/widgets/TitledPromptCarouselWidget/__tests__/TitledPromptCarouselWidget.test.tsx +161 -0
  332. package/src/widgets/TypingAnimationWidget/TypingAnimationWidget.tsx +63 -22
  333. package/src/widgets/TypingAnimationWidget/__tests__/TypingAnimationWidget.test.tsx +174 -0
  334. package/src/widgets/__tests__/testUtils.tsx +63 -0
  335. package/src/widgets/__tests__/trackEventCanary.test.ts +45 -0
  336. package/src/widgets/utils/functions.ts +16 -0
  337. package/dist/packages/icons/dist/_virtual/rolldown_runtime.cjs +0 -27
  338. package/dist/packages/icons/dist/_virtual/rolldown_runtime.js +0 -25
  339. package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs +0 -696
  340. package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -696
  341. package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs +0 -43
  342. package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -43
  343. package/dist/packages/icons/dist/node_modules/react/cjs/react.development.cjs +0 -1528
  344. package/dist/packages/icons/dist/node_modules/react/cjs/react.development.js +0 -1528
  345. package/dist/packages/icons/dist/node_modules/react/cjs/react.production.min.cjs +0 -329
  346. package/dist/packages/icons/dist/node_modules/react/cjs/react.production.min.js +0 -329
  347. package/dist/packages/icons/dist/node_modules/react/index.cjs +0 -13
  348. package/dist/packages/icons/dist/node_modules/react/index.js +0 -13
  349. package/dist/packages/icons/dist/node_modules/react/jsx-runtime.cjs +0 -13
  350. package/dist/packages/icons/dist/node_modules/react/jsx-runtime.js +0 -13
@@ -1,25 +1,19 @@
1
1
  import { withBaseWidget } from "../../hocs/withBaseWidget/withBaseWidget.js";
2
2
  import "../../hocs/withBaseWidget/index.js";
3
+ import { getStringIdForText } from "../utils/functions.js";
3
4
  import { useCallback, useEffect } from "react";
4
5
  import { EnviveMetricsEventName, SpiffyMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
5
6
  import { jsx } from "react/jsx-runtime";
6
- import { WidgetTypeV3 } from "@envive-ai/react-hooks/contexts/typesV3";
7
7
  import { useSalesAgent } from "@envive-ai/react-hooks/contexts/salesAgentContext";
8
+ import { WidgetTypeV3 } from "@envive-ai/react-hooks/contexts/typesV3";
8
9
  import { useChatToggle } from "@envive-ai/react-hooks/hooks/ChatToggle";
9
- import { Theme } from "@envive-ai/react-toolkit-v3/Tokens";
10
10
  import { ChatElementDisplayLocationV3 } from "@envive-ai/react-hooks/application/models";
11
- import { AnimationSpeed } from "@envive-ai/react-toolkit-v3/PromptCarousel/types/types";
12
- import { PromptCarousel } from "@envive-ai/react-toolkit-v3/PromptCarousel";
11
+ import { WidgetInteractionComponent } from "@envive-ai/react-hooks/hooks/WidgetInteraction/types";
12
+ import { PromptCarousel, usePromptCarouselAnalytics } from "@envive-ai/react-toolkit-v3/PromptCarousel";
13
+ import { Theme } from "@envive-ai/react-toolkit-v3/Tokens";
14
+ import { AnimationSpeed as AnimationSpeed$1 } from "@envive-ai/react-toolkit-v3/PromptCarousel/types/types";
13
15
 
14
16
  //#region src/widgets/PromptCarouselWidget/PromptCarouselWidget.tsx
15
- /** Finds the string_id (id) from raw widget text values for the given display text */
16
- function getStringIdForText(rawValues, text) {
17
- if (!rawValues) return void 0;
18
- for (const raw of Object.values(rawValues)) {
19
- const found = (Array.isArray(raw) ? raw : [raw]).find((s) => s.value === text);
20
- if (found) return found.id;
21
- }
22
- }
23
17
  const mockButtonTexts = [
24
18
  "Loading button 1",
25
19
  "Loading button 2",
@@ -31,6 +25,10 @@ const PromptCarouselWidgetHandler = (props) => {
31
25
  const { onTypedMessageSubmitted } = useSalesAgent();
32
26
  const { openChat } = useChatToggle();
33
27
  const { hardcopyContent, widgetConfig, isLoading, widgetConfigId } = props;
28
+ const { onClick: onSuggestionClick, onDrag, onHover, onMouseDown, onMouseUp, onTouchStart, onTouchEnd } = usePromptCarouselAnalytics(WidgetInteractionComponent.SUGGESTION_BAR, (text) => {
29
+ const rawValues = hardcopyContent?.rawValues;
30
+ return getStringIdForText(rawValues, text);
31
+ });
34
32
  const promptButtonTexts = hardcopyContent?.values?.promptButtonTexts || [];
35
33
  const buttonTexts = isLoading ? mockButtonTexts : promptButtonTexts;
36
34
  const promptCarouselWidgetConfig = widgetConfig;
@@ -38,7 +36,7 @@ const PromptCarouselWidgetHandler = (props) => {
38
36
  const boldFirstButton = promptCarouselWidgetConfig?.boldFirstButton;
39
37
  const promptButtonType = promptCarouselWidgetConfig?.promptButtonType;
40
38
  const promptCarouselRows = promptCarouselWidgetConfig?.promptCarouselRows;
41
- const animationSpeed = isLoading ? AnimationSpeed.NONE : promptCarouselWidgetConfig?.animationSpeed;
39
+ const animationSpeed = isLoading ? AnimationSpeed$1.NONE : promptCarouselWidgetConfig?.animationSpeed;
42
40
  const { trackEvent } = useAmplitude();
43
41
  useEffect(() => {
44
42
  trackEvent({
@@ -52,6 +50,7 @@ const PromptCarouselWidgetHandler = (props) => {
52
50
  const handleButtonClick = useCallback((text) => {
53
51
  const rawValues = hardcopyContent?.rawValues;
54
52
  const stringId = getStringIdForText(rawValues, text);
53
+ onSuggestionClick(stringId);
55
54
  trackEvent({
56
55
  eventName: EnviveMetricsEventName.WidgetTextClicked,
57
56
  eventProps: {
@@ -82,6 +81,12 @@ const PromptCarouselWidgetHandler = (props) => {
82
81
  promptCarouselRows,
83
82
  animationSpeed,
84
83
  handleButtonClick,
84
+ handleButtonHover: onHover,
85
+ handleButtonDrag: onDrag,
86
+ handleButtonMouseUp: onMouseUp,
87
+ handleButtonMouseDown: onMouseDown,
88
+ handleButtonTouchStart: onTouchStart,
89
+ handleButtonTouchEnd: onTouchEnd,
85
90
  promptButtonTexts: buttonTexts
86
91
  });
87
92
  };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime3 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/widgets/SocialProofFlowWidget/SocialProofFlowWidget.d.ts
4
4
  interface SocialProofFlowWidgetProps {
@@ -7,7 +7,7 @@ interface SocialProofFlowWidgetProps {
7
7
  declare const SocialProofFlowWidget: {
8
8
  ({
9
9
  widgetConfigId
10
- }: SocialProofFlowWidgetProps): react_jsx_runtime3.JSX.Element;
10
+ }: SocialProofFlowWidgetProps): react_jsx_runtime1.JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime6 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/widgets/SocialProofFlowWidget/SocialProofFlowWidget.d.ts
4
4
  interface SocialProofFlowWidgetProps {
@@ -7,7 +7,7 @@ interface SocialProofFlowWidgetProps {
7
7
  declare const SocialProofFlowWidget: {
8
8
  ({
9
9
  widgetConfigId
10
- }: SocialProofFlowWidgetProps): react_jsx_runtime6.JSX.Element;
10
+ }: SocialProofFlowWidgetProps): react_jsx_runtime5.JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  //#endregion
@@ -4,25 +4,29 @@ const require_functions = require('../utils/functions.cjs');
4
4
  let react = require("react");
5
5
  let __envive_ai_react_hooks_contexts_amplitudeContext = require("@envive-ai/react-hooks/contexts/amplitudeContext");
6
6
  let react_jsx_runtime = require("react/jsx-runtime");
7
- let __envive_ai_react_hooks_contexts_typesV3 = require("@envive-ai/react-hooks/contexts/typesV3");
8
- let jotai = require("jotai");
9
7
  let __envive_ai_react_hooks_contexts_salesAgentContext = require("@envive-ai/react-hooks/contexts/salesAgentContext");
8
+ let __envive_ai_react_hooks_contexts_typesV3 = require("@envive-ai/react-hooks/contexts/typesV3");
10
9
  let __envive_ai_react_hooks_hooks_ChatToggle = require("@envive-ai/react-hooks/hooks/ChatToggle");
11
- let __envive_ai_react_hooks_atoms_chat = require("@envive-ai/react-hooks/atoms/chat");
12
- let __envive_ai_react_toolkit_v3_Tokens = require("@envive-ai/react-toolkit-v3/Tokens");
10
+ let jotai = require("jotai");
13
11
  let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks/application/models");
14
12
  let __envive_ai_react_hooks_atoms_app = require("@envive-ai/react-hooks/atoms/app");
13
+ let __envive_ai_react_hooks_hooks_WidgetInteraction = require("@envive-ai/react-hooks/hooks/WidgetInteraction");
14
+ let __envive_ai_react_hooks_hooks_WidgetInteraction_types = require("@envive-ai/react-hooks/hooks/WidgetInteraction/types");
15
+ let __envive_ai_react_toolkit_v3_PromptCarousel = require("@envive-ai/react-toolkit-v3/PromptCarousel");
16
+ let __envive_ai_react_toolkit_v3_Tokens = require("@envive-ai/react-toolkit-v3/Tokens");
15
17
  let __envive_ai_react_toolkit_v3_ChatPreviewLoading = require("@envive-ai/react-toolkit-v3/ChatPreviewLoading");
16
18
  let __envive_ai_react_hooks_atoms_widget = require("@envive-ai/react-hooks/atoms/widget");
17
19
  let __envive_ai_react_toolkit_v3_SocialProof = require("@envive-ai/react-toolkit-v3/SocialProof");
20
+ let __envive_ai_react_hooks_hooks_ProductImageUrl = require("@envive-ai/react-hooks/hooks/ProductImageUrl");
18
21
 
19
22
  //#region src/widgets/SocialProofWidget/SocialProofWidget.tsx
20
23
  const SocialProofWidgetHandler = (props) => {
21
24
  const setChatPreviewLoadingData = (0, jotai.useSetAtom)(__envive_ai_react_hooks_atoms_widget.chatPreviewLoadingDataAtom);
22
25
  const { onTypedMessageSubmitted } = (0, __envive_ai_react_hooks_contexts_salesAgentContext.useSalesAgent)();
23
26
  const { openChat } = (0, __envive_ai_react_hooks_hooks_ChatToggle.useChatToggle)();
24
- const lastAssistantMessage = (0, jotai.useAtomValue)(__envive_ai_react_hooks_atoms_chat.lastAssistantMessageAtom);
25
27
  const variantInfo = (0, jotai.useAtomValue)(__envive_ai_react_hooks_atoms_app.variantInfoAtom);
28
+ const { trackWidgetInteraction } = (0, __envive_ai_react_hooks_hooks_WidgetInteraction.useWidgetInteraction)();
29
+ const { onClick: onSuggestionClick, onHover, onDrag, onMouseDown, onMouseUp, onTouchStart, onTouchEnd } = (0, __envive_ai_react_toolkit_v3_PromptCarousel.usePromptCarouselAnalytics)(__envive_ai_react_hooks_hooks_WidgetInteraction_types.WidgetInteractionComponent.SOCIAL_PROOF, (text) => text);
26
30
  const { hardcopyContent, widgetConfig, uiConfig, isLoading, widgetConfigId } = props;
27
31
  const socialProofWidgetConfig = widgetConfig;
28
32
  const id = widgetConfig?.contentId;
@@ -50,7 +54,7 @@ const SocialProofWidgetHandler = (props) => {
50
54
  };
51
55
  const logoSrc = uiConfig?.lookAndFeel?.widgetLogoSrc;
52
56
  const hideLogo = uiConfig?.lookAndFeel?.hideWidgetLogo;
53
- const dynamicImageUrl = require_functions.getProductImageUrl(lastAssistantMessage);
57
+ const dynamicImageUrl = (0, __envive_ai_react_hooks_hooks_ProductImageUrl.useProductImageUrl)(variantInfo.variant === __envive_ai_react_hooks_application_models.VariantTypeEnum.Pdp ? variantInfo.productId : void 0);
54
58
  const images = socialProofWidgetConfig?.kind !== __envive_ai_react_toolkit_v3_SocialProof.WidgetKind.DYNAMIC ? socialProofWidgetConfig?.images : [{
55
59
  src: dynamicImageUrl,
56
60
  alt: "Product Image"
@@ -66,23 +70,69 @@ const SocialProofWidgetHandler = (props) => {
66
70
  });
67
71
  }, [trackEvent, widgetConfigId]);
68
72
  const handlePrimaryButtonClick = (0, react.useCallback)((text) => {
73
+ const rawValues = hardcopyContent?.rawValues;
74
+ const stringId = require_functions.getStringIdForText(rawValues, text);
75
+ trackEvent({
76
+ eventName: __envive_ai_react_hooks_contexts_amplitudeContext.EnviveMetricsEventName.WidgetTextClicked,
77
+ eventProps: {
78
+ response_id: hardcopyContent?.responseId,
79
+ string_id: stringId,
80
+ text
81
+ }
82
+ });
69
83
  onTypedMessageSubmitted({
70
84
  query: text,
71
85
  userTyped: false,
72
86
  displayLocation: __envive_ai_react_hooks_application_models.ChatElementDisplayLocationV3.SOCIAL_PROOF_PRIMARY_BUTTON
73
87
  });
74
88
  openChat(__envive_ai_react_hooks_application_models.ChatElementDisplayLocationV3.SOCIAL_PROOF_PRIMARY_BUTTON);
89
+ trackWidgetInteraction({
90
+ eventName: __envive_ai_react_hooks_contexts_amplitudeContext.EnviveMetricsEventName.WidgetInteraction,
91
+ trigger: {
92
+ widget: __envive_ai_react_hooks_hooks_WidgetInteraction_types.WidgetInteractionComponent.SOCIAL_PROOF,
93
+ widget_interaction: __envive_ai_react_hooks_hooks_WidgetInteraction_types.WidgetInteractionType.SUGGESTION_CLICKED,
94
+ widget_interaction_data: { suggestion_clicked: { suggestion_id: text } }
95
+ }
96
+ });
75
97
  }, [onTypedMessageSubmitted, openChat]);
98
+ const handlePrimaryButtonHover = (0, react.useCallback)((text) => {
99
+ trackWidgetInteraction({
100
+ eventName: __envive_ai_react_hooks_contexts_amplitudeContext.EnviveMetricsEventName.WidgetInteraction,
101
+ trigger: {
102
+ widget: __envive_ai_react_hooks_hooks_WidgetInteraction_types.WidgetInteractionComponent.SOCIAL_PROOF,
103
+ widget_interaction: __envive_ai_react_hooks_hooks_WidgetInteraction_types.WidgetInteractionType.WIDGET_HOVERED,
104
+ widget_interaction_data: { suggestion_hovered: { suggestion_id: text } }
105
+ }
106
+ });
107
+ }, []);
76
108
  const handleSecondaryButtonClick = (0, react.useCallback)((text) => {
109
+ const rawValues = hardcopyContent?.rawValues;
110
+ const stringId = require_functions.getStringIdForText(rawValues, text);
111
+ trackEvent({
112
+ eventName: __envive_ai_react_hooks_contexts_amplitudeContext.EnviveMetricsEventName.WidgetTextClicked,
113
+ eventProps: {
114
+ response_id: hardcopyContent?.responseId,
115
+ string_id: stringId,
116
+ text
117
+ }
118
+ });
77
119
  onTypedMessageSubmitted({
78
120
  query: text,
79
121
  userTyped: false,
80
122
  displayLocation: __envive_ai_react_hooks_application_models.ChatElementDisplayLocationV3.SOCIAL_PROOF_SECONDARY_BUTTON
81
123
  });
82
124
  openChat(__envive_ai_react_hooks_application_models.ChatElementDisplayLocationV3.SOCIAL_PROOF_SECONDARY_BUTTON);
125
+ onSuggestionClick(text);
83
126
  }, [onTypedMessageSubmitted, openChat]);
84
127
  const handleTextFieldClick = (0, react.useCallback)(() => {
85
128
  openChat(__envive_ai_react_hooks_application_models.ChatElementDisplayLocationV3.SOCIAL_PROOF_TEXT_FIELD);
129
+ trackWidgetInteraction({
130
+ eventName: __envive_ai_react_hooks_contexts_amplitudeContext.EnviveMetricsEventName.WidgetInteraction,
131
+ trigger: {
132
+ widget: __envive_ai_react_hooks_hooks_WidgetInteraction_types.WidgetInteractionComponent.SOCIAL_PROOF,
133
+ widget_interaction: __envive_ai_react_hooks_hooks_WidgetInteraction_types.WidgetInteractionType.QUERY_INPUT_CLICKED
134
+ }
135
+ });
86
136
  }, [openChat]);
87
137
  if (isLoading) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__envive_ai_react_toolkit_v3_ChatPreviewLoading.ChatPreviewLoading, { fullIsLoading: true });
88
138
  setChatPreviewLoadingData({
@@ -131,7 +181,14 @@ const SocialProofWidgetHandler = (props) => {
131
181
  widgetContentProps,
132
182
  widgetEventProps: {
133
183
  handlePrimaryButtonClick,
184
+ handlePrimaryButtonHover,
134
185
  handleSecondaryButtonClick,
186
+ handleSecondaryButtonHover: onHover,
187
+ handleSecondaryButtonDrag: onDrag,
188
+ handleSecondaryButtonMouseDown: onMouseDown,
189
+ handleSecondaryButtonMouseUp: onMouseUp,
190
+ handleSecondaryButtonTouchStart: onTouchStart,
191
+ handleSecondaryButtonTouchEnd: onTouchEnd,
135
192
  handleTextFieldClick
136
193
  }
137
194
  });
@@ -1,9 +1,9 @@
1
1
  import { BaseWidgetProps } from "../../hocs/withBaseWidget/types.cjs";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime18 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/widgets/SocialProofWidget/SocialProofWidget.d.ts
5
5
  declare const SocialProofWidgetWithBaseWidget: {
6
- (props: BaseWidgetProps): react_jsx_runtime0.JSX.Element;
6
+ (props: BaseWidgetProps): react_jsx_runtime18.JSX.Element;
7
7
  displayName: string;
8
8
  };
9
9
  interface SocialProofWidgetProps {
@@ -12,7 +12,7 @@ interface SocialProofWidgetProps {
12
12
  declare const SocialProofWidget: {
13
13
  ({
14
14
  widgetConfigId
15
- }: SocialProofWidgetProps): react_jsx_runtime0.JSX.Element;
15
+ }: SocialProofWidgetProps): react_jsx_runtime18.JSX.Element;
16
16
  displayName: string;
17
17
  };
18
18
  //#endregion
@@ -1,9 +1,9 @@
1
1
  import { BaseWidgetProps } from "../../hocs/withBaseWidget/types.js";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/widgets/SocialProofWidget/SocialProofWidget.d.ts
5
5
  declare const SocialProofWidgetWithBaseWidget: {
6
- (props: BaseWidgetProps): react_jsx_runtime0.JSX.Element;
6
+ (props: BaseWidgetProps): react_jsx_runtime2.JSX.Element;
7
7
  displayName: string;
8
8
  };
9
9
  interface SocialProofWidgetProps {
@@ -12,7 +12,7 @@ interface SocialProofWidgetProps {
12
12
  declare const SocialProofWidget: {
13
13
  ({
14
14
  widgetConfigId
15
- }: SocialProofWidgetProps): react_jsx_runtime0.JSX.Element;
15
+ }: SocialProofWidgetProps): react_jsx_runtime2.JSX.Element;
16
16
  displayName: string;
17
17
  };
18
18
  //#endregion
@@ -1,27 +1,31 @@
1
1
  import { withBaseWidget } from "../../hocs/withBaseWidget/withBaseWidget.js";
2
- import { getProductImageUrl } from "../utils/functions.js";
2
+ import { getStringIdForText } from "../utils/functions.js";
3
3
  import { useCallback, useEffect, useMemo } from "react";
4
- import { SpiffyMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
4
+ import { EnviveMetricsEventName, SpiffyMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
5
5
  import { jsx } from "react/jsx-runtime";
6
- import { WidgetTypeV3 } from "@envive-ai/react-hooks/contexts/typesV3";
7
- import { useAtomValue, useSetAtom } from "jotai";
8
6
  import { useSalesAgent } from "@envive-ai/react-hooks/contexts/salesAgentContext";
7
+ import { WidgetTypeV3 } from "@envive-ai/react-hooks/contexts/typesV3";
9
8
  import { useChatToggle } from "@envive-ai/react-hooks/hooks/ChatToggle";
10
- import { lastAssistantMessageAtom } from "@envive-ai/react-hooks/atoms/chat";
11
- import { Theme } from "@envive-ai/react-toolkit-v3/Tokens";
9
+ import { useAtomValue, useSetAtom } from "jotai";
12
10
  import { ChatElementDisplayLocationV3, VariantTypeEnum } from "@envive-ai/react-hooks/application/models";
13
11
  import { variantInfoAtom } from "@envive-ai/react-hooks/atoms/app";
12
+ import { useWidgetInteraction } from "@envive-ai/react-hooks/hooks/WidgetInteraction";
13
+ import { WidgetInteractionComponent, WidgetInteractionType } from "@envive-ai/react-hooks/hooks/WidgetInteraction/types";
14
+ import { usePromptCarouselAnalytics } from "@envive-ai/react-toolkit-v3/PromptCarousel";
15
+ import { Theme } from "@envive-ai/react-toolkit-v3/Tokens";
14
16
  import { ChatPreviewLoading } from "@envive-ai/react-toolkit-v3/ChatPreviewLoading";
15
17
  import { chatPreviewLoadingDataAtom } from "@envive-ai/react-hooks/atoms/widget";
16
18
  import { PageVariant, SocialProof, WidgetKind } from "@envive-ai/react-toolkit-v3/SocialProof";
19
+ import { useProductImageUrl } from "@envive-ai/react-hooks/hooks/ProductImageUrl";
17
20
 
18
21
  //#region src/widgets/SocialProofWidget/SocialProofWidget.tsx
19
22
  const SocialProofWidgetHandler = (props) => {
20
23
  const setChatPreviewLoadingData = useSetAtom(chatPreviewLoadingDataAtom);
21
24
  const { onTypedMessageSubmitted } = useSalesAgent();
22
25
  const { openChat } = useChatToggle();
23
- const lastAssistantMessage = useAtomValue(lastAssistantMessageAtom);
24
26
  const variantInfo = useAtomValue(variantInfoAtom);
27
+ const { trackWidgetInteraction } = useWidgetInteraction();
28
+ const { onClick: onSuggestionClick, onHover, onDrag, onMouseDown, onMouseUp, onTouchStart, onTouchEnd } = usePromptCarouselAnalytics(WidgetInteractionComponent.SOCIAL_PROOF, (text) => text);
25
29
  const { hardcopyContent, widgetConfig, uiConfig, isLoading, widgetConfigId } = props;
26
30
  const socialProofWidgetConfig = widgetConfig;
27
31
  const id = widgetConfig?.contentId;
@@ -49,7 +53,7 @@ const SocialProofWidgetHandler = (props) => {
49
53
  };
50
54
  const logoSrc = uiConfig?.lookAndFeel?.widgetLogoSrc;
51
55
  const hideLogo = uiConfig?.lookAndFeel?.hideWidgetLogo;
52
- const dynamicImageUrl = getProductImageUrl(lastAssistantMessage);
56
+ const dynamicImageUrl = useProductImageUrl(variantInfo.variant === VariantTypeEnum.Pdp ? variantInfo.productId : void 0);
53
57
  const images = socialProofWidgetConfig?.kind !== WidgetKind.DYNAMIC ? socialProofWidgetConfig?.images : [{
54
58
  src: dynamicImageUrl,
55
59
  alt: "Product Image"
@@ -65,23 +69,69 @@ const SocialProofWidgetHandler = (props) => {
65
69
  });
66
70
  }, [trackEvent, widgetConfigId]);
67
71
  const handlePrimaryButtonClick = useCallback((text) => {
72
+ const rawValues = hardcopyContent?.rawValues;
73
+ const stringId = getStringIdForText(rawValues, text);
74
+ trackEvent({
75
+ eventName: EnviveMetricsEventName.WidgetTextClicked,
76
+ eventProps: {
77
+ response_id: hardcopyContent?.responseId,
78
+ string_id: stringId,
79
+ text
80
+ }
81
+ });
68
82
  onTypedMessageSubmitted({
69
83
  query: text,
70
84
  userTyped: false,
71
85
  displayLocation: ChatElementDisplayLocationV3.SOCIAL_PROOF_PRIMARY_BUTTON
72
86
  });
73
87
  openChat(ChatElementDisplayLocationV3.SOCIAL_PROOF_PRIMARY_BUTTON);
88
+ trackWidgetInteraction({
89
+ eventName: EnviveMetricsEventName.WidgetInteraction,
90
+ trigger: {
91
+ widget: WidgetInteractionComponent.SOCIAL_PROOF,
92
+ widget_interaction: WidgetInteractionType.SUGGESTION_CLICKED,
93
+ widget_interaction_data: { suggestion_clicked: { suggestion_id: text } }
94
+ }
95
+ });
74
96
  }, [onTypedMessageSubmitted, openChat]);
97
+ const handlePrimaryButtonHover = useCallback((text) => {
98
+ trackWidgetInteraction({
99
+ eventName: EnviveMetricsEventName.WidgetInteraction,
100
+ trigger: {
101
+ widget: WidgetInteractionComponent.SOCIAL_PROOF,
102
+ widget_interaction: WidgetInteractionType.WIDGET_HOVERED,
103
+ widget_interaction_data: { suggestion_hovered: { suggestion_id: text } }
104
+ }
105
+ });
106
+ }, []);
75
107
  const handleSecondaryButtonClick = useCallback((text) => {
108
+ const rawValues = hardcopyContent?.rawValues;
109
+ const stringId = getStringIdForText(rawValues, text);
110
+ trackEvent({
111
+ eventName: EnviveMetricsEventName.WidgetTextClicked,
112
+ eventProps: {
113
+ response_id: hardcopyContent?.responseId,
114
+ string_id: stringId,
115
+ text
116
+ }
117
+ });
76
118
  onTypedMessageSubmitted({
77
119
  query: text,
78
120
  userTyped: false,
79
121
  displayLocation: ChatElementDisplayLocationV3.SOCIAL_PROOF_SECONDARY_BUTTON
80
122
  });
81
123
  openChat(ChatElementDisplayLocationV3.SOCIAL_PROOF_SECONDARY_BUTTON);
124
+ onSuggestionClick(text);
82
125
  }, [onTypedMessageSubmitted, openChat]);
83
126
  const handleTextFieldClick = useCallback(() => {
84
127
  openChat(ChatElementDisplayLocationV3.SOCIAL_PROOF_TEXT_FIELD);
128
+ trackWidgetInteraction({
129
+ eventName: EnviveMetricsEventName.WidgetInteraction,
130
+ trigger: {
131
+ widget: WidgetInteractionComponent.SOCIAL_PROOF,
132
+ widget_interaction: WidgetInteractionType.QUERY_INPUT_CLICKED
133
+ }
134
+ });
85
135
  }, [openChat]);
86
136
  if (isLoading) return /* @__PURE__ */ jsx(ChatPreviewLoading, { fullIsLoading: true });
87
137
  setChatPreviewLoadingData({
@@ -130,7 +180,14 @@ const SocialProofWidgetHandler = (props) => {
130
180
  widgetContentProps,
131
181
  widgetEventProps: {
132
182
  handlePrimaryButtonClick,
183
+ handlePrimaryButtonHover,
133
184
  handleSecondaryButtonClick,
185
+ handleSecondaryButtonHover: onHover,
186
+ handleSecondaryButtonDrag: onDrag,
187
+ handleSecondaryButtonMouseDown: onMouseDown,
188
+ handleSecondaryButtonMouseUp: onMouseUp,
189
+ handleSecondaryButtonTouchStart: onTouchStart,
190
+ handleSecondaryButtonTouchEnd: onTouchEnd,
134
191
  handleTextFieldClick
135
192
  }
136
193
  });
@@ -1,13 +1,15 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_withBaseWidget = require('../../hocs/withBaseWidget/withBaseWidget.cjs');
3
3
  require('../../hocs/withBaseWidget/index.cjs');
4
+ const require_functions = require('../utils/functions.cjs');
4
5
  let react = require("react");
5
6
  let __envive_ai_react_hooks_contexts_amplitudeContext = require("@envive-ai/react-hooks/contexts/amplitudeContext");
6
7
  let react_jsx_runtime = require("react/jsx-runtime");
7
- let __envive_ai_react_hooks_contexts_typesV3 = require("@envive-ai/react-hooks/contexts/typesV3");
8
8
  let __envive_ai_react_hooks_contexts_salesAgentContext = require("@envive-ai/react-hooks/contexts/salesAgentContext");
9
+ let __envive_ai_react_hooks_contexts_typesV3 = require("@envive-ai/react-hooks/contexts/typesV3");
9
10
  let __envive_ai_react_hooks_hooks_ChatToggle = require("@envive-ai/react-hooks/hooks/ChatToggle");
10
11
  let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks/application/models");
12
+ let __envive_ai_react_hooks_hooks_WidgetInteraction_types = require("@envive-ai/react-hooks/hooks/WidgetInteraction/types");
11
13
  let __envive_ai_react_toolkit_v3_PromptCarousel = require("@envive-ai/react-toolkit-v3/PromptCarousel");
12
14
  let __envive_ai_react_toolkit_v3_TitledPromptCarousel = require("@envive-ai/react-toolkit-v3/TitledPromptCarousel");
13
15
 
@@ -24,6 +26,7 @@ const TitledPromptCarouselWidgetHandler = (props) => {
24
26
  const { onTypedMessageSubmitted } = (0, __envive_ai_react_hooks_contexts_salesAgentContext.useSalesAgent)();
25
27
  const { openChat } = (0, __envive_ai_react_hooks_hooks_ChatToggle.useChatToggle)();
26
28
  const { hardcopyContent, widgetConfig, isLoading, widgetConfigId } = props;
29
+ const { onClick, onDrag, onHover, onMouseDown, onMouseUp, onTouchStart, onTouchEnd } = (0, __envive_ai_react_toolkit_v3_PromptCarousel.usePromptCarouselAnalytics)(__envive_ai_react_hooks_hooks_WidgetInteraction_types.WidgetInteractionComponent.EMBEDDED_WIDGET, (text) => text);
27
30
  const hardCopyTitleLabel = hardcopyContent?.values?.titleLabel;
28
31
  const titleLabel = isLoading ? mockTitleLabel : hardCopyTitleLabel;
29
32
  const titleAriaLabel = hardcopyContent?.values?.titleAriaLabel;
@@ -56,13 +59,30 @@ const TitledPromptCarouselWidgetHandler = (props) => {
56
59
  promptCarouselRows,
57
60
  animationSpeed,
58
61
  handleButtonClick: (0, react.useCallback)((text) => {
62
+ const rawValues = hardcopyContent?.rawValues;
63
+ const stringId = require_functions.getStringIdForText(rawValues, text);
64
+ trackEvent({
65
+ eventName: __envive_ai_react_hooks_contexts_amplitudeContext.EnviveMetricsEventName.WidgetTextClicked,
66
+ eventProps: {
67
+ response_id: hardcopyContent?.responseId,
68
+ string_id: stringId,
69
+ text
70
+ }
71
+ });
59
72
  onTypedMessageSubmitted({
60
73
  query: text,
61
74
  userTyped: false,
62
75
  displayLocation: __envive_ai_react_hooks_application_models.ChatElementDisplayLocationV3.TITLED_PROMPT_CAROUSEL
63
76
  });
64
77
  openChat(__envive_ai_react_hooks_application_models.ChatElementDisplayLocationV3.TITLED_PROMPT_CAROUSEL);
78
+ onClick(text);
65
79
  }, [onTypedMessageSubmitted, openChat]),
80
+ handleButtonDrag: onDrag,
81
+ handleButtonHover: onHover,
82
+ handleButtonMouseDown: onMouseDown,
83
+ handleButtonMouseUp: onMouseUp,
84
+ handleButtonTouchStart: onTouchStart,
85
+ handleButtonTouchEnd: onTouchEnd,
66
86
  promptButtonTexts: buttonTexts,
67
87
  promptCarouselAriaLabel
68
88
  });
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime2 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.ts
4
4
  interface TitledPromptCarouselWidgetProps {
@@ -7,7 +7,7 @@ interface TitledPromptCarouselWidgetProps {
7
7
  declare const TitledPromptCarouselWidget: {
8
8
  ({
9
9
  widgetConfigId
10
- }: TitledPromptCarouselWidgetProps): react_jsx_runtime2.JSX.Element;
10
+ }: TitledPromptCarouselWidgetProps): react_jsx_runtime0.JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  //#endregion
@@ -1,13 +1,15 @@
1
1
  import { withBaseWidget } from "../../hocs/withBaseWidget/withBaseWidget.js";
2
2
  import "../../hocs/withBaseWidget/index.js";
3
+ import { getStringIdForText } from "../utils/functions.js";
3
4
  import { useCallback, useEffect } from "react";
4
- import { SpiffyMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
5
+ import { EnviveMetricsEventName, SpiffyMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
5
6
  import { jsx } from "react/jsx-runtime";
6
- import { WidgetTypeV3 } from "@envive-ai/react-hooks/contexts/typesV3";
7
7
  import { useSalesAgent } from "@envive-ai/react-hooks/contexts/salesAgentContext";
8
+ import { WidgetTypeV3 } from "@envive-ai/react-hooks/contexts/typesV3";
8
9
  import { useChatToggle } from "@envive-ai/react-hooks/hooks/ChatToggle";
9
10
  import { ChatElementDisplayLocationV3 } from "@envive-ai/react-hooks/application/models";
10
- import { AnimationSpeed } from "@envive-ai/react-toolkit-v3/PromptCarousel";
11
+ import { WidgetInteractionComponent } from "@envive-ai/react-hooks/hooks/WidgetInteraction/types";
12
+ import { AnimationSpeed, usePromptCarouselAnalytics } from "@envive-ai/react-toolkit-v3/PromptCarousel";
11
13
  import { TitledPromptCarousel } from "@envive-ai/react-toolkit-v3/TitledPromptCarousel";
12
14
 
13
15
  //#region src/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.tsx
@@ -23,6 +25,7 @@ const TitledPromptCarouselWidgetHandler = (props) => {
23
25
  const { onTypedMessageSubmitted } = useSalesAgent();
24
26
  const { openChat } = useChatToggle();
25
27
  const { hardcopyContent, widgetConfig, isLoading, widgetConfigId } = props;
28
+ const { onClick, onDrag, onHover, onMouseDown, onMouseUp, onTouchStart, onTouchEnd } = usePromptCarouselAnalytics(WidgetInteractionComponent.EMBEDDED_WIDGET, (text) => text);
26
29
  const hardCopyTitleLabel = hardcopyContent?.values?.titleLabel;
27
30
  const titleLabel = isLoading ? mockTitleLabel : hardCopyTitleLabel;
28
31
  const titleAriaLabel = hardcopyContent?.values?.titleAriaLabel;
@@ -55,13 +58,30 @@ const TitledPromptCarouselWidgetHandler = (props) => {
55
58
  promptCarouselRows,
56
59
  animationSpeed,
57
60
  handleButtonClick: useCallback((text) => {
61
+ const rawValues = hardcopyContent?.rawValues;
62
+ const stringId = getStringIdForText(rawValues, text);
63
+ trackEvent({
64
+ eventName: EnviveMetricsEventName.WidgetTextClicked,
65
+ eventProps: {
66
+ response_id: hardcopyContent?.responseId,
67
+ string_id: stringId,
68
+ text
69
+ }
70
+ });
58
71
  onTypedMessageSubmitted({
59
72
  query: text,
60
73
  userTyped: false,
61
74
  displayLocation: ChatElementDisplayLocationV3.TITLED_PROMPT_CAROUSEL
62
75
  });
63
76
  openChat(ChatElementDisplayLocationV3.TITLED_PROMPT_CAROUSEL);
77
+ onClick(text);
64
78
  }, [onTypedMessageSubmitted, openChat]),
79
+ handleButtonDrag: onDrag,
80
+ handleButtonHover: onHover,
81
+ handleButtonMouseDown: onMouseDown,
82
+ handleButtonMouseUp: onMouseUp,
83
+ handleButtonTouchStart: onTouchStart,
84
+ handleButtonTouchEnd: onTouchEnd,
65
85
  promptButtonTexts: buttonTexts,
66
86
  promptCarouselAriaLabel
67
87
  });
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime1 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.ts
4
4
  interface TypingAnimationFlowWidgetProps {
@@ -7,7 +7,7 @@ interface TypingAnimationFlowWidgetProps {
7
7
  declare const TypingAnimationFlowWidget: {
8
8
  ({
9
9
  widgetConfigId
10
- }: TypingAnimationFlowWidgetProps): react_jsx_runtime1.JSX.Element;
10
+ }: TypingAnimationFlowWidgetProps): react_jsx_runtime0.JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime10 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime19 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.ts
4
4
  interface TypingAnimationFlowWidgetProps {
@@ -7,7 +7,7 @@ interface TypingAnimationFlowWidgetProps {
7
7
  declare const TypingAnimationFlowWidget: {
8
8
  ({
9
9
  widgetConfigId
10
- }: TypingAnimationFlowWidgetProps): react_jsx_runtime10.JSX.Element;
10
+ }: TypingAnimationFlowWidgetProps): react_jsx_runtime19.JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  //#endregion