@envive-ai/react-widgets-v3 0.3.23 → 0.3.24

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 (77) hide show
  1. package/dist/CXIntegration/hooks/useUnifiedCXButton.cjs +1 -1
  2. package/dist/CXIntegration/hooks/useUnifiedCXButton.js +1 -1
  3. package/dist/debug/MessageContent.cjs +1 -1
  4. package/dist/debug/MessageContent.js +1 -1
  5. package/dist/debug/chatEmbed.cjs +4 -4
  6. package/dist/debug/chatEmbed.js +3 -3
  7. package/dist/debug/reportIssue.cjs +3 -3
  8. package/dist/debug/reportIssue.js +3 -3
  9. package/dist/hocs/withBaseWidget/types.d.ts +1 -1
  10. package/dist/hocs/withBaseWidget/withBaseWidget.cjs +1 -1
  11. package/dist/hocs/withBaseWidget/withBaseWidget.d.cts +2 -2
  12. package/dist/hocs/withBaseWidget/withBaseWidget.d.ts +2 -2
  13. package/dist/hocs/withBaseWidget/withBaseWidget.js +1 -1
  14. package/dist/packages/widgets/dist/SearchResults/SearchResultsWidget.d.ts +2 -2
  15. package/dist/packages/widgets/dist/SuggestionBar/SuggestionBar.d.ts +2 -2
  16. package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.cjs +9 -9
  17. package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.d.cts +3 -3
  18. package/dist/widgets/ChatPreviewComparisonWidget/ChatPreviewComparisonWidget.js +9 -9
  19. package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.cjs +1 -1
  20. package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.cts +3 -3
  21. package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.d.ts +3 -3
  22. package/dist/widgets/ChatPreviewLoadingWidget/ChatPreviewLoadingWidget.js +1 -1
  23. package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.cjs +7 -7
  24. package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.d.cts +3 -3
  25. package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.d.ts +3 -3
  26. package/dist/widgets/ChatPreviewWidget/ChatPreviewWidget.js +7 -7
  27. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.cjs +13 -11
  28. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.d.cts +7 -3
  29. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.d.ts +7 -3
  30. package/dist/widgets/FloatingChatWidget/FloatingChatWidget.js +13 -11
  31. package/dist/widgets/FloatingChatWidget/hooks/useAutoPopup.cjs +2 -2
  32. package/dist/widgets/FloatingChatWidget/hooks/useAutoPopup.js +2 -2
  33. package/dist/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.cjs +2 -3
  34. package/dist/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.js +3 -4
  35. package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.cjs +1 -1
  36. package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.cts +2 -2
  37. package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.ts +2 -2
  38. package/dist/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.js +1 -1
  39. package/dist/widgets/ProductCardWidget/ProductCardWidget.cjs +6 -6
  40. package/dist/widgets/ProductCardWidget/ProductCardWidget.d.cts +2 -2
  41. package/dist/widgets/ProductCardWidget/ProductCardWidget.js +6 -6
  42. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.cjs +8 -8
  43. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.d.cts +3 -3
  44. package/dist/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.js +8 -8
  45. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.cjs +6 -6
  46. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.d.cts +2 -2
  47. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.d.ts +2 -2
  48. package/dist/widgets/PromptCarouselWidget/PromptCarouselWidget.js +6 -6
  49. package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.cjs +1 -1
  50. package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.d.cts +2 -2
  51. package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.d.ts +2 -2
  52. package/dist/widgets/SocialProofFlowWidget/SocialProofFlowWidget.js +1 -1
  53. package/dist/widgets/SocialProofWidget/SocialProofWidget.cjs +9 -9
  54. package/dist/widgets/SocialProofWidget/SocialProofWidget.d.cts +3 -3
  55. package/dist/widgets/SocialProofWidget/SocialProofWidget.d.ts +3 -3
  56. package/dist/widgets/SocialProofWidget/SocialProofWidget.js +9 -9
  57. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.cjs +5 -5
  58. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.cts +2 -2
  59. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.d.ts +2 -2
  60. package/dist/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.js +5 -5
  61. package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.cjs +1 -1
  62. package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.cts +2 -2
  63. package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.d.ts +2 -2
  64. package/dist/widgets/TypingAnimationFlowWidget/TypingAnimationFlowWidget.js +1 -1
  65. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.cjs +5 -5
  66. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.d.cts +3 -3
  67. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.d.ts +3 -3
  68. package/dist/widgets/TypingAnimationWidget/TypingAnimationWidget.js +5 -5
  69. package/dist/widgets/dist/SearchResults/SearchResultsWidget.d.cts +2 -2
  70. package/dist/widgets/dist/SuggestionBar/SuggestionBar.d.cts +2 -2
  71. package/dist/widgets/hooks/useGetWidgetStatus.cjs +2 -2
  72. package/dist/widgets/hooks/useGetWidgetStatus.js +2 -2
  73. package/dist/widgets/utils/functions.cjs +1 -1
  74. package/dist/widgets/utils/functions.js +1 -1
  75. package/package.json +1 -1
  76. package/src/widgets/FloatingChatWidget/FloatingChatWidget.tsx +11 -2
  77. package/src/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.ts +2 -2
@@ -8,18 +8,18 @@ import useGetWidgetStatus_default from "../hooks/useGetWidgetStatus.js";
8
8
  import { FloatingChatOverlay } from "./FloatingChatOverlay.js";
9
9
  import { useFloatingButtonVisibility } from "./hooks/useFloatingButtonVisibility.js";
10
10
  import { useAutoPopup } from "./hooks/useAutoPopup.js";
11
- import { Suspense, lazy, useEffect, useMemo, useRef, useState } from "react";
12
- import { EnviveMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
13
- import { useTrackComponentVisibleEvent } from "@envive-ai/react-hooks/hooks/TrackComponentVisibleEvent";
14
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
+ import { useSalesAgent } from "@envive-ai/react-hooks/contexts/salesAgentContext";
15
12
  import { WidgetTypeV3 } from "@envive-ai/react-hooks/contexts/typesV3";
13
+ import { useChatToggle } from "@envive-ai/react-hooks/hooks/ChatToggle";
16
14
  import { useFeatureFlagService } from "@envive-ai/react-hooks/contexts/featureFlagServiceContext";
17
15
  import { ChatElementDisplayLocationV3, FeatureGates } from "@envive-ai/react-hooks/application/models";
18
- import { useSalesAgent } from "@envive-ai/react-hooks/contexts/salesAgentContext";
19
- import { useChatToggle } from "@envive-ai/react-hooks/hooks/ChatToggle";
16
+ import { EnviveMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
17
+ import { useWidgetInteraction } from "@envive-ai/react-hooks/hooks/WidgetInteraction";
20
18
  import { WidgetInteractionComponent, WidgetInteractionType } from "@envive-ai/react-hooks/hooks/WidgetInteraction/types";
21
19
  import { Theme } from "@envive-ai/react-toolkit-v3/Tokens";
22
- import { useWidgetInteraction } from "@envive-ai/react-hooks/hooks/WidgetInteraction";
20
+ import { Suspense, lazy, useEffect, useMemo, useRef, useState } from "react";
21
+ import { useTrackComponentVisibleEvent } from "@envive-ai/react-hooks/hooks/TrackComponentVisibleEvent";
22
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
23
23
  import { FloatingButton } from "@envive-ai/react-toolkit-v3/FloatingButton";
24
24
 
25
25
  //#region src/widgets/FloatingChatWidget/FloatingChatWidget.tsx
@@ -44,7 +44,7 @@ const CXButtonProvider = ({ provider, enabled, suppressMerchantButton, onSwitchT
44
44
  }) });
45
45
  };
46
46
  const FloatingChatWidgetHandler = (props) => {
47
- const { previewButtonOnly, previewChatAlwaysOpen } = props;
47
+ const { previewButtonOnly, previewChatAlwaysOpen, previewCXButtonsEnabled, previewDisclaimer } = props;
48
48
  const salesAgentData = useSalesAgent();
49
49
  const { trackWidgetInteraction } = useWidgetInteraction();
50
50
  const { userHasInteractedValue } = useGetWidgetStatus_default();
@@ -113,7 +113,7 @@ const FloatingChatWidgetHandler = (props) => {
113
113
  hardcopyContent,
114
114
  floatingChatConfig: uiConfig?.floatingChat ?? {},
115
115
  lookAndFeelConfig: modifiedLookAndFeelConfig ?? {},
116
- isCXButtonSwitchEnabled: !!isSwitchEnabled?.(),
116
+ isCXButtonSwitchEnabled: previewCXButtonsEnabled ? true : !!isSwitchEnabled?.(),
117
117
  isFloatingChatOpen: effectiveIsOpen,
118
118
  onToggleCXButton: toggle,
119
119
  debugBar: /* @__PURE__ */ jsx(DebugBar, {}),
@@ -146,12 +146,14 @@ const FloatingChatWidgetHandler = (props) => {
146
146
  }, cxProvider);
147
147
  };
148
148
  const FloatingChatWidgetWithBaseWidget = withBaseWidget(FloatingChatWidgetHandler, { deferLoading: false });
149
- const FloatingChatWidget = ({ previewButtonOnly, previewChatAlwaysOpen } = {}) => {
149
+ const FloatingChatWidget = ({ previewButtonOnly, previewChatAlwaysOpen, previewCXButtonsEnabled, previewDisclaimer } = {}) => {
150
150
  return /* @__PURE__ */ jsx(FloatingChatWidgetWithBaseWidget, {
151
151
  widgetType: WidgetTypeV3.FloatingChatV3,
152
152
  widgetConfigId: "fake-widget-config-id",
153
153
  previewButtonOnly,
154
- previewChatAlwaysOpen
154
+ previewChatAlwaysOpen,
155
+ previewCXButtonsEnabled,
156
+ previewDisclaimer
155
157
  });
156
158
  };
157
159
  FloatingChatWidget.displayName = "FloatingChatWidget";
@@ -1,8 +1,8 @@
1
1
  const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.cjs');
2
- let react = require("react");
2
+ let __envive_ai_react_hooks_hooks_ChatToggle = require("@envive-ai/react-hooks/hooks/ChatToggle");
3
3
  let __envive_ai_react_hooks_contexts_featureFlagServiceContext = require("@envive-ai/react-hooks/contexts/featureFlagServiceContext");
4
4
  let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks/application/models");
5
- let __envive_ai_react_hooks_hooks_ChatToggle = require("@envive-ai/react-hooks/hooks/ChatToggle");
5
+ let react = require("react");
6
6
 
7
7
  //#region src/widgets/FloatingChatWidget/hooks/useAutoPopup.ts
8
8
  const useAutoPopup = ({ autoPopupConfig }) => {
@@ -1,7 +1,7 @@
1
- import { useCallback, useEffect, useMemo, useRef } from "react";
1
+ import { useChatToggle } from "@envive-ai/react-hooks/hooks/ChatToggle";
2
2
  import { useFeatureFlagService } from "@envive-ai/react-hooks/contexts/featureFlagServiceContext";
3
3
  import { ChatElementDisplayLocationV3, FeatureGates } from "@envive-ai/react-hooks/application/models";
4
- import { useChatToggle } from "@envive-ai/react-hooks/hooks/ChatToggle";
4
+ import { useCallback, useEffect, useMemo, useRef } from "react";
5
5
 
6
6
  //#region src/widgets/FloatingChatWidget/hooks/useAutoPopup.ts
7
7
  const useAutoPopup = ({ autoPopupConfig }) => {
@@ -1,16 +1,15 @@
1
1
  const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.cjs');
2
- let react = require("react");
3
2
  let jotai = require("jotai");
4
3
  let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks/application/models");
5
4
  let __envive_ai_react_hooks_atoms_app = require("@envive-ai/react-hooks/atoms/app");
5
+ let react = require("react");
6
6
  let __envive_ai_react_toolkit_v3_FloatingButton = require("@envive-ai/react-toolkit-v3/FloatingButton");
7
7
  let __envive_ai_react_hooks_atoms_org = require("@envive-ai/react-hooks/atoms/org");
8
8
 
9
9
  //#region src/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.ts
10
10
  const useFloatingButtonVisibility = ({ floatingButtonShowConfig = __envive_ai_react_toolkit_v3_FloatingButton.FloatingButtonShow.ALWAYS, isChatOpen, userHasInteracted }) => {
11
11
  const featureFlagService = (0, jotai.useAtomValue)(__envive_ai_react_hooks_atoms_org.featureFlagServiceAtom);
12
- const [variantInfo] = (0, jotai.useAtom)(__envive_ai_react_hooks_atoms_app.variantInfoAtom);
13
- const internalfloatingButtonShowConfig = variantInfo.floatingButtonOverride ?? floatingButtonShowConfig;
12
+ const internalfloatingButtonShowConfig = (0, jotai.useAtomValue)(__envive_ai_react_hooks_atoms_app.variantInfoAtom).floatingButtonOverride ?? floatingButtonShowConfig;
14
13
  const isSalesAgentEnabled = (0, react.useMemo)(() => featureFlagService?.featureFlagService?.isFeatureGateEnabled(__envive_ai_react_hooks_application_models.FeatureGates.IsSalesAgentEnabled), [featureFlagService]);
15
14
  return {
16
15
  shouldShowFloatingButton: (isSalesAgentEnabled || isSalesAgentEnabled === void 0) && !isChatOpen && (internalfloatingButtonShowConfig === __envive_ai_react_toolkit_v3_FloatingButton.FloatingButtonShow.ALWAYS || internalfloatingButtonShowConfig === __envive_ai_react_toolkit_v3_FloatingButton.FloatingButtonShow.POST_INTERACTION && userHasInteracted),
@@ -1,15 +1,14 @@
1
- import { useMemo } from "react";
2
- import { useAtom, useAtomValue } from "jotai";
1
+ import { useAtomValue } from "jotai";
3
2
  import { FeatureGates } from "@envive-ai/react-hooks/application/models";
4
3
  import { variantInfoAtom } from "@envive-ai/react-hooks/atoms/app";
4
+ import { useMemo } from "react";
5
5
  import { FloatingButtonShow } from "@envive-ai/react-toolkit-v3/FloatingButton";
6
6
  import { featureFlagServiceAtom } from "@envive-ai/react-hooks/atoms/org";
7
7
 
8
8
  //#region src/widgets/FloatingChatWidget/hooks/useFloatingButtonVisibility.ts
9
9
  const useFloatingButtonVisibility = ({ floatingButtonShowConfig = FloatingButtonShow.ALWAYS, isChatOpen, userHasInteracted }) => {
10
10
  const featureFlagService = useAtomValue(featureFlagServiceAtom);
11
- const [variantInfo] = useAtom(variantInfoAtom);
12
- const internalfloatingButtonShowConfig = variantInfo.floatingButtonOverride ?? floatingButtonShowConfig;
11
+ const internalfloatingButtonShowConfig = useAtomValue(variantInfoAtom).floatingButtonOverride ?? floatingButtonShowConfig;
13
12
  const isSalesAgentEnabled = useMemo(() => featureFlagService?.featureFlagService?.isFeatureGateEnabled(FeatureGates.IsSalesAgentEnabled), [featureFlagService]);
14
13
  return {
15
14
  shouldShowFloatingButton: (isSalesAgentEnabled || isSalesAgentEnabled === void 0) && !isChatOpen && (internalfloatingButtonShowConfig === FloatingButtonShow.ALWAYS || internalfloatingButtonShowConfig === FloatingButtonShow.POST_INTERACTION && userHasInteracted),
@@ -1,11 +1,11 @@
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
- let react_jsx_runtime = require("react/jsx-runtime");
5
4
  let __envive_ai_react_hooks_contexts_typesV3 = require("@envive-ai/react-hooks/contexts/typesV3");
6
5
  let __envive_ai_react_hooks_contexts_featureFlagServiceContext = require("@envive-ai/react-hooks/contexts/featureFlagServiceContext");
7
6
  let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks/application/models");
8
7
  let __envive_ai_react_toolkit_v3_Tokens = require("@envive-ai/react-toolkit-v3/Tokens");
8
+ let react_jsx_runtime = require("react/jsx-runtime");
9
9
  let __envive_ai_react_toolkit_v3_FullPageSalesAgent = require("@envive-ai/react-toolkit-v3/FullPageSalesAgent");
10
10
 
11
11
  //#region src/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.tsx
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime3 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.ts
4
4
 
@@ -8,7 +8,7 @@ interface FullPageSalesAgentBaseWidgetProps {
8
8
  declare const FullPageSalesAgentWidget: {
9
9
  ({
10
10
  widgetConfigId
11
- }: FullPageSalesAgentBaseWidgetProps): react_jsx_runtime3.JSX.Element;
11
+ }: FullPageSalesAgentBaseWidgetProps): react_jsx_runtime0.JSX.Element;
12
12
  displayName: string;
13
13
  };
14
14
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime5 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.d.ts
4
4
 
@@ -8,7 +8,7 @@ interface FullPageSalesAgentBaseWidgetProps {
8
8
  declare const FullPageSalesAgentWidget: {
9
9
  ({
10
10
  widgetConfigId
11
- }: FullPageSalesAgentBaseWidgetProps): react_jsx_runtime5.JSX.Element;
11
+ }: FullPageSalesAgentBaseWidgetProps): react_jsx_runtime0.JSX.Element;
12
12
  displayName: string;
13
13
  };
14
14
  //#endregion
@@ -1,10 +1,10 @@
1
1
  import { withBaseWidget } from "../../hocs/withBaseWidget/withBaseWidget.js";
2
2
  import "../../hocs/withBaseWidget/index.js";
3
- import { jsx } from "react/jsx-runtime";
4
3
  import { WidgetTypeV3 } from "@envive-ai/react-hooks/contexts/typesV3";
5
4
  import { useFeatureFlagService } from "@envive-ai/react-hooks/contexts/featureFlagServiceContext";
6
5
  import { FeatureGates } from "@envive-ai/react-hooks/application/models";
7
6
  import { Theme } from "@envive-ai/react-toolkit-v3/Tokens";
7
+ import { jsx } from "react/jsx-runtime";
8
8
  import { FullPageSalesAgent } from "@envive-ai/react-toolkit-v3/FullPageSalesAgent";
9
9
 
10
10
  //#region src/widgets/FullPageSalesAgentWidget/FullPageSalesAgentWidget.tsx
@@ -2,18 +2,18 @@ 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
4
  const require_functions = require('../utils/functions.cjs');
5
- let react = require("react");
6
- let __envive_ai_react_hooks_contexts_amplitudeContext = require("@envive-ai/react-hooks/contexts/amplitudeContext");
7
- let react_jsx_runtime = require("react/jsx-runtime");
5
+ let __envive_ai_react_hooks_contexts_salesAgentContext = require("@envive-ai/react-hooks/contexts/salesAgentContext");
8
6
  let __envive_ai_react_hooks_contexts_typesV3 = require("@envive-ai/react-hooks/contexts/typesV3");
7
+ let __envive_ai_react_hooks_hooks_ChatToggle = require("@envive-ai/react-hooks/hooks/ChatToggle");
9
8
  let __envive_ai_react_hooks_contexts_featureFlagServiceContext = require("@envive-ai/react-hooks/contexts/featureFlagServiceContext");
10
9
  let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks/application/models");
11
- let __envive_ai_react_hooks_contexts_salesAgentContext = require("@envive-ai/react-hooks/contexts/salesAgentContext");
12
- let __envive_ai_react_hooks_hooks_ChatToggle = require("@envive-ai/react-hooks/hooks/ChatToggle");
10
+ let __envive_ai_react_hooks_contexts_amplitudeContext = require("@envive-ai/react-hooks/contexts/amplitudeContext");
11
+ let __envive_ai_react_hooks_hooks_WidgetInteraction = require("@envive-ai/react-hooks/hooks/WidgetInteraction");
13
12
  let __envive_ai_react_hooks_hooks_WidgetInteraction_types = require("@envive-ai/react-hooks/hooks/WidgetInteraction/types");
14
13
  let __envive_ai_react_toolkit_v3_PromptCarousel = require("@envive-ai/react-toolkit-v3/PromptCarousel");
15
14
  let __envive_ai_react_toolkit_v3_Tokens = require("@envive-ai/react-toolkit-v3/Tokens");
16
- let __envive_ai_react_hooks_hooks_WidgetInteraction = require("@envive-ai/react-hooks/hooks/WidgetInteraction");
15
+ let react = require("react");
16
+ let react_jsx_runtime = require("react/jsx-runtime");
17
17
  let __envive_ai_react_toolkit_v3_ProductCard = require("@envive-ai/react-toolkit-v3/ProductCard");
18
18
  let __envive_ai_react_toolkit_v3_PromptButton_types = require("@envive-ai/react-toolkit-v3/PromptButton/types");
19
19
 
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime12 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime14 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/widgets/ProductCardWidget/ProductCardWidget.d.ts
4
4
  interface ProductCardWidgetProps {
@@ -7,7 +7,7 @@ interface ProductCardWidgetProps {
7
7
  declare const ProductCardWidget: {
8
8
  ({
9
9
  widgetConfigId
10
- }: ProductCardWidgetProps): react_jsx_runtime12.JSX.Element;
10
+ }: ProductCardWidgetProps): react_jsx_runtime14.JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  //#endregion
@@ -1,18 +1,18 @@
1
1
  import { withBaseWidget } from "../../hocs/withBaseWidget/withBaseWidget.js";
2
2
  import "../../hocs/withBaseWidget/index.js";
3
3
  import { getStringIdForText } from "../utils/functions.js";
4
- import { useCallback } from "react";
5
- import { EnviveMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
6
- import { jsx } from "react/jsx-runtime";
4
+ import { useSalesAgent } from "@envive-ai/react-hooks/contexts/salesAgentContext";
7
5
  import { WidgetTypeV3 } from "@envive-ai/react-hooks/contexts/typesV3";
6
+ import { useChatToggle } from "@envive-ai/react-hooks/hooks/ChatToggle";
8
7
  import { useFeatureFlagService } from "@envive-ai/react-hooks/contexts/featureFlagServiceContext";
9
8
  import { ChatElementDisplayLocationV3, FeatureGates } from "@envive-ai/react-hooks/application/models";
10
- import { useSalesAgent } from "@envive-ai/react-hooks/contexts/salesAgentContext";
11
- import { useChatToggle } from "@envive-ai/react-hooks/hooks/ChatToggle";
9
+ import { EnviveMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
10
+ import { useWidgetInteraction } from "@envive-ai/react-hooks/hooks/WidgetInteraction";
12
11
  import { WidgetInteractionComponent, WidgetInteractionType } from "@envive-ai/react-hooks/hooks/WidgetInteraction/types";
13
12
  import { usePromptCarouselAnalytics } from "@envive-ai/react-toolkit-v3/PromptCarousel";
14
13
  import { Theme } from "@envive-ai/react-toolkit-v3/Tokens";
15
- import { useWidgetInteraction } from "@envive-ai/react-hooks/hooks/WidgetInteraction";
14
+ import { useCallback } from "react";
15
+ import { jsx } from "react/jsx-runtime";
16
16
  import { ProductCard } from "@envive-ai/react-toolkit-v3/ProductCard";
17
17
  import { PromptButtonVariant } from "@envive-ai/react-toolkit-v3/PromptButton/types";
18
18
 
@@ -1,21 +1,21 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_withBaseWidget = require('../../hocs/withBaseWidget/withBaseWidget.cjs');
3
3
  const require_functions = require('../utils/functions.cjs');
4
- let react = require("react");
5
- let __envive_ai_react_hooks_contexts_amplitudeContext = require("@envive-ai/react-hooks/contexts/amplitudeContext");
6
- let react_jsx_runtime = require("react/jsx-runtime");
4
+ let __envive_ai_react_hooks_atoms_chat = require("@envive-ai/react-hooks/atoms/chat");
5
+ let __envive_ai_react_hooks_contexts_salesAgentContext = require("@envive-ai/react-hooks/contexts/salesAgentContext");
7
6
  let __envive_ai_react_hooks_contexts_typesV3 = require("@envive-ai/react-hooks/contexts/typesV3");
7
+ let __envive_ai_react_hooks_hooks_ChatToggle = require("@envive-ai/react-hooks/hooks/ChatToggle");
8
8
  let jotai = require("jotai");
9
9
  let __envive_ai_react_hooks_contexts_featureFlagServiceContext = require("@envive-ai/react-hooks/contexts/featureFlagServiceContext");
10
10
  let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks/application/models");
11
- let __envive_ai_react_hooks_contexts_salesAgentContext = require("@envive-ai/react-hooks/contexts/salesAgentContext");
12
- let __envive_ai_react_hooks_hooks_ChatToggle = require("@envive-ai/react-hooks/hooks/ChatToggle");
11
+ let __envive_ai_react_hooks_atoms_app = require("@envive-ai/react-hooks/atoms/app");
12
+ let __envive_ai_react_hooks_contexts_amplitudeContext = require("@envive-ai/react-hooks/contexts/amplitudeContext");
13
+ let __envive_ai_react_hooks_hooks_WidgetInteraction = require("@envive-ai/react-hooks/hooks/WidgetInteraction");
13
14
  let __envive_ai_react_hooks_hooks_WidgetInteraction_types = require("@envive-ai/react-hooks/hooks/WidgetInteraction/types");
14
15
  let __envive_ai_react_toolkit_v3_PromptCarousel = require("@envive-ai/react-toolkit-v3/PromptCarousel");
15
16
  let __envive_ai_react_toolkit_v3_Tokens = require("@envive-ai/react-toolkit-v3/Tokens");
16
- let __envive_ai_react_hooks_atoms_chat = require("@envive-ai/react-hooks/atoms/chat");
17
- let __envive_ai_react_hooks_atoms_app = require("@envive-ai/react-hooks/atoms/app");
18
- let __envive_ai_react_hooks_hooks_WidgetInteraction = require("@envive-ai/react-hooks/hooks/WidgetInteraction");
17
+ let react = require("react");
18
+ let react_jsx_runtime = require("react/jsx-runtime");
19
19
  let __envive_ai_react_toolkit_v3_PromptButtonCarouselWithImage = require("@envive-ai/react-toolkit-v3/PromptButtonCarouselWithImage");
20
20
 
21
21
  //#region src/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.tsx
@@ -1,9 +1,9 @@
1
1
  import { BaseWidgetProps } from "../../hocs/withBaseWidget/types.cjs";
2
- import * as react_jsx_runtime1 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime17 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.d.ts
5
5
  declare const PromptButtonCarouselWithImageWidgetWithBaseWidget: {
6
- (props: BaseWidgetProps): react_jsx_runtime1.JSX.Element;
6
+ (props: BaseWidgetProps): react_jsx_runtime17.JSX.Element;
7
7
  displayName: string;
8
8
  };
9
9
  interface PromptButtonCarouselWithImageWidgetProps {
@@ -12,7 +12,7 @@ interface PromptButtonCarouselWithImageWidgetProps {
12
12
  declare const PromptButtonCarouselWithImageWidget: {
13
13
  ({
14
14
  widgetConfigId
15
- }: PromptButtonCarouselWithImageWidgetProps): react_jsx_runtime1.JSX.Element;
15
+ }: PromptButtonCarouselWithImageWidgetProps): react_jsx_runtime17.JSX.Element;
16
16
  displayName: string;
17
17
  };
18
18
  //#endregion
@@ -1,20 +1,20 @@
1
1
  import { withBaseWidget } from "../../hocs/withBaseWidget/withBaseWidget.js";
2
2
  import { getRecentProductImageUrls, getStringIdForText } from "../utils/functions.js";
3
- import { useCallback, useMemo } from "react";
4
- import { EnviveMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
5
- import { jsx } from "react/jsx-runtime";
3
+ import { lastAssistantMessageAtom } from "@envive-ai/react-hooks/atoms/chat";
4
+ import { useSalesAgent } from "@envive-ai/react-hooks/contexts/salesAgentContext";
6
5
  import { WidgetTypeV3 } from "@envive-ai/react-hooks/contexts/typesV3";
6
+ import { useChatToggle } from "@envive-ai/react-hooks/hooks/ChatToggle";
7
7
  import { useAtomValue } from "jotai";
8
8
  import { useFeatureFlagService } from "@envive-ai/react-hooks/contexts/featureFlagServiceContext";
9
9
  import { ChatElementDisplayLocationV3, FeatureGates, VariantTypeEnum } from "@envive-ai/react-hooks/application/models";
10
- import { useSalesAgent } from "@envive-ai/react-hooks/contexts/salesAgentContext";
11
- import { useChatToggle } from "@envive-ai/react-hooks/hooks/ChatToggle";
10
+ import { variantInfoAtom } from "@envive-ai/react-hooks/atoms/app";
11
+ import { EnviveMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
12
+ import { useWidgetInteraction } from "@envive-ai/react-hooks/hooks/WidgetInteraction";
12
13
  import { WidgetInteractionComponent, WidgetInteractionType } from "@envive-ai/react-hooks/hooks/WidgetInteraction/types";
13
14
  import { usePromptCarouselAnalytics } from "@envive-ai/react-toolkit-v3/PromptCarousel";
14
15
  import { Theme } from "@envive-ai/react-toolkit-v3/Tokens";
15
- import { lastAssistantMessageAtom } from "@envive-ai/react-hooks/atoms/chat";
16
- import { variantInfoAtom } from "@envive-ai/react-hooks/atoms/app";
17
- import { useWidgetInteraction } from "@envive-ai/react-hooks/hooks/WidgetInteraction";
16
+ import { useCallback, useMemo } from "react";
17
+ import { jsx } from "react/jsx-runtime";
18
18
  import { PromptButtonCarouselWithImage } from "@envive-ai/react-toolkit-v3/PromptButtonCarouselWithImage";
19
19
 
20
20
  //#region src/widgets/PromptButtonCarouselWithImageWidget/PromptButtonCarouselWithImageWidget.tsx
@@ -2,17 +2,17 @@ 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
4
  const require_functions = require('../utils/functions.cjs');
5
- let react = require("react");
6
- let __envive_ai_react_hooks_contexts_amplitudeContext = require("@envive-ai/react-hooks/contexts/amplitudeContext");
7
- let react_jsx_runtime = require("react/jsx-runtime");
8
- let __envive_ai_react_hooks_contexts_typesV3 = require("@envive-ai/react-hooks/contexts/typesV3");
9
- let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks/application/models");
10
5
  let __envive_ai_react_hooks_contexts_salesAgentContext = require("@envive-ai/react-hooks/contexts/salesAgentContext");
6
+ let __envive_ai_react_hooks_contexts_typesV3 = require("@envive-ai/react-hooks/contexts/typesV3");
11
7
  let __envive_ai_react_hooks_hooks_ChatToggle = require("@envive-ai/react-hooks/hooks/ChatToggle");
8
+ let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks/application/models");
9
+ let __envive_ai_react_hooks_contexts_amplitudeContext = require("@envive-ai/react-hooks/contexts/amplitudeContext");
12
10
  let __envive_ai_react_hooks_hooks_WidgetInteraction_types = require("@envive-ai/react-hooks/hooks/WidgetInteraction/types");
13
11
  let __envive_ai_react_toolkit_v3_PromptCarousel = require("@envive-ai/react-toolkit-v3/PromptCarousel");
14
- let __envive_ai_react_toolkit_v3_PromptCarousel_types_types = require("@envive-ai/react-toolkit-v3/PromptCarousel/types/types");
15
12
  let __envive_ai_react_toolkit_v3_Tokens = require("@envive-ai/react-toolkit-v3/Tokens");
13
+ let react = require("react");
14
+ let react_jsx_runtime = require("react/jsx-runtime");
15
+ let __envive_ai_react_toolkit_v3_PromptCarousel_types_types = require("@envive-ai/react-toolkit-v3/PromptCarousel/types/types");
16
16
 
17
17
  //#region src/widgets/PromptCarouselWidget/PromptCarouselWidget.tsx
18
18
  const mockButtonTexts = [
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime8 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/widgets/PromptCarouselWidget/PromptCarouselWidget.d.ts
4
4
  interface PromptCarouselWidgetProps {
@@ -7,7 +7,7 @@ interface PromptCarouselWidgetProps {
7
7
  declare const PromptCarouselWidget: {
8
8
  ({
9
9
  widgetConfigId
10
- }: PromptCarouselWidgetProps): react_jsx_runtime8.JSX.Element;
10
+ }: PromptCarouselWidgetProps): react_jsx_runtime6.JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime14 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime10 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/widgets/PromptCarouselWidget/PromptCarouselWidget.d.ts
4
4
  interface PromptCarouselWidgetProps {
@@ -7,7 +7,7 @@ interface PromptCarouselWidgetProps {
7
7
  declare const PromptCarouselWidget: {
8
8
  ({
9
9
  widgetConfigId
10
- }: PromptCarouselWidgetProps): react_jsx_runtime14.JSX.Element;
10
+ }: PromptCarouselWidgetProps): react_jsx_runtime10.JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  //#endregion
@@ -1,17 +1,17 @@
1
1
  import { withBaseWidget } from "../../hocs/withBaseWidget/withBaseWidget.js";
2
2
  import "../../hocs/withBaseWidget/index.js";
3
3
  import { getStringIdForText } from "../utils/functions.js";
4
- import { useCallback } from "react";
5
- import { EnviveMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
6
- import { jsx } from "react/jsx-runtime";
7
- import { WidgetTypeV3 } from "@envive-ai/react-hooks/contexts/typesV3";
8
- import { ChatElementDisplayLocationV3 } from "@envive-ai/react-hooks/application/models";
9
4
  import { useSalesAgent } from "@envive-ai/react-hooks/contexts/salesAgentContext";
5
+ import { WidgetTypeV3 } from "@envive-ai/react-hooks/contexts/typesV3";
10
6
  import { useChatToggle } from "@envive-ai/react-hooks/hooks/ChatToggle";
7
+ import { ChatElementDisplayLocationV3 } from "@envive-ai/react-hooks/application/models";
8
+ import { EnviveMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
11
9
  import { WidgetInteractionComponent } from "@envive-ai/react-hooks/hooks/WidgetInteraction/types";
12
10
  import { PromptCarousel, usePromptCarouselAnalytics } from "@envive-ai/react-toolkit-v3/PromptCarousel";
13
- import { AnimationSpeed as AnimationSpeed$1 } from "@envive-ai/react-toolkit-v3/PromptCarousel/types/types";
14
11
  import { Theme } from "@envive-ai/react-toolkit-v3/Tokens";
12
+ import { useCallback } from "react";
13
+ import { jsx } from "react/jsx-runtime";
14
+ import { AnimationSpeed as AnimationSpeed$1 } from "@envive-ai/react-toolkit-v3/PromptCarousel/types/types";
15
15
 
16
16
  //#region src/widgets/PromptCarouselWidget/PromptCarouselWidget.tsx
17
17
  const mockButtonTexts = [
@@ -4,8 +4,8 @@ const require_ChatPreviewComparisonWidget = require('../ChatPreviewComparisonWid
4
4
  const require_ChatPreviewWidget = require('../ChatPreviewWidget/ChatPreviewWidget.cjs');
5
5
  const require_useGetWidgetStatus = require('../hooks/useGetWidgetStatus.cjs');
6
6
  const require_SocialProofWidget = require('../SocialProofWidget/SocialProofWidget.cjs');
7
- let react_jsx_runtime = require("react/jsx-runtime");
8
7
  let __envive_ai_react_hooks_contexts_typesV3 = require("@envive-ai/react-hooks/contexts/typesV3");
8
+ let react_jsx_runtime = require("react/jsx-runtime");
9
9
  let __envive_ai_react_toolkit_v3_ChatPreviewLoading = require("@envive-ai/react-toolkit-v3/ChatPreviewLoading");
10
10
 
11
11
  //#region src/widgets/SocialProofFlowWidget/SocialProofFlowWidget.tsx
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime9 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 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_runtime9.JSX.Element;
10
+ }: SocialProofFlowWidgetProps): react_jsx_runtime0.JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime0 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime11 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_runtime0.JSX.Element;
10
+ }: SocialProofFlowWidgetProps): react_jsx_runtime11.JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  //#endregion
@@ -3,8 +3,8 @@ import { ChatPreviewComparisonWidgetWithBaseWidget } from "../ChatPreviewCompari
3
3
  import { ChatPreviewWidgetWithBaseWidget } from "../ChatPreviewWidget/ChatPreviewWidget.js";
4
4
  import useGetWidgetStatus_default from "../hooks/useGetWidgetStatus.js";
5
5
  import { SocialProofWidgetWithBaseWidget } from "../SocialProofWidget/SocialProofWidget.js";
6
- import { jsx } from "react/jsx-runtime";
7
6
  import { WidgetTypeV3 } from "@envive-ai/react-hooks/contexts/typesV3";
7
+ import { jsx } from "react/jsx-runtime";
8
8
  import { ChatPreviewLoading } from "@envive-ai/react-toolkit-v3/ChatPreviewLoading";
9
9
 
10
10
  //#region src/widgets/SocialProofFlowWidget/SocialProofFlowWidget.tsx
@@ -1,22 +1,22 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_withBaseWidget = require('../../hocs/withBaseWidget/withBaseWidget.cjs');
3
3
  const require_functions = require('../utils/functions.cjs');
4
- let react = require("react");
5
- let __envive_ai_react_hooks_contexts_amplitudeContext = require("@envive-ai/react-hooks/contexts/amplitudeContext");
6
- let react_jsx_runtime = require("react/jsx-runtime");
4
+ let __envive_ai_react_hooks_contexts_salesAgentContext = require("@envive-ai/react-hooks/contexts/salesAgentContext");
7
5
  let __envive_ai_react_hooks_contexts_typesV3 = require("@envive-ai/react-hooks/contexts/typesV3");
6
+ let __envive_ai_react_hooks_hooks_ChatToggle = require("@envive-ai/react-hooks/hooks/ChatToggle");
8
7
  let jotai = require("jotai");
9
8
  let __envive_ai_react_hooks_contexts_featureFlagServiceContext = require("@envive-ai/react-hooks/contexts/featureFlagServiceContext");
10
9
  let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks/application/models");
11
- let __envive_ai_react_hooks_atoms_widget = require("@envive-ai/react-hooks/atoms/widget");
12
- let __envive_ai_react_toolkit_v3_ChatPreviewLoading = require("@envive-ai/react-toolkit-v3/ChatPreviewLoading");
13
- let __envive_ai_react_hooks_contexts_salesAgentContext = require("@envive-ai/react-hooks/contexts/salesAgentContext");
14
- let __envive_ai_react_hooks_hooks_ChatToggle = require("@envive-ai/react-hooks/hooks/ChatToggle");
10
+ let __envive_ai_react_hooks_atoms_app = require("@envive-ai/react-hooks/atoms/app");
11
+ let __envive_ai_react_hooks_contexts_amplitudeContext = require("@envive-ai/react-hooks/contexts/amplitudeContext");
12
+ let __envive_ai_react_hooks_hooks_WidgetInteraction = require("@envive-ai/react-hooks/hooks/WidgetInteraction");
15
13
  let __envive_ai_react_hooks_hooks_WidgetInteraction_types = require("@envive-ai/react-hooks/hooks/WidgetInteraction/types");
16
14
  let __envive_ai_react_toolkit_v3_PromptCarousel = require("@envive-ai/react-toolkit-v3/PromptCarousel");
17
15
  let __envive_ai_react_toolkit_v3_Tokens = require("@envive-ai/react-toolkit-v3/Tokens");
18
- let __envive_ai_react_hooks_atoms_app = require("@envive-ai/react-hooks/atoms/app");
19
- let __envive_ai_react_hooks_hooks_WidgetInteraction = require("@envive-ai/react-hooks/hooks/WidgetInteraction");
16
+ let react = require("react");
17
+ let react_jsx_runtime = require("react/jsx-runtime");
18
+ let __envive_ai_react_hooks_atoms_widget = require("@envive-ai/react-hooks/atoms/widget");
19
+ let __envive_ai_react_toolkit_v3_ChatPreviewLoading = require("@envive-ai/react-toolkit-v3/ChatPreviewLoading");
20
20
  let __envive_ai_react_toolkit_v3_SocialProof = require("@envive-ai/react-toolkit-v3/SocialProof");
21
21
  let __envive_ai_react_hooks_hooks_ProductImageUrl = require("@envive-ai/react-hooks/hooks/ProductImageUrl");
22
22
 
@@ -1,9 +1,9 @@
1
1
  import { BaseWidgetProps } from "../../hocs/withBaseWidget/types.cjs";
2
- import * as react_jsx_runtime6 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime7 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_runtime6.JSX.Element;
6
+ (props: BaseWidgetProps): react_jsx_runtime7.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_runtime6.JSX.Element;
15
+ }: SocialProofWidgetProps): react_jsx_runtime7.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_runtime10 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime16 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_runtime10.JSX.Element;
6
+ (props: BaseWidgetProps): react_jsx_runtime16.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_runtime10.JSX.Element;
15
+ }: SocialProofWidgetProps): react_jsx_runtime16.JSX.Element;
16
16
  displayName: string;
17
17
  };
18
18
  //#endregion
@@ -1,21 +1,21 @@
1
1
  import { withBaseWidget } from "../../hocs/withBaseWidget/withBaseWidget.js";
2
2
  import { getStringIdForText } from "../utils/functions.js";
3
- import { useCallback, useMemo } from "react";
4
- import { EnviveMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
5
- import { jsx } from "react/jsx-runtime";
3
+ import { useSalesAgent } from "@envive-ai/react-hooks/contexts/salesAgentContext";
6
4
  import { WidgetTypeV3 } from "@envive-ai/react-hooks/contexts/typesV3";
5
+ import { useChatToggle } from "@envive-ai/react-hooks/hooks/ChatToggle";
7
6
  import { useAtomValue, useSetAtom } from "jotai";
8
7
  import { useFeatureFlagService } from "@envive-ai/react-hooks/contexts/featureFlagServiceContext";
9
8
  import { ChatElementDisplayLocationV3, FeatureGates, VariantTypeEnum } from "@envive-ai/react-hooks/application/models";
10
- import { chatPreviewLoadingDataAtom } from "@envive-ai/react-hooks/atoms/widget";
11
- import { ChatPreviewLoading } from "@envive-ai/react-toolkit-v3/ChatPreviewLoading";
12
- import { useSalesAgent } from "@envive-ai/react-hooks/contexts/salesAgentContext";
13
- import { useChatToggle } from "@envive-ai/react-hooks/hooks/ChatToggle";
9
+ import { variantInfoAtom } from "@envive-ai/react-hooks/atoms/app";
10
+ import { EnviveMetricsEventName, useAmplitude } from "@envive-ai/react-hooks/contexts/amplitudeContext";
11
+ import { useWidgetInteraction } from "@envive-ai/react-hooks/hooks/WidgetInteraction";
14
12
  import { WidgetInteractionComponent, WidgetInteractionType } from "@envive-ai/react-hooks/hooks/WidgetInteraction/types";
15
13
  import { usePromptCarouselAnalytics } from "@envive-ai/react-toolkit-v3/PromptCarousel";
16
14
  import { Theme } from "@envive-ai/react-toolkit-v3/Tokens";
17
- import { variantInfoAtom } from "@envive-ai/react-hooks/atoms/app";
18
- import { useWidgetInteraction } from "@envive-ai/react-hooks/hooks/WidgetInteraction";
15
+ import { useCallback, useMemo } from "react";
16
+ import { jsx } from "react/jsx-runtime";
17
+ import { chatPreviewLoadingDataAtom } from "@envive-ai/react-hooks/atoms/widget";
18
+ import { ChatPreviewLoading } from "@envive-ai/react-toolkit-v3/ChatPreviewLoading";
19
19
  import { PageVariant, SocialProof, WidgetKind } from "@envive-ai/react-toolkit-v3/SocialProof";
20
20
  import { useProductImageUrl } from "@envive-ai/react-hooks/hooks/ProductImageUrl";
21
21
 
@@ -2,15 +2,15 @@ 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
4
  const require_functions = require('../utils/functions.cjs');
5
- let react = require("react");
6
- let __envive_ai_react_hooks_contexts_amplitudeContext = require("@envive-ai/react-hooks/contexts/amplitudeContext");
7
- let react_jsx_runtime = require("react/jsx-runtime");
8
- let __envive_ai_react_hooks_contexts_typesV3 = require("@envive-ai/react-hooks/contexts/typesV3");
9
- let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks/application/models");
10
5
  let __envive_ai_react_hooks_contexts_salesAgentContext = require("@envive-ai/react-hooks/contexts/salesAgentContext");
6
+ let __envive_ai_react_hooks_contexts_typesV3 = require("@envive-ai/react-hooks/contexts/typesV3");
11
7
  let __envive_ai_react_hooks_hooks_ChatToggle = require("@envive-ai/react-hooks/hooks/ChatToggle");
8
+ let __envive_ai_react_hooks_application_models = require("@envive-ai/react-hooks/application/models");
9
+ let __envive_ai_react_hooks_contexts_amplitudeContext = require("@envive-ai/react-hooks/contexts/amplitudeContext");
12
10
  let __envive_ai_react_hooks_hooks_WidgetInteraction_types = require("@envive-ai/react-hooks/hooks/WidgetInteraction/types");
13
11
  let __envive_ai_react_toolkit_v3_PromptCarousel = require("@envive-ai/react-toolkit-v3/PromptCarousel");
12
+ let react = require("react");
13
+ let react_jsx_runtime = require("react/jsx-runtime");
14
14
  let __envive_ai_react_toolkit_v3_TitledPromptCarousel = require("@envive-ai/react-toolkit-v3/TitledPromptCarousel");
15
15
 
16
16
  //#region src/widgets/TitledPromptCarouselWidget/TitledPromptCarouselWidget.tsx