@microsoft/omnichannel-chat-components 1.1.18 → 1.1.19
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/lib/cjs/assets/Icons.js +21 -42
- package/lib/cjs/common/Constants.js +17 -31
- package/lib/cjs/common/decodeComponentString.js +0 -6
- package/lib/cjs/common/encodeComponentString.js +0 -2
- package/lib/cjs/common/utils.js +22 -56
- package/lib/cjs/components/callingcontainer/CallingContainer.js +3 -18
- package/lib/cjs/components/callingcontainer/common/defaultProps/defaultCallingContainerControlProps.js +2 -5
- package/lib/cjs/components/callingcontainer/common/defaultProps/defaultCallingContainerProps.js +2 -6
- package/lib/cjs/components/callingcontainer/common/defaultStyles/customizedCallingContainerStyles.js +2 -3
- package/lib/cjs/components/callingcontainer/common/defaultStyles/defaultCallingContainerStyles.js +2 -3
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +95 -135
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlProps.js +2 -5
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlPropsRtl.js +2 -6
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallProps.js +2 -6
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/componentOverridesStyleProps.js +3 -5
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/customizedCurrentCallStyleProps.js +2 -3
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/defaultCurrentCallStyleProps.js +2 -3
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +51 -78
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverrideProps.js +3 -11
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverridesControlProps.js +2 -7
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlProps.js +2 -5
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlPropsRtl.js +2 -6
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallProps.js +2 -6
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/componentOverridesStyleProps.js +2 -3
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/defaultIncomingCallStyleProps.js +2 -3
- package/lib/cjs/components/callingcontainer/subcomponents/Timer/Timer.js +2 -11
- package/lib/cjs/components/chatbutton/ChatButton.js +26 -57
- package/lib/cjs/components/chatbutton/common/defaultProps/defaultChatButtonControlProps.js +2 -5
- package/lib/cjs/components/chatbutton/common/defaultProps/defaultChatButtonProps.js +2 -6
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonGeneralStyles.js +2 -3
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonIconContainerStyles.js +2 -5
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonNotificationBubbleStyles.js +2 -3
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonStyleProps.js +2 -10
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonSubTitleStyles.js +2 -3
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonTextContainerStyles.js +2 -3
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonTitleStyles.js +2 -3
- package/lib/cjs/components/citationpane/CitationPane.js +19 -46
- package/lib/cjs/components/citationpane/ScalingTest.js +2 -8
- package/lib/cjs/components/citationpane/common/defaultProps/defaultCitationPaneControlProps.js +2 -3
- package/lib/cjs/components/citationpane/common/defaultProps/defaultCitationPaneProps.js +2 -6
- package/lib/cjs/components/citationpane/common/defaultProps/defaultCitationPaneStyleProps.js +2 -13
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonFocusedStyles.js +2 -3
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonStyles.js +2 -5
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneContentStyles.js +2 -4
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneGeneralStyles.js +2 -4
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneStyles.js +2 -13
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTitleStyles.js +1 -2
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonFocusedStyles.js +2 -3
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonStyles.js +2 -4
- package/lib/cjs/components/common/commandbutton/CommandButton.js +16 -27
- package/lib/cjs/components/common/subcomponents/CloseButton.js +2 -9
- package/lib/cjs/components/confirmationpane/ConfirmationPane.js +23 -54
- package/lib/cjs/components/confirmationpane/common/defaultProps/defaultConfirmationPaneControlProps.js +2 -5
- package/lib/cjs/components/confirmationpane/common/defaultProps/defaultConfirmationPaneProps.js +2 -6
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneButtonGroupStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonFocusedStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonFocusedStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneStyles.js +2 -10
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneSubtitleStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneTitleStyles.js +2 -3
- package/lib/cjs/components/footer/Footer.js +9 -28
- package/lib/cjs/components/footer/common/defaultProps/customFooterControlProps.js +2 -6
- package/lib/cjs/components/footer/common/defaultProps/defaultFooterComponentOverrides.js +2 -11
- package/lib/cjs/components/footer/common/defaultProps/defaultFooterControlProps.js +2 -5
- package/lib/cjs/components/footer/common/defaultProps/defaultFooterOverridesProps.js +2 -7
- package/lib/cjs/components/footer/common/defaultProps/defaultFooterProps.js +2 -6
- package/lib/cjs/components/footer/common/defaultStyles/defaultFooterStyleProps.js +2 -3
- package/lib/cjs/components/footer/subcomponents/AudioNotificationButton.js +13 -23
- package/lib/cjs/components/footer/subcomponents/DownloadTranscriptButton.js +2 -9
- package/lib/cjs/components/footer/subcomponents/EmailTranscriptButton.js +2 -9
- package/lib/cjs/components/header/Header.js +11 -29
- package/lib/cjs/components/header/common/defaultProps/azureHeaderControlProps.js +2 -6
- package/lib/cjs/components/header/common/defaultProps/azureHeaderProps.js +2 -7
- package/lib/cjs/components/header/common/defaultProps/customHeaderControlProps.js +2 -6
- package/lib/cjs/components/header/common/defaultProps/defaultHeaderComponentOverrides.js +3 -13
- package/lib/cjs/components/header/common/defaultProps/defaultHeaderControlProps.js +2 -6
- package/lib/cjs/components/header/common/defaultProps/defaultHeaderProps.js +2 -6
- package/lib/cjs/components/header/common/defaultProps/overridesDefaultHeaderProps.js +2 -7
- package/lib/cjs/components/header/common/defaultStyles/advancedHeaderStyleProps.js +2 -3
- package/lib/cjs/components/header/common/defaultStyles/defaultHeaderStyleProps.js +2 -3
- package/lib/cjs/components/header/subcomponents/MinimizeButton.js +2 -9
- package/lib/cjs/components/inputvalidationpane/InputValidationPane.js +52 -89
- package/lib/cjs/components/inputvalidationpane/common/default/defaultProps/defaultInputValidationPaneControlProps.js +2 -5
- package/lib/cjs/components/inputvalidationpane/common/default/defaultProps/defaultInputValidationPaneProps.js +2 -6
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneButtonGroupStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonHoveredStyles.js +1 -2
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneHeaderGroupStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInputStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInvalidInputErrorMessageStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonHoveredStyles.js +1 -2
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneStyles.js +2 -15
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSubtitleStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneTitleStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneComponentOverrides.js +3 -8
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneControlProps.js +2 -5
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneProps.js +2 -7
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneCancelButtonStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneHeaderGroupStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneInputStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneSendButtonStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneStyles.js +2 -9
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneTitleStyles.js +2 -3
- package/lib/cjs/components/loadingpane/LoadingPane.js +12 -28
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultLoadingPaneControlProps.js +2 -5
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultLoadingPaneProps.js +2 -6
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconImageProps.js +2 -6
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSpinnerStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSpinnerTextStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneStyles.js +2 -11
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSubtitleStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneTitleStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetOneProps/presetOneLoadingPaneControlProps.js +3 -5
- package/lib/cjs/components/loadingpane/common/presetOneProps/presetOneLoadingPaneProps.js +2 -6
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneControlProps.js +3 -6
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneProps.js +2 -6
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconImageProps.js +2 -6
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSpinnerStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSpinnerTextStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneStyles.js +2 -11
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSubtitleStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneTitleStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneControlProps.js +3 -6
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneProps.js +2 -6
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneGeneralStyles.js +2 -5
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneSpinnerStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneStyles.js +2 -11
- package/lib/cjs/components/notificationpane/NotificationPane.js +3 -15
- package/lib/cjs/components/notificationpane/subcomponents/CloseChatButton.js +2 -9
- package/lib/cjs/components/notificationpane/subcomponents/DismissButton.js +2 -9
- package/lib/cjs/components/outofofficehourspane/OOOHPane.js +5 -17
- package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneControlProps.js +2 -5
- package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneProps.js +2 -6
- package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneStyles.js +2 -6
- package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneTitleStyles.js +2 -3
- package/lib/cjs/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneControlProps.js +3 -5
- package/lib/cjs/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneProps.js +2 -6
- package/lib/cjs/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneControlProps.js +3 -5
- package/lib/cjs/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneProps.js +2 -6
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneControlProps.js +3 -5
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneProps.js +2 -6
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneGeneralStyles.js +2 -5
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneStyles.js +2 -6
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneTitleStyles.js +2 -3
- package/lib/cjs/components/postchatsurveypane/PostChatSurveyPane.js +4 -13
- package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultPostChatSurveyPaneControlProps.js +2 -5
- package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultPostChatSurveyPaneProps.js +2 -6
- package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultStyles/defaultPostChatSurveyPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultStyles/defaultPostChatSurveyPaneStyles.js +2 -5
- package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneControlProps.js +3 -5
- package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneProps.js +2 -6
- package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOneStyles/presetOnePostChatSurveyPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOneStyles/presetOnePostChatSurveyPaneStyles.js +2 -5
- package/lib/cjs/components/prechatsurveypane/PreChatSurveyPane.js +35 -56
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultPreChatSurveyPaneControlProps.js +2 -5
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultPreChatSurveyPaneProps.js +2 -6
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneACContainerStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneButtonStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneMultichoiceInputStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneMultilineTextInputStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneStyles.js +2 -11
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneTextInputStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneToggleInputStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneControlProps.js +3 -5
- package/lib/cjs/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneProps.js +2 -6
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreePreChatSurveyPaneControlProps.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreePreChatSurveyPaneProps.js +2 -6
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneACContainerStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneButtonStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneStyles.js +2 -7
- package/lib/cjs/components/prechatsurveypane/common/presetTwoProps/presetTwoPreChatSurveyPaneControlProps.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/presetTwoProps/presetTwoPreChatSurveyPaneProps.js +2 -6
- package/lib/cjs/components/proactivechatpane/ProactiveChatPane.js +29 -65
- package/lib/cjs/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneControlProps.js +2 -5
- package/lib/cjs/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneProps.js +2 -6
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneBodyContainerStyles.js +1 -2
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneBodyTitleStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneHeaderContainerStyles.js +2 -5
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStartButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStartButtonStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStyles.js +2 -15
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneSubtitleStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneTextContainerStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneTitleStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneControlProps.js +2 -5
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneProps.js +2 -6
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneBodyTitleStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneCloseButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneCloseButtonStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStartButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStartButtonStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStyles.js +2 -9
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneControlProps.js +2 -5
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneProps.js +2 -6
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneBodyContainerStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneCloseButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneCloseButtonStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneHeaderContainerStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStartButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStartButtonStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStyles.js +2 -11
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneComponentOverrides.js +4 -11
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneControlProps.js +2 -5
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneProps.js +2 -7
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneBodyContainerStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneHeaderContainerStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStartButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStartButtonStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStyles.js +2 -10
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneTextContainerStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/ReconnectChatPane.js +33 -69
- package/lib/cjs/components/reconnectchatpane/common/default/defaultProps/defaultReconnectChatPaneControlProps.js +2 -5
- package/lib/cjs/components/reconnectchatpane/common/default/defaultProps/defaultReconnectChatPaneProps.js +2 -6
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneButtonGroupStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonFocusedStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneIconStyles.js +2 -5
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartChatButtonFocusedStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStyles.js +2 -14
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneSubtitleStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneTitleStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneWrapperStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeProps/presetThreeReconnectChatPaneControlProps.js +2 -5
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeProps/presetThreeReconnectChatPaneProps.js +2 -6
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneButtonGroupStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneContinueChatButtonStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneStyles.js +2 -9
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneTitleStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneWrapperStyles.js +2 -3
- package/lib/cjs/index.js +1 -24
- package/lib/cjs/services/BroadcastService.js +15 -26
- package/lib/cjs/services/EventQueue.js +4 -23
- package/lib/esm/common/Constants.js +15 -17
- package/lib/esm/common/decodeComponentString.js +0 -1
- package/lib/esm/common/utils.js +22 -30
- package/lib/esm/components/callingcontainer/CallingContainer.js +0 -5
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +86 -109
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/componentOverridesStyleProps.js +2 -1
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +41 -57
- package/lib/esm/components/callingcontainer/subcomponents/Timer/Timer.js +0 -2
- package/lib/esm/components/chatbutton/ChatButton.js +24 -37
- package/lib/esm/components/citationpane/CitationPane.js +17 -21
- package/lib/esm/components/citationpane/ScalingTest.js +1 -1
- package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonStyles.js +0 -2
- package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneContentStyles.js +0 -1
- package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneGeneralStyles.js +0 -1
- package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonStyles.js +0 -1
- package/lib/esm/components/common/commandbutton/CommandButton.js +14 -15
- package/lib/esm/components/common/subcomponents/CloseButton.js +0 -2
- package/lib/esm/components/confirmationpane/ConfirmationPane.js +21 -27
- package/lib/esm/components/footer/Footer.js +6 -10
- package/lib/esm/components/footer/common/defaultProps/defaultFooterComponentOverrides.js +0 -2
- package/lib/esm/components/footer/subcomponents/AudioNotificationButton.js +11 -11
- package/lib/esm/components/footer/subcomponents/DownloadTranscriptButton.js +0 -2
- package/lib/esm/components/footer/subcomponents/EmailTranscriptButton.js +0 -2
- package/lib/esm/components/header/Header.js +8 -12
- package/lib/esm/components/header/subcomponents/MinimizeButton.js +0 -2
- package/lib/esm/components/inputvalidationpane/InputValidationPane.js +50 -60
- package/lib/esm/components/loadingpane/LoadingPane.js +10 -13
- package/lib/esm/components/loadingpane/common/presetOneProps/presetOneLoadingPaneControlProps.js +2 -1
- package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneControlProps.js +2 -1
- package/lib/esm/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneControlProps.js +2 -1
- package/lib/esm/components/notificationpane/NotificationPane.js +1 -5
- package/lib/esm/components/notificationpane/subcomponents/CloseChatButton.js +0 -2
- package/lib/esm/components/notificationpane/subcomponents/DismissButton.js +0 -2
- package/lib/esm/components/outofofficehourspane/OOOHPane.js +3 -6
- package/lib/esm/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneControlProps.js +2 -1
- package/lib/esm/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneControlProps.js +2 -1
- package/lib/esm/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneControlProps.js +2 -1
- package/lib/esm/components/postchatsurveypane/PostChatSurveyPane.js +2 -4
- package/lib/esm/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneControlProps.js +2 -1
- package/lib/esm/components/prechatsurveypane/PreChatSurveyPane.js +33 -38
- package/lib/esm/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneControlProps.js +2 -1
- package/lib/esm/components/proactivechatpane/ProactiveChatPane.js +26 -35
- package/lib/esm/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneComponentOverrides.js +1 -1
- package/lib/esm/components/reconnectchatpane/ReconnectChatPane.js +31 -39
- package/lib/esm/services/BroadcastService.js +12 -13
- package/lib/esm/services/EventQueue.js +3 -20
- package/package.json +16 -14
|
@@ -4,12 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreeProactiveChatPaneBodyContainerStyles = void 0;
|
|
7
|
-
const presetThreeProactiveChatPaneBodyContainerStyles = {
|
|
7
|
+
const presetThreeProactiveChatPaneBodyContainerStyles = exports.presetThreeProactiveChatPaneBodyContainerStyles = {
|
|
8
8
|
backgroundColor: "yellow",
|
|
9
9
|
bottom: "20px",
|
|
10
10
|
left: "20px",
|
|
11
11
|
padding: "10px",
|
|
12
12
|
position: "absolute",
|
|
13
13
|
right: "20px"
|
|
14
|
-
};
|
|
15
|
-
exports.presetThreeProactiveChatPaneBodyContainerStyles = presetThreeProactiveChatPaneBodyContainerStyles;
|
|
14
|
+
};
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreeProactiveChatPaneCloseButtonHoveredStyles = void 0;
|
|
7
|
-
const presetThreeProactiveChatPaneCloseButtonHoveredStyles = {
|
|
7
|
+
const presetThreeProactiveChatPaneCloseButtonHoveredStyles = exports.presetThreeProactiveChatPaneCloseButtonHoveredStyles = {
|
|
8
8
|
backgroundColor: "rgb(129, 133, 137)"
|
|
9
|
-
};
|
|
10
|
-
exports.presetThreeProactiveChatPaneCloseButtonHoveredStyles = presetThreeProactiveChatPaneCloseButtonHoveredStyles;
|
|
9
|
+
};
|
|
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreeProactiveChatPaneCloseButtonStyles = void 0;
|
|
7
|
-
const presetThreeProactiveChatPaneCloseButtonStyles = {
|
|
7
|
+
const presetThreeProactiveChatPaneCloseButtonStyles = exports.presetThreeProactiveChatPaneCloseButtonStyles = {
|
|
8
8
|
height: "20px",
|
|
9
9
|
width: "20px"
|
|
10
|
-
};
|
|
11
|
-
exports.presetThreeProactiveChatPaneCloseButtonStyles = presetThreeProactiveChatPaneCloseButtonStyles;
|
|
10
|
+
};
|
|
@@ -4,11 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreeProactiveChatPaneGeneralStyles = void 0;
|
|
7
|
-
const presetThreeProactiveChatPaneGeneralStyles = {
|
|
7
|
+
const presetThreeProactiveChatPaneGeneralStyles = exports.presetThreeProactiveChatPaneGeneralStyles = {
|
|
8
8
|
backgroundColor: "purple",
|
|
9
9
|
boxShadow: "20px 20px 4px rgb(102 102 102 / 50%)",
|
|
10
10
|
float: "right",
|
|
11
11
|
height: "400px",
|
|
12
12
|
position: "relative"
|
|
13
|
-
};
|
|
14
|
-
exports.presetThreeProactiveChatPaneGeneralStyles = presetThreeProactiveChatPaneGeneralStyles;
|
|
13
|
+
};
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreeProactiveChatPaneHeaderContainerStyles = void 0;
|
|
7
|
-
const presetThreeProactiveChatPaneHeaderContainerStyles = {
|
|
7
|
+
const presetThreeProactiveChatPaneHeaderContainerStyles = exports.presetThreeProactiveChatPaneHeaderContainerStyles = {
|
|
8
8
|
backgroundColor: "rgb(0, 0, 0)"
|
|
9
|
-
};
|
|
10
|
-
exports.presetThreeProactiveChatPaneHeaderContainerStyles = presetThreeProactiveChatPaneHeaderContainerStyles;
|
|
9
|
+
};
|
|
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreeProactiveChatPaneStartButtonHoveredStyles = void 0;
|
|
7
|
-
const presetThreeProactiveChatPaneStartButtonHoveredStyles = {
|
|
7
|
+
const presetThreeProactiveChatPaneStartButtonHoveredStyles = exports.presetThreeProactiveChatPaneStartButtonHoveredStyles = {
|
|
8
8
|
backgroundColor: "rgb(169, 169, 169)",
|
|
9
9
|
color: "rgb(0, 0, 0)"
|
|
10
|
-
};
|
|
11
|
-
exports.presetThreeProactiveChatPaneStartButtonHoveredStyles = presetThreeProactiveChatPaneStartButtonHoveredStyles;
|
|
10
|
+
};
|
|
@@ -4,10 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreeProactiveChatPaneStartButtonStyles = void 0;
|
|
7
|
-
const presetThreeProactiveChatPaneStartButtonStyles = {
|
|
7
|
+
const presetThreeProactiveChatPaneStartButtonStyles = exports.presetThreeProactiveChatPaneStartButtonStyles = {
|
|
8
8
|
backgroundColor: "black",
|
|
9
9
|
height: "30px",
|
|
10
10
|
padding: "5px",
|
|
11
11
|
width: "100px"
|
|
12
|
-
};
|
|
13
|
-
exports.presetThreeProactiveChatPaneStartButtonStyles = presetThreeProactiveChatPaneStartButtonStyles;
|
|
12
|
+
};
|
|
@@ -4,22 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreeProactiveChatPaneStyles = void 0;
|
|
7
|
-
|
|
8
7
|
var _presetThreeProactiveChatPaneBodyContainerStyles = require("./presetThreeProactiveChatPaneBodyContainerStyles");
|
|
9
|
-
|
|
10
8
|
var _presetThreeProactiveChatPaneGeneralStyles = require("./presetThreeProactiveChatPaneGeneralStyles");
|
|
11
|
-
|
|
12
9
|
var _presetThreeProactiveChatPaneCloseButtonStyles = require("./presetThreeProactiveChatPaneCloseButtonStyles");
|
|
13
|
-
|
|
14
10
|
var _presetThreeProactiveChatPaneHeaderContainerStyles = require("./presetThreeProactiveChatPaneHeaderContainerStyles");
|
|
15
|
-
|
|
16
11
|
var _presetThreeProactiveChatPaneStartButtonStyles = require("./presetThreeProactiveChatPaneStartButtonStyles");
|
|
17
|
-
|
|
18
12
|
var _presetThreeProactiveChatPaneStartButtonHoveredStyles = require("./presetThreeProactiveChatPaneStartButtonHoveredStyles");
|
|
19
|
-
|
|
20
13
|
var _presetThreeProactiveChatPaneCloseButtonHoveredStyles = require("./presetThreeProactiveChatPaneCloseButtonHoveredStyles");
|
|
21
|
-
|
|
22
|
-
const presetThreeProactiveChatPaneStyles = {
|
|
14
|
+
const presetThreeProactiveChatPaneStyles = exports.presetThreeProactiveChatPaneStyles = {
|
|
23
15
|
generalStyleProps: _presetThreeProactiveChatPaneGeneralStyles.presetThreeProactiveChatPaneGeneralStyles,
|
|
24
16
|
headerContainerStyleProps: _presetThreeProactiveChatPaneHeaderContainerStyles.presetThreeProactiveChatPaneHeaderContainerStyles,
|
|
25
17
|
closeButtonStyleProps: _presetThreeProactiveChatPaneCloseButtonStyles.presetThreeProactiveChatPaneCloseButtonStyles,
|
|
@@ -27,5 +19,4 @@ const presetThreeProactiveChatPaneStyles = {
|
|
|
27
19
|
bodyContainerStyleProps: _presetThreeProactiveChatPaneBodyContainerStyles.presetThreeProactiveChatPaneBodyContainerStyles,
|
|
28
20
|
startButtonStyleProps: _presetThreeProactiveChatPaneStartButtonStyles.presetThreeProactiveChatPaneStartButtonStyles,
|
|
29
21
|
startButtonHoveredStyleProps: _presetThreeProactiveChatPaneStartButtonHoveredStyles.presetThreeProactiveChatPaneStartButtonHoveredStyles
|
|
30
|
-
};
|
|
31
|
-
exports.presetThreeProactiveChatPaneStyles = presetThreeProactiveChatPaneStyles;
|
|
22
|
+
};
|
|
@@ -4,14 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoProactiveChatPaneComponentOverrides = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _ = require("../../../../..");
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const customReactNode1 = (0, _.encodeComponentString)( /*#__PURE__*/_react.default.createElement("div", {
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
const customReactNode1 = (0, _.encodeComponentString)(/*#__PURE__*/_react.default.createElement("div", {
|
|
15
11
|
style: {
|
|
16
12
|
color: "rgb(255, 255, 255)",
|
|
17
13
|
float: "right",
|
|
@@ -24,7 +20,6 @@ const customReactNode1 = (0, _.encodeComponentString)( /*#__PURE__*/_react.defau
|
|
|
24
20
|
width: "20px"
|
|
25
21
|
}
|
|
26
22
|
}, "End Chat"));
|
|
27
|
-
|
|
28
23
|
const customReactNode2 = /*#__PURE__*/_react.default.createElement("button", {
|
|
29
24
|
style: {
|
|
30
25
|
color: "rgb(255, 255, 255)",
|
|
@@ -38,9 +33,7 @@ const customReactNode2 = /*#__PURE__*/_react.default.createElement("button", {
|
|
|
38
33
|
width: "160px"
|
|
39
34
|
}
|
|
40
35
|
}, "This is a custom button");
|
|
41
|
-
|
|
42
|
-
const presetTwoProactiveChatPaneComponentOverrides = {
|
|
36
|
+
const presetTwoProactiveChatPaneComponentOverrides = exports.presetTwoProactiveChatPaneComponentOverrides = {
|
|
43
37
|
closeButton: customReactNode1,
|
|
44
38
|
bodyTitle: customReactNode2
|
|
45
|
-
};
|
|
46
|
-
exports.presetTwoProactiveChatPaneComponentOverrides = presetTwoProactiveChatPaneComponentOverrides;
|
|
39
|
+
};
|
|
@@ -4,10 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoProactiveChatPaneControlProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _Constants = require("../../../../../common/Constants");
|
|
9
|
-
|
|
10
|
-
const presetTwoProactiveChatPaneControlProps = {
|
|
8
|
+
const presetTwoProactiveChatPaneControlProps = exports.presetTwoProactiveChatPaneControlProps = {
|
|
11
9
|
id: "lcw-incoming-proactive-chat",
|
|
12
10
|
dir: "ltr",
|
|
13
11
|
hideProactiveChatPane: false,
|
|
@@ -25,5 +23,4 @@ const presetTwoProactiveChatPaneControlProps = {
|
|
|
25
23
|
onStart: function () {
|
|
26
24
|
console.log("on start");
|
|
27
25
|
}
|
|
28
|
-
};
|
|
29
|
-
exports.presetTwoProactiveChatPaneControlProps = presetTwoProactiveChatPaneControlProps;
|
|
26
|
+
};
|
|
@@ -4,16 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoProactiveChatPaneProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _presetTwoProactiveChatPaneStyles = require("../presetTwoStyles/presetTwoProactiveChatPaneStyles");
|
|
9
|
-
|
|
10
8
|
var _presetTwoProactiveChatPaneComponentOverrides = require("./presetTwoProactiveChatPaneComponentOverrides");
|
|
11
|
-
|
|
12
9
|
var _presetTwoProactiveChatPaneControlProps = require("./presetTwoProactiveChatPaneControlProps");
|
|
13
|
-
|
|
14
|
-
const presetTwoProactiveChatPaneProps = {
|
|
10
|
+
const presetTwoProactiveChatPaneProps = exports.presetTwoProactiveChatPaneProps = {
|
|
15
11
|
controlProps: _presetTwoProactiveChatPaneControlProps.presetTwoProactiveChatPaneControlProps,
|
|
16
12
|
styleProps: _presetTwoProactiveChatPaneStyles.presetTwoProactiveChatPaneStyles,
|
|
17
13
|
componentOverrides: _presetTwoProactiveChatPaneComponentOverrides.presetTwoProactiveChatPaneComponentOverrides
|
|
18
|
-
};
|
|
19
|
-
exports.presetTwoProactiveChatPaneProps = presetTwoProactiveChatPaneProps;
|
|
14
|
+
};
|
|
@@ -4,9 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoProactiveChatPaneBodyContainerStyles = void 0;
|
|
7
|
-
const presetTwoProactiveChatPaneBodyContainerStyles = {
|
|
7
|
+
const presetTwoProactiveChatPaneBodyContainerStyles = exports.presetTwoProactiveChatPaneBodyContainerStyles = {
|
|
8
8
|
borderRadius: "50px",
|
|
9
9
|
overflow: "auto",
|
|
10
10
|
padding: "10px"
|
|
11
|
-
};
|
|
12
|
-
exports.presetTwoProactiveChatPaneBodyContainerStyles = presetTwoProactiveChatPaneBodyContainerStyles;
|
|
11
|
+
};
|
|
@@ -4,10 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoProactiveChatPaneGeneralStyles = void 0;
|
|
7
|
-
const presetTwoProactiveChatPaneGeneralStyles = {
|
|
7
|
+
const presetTwoProactiveChatPaneGeneralStyles = exports.presetTwoProactiveChatPaneGeneralStyles = {
|
|
8
8
|
borderColor: "black",
|
|
9
9
|
borderRadius: "50px",
|
|
10
10
|
borderStyle: "solid",
|
|
11
11
|
borderWidth: "1px"
|
|
12
|
-
};
|
|
13
|
-
exports.presetTwoProactiveChatPaneGeneralStyles = presetTwoProactiveChatPaneGeneralStyles;
|
|
12
|
+
};
|
|
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoProactiveChatPaneHeaderContainerStyles = void 0;
|
|
7
|
-
const presetTwoProactiveChatPaneHeaderContainerStyles = {
|
|
7
|
+
const presetTwoProactiveChatPaneHeaderContainerStyles = exports.presetTwoProactiveChatPaneHeaderContainerStyles = {
|
|
8
8
|
backgroundColor: "blue",
|
|
9
9
|
borderRadius: "50px"
|
|
10
|
-
};
|
|
11
|
-
exports.presetTwoProactiveChatPaneHeaderContainerStyles = presetTwoProactiveChatPaneHeaderContainerStyles;
|
|
10
|
+
};
|
|
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoProactiveChatPaneStartButtonHoveredStyles = void 0;
|
|
7
|
-
const presetTwoProactiveChatPaneStartButtonHoveredStyles = {
|
|
7
|
+
const presetTwoProactiveChatPaneStartButtonHoveredStyles = exports.presetTwoProactiveChatPaneStartButtonHoveredStyles = {
|
|
8
8
|
backgroundColor: "rgb(169, 169, 169)",
|
|
9
9
|
color: "rgb(0, 0, 0)"
|
|
10
|
-
};
|
|
11
|
-
exports.presetTwoProactiveChatPaneStartButtonHoveredStyles = presetTwoProactiveChatPaneStartButtonHoveredStyles;
|
|
10
|
+
};
|
|
@@ -4,10 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoProactiveChatPaneStartButtonStyles = void 0;
|
|
7
|
-
const presetTwoProactiveChatPaneStartButtonStyles = {
|
|
7
|
+
const presetTwoProactiveChatPaneStartButtonStyles = exports.presetTwoProactiveChatPaneStartButtonStyles = {
|
|
8
8
|
backgroundColor: "black",
|
|
9
9
|
borderRadius: "50px",
|
|
10
10
|
height: "100px",
|
|
11
11
|
width: "100px"
|
|
12
|
-
};
|
|
13
|
-
exports.presetTwoProactiveChatPaneStartButtonStyles = presetTwoProactiveChatPaneStartButtonStyles;
|
|
12
|
+
};
|
|
@@ -4,25 +4,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoProactiveChatPaneStyles = void 0;
|
|
7
|
-
|
|
8
7
|
var _presetTwoProactiveChatPaneBodyContainerStyles = require("./presetTwoProactiveChatPaneBodyContainerStyles");
|
|
9
|
-
|
|
10
8
|
var _presetTwoProactiveChatPaneGeneralStyles = require("./presetTwoProactiveChatPaneGeneralStyles");
|
|
11
|
-
|
|
12
9
|
var _presetTwoProactiveChatPaneHeaderContainerStyles = require("./presetTwoProactiveChatPaneHeaderContainerStyles");
|
|
13
|
-
|
|
14
10
|
var _presetTwoProactiveChatPaneTextContainerStyles = require("./presetTwoProactiveChatPaneTextContainerStyles");
|
|
15
|
-
|
|
16
11
|
var _presetTwoProactiveChatPaneStartButtonStyles = require("./presetTwoProactiveChatPaneStartButtonStyles");
|
|
17
|
-
|
|
18
12
|
var _presetTwoProactiveChatPaneStartButtonHoveredStyles = require("./presetTwoProactiveChatPaneStartButtonHoveredStyles");
|
|
19
|
-
|
|
20
|
-
const presetTwoProactiveChatPaneStyles = {
|
|
13
|
+
const presetTwoProactiveChatPaneStyles = exports.presetTwoProactiveChatPaneStyles = {
|
|
21
14
|
generalStyleProps: _presetTwoProactiveChatPaneGeneralStyles.presetTwoProactiveChatPaneGeneralStyles,
|
|
22
15
|
headerContainerStyleProps: _presetTwoProactiveChatPaneHeaderContainerStyles.presetTwoProactiveChatPaneHeaderContainerStyles,
|
|
23
16
|
textContainerStyleProps: _presetTwoProactiveChatPaneTextContainerStyles.presetTwoProactiveChatPaneTextContainerStyles,
|
|
24
17
|
bodyContainerStyleProps: _presetTwoProactiveChatPaneBodyContainerStyles.presetTwoProactiveChatPaneBodyContainerStyles,
|
|
25
18
|
startButtonStyleProps: _presetTwoProactiveChatPaneStartButtonStyles.presetTwoProactiveChatPaneStartButtonStyles,
|
|
26
19
|
startButtonHoveredStyleProps: _presetTwoProactiveChatPaneStartButtonHoveredStyles.presetTwoProactiveChatPaneStartButtonHoveredStyles
|
|
27
|
-
};
|
|
28
|
-
exports.presetTwoProactiveChatPaneStyles = presetTwoProactiveChatPaneStyles;
|
|
20
|
+
};
|
|
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoProactiveChatPaneTextContainerStyles = void 0;
|
|
7
|
-
const presetTwoProactiveChatPaneTextContainerStyles = {
|
|
7
|
+
const presetTwoProactiveChatPaneTextContainerStyles = exports.presetTwoProactiveChatPaneTextContainerStyles = {
|
|
8
8
|
borderRadius: "50px",
|
|
9
9
|
margin: "10px 0 10px 10px"
|
|
10
|
-
};
|
|
11
|
-
exports.presetTwoProactiveChatPaneTextContainerStyles = presetTwoProactiveChatPaneTextContainerStyles;
|
|
10
|
+
};
|
|
@@ -4,101 +4,67 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = require("@fluentui/react");
|
|
9
|
-
|
|
10
8
|
var _react2 = _interopRequireWildcard(require("react"));
|
|
11
|
-
|
|
12
9
|
var _BroadcastService = require("../../services/BroadcastService");
|
|
13
|
-
|
|
14
10
|
var _Constants = require("../../common/Constants");
|
|
15
|
-
|
|
16
11
|
var _decodeComponentString = require("../../common/decodeComponentString");
|
|
17
|
-
|
|
18
12
|
var _defaultReconnectChatPaneButtonGroupStyles = require("./common/default/defaultStyles/defaultReconnectChatPaneButtonGroupStyles");
|
|
19
|
-
|
|
20
13
|
var _defaultReconnectChatPaneContinueChatButtonHoveredStyles = require("./common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonHoveredStyles");
|
|
21
|
-
|
|
22
14
|
var _defaultReconnectChatPaneContinueChatButtonStyles = require("./common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonStyles");
|
|
23
|
-
|
|
24
15
|
var _defaultReconnectChatPaneControlProps = require("./common/default/defaultProps/defaultReconnectChatPaneControlProps");
|
|
25
|
-
|
|
26
16
|
var _defaultReconnectChatPaneGeneralStyles = require("./common/default/defaultStyles/defaultReconnectChatPaneGeneralStyles");
|
|
27
|
-
|
|
28
17
|
var _defaultReconnectChatPaneIconStyles = require("./common/default/defaultStyles/defaultReconnectChatPaneIconStyles");
|
|
29
|
-
|
|
30
18
|
var _defaultReconnectChatPaneStartNewChatButtonHoveredStyles = require("./common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonHoveredStyles");
|
|
31
|
-
|
|
32
19
|
var _defaultReconnectChatPaneStartNewChatButtonStyles = require("./common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonStyles");
|
|
33
|
-
|
|
34
20
|
var _defaultReconnectChatPaneSubtitleStyles = require("./common/default/defaultStyles/defaultReconnectChatPaneSubtitleStyles");
|
|
35
|
-
|
|
36
21
|
var _defaultReconnectChatPaneTitleStyles = require("./common/default/defaultStyles/defaultReconnectChatPaneTitleStyles");
|
|
37
|
-
|
|
38
22
|
var _defaultReconnectChatPaneWrapperStyles = require("./common/default/defaultStyles/defaultReconnectChatPaneWrapperStyles");
|
|
39
|
-
|
|
40
23
|
var _defaultReconnectChatPaneContinueChatButtonFocusedStyles = require("./common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonFocusedStyles");
|
|
41
|
-
|
|
42
24
|
var _defaultReconnectChatPaneStartChatButtonFocusedStyles = require("./common/default/defaultStyles/defaultReconnectChatPaneStartChatButtonFocusedStyles");
|
|
43
|
-
|
|
44
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
45
|
-
|
|
46
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
47
|
-
|
|
25
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
48
26
|
function ReconnectChatPane(props) {
|
|
49
|
-
var _props$controlProps, _props$styleProps, _props$styleProps2, _props$styleProps3, _props$styleProps4, _props$styleProps5, _props$styleProps6, _props$styleProps7, _props$styleProps8, _props$styleProps9, _props$
|
|
50
|
-
|
|
27
|
+
var _props$controlProps, _props$styleProps, _props$styleProps2, _props$styleProps3, _props$styleProps4, _props$styleProps5, _props$styleProps6, _props$styleProps7, _props$styleProps8, _props$styleProps9, _props$styleProps0, _props$styleProps1, _props$styleProps10, _props$styleProps11, _props$styleProps12, _props$controlProps8, _props$styleProps13, _props$controlProps9, _props$controlProps0, _props$styleProps14, _props$controlProps1, _props$componentOverr, _props$styleProps15, _props$controlProps10, _props$controlProps11, _props$componentOverr2, _props$styleProps16, _props$controlProps12, _props$controlProps13, _props$componentOverr3, _props$styleProps17, _props$controlProps14, _props$controlProps15, _props$styleProps18, _props$controlProps16, _props$componentOverr4, _props$styleProps19, _props$controlProps17, _props$controlProps18, _props$controlProps19, _props$componentOverr5, _props$styleProps20, _props$controlProps20, _props$controlProps21;
|
|
51
28
|
const elementId = ((_props$controlProps = props.controlProps) === null || _props$controlProps === void 0 ? void 0 : _props$controlProps.id) ?? _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.id;
|
|
52
29
|
const handleContinueChatClick = (0, _react2.useCallback)(() => {
|
|
53
30
|
var _props$controlProps2;
|
|
54
|
-
|
|
55
31
|
if ((_props$controlProps2 = props.controlProps) !== null && _props$controlProps2 !== void 0 && _props$controlProps2.onContinueChat) {
|
|
56
32
|
var _props$controlProps3;
|
|
57
|
-
|
|
58
33
|
const customEvent = {
|
|
59
34
|
elementType: _Constants.ElementType.ReconnectChatContinueChatButton,
|
|
60
35
|
elementId: elementId + "-continueconversationbutton",
|
|
61
36
|
eventName: _Constants.EventNames.OnClick
|
|
62
37
|
};
|
|
63
|
-
|
|
64
38
|
_BroadcastService.BroadcastService.postMessage(customEvent);
|
|
65
|
-
|
|
66
|
-
(_props$controlProps3 = props.controlProps) === null || _props$controlProps3 === void 0 ? void 0 : _props$controlProps3.onContinueChat();
|
|
39
|
+
(_props$controlProps3 = props.controlProps) === null || _props$controlProps3 === void 0 || _props$controlProps3.onContinueChat();
|
|
67
40
|
}
|
|
68
41
|
}, []);
|
|
69
42
|
const handleStartNewChatClick = (0, _react2.useCallback)(() => {
|
|
70
43
|
var _props$controlProps4;
|
|
71
|
-
|
|
72
44
|
if ((_props$controlProps4 = props.controlProps) !== null && _props$controlProps4 !== void 0 && _props$controlProps4.onStartNewChat) {
|
|
73
45
|
var _props$controlProps5;
|
|
74
|
-
|
|
75
46
|
const customEvent = {
|
|
76
47
|
elementType: _Constants.ElementType.ReconnectChatStartNewChatButton,
|
|
77
48
|
elementId: elementId + "-startnewconversationbutton",
|
|
78
49
|
eventName: _Constants.EventNames.OnClick
|
|
79
50
|
};
|
|
80
|
-
|
|
81
51
|
_BroadcastService.BroadcastService.postMessage(customEvent);
|
|
82
|
-
|
|
83
|
-
(_props$controlProps5 = props.controlProps) === null || _props$controlProps5 === void 0 ? void 0 : _props$controlProps5.onStartNewChat();
|
|
52
|
+
(_props$controlProps5 = props.controlProps) === null || _props$controlProps5 === void 0 || _props$controlProps5.onStartNewChat();
|
|
84
53
|
}
|
|
85
|
-
}, []);
|
|
54
|
+
}, []);
|
|
86
55
|
|
|
56
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
87
57
|
const handleEscKeyDown = (0, _react2.useCallback)(e => {
|
|
88
58
|
var _props$controlProps6;
|
|
89
|
-
|
|
90
59
|
if (e.code === _Constants.KeyCodes.ESCAPE && (_props$controlProps6 = props.controlProps) !== null && _props$controlProps6 !== void 0 && _props$controlProps6.onMinimize) {
|
|
91
60
|
var _props$controlProps7;
|
|
92
|
-
|
|
93
61
|
const customEvent = {
|
|
94
62
|
elementType: _Constants.ElementType.ReconnectChatPane,
|
|
95
63
|
elementId: elementId,
|
|
96
64
|
eventName: _Constants.EventNames.OnEscapeKeyDown
|
|
97
65
|
};
|
|
98
|
-
|
|
99
66
|
_BroadcastService.BroadcastService.postMessage(customEvent);
|
|
100
|
-
|
|
101
|
-
(_props$controlProps7 = props.controlProps) === null || _props$controlProps7 === void 0 ? void 0 : _props$controlProps7.onMinimize();
|
|
67
|
+
(_props$controlProps7 = props.controlProps) === null || _props$controlProps7 === void 0 || _props$controlProps7.onMinimize();
|
|
102
68
|
}
|
|
103
69
|
}, []);
|
|
104
70
|
const containerStyles = {
|
|
@@ -123,68 +89,66 @@ function ReconnectChatPane(props) {
|
|
|
123
89
|
root: Object.assign({}, _defaultReconnectChatPaneContinueChatButtonStyles.defaultReconnectChatPaneContinueChatButtonStyles, (_props$styleProps7 = props.styleProps) === null || _props$styleProps7 === void 0 ? void 0 : _props$styleProps7.continueChatButtonStyleProps),
|
|
124
90
|
rootHovered: Object.assign({}, _defaultReconnectChatPaneContinueChatButtonHoveredStyles.defaultReconnectChatPaneContinueChatButtonHoveredStyles, (_props$styleProps8 = props.styleProps) === null || _props$styleProps8 === void 0 ? void 0 : _props$styleProps8.continueChatButtonHoveredStyleProps),
|
|
125
91
|
rootPressed: Object.assign({}, _defaultReconnectChatPaneContinueChatButtonHoveredStyles.defaultReconnectChatPaneContinueChatButtonHoveredStyles, (_props$styleProps9 = props.styleProps) === null || _props$styleProps9 === void 0 ? void 0 : _props$styleProps9.continueChatButtonHoveredStyleProps),
|
|
126
|
-
rootFocused: Object.assign({}, _defaultReconnectChatPaneContinueChatButtonFocusedStyles.defaultReconnectChatPaneContinueChatFocusedStyles, (_props$
|
|
92
|
+
rootFocused: Object.assign({}, _defaultReconnectChatPaneContinueChatButtonFocusedStyles.defaultReconnectChatPaneContinueChatFocusedStyles, (_props$styleProps0 = props.styleProps) === null || _props$styleProps0 === void 0 ? void 0 : _props$styleProps0.continueChatButtonFocusedStyleProps)
|
|
127
93
|
};
|
|
128
94
|
const startNewChatButtonStyles = {
|
|
129
|
-
root: Object.assign({}, _defaultReconnectChatPaneStartNewChatButtonStyles.defaultReconnectChatPaneStartNewChatButtonStyles, (_props$
|
|
130
|
-
rootHovered: Object.assign({}, _defaultReconnectChatPaneStartNewChatButtonHoveredStyles.defaultReconnectChatPaneStartNewChatButtonHoveredStyles, (_props$
|
|
131
|
-
rootPressed: Object.assign({}, _defaultReconnectChatPaneStartNewChatButtonHoveredStyles.defaultReconnectChatPaneStartNewChatButtonHoveredStyles, (_props$
|
|
132
|
-
rootFocused: Object.assign({}, _defaultReconnectChatPaneStartChatButtonFocusedStyles.defaultReconnectChatPaneStartChatFocusedStyles, (_props$
|
|
95
|
+
root: Object.assign({}, _defaultReconnectChatPaneStartNewChatButtonStyles.defaultReconnectChatPaneStartNewChatButtonStyles, (_props$styleProps1 = props.styleProps) === null || _props$styleProps1 === void 0 ? void 0 : _props$styleProps1.startNewChatButtonStyleProps),
|
|
96
|
+
rootHovered: Object.assign({}, _defaultReconnectChatPaneStartNewChatButtonHoveredStyles.defaultReconnectChatPaneStartNewChatButtonHoveredStyles, (_props$styleProps10 = props.styleProps) === null || _props$styleProps10 === void 0 ? void 0 : _props$styleProps10.startNewChatButtonHoveredStyleProps),
|
|
97
|
+
rootPressed: Object.assign({}, _defaultReconnectChatPaneStartNewChatButtonHoveredStyles.defaultReconnectChatPaneStartNewChatButtonHoveredStyles, (_props$styleProps11 = props.styleProps) === null || _props$styleProps11 === void 0 ? void 0 : _props$styleProps11.startNewChatButtonHoveredStyleProps),
|
|
98
|
+
rootFocused: Object.assign({}, _defaultReconnectChatPaneStartChatButtonFocusedStyles.defaultReconnectChatPaneStartChatFocusedStyles, (_props$styleProps12 = props.styleProps) === null || _props$styleProps12 === void 0 ? void 0 : _props$styleProps12.startNewChatButtonFocusedStyleProps)
|
|
133
99
|
};
|
|
134
100
|
return /*#__PURE__*/_react2.default.createElement(_react2.default.Fragment, null, !((_props$controlProps8 = props.controlProps) !== null && _props$controlProps8 !== void 0 && _props$controlProps8.hideReconnectChatPane) && /*#__PURE__*/_react2.default.createElement(_react.Stack, {
|
|
135
|
-
className: (_props$
|
|
101
|
+
className: (_props$styleProps13 = props.styleProps) === null || _props$styleProps13 === void 0 || (_props$styleProps13 = _props$styleProps13.classNames) === null || _props$styleProps13 === void 0 ? void 0 : _props$styleProps13.containerClassName,
|
|
136
102
|
id: elementId,
|
|
137
103
|
tabIndex: -1,
|
|
138
104
|
onKeyDown: handleEscKeyDown,
|
|
139
105
|
dir: ((_props$controlProps9 = props.controlProps) === null || _props$controlProps9 === void 0 ? void 0 : _props$controlProps9.dir) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.dir,
|
|
140
|
-
"aria-label": ((_props$
|
|
106
|
+
"aria-label": ((_props$controlProps0 = props.controlProps) === null || _props$controlProps0 === void 0 ? void 0 : _props$controlProps0.reconnectChatPaneAriaLabel) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.reconnectChatPaneAriaLabel,
|
|
141
107
|
styles: containerStyles
|
|
142
108
|
}, /*#__PURE__*/_react2.default.createElement(_react.Stack, {
|
|
143
|
-
className: (_props$
|
|
109
|
+
className: (_props$styleProps14 = props.styleProps) === null || _props$styleProps14 === void 0 || (_props$styleProps14 = _props$styleProps14.classNames) === null || _props$styleProps14 === void 0 ? void 0 : _props$styleProps14.wrapperClassName,
|
|
144
110
|
styles: wrapperStyles,
|
|
145
111
|
tabIndex: -1,
|
|
146
112
|
id: elementId + "-wrapper"
|
|
147
|
-
}, !((_props$
|
|
148
|
-
className: (_props$
|
|
113
|
+
}, !((_props$controlProps1 = props.controlProps) !== null && _props$controlProps1 !== void 0 && _props$controlProps1.hideTitle) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr = props.componentOverrides) === null || _props$componentOverr === void 0 ? void 0 : _props$componentOverr.title) || /*#__PURE__*/_react2.default.createElement(_react.Label, {
|
|
114
|
+
className: (_props$styleProps15 = props.styleProps) === null || _props$styleProps15 === void 0 || (_props$styleProps15 = _props$styleProps15.classNames) === null || _props$styleProps15 === void 0 ? void 0 : _props$styleProps15.titleClassName,
|
|
149
115
|
styles: titleStyles,
|
|
150
116
|
tabIndex: -1,
|
|
151
117
|
id: elementId + "-title"
|
|
152
|
-
}, ((_props$
|
|
153
|
-
className: (_props$
|
|
118
|
+
}, ((_props$controlProps10 = props.controlProps) === null || _props$controlProps10 === void 0 ? void 0 : _props$controlProps10.titleText) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.titleText)), !((_props$controlProps11 = props.controlProps) !== null && _props$controlProps11 !== void 0 && _props$controlProps11.hideSubtitle) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr2 = props.componentOverrides) === null || _props$componentOverr2 === void 0 ? void 0 : _props$componentOverr2.subtitle) || /*#__PURE__*/_react2.default.createElement(_react.Label, {
|
|
119
|
+
className: (_props$styleProps16 = props.styleProps) === null || _props$styleProps16 === void 0 || (_props$styleProps16 = _props$styleProps16.classNames) === null || _props$styleProps16 === void 0 ? void 0 : _props$styleProps16.subtitleClassName,
|
|
154
120
|
styles: subtitleStyles,
|
|
155
121
|
tabIndex: -1,
|
|
156
122
|
id: elementId + "-subtitle"
|
|
157
|
-
}, ((_props$
|
|
158
|
-
className: (_props$
|
|
123
|
+
}, ((_props$controlProps12 = props.controlProps) === null || _props$controlProps12 === void 0 ? void 0 : _props$controlProps12.subtitleText) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.subtitleText)), !((_props$controlProps13 = props.controlProps) !== null && _props$controlProps13 !== void 0 && _props$controlProps13.hideIcon) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr3 = props.componentOverrides) === null || _props$componentOverr3 === void 0 ? void 0 : _props$componentOverr3.icon) || /*#__PURE__*/_react2.default.createElement(_react.Icon, {
|
|
124
|
+
className: (_props$styleProps17 = props.styleProps) === null || _props$styleProps17 === void 0 || (_props$styleProps17 = _props$styleProps17.classNames) === null || _props$styleProps17 === void 0 ? void 0 : _props$styleProps17.iconClassName,
|
|
159
125
|
styles: iconStyles,
|
|
160
126
|
tabIndex: -1,
|
|
161
127
|
role: "img",
|
|
162
128
|
id: elementId + "-icon",
|
|
163
|
-
"aria-label": ((_props$
|
|
129
|
+
"aria-label": ((_props$controlProps14 = props.controlProps) === null || _props$controlProps14 === void 0 ? void 0 : _props$controlProps14.iconAriaLabel) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.iconAriaLabel
|
|
164
130
|
})), /*#__PURE__*/_react2.default.createElement(_react.Stack, {
|
|
165
|
-
horizontal: ((_props$
|
|
166
|
-
className: (_props$
|
|
131
|
+
horizontal: ((_props$controlProps15 = props.controlProps) === null || _props$controlProps15 === void 0 ? void 0 : _props$controlProps15.isButtonGroupHorizontal) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.isButtonGroupHorizontal,
|
|
132
|
+
className: (_props$styleProps18 = props.styleProps) === null || _props$styleProps18 === void 0 || (_props$styleProps18 = _props$styleProps18.classNames) === null || _props$styleProps18 === void 0 ? void 0 : _props$styleProps18.buttonGroupClassName,
|
|
167
133
|
styles: buttonGroupStyles,
|
|
168
134
|
tabIndex: -1,
|
|
169
135
|
id: elementId + "-buttongroup"
|
|
170
|
-
}, !((_props$
|
|
171
|
-
className: (_props$
|
|
136
|
+
}, !((_props$controlProps16 = props.controlProps) !== null && _props$controlProps16 !== void 0 && _props$controlProps16.hideContinueChatButton) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr4 = props.componentOverrides) === null || _props$componentOverr4 === void 0 ? void 0 : _props$componentOverr4.continueChatButton) || /*#__PURE__*/_react2.default.createElement(_react.DefaultButton, {
|
|
137
|
+
className: (_props$styleProps19 = props.styleProps) === null || _props$styleProps19 === void 0 || (_props$styleProps19 = _props$styleProps19.classNames) === null || _props$styleProps19 === void 0 ? void 0 : _props$styleProps19.continueChatButtonClassName,
|
|
172
138
|
styles: continueChatButtonStyles,
|
|
173
139
|
tabIndex: 0,
|
|
174
|
-
text: ((_props$
|
|
140
|
+
text: ((_props$controlProps17 = props.controlProps) === null || _props$controlProps17 === void 0 ? void 0 : _props$controlProps17.continueChatButtonText) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.continueChatButtonText,
|
|
175
141
|
onClick: handleContinueChatClick,
|
|
176
142
|
id: elementId + "-continueconversationbutton",
|
|
177
|
-
"aria-label": ((_props$
|
|
178
|
-
})), !((_props$
|
|
179
|
-
className: (_props$
|
|
143
|
+
"aria-label": ((_props$controlProps18 = props.controlProps) === null || _props$controlProps18 === void 0 ? void 0 : _props$controlProps18.continueChatButtonAriaLabel) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.continueChatButtonAriaLabel
|
|
144
|
+
})), !((_props$controlProps19 = props.controlProps) !== null && _props$controlProps19 !== void 0 && _props$controlProps19.hideStartNewChatButton) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr5 = props.componentOverrides) === null || _props$componentOverr5 === void 0 ? void 0 : _props$componentOverr5.startNewChatButton) || /*#__PURE__*/_react2.default.createElement(_react.DefaultButton, {
|
|
145
|
+
className: (_props$styleProps20 = props.styleProps) === null || _props$styleProps20 === void 0 || (_props$styleProps20 = _props$styleProps20.classNames) === null || _props$styleProps20 === void 0 ? void 0 : _props$styleProps20.startNewChatButtonClassName,
|
|
180
146
|
styles: startNewChatButtonStyles,
|
|
181
147
|
tabIndex: 0,
|
|
182
|
-
text: ((_props$
|
|
148
|
+
text: ((_props$controlProps20 = props.controlProps) === null || _props$controlProps20 === void 0 ? void 0 : _props$controlProps20.startNewChatButtonText) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.startNewChatButtonText,
|
|
183
149
|
onClick: handleStartNewChatClick,
|
|
184
150
|
id: elementId + "-startnewconversationbutton",
|
|
185
|
-
"aria-label": ((_props$
|
|
151
|
+
"aria-label": ((_props$controlProps21 = props.controlProps) === null || _props$controlProps21 === void 0 ? void 0 : _props$controlProps21.startNewChatButtonAriaLabel) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.startNewChatButtonAriaLabel
|
|
186
152
|
}))))));
|
|
187
153
|
}
|
|
188
|
-
|
|
189
|
-
var _default = ReconnectChatPane;
|
|
190
|
-
exports.default = _default;
|
|
154
|
+
var _default = exports.default = ReconnectChatPane;
|
|
@@ -4,10 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultReconnectChatPaneControlProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _Constants = require("../../../../../common/Constants");
|
|
9
|
-
|
|
10
|
-
const defaultReconnectChatPaneControlProps = {
|
|
8
|
+
const defaultReconnectChatPaneControlProps = exports.defaultReconnectChatPaneControlProps = {
|
|
11
9
|
id: _Constants.Ids.DefaultReconnectChatPaneId,
|
|
12
10
|
dir: "ltr",
|
|
13
11
|
hideReconnectChatPane: false,
|
|
@@ -34,5 +32,4 @@ const defaultReconnectChatPaneControlProps = {
|
|
|
34
32
|
onMinimize: function () {
|
|
35
33
|
console.log("on minimize");
|
|
36
34
|
}
|
|
37
|
-
};
|
|
38
|
-
exports.defaultReconnectChatPaneControlProps = defaultReconnectChatPaneControlProps;
|
|
35
|
+
};
|
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultReconnectChatPaneProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _defaultReconnectChatPaneStyles = require("../defaultStyles/defaultReconnectChatPaneStyles");
|
|
9
|
-
|
|
10
8
|
var _defaultReconnectChatPaneControlProps = require("./defaultReconnectChatPaneControlProps");
|
|
11
|
-
|
|
12
|
-
const defaultReconnectChatPaneProps = {
|
|
9
|
+
const defaultReconnectChatPaneProps = exports.defaultReconnectChatPaneProps = {
|
|
13
10
|
controlProps: _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps,
|
|
14
11
|
styleProps: _defaultReconnectChatPaneStyles.defaultReconnectChatPaneStyles
|
|
15
|
-
};
|
|
16
|
-
exports.defaultReconnectChatPaneProps = defaultReconnectChatPaneProps;
|
|
12
|
+
};
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultReconnectChatPaneButtonGroupStyles = void 0;
|
|
7
|
-
const defaultReconnectChatPaneButtonGroupStyles = {
|
|
7
|
+
const defaultReconnectChatPaneButtonGroupStyles = exports.defaultReconnectChatPaneButtonGroupStyles = {
|
|
8
8
|
alignItems: "stretch"
|
|
9
|
-
};
|
|
10
|
-
exports.defaultReconnectChatPaneButtonGroupStyles = defaultReconnectChatPaneButtonGroupStyles;
|
|
9
|
+
};
|
|
@@ -4,12 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultReconnectChatPaneContinueChatFocusedStyles = void 0;
|
|
7
|
-
const defaultReconnectChatPaneContinueChatFocusedStyles = {
|
|
7
|
+
const defaultReconnectChatPaneContinueChatFocusedStyles = exports.defaultReconnectChatPaneContinueChatFocusedStyles = {
|
|
8
8
|
content: "",
|
|
9
9
|
inset: "0px",
|
|
10
10
|
border: "1px solid transparent",
|
|
11
11
|
outline: "rgb(96,94,92) solid 1px",
|
|
12
12
|
zIndex: 1,
|
|
13
13
|
boxShadow: "inset 0px 0px 0px 2px #fff"
|
|
14
|
-
};
|
|
15
|
-
exports.defaultReconnectChatPaneContinueChatFocusedStyles = defaultReconnectChatPaneContinueChatFocusedStyles;
|
|
14
|
+
};
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultReconnectChatPaneContinueChatButtonHoveredStyles = void 0;
|
|
7
|
-
const defaultReconnectChatPaneContinueChatButtonHoveredStyles = {
|
|
7
|
+
const defaultReconnectChatPaneContinueChatButtonHoveredStyles = exports.defaultReconnectChatPaneContinueChatButtonHoveredStyles = {
|
|
8
8
|
filter: "brightness(0.8)"
|
|
9
|
-
};
|
|
10
|
-
exports.defaultReconnectChatPaneContinueChatButtonHoveredStyles = defaultReconnectChatPaneContinueChatButtonHoveredStyles;
|
|
9
|
+
};
|