@envive-ai/react-hooks 0.3.8 → 0.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/rolldown_runtime.cjs +0 -2
- package/dist/application/commerce-api.cjs +1 -1
- package/dist/application/commerce-api.js +1 -1
- package/dist/application/models/chatElementDisplayLocationV3.cjs +3 -1
- package/dist/application/models/chatElementDisplayLocationV3.d.cts +3 -1
- package/dist/application/models/chatElementDisplayLocationV3.d.ts +3 -1
- package/dist/application/models/chatElementDisplayLocationV3.js +3 -1
- package/dist/application/models/variantInfo/variantInfo.cjs +2 -2
- package/dist/application/models/variantInfo/variantInfo.d.cts +2 -2
- package/dist/application/models/variantInfo/variantInfo.d.ts +2 -2
- package/dist/application/models/variantInfo/variantInfo.js +2 -2
- package/dist/application/utils/widgetTextRequestToApiRequest.cjs +2 -1
- package/dist/application/utils/widgetTextRequestToApiRequest.js +2 -1
- package/dist/atoms/app/index.d.cts +7 -7
- package/dist/atoms/app/index.d.ts +7 -7
- package/dist/atoms/app/variant.d.cts +6 -6
- package/dist/atoms/app/variant.d.ts +6 -6
- package/dist/atoms/chat/chatState.d.cts +17 -17
- package/dist/atoms/chat/chatState.d.ts +18 -18
- package/dist/atoms/chat/form.d.cts +2 -2
- package/dist/atoms/chat/form.d.ts +2 -2
- package/dist/atoms/chat/index.cjs +7 -1
- package/dist/atoms/chat/index.d.cts +5 -4
- package/dist/atoms/chat/index.d.ts +5 -4
- package/dist/atoms/chat/index.js +3 -2
- package/dist/atoms/chat/lastMessage.d.cts +2 -2
- package/dist/atoms/chat/lastMessage.d.ts +2 -2
- package/dist/atoms/chat/messageQueue.cjs +1 -0
- package/dist/atoms/chat/messageQueue.d.cts +31 -0
- package/dist/atoms/chat/messageQueue.d.ts +31 -0
- package/dist/atoms/chat/messageQueue.js +1 -1
- package/dist/atoms/chat/performanceMetrics.d.cts +6 -6
- package/dist/atoms/chat/performanceMetrics.d.ts +6 -6
- package/dist/atoms/chat/renderedWidgetRefs.d.cts +2 -2
- package/dist/atoms/chat/renderedWidgetRefs.d.ts +2 -2
- package/dist/atoms/chat/replies.d.cts +2 -2
- package/dist/atoms/chat/replies.d.ts +3 -3
- package/dist/atoms/chat/suggestions.d.cts +2 -2
- package/dist/atoms/chat/suggestions.d.ts +2 -2
- package/dist/atoms/globalSearch/globalSearch.d.cts +5 -5
- package/dist/atoms/globalSearch/globalSearch.d.ts +5 -5
- package/dist/atoms/org/customerService.d.cts +6 -6
- package/dist/atoms/org/customerService.d.ts +6 -6
- package/dist/atoms/org/graphqlConfig.d.cts +4 -4
- package/dist/atoms/org/graphqlConfig.d.ts +4 -4
- package/dist/atoms/org/index.cjs +2 -2
- package/dist/atoms/org/index.js +2 -2
- package/dist/atoms/org/newOrgConfigAtom.d.cts +2 -2
- package/dist/atoms/org/newOrgConfigAtom.d.ts +2 -2
- package/dist/atoms/org/orgAnalyticsConfig.d.cts +5 -5
- package/dist/atoms/org/orgAnalyticsConfig.d.ts +5 -5
- package/dist/atoms/search/chatSearch.cjs +1 -1
- package/dist/atoms/search/chatSearch.d.cts +17 -17
- package/dist/atoms/search/chatSearch.d.ts +17 -17
- package/dist/atoms/search/chatSearch.js +1 -1
- package/dist/atoms/search/searchAPI.cjs +1 -1
- package/dist/atoms/search/searchAPI.d.cts +13 -13
- package/dist/atoms/search/searchAPI.d.ts +13 -13
- package/dist/atoms/search/searchAPI.js +1 -1
- package/dist/atoms/search/types.d.ts +1 -1
- package/dist/atoms/search/utils.d.cts +1 -1
- package/dist/atoms/search/utils.d.ts +1 -1
- package/dist/atoms/widget/chatPreviewLoading.d.cts +2 -2
- package/dist/atoms/widget/chatPreviewLoading.d.ts +2 -2
- package/dist/contexts/enviveContext/WindowChatToggleBinder.cjs +66 -0
- package/dist/contexts/enviveContext/WindowChatToggleBinder.js +65 -0
- package/dist/contexts/enviveContext/enviveContext.cjs +5 -4
- package/dist/contexts/enviveContext/enviveContext.js +6 -5
- package/dist/contexts/enviveContext/types.d.cts +1 -1
- package/dist/contexts/enviveContext/types.d.ts +1 -1
- package/dist/contexts/graphqlContext/graphqlContext.cjs +6 -7
- package/dist/contexts/graphqlContext/graphqlContext.js +2 -3
- package/dist/contexts/graphqlContext/mockV3Config.cjs +57 -61
- package/dist/contexts/graphqlContext/mockV3Config.js +14 -19
- package/dist/contexts/newOrgConfigContext/newOrgConfigContext.cjs +1 -1
- package/dist/contexts/newOrgConfigContext/newOrgConfigContext.js +1 -1
- package/dist/contexts/pageContext/mapping.cjs +9 -1
- package/dist/contexts/pageContext/mapping.js +9 -1
- package/dist/contexts/pageContext/pageContext.cjs +8 -3
- package/dist/contexts/pageContext/pageContext.d.cts +2 -1
- package/dist/contexts/pageContext/pageContext.d.ts +2 -1
- package/dist/contexts/pageContext/pageContext.js +8 -3
- package/dist/contexts/pageContext/types.d.cts +11 -3
- package/dist/contexts/pageContext/types.d.ts +11 -3
- package/dist/contexts/salesAgentContext/chatAPI.cjs +13 -5
- package/dist/contexts/salesAgentContext/chatAPI.d.cts +4 -3
- package/dist/contexts/salesAgentContext/chatAPI.d.ts +4 -3
- package/dist/contexts/salesAgentContext/chatAPI.js +13 -5
- package/dist/contexts/salesAgentContext/salesAgentContext.cjs +7 -3
- package/dist/contexts/salesAgentContext/salesAgentContext.js +8 -4
- package/dist/contexts/salesAgentContext/salesAgentService.cjs +1 -1
- package/dist/contexts/salesAgentContext/salesAgentService.js +1 -1
- package/dist/contexts/searchContext/searchContext.cjs +1 -1
- package/dist/contexts/searchContext/searchContext.js +1 -1
- package/dist/contexts/systemSettingsContext/systemSettingsContext.d.cts +2 -2
- package/dist/contexts/types.d.cts +1 -1
- package/dist/contexts/types.d.ts +1 -1
- package/dist/contexts/typesV3.cjs +1 -1
- package/dist/contexts/typesV3.d.cts +9 -4
- package/dist/contexts/typesV3.d.ts +11 -6
- package/dist/contexts/typesV3.js +1 -1
- package/dist/contexts/widgetConfigContext/widgetConfigContext.cjs +2 -1
- package/dist/contexts/widgetConfigContext/widgetConfigContext.js +2 -1
- package/dist/hooks/GrabAndScroll/useGrabAndScroll.d.cts +2 -2
- package/dist/hooks/Search/useSearch.cjs +2 -2
- package/dist/hooks/Search/useSearch.js +2 -2
- package/dist/hooks/Search/useSearchInput.cjs +1 -1
- package/dist/hooks/Search/useSearchInput.js +1 -1
- package/dist/hooks/utils.d.cts +1 -1
- package/dist/services/amplitudeService/amplitudeService.cjs +41 -1
- package/dist/services/amplitudeService/amplitudeService.d.cts +2 -1
- package/dist/services/amplitudeService/amplitudeService.d.ts +2 -1
- package/dist/services/amplitudeService/amplitudeService.js +41 -1
- package/package.json +1 -1
- package/src/application/models/chatElementDisplayLocationV3.ts +2 -0
- package/src/application/models/variantInfo/variantInfo.ts +1 -1
- package/src/application/utils/widgetTextRequestToApiRequest.ts +2 -0
- package/src/atoms/chat/index.ts +1 -0
- package/src/contexts/enviveContext/WindowChatToggleBinder.tsx +66 -0
- package/src/contexts/enviveContext/enviveContext.tsx +3 -1
- package/src/contexts/graphqlContext/mockV3Config.ts +4 -0
- package/src/contexts/pageContext/mapping.ts +16 -1
- package/src/contexts/pageContext/pageContext.tsx +12 -3
- package/src/contexts/pageContext/types.ts +16 -1
- package/src/contexts/salesAgentContext/chatAPI.ts +16 -4
- package/src/contexts/salesAgentContext/salesAgentContext.tsx +8 -3
- package/src/contexts/typesV3.ts +9 -2
- package/src/contexts/widgetConfigContext/widgetConfigContext.tsx +4 -0
- package/src/services/amplitudeService/amplitudeService.ts +56 -0
- package/dist/_virtual/rolldown_runtime.js +0 -29
- package/dist/node_modules/classnames/index.cjs +0 -52
- package/dist/node_modules/classnames/index.js +0 -49
- package/dist/packages/components-v3/dist/ChatHeader/ChatHeader.cjs +0 -2
- package/dist/packages/components-v3/dist/ChatHeader/ChatHeader.js +0 -4
- package/dist/packages/components-v3/dist/ChatHeader/components/CloseButton.cjs +0 -16
- package/dist/packages/components-v3/dist/ChatHeader/components/CloseButton.js +0 -17
- package/dist/packages/components-v3/dist/ChatHeader/components/Handle.cjs +0 -6
- package/dist/packages/components-v3/dist/ChatHeader/components/Handle.js +0 -8
- package/dist/packages/components-v3/dist/ChatHeader/components/Layout.cjs +0 -4
- package/dist/packages/components-v3/dist/ChatHeader/components/Layout.js +0 -6
- package/dist/packages/components-v3/dist/ChatHeader/components/Logo.cjs +0 -3
- package/dist/packages/components-v3/dist/ChatHeader/components/Logo.js +0 -5
- package/dist/packages/components-v3/dist/ChatHeader/components/Toggle.cjs +0 -7
- package/dist/packages/components-v3/dist/ChatHeader/components/Toggle.js +0 -9
- package/dist/packages/components-v3/dist/ChatHeader/components/ToggleItem.cjs +0 -6
- package/dist/packages/components-v3/dist/ChatHeader/components/ToggleItem.js +0 -8
- package/dist/packages/components-v3/dist/ChatHeader/components/index.cjs +0 -6
- package/dist/packages/components-v3/dist/ChatHeader/components/index.js +0 -8
- package/dist/packages/components-v3/dist/ChatHeader/hooks/useGetCloseButtonProperties.cjs +0 -22
- package/dist/packages/components-v3/dist/ChatHeader/hooks/useGetCloseButtonProperties.js +0 -23
- package/dist/packages/components-v3/dist/ChatHeader/hooks/useGetHandleProperties.cjs +0 -58
- package/dist/packages/components-v3/dist/ChatHeader/hooks/useGetHandleProperties.js +0 -59
- package/dist/packages/components-v3/dist/ChatHeader/hooks/useGetLayoutProperties.cjs +0 -8
- package/dist/packages/components-v3/dist/ChatHeader/hooks/useGetLayoutProperties.js +0 -9
- package/dist/packages/components-v3/dist/ChatHeader/hooks/useGetToggleOptionProperties.cjs +0 -1
- package/dist/packages/components-v3/dist/ChatHeader/hooks/useGetToggleOptionProperties.js +0 -3
- package/dist/packages/components-v3/dist/ChatHeader/hooks/useGetToggleProperties.cjs +0 -12
- package/dist/packages/components-v3/dist/ChatHeader/hooks/useGetToggleProperties.js +0 -13
- package/dist/packages/components-v3/dist/ChatHeader/index.cjs +0 -2
- package/dist/packages/components-v3/dist/ChatHeader/index.js +0 -4
- package/dist/packages/components-v3/dist/ChatHeader/types/index.cjs +0 -11
- package/dist/packages/components-v3/dist/ChatHeader/types/index.js +0 -10
- package/dist/packages/components-v3/dist/ChatPreviewLoading/components/Skeleton.cjs +0 -1
- package/dist/packages/components-v3/dist/ChatPreviewLoading/components/Skeleton.js +0 -3
- package/dist/packages/components-v3/dist/Container/Container.cjs +0 -27
- package/dist/packages/components-v3/dist/Container/Container.js +0 -27
- package/dist/packages/components-v3/dist/Container/hooks/useGetCenterContentProperties.cjs +0 -14
- package/dist/packages/components-v3/dist/Container/hooks/useGetCenterContentProperties.js +0 -13
- package/dist/packages/components-v3/dist/Container/hooks/useGetFluidProperties.cjs +0 -14
- package/dist/packages/components-v3/dist/Container/hooks/useGetFluidProperties.js +0 -13
- package/dist/packages/components-v3/dist/Container/index.cjs +0 -1
- package/dist/packages/components-v3/dist/Container/index.js +0 -3
- package/dist/packages/components-v3/dist/DesignTokens/components/utils.cjs +0 -16
- package/dist/packages/components-v3/dist/DesignTokens/components/utils.js +0 -15
- package/dist/packages/components-v3/dist/FloatingButton/FloatingButton.cjs +0 -2
- package/dist/packages/components-v3/dist/FloatingButton/FloatingButton.js +0 -4
- package/dist/packages/components-v3/dist/FloatingButton/components/Button.cjs +0 -9
- package/dist/packages/components-v3/dist/FloatingButton/components/Button.js +0 -10
- package/dist/packages/components-v3/dist/FloatingButton/components/Container.cjs +0 -9
- package/dist/packages/components-v3/dist/FloatingButton/components/Container.js +0 -10
- package/dist/packages/components-v3/dist/FloatingButton/components/Icon.cjs +0 -3
- package/dist/packages/components-v3/dist/FloatingButton/components/Icon.js +0 -5
- package/dist/packages/components-v3/dist/FloatingButton/components/Wrapper.cjs +0 -9
- package/dist/packages/components-v3/dist/FloatingButton/components/Wrapper.js +0 -10
- package/dist/packages/components-v3/dist/FloatingButton/components/index.cjs +0 -4
- package/dist/packages/components-v3/dist/FloatingButton/components/index.js +0 -6
- package/dist/packages/components-v3/dist/FloatingButton/index.cjs +0 -2
- package/dist/packages/components-v3/dist/FloatingButton/index.js +0 -4
- package/dist/packages/components-v3/dist/FloatingButton/types/types.cjs +0 -17
- package/dist/packages/components-v3/dist/FloatingButton/types/types.js +0 -16
- package/dist/packages/components-v3/dist/Image/Image.cjs +0 -16
- package/dist/packages/components-v3/dist/Image/Image.js +0 -17
- package/dist/packages/components-v3/dist/Image/hooks/useGetAccessibilityProperties.cjs +0 -1
- package/dist/packages/components-v3/dist/Image/hooks/useGetAccessibilityProperties.js +0 -3
- package/dist/packages/components-v3/dist/Image/hooks/useGetAspectRatioProperties.cjs +0 -1
- package/dist/packages/components-v3/dist/Image/hooks/useGetAspectRatioProperties.js +0 -3
- package/dist/packages/components-v3/dist/Image/hooks/useGetObjectFitProperties.cjs +0 -1
- package/dist/packages/components-v3/dist/Image/hooks/useGetObjectFitProperties.js +0 -3
- package/dist/packages/components-v3/dist/Image/hooks/useGetRoundedProperties.cjs +0 -1
- package/dist/packages/components-v3/dist/Image/hooks/useGetRoundedProperties.js +0 -3
- package/dist/packages/components-v3/dist/Image/hooks/useGetSkeletonProperties.cjs +0 -1
- package/dist/packages/components-v3/dist/Image/hooks/useGetSkeletonProperties.js +0 -3
- package/dist/packages/components-v3/dist/Image/hooks/useGetWidthProperties.cjs +0 -1
- package/dist/packages/components-v3/dist/Image/hooks/useGetWidthProperties.js +0 -3
- package/dist/packages/components-v3/dist/Image/hooks/useHandleImageLoading.cjs +0 -1
- package/dist/packages/components-v3/dist/Image/hooks/useHandleImageLoading.js +0 -3
- package/dist/packages/components-v3/dist/ImageGallery/ImageGallery.cjs +0 -2
- package/dist/packages/components-v3/dist/ImageGallery/ImageGallery.js +0 -4
- package/dist/packages/components-v3/dist/ImageGallery/components/ImageItem.cjs +0 -2
- package/dist/packages/components-v3/dist/ImageGallery/components/ImageItem.js +0 -4
- package/dist/packages/components-v3/dist/ImageGallery/components/Layout.cjs +0 -15
- package/dist/packages/components-v3/dist/ImageGallery/components/Layout.js +0 -16
- package/dist/packages/components-v3/dist/ImageGallery/components/NormalLayout.cjs +0 -4
- package/dist/packages/components-v3/dist/ImageGallery/components/NormalLayout.js +0 -4
- package/dist/packages/components-v3/dist/ImageGallery/components/OverlappedLayout.cjs +0 -1
- package/dist/packages/components-v3/dist/ImageGallery/components/OverlappedLayout.js +0 -3
- package/dist/packages/components-v3/dist/ImageGallery/components/index.cjs +0 -4
- package/dist/packages/components-v3/dist/ImageGallery/components/index.js +0 -6
- package/dist/packages/components-v3/dist/ImageGallery/hooks/useGetContainerProperties.cjs +0 -1
- package/dist/packages/components-v3/dist/ImageGallery/hooks/useGetContainerProperties.js +0 -3
- package/dist/packages/components-v3/dist/ImageGallery/index.cjs +0 -2
- package/dist/packages/components-v3/dist/ImageGallery/index.js +0 -4
- package/dist/packages/components-v3/dist/ImageGallery/types/types.cjs +0 -13
- package/dist/packages/components-v3/dist/ImageGallery/types/types.js +0 -12
- package/dist/packages/components-v3/dist/PromptButton/PromptButton.cjs +0 -48
- package/dist/packages/components-v3/dist/PromptButton/PromptButton.js +0 -48
- package/dist/packages/components-v3/dist/PromptButton/components/Icon.cjs +0 -11
- package/dist/packages/components-v3/dist/PromptButton/components/Icon.js +0 -10
- package/dist/packages/components-v3/dist/PromptButton/components/Label.cjs +0 -20
- package/dist/packages/components-v3/dist/PromptButton/components/Label.js +0 -19
- package/dist/packages/components-v3/dist/PromptButton/components/Layout.cjs +0 -40
- package/dist/packages/components-v3/dist/PromptButton/components/Layout.js +0 -40
- package/dist/packages/components-v3/dist/PromptButton/components/Loading.cjs +0 -13
- package/dist/packages/components-v3/dist/PromptButton/components/Loading.js +0 -13
- package/dist/packages/components-v3/dist/PromptButton/components/index.cjs +0 -16
- package/dist/packages/components-v3/dist/PromptButton/components/index.js +0 -16
- package/dist/packages/components-v3/dist/PromptButton/hooks/useGetBackgroundColorsProperties.cjs +0 -18
- package/dist/packages/components-v3/dist/PromptButton/hooks/useGetBackgroundColorsProperties.js +0 -18
- package/dist/packages/components-v3/dist/PromptButton/hooks/useGetBoldTextProperties.cjs +0 -13
- package/dist/packages/components-v3/dist/PromptButton/hooks/useGetBoldTextProperties.js +0 -12
- package/dist/packages/components-v3/dist/PromptButton/hooks/useGetBorderColorsProperties.cjs +0 -18
- package/dist/packages/components-v3/dist/PromptButton/hooks/useGetBorderColorsProperties.js +0 -18
- package/dist/packages/components-v3/dist/PromptButton/hooks/useGetIconColorsProperties.cjs +0 -32
- package/dist/packages/components-v3/dist/PromptButton/hooks/useGetIconColorsProperties.js +0 -32
- package/dist/packages/components-v3/dist/PromptButton/hooks/useGetLayoutBaseProperties.cjs +0 -16
- package/dist/packages/components-v3/dist/PromptButton/hooks/useGetLayoutBaseProperties.js +0 -16
- package/dist/packages/components-v3/dist/PromptButton/hooks/useGetTextColorsProperties.cjs +0 -19
- package/dist/packages/components-v3/dist/PromptButton/hooks/useGetTextColorsProperties.js +0 -19
- package/dist/packages/components-v3/dist/PromptButton/hooks/useGetVariantColorsProperties.cjs +0 -29
- package/dist/packages/components-v3/dist/PromptButton/hooks/useGetVariantColorsProperties.js +0 -29
- package/dist/packages/components-v3/dist/PromptButton/index.cjs +0 -2
- package/dist/packages/components-v3/dist/PromptButton/index.js +0 -4
- package/dist/packages/components-v3/dist/PromptButton/types/index.cjs +0 -13
- package/dist/packages/components-v3/dist/PromptButton/types/index.js +0 -12
- package/dist/packages/components-v3/dist/PromptButton/utils/functions.cjs +0 -10
- package/dist/packages/components-v3/dist/PromptButton/utils/functions.js +0 -10
- package/dist/packages/components-v3/dist/PromptCarousel/PromptCarousel.cjs +0 -12
- package/dist/packages/components-v3/dist/PromptCarousel/PromptCarousel.js +0 -14
- package/dist/packages/components-v3/dist/PromptCarousel/components/BlockScrollContainer.cjs +0 -9
- package/dist/packages/components-v3/dist/PromptCarousel/components/BlockScrollContainer.js +0 -10
- package/dist/packages/components-v3/dist/PromptCarousel/components/ButtonContainerRow.cjs +0 -11
- package/dist/packages/components-v3/dist/PromptCarousel/components/ButtonContainerRow.js +0 -12
- package/dist/packages/components-v3/dist/PromptCarousel/components/CarouselContentWithBlockScroll.cjs +0 -4
- package/dist/packages/components-v3/dist/PromptCarousel/components/CarouselContentWithBlockScroll.js +0 -6
- package/dist/packages/components-v3/dist/PromptCarousel/components/CarouselContentWithRowScroll.cjs +0 -4
- package/dist/packages/components-v3/dist/PromptCarousel/components/CarouselContentWithRowScroll.js +0 -6
- package/dist/packages/components-v3/dist/PromptCarousel/components/index.cjs +0 -3
- package/dist/packages/components-v3/dist/PromptCarousel/components/index.js +0 -5
- package/dist/packages/components-v3/dist/PromptCarousel/hooks/index.cjs +0 -5
- package/dist/packages/components-v3/dist/PromptCarousel/hooks/index.js +0 -7
- package/dist/packages/components-v3/dist/PromptCarousel/hooks/useButtonScrollPosition.cjs +0 -1
- package/dist/packages/components-v3/dist/PromptCarousel/hooks/useButtonScrollPosition.js +0 -3
- package/dist/packages/components-v3/dist/PromptCarousel/hooks/useCarouselAnimation.cjs +0 -3
- package/dist/packages/components-v3/dist/PromptCarousel/hooks/useCarouselAnimation.js +0 -5
- package/dist/packages/components-v3/dist/PromptCarousel/hooks/useCarouselButtons.cjs +0 -1
- package/dist/packages/components-v3/dist/PromptCarousel/hooks/useCarouselButtons.js +0 -3
- package/dist/packages/components-v3/dist/PromptCarousel/hooks/useCarouselRefs.cjs +0 -1
- package/dist/packages/components-v3/dist/PromptCarousel/hooks/useCarouselRefs.js +0 -3
- package/dist/packages/components-v3/dist/PromptCarousel/hooks/useHorizontalScrollAnimation.cjs +0 -1
- package/dist/packages/components-v3/dist/PromptCarousel/hooks/useHorizontalScrollAnimation.js +0 -3
- package/dist/packages/components-v3/dist/PromptCarousel/index.cjs +0 -2
- package/dist/packages/components-v3/dist/PromptCarousel/index.js +0 -4
- package/dist/packages/components-v3/dist/PromptCarousel/types/types.cjs +0 -19
- package/dist/packages/components-v3/dist/PromptCarousel/types/types.js +0 -17
- package/dist/packages/components-v3/dist/SocialProof/SocialProof.cjs +0 -10
- package/dist/packages/components-v3/dist/SocialProof/SocialProof.js +0 -12
- package/dist/packages/components-v3/dist/SocialProof/components/Headline.cjs +0 -53
- package/dist/packages/components-v3/dist/SocialProof/components/Headline.js +0 -54
- package/dist/packages/components-v3/dist/SocialProof/components/ImageGallery.cjs +0 -5
- package/dist/packages/components-v3/dist/SocialProof/components/ImageGallery.js +0 -7
- package/dist/packages/components-v3/dist/SocialProof/components/LayoutFourGrid.cjs +0 -6
- package/dist/packages/components-v3/dist/SocialProof/components/LayoutFourGrid.js +0 -8
- package/dist/packages/components-v3/dist/SocialProof/components/LayoutFourHorizontal.cjs +0 -16
- package/dist/packages/components-v3/dist/SocialProof/components/LayoutFourHorizontal.js +0 -17
- package/dist/packages/components-v3/dist/SocialProof/components/LayoutSingle.cjs +0 -8
- package/dist/packages/components-v3/dist/SocialProof/components/LayoutSingle.js +0 -10
- package/dist/packages/components-v3/dist/SocialProof/components/Skeleton.cjs +0 -1
- package/dist/packages/components-v3/dist/SocialProof/components/Skeleton.js +0 -3
- package/dist/packages/components-v3/dist/SocialProof/components/Subheadline.cjs +0 -8
- package/dist/packages/components-v3/dist/SocialProof/components/Subheadline.js +0 -10
- package/dist/packages/components-v3/dist/SocialProof/components/Textfield.cjs +0 -3
- package/dist/packages/components-v3/dist/SocialProof/components/Textfield.js +0 -5
- package/dist/packages/components-v3/dist/SocialProof/components/index.cjs +0 -8
- package/dist/packages/components-v3/dist/SocialProof/components/index.js +0 -10
- package/dist/packages/components-v3/dist/SocialProof/hooks/index.cjs +0 -1
- package/dist/packages/components-v3/dist/SocialProof/hooks/index.js +0 -3
- package/dist/packages/components-v3/dist/SocialProof/hooks/useSocialProofCount.cjs +0 -1
- package/dist/packages/components-v3/dist/SocialProof/hooks/useSocialProofCount.js +0 -3
- package/dist/packages/components-v3/dist/SocialProof/index.cjs +0 -4
- package/dist/packages/components-v3/dist/SocialProof/index.js +0 -6
- package/dist/packages/components-v3/dist/SocialProof/types/types.cjs +0 -11
- package/dist/packages/components-v3/dist/SocialProof/types/types.js +0 -10
- package/dist/packages/components-v3/dist/SocialProof/utils/functions.cjs +0 -1
- package/dist/packages/components-v3/dist/SocialProof/utils/functions.js +0 -3
- package/dist/packages/components-v3/dist/Stack/Stack.cjs +0 -36
- package/dist/packages/components-v3/dist/Stack/Stack.js +0 -36
- package/dist/packages/components-v3/dist/Stack/hooks/useFormatStackChildren.cjs +0 -27
- package/dist/packages/components-v3/dist/Stack/hooks/useFormatStackChildren.js +0 -26
- package/dist/packages/components-v3/dist/Stack/hooks/useGetAlignProperties.cjs +0 -20
- package/dist/packages/components-v3/dist/Stack/hooks/useGetAlignProperties.js +0 -19
- package/dist/packages/components-v3/dist/Stack/hooks/useGetDirectionProperties.cjs +0 -19
- package/dist/packages/components-v3/dist/Stack/hooks/useGetDirectionProperties.js +0 -18
- package/dist/packages/components-v3/dist/Stack/hooks/useGetGapProperties.cjs +0 -16
- package/dist/packages/components-v3/dist/Stack/hooks/useGetGapProperties.js +0 -15
- package/dist/packages/components-v3/dist/Stack/hooks/useGetJustifyProperties.cjs +0 -21
- package/dist/packages/components-v3/dist/Stack/hooks/useGetJustifyProperties.js +0 -20
- package/dist/packages/components-v3/dist/Stack/hooks/useGetStyleProperties.cjs +0 -38
- package/dist/packages/components-v3/dist/Stack/hooks/useGetStyleProperties.js +0 -38
- package/dist/packages/components-v3/dist/Stack/hooks/useGetWrapProperties.cjs +0 -13
- package/dist/packages/components-v3/dist/Stack/hooks/useGetWrapProperties.js +0 -12
- package/dist/packages/components-v3/dist/Stack/index.cjs +0 -1
- package/dist/packages/components-v3/dist/Stack/index.js +0 -3
- package/dist/packages/components-v3/dist/Stack/utils/constants.cjs +0 -42
- package/dist/packages/components-v3/dist/Stack/utils/constants.js +0 -41
- package/dist/packages/components-v3/dist/Title/Title.cjs +0 -11
- package/dist/packages/components-v3/dist/Title/Title.js +0 -12
- package/dist/packages/components-v3/dist/Title/components/Image.cjs +0 -2
- package/dist/packages/components-v3/dist/Title/components/Image.js +0 -4
- package/dist/packages/components-v3/dist/Title/components/Label.cjs +0 -3
- package/dist/packages/components-v3/dist/Title/components/Label.js +0 -5
- package/dist/packages/components-v3/dist/Title/components/Layout.cjs +0 -11
- package/dist/packages/components-v3/dist/Title/components/Layout.js +0 -12
- package/dist/packages/components-v3/dist/Title/components/index.cjs +0 -3
- package/dist/packages/components-v3/dist/Title/components/index.js +0 -5
- package/dist/packages/components-v3/dist/Title/index.cjs +0 -1
- package/dist/packages/components-v3/dist/Title/index.js +0 -3
- package/dist/packages/components-v3/dist/Tokens/index.cjs +0 -11
- package/dist/packages/components-v3/dist/Tokens/index.js +0 -13
- package/dist/packages/components-v3/dist/Typography/Typography.cjs +0 -43
- package/dist/packages/components-v3/dist/Typography/Typography.js +0 -43
- package/dist/packages/components-v3/dist/Typography/hooks/useGetAccessibilityAttributes.cjs +0 -31
- package/dist/packages/components-v3/dist/Typography/hooks/useGetAccessibilityAttributes.js +0 -30
- package/dist/packages/components-v3/dist/Typography/hooks/useGetAlignProperties.cjs +0 -20
- package/dist/packages/components-v3/dist/Typography/hooks/useGetAlignProperties.js +0 -19
- package/dist/packages/components-v3/dist/Typography/hooks/useGetColorProperties.cjs +0 -21
- package/dist/packages/components-v3/dist/Typography/hooks/useGetColorProperties.js +0 -20
- package/dist/packages/components-v3/dist/Typography/hooks/useGetNoWrapProperties.cjs +0 -13
- package/dist/packages/components-v3/dist/Typography/hooks/useGetNoWrapProperties.js +0 -12
- package/dist/packages/components-v3/dist/Typography/hooks/useGetNumberOfLinesProperties.cjs +0 -22
- package/dist/packages/components-v3/dist/Typography/hooks/useGetNumberOfLinesProperties.js +0 -21
- package/dist/packages/components-v3/dist/Typography/hooks/useGetVariantProperties.cjs +0 -62
- package/dist/packages/components-v3/dist/Typography/hooks/useGetVariantProperties.js +0 -61
- package/dist/packages/components-v3/dist/Typography/index.cjs +0 -2
- package/dist/packages/components-v3/dist/Typography/index.js +0 -4
- package/dist/packages/components-v3/dist/Typography/types/index.cjs +0 -47
- package/dist/packages/components-v3/dist/Typography/types/index.js +0 -44
- package/dist/packages/components-v3/dist/Typography/utils/utils.cjs +0 -12
- package/dist/packages/components-v3/dist/Typography/utils/utils.js +0 -10
- package/dist/packages/components-v3/dist/WelcomeMessage/WelcomeMessage.cjs +0 -2
- package/dist/packages/components-v3/dist/WelcomeMessage/WelcomeMessage.js +0 -4
- package/dist/packages/components-v3/dist/WelcomeMessage/components/Container.cjs +0 -14
- package/dist/packages/components-v3/dist/WelcomeMessage/components/Container.js +0 -15
- package/dist/packages/components-v3/dist/WelcomeMessage/components/SparkleIcon.cjs +0 -3
- package/dist/packages/components-v3/dist/WelcomeMessage/components/SparkleIcon.js +0 -5
- package/dist/packages/components-v3/dist/WelcomeMessage/components/Text.cjs +0 -3
- package/dist/packages/components-v3/dist/WelcomeMessage/components/Text.js +0 -5
- package/dist/packages/components-v3/dist/WelcomeMessage/components/Title.cjs +0 -3
- package/dist/packages/components-v3/dist/WelcomeMessage/components/Title.js +0 -5
- package/dist/packages/components-v3/dist/WelcomeMessage/components/index.cjs +0 -4
- package/dist/packages/components-v3/dist/WelcomeMessage/components/index.js +0 -6
- package/dist/packages/components-v3/dist/WelcomeMessage/hooks/useGetContainerProperties.cjs +0 -1
- package/dist/packages/components-v3/dist/WelcomeMessage/hooks/useGetContainerProperties.js +0 -3
- package/dist/packages/components-v3/dist/WelcomeMessage/hooks/useGetSparkleIconProperties.cjs +0 -1
- package/dist/packages/components-v3/dist/WelcomeMessage/hooks/useGetSparkleIconProperties.js +0 -3
- package/dist/packages/components-v3/dist/WelcomeMessage/index.cjs +0 -2
- package/dist/packages/components-v3/dist/WelcomeMessage/index.js +0 -4
- package/dist/packages/components-v3/dist/WelcomeMessage/types/types.cjs +0 -14
- package/dist/packages/components-v3/dist/WelcomeMessage/types/types.js +0 -14
- package/dist/packages/components-v3/dist/WidgetTextField/WidgetTextField.cjs +0 -2
- package/dist/packages/components-v3/dist/WidgetTextField/WidgetTextField.js +0 -4
- package/dist/packages/components-v3/dist/WidgetTextField/components/Container.cjs +0 -14
- package/dist/packages/components-v3/dist/WidgetTextField/components/Container.js +0 -15
- package/dist/packages/components-v3/dist/WidgetTextField/components/FakeTextInput.cjs +0 -3
- package/dist/packages/components-v3/dist/WidgetTextField/components/FakeTextInput.js +0 -5
- package/dist/packages/components-v3/dist/WidgetTextField/components/Icon.cjs +0 -7
- package/dist/packages/components-v3/dist/WidgetTextField/components/Icon.js +0 -9
- package/dist/packages/components-v3/dist/WidgetTextField/components/Skeleton.cjs +0 -10
- package/dist/packages/components-v3/dist/WidgetTextField/components/Skeleton.js +0 -11
- package/dist/packages/components-v3/dist/WidgetTextField/components/index.cjs +0 -4
- package/dist/packages/components-v3/dist/WidgetTextField/components/index.js +0 -6
- package/dist/packages/components-v3/dist/WidgetTextField/hooks/useGetContainerProperties.cjs +0 -1
- package/dist/packages/components-v3/dist/WidgetTextField/hooks/useGetContainerProperties.js +0 -3
- package/dist/packages/components-v3/dist/WidgetTextField/index.cjs +0 -1
- package/dist/packages/components-v3/dist/WidgetTextField/index.js +0 -3
- package/dist/packages/components-v3/dist/WidgetWrapper/WidgetWrapper.cjs +0 -12
- package/dist/packages/components-v3/dist/WidgetWrapper/WidgetWrapper.js +0 -13
- package/dist/packages/components-v3/dist/WidgetWrapper/hooks/useGetWrapperProperties.cjs +0 -1
- package/dist/packages/components-v3/dist/WidgetWrapper/hooks/useGetWrapperProperties.js +0 -3
- package/dist/packages/components-v3/dist/WidgetWrapper/index.cjs +0 -2
- package/dist/packages/components-v3/dist/WidgetWrapper/index.js +0 -4
- package/dist/packages/components-v3/dist/WidgetWrapper/types/types.cjs +0 -13
- package/dist/packages/components-v3/dist/WidgetWrapper/types/types.js +0 -12
- package/dist/packages/components-v3/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.cjs +0 -8
- package/dist/packages/components-v3/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.js +0 -10
- package/dist/packages/components-v3/dist/packages/components-v3/src/models/colorsConfig.cjs +0 -26
- package/dist/packages/components-v3/dist/packages/components-v3/src/models/colorsConfig.js +0 -25
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/aspectRatio/aspectRatio.cjs +0 -16
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/aspectRatio/aspectRatio.js +0 -17
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/breakpoints/breakpoints.cjs +0 -25
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/breakpoints/breakpoints.js +0 -23
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/colors/colors.cjs +0 -51
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/colors/colors.js +0 -51
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/radius/radius.cjs +0 -64
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/radius/radius.js +0 -65
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/theme/theme.cjs +0 -18
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/theme/theme.js +0 -16
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/typography/fontFamily.cjs +0 -25
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/typography/fontFamily.js +0 -25
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/typography/fontSize.cjs +0 -37
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/typography/fontSize.js +0 -38
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/typography/fontWeight.cjs +0 -17
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/typography/fontWeight.js +0 -18
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/typography/letterSpacing.cjs +0 -15
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/typography/letterSpacing.js +0 -16
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/typography/lineHeight.cjs +0 -31
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/typography/lineHeight.js +0 -32
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/typography/typography.cjs +0 -5
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/typography/typography.js +0 -7
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/utils.cjs +0 -7
- package/dist/packages/components-v3/dist/packages/components-v3/tokens/utils.js +0 -6
- package/dist/packages/components-v3/dist/utils/CustomIcon.cjs +0 -2
- package/dist/packages/components-v3/dist/utils/CustomIcon.js +0 -4
- package/dist/packages/components-v3/dist/utils/resolveTheme.cjs +0 -13
- package/dist/packages/components-v3/dist/utils/resolveTheme.js +0 -13
- package/dist/packages/components-v3/dist/utils/useCheckIsMobile.cjs +0 -1
- package/dist/packages/components-v3/dist/utils/useCheckIsMobile.js +0 -3
- package/dist/packages/components-v3/dist/utils/useGetContentSize.cjs +0 -1
- package/dist/packages/components-v3/dist/utils/useGetContentSize.js +0 -3
- package/dist/packages/components-v3/dist/utils/useResponsiveValue.cjs +0 -57
- package/dist/packages/components-v3/dist/utils/useResponsiveValue.js +0 -56
- package/dist/packages/icons/dist/FourPointStar.cjs +0 -23
- package/dist/packages/icons/dist/FourPointStar.js +0 -23
- package/dist/packages/icons/dist/IconCloseRounded.cjs +0 -22
- package/dist/packages/icons/dist/IconCloseRounded.js +0 -22
- package/dist/packages/icons/dist/IconCloseSharp.cjs +0 -31
- package/dist/packages/icons/dist/IconCloseSharp.js +0 -31
- package/dist/packages/icons/dist/IconCloseTransparent.cjs +0 -24
- package/dist/packages/icons/dist/IconCloseTransparent.js +0 -24
- package/dist/packages/icons/dist/MagnifyingGlass.cjs +0 -8
- package/dist/packages/icons/dist/MagnifyingGlass.js +0 -9
- package/dist/packages/icons/dist/MagnifyingThin.cjs +0 -8
- package/dist/packages/icons/dist/MagnifyingThin.js +0 -9
- package/dist/packages/icons/dist/SendMinimalist.cjs +0 -8
- package/dist/packages/icons/dist/SendMinimalist.js +0 -9
- package/dist/packages/icons/dist/SendModern.cjs +0 -8
- package/dist/packages/icons/dist/SendModern.js +0 -9
- package/dist/packages/icons/dist/SendStandard.cjs +0 -8
- package/dist/packages/icons/dist/SendStandard.js +0 -9
- package/dist/packages/icons/dist/Sparkles.cjs +0 -8
- package/dist/packages/icons/dist/Sparkles.js +0 -9
- package/dist/packages/icons/dist/_virtual/rolldown_runtime.cjs +0 -28
- package/dist/packages/icons/dist/_virtual/rolldown_runtime.js +0 -26
- package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs +0 -697
- package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -697
- package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs +0 -44
- package/dist/packages/icons/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -44
- package/dist/packages/icons/dist/node_modules/react/cjs/react.development.cjs +0 -1529
- package/dist/packages/icons/dist/node_modules/react/cjs/react.development.js +0 -1529
- package/dist/packages/icons/dist/node_modules/react/cjs/react.production.min.cjs +0 -330
- package/dist/packages/icons/dist/node_modules/react/cjs/react.production.min.js +0 -330
- package/dist/packages/icons/dist/node_modules/react/index.cjs +0 -14
- package/dist/packages/icons/dist/node_modules/react/index.js +0 -14
- package/dist/packages/icons/dist/node_modules/react/jsx-runtime.cjs +0 -14
- package/dist/packages/icons/dist/node_modules/react/jsx-runtime.js +0 -14
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FormSubmittedAttributes } from "../../application/models/api/userEvent.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai27 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/form.d.ts
|
|
5
|
-
declare const handleFormSubmittedAtom:
|
|
5
|
+
declare const handleFormSubmittedAtom: jotai27.WritableAtom<null, [form: FormSubmittedAttributes], void> & {
|
|
6
6
|
init: null;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_atoms_chat_chatState = require('./chatState.cjs');
|
|
3
3
|
const require_performanceMetrics = require('./performanceMetrics.cjs');
|
|
4
|
+
const require_messageQueue = require('./messageQueue.cjs');
|
|
4
5
|
const require_form = require('./form.cjs');
|
|
5
6
|
const require_suggestions = require('./suggestions.cjs');
|
|
6
7
|
const require_lastMessage = require('./lastMessage.cjs');
|
|
@@ -33,6 +34,7 @@ exports.askQuestionBtnClickedAtom = require_atoms_chat_chatState.askQuestionBtnC
|
|
|
33
34
|
exports.chatAtom = chatAtom;
|
|
34
35
|
exports.chatIsOpenAtom = require_atoms_chat_chatState.chatIsOpenAtom;
|
|
35
36
|
exports.chatOnToggleAtom = require_atoms_chat_chatState.chatOnToggleAtom;
|
|
37
|
+
exports.clearUserEventAtom = require_messageQueue.clearUserEventAtom;
|
|
36
38
|
exports.formSubmitAtom = require_atoms_chat_chatState.formSubmitAtom;
|
|
37
39
|
exports.handleFormSubmittedAtom = require_form.handleFormSubmittedAtom;
|
|
38
40
|
exports.handleSuggestionAtom = require_suggestions.handleSuggestionAtom;
|
|
@@ -44,6 +46,8 @@ exports.messagesAtom = require_atoms_chat_chatState.messagesAtom;
|
|
|
44
46
|
exports.pageLoadOffsetTimeAtom = require_performanceMetrics.pageLoadOffsetTimeAtom;
|
|
45
47
|
exports.pendingResponseAtom = require_atoms_chat_chatState.pendingResponseAtom;
|
|
46
48
|
exports.performanceMetricsAtom = require_performanceMetrics.performanceMetricsAtom;
|
|
49
|
+
exports.processUserEventAtom = require_messageQueue.processUserEventAtom;
|
|
50
|
+
exports.queueUserEventAtom = require_messageQueue.queueUserEventAtom;
|
|
47
51
|
exports.replyEventCategoryAtom = require_atoms_chat_chatState.replyEventCategoryAtom;
|
|
48
52
|
exports.requestFailureAtom = require_atoms_chat_chatState.requestFailureAtom;
|
|
49
53
|
exports.resetPerformanceMetricsAtom = require_performanceMetrics.resetPerformanceMetricsAtom;
|
|
@@ -51,8 +55,10 @@ exports.responseStreamingAtom = require_atoms_chat_chatState.responseStreamingAt
|
|
|
51
55
|
exports.suggestionAtom = require_atoms_chat_chatState.suggestionAtom;
|
|
52
56
|
exports.suggestionsAtom = require_atoms_chat_chatState.suggestionsAtom;
|
|
53
57
|
exports.suggestionsLoadingAtom = require_atoms_chat_chatState.suggestionsLoadingAtom;
|
|
58
|
+
exports.userEventQueueAtom = require_messageQueue.userEventQueueAtom;
|
|
54
59
|
exports.userEventsAtom = require_atoms_chat_chatState.userEventsAtom;
|
|
55
60
|
exports.userHasRepliedAtom = require_atoms_chat_chatState.userHasRepliedAtom;
|
|
56
61
|
exports.userQueryAtom = require_atoms_chat_chatState.userQueryAtom;
|
|
62
|
+
exports.userQueueEventCountAtom = require_messageQueue.userQueueEventCountAtom;
|
|
57
63
|
exports.widgetArrayAtom = require_renderedWidgetRefs.widgetArrayAtom;
|
|
58
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
64
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguY2pzIiwibmFtZXMiOlsidXNlckhhc1JlcGxpZWRBdG9tIiwicmVwbHlFdmVudENhdGVnb3J5QXRvbSIsInVzZXJRdWVyeUF0b20iLCJzdWdnZXN0aW9uQXRvbSIsImFza1F1ZXN0aW9uQnRuQ2xpY2tlZEF0b20iLCJtZXNzYWdlc0F0b20iLCJ1c2VyRXZlbnRzQXRvbSIsInN1Z2dlc3Rpb25zQXRvbSIsInN1Z2dlc3Rpb25zTG9hZGluZ0F0b20iLCJyZXNwb25zZVN0cmVhbWluZ0F0b20iLCJjaGF0SXNPcGVuQXRvbSIsImNoYXRPblRvZ2dsZUF0b20iXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXRvbXMvY2hhdC9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBhdG9tIH0gZnJvbSAnam90YWknO1xuaW1wb3J0IHtcbiAgYXNrUXVlc3Rpb25CdG5DbGlja2VkQXRvbSxcbiAgY2hhdElzT3BlbkF0b20sXG4gIGNoYXRPblRvZ2dsZUF0b20sXG4gIG1lc3NhZ2VzQXRvbSxcbiAgcmVwbHlFdmVudENhdGVnb3J5QXRvb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uc0xvYWRpbmc6IGdldChzdWdnZXN0aW9uc0xvYWRpbmdBdG9tKSxcbiAgcmVzcG9uc2VTdHJlYW1pbmc6IGdldChyZXNwb25zZVN0cmVhbWluZ0F0b20pLFxuICBpc09wZW46IGdldChjaGF0SXNPcGVuQXRvbSksXG4gIG9uVG9nZ2xlOiBnZXQoY2hhdE9uVG9nZ2xlQXRvbSksXG59KSk7XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBd0JBLE1BQWEsNEJBQWdCLFNBQVE7Q0FDbkMsZ0JBQWdCLElBQUlBLGdEQUFtQjtDQUN2QyxvQkFBb0IsSUFBSUMsb0RBQXVCO0NBQy9DLFdBQVcsSUFBSUMsMkNBQWM7Q0FDN0IsWUFBWSxJQUFJQyw0Q0FBZTtDQUMvQix1QkFBdUIsSUFBSUMsdURBQTBCO0NBQ3JELFVBQVUsSUFBSUMsMENBQWE7Q0FDM0IsWUFBWSxJQUFJQyw0Q0FBZTtDQUMvQixhQUFhLElBQUlDLDZDQUFnQjtDQUNqQyxvQkFBb0IsSUFBSUMsb0RBQXVCO0NBQy9DLG1CQUFtQixJQUFJQyxtREFBc0I7Q0FDN0MsUUFBUSxJQUFJQyw0Q0FBZTtDQUMzQixVQUFVLElBQUlDLDhDQUFpQjtDQUNoQyxFQUFFIn0=
|
|
@@ -6,12 +6,13 @@ import { APP_INITIAL_START_TIME_KEY, PAGE_LOAD_OFFSET_TIME_KEY, PerfMetricsEvent
|
|
|
6
6
|
import { handleFormSubmittedAtom } from "./form.cjs";
|
|
7
7
|
import { handleSuggestionAtom } from "./suggestions.cjs";
|
|
8
8
|
import { lastAssistantMessageAtom } from "./lastMessage.cjs";
|
|
9
|
+
import { clearUserEventAtom, processUserEventAtom, queueUserEventAtom, userEventQueueAtom, userQueueEventCountAtom } from "./messageQueue.cjs";
|
|
9
10
|
import { addWidget, widgetArrayAtom } from "./renderedWidgetRefs.cjs";
|
|
10
11
|
import * as _spiffy_ai_commerce_api_client0 from "@spiffy-ai/commerce-api-client";
|
|
11
|
-
import * as
|
|
12
|
+
import * as jotai5 from "jotai";
|
|
12
13
|
|
|
13
14
|
//#region src/atoms/chat/index.d.ts
|
|
14
|
-
declare const chatAtom:
|
|
15
|
+
declare const chatAtom: jotai5.Atom<{
|
|
15
16
|
userHasReplied: boolean;
|
|
16
17
|
replyEventCategory: _spiffy_ai_commerce_api_client0.UserEventCategory;
|
|
17
18
|
userQuery: string | undefined;
|
|
@@ -26,5 +27,5 @@ declare const chatAtom: jotai0.Atom<{
|
|
|
26
27
|
onToggle: null;
|
|
27
28
|
}>;
|
|
28
29
|
//#endregion
|
|
29
|
-
export { APP_INITIAL_START_TIME_KEY, PAGE_LOAD_OFFSET_TIME_KEY, PerfMetricsEvents, addWidget, appInitialStartTimeMsAtom, askQuestionBtnClickedAtom, chatAtom, chatIsOpenAtom, chatOnToggleAtom, formSubmitAtom, handleFormSubmittedAtom, handleSuggestionAtom, hasReportedPerformanceMetricsAtom, initializedAtom, lastAssistantMessageAtom, logPerfMetricAtom, messagesAtom, pageLoadOffsetTimeAtom, pendingResponseAtom, performanceMetricsAtom, replyEventCategoryAtom, requestFailureAtom, resetPerformanceMetricsAtom, responseStreamingAtom, suggestionAtom, suggestionsAtom, suggestionsLoadingAtom, userEventsAtom, userHasRepliedAtom, userQueryAtom, widgetArrayAtom };
|
|
30
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
30
|
+
export { APP_INITIAL_START_TIME_KEY, PAGE_LOAD_OFFSET_TIME_KEY, PerfMetricsEvents, addWidget, appInitialStartTimeMsAtom, askQuestionBtnClickedAtom, chatAtom, chatIsOpenAtom, chatOnToggleAtom, clearUserEventAtom, formSubmitAtom, handleFormSubmittedAtom, handleSuggestionAtom, hasReportedPerformanceMetricsAtom, initializedAtom, lastAssistantMessageAtom, logPerfMetricAtom, messagesAtom, pageLoadOffsetTimeAtom, pendingResponseAtom, performanceMetricsAtom, processUserEventAtom, queueUserEventAtom, replyEventCategoryAtom, requestFailureAtom, resetPerformanceMetricsAtom, responseStreamingAtom, suggestionAtom, suggestionsAtom, suggestionsLoadingAtom, userEventQueueAtom, userEventsAtom, userHasRepliedAtom, userQueryAtom, userQueueEventCountAtom, widgetArrayAtom };
|
|
31
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguZC5jdHMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2F0b21zL2NoYXQvaW5kZXguZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NoYXRTdGF0ZSc7XG5leHBvcnQgKiBmcm9tICcuL3BlcmZvcm1hbmNlTWV0cmljcyc7XG5leHBvcnQgKiBmcm9tICcuL2Zvcm0nO1xuZXhwb3J0ICogZnJvbSAnLi9zdWdnZXN0aW9ucyc7XG5leHBvcnQgKiBmcm9tICcuL2xhc3RNZXNzYWdlJztcbmV4cG9ydCAqIGZyb20gJy4vbWVzc2FnZVF1ZXVlJztcbmV4cG9ydCAqIGZyb20gJy4vcmVuZGVyZWRXaWRnZXRSZWZzJztcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IGNoYXRBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5BdG9tPHtcbiAgICB1c2VySGFzUmVwbGllZDogYm9vbGVhbjtcbiAgICByZXBseUV2ZW50Q2F0ZWdvcnk6IGltcG9ydChcIkBzcGlmZnktYWkvY29tbWVyY2UtYXBpLWNsaWVudFwiKS5Vc2VyRXZlbnRDYXRlZ29yeTtcbiAgICB1c2VyUXVlcnk6IHN0cmluZyB8IHVuZGVmaW5lZDtcbiAgICBzdWdnZXN0aW9uOiBpbXBvcnQoXCIuLi8uLi9hcHBsaWNhdGlvbi9tb2RlbHNcIikuU3VnZ2VzdGlvbiB8IHVuZGVmaW5lZDtcbiAgICBhc2tRdWVzdGlvbkJ0bkNsaWNrZWQ6IGJvb2xlYW47XG4gICAgbWVzc2FnZXM6IGltcG9ydChcIi4uLy4uL2FwcGxpY2F0aW9uL21vZGVsc1wiKS5NZXNzYWdlW11bXTtcbiAgICB1c2VyRXZlbnRzOiBpbXBvcnQoXCIuLi8uLi9hcHBsaWNhdGlvbi9tb2RlbHNcIikuVXNlckV2ZW50W107XG4gICAgc3VnZ2VzdGlvbnM6IGltcG9ydChcIi4uLy4uL2FwcGxpY2F0aW9uL21vZGVsc1wiKS5TdWdnZXN0aW9uW107XG4gICAgc3VnZ2VzdGlvbnNMb2FkaW5nOiBib29sZWFuO1xuICAgIHJlc3BvbnNlU3RyZWFtaW5nOiBib29sZWFuO1xuICAgIGlzT3BlbjogYm9vbGVhbjtcbiAgICBvblRvZ2dsZTogbnVsbDtcbn0+O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7OztBQVVBLElBQVcsV0FBVztDQUFDO09BQVUsZ0NBQUE7T0FBQTtPQUFBO09BQUE7T0FBQTtPQUFBLE9BQUE7Q0FBQSJ9
|
|
@@ -6,12 +6,13 @@ import { APP_INITIAL_START_TIME_KEY, PAGE_LOAD_OFFSET_TIME_KEY, PerfMetricsEvent
|
|
|
6
6
|
import { handleFormSubmittedAtom } from "./form.js";
|
|
7
7
|
import { handleSuggestionAtom } from "./suggestions.js";
|
|
8
8
|
import { lastAssistantMessageAtom } from "./lastMessage.js";
|
|
9
|
+
import { clearUserEventAtom, processUserEventAtom, queueUserEventAtom, userEventQueueAtom, userQueueEventCountAtom } from "./messageQueue.js";
|
|
9
10
|
import { addWidget, widgetArrayAtom } from "./renderedWidgetRefs.js";
|
|
10
11
|
import * as _spiffy_ai_commerce_api_client0 from "@spiffy-ai/commerce-api-client";
|
|
11
|
-
import * as
|
|
12
|
+
import * as jotai21 from "jotai";
|
|
12
13
|
|
|
13
14
|
//#region src/atoms/chat/index.d.ts
|
|
14
|
-
declare const chatAtom:
|
|
15
|
+
declare const chatAtom: jotai21.Atom<{
|
|
15
16
|
userHasReplied: boolean;
|
|
16
17
|
replyEventCategory: _spiffy_ai_commerce_api_client0.UserEventCategory;
|
|
17
18
|
userQuery: string | undefined;
|
|
@@ -26,5 +27,5 @@ declare const chatAtom: jotai16.Atom<{
|
|
|
26
27
|
onToggle: null;
|
|
27
28
|
}>;
|
|
28
29
|
//#endregion
|
|
29
|
-
export { APP_INITIAL_START_TIME_KEY, PAGE_LOAD_OFFSET_TIME_KEY, PerfMetricsEvents, addWidget, appInitialStartTimeMsAtom, askQuestionBtnClickedAtom, chatAtom, chatIsOpenAtom, chatOnToggleAtom, formSubmitAtom, handleFormSubmittedAtom, handleSuggestionAtom, hasReportedPerformanceMetricsAtom, initializedAtom, lastAssistantMessageAtom, logPerfMetricAtom, messagesAtom, pageLoadOffsetTimeAtom, pendingResponseAtom, performanceMetricsAtom, replyEventCategoryAtom, requestFailureAtom, resetPerformanceMetricsAtom, responseStreamingAtom, suggestionAtom, suggestionsAtom, suggestionsLoadingAtom, userEventsAtom, userHasRepliedAtom, userQueryAtom, widgetArrayAtom };
|
|
30
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
30
|
+
export { APP_INITIAL_START_TIME_KEY, PAGE_LOAD_OFFSET_TIME_KEY, PerfMetricsEvents, addWidget, appInitialStartTimeMsAtom, askQuestionBtnClickedAtom, chatAtom, chatIsOpenAtom, chatOnToggleAtom, clearUserEventAtom, formSubmitAtom, handleFormSubmittedAtom, handleSuggestionAtom, hasReportedPerformanceMetricsAtom, initializedAtom, lastAssistantMessageAtom, logPerfMetricAtom, messagesAtom, pageLoadOffsetTimeAtom, pendingResponseAtom, performanceMetricsAtom, processUserEventAtom, queueUserEventAtom, replyEventCategoryAtom, requestFailureAtom, resetPerformanceMetricsAtom, responseStreamingAtom, suggestionAtom, suggestionsAtom, suggestionsLoadingAtom, userEventQueueAtom, userEventsAtom, userHasRepliedAtom, userQueryAtom, userQueueEventCountAtom, widgetArrayAtom };
|
|
31
|
+
//# sourceMappingURL=data:application/json;charset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BzdWdnZXN0aW9uczogaW1wb3J0KFwiLi4vLi4vYXBwbGljYXRpb24vbW9kZWxzXCIpLlN1Z2dlc3Rpb25bXTtcbiAgICBzdWdnZXN0aW9uc0xvYWRpbmc6IGJvb2xlYW47XG4gICAgcmVzcG9uc2VTdHJlYW1pbmc6IGJvb2xlYW47XG4gICAgaXNPcGVuOiBib29sZWFuO1xuICAgIG9uVG9nZ2xlOiBudWxsO1xufT47XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7O0FBVUEsSUFBVyxXQUFXO0NBQUM7T0FBVSxnQ0FBQTtPQUFBO09BQUE7T0FBQTtPQUFBO09BQUEsUUFBQTtDQUFBIn0=
|
package/dist/atoms/chat/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { askQuestionBtnClickedAtom, chatIsOpenAtom, chatOnToggleAtom, formSubmitAtom, initializedAtom, messagesAtom, pendingResponseAtom, replyEventCategoryAtom, requestFailureAtom, responseStreamingAtom, suggestionAtom, suggestionsAtom, suggestionsLoadingAtom, userEventsAtom, userHasRepliedAtom, userQueryAtom } from "./chatState.js";
|
|
2
2
|
import { APP_INITIAL_START_TIME_KEY, PAGE_LOAD_OFFSET_TIME_KEY, PerfMetricsEvents, appInitialStartTimeMsAtom, hasReportedPerformanceMetricsAtom, logPerfMetricAtom, pageLoadOffsetTimeAtom, performanceMetricsAtom, resetPerformanceMetricsAtom } from "./performanceMetrics.js";
|
|
3
|
+
import { clearUserEventAtom, processUserEventAtom, queueUserEventAtom, userEventQueueAtom, userQueueEventCountAtom } from "./messageQueue.js";
|
|
3
4
|
import { handleFormSubmittedAtom } from "./form.js";
|
|
4
5
|
import { handleSuggestionAtom } from "./suggestions.js";
|
|
5
6
|
import { lastAssistantMessageAtom } from "./lastMessage.js";
|
|
@@ -23,5 +24,5 @@ const chatAtom = atom((get) => ({
|
|
|
23
24
|
}));
|
|
24
25
|
|
|
25
26
|
//#endregion
|
|
26
|
-
export { APP_INITIAL_START_TIME_KEY, PAGE_LOAD_OFFSET_TIME_KEY, PerfMetricsEvents, addWidget, appInitialStartTimeMsAtom, askQuestionBtnClickedAtom, chatAtom, chatIsOpenAtom, chatOnToggleAtom, formSubmitAtom, handleFormSubmittedAtom, handleSuggestionAtom, hasReportedPerformanceMetricsAtom, initializedAtom, lastAssistantMessageAtom, logPerfMetricAtom, messagesAtom, pageLoadOffsetTimeAtom, pendingResponseAtom, performanceMetricsAtom, replyEventCategoryAtom, requestFailureAtom, resetPerformanceMetricsAtom, responseStreamingAtom, suggestionAtom, suggestionsAtom, suggestionsLoadingAtom, userEventsAtom, userHasRepliedAtom, userQueryAtom, widgetArrayAtom };
|
|
27
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
27
|
+
export { APP_INITIAL_START_TIME_KEY, PAGE_LOAD_OFFSET_TIME_KEY, PerfMetricsEvents, addWidget, appInitialStartTimeMsAtom, askQuestionBtnClickedAtom, chatAtom, chatIsOpenAtom, chatOnToggleAtom, clearUserEventAtom, formSubmitAtom, handleFormSubmittedAtom, handleSuggestionAtom, hasReportedPerformanceMetricsAtom, initializedAtom, lastAssistantMessageAtom, logPerfMetricAtom, messagesAtom, pageLoadOffsetTimeAtom, pendingResponseAtom, performanceMetricsAtom, processUserEventAtom, queueUserEventAtom, replyEventCategoryAtom, requestFailureAtom, resetPerformanceMetricsAtom, responseStreamingAtom, suggestionAtom, suggestionsAtom, suggestionsLoadingAtom, userEventQueueAtom, userEventsAtom, userHasRepliedAtom, userQueryAtom, userQueueEventCountAtom, widgetArrayAtom };
|
|
28
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2F0b21zL2NoYXQvaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgYXRvbSB9IGZyb20gJ2pvdGFpJztcb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ZEF0b20pLFxuICBtZXNzYWdlczogZ2V0KG1lc3NhZ2VzQXRvbSksXG4gIHVzZXJFdmVudHM6IGdldCh1c2VyRXZlbnRzQXRvbSksXG4gIHN1Z2dlc3Rpb25zOiBnZXQoc3VnZ2VzdGlvbnNBdG9tKSxcbiAgc3VnZ2VzdGlvbnNMb2FkaW5nOiBnZXQoc3VnZ2VzdGlvbnNMb2FkaW5nQXRvbSksXG4gIHJlc3BvbnNlU3RyZWFtaW5nOiBnZXQocmVzcG9uc2VTdHJlYW1pbmdBdG9tKSxcbiAgaXNPcGVuOiBnZXQoY2hhdElzT3BlbkF0b20pLFxuICBvblRvZ2dsZTogZ2V0KGNoYXRPblRvZ2dsZUF0b20pLFxufSkpO1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBd0JBLE1BQWEsV0FBVyxNQUFLLFNBQVE7Q0FDbkMsZ0JBQWdCLElBQUksbUJBQW1CO0NBQ3ZDLG9CQUFvQixJQUFJLHVCQUF1QjtDQUMvQyxXQUFXLElBQUksY0FBYztDQUM3QixZQUFZLElBQUksZUFBZTtDQUMvQix1QkFBdUIsSUFBSSwwQkFBMEI7Q0FDckQsVUFBVSxJQUFJLGFBQWE7Q0FDM0IsWUFBWSxJQUFJLGVBQWU7Q0FDL0IsYUFBYSxJQUFJLGdCQUFnQjtDQUNqQyxvQkFBb0IsSUFBSSx1QkFBdUI7Q0FDL0MsbUJBQW1CLElBQUksc0JBQXNCO0NBQzdDLFFBQVEsSUFBSSxlQUFlO0NBQzNCLFVBQVUsSUFBSSxpQkFBaUI7Q0FDaEMsRUFBRSJ9
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Message } from "../../application/models/message.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai61 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/lastMessage.d.ts
|
|
5
|
-
declare const lastAssistantMessageAtom:
|
|
5
|
+
declare const lastAssistantMessageAtom: jotai61.Atom<Message[] | null>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { lastAssistantMessageAtom };
|
|
8
8
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFzdE1lc3NhZ2UuZC5jdHMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2F0b21zL2NoYXQvbGFzdE1lc3NhZ2UuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZGVjbGFyZSBjb25zdCBsYXN0QXNzaXN0YW50TWVzc2FnZUF0b206IGltcG9ydChcImpvdGFpXCIpLkF0b208aW1wb3J0KFwiLi4vLi4vYXBwbGljYXRpb24vbW9kZWxzXCIpLk1lc3NhZ2VbXSB8IG51bGw+O1xuIl0sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Message } from "../../application/models/message.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai35 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/lastMessage.d.ts
|
|
5
|
-
declare const lastAssistantMessageAtom:
|
|
5
|
+
declare const lastAssistantMessageAtom: jotai35.Atom<Message[] | null>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { lastAssistantMessageAtom };
|
|
8
8
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFzdE1lc3NhZ2UuZC50cyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXRvbXMvY2hhdC9sYXN0TWVzc2FnZS5kLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWNsYXJlIGNvbnN0IGxhc3RBc3Npc3RhbnRNZXNzYWdlQXRvbTogaW1wb3J0KFwiam90YWlcIikuQXRvbTxpbXBvcnQoXCIuLi8uLi9hcHBsaWNhdGlvbi9tb2RlbHNcIikuTWVzc2FnZVtdIHwgbnVsbD47XG4iXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -34,6 +34,7 @@ const processUserEventAtom = (0, jotai.atom)(null, (get, set, eventIds) => {
|
|
|
34
34
|
const userQueueEventCountAtom = (0, jotai.atom)((get) => get(userEventQueueAtom).length);
|
|
35
35
|
|
|
36
36
|
//#endregion
|
|
37
|
+
exports.clearUserEventAtom = clearUserEventAtom;
|
|
37
38
|
exports.processUserEventAtom = processUserEventAtom;
|
|
38
39
|
exports.queueUserEventAtom = queueUserEventAtom;
|
|
39
40
|
exports.userEventQueueAtom = userEventQueueAtom;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { UserEvent } from "../../application/models/api/userEvent.cjs";
|
|
2
|
+
import * as jotai62 from "jotai";
|
|
3
|
+
|
|
4
|
+
//#region src/atoms/chat/messageQueue.d.ts
|
|
5
|
+
declare const userEventQueueAtom: jotai62.Atom<UserEvent[]>;
|
|
6
|
+
/**
|
|
7
|
+
* This atom is used to queue a new message for processing on `next_responses`
|
|
8
|
+
* It receives a single `userEvent` that is added to the processing queue.
|
|
9
|
+
* If the event has the same eventId as an existing message in the queue the NEW
|
|
10
|
+
* event is ignored
|
|
11
|
+
*/
|
|
12
|
+
declare const queueUserEventAtom: jotai62.WritableAtom<null, [userEvent: UserEvent], void> & {
|
|
13
|
+
init: null;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* This atom exposes a function to reset the entire queue. All messages in the queue will be purged
|
|
17
|
+
*/
|
|
18
|
+
declare const clearUserEventAtom: jotai62.WritableAtom<null, [], void> & {
|
|
19
|
+
init: null;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* This atom is used to mark events as processed and remove them from the queue
|
|
23
|
+
* It accepts a list of eventId values and will remove all events with those eventIds from the queue.
|
|
24
|
+
*/
|
|
25
|
+
declare const processUserEventAtom: jotai62.WritableAtom<null, [eventIds: string[]], void> & {
|
|
26
|
+
init: null;
|
|
27
|
+
};
|
|
28
|
+
declare const userQueueEventCountAtom: jotai62.Atom<number>;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { clearUserEventAtom, processUserEventAtom, queueUserEventAtom, userEventQueueAtom, userQueueEventCountAtom };
|
|
31
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZVF1ZXVlLmQuY3RzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hdG9tcy9jaGF0L21lc3NhZ2VRdWV1ZS5kLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFVzZXJFdmVudCB9IGZyb20gJ3NyYy9hcHBsaWNhdGlvbi9tb2RlbHMnO1xuZXhwb3J0IGRlY2xhcmUgY29uc3QgdXNlckV2ZW50UXVldWVBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5BdG9tPFVzZXJFdmVudFtdPjtcbi8qKlxuICogVGhpcyBhdG9tIGlzIHVzZWQgdG8gcXVldWUgYSBuZXcgbWVzc2FnZSBmb3IgcHJvY2Vzc2luZyBvbiBgbmV4dF9yZXNwb25zZXNgXG4gKiBJdCByZWNlaXZlcyBhIHNpbmdsZSBgdXNlckV2ZW50YCB0aGF0IGlzIGFkZGVkIHRvIHRoZSBwcm9jZXNzaW5nIHF1ZXVlLlxuICogSWYgdGhlIGV2ZW50IGhhcyB0aGUgc2FtZSBldmVudElkIGFzIGFuIGV4aXN0aW5nIG1lc3NhZ2UgaW4gdGhlIHF1ZXVlIHRoZSBORVdcbiAqIGV2ZW50IGlzIGlnbm9yZWRcbiAqL1xuZXhwb3J0IGRlY2xhcmUgY29uc3QgcXVldWVVc2VyRXZlbnRBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5Xcml0YWJsZUF0b208bnVsbCwgW3VzZXJFdmVudDogVXNlckV2ZW50XSwgdm9pZD4gJiB7XG4gICAgaW5pdDogbnVsbDtcbn07XG4vKipcbiAqIFRoaXMgYXR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7QUFDbkUsSUFBVywwQkFBTyxDQUFBLFdBQUEsUUFBQSxLQUFBIn0=
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { UserEvent } from "../../application/models/api/userEvent.js";
|
|
2
|
+
import * as jotai30 from "jotai";
|
|
3
|
+
|
|
4
|
+
//#region src/atoms/chat/messageQueue.d.ts
|
|
5
|
+
declare const userEventQueueAtom: jotai30.Atom<UserEvent[]>;
|
|
6
|
+
/**
|
|
7
|
+
* This atom is used to queue a new message for processing on `next_responses`
|
|
8
|
+
* It receives a single `userEvent` that is added to the processing queue.
|
|
9
|
+
* If the event has the same eventId as an existing message in the queue the NEW
|
|
10
|
+
* event is ignored
|
|
11
|
+
*/
|
|
12
|
+
declare const queueUserEventAtom: jotai30.WritableAtom<null, [userEvent: UserEvent], void> & {
|
|
13
|
+
init: null;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* This atom exposes a function to reset the entire queue. All messages in the queue will be purged
|
|
17
|
+
*/
|
|
18
|
+
declare const clearUserEventAtom: jotai30.WritableAtom<null, [], void> & {
|
|
19
|
+
init: null;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* This atom is used to mark events as processed and remove them from the queue
|
|
23
|
+
* It accepts a list of eventId values and will remove all events with those eventIds from the queue.
|
|
24
|
+
*/
|
|
25
|
+
declare const processUserEventAtom: jotai30.WritableAtom<null, [eventIds: string[]], void> & {
|
|
26
|
+
init: null;
|
|
27
|
+
};
|
|
28
|
+
declare const userQueueEventCountAtom: jotai30.Atom<number>;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { clearUserEventAtom, processUserEventAtom, queueUserEventAtom, userEventQueueAtom, userQueueEventCountAtom };
|
|
31
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZVF1ZXVlLmQudHMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2F0b21zL2NoY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ogVGhpcyBhdG9tIGlzIHVzZWQgdG8gbWFyayBldmVudHMgYXMgcHJvY2Vzc2VkIGFuZCByZW1vdmUgdGhlbSBmcm9tIHRoZSBxdWV1ZVxuICogSXQgYWNjZXB0cyBhIGxpc3Qgb2YgZXZlbnRJZCB2YWx1ZXMgYW5kIHdpbGwgcmVtb3ZlIGFsbCBldmVudHMgd2l0aCB0aG9zZSBldmVudElkcyBmcm9tIHRoZSBxdWV1ZS5cbiAqL1xuZXhwb3J0IGRlY2xhcmUgY29uc3QgcHJvY2Vzc1VzZXJFdmVudEF0b206IGltcG9ydChcImpvdGFpXCIpLldyaXRhYmxlQXRvbTxudWxsLCBbZXZlbnRJZHM6IHN0cmluZ1tdXSwgdm9pZD4gJiB7XG4gICAgaW5pdDogbnVsbDtcbn07XG5leHBvcnQgZGVjbGFyZSBjb25zdCB1c2VyUXVldWVFdmVudENvdW50QXRvbTogaW1wb3J0KFwiam90YWlcIikuQXRvbTxudW1iZXI+O1xuIl0sIm1hcHBpbmdzIjoiOzs7O0FBRUEsSUFBRSxxQkFBQTtDQUFBO09BQUE7T0FBQSxRQUFBO0NBQUE7QUFDRixJQUFXLHFCQUFxQjtDQUFDO09BQVc7T0FBaUIsUUFBUTtDQUFRO0FBQzdFLElBQVcscUJBQXFCLENBQUMsV0FBVyxRQUFRLGFBQWE7QUFDakUsSUFBVyx1QkFBdUIsQ0FBQyxXQUFXLFFBQVEsYUFBYTtBQUNuRSxJQUFXLDBCQUFPLENBQUEsV0FBQSxRQUFBLEtBQUEifQ==
|
|
@@ -33,5 +33,5 @@ const processUserEventAtom = atom(null, (get, set, eventIds) => {
|
|
|
33
33
|
const userQueueEventCountAtom = atom((get) => get(userEventQueueAtom).length);
|
|
34
34
|
|
|
35
35
|
//#endregion
|
|
36
|
-
export { processUserEventAtom, queueUserEventAtom, userEventQueueAtom, userQueueEventCountAtom };
|
|
36
|
+
export { clearUserEventAtom, processUserEventAtom, queueUserEventAtom, userEventQueueAtom, userQueueEventCount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LFVBQVU7RUFDMUM7QUFFRixNQUFhLDBCQUEwQixNQUFLLFFBQU8sSUFBSSxtQkFBbUIsQ0FBQyxPQUFPIn0=
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai54 from "jotai";
|
|
2
2
|
import * as jotai_utils1 from "jotai/utils";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/performanceMetrics.d.ts
|
|
@@ -23,8 +23,8 @@ declare enum PerfMetricsEvents {
|
|
|
23
23
|
BottomSuggestionsBarRendered = "bottom_suggestions_bar_rendered_ms",
|
|
24
24
|
SearchPromptRendered = "search_prompt_rendered_ms",
|
|
25
25
|
}
|
|
26
|
-
declare const appInitialStartTimeMsAtom:
|
|
27
|
-
declare const pageLoadOffsetTimeAtom:
|
|
26
|
+
declare const appInitialStartTimeMsAtom: jotai54.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
|
|
27
|
+
declare const pageLoadOffsetTimeAtom: jotai54.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
|
|
28
28
|
/**
|
|
29
29
|
* Resets the performance metrics atom to an empty map. This should be called after the performance
|
|
30
30
|
* metrics have been reported to amplitude. On SPA, it ensures that we can still capture metrics as
|
|
@@ -32,8 +32,8 @@ declare const pageLoadOffsetTimeAtom: jotai82.WritableAtom<string | undefined, [
|
|
|
32
32
|
* On non-SPA, it ensures that previously captured metrics are not reported again.
|
|
33
33
|
*/
|
|
34
34
|
declare const resetPerformanceMetricsAtom: () => void;
|
|
35
|
-
declare const performanceMetricsAtom:
|
|
36
|
-
declare const hasReportedPerformanceMetricsAtom:
|
|
35
|
+
declare const performanceMetricsAtom: jotai54.Atom<Map<PerfMetricsEvents, number>>;
|
|
36
|
+
declare const hasReportedPerformanceMetricsAtom: jotai54.PrimitiveAtom<boolean> & {
|
|
37
37
|
init: boolean;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
@@ -42,7 +42,7 @@ declare const hasReportedPerformanceMetricsAtom: jotai82.PrimitiveAtom<boolean>
|
|
|
42
42
|
*
|
|
43
43
|
* @param value The performance metric name to log.
|
|
44
44
|
*/
|
|
45
|
-
declare const logPerfMetricAtom:
|
|
45
|
+
declare const logPerfMetricAtom: jotai54.WritableAtom<null, [value: PerfMetricsEvents], void> & {
|
|
46
46
|
init: null;
|
|
47
47
|
};
|
|
48
48
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai22 from "jotai";
|
|
2
2
|
import * as jotai_utils1 from "jotai/utils";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/performanceMetrics.d.ts
|
|
@@ -23,8 +23,8 @@ declare enum PerfMetricsEvents {
|
|
|
23
23
|
BottomSuggestionsBarRendered = "bottom_suggestions_bar_rendered_ms",
|
|
24
24
|
SearchPromptRendered = "search_prompt_rendered_ms",
|
|
25
25
|
}
|
|
26
|
-
declare const appInitialStartTimeMsAtom:
|
|
27
|
-
declare const pageLoadOffsetTimeAtom:
|
|
26
|
+
declare const appInitialStartTimeMsAtom: jotai22.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
|
|
27
|
+
declare const pageLoadOffsetTimeAtom: jotai22.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
|
|
28
28
|
/**
|
|
29
29
|
* Resets the performance metrics atom to an empty map. This should be called after the performance
|
|
30
30
|
* metrics have been reported to amplitude. On SPA, it ensures that we can still capture metrics as
|
|
@@ -32,8 +32,8 @@ declare const pageLoadOffsetTimeAtom: jotai72.WritableAtom<string | undefined, [
|
|
|
32
32
|
* On non-SPA, it ensures that previously captured metrics are not reported again.
|
|
33
33
|
*/
|
|
34
34
|
declare const resetPerformanceMetricsAtom: () => void;
|
|
35
|
-
declare const performanceMetricsAtom:
|
|
36
|
-
declare const hasReportedPerformanceMetricsAtom:
|
|
35
|
+
declare const performanceMetricsAtom: jotai22.Atom<Map<PerfMetricsEvents, number>>;
|
|
36
|
+
declare const hasReportedPerformanceMetricsAtom: jotai22.PrimitiveAtom<boolean> & {
|
|
37
37
|
init: boolean;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
@@ -42,7 +42,7 @@ declare const hasReportedPerformanceMetricsAtom: jotai72.PrimitiveAtom<boolean>
|
|
|
42
42
|
*
|
|
43
43
|
* @param value The performance metric name to log.
|
|
44
44
|
*/
|
|
45
|
-
declare const logPerfMetricAtom:
|
|
45
|
+
declare const logPerfMetricAtom: jotai22.WritableAtom<null, [value: PerfMetricsEvents], void> & {
|
|
46
46
|
init: null;
|
|
47
47
|
};
|
|
48
48
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai67 from "jotai";
|
|
2
2
|
|
|
3
3
|
//#region src/atoms/chat/renderedWidgetRefs.d.ts
|
|
4
|
-
declare const widgetArrayAtom:
|
|
4
|
+
declare const widgetArrayAtom: jotai67.Atom<HTMLElement[]>;
|
|
5
5
|
/**
|
|
6
6
|
* This function call is used to create a list of the Spiffy widgets
|
|
7
7
|
* that are rendering on the page.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai29 from "jotai";
|
|
2
2
|
|
|
3
3
|
//#region src/atoms/chat/renderedWidgetRefs.d.ts
|
|
4
|
-
declare const widgetArrayAtom:
|
|
4
|
+
declare const widgetArrayAtom: jotai29.Atom<HTMLElement[]>;
|
|
5
5
|
/**
|
|
6
6
|
* This function call is used to create a list of the Spiffy widgets
|
|
7
7
|
* that are rendering on the page.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Message } from "../../application/models/message.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai4 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/replies.d.ts
|
|
5
5
|
type HandleReplyParams = {
|
|
6
6
|
message: Message;
|
|
7
7
|
userTyped: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare const handleReplyAtom:
|
|
9
|
+
declare const handleReplyAtom: jotai4.WritableAtom<null, [HandleReplyParams], void> & {
|
|
10
10
|
init: null;
|
|
11
11
|
};
|
|
12
12
|
//#endregion
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Message } from "../../application/models/message.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai4 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/replies.d.ts
|
|
5
5
|
type HandleReplyParams = {
|
|
6
6
|
message: Message;
|
|
7
7
|
userTyped: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare const handleReplyAtom:
|
|
9
|
+
declare const handleReplyAtom: jotai4.WritableAtom<null, [HandleReplyParams], void> & {
|
|
10
10
|
init: null;
|
|
11
11
|
};
|
|
12
12
|
//#endregion
|
|
13
13
|
export { handleReplyAtom };
|
|
14
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwbGllcy5kLnRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hdG9tcy9jaGF0L3JlcGxpZXMuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBNZXNzYWdlIH0gZnJvbSAnc3JjL2FwcGxpY2F0aW9uL21vZGVscyc7XG50eXBlIEhhbmRsZVJlcGx5UGFyYW1zID0ge1xuICAgIG1lc3NhZ2U6IE1lc3NhZ2U7XG4gICAgdXNlclR5cGVkOiBib29sZWFuO1xufTtcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IGhhbmRsZVJlcGx5QXRvbTogaW1wb3J0KFwiam90YWlcIikuV3JpdGFibGVBdG9tPG51bGwsIFtIYW5kbGVSZXBseVBhcmFtc10sIHZvaWQ+
|
|
14
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwbGllcy5kLnRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hdG9tcy9jaGF0L3JlcGxpZXMuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBNZXNzYWdlIH0gZnJvbSAnc3JjL2FwcGxpY2F0aW9uL21vZGVscyc7XG50eXBlIEhhbmRsZVJlcGx5UGFyYW1zID0ge1xuICAgIG1lc3NhZ2U6IE1lc3NhZ2U7XG4gICAgdXNlclR5cGVkOiBib29sZWFuO1xufTtcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IGhhbmRsZVJlcGx5QXRvbTogaW1wb3J0KFwiam90YWlcIikuV3JpdGFibGVBdG9tPG51bGwsIFtIYW5kbGVSZXBseVBhcmFtc10sIHZvaWQ+ICYge1xuICAgIGluaXQ6IG51bGw7XG59O1xuZXhwb3J0IHt9O1xuIl0sIm1hcHBpbmdzIjoiOzs7O0FBRUEsSUFBSSxvQkFBZ0IsQ0FBQSxVQUFBLFFBQUE7QUFDcEIsSUFBVyxrQkFBVztDQUFBO09BQUE7T0FBQSxPQUFBO0NBQUEifQ==
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Suggestion } from "../../application/models/api/suggestion.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai60 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/suggestions.d.ts
|
|
5
|
-
declare const handleSuggestionAtom:
|
|
5
|
+
declare const handleSuggestionAtom: jotai60.WritableAtom<null, [suggestion: Suggestion], void> & {
|
|
6
6
|
init: null;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Suggestion } from "../../application/models/api/suggestion.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai28 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/suggestions.d.ts
|
|
5
|
-
declare const handleSuggestionAtom:
|
|
5
|
+
declare const handleSuggestionAtom: jotai28.WritableAtom<null, [suggestion: Suggestion], void> & {
|
|
6
6
|
init: null;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai22 from "jotai";
|
|
2
2
|
|
|
3
3
|
//#region src/atoms/globalSearch/globalSearch.d.ts
|
|
4
|
-
declare const autocompleteStateAtom:
|
|
4
|
+
declare const autocompleteStateAtom: jotai22.PrimitiveAtom<{
|
|
5
5
|
results: string[];
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
}> & {
|
|
@@ -10,13 +10,13 @@ declare const autocompleteStateAtom: jotai78.PrimitiveAtom<{
|
|
|
10
10
|
isLoading: boolean;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
declare const isFilterOpenAtom:
|
|
13
|
+
declare const isFilterOpenAtom: jotai22.PrimitiveAtom<boolean> & {
|
|
14
14
|
init: boolean;
|
|
15
15
|
};
|
|
16
|
-
declare const isGlobalSearchOpenAtom:
|
|
16
|
+
declare const isGlobalSearchOpenAtom: jotai22.PrimitiveAtom<boolean> & {
|
|
17
17
|
init: boolean;
|
|
18
18
|
};
|
|
19
|
-
declare const isSearchResultsOpenAtom:
|
|
19
|
+
declare const isSearchResultsOpenAtom: jotai22.PrimitiveAtom<boolean> & {
|
|
20
20
|
init: boolean;
|
|
21
21
|
};
|
|
22
22
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai37 from "jotai";
|
|
2
2
|
|
|
3
3
|
//#region src/atoms/globalSearch/globalSearch.d.ts
|
|
4
|
-
declare const autocompleteStateAtom:
|
|
4
|
+
declare const autocompleteStateAtom: jotai37.PrimitiveAtom<{
|
|
5
5
|
results: string[];
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
}> & {
|
|
@@ -10,13 +10,13 @@ declare const autocompleteStateAtom: jotai23.PrimitiveAtom<{
|
|
|
10
10
|
isLoading: boolean;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
declare const isFilterOpenAtom:
|
|
13
|
+
declare const isFilterOpenAtom: jotai37.PrimitiveAtom<boolean> & {
|
|
14
14
|
init: boolean;
|
|
15
15
|
};
|
|
16
|
-
declare const isGlobalSearchOpenAtom:
|
|
16
|
+
declare const isGlobalSearchOpenAtom: jotai37.PrimitiveAtom<boolean> & {
|
|
17
17
|
init: boolean;
|
|
18
18
|
};
|
|
19
|
-
declare const isSearchResultsOpenAtom:
|
|
19
|
+
declare const isSearchResultsOpenAtom: jotai37.PrimitiveAtom<boolean> & {
|
|
20
20
|
init: boolean;
|
|
21
21
|
};
|
|
22
22
|
//#endregion
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { ChatState } from "../../types/custservice-types.cjs";
|
|
2
2
|
import { AttachmentRequest, CustServiceConversationMessages } from "@spiffy-ai/commerce-api-client";
|
|
3
|
-
import * as
|
|
3
|
+
import * as jotai83 from "jotai";
|
|
4
4
|
|
|
5
5
|
//#region src/atoms/org/customerService.d.ts
|
|
6
|
-
declare const isBusinessHoursAtom:
|
|
6
|
+
declare const isBusinessHoursAtom: jotai83.PrimitiveAtom<boolean> & {
|
|
7
7
|
init: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare const isCustomerServiceOpenAtom:
|
|
9
|
+
declare const isCustomerServiceOpenAtom: jotai83.PrimitiveAtom<boolean> & {
|
|
10
10
|
init: boolean;
|
|
11
11
|
};
|
|
12
|
-
declare const customerServiceResponseAtom:
|
|
12
|
+
declare const customerServiceResponseAtom: jotai83.PrimitiveAtom<CustServiceConversationMessages | undefined> & {
|
|
13
13
|
init: CustServiceConversationMessages | undefined;
|
|
14
14
|
};
|
|
15
|
-
declare const customerServiceChatStateAtom:
|
|
15
|
+
declare const customerServiceChatStateAtom: jotai83.PrimitiveAtom<ChatState | undefined> & {
|
|
16
16
|
init: ChatState | undefined;
|
|
17
17
|
};
|
|
18
|
-
declare const customerServiceAttachment:
|
|
18
|
+
declare const customerServiceAttachment: jotai83.PrimitiveAtom<AttachmentRequest | undefined> & {
|
|
19
19
|
init: AttachmentRequest | undefined;
|
|
20
20
|
};
|
|
21
21
|
//#endregion
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { ChatState } from "../../types/custservice-types.js";
|
|
2
2
|
import { AttachmentRequest, CustServiceConversationMessages } from "@spiffy-ai/commerce-api-client";
|
|
3
|
-
import * as
|
|
3
|
+
import * as jotai69 from "jotai";
|
|
4
4
|
|
|
5
5
|
//#region src/atoms/org/customerService.d.ts
|
|
6
|
-
declare const isBusinessHoursAtom:
|
|
6
|
+
declare const isBusinessHoursAtom: jotai69.PrimitiveAtom<boolean> & {
|
|
7
7
|
init: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare const isCustomerServiceOpenAtom:
|
|
9
|
+
declare const isCustomerServiceOpenAtom: jotai69.PrimitiveAtom<boolean> & {
|
|
10
10
|
init: boolean;
|
|
11
11
|
};
|
|
12
|
-
declare const customerServiceResponseAtom:
|
|
12
|
+
declare const customerServiceResponseAtom: jotai69.PrimitiveAtom<CustServiceConversationMessages | undefined> & {
|
|
13
13
|
init: CustServiceConversationMessages | undefined;
|
|
14
14
|
};
|
|
15
|
-
declare const customerServiceChatStateAtom:
|
|
15
|
+
declare const customerServiceChatStateAtom: jotai69.PrimitiveAtom<ChatState | undefined> & {
|
|
16
16
|
init: ChatState | undefined;
|
|
17
17
|
};
|
|
18
|
-
declare const customerServiceAttachment:
|
|
18
|
+
declare const customerServiceAttachment: jotai69.PrimitiveAtom<AttachmentRequest | undefined> & {
|
|
19
19
|
init: AttachmentRequest | undefined;
|
|
20
20
|
};
|
|
21
21
|
//#endregion
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ColorMapping } from "../../application/models/colorsConfig.cjs";
|
|
2
2
|
import { FrontendConfig } from "../../application/models/frontendConfig.cjs";
|
|
3
3
|
import { FeatureFlagContextType } from "../../contexts/featureFlagServiceContext/featureFlagServiceContext.cjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as jotai88 from "jotai";
|
|
5
5
|
|
|
6
6
|
//#region src/atoms/org/graphqlConfig.d.ts
|
|
7
|
-
declare const internalGraphQLColorsConfigAtom:
|
|
7
|
+
declare const internalGraphQLColorsConfigAtom: jotai88.PrimitiveAtom<ColorMapping | undefined> & {
|
|
8
8
|
init: ColorMapping | undefined;
|
|
9
9
|
};
|
|
10
|
-
declare const featureFlagServiceAtom:
|
|
10
|
+
declare const featureFlagServiceAtom: jotai88.PrimitiveAtom<FeatureFlagContextType | undefined> & {
|
|
11
11
|
init: FeatureFlagContextType | undefined;
|
|
12
12
|
};
|
|
13
|
-
declare const frontendConfigAtom:
|
|
13
|
+
declare const frontendConfigAtom: jotai88.WritableAtom<FrontendConfig | undefined, [value: FrontendConfig | undefined], void>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { featureFlagServiceAtom, frontendConfigAtom, internalGraphQLColorsConfigAtom };
|
|
16
16
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhcGhxbENvbmZpZy5kLmN0cyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXRvbXMvb3JnL2dyYXBocWxDb25maWcuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb2xvck1hcHBpbmcgfSBmcm9tICdzcmMvYXBwbGljYXRpb24vbW9kZWxzL2NvbG9yc0NvbmZpZyc7XG5pbXBvcnQgeyBGcm9udGVuZENvbmZpZyB9IGZyb20gJ3NyYy9hcHBsaWNhdGlvbi9tb2RlbHMvZnJvbnRlbmRDb25maWcnO1xuaW1wb3J0IHsgRmVhdHVyZUZsYWdDb250ZXh0VHlwZSB9IGZyb20gJ3NyYy9jb250ZXh0cy9mZWF0dXJlRmxhZ1NlcnZpY2VDb250ZXh0L2ZlYXR1cmVGbGFnU2VydmljZUNvbnRleHQnO1xuZXhwb3J0IGRlY2xhcmUgY29uc3QgaW50ZXJuYWxHcmFwaFFMQ29sb3JzQ29uZmlnQXRvbTogaW1wb3J0KFwiam90YWlcIikuUHJpbWl0aXZlQXRvbTxDb2xvck1hcHBpbmcgfCB1bmRlZmluZWQ+ICYge1xuICAgIGluaXQ6IENvbG9yTWFwcGluZyB8IHVuZGVmaW5lZDtcbn07XG5leHBvcnQgZGVjbGFyZSBjb25zdCBmZWF0dXJlRmxhZ1NlcnZpY2VBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5QcmltaXRpdmVBdG9tPEZlYXR1cmVGbGFnQ29udGV4dFR5cGUgfCB1bmRlZmluZWQ+ICYge1xuICAgIGluaXQ6IEZlYXR1cmVGbGFnQ29udGV4dFR5cGUgfCB1bmRlZmluZWQ7XG59O1xuZXhwb3J0IGRlY2xhcmUgY29uc3QgZnJvbnRlbmRDb25maWdBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5Xcml0YWJsZUF0b208RnJvbnRlbmRDb25maWcgfCB1bmRlZmluZWQsIFt2YWx1ZTogRnJvbnRlbmRDb25maWcgfCB1bmRlZmluZWRdLCB2b2lkPjtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBSUEsSUFBVyxrQ0FBdUI7Q0FBQTtPQUFBO09BQUEsUUFBQTtPQUFBO0NBQUE7QUFDbEMsSUFBQyx5QkFBQTtDQUFBO09BQUE7T0FBQSxRQUFBO09BQUE7Q0FBQTtBQUNELElBQVcscUJBQXFCO0NBQUM7T0FBVztPQUFzQjtPQUFzQixRQUFRO0NBQWEifQ==
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ColorMapping } from "../../application/models/colorsConfig.js";
|
|
2
2
|
import { FrontendConfig } from "../../application/models/frontendConfig.js";
|
|
3
3
|
import { FeatureFlagContextType } from "../../contexts/featureFlagServiceContext/featureFlagServiceContext.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as jotai74 from "jotai";
|
|
5
5
|
|
|
6
6
|
//#region src/atoms/org/graphqlConfig.d.ts
|
|
7
|
-
declare const internalGraphQLColorsConfigAtom:
|
|
7
|
+
declare const internalGraphQLColorsConfigAtom: jotai74.PrimitiveAtom<ColorMapping | undefined> & {
|
|
8
8
|
init: ColorMapping | undefined;
|
|
9
9
|
};
|
|
10
|
-
declare const featureFlagServiceAtom:
|
|
10
|
+
declare const featureFlagServiceAtom: jotai74.PrimitiveAtom<FeatureFlagContextType | undefined> & {
|
|
11
11
|
init: FeatureFlagContextType | undefined;
|
|
12
12
|
};
|
|
13
|
-
declare const frontendConfigAtom:
|
|
13
|
+
declare const frontendConfigAtom: jotai74.WritableAtom<FrontendConfig | undefined, [value: FrontendConfig | undefined], void>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { featureFlagServiceAtom, frontendConfigAtom, internalGraphQLColorsConfigAtom };
|
|
16
16
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhcGhxbENvbmZpZy5kLnRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hdG9tcy9vcmcvZ3JhcGhxbENvbmZpZy5kLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbG9yTWFwcGluZyB9IGZyb20gJ3NyYy9hcHBsaWNhdGlvbi9tb2RlbHMvY29sb3JzQ29uZmlnJztcbmltcG9ydCB7IEZyb250ZW5kQ29uZmlnIH0gZnJvbSAnc3JjL2FwcGxpY2F0aW9uL21vZGVscy9mcm9udGVuZENvbmZpZyc7XG5pbXBvcnQgeyBGZWF0dXJlRmxhZ0NvbnRleHRUeXBlIH0gZnJvbSAnc3JjL2NvbnRleHRzL2ZlYXR1cmVGbGFnU2VydmljZUNvbnRleHQvZmVhdHVyZUZsYWdTZXJ2aWNlQ29udGV4dCc7XG5leHBvcnQgZGVjbGFyZSBjb25zdCBpbnRlcm5hbEdyYXBoUUxDb2xvcnNDb25maWdBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5QcmltaXRpdmVBdG9tPENvbG9yTWFwcGluZyB8IHVuZGVmaW5lZD4gJiB7XG4gICAgaW5pdDogQ29sb3JNYXBwaW5nIHwgdW5kZWZpbmVkO1xufTtcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IGZlYXR1cmVGbGFnU2VydmljZUF0b206IGltcG9ydChcImpvdGFpXCIpLlByaW1pdGl2ZUF0b208RmVhdHVyZUZsYWdDb250ZXh0VHlwZSB8IHVuZGVmaW5lZD4gJiB7XG4gICAgaW5pdDogRmVhdHVyZUZsYWdDb250ZXh0VHlwZSB8IHVuZGVmaW5lZDtcbn07XG5leHBvcnQgZGVjbGFyZSBjb25zdCBmcm9udGVuZENvbmZpZ0F0b206IGltcG9ydChcImpvdGFpXCIpLldyaXRhYmxlQXRvbTxGcm9udGVuZENvbmZpZyB8IHVuZGVmaW5lZCwgW3ZhbHVlOiBGcm9udGVuZENvbmZpZyB8IHVuZGVmaW5lZF0sIHZvaWQ+O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFJQSxJQUFXLGtDQUF1QjtDQUFBO09BQUE7T0FBQSxRQUFBO09BQUE7Q0FBQTtBQUNsQyxJQUFDLHlCQUFBO0NBQUE7T0FBQTtPQUFBLFFBQUE7T0FBQTtDQUFBO0FBQ0QsSUFBVyxxQkFBcUI7Q0FBQztPQUFXO09BQXNCO09BQXNCLFFBQVE7Q0FBYSJ9
|
package/dist/atoms/org/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_orgAnalyticsConfig = require('./orgAnalyticsConfig.cjs');
|
|
2
|
-
const require_newOrgConfigAtom = require('./newOrgConfigAtom.cjs');
|
|
3
|
-
const require_graphqlConfig = require('./graphqlConfig.cjs');
|
|
4
2
|
const require_customerService = require('./customerService.cjs');
|
|
3
|
+
const require_graphqlConfig = require('./graphqlConfig.cjs');
|
|
4
|
+
const require_newOrgConfigAtom = require('./newOrgConfigAtom.cjs');
|
|
5
5
|
|
|
6
6
|
exports.customerServiceAttachment = require_customerService.customerServiceAttachment;
|
|
7
7
|
exports.customerServiceChatStateAtom = require_customerService.customerServiceChatStateAtom;
|
package/dist/atoms/org/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { orgAnalyticsAmplitudeConfigAtom, orgAnalyticsConfigAtom, orgAnalyticsCustomerServiceConfigAtom, orgAnalyticsGoogleAnalyticsConfigAtom } from "./orgAnalyticsConfig.js";
|
|
2
|
-
import { newOrgConfigAtom } from "./newOrgConfigAtom.js";
|
|
3
|
-
import { featureFlagServiceAtom, frontendConfigAtom, internalGraphQLColorsConfigAtom } from "./graphqlConfig.js";
|
|
4
2
|
import { customerServiceAttachment, customerServiceChatStateAtom, customerServiceResponseAtom, isBusinessHoursAtom, isCustomerServiceOpenAtom } from "./customerService.js";
|
|
3
|
+
import { featureFlagServiceAtom, frontendConfigAtom, internalGraphQLColorsConfigAtom } from "./graphqlConfig.js";
|
|
4
|
+
import { newOrgConfigAtom } from "./newOrgConfigAtom.js";
|
|
5
5
|
|
|
6
6
|
export { customerServiceAttachment, customerServiceChatStateAtom, customerServiceResponseAtom, featureFlagServiceAtom, frontendConfigAtom, internalGraphQLColorsConfigAtom, isBusinessHoursAtom, isCustomerServiceOpenAtom, newOrgConfigAtom, orgAnalyticsAmplitudeConfigAtom, orgAnalyticsConfigAtom, orgAnalyticsCustomerServiceConfigAtom, orgAnalyticsGoogleAnalyticsConfigAtom };
|