@envive-ai/react-widgets-v3 0.3.14 → 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 (336) hide show
  1. package/dist/debug/chatEmbed.cjs +1 -1
  2. package/dist/debug/chatEmbed.js +1 -1
  3. package/dist/debug/reportIssue.cjs +1 -1
  4. package/dist/debug/reportIssue.js +1 -1
  5. package/dist/hocs/withBaseWidget/types.d.cts +3 -3
  6. package/dist/hocs/withBaseWidget/types.d.ts +5 -3
  7. package/dist/hocs/withBaseWidget/withBaseWidget.d.cts +2 -2
  8. package/dist/hocs/withBaseWidget/withBaseWidget.d.ts +2 -2
  9. package/dist/hooks/dist/application/models/api/widgetText.d.cts +8 -0
  10. package/dist/hooks/dist/contexts/hardcopyContext/hardcopyContext.d.cts +12 -0
  11. package/dist/hooks/dist/contexts/types.d.cts +38 -0
  12. package/dist/hooks/dist/contexts/typesV3.d.cts +230 -0
  13. package/dist/hooks/dist/services/amplitudeService/eventNames.d.cts +43 -0
  14. package/dist/hooks/dist/types/customerService.d.cts +21 -0
  15. package/dist/node_modules/@spiffy-ai/commerce-api-client/dist/models/WidgetType.cjs +1 -0
  16. package/dist/packages/hooks/dist/application/models/api/orgConfigResults.d.ts +1 -0
  17. package/dist/packages/hooks/dist/application/models/api/widgetText.d.ts +8 -0
  18. package/dist/packages/hooks/dist/application/models/frontendConfig.d.ts +1 -0
  19. package/dist/packages/hooks/dist/contexts/amplitudeContext/amplitudeContext.d.ts +2 -0
  20. package/dist/packages/hooks/dist/contexts/amplitudeContext/index.d.ts +2 -0
  21. package/dist/packages/hooks/dist/contexts/featureFlagServiceContext/featureFlagServiceContext.d.ts +2 -0
  22. package/dist/packages/hooks/dist/contexts/hardcopyContext/hardcopyContext.d.ts +14 -0
  23. package/dist/packages/hooks/dist/contexts/hardcopyContext/index.d.ts +1 -0
  24. package/dist/packages/hooks/dist/contexts/types.d.ts +42 -0
  25. package/dist/packages/hooks/dist/contexts/typesV3.d.ts +230 -0
  26. package/dist/packages/hooks/dist/services/amplitudeService/amplitudeService.d.ts +1 -0
  27. package/dist/packages/hooks/dist/services/amplitudeService/eventNames.d.ts +43 -0
  28. package/dist/packages/hooks/dist/types/customerService.d.ts +21 -0
  29. package/dist/packages/icons/dist/IconCloseVariant.cjs +5 -6
  30. package/dist/packages/icons/dist/IconCloseVariant.js +4 -6
  31. package/dist/packages/widgets/dist/SearchResults/SearchResults.d.ts +4 -3
  32. package/dist/packages/widgets/dist/SearchResults/SearchResultsWidget.d.ts +2 -2
  33. package/dist/packages/widgets/dist/SearchZeroState/SearchZeroStateWidget.d.ts +2 -2
  34. package/dist/packages/widgets/dist/SearchZeroState/index.d.ts +2 -1
  35. package/dist/packages/widgets/dist/SearchZeroState/types.d.ts +2 -2
  36. package/dist/packages/widgets/dist/SuggestionBar/SuggestionBar.d.ts +3 -3
  37. package/dist/packages/widgets/dist/SuggestionButtonContainer/index.d.ts +2 -0
  38. package/dist/packages/widgets/dist/SuggestionButtonContainer/types.d.ts +3 -2
  39. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/api/response.d.ts +14 -0
  40. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/api/search.d.ts +15 -0
  41. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/utilityTypes/camelCase.d.ts +73 -0
  42. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/utilityTypes/camelCasedPropertiesDeep.d.ts +61 -0
  43. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/utilityTypes/internal.d.ts +25 -0
  44. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/utilityTypes/splitWords.d.ts +35 -0
  45. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/utilityTypes/trim.d.ts +32 -0
  46. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/utilityTypes/unknownArray.d.ts +32 -0
  47. package/dist/packages/widgets/dist/packages/hooks/dist/application/models/variantInfo/variantInfo.d.ts +1 -0
  48. package/dist/packages/widgets/dist/packages/hooks/dist/atoms/search/searchAPI.d.ts +15 -0
  49. package/dist/packages/widgets/dist/packages/hooks/dist/contexts/hardcopyContext/hardcopyContext.d.ts +1 -0
  50. package/dist/packages/widgets/dist/packages/hooks/dist/contexts/types.d.ts +63 -0
  51. package/dist/packages/widgets/dist/packages/hooks/dist/hooks/Search/useSearch.d.ts +60 -0
  52. package/dist/packages/widgets/dist/packages/hooks/dist/hooks/utils.d.ts +13 -0
  53. package/dist/packages/widgets/dist/packages/hooks/dist/types/OrgInfo.d.ts +1 -0
  54. package/dist/packages/widgets/dist/packages/hooks/dist/types/index.d.ts +1 -0
  55. package/dist/packages/widgets/dist/packages/hooks/dist/types/search-filter-types.d.ts +28 -0
  56. package/dist/packages/widgets/dist/packages/hooks/dist/types/test-types.d.ts +10 -0
  57. package/dist/src/CXIntegration/hooks/useUnifiedCXButton.d.ts +10 -0
  58. package/dist/src/CXIntegration/hooks/useUnifiedCXButton.js +29 -0
  59. package/dist/src/CXIntegration/implementations/useDefaultUnifiedCXButton.d.ts +2 -0
  60. package/dist/src/CXIntegration/implementations/useDefaultUnifiedCXButton.js +6 -0
  61. package/dist/src/CXIntegration/implementations/useEightByEightUnifiedCXButton.d.ts +5 -0
  62. package/dist/src/CXIntegration/implementations/useEightByEightUnifiedCXButton.js +63 -0
  63. package/dist/src/CXIntegration/implementations/useGladlyUnifiedCXButton.d.ts +5 -0
  64. package/dist/src/CXIntegration/implementations/useGladlyUnifiedCXButton.js +23 -0
  65. package/dist/src/CXIntegration/implementations/useGorgiasUnifiedCXButton.d.ts +5 -0
  66. package/dist/src/CXIntegration/implementations/useGorgiasUnifiedCXButton.js +54 -0
  67. package/dist/src/CXIntegration/implementations/useGrooveUnifiedCXButton.d.ts +18 -0
  68. package/dist/src/CXIntegration/implementations/useGrooveUnifiedCXButton.js +48 -0
  69. package/dist/src/CXIntegration/implementations/useHelpScoutUnifiedCXButton.d.ts +5 -0
  70. package/dist/src/CXIntegration/implementations/useHelpScoutUnifiedCXButton.js +84 -0
  71. package/dist/src/CXIntegration/implementations/useKustomerUnifiedCXButton.d.ts +5 -0
  72. package/dist/src/CXIntegration/implementations/useKustomerUnifiedCXButton.js +86 -0
  73. package/dist/src/CXIntegration/implementations/useReDoUnifiedCXButton.d.ts +5 -0
  74. package/dist/src/CXIntegration/implementations/useReDoUnifiedCXButton.js +59 -0
  75. package/dist/src/CXIntegration/implementations/useRichpanelUnifiedCXButton.d.ts +5 -0
  76. package/dist/src/CXIntegration/implementations/useRichpanelUnifiedCXButton.js +62 -0
  77. package/dist/src/CXIntegration/implementations/useShopifyChatUnifiedCXButton.d.ts +5 -0
  78. package/dist/src/CXIntegration/implementations/useShopifyChatUnifiedCXButton.js +49 -0
  79. package/dist/src/CXIntegration/implementations/useTalkdeskUnifiedCXButton.d.ts +5 -0
  80. package/dist/src/CXIntegration/implementations/useTalkdeskUnifiedCXButton.js +77 -0
  81. package/dist/src/CXIntegration/implementations/useTidioUnifiedCXButton.d.ts +13 -0
  82. package/dist/src/CXIntegration/implementations/useTidioUnifiedCXButton.js +20 -0
  83. package/dist/src/CXIntegration/implementations/useZendeskUnifiedCXButton.d.ts +5 -0
  84. package/dist/src/CXIntegration/implementations/useZendeskUnifiedCXButton.js +55 -0
  85. package/dist/src/CXIntegration/implementations/useZowieUnifiedCXButton.d.ts +13 -0
  86. package/dist/src/CXIntegration/implementations/useZowieUnifiedCXButton.js +20 -0
  87. package/dist/src/CXIntegration/types.d.ts +26 -0
  88. package/dist/src/CXIntegration/types.js +17 -0
  89. package/dist/src/CXIntegration/utils/functions.d.ts +2 -0
  90. package/dist/src/CXIntegration/utils/functions.js +57 -0
  91. package/dist/src/debug/GenericSelect.d.ts +11 -0
  92. package/dist/src/debug/GenericSelect.js +151 -0
  93. package/dist/src/debug/MessageContent.d.ts +4 -0
  94. package/dist/src/debug/MessageContent.js +87 -0
  95. package/dist/src/debug/chatEmbed.d.ts +2 -0
  96. package/dist/src/debug/chatEmbed.js +58 -0
  97. package/dist/src/debug/debugBar.d.ts +1 -0
  98. package/dist/src/debug/debugBar.js +9 -0
  99. package/dist/src/debug/reportIssue.d.ts +1 -0
  100. package/dist/src/debug/reportIssue.js +322 -0
  101. package/dist/src/hocs/withBaseWidget/__tests__/withBaseWidget.test.d.ts +1 -0
  102. package/dist/src/hocs/withBaseWidget/__tests__/withBaseWidget.test.js +452 -0
  103. package/dist/src/hocs/withBaseWidget/index.d.ts +2 -0
  104. package/dist/src/hocs/withBaseWidget/index.js +1 -0
  105. package/dist/src/hocs/withBaseWidget/types.d.ts +33 -0
  106. package/dist/src/hocs/withBaseWidget/types.js +0 -0
  107. package/dist/src/hocs/withBaseWidget/withBaseWidget.d.ts +5 -0
  108. package/dist/src/hocs/withBaseWidget/withBaseWidget.js +80 -0
  109. package/dist/src/stories/FloatingChatWidget.stories.d.ts +25 -0
  110. package/dist/src/stories/FloatingChatWidget.stories.js +44 -0
  111. package/dist/src/stories/FullPageSalesAgentWidget.stories.d.ts +31 -0
  112. package/dist/src/stories/FullPageSalesAgentWidget.stories.js +51 -0
  113. package/dist/src/stories/ProductCardWidget.stories.d.ts +31 -0
  114. package/dist/src/stories/ProductCardWidget.stories.js +44 -0
  115. package/dist/src/stories/PromptButtonCarouselWithImageWidget.stories.d.ts +31 -0
  116. package/dist/src/stories/PromptButtonCarouselWithImageWidget.stories.js +40 -0
  117. package/dist/src/stories/PromptCarouselWidget.stories.d.ts +31 -0
  118. package/dist/src/stories/PromptCarouselWidget.stories.js +40 -0
  119. package/dist/src/stories/SalesAgentTest/SalesAgentTest.d.ts +1 -0
  120. package/dist/src/stories/SalesAgentTest/SalesAgentTest.js +40 -0
  121. package/dist/src/stories/SalesAgentTest/SalesAgentTest.stories.d.ts +12 -0
  122. package/dist/src/stories/SalesAgentTest/SalesAgentTest.stories.js +12 -0
  123. package/dist/src/stories/SalesAgentTest/index.d.ts +0 -0
  124. package/dist/src/stories/SalesAgentTest/index.js +0 -0
  125. package/dist/src/stories/SearchResults.stories.d.ts +6 -0
  126. package/dist/src/stories/SearchResults.stories.js +23 -0
  127. package/dist/src/stories/SearchZeroState.stories.d.ts +38 -0
  128. package/dist/src/stories/SearchZeroState.stories.js +42 -0
  129. package/dist/src/stories/SocialProofFlowWidget.stories.d.ts +35 -0
  130. package/dist/src/stories/SocialProofFlowWidget.stories.js +60 -0
  131. package/dist/src/stories/SuggestionBar.stories.d.ts +7 -0
  132. package/dist/src/stories/SuggestionBar.stories.js +36 -0
  133. package/dist/src/stories/TitledPromptCarouselWidget.stories.d.ts +32 -0
  134. package/dist/src/stories/TitledPromptCarouselWidget.stories.js +55 -0
  135. package/dist/src/stories/TypingAnimationFlowWidget.stories.d.ts +34 -0
  136. package/dist/src/stories/TypingAnimationFlowWidget.stories.js +51 -0
  137. package/dist/src/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.d.ts +12 -0
  138. package/dist/src/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.js +112 -0
  139. package/dist/src/widgets/ChatPreviewComparisonWidget/index.d.ts +3 -0
  140. package/dist/src/widgets/ChatPreviewComparisonWidget/index.js +2 -0
  141. package/dist/src/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.ts +9 -0
  142. package/dist/src/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.js +34 -0
  143. package/dist/src/widgets/ChatPreviewLoadingWidget/index.d.ts +3 -0
  144. package/dist/src/widgets/ChatPreviewLoadingWidget/index.js +2 -0
  145. package/dist/src/widgets/ChatPreviewWidget/ChatPreviewWidget.d.ts +12 -0
  146. package/dist/src/widgets/ChatPreviewWidget/ChatPreviewWidget.js +111 -0
  147. package/dist/src/widgets/ChatPreviewWidget/__tests__/ChatPreviewWidget.test.d.ts +1 -0
  148. package/dist/src/widgets/ChatPreviewWidget/__tests__/ChatPreviewWidget.test.js +97 -0
  149. package/dist/src/widgets/ChatPreviewWidget/index.d.ts +3 -0
  150. package/dist/src/widgets/ChatPreviewWidget/index.js +2 -0
  151. package/dist/src/widgets/FloatingChatWidget/FloatingChatOverlay.d.ts +14 -0
  152. package/dist/src/widgets/FloatingChatWidget/FloatingChatOverlay.js +44 -0
  153. package/dist/src/widgets/FloatingChatWidget/FloatingChatWidget.d.ts +8 -0
  154. package/dist/src/widgets/FloatingChatWidget/FloatingChatWidget.js +134 -0
  155. package/dist/src/widgets/FloatingChatWidget/__tests__/FloatingChatWidget.test.d.ts +1 -0
  156. package/dist/src/widgets/FloatingChatWidget/__tests__/FloatingChatWidget.test.js +100 -0
  157. package/dist/src/widgets/FloatingChatWidget/constants.d.ts +1 -0
  158. package/dist/src/widgets/FloatingChatWidget/constants.js +1 -0
  159. package/dist/src/widgets/FloatingChatWidget/hooks/useAutoPopup.d.ts +4 -0
  160. package/dist/src/widgets/FloatingChatWidget/hooks/useAutoPopup.js +51 -0
  161. package/dist/src/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.d.ts +11 -0
  162. package/dist/src/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.js +21 -0
  163. package/dist/src/widgets/FloatingChatWidget/index.d.ts +4 -0
  164. package/dist/src/widgets/FloatingChatWidget/index.js +3 -0
  165. package/dist/src/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.ts +12 -0
  166. package/dist/src/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.js +14 -0
  167. package/dist/src/widgets/FullPageSalesAgentWidget/index.d.ts +1 -0
  168. package/dist/src/widgets/FullPageSalesAgentWidget/index.js +1 -0
  169. package/dist/src/widgets/ProductCardWidget/ProductCardWidget.d.ts +7 -0
  170. package/dist/src/widgets/ProductCardWidget/ProductCardWidget.js +94 -0
  171. package/dist/src/widgets/ProductCardWidget/__tests__/ProductCardWidget.test.d.ts +1 -0
  172. package/dist/src/widgets/ProductCardWidget/__tests__/ProductCardWidget.test.js +106 -0
  173. package/dist/src/widgets/ProductCardWidget/index.d.ts +2 -0
  174. package/dist/src/widgets/ProductCardWidget/index.js +1 -0
  175. package/dist/src/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.d.ts +12 -0
  176. package/dist/src/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.js +88 -0
  177. package/dist/src/widgets/PromptButtonCarouselWithImageWidget/__tests__/PromptButtonCarouselWithImageWidget.test.d.ts +1 -0
  178. package/dist/src/widgets/PromptButtonCarouselWithImageWidget/__tests__/PromptButtonCarouselWithImageWidget.test.js +132 -0
  179. package/dist/src/widgets/PromptButtonCarouselWithImageWidget/index.d.ts +2 -0
  180. package/dist/src/widgets/PromptButtonCarouselWithImageWidget/index.js +2 -0
  181. package/dist/src/widgets/PromptCarouselWidget/PromptCarouselWidget.d.ts +7 -0
  182. package/dist/src/widgets/PromptCarouselWidget/PromptCarouselWidget.js +74 -0
  183. package/dist/src/widgets/PromptCarouselWidget/__tests__/PromptCarouselWidget.test.d.ts +1 -0
  184. package/dist/src/widgets/PromptCarouselWidget/__tests__/PromptCarouselWidget.test.js +106 -0
  185. package/dist/src/widgets/PromptCarouselWidget/index.d.ts +2 -0
  186. package/dist/src/widgets/PromptCarouselWidget/index.js +1 -0
  187. package/dist/src/widgets/SocialProofFlowWidget/SocialProofFlowWidget.d.ts +7 -0
  188. package/dist/src/widgets/SocialProofFlowWidget/SocialProofFlowWidget.js +25 -0
  189. package/dist/src/widgets/SocialProofFlowWidget/index.d.ts +3 -0
  190. package/dist/src/widgets/SocialProofFlowWidget/index.js +2 -0
  191. package/dist/src/widgets/SocialProofWidget/SocialProofWidget.d.ts +12 -0
  192. package/dist/src/widgets/SocialProofWidget/SocialProofWidget.js +203 -0
  193. package/dist/src/widgets/SocialProofWidget/__tests__/SocialProofWidget.test.d.ts +1 -0
  194. package/dist/src/widgets/SocialProofWidget/__tests__/SocialProofWidget.test.js +135 -0
  195. package/dist/src/widgets/SocialProofWidget/index.d.ts +2 -0
  196. package/dist/src/widgets/SocialProofWidget/index.js +1 -0
  197. package/dist/src/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.ts +7 -0
  198. package/dist/src/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.js +75 -0
  199. package/dist/src/widgets/TitledPromptCarouselWidget/__tests__/TitledPromptCarouselWidget.test.d.ts +1 -0
  200. package/dist/src/widgets/TitledPromptCarouselWidget/__tests__/TitledPromptCarouselWidget.test.js +106 -0
  201. package/dist/src/widgets/TitledPromptCarouselWidget/index.d.ts +2 -0
  202. package/dist/src/widgets/TitledPromptCarouselWidget/index.js +1 -0
  203. package/dist/src/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.ts +7 -0
  204. package/dist/src/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.js +25 -0
  205. package/dist/src/widgets/TypingAnimationFlowWidget/index.d.ts +3 -0
  206. package/dist/src/widgets/TypingAnimationFlowWidget/index.js +2 -0
  207. package/dist/src/widgets/TypingAnimationWidget/TypingAnimationWidget.d.ts +12 -0
  208. package/dist/src/widgets/TypingAnimationWidget/TypingAnimationWidget.js +126 -0
  209. package/dist/src/widgets/TypingAnimationWidget/__tests__/TypingAnimationWidget.test.d.ts +1 -0
  210. package/dist/src/widgets/TypingAnimationWidget/__tests__/TypingAnimationWidget.test.js +118 -0
  211. package/dist/src/widgets/TypingAnimationWidget/index.d.ts +2 -0
  212. package/dist/src/widgets/TypingAnimationWidget/index.js +1 -0
  213. package/dist/src/widgets/__tests__/testUtils.d.ts +60 -0
  214. package/dist/src/widgets/__tests__/testUtils.js +46 -0
  215. package/dist/src/widgets/__tests__/trackEventCanary.test.d.ts +1 -0
  216. package/dist/src/widgets/__tests__/trackEventCanary.test.js +37 -0
  217. package/dist/src/widgets/hooks/useGetWidgetStatus.d.ts +7 -0
  218. package/dist/src/widgets/hooks/useGetWidgetStatus.js +17 -0
  219. package/dist/src/widgets/utils/functions.d.ts +16 -0
  220. package/dist/src/widgets/utils/functions.js +87 -0
  221. package/dist/src/widgets-v2/SearchResults/index.d.ts +2 -0
  222. package/dist/src/widgets-v2/SearchResults/index.js +2 -0
  223. package/dist/src/widgets-v2/SearchZeroState/index.d.ts +2 -0
  224. package/dist/src/widgets-v2/SearchZeroState/index.js +2 -0
  225. package/dist/src/widgets-v2/SuggestionBar/index.d.ts +2 -0
  226. package/dist/src/widgets-v2/SuggestionBar/index.js +2 -0
  227. package/dist/src/widgets-v2/SuggestionButtonContainer/index.d.ts +2 -0
  228. package/dist/src/widgets-v2/SuggestionButtonContainer/index.js +2 -0
  229. package/dist/tsdown.config.d.ts +2 -0
  230. package/dist/tsdown.config.js +12 -0
  231. package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.cjs +36 -5
  232. package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.d.ts +3 -3
  233. package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.js +36 -5
  234. package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.cts +3 -3
  235. package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.ts +3 -3
  236. package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.cjs +34 -4
  237. package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.d.cts +3 -3
  238. package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.d.ts +3 -3
  239. package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.js +35 -5
  240. package/dist/widgets/FloatingChatWidget/FloatingChatOverlay.cjs +0 -2
  241. package/dist/widgets/FloatingChatWidget/FloatingChatOverlay.js +0 -2
  242. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.cjs +31 -7
  243. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.d.cts +2 -2
  244. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.js +32 -8
  245. package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.cts +2 -2
  246. package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.ts +2 -2
  247. package/dist/widgets/ProductCardWidget/ProductCardWidget.cjs +25 -3
  248. package/dist/widgets/ProductCardWidget/ProductCardWidget.d.cts +2 -2
  249. package/dist/widgets/ProductCardWidget/ProductCardWidget.d.ts +2 -2
  250. package/dist/widgets/ProductCardWidget/ProductCardWidget.js +25 -3
  251. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.cjs +23 -4
  252. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.d.cts +3 -3
  253. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.d.ts +3 -3
  254. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.js +23 -4
  255. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.cjs +15 -3
  256. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.d.cts +2 -2
  257. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.d.ts +2 -2
  258. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.js +17 -5
  259. package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.d.cts +2 -2
  260. package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.d.ts +2 -2
  261. package/dist/widgets/SocialProofWidget/SocialProofWidget.cjs +53 -6
  262. package/dist/widgets/SocialProofWidget/SocialProofWidget.d.ts +3 -3
  263. package/dist/widgets/SocialProofWidget/SocialProofWidget.js +54 -7
  264. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.cjs +10 -1
  265. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.cts +2 -2
  266. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.ts +2 -2
  267. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.js +11 -2
  268. package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.ts +2 -2
  269. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.cjs +24 -3
  270. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.d.cts +3 -3
  271. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.d.ts +3 -3
  272. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.js +25 -4
  273. package/dist/widgets/dist/SearchResults/SearchResults.d.cts +4 -3
  274. package/dist/widgets/dist/SearchResults/SearchResultsWidget.d.cts +2 -2
  275. package/dist/widgets/dist/SearchZeroState/SearchZeroStateWidget.d.cts +2 -2
  276. package/dist/widgets/dist/SearchZeroState/types.d.cts +2 -2
  277. package/dist/widgets/dist/SuggestionBar/SuggestionBar.d.cts +3 -3
  278. package/dist/widgets/dist/SuggestionButtonContainer/types.d.cts +3 -2
  279. package/dist/widgets/dist/packages/hooks/dist/application/models/api/response.d.cts +14 -0
  280. package/dist/widgets/dist/packages/hooks/dist/application/models/api/search.d.cts +15 -0
  281. package/dist/widgets/dist/packages/hooks/dist/application/models/utilityTypes/camelCase.d.cts +73 -0
  282. package/dist/widgets/dist/packages/hooks/dist/application/models/utilityTypes/camelCasedPropertiesDeep.d.cts +61 -0
  283. package/dist/widgets/dist/packages/hooks/dist/application/models/utilityTypes/internal.d.cts +25 -0
  284. package/dist/widgets/dist/packages/hooks/dist/application/models/utilityTypes/splitWords.d.cts +35 -0
  285. package/dist/widgets/dist/packages/hooks/dist/application/models/utilityTypes/trim.d.cts +32 -0
  286. package/dist/widgets/dist/packages/hooks/dist/application/models/utilityTypes/unknownArray.d.cts +32 -0
  287. package/dist/widgets/dist/packages/hooks/dist/atoms/search/searchAPI.d.cts +14 -0
  288. package/dist/widgets/dist/packages/hooks/dist/contexts/types.d.cts +61 -0
  289. package/dist/widgets/dist/packages/hooks/dist/hooks/Search/useSearch.d.cts +60 -0
  290. package/dist/widgets/dist/packages/hooks/dist/hooks/utils.d.cts +12 -0
  291. package/dist/widgets/dist/packages/hooks/dist/types/search-filter-types.d.cts +28 -0
  292. package/dist/widgets/dist/packages/hooks/dist/types/test-types.d.cts +10 -0
  293. package/dist/widgets/hooks/useGetWidgetStatus.cjs +1 -1
  294. package/dist/widgets/hooks/useGetWidgetStatus.js +1 -1
  295. package/dist/widgets/utils/functions.cjs +0 -14
  296. package/dist/widgets/utils/functions.js +1 -14
  297. package/dist/widgets-v2/SearchZeroState/index.d.cts +2 -1
  298. package/dist/widgets-v2/SearchZeroState/index.d.ts +2 -1
  299. package/dist/widgets-v2/SuggestionButtonContainer/index.d.ts +1 -0
  300. package/package.json +4 -4
  301. package/src/hocs/withBaseWidget/__tests__/withBaseWidget.test.tsx +68 -302
  302. package/src/hocs/withBaseWidget/types.ts +6 -6
  303. package/src/hocs/withBaseWidget/withBaseWidget.tsx +46 -61
  304. package/src/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.tsx +59 -8
  305. package/src/widgets/ChatPreviewWidget/ChatPreviewWidget.tsx +54 -18
  306. package/src/widgets/ChatPreviewWidget/__tests__/ChatPreviewWidget.test.tsx +11 -5
  307. package/src/widgets/FloatingChatWidget/FloatingChatOverlay.tsx +48 -19
  308. package/src/widgets/FloatingChatWidget/FloatingChatWidget.tsx +100 -52
  309. package/src/widgets/FloatingChatWidget/__tests__/FloatingChatWidget.test.tsx +11 -5
  310. package/src/widgets/ProductCardWidget/ProductCardWidget.tsx +37 -16
  311. package/src/widgets/ProductCardWidget/__tests__/ProductCardWidget.test.tsx +12 -8
  312. package/src/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.tsx +38 -19
  313. package/src/widgets/PromptButtonCarouselWithImageWidget/__tests__/PromptButtonCarouselWithImageWidget.test.tsx +19 -8
  314. package/src/widgets/PromptCarouselWidget/PromptCarouselWidget.tsx +32 -19
  315. package/src/widgets/PromptCarouselWidget/__tests__/PromptCarouselWidget.test.tsx +21 -8
  316. package/src/widgets/SocialProofWidget/SocialProofWidget.tsx +77 -18
  317. package/src/widgets/SocialProofWidget/__tests__/SocialProofWidget.test.tsx +19 -8
  318. package/src/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.tsx +23 -19
  319. package/src/widgets/TitledPromptCarouselWidget/__tests__/TitledPromptCarouselWidget.test.tsx +19 -8
  320. package/src/widgets/TypingAnimationWidget/TypingAnimationWidget.tsx +45 -21
  321. package/src/widgets/TypingAnimationWidget/__tests__/TypingAnimationWidget.test.tsx +19 -8
  322. package/src/widgets/__tests__/trackEventCanary.test.ts +1 -1
  323. package/dist/packages/icons/dist/_virtual/rolldown_runtime.cjs +0 -27
  324. package/dist/packages/icons/dist/_virtual/rolldown_runtime.js +0 -25
  325. package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs +0 -696
  326. package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -696
  327. package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs +0 -43
  328. package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -43
  329. package/dist/packages/icons/dist/node_modules/react/cjs/react.development.cjs +0 -1528
  330. package/dist/packages/icons/dist/node_modules/react/cjs/react.development.js +0 -1528
  331. package/dist/packages/icons/dist/node_modules/react/cjs/react.production.min.cjs +0 -329
  332. package/dist/packages/icons/dist/node_modules/react/cjs/react.production.min.js +0 -329
  333. package/dist/packages/icons/dist/node_modules/react/index.cjs +0 -13
  334. package/dist/packages/icons/dist/node_modules/react/index.js +0 -13
  335. package/dist/packages/icons/dist/node_modules/react/jsx-runtime.cjs +0 -13
  336. package/dist/packages/icons/dist/node_modules/react/jsx-runtime.js +0 -13
@@ -1,329 +0,0 @@
1
- const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.cjs');
2
-
3
- //#region ../icons/dist/node_modules/react/cjs/react.production.min.js
4
- /**
5
- * @license React
6
- * react.production.min.js
7
- *
8
- * Copyright (c) Facebook, Inc. and its affiliates.
9
- *
10
- * This source code is licensed under the MIT license found in the
11
- * LICENSE file in the root directory of this source tree.
12
- */
13
- var require_react_production_min = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports$1) => {
14
- var l = Symbol.for("react.element"), n = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), t = Symbol.for("react.provider"), u = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), x = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), z = Symbol.iterator;
15
- function A(a) {
16
- if (null === a || "object" !== typeof a) return null;
17
- a = z && a[z] || a["@@iterator"];
18
- return "function" === typeof a ? a : null;
19
- }
20
- var B = {
21
- isMounted: function() {
22
- return !1;
23
- },
24
- enqueueForceUpdate: function() {},
25
- enqueueReplaceState: function() {},
26
- enqueueSetState: function() {}
27
- }, C = Object.assign, D = {};
28
- function E(a, b, e) {
29
- this.props = a;
30
- this.context = b;
31
- this.refs = D;
32
- this.updater = e || B;
33
- }
34
- E.prototype.isReactComponent = {};
35
- E.prototype.setState = function(a, b) {
36
- if ("object" !== typeof a && "function" !== typeof a && null != a) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
37
- this.updater.enqueueSetState(this, a, b, "setState");
38
- };
39
- E.prototype.forceUpdate = function(a) {
40
- this.updater.enqueueForceUpdate(this, a, "forceUpdate");
41
- };
42
- function F() {}
43
- F.prototype = E.prototype;
44
- function G(a, b, e) {
45
- this.props = a;
46
- this.context = b;
47
- this.refs = D;
48
- this.updater = e || B;
49
- }
50
- var H = G.prototype = new F();
51
- H.constructor = G;
52
- C(H, E.prototype);
53
- H.isPureReactComponent = !0;
54
- var I = Array.isArray, J = Object.prototype.hasOwnProperty, K = { current: null }, L = {
55
- key: !0,
56
- ref: !0,
57
- __self: !0,
58
- __source: !0
59
- };
60
- function M(a, b, e) {
61
- var d, c = {}, k = null, h = null;
62
- if (null != b) for (d in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (k = "" + b.key), b) J.call(b, d) && !L.hasOwnProperty(d) && (c[d] = b[d]);
63
- var g = arguments.length - 2;
64
- if (1 === g) c.children = e;
65
- else if (1 < g) {
66
- for (var f = Array(g), m = 0; m < g; m++) f[m] = arguments[m + 2];
67
- c.children = f;
68
- }
69
- if (a && a.defaultProps) for (d in g = a.defaultProps, g) void 0 === c[d] && (c[d] = g[d]);
70
- return {
71
- $$typeof: l,
72
- type: a,
73
- key: k,
74
- ref: h,
75
- props: c,
76
- _owner: K.current
77
- };
78
- }
79
- function N(a, b) {
80
- return {
81
- $$typeof: l,
82
- type: a.type,
83
- key: b,
84
- ref: a.ref,
85
- props: a.props,
86
- _owner: a._owner
87
- };
88
- }
89
- function O(a) {
90
- return "object" === typeof a && null !== a && a.$$typeof === l;
91
- }
92
- function escape(a) {
93
- var b = {
94
- "=": "=0",
95
- ":": "=2"
96
- };
97
- return "$" + a.replace(/[=:]/g, function(a$1) {
98
- return b[a$1];
99
- });
100
- }
101
- var P = /\/+/g;
102
- function Q(a, b) {
103
- return "object" === typeof a && null !== a && null != a.key ? escape("" + a.key) : b.toString(36);
104
- }
105
- function R(a, b, e, d, c) {
106
- var k = typeof a;
107
- if ("undefined" === k || "boolean" === k) a = null;
108
- var h = !1;
109
- if (null === a) h = !0;
110
- else switch (k) {
111
- case "string":
112
- case "number":
113
- h = !0;
114
- break;
115
- case "object": switch (a.$$typeof) {
116
- case l:
117
- case n: h = !0;
118
- }
119
- }
120
- if (h) return h = a, c = c(h), a = "" === d ? "." + Q(h, 0) : d, I(c) ? (e = "", null != a && (e = a.replace(P, "$&/") + "/"), R(c, b, e, "", function(a$1) {
121
- return a$1;
122
- })) : null != c && (O(c) && (c = N(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P, "$&/") + "/") + a)), b.push(c)), 1;
123
- h = 0;
124
- d = "" === d ? "." : d + ":";
125
- if (I(a)) for (var g = 0; g < a.length; g++) {
126
- k = a[g];
127
- var f = d + Q(k, g);
128
- h += R(k, b, e, f, c);
129
- }
130
- else if (f = A(a), "function" === typeof f) for (a = f.call(a), g = 0; !(k = a.next()).done;) k = k.value, f = d + Q(k, g++), h += R(k, b, e, f, c);
131
- else if ("object" === k) throw b = String(a), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b ? "object with keys {" + Object.keys(a).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead.");
132
- return h;
133
- }
134
- function S(a, b, e) {
135
- if (null == a) return a;
136
- var d = [], c = 0;
137
- R(a, d, "", "", function(a$1) {
138
- return b.call(e, a$1, c++);
139
- });
140
- return d;
141
- }
142
- function T(a) {
143
- if (-1 === a._status) {
144
- var b = a._result;
145
- b = b();
146
- b.then(function(b$1) {
147
- if (0 === a._status || -1 === a._status) a._status = 1, a._result = b$1;
148
- }, function(b$1) {
149
- if (0 === a._status || -1 === a._status) a._status = 2, a._result = b$1;
150
- });
151
- -1 === a._status && (a._status = 0, a._result = b);
152
- }
153
- if (1 === a._status) return a._result.default;
154
- throw a._result;
155
- }
156
- var U = { current: null }, V = { transition: null }, W = {
157
- ReactCurrentDispatcher: U,
158
- ReactCurrentBatchConfig: V,
159
- ReactCurrentOwner: K
160
- };
161
- function X() {
162
- throw Error("act(...) is not supported in production builds of React.");
163
- }
164
- exports$1.Children = {
165
- map: S,
166
- forEach: function(a, b, e) {
167
- S(a, function() {
168
- b.apply(this, arguments);
169
- }, e);
170
- },
171
- count: function(a) {
172
- var b = 0;
173
- S(a, function() {
174
- b++;
175
- });
176
- return b;
177
- },
178
- toArray: function(a) {
179
- return S(a, function(a$1) {
180
- return a$1;
181
- }) || [];
182
- },
183
- only: function(a) {
184
- if (!O(a)) throw Error("React.Children.only expected to receive a single React element child.");
185
- return a;
186
- }
187
- };
188
- exports$1.Component = E;
189
- exports$1.Fragment = p;
190
- exports$1.Profiler = r;
191
- exports$1.PureComponent = G;
192
- exports$1.StrictMode = q;
193
- exports$1.Suspense = w;
194
- exports$1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W;
195
- exports$1.act = X;
196
- exports$1.cloneElement = function(a, b, e) {
197
- if (null === a || void 0 === a) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
198
- var d = C({}, a.props), c = a.key, k = a.ref, h = a._owner;
199
- if (null != b) {
200
- void 0 !== b.ref && (k = b.ref, h = K.current);
201
- void 0 !== b.key && (c = "" + b.key);
202
- if (a.type && a.type.defaultProps) var g = a.type.defaultProps;
203
- for (f in b) J.call(b, f) && !L.hasOwnProperty(f) && (d[f] = void 0 === b[f] && void 0 !== g ? g[f] : b[f]);
204
- }
205
- var f = arguments.length - 2;
206
- if (1 === f) d.children = e;
207
- else if (1 < f) {
208
- g = Array(f);
209
- for (var m = 0; m < f; m++) g[m] = arguments[m + 2];
210
- d.children = g;
211
- }
212
- return {
213
- $$typeof: l,
214
- type: a.type,
215
- key: c,
216
- ref: k,
217
- props: d,
218
- _owner: h
219
- };
220
- };
221
- exports$1.createContext = function(a) {
222
- a = {
223
- $$typeof: u,
224
- _currentValue: a,
225
- _currentValue2: a,
226
- _threadCount: 0,
227
- Provider: null,
228
- Consumer: null,
229
- _defaultValue: null,
230
- _globalName: null
231
- };
232
- a.Provider = {
233
- $$typeof: t,
234
- _context: a
235
- };
236
- return a.Consumer = a;
237
- };
238
- exports$1.createElement = M;
239
- exports$1.createFactory = function(a) {
240
- var b = M.bind(null, a);
241
- b.type = a;
242
- return b;
243
- };
244
- exports$1.createRef = function() {
245
- return { current: null };
246
- };
247
- exports$1.forwardRef = function(a) {
248
- return {
249
- $$typeof: v,
250
- render: a
251
- };
252
- };
253
- exports$1.isValidElement = O;
254
- exports$1.lazy = function(a) {
255
- return {
256
- $$typeof: y,
257
- _payload: {
258
- _status: -1,
259
- _result: a
260
- },
261
- _init: T
262
- };
263
- };
264
- exports$1.memo = function(a, b) {
265
- return {
266
- $$typeof: x,
267
- type: a,
268
- compare: void 0 === b ? null : b
269
- };
270
- };
271
- exports$1.startTransition = function(a) {
272
- var b = V.transition;
273
- V.transition = {};
274
- try {
275
- a();
276
- } finally {
277
- V.transition = b;
278
- }
279
- };
280
- exports$1.unstable_act = X;
281
- exports$1.useCallback = function(a, b) {
282
- return U.current.useCallback(a, b);
283
- };
284
- exports$1.useContext = function(a) {
285
- return U.current.useContext(a);
286
- };
287
- exports$1.useDebugValue = function() {};
288
- exports$1.useDeferredValue = function(a) {
289
- return U.current.useDeferredValue(a);
290
- };
291
- exports$1.useEffect = function(a, b) {
292
- return U.current.useEffect(a, b);
293
- };
294
- exports$1.useId = function() {
295
- return U.current.useId();
296
- };
297
- exports$1.useImperativeHandle = function(a, b, e) {
298
- return U.current.useImperativeHandle(a, b, e);
299
- };
300
- exports$1.useInsertionEffect = function(a, b) {
301
- return U.current.useInsertionEffect(a, b);
302
- };
303
- exports$1.useLayoutEffect = function(a, b) {
304
- return U.current.useLayoutEffect(a, b);
305
- };
306
- exports$1.useMemo = function(a, b) {
307
- return U.current.useMemo(a, b);
308
- };
309
- exports$1.useReducer = function(a, b, e) {
310
- return U.current.useReducer(a, b, e);
311
- };
312
- exports$1.useRef = function(a) {
313
- return U.current.useRef(a);
314
- };
315
- exports$1.useState = function(a) {
316
- return U.current.useState(a);
317
- };
318
- exports$1.useSyncExternalStore = function(a, b, e) {
319
- return U.current.useSyncExternalStore(a, b, e);
320
- };
321
- exports$1.useTransition = function() {
322
- return U.current.useTransition();
323
- };
324
- exports$1.version = "18.3.1";
325
- }));
326
- var react_production_min_default = require_react_production_min();
327
-
328
- //#endregion
329
- exports.require_react_production_min = require_react_production_min;
@@ -1,329 +0,0 @@
1
- import { __commonJSMin } from "../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region ../icons/dist/node_modules/react/cjs/react.production.min.js
4
- /**
5
- * @license React
6
- * react.production.min.js
7
- *
8
- * Copyright (c) Facebook, Inc. and its affiliates.
9
- *
10
- * This source code is licensed under the MIT license found in the
11
- * LICENSE file in the root directory of this source tree.
12
- */
13
- var require_react_production_min = /* @__PURE__ */ __commonJSMin(((exports) => {
14
- var l = Symbol.for("react.element"), n = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), t = Symbol.for("react.provider"), u = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), x = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), z = Symbol.iterator;
15
- function A(a) {
16
- if (null === a || "object" !== typeof a) return null;
17
- a = z && a[z] || a["@@iterator"];
18
- return "function" === typeof a ? a : null;
19
- }
20
- var B = {
21
- isMounted: function() {
22
- return !1;
23
- },
24
- enqueueForceUpdate: function() {},
25
- enqueueReplaceState: function() {},
26
- enqueueSetState: function() {}
27
- }, C = Object.assign, D = {};
28
- function E(a, b, e) {
29
- this.props = a;
30
- this.context = b;
31
- this.refs = D;
32
- this.updater = e || B;
33
- }
34
- E.prototype.isReactComponent = {};
35
- E.prototype.setState = function(a, b) {
36
- if ("object" !== typeof a && "function" !== typeof a && null != a) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
37
- this.updater.enqueueSetState(this, a, b, "setState");
38
- };
39
- E.prototype.forceUpdate = function(a) {
40
- this.updater.enqueueForceUpdate(this, a, "forceUpdate");
41
- };
42
- function F() {}
43
- F.prototype = E.prototype;
44
- function G(a, b, e) {
45
- this.props = a;
46
- this.context = b;
47
- this.refs = D;
48
- this.updater = e || B;
49
- }
50
- var H = G.prototype = new F();
51
- H.constructor = G;
52
- C(H, E.prototype);
53
- H.isPureReactComponent = !0;
54
- var I = Array.isArray, J = Object.prototype.hasOwnProperty, K = { current: null }, L = {
55
- key: !0,
56
- ref: !0,
57
- __self: !0,
58
- __source: !0
59
- };
60
- function M(a, b, e) {
61
- var d, c = {}, k = null, h = null;
62
- if (null != b) for (d in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (k = "" + b.key), b) J.call(b, d) && !L.hasOwnProperty(d) && (c[d] = b[d]);
63
- var g = arguments.length - 2;
64
- if (1 === g) c.children = e;
65
- else if (1 < g) {
66
- for (var f = Array(g), m = 0; m < g; m++) f[m] = arguments[m + 2];
67
- c.children = f;
68
- }
69
- if (a && a.defaultProps) for (d in g = a.defaultProps, g) void 0 === c[d] && (c[d] = g[d]);
70
- return {
71
- $$typeof: l,
72
- type: a,
73
- key: k,
74
- ref: h,
75
- props: c,
76
- _owner: K.current
77
- };
78
- }
79
- function N(a, b) {
80
- return {
81
- $$typeof: l,
82
- type: a.type,
83
- key: b,
84
- ref: a.ref,
85
- props: a.props,
86
- _owner: a._owner
87
- };
88
- }
89
- function O(a) {
90
- return "object" === typeof a && null !== a && a.$$typeof === l;
91
- }
92
- function escape(a) {
93
- var b = {
94
- "=": "=0",
95
- ":": "=2"
96
- };
97
- return "$" + a.replace(/[=:]/g, function(a$1) {
98
- return b[a$1];
99
- });
100
- }
101
- var P = /\/+/g;
102
- function Q(a, b) {
103
- return "object" === typeof a && null !== a && null != a.key ? escape("" + a.key) : b.toString(36);
104
- }
105
- function R(a, b, e, d, c) {
106
- var k = typeof a;
107
- if ("undefined" === k || "boolean" === k) a = null;
108
- var h = !1;
109
- if (null === a) h = !0;
110
- else switch (k) {
111
- case "string":
112
- case "number":
113
- h = !0;
114
- break;
115
- case "object": switch (a.$$typeof) {
116
- case l:
117
- case n: h = !0;
118
- }
119
- }
120
- if (h) return h = a, c = c(h), a = "" === d ? "." + Q(h, 0) : d, I(c) ? (e = "", null != a && (e = a.replace(P, "$&/") + "/"), R(c, b, e, "", function(a$1) {
121
- return a$1;
122
- })) : null != c && (O(c) && (c = N(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P, "$&/") + "/") + a)), b.push(c)), 1;
123
- h = 0;
124
- d = "" === d ? "." : d + ":";
125
- if (I(a)) for (var g = 0; g < a.length; g++) {
126
- k = a[g];
127
- var f = d + Q(k, g);
128
- h += R(k, b, e, f, c);
129
- }
130
- else if (f = A(a), "function" === typeof f) for (a = f.call(a), g = 0; !(k = a.next()).done;) k = k.value, f = d + Q(k, g++), h += R(k, b, e, f, c);
131
- else if ("object" === k) throw b = String(a), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b ? "object with keys {" + Object.keys(a).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead.");
132
- return h;
133
- }
134
- function S(a, b, e) {
135
- if (null == a) return a;
136
- var d = [], c = 0;
137
- R(a, d, "", "", function(a$1) {
138
- return b.call(e, a$1, c++);
139
- });
140
- return d;
141
- }
142
- function T(a) {
143
- if (-1 === a._status) {
144
- var b = a._result;
145
- b = b();
146
- b.then(function(b$1) {
147
- if (0 === a._status || -1 === a._status) a._status = 1, a._result = b$1;
148
- }, function(b$1) {
149
- if (0 === a._status || -1 === a._status) a._status = 2, a._result = b$1;
150
- });
151
- -1 === a._status && (a._status = 0, a._result = b);
152
- }
153
- if (1 === a._status) return a._result.default;
154
- throw a._result;
155
- }
156
- var U = { current: null }, V = { transition: null }, W = {
157
- ReactCurrentDispatcher: U,
158
- ReactCurrentBatchConfig: V,
159
- ReactCurrentOwner: K
160
- };
161
- function X() {
162
- throw Error("act(...) is not supported in production builds of React.");
163
- }
164
- exports.Children = {
165
- map: S,
166
- forEach: function(a, b, e) {
167
- S(a, function() {
168
- b.apply(this, arguments);
169
- }, e);
170
- },
171
- count: function(a) {
172
- var b = 0;
173
- S(a, function() {
174
- b++;
175
- });
176
- return b;
177
- },
178
- toArray: function(a) {
179
- return S(a, function(a$1) {
180
- return a$1;
181
- }) || [];
182
- },
183
- only: function(a) {
184
- if (!O(a)) throw Error("React.Children.only expected to receive a single React element child.");
185
- return a;
186
- }
187
- };
188
- exports.Component = E;
189
- exports.Fragment = p;
190
- exports.Profiler = r;
191
- exports.PureComponent = G;
192
- exports.StrictMode = q;
193
- exports.Suspense = w;
194
- exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W;
195
- exports.act = X;
196
- exports.cloneElement = function(a, b, e) {
197
- if (null === a || void 0 === a) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
198
- var d = C({}, a.props), c = a.key, k = a.ref, h = a._owner;
199
- if (null != b) {
200
- void 0 !== b.ref && (k = b.ref, h = K.current);
201
- void 0 !== b.key && (c = "" + b.key);
202
- if (a.type && a.type.defaultProps) var g = a.type.defaultProps;
203
- for (f in b) J.call(b, f) && !L.hasOwnProperty(f) && (d[f] = void 0 === b[f] && void 0 !== g ? g[f] : b[f]);
204
- }
205
- var f = arguments.length - 2;
206
- if (1 === f) d.children = e;
207
- else if (1 < f) {
208
- g = Array(f);
209
- for (var m = 0; m < f; m++) g[m] = arguments[m + 2];
210
- d.children = g;
211
- }
212
- return {
213
- $$typeof: l,
214
- type: a.type,
215
- key: c,
216
- ref: k,
217
- props: d,
218
- _owner: h
219
- };
220
- };
221
- exports.createContext = function(a) {
222
- a = {
223
- $$typeof: u,
224
- _currentValue: a,
225
- _currentValue2: a,
226
- _threadCount: 0,
227
- Provider: null,
228
- Consumer: null,
229
- _defaultValue: null,
230
- _globalName: null
231
- };
232
- a.Provider = {
233
- $$typeof: t,
234
- _context: a
235
- };
236
- return a.Consumer = a;
237
- };
238
- exports.createElement = M;
239
- exports.createFactory = function(a) {
240
- var b = M.bind(null, a);
241
- b.type = a;
242
- return b;
243
- };
244
- exports.createRef = function() {
245
- return { current: null };
246
- };
247
- exports.forwardRef = function(a) {
248
- return {
249
- $$typeof: v,
250
- render: a
251
- };
252
- };
253
- exports.isValidElement = O;
254
- exports.lazy = function(a) {
255
- return {
256
- $$typeof: y,
257
- _payload: {
258
- _status: -1,
259
- _result: a
260
- },
261
- _init: T
262
- };
263
- };
264
- exports.memo = function(a, b) {
265
- return {
266
- $$typeof: x,
267
- type: a,
268
- compare: void 0 === b ? null : b
269
- };
270
- };
271
- exports.startTransition = function(a) {
272
- var b = V.transition;
273
- V.transition = {};
274
- try {
275
- a();
276
- } finally {
277
- V.transition = b;
278
- }
279
- };
280
- exports.unstable_act = X;
281
- exports.useCallback = function(a, b) {
282
- return U.current.useCallback(a, b);
283
- };
284
- exports.useContext = function(a) {
285
- return U.current.useContext(a);
286
- };
287
- exports.useDebugValue = function() {};
288
- exports.useDeferredValue = function(a) {
289
- return U.current.useDeferredValue(a);
290
- };
291
- exports.useEffect = function(a, b) {
292
- return U.current.useEffect(a, b);
293
- };
294
- exports.useId = function() {
295
- return U.current.useId();
296
- };
297
- exports.useImperativeHandle = function(a, b, e) {
298
- return U.current.useImperativeHandle(a, b, e);
299
- };
300
- exports.useInsertionEffect = function(a, b) {
301
- return U.current.useInsertionEffect(a, b);
302
- };
303
- exports.useLayoutEffect = function(a, b) {
304
- return U.current.useLayoutEffect(a, b);
305
- };
306
- exports.useMemo = function(a, b) {
307
- return U.current.useMemo(a, b);
308
- };
309
- exports.useReducer = function(a, b, e) {
310
- return U.current.useReducer(a, b, e);
311
- };
312
- exports.useRef = function(a) {
313
- return U.current.useRef(a);
314
- };
315
- exports.useState = function(a) {
316
- return U.current.useState(a);
317
- };
318
- exports.useSyncExternalStore = function(a, b, e) {
319
- return U.current.useSyncExternalStore(a, b, e);
320
- };
321
- exports.useTransition = function() {
322
- return U.current.useTransition();
323
- };
324
- exports.version = "18.3.1";
325
- }));
326
- var react_production_min_default = require_react_production_min();
327
-
328
- //#endregion
329
- export { require_react_production_min };
@@ -1,13 +0,0 @@
1
- const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- const require_react_production_min$1 = require('./cjs/react.production.min.cjs');
3
- const require_react_development$1 = require('./cjs/react.development.cjs');
4
-
5
- //#region ../icons/dist/node_modules/react/index.js
6
- var require_react = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports$1, module$1) => {
7
- if (process.env.NODE_ENV === "production") module$1.exports = require_react_production_min$1.require_react_production_min();
8
- else module$1.exports = require_react_development$1.require_react_development();
9
- }));
10
- var react_default = require_react();
11
-
12
- //#endregion
13
- exports.require_react = require_react;
@@ -1,13 +0,0 @@
1
- import { __commonJSMin } from "../../_virtual/rolldown_runtime.js";
2
- import { require_react_production_min } from "./cjs/react.production.min.js";
3
- import { require_react_development } from "./cjs/react.development.js";
4
-
5
- //#region ../icons/dist/node_modules/react/index.js
6
- var require_react = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7
- if (process.env.NODE_ENV === "production") module.exports = require_react_production_min();
8
- else module.exports = require_react_development();
9
- }));
10
- var react_default = require_react();
11
-
12
- //#endregion
13
- export { require_react };
@@ -1,13 +0,0 @@
1
- const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
- const require_react_jsx_runtime_production_min$1 = require('./cjs/react-jsx-runtime.production.min.cjs');
3
- const require_react_jsx_runtime_development$1 = require('./cjs/react-jsx-runtime.development.cjs');
4
-
5
- //#region ../icons/dist/node_modules/react/jsx-runtime.js
6
- var require_jsx_runtime = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports$1, module$1) => {
7
- if (process.env.NODE_ENV === "production") module$1.exports = require_react_jsx_runtime_production_min$1.require_react_jsx_runtime_production_min();
8
- else module$1.exports = require_react_jsx_runtime_development$1.require_react_jsx_runtime_development();
9
- }));
10
- var jsx_runtime_default = require_jsx_runtime();
11
-
12
- //#endregion
13
- exports.require_jsx_runtime = require_jsx_runtime;