@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,10 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultPostChatSurveyPaneStyles = void 0;
|
|
7
|
-
|
|
8
7
|
var _defaultPostChatSurveyPaneGeneralStyles = require("./defaultPostChatSurveyPaneGeneralStyles");
|
|
9
|
-
|
|
10
|
-
const defaultPostChatSurveyPaneStyles = {
|
|
8
|
+
const defaultPostChatSurveyPaneStyles = exports.defaultPostChatSurveyPaneStyles = {
|
|
11
9
|
generalStyleProps: _defaultPostChatSurveyPaneGeneralStyles.defaultPostChatSurveyPaneGeneralStyles
|
|
12
|
-
};
|
|
13
|
-
exports.defaultPostChatSurveyPaneStyles = defaultPostChatSurveyPaneStyles;
|
|
10
|
+
};
|
|
@@ -4,10 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetOnePostChatSurveyPaneControlProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _defaultPostChatSurveyPaneControlProps = require("../defaultProps/defaultPostChatSurveyPaneControlProps");
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
const presetOnePostChatSurveyPaneControlProps = exports.presetOnePostChatSurveyPaneControlProps = {
|
|
9
|
+
..._defaultPostChatSurveyPaneControlProps.defaultPostChatSurveyPaneControlProps,
|
|
11
10
|
id: "lcw-postchat-survey-pane-preset1"
|
|
12
|
-
};
|
|
13
|
-
exports.presetOnePostChatSurveyPaneControlProps = presetOnePostChatSurveyPaneControlProps;
|
|
11
|
+
};
|
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetOnePostChatSurveyPaneProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _presetOnePostChatSurveyPaneControlProps = require("./presetOnePostChatSurveyPaneControlProps");
|
|
9
|
-
|
|
10
8
|
var _presetOnePostChatSurveyPaneStyles = require("./presetOneStyles/presetOnePostChatSurveyPaneStyles");
|
|
11
|
-
|
|
12
|
-
const presetOnePostChatSurveyPaneProps = {
|
|
9
|
+
const presetOnePostChatSurveyPaneProps = exports.presetOnePostChatSurveyPaneProps = {
|
|
13
10
|
controlProps: _presetOnePostChatSurveyPaneControlProps.presetOnePostChatSurveyPaneControlProps,
|
|
14
11
|
styleProps: _presetOnePostChatSurveyPaneStyles.presetOnePostChatSurveyPaneStyles
|
|
15
|
-
};
|
|
16
|
-
exports.presetOnePostChatSurveyPaneProps = presetOnePostChatSurveyPaneProps;
|
|
12
|
+
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetOnePostChatSurveyPaneGeneralStyles = void 0;
|
|
7
|
-
const presetOnePostChatSurveyPaneGeneralStyles = {
|
|
7
|
+
const presetOnePostChatSurveyPaneGeneralStyles = exports.presetOnePostChatSurveyPaneGeneralStyles = {
|
|
8
8
|
borderStyle: "solid",
|
|
9
9
|
borderRadius: "4px",
|
|
10
10
|
borderWidth: "3px",
|
|
@@ -15,5 +15,4 @@ const presetOnePostChatSurveyPaneGeneralStyles = {
|
|
|
15
15
|
top: "20%",
|
|
16
16
|
backgroundColor: "#FFFFFF",
|
|
17
17
|
borderColor: "#FFFFFF"
|
|
18
|
-
};
|
|
19
|
-
exports.presetOnePostChatSurveyPaneGeneralStyles = presetOnePostChatSurveyPaneGeneralStyles;
|
|
18
|
+
};
|
|
@@ -4,10 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetOnePostChatSurveyPaneStyles = void 0;
|
|
7
|
-
|
|
8
7
|
var _presetOnePostChatSurveyPaneGeneralStyles = require("./presetOnePostChatSurveyPaneGeneralStyles");
|
|
9
|
-
|
|
10
|
-
const presetOnePostChatSurveyPaneStyles = {
|
|
8
|
+
const presetOnePostChatSurveyPaneStyles = exports.presetOnePostChatSurveyPaneStyles = {
|
|
11
9
|
generalStyleProps: _presetOnePostChatSurveyPaneGeneralStyles.presetOnePostChatSurveyPaneGeneralStyles
|
|
12
|
-
};
|
|
13
|
-
exports.presetOnePostChatSurveyPaneStyles = presetOnePostChatSurveyPaneStyles;
|
|
10
|
+
};
|
|
@@ -4,34 +4,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var AdaptiveCards = _interopRequireWildcard(require("adaptivecards"));
|
|
9
|
-
|
|
10
8
|
var _Constants = require("../../common/Constants");
|
|
11
|
-
|
|
12
9
|
var _react = require("@fluentui/react");
|
|
13
|
-
|
|
14
10
|
var _react2 = _interopRequireWildcard(require("react"));
|
|
15
|
-
|
|
16
11
|
var _utils = require("../../common/utils");
|
|
17
|
-
|
|
18
12
|
var _BroadcastService = require("../../services/BroadcastService");
|
|
19
|
-
|
|
20
13
|
var _defaultPreChatSurveyPaneACContainerStyles = require("./common/defaultProps/defaultStyles/defaultPreChatSurveyPaneACContainerStyles");
|
|
21
|
-
|
|
22
14
|
var _defaultPreChatSurveyPaneControlProps = require("./common/defaultProps/defaultPreChatSurveyPaneControlProps");
|
|
23
|
-
|
|
24
15
|
var _defaultPreChatSurveyPaneGeneralStyles = require("./common/defaultProps/defaultStyles/defaultPreChatSurveyPaneGeneralStyles");
|
|
25
|
-
|
|
26
16
|
var _defaultPreChatSurveyPaneStyles = require("./common/defaultProps/defaultStyles/defaultPreChatSurveyPaneStyles");
|
|
27
|
-
|
|
28
|
-
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); }
|
|
29
|
-
|
|
30
|
-
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; }
|
|
31
|
-
|
|
17
|
+
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); }
|
|
32
18
|
function PreChatSurveyPane(props) {
|
|
33
|
-
var _props$controlProps, _props$styleProps, _props$styleProps2, _props$styleProps3, _props$
|
|
34
|
-
|
|
19
|
+
var _props$controlProps, _props$styleProps, _props$styleProps2, _props$styleProps3, _props$styleProps4, _props$styleProps5, _props$styleProps6, _props$styleProps7, _props$styleProps8, _props$styleProps9, _props$styleProps0, _defaultPreChatSurvey, _props$styleProps1, _defaultPreChatSurvey2, _props$styleProps10, _props$styleProps11, _defaultPreChatSurvey3, _props$styleProps12, _defaultPreChatSurvey4, _props$styleProps13, _props$styleProps14, _defaultPreChatSurvey5, _props$styleProps15, _defaultPreChatSurvey6, _props$styleProps16, _defaultPreChatSurvey7, _props$styleProps17, _defaultPreChatSurvey8, _props$styleProps18, _defaultPreChatSurvey9, _props$styleProps19, _defaultPreChatSurvey0, _props$styleProps20, _defaultPreChatSurvey1, _props$styleProps21, _defaultPreChatSurvey10, _props$controlProps6, _props$controlProps7, _props$controlProps8;
|
|
35
20
|
const elementId = ((_props$controlProps = props.controlProps) === null || _props$controlProps === void 0 ? void 0 : _props$controlProps.id) ?? _defaultPreChatSurveyPaneControlProps.defaultPreChatSurveyPaneControlProps.id;
|
|
36
21
|
let adpativeCardPayload;
|
|
37
22
|
let adaptiveCardHostConfig;
|
|
@@ -40,106 +25,102 @@ function PreChatSurveyPane(props) {
|
|
|
40
25
|
};
|
|
41
26
|
const adaptiveCardContainerStyles = {
|
|
42
27
|
root: Object.assign({}, _defaultPreChatSurveyPaneACContainerStyles.defaultPreChatSurveyPaneACContainerStyles, (_props$styleProps2 = props.styleProps) === null || _props$styleProps2 === void 0 ? void 0 : _props$styleProps2.adaptiveCardContainerStyleProps)
|
|
43
|
-
};
|
|
28
|
+
};
|
|
44
29
|
|
|
30
|
+
// Parse AC Host Config String input to JSON Object
|
|
45
31
|
try {
|
|
46
32
|
var _props$controlProps2;
|
|
47
|
-
|
|
48
33
|
adaptiveCardHostConfig = JSON.parse(((_props$controlProps2 = props.controlProps) === null || _props$controlProps2 === void 0 ? void 0 : _props$controlProps2.adaptiveCardHostConfig) ?? _defaultPreChatSurveyPaneControlProps.defaultPreChatSurveyPaneControlProps.adaptiveCardHostConfig);
|
|
49
34
|
} catch (error) {
|
|
50
35
|
adaptiveCardHostConfig = "{}";
|
|
51
36
|
(0, _utils.broadcastError)(elementId, error, "adaptiveCardHostConfig", _Constants.ElementType.PreChatSurveyError);
|
|
52
|
-
}
|
|
53
|
-
|
|
37
|
+
}
|
|
54
38
|
|
|
39
|
+
// Parse AC Payload String input to JSON Object
|
|
55
40
|
try {
|
|
56
41
|
var _props$controlProps3;
|
|
57
|
-
|
|
58
42
|
adpativeCardPayload = JSON.parse(((_props$controlProps3 = props.controlProps) === null || _props$controlProps3 === void 0 ? void 0 : _props$controlProps3.payload) ?? _defaultPreChatSurveyPaneControlProps.defaultPreChatSurveyPaneControlProps.payload);
|
|
59
43
|
} catch (error) {
|
|
60
44
|
adpativeCardPayload = "{}";
|
|
61
45
|
(0, _utils.broadcastError)(elementId, error, "adpativeCardPayload", _Constants.ElementType.PreChatSurveyError);
|
|
62
|
-
}
|
|
63
|
-
|
|
46
|
+
}
|
|
64
47
|
|
|
48
|
+
//On Submit Click Action
|
|
65
49
|
const handleSubmitClick = (0, _react2.useCallback)(() => {
|
|
66
50
|
var _props$controlProps4;
|
|
67
|
-
|
|
68
51
|
const values = (0, _utils.getInputValuesFromAdaptiveCard)(adaptiveCard);
|
|
69
|
-
|
|
70
52
|
if ((_props$controlProps4 = props.controlProps) !== null && _props$controlProps4 !== void 0 && _props$controlProps4.onSubmit) {
|
|
71
53
|
var _props$controlProps5;
|
|
72
|
-
|
|
73
54
|
const customEvent = {
|
|
74
55
|
elementType: _Constants.ElementType.PreChatSurveySubmitButton,
|
|
75
56
|
elementId: elementId,
|
|
76
57
|
eventName: _Constants.EventNames.OnClick
|
|
77
58
|
};
|
|
78
|
-
|
|
79
59
|
_BroadcastService.BroadcastService.postMessage(customEvent);
|
|
80
|
-
|
|
81
|
-
(_props$controlProps5 = props.controlProps) === null || _props$controlProps5 === void 0 ? void 0 : _props$controlProps5.onSubmit(values);
|
|
60
|
+
(_props$controlProps5 = props.controlProps) === null || _props$controlProps5 === void 0 || _props$controlProps5.onSubmit(values);
|
|
82
61
|
}
|
|
83
|
-
}, []);
|
|
62
|
+
}, []);
|
|
84
63
|
|
|
64
|
+
//Adaptive Card Initilializations
|
|
85
65
|
AdaptiveCards.GlobalSettings.setTabIndexAtCardRoot = false;
|
|
86
66
|
const adaptiveCard = new AdaptiveCards.AdaptiveCard();
|
|
87
67
|
adaptiveCard.hostConfig = new AdaptiveCards.HostConfig(adaptiveCardHostConfig);
|
|
88
68
|
adaptiveCard.parse(adpativeCardPayload);
|
|
89
|
-
adaptiveCard.onExecuteAction = handleSubmitClick;
|
|
69
|
+
adaptiveCard.onExecuteAction = handleSubmitClick;
|
|
90
70
|
|
|
71
|
+
// Render the card
|
|
91
72
|
const renderedCard = adaptiveCard.render();
|
|
92
73
|
(0, _utils.addNoreferrerNoopenerTag)(renderedCard);
|
|
93
74
|
return /*#__PURE__*/_react2.default.createElement(_react2.default.Fragment, null, /*#__PURE__*/_react2.default.createElement("style", null, `
|
|
94
75
|
.ac-textBlock {
|
|
95
|
-
font-size: ${(_props$styleProps3 = props.styleProps) === null || _props$styleProps3 === void 0
|
|
96
|
-
height: ${(_props$styleProps4 = props.styleProps) === null || _props$styleProps4 === void 0
|
|
97
|
-
padding-top: ${(_props$styleProps5 = props.styleProps) === null || _props$styleProps5 === void 0
|
|
98
|
-
font-family: ${(_props$styleProps6 = props.styleProps) === null || _props$styleProps6 === void 0
|
|
76
|
+
font-size: ${(_props$styleProps3 = props.styleProps) === null || _props$styleProps3 === void 0 || (_props$styleProps3 = _props$styleProps3.customTextStyleProps) === null || _props$styleProps3 === void 0 ? void 0 : _props$styleProps3.fontSize} !important;
|
|
77
|
+
height: ${(_props$styleProps4 = props.styleProps) === null || _props$styleProps4 === void 0 || (_props$styleProps4 = _props$styleProps4.customTextStyleProps) === null || _props$styleProps4 === void 0 ? void 0 : _props$styleProps4.height};
|
|
78
|
+
padding-top: ${(_props$styleProps5 = props.styleProps) === null || _props$styleProps5 === void 0 || (_props$styleProps5 = _props$styleProps5.customTextStyleProps) === null || _props$styleProps5 === void 0 ? void 0 : _props$styleProps5.paddingTop};
|
|
79
|
+
font-family: ${(_props$styleProps6 = props.styleProps) === null || _props$styleProps6 === void 0 || (_props$styleProps6 = _props$styleProps6.customTextStyleProps) === null || _props$styleProps6 === void 0 ? void 0 : _props$styleProps6.fontFamily};
|
|
99
80
|
overflow-wrap: break-word;
|
|
100
81
|
white-space: normal !important;
|
|
101
82
|
}
|
|
102
83
|
.ac-textRun {
|
|
103
|
-
font-size: ${(_props$styleProps7 = props.styleProps) === null || _props$styleProps7 === void 0
|
|
104
|
-
padding-top: ${(_props$styleProps8 = props.styleProps) === null || _props$styleProps8 === void 0
|
|
84
|
+
font-size: ${(_props$styleProps7 = props.styleProps) === null || _props$styleProps7 === void 0 || (_props$styleProps7 = _props$styleProps7.customTextStyleProps) === null || _props$styleProps7 === void 0 ? void 0 : _props$styleProps7.fontSize} !important;
|
|
85
|
+
padding-top: ${(_props$styleProps8 = props.styleProps) === null || _props$styleProps8 === void 0 || (_props$styleProps8 = _props$styleProps8.customTextStyleProps) === null || _props$styleProps8 === void 0 ? void 0 : _props$styleProps8.paddingTop};
|
|
105
86
|
}
|
|
106
87
|
.ac-input {
|
|
107
88
|
margin-bottom: 6px;
|
|
108
89
|
}
|
|
109
90
|
.ac-input.ac-textInput {
|
|
110
|
-
font-size: ${(_props$styleProps9 = props.styleProps) === null || _props$styleProps9 === void 0
|
|
111
|
-
font-family: ${((_props$
|
|
112
|
-
height: ${((_props$
|
|
91
|
+
font-size: ${(_props$styleProps9 = props.styleProps) === null || _props$styleProps9 === void 0 || (_props$styleProps9 = _props$styleProps9.customTextInputStyleProps) === null || _props$styleProps9 === void 0 ? void 0 : _props$styleProps9.fontSize};
|
|
92
|
+
font-family: ${((_props$styleProps0 = props.styleProps) === null || _props$styleProps0 === void 0 || (_props$styleProps0 = _props$styleProps0.customTextInputStyleProps) === null || _props$styleProps0 === void 0 ? void 0 : _props$styleProps0.fontFamily) ?? ((_defaultPreChatSurvey = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customTextInputStyleProps) === null || _defaultPreChatSurvey === void 0 ? void 0 : _defaultPreChatSurvey.fontFamily)};
|
|
93
|
+
height: ${((_props$styleProps1 = props.styleProps) === null || _props$styleProps1 === void 0 || (_props$styleProps1 = _props$styleProps1.customTextInputStyleProps) === null || _props$styleProps1 === void 0 ? void 0 : _props$styleProps1.height) ?? ((_defaultPreChatSurvey2 = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customTextInputStyleProps) === null || _defaultPreChatSurvey2 === void 0 ? void 0 : _defaultPreChatSurvey2.height)};
|
|
113
94
|
padding: 8px;
|
|
114
95
|
}
|
|
115
96
|
.ac-input.ac-textInput.ac-multiline {
|
|
116
|
-
font-size: ${(_props$
|
|
117
|
-
font-family: ${((_props$
|
|
118
|
-
height: ${((_props$
|
|
97
|
+
font-size: ${(_props$styleProps10 = props.styleProps) === null || _props$styleProps10 === void 0 || (_props$styleProps10 = _props$styleProps10.customMultilineTextInputStyleProps) === null || _props$styleProps10 === void 0 ? void 0 : _props$styleProps10.fontSize};
|
|
98
|
+
font-family: ${((_props$styleProps11 = props.styleProps) === null || _props$styleProps11 === void 0 || (_props$styleProps11 = _props$styleProps11.customMultilineTextInputStyleProps) === null || _props$styleProps11 === void 0 ? void 0 : _props$styleProps11.fontFamily) ?? ((_defaultPreChatSurvey3 = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customMultilineTextInputStyleProps) === null || _defaultPreChatSurvey3 === void 0 ? void 0 : _defaultPreChatSurvey3.fontFamily)};
|
|
99
|
+
height: ${((_props$styleProps12 = props.styleProps) === null || _props$styleProps12 === void 0 || (_props$styleProps12 = _props$styleProps12.customMultilineTextInputStyleProps) === null || _props$styleProps12 === void 0 ? void 0 : _props$styleProps12.height) ?? ((_defaultPreChatSurvey4 = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customMultilineTextInputStyleProps) === null || _defaultPreChatSurvey4 === void 0 ? void 0 : _defaultPreChatSurvey4.height)};
|
|
119
100
|
resize: none;
|
|
120
101
|
}
|
|
121
102
|
.ac-input.ac-multichoiceInput {
|
|
122
|
-
font-size: ${(_props$
|
|
123
|
-
font-family: ${((_props$
|
|
103
|
+
font-size: ${(_props$styleProps13 = props.styleProps) === null || _props$styleProps13 === void 0 || (_props$styleProps13 = _props$styleProps13.customMultichoiceInputStyleProps) === null || _props$styleProps13 === void 0 ? void 0 : _props$styleProps13.fontSize};
|
|
104
|
+
font-family: ${((_props$styleProps14 = props.styleProps) === null || _props$styleProps14 === void 0 || (_props$styleProps14 = _props$styleProps14.customMultichoiceInputStyleProps) === null || _props$styleProps14 === void 0 ? void 0 : _props$styleProps14.fontFamily) ?? ((_defaultPreChatSurvey5 = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customMultichoiceInputStyleProps) === null || _defaultPreChatSurvey5 === void 0 ? void 0 : _defaultPreChatSurvey5.fontFamily)};
|
|
124
105
|
padding: 3px;
|
|
125
106
|
padding-top: 7px;
|
|
126
107
|
padding-bottom: 7px;
|
|
127
108
|
}
|
|
128
109
|
.ac-input.ac-toggleInput {
|
|
129
|
-
align-items: ${((_props$
|
|
110
|
+
align-items: ${((_props$styleProps15 = props.styleProps) === null || _props$styleProps15 === void 0 || (_props$styleProps15 = _props$styleProps15.customToggleInputStyleProps) === null || _props$styleProps15 === void 0 ? void 0 : _props$styleProps15.alignItems) ?? ((_defaultPreChatSurvey6 = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customToggleInputStyleProps) === null || _defaultPreChatSurvey6 === void 0 ? void 0 : _defaultPreChatSurvey6.alignItems)} !important;
|
|
130
111
|
}
|
|
131
112
|
.ac-pushButton {
|
|
132
113
|
border: 1px solid #00000000;
|
|
133
114
|
margin: 2px;
|
|
134
|
-
height: ${((_props$
|
|
135
|
-
width: ${((_props$
|
|
115
|
+
height: ${((_props$styleProps16 = props.styleProps) === null || _props$styleProps16 === void 0 || (_props$styleProps16 = _props$styleProps16.customButtonStyleProps) === null || _props$styleProps16 === void 0 ? void 0 : _props$styleProps16.height) ?? ((_defaultPreChatSurvey7 = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customButtonStyleProps) === null || _defaultPreChatSurvey7 === void 0 ? void 0 : _defaultPreChatSurvey7.height)};
|
|
116
|
+
width: ${((_props$styleProps17 = props.styleProps) === null || _props$styleProps17 === void 0 || (_props$styleProps17 = _props$styleProps17.customButtonStyleProps) === null || _props$styleProps17 === void 0 ? void 0 : _props$styleProps17.width) ?? ((_defaultPreChatSurvey8 = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customButtonStyleProps) === null || _defaultPreChatSurvey8 === void 0 ? void 0 : _defaultPreChatSurvey8.width)};
|
|
136
117
|
border-radius: 5px;
|
|
137
118
|
cursor: pointer;
|
|
138
119
|
font-weight: bold;
|
|
139
|
-
font-size: ${((_props$
|
|
140
|
-
font-family: ${((_props$
|
|
141
|
-
color: ${((_props$
|
|
142
|
-
background-color: ${((_props$
|
|
120
|
+
font-size: ${((_props$styleProps18 = props.styleProps) === null || _props$styleProps18 === void 0 || (_props$styleProps18 = _props$styleProps18.customButtonStyleProps) === null || _props$styleProps18 === void 0 ? void 0 : _props$styleProps18.fontSize) ?? ((_defaultPreChatSurvey9 = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customButtonStyleProps) === null || _defaultPreChatSurvey9 === void 0 ? void 0 : _defaultPreChatSurvey9.fontSize)};
|
|
121
|
+
font-family: ${((_props$styleProps19 = props.styleProps) === null || _props$styleProps19 === void 0 || (_props$styleProps19 = _props$styleProps19.customButtonStyleProps) === null || _props$styleProps19 === void 0 ? void 0 : _props$styleProps19.fontFamily) ?? ((_defaultPreChatSurvey0 = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customButtonStyleProps) === null || _defaultPreChatSurvey0 === void 0 ? void 0 : _defaultPreChatSurvey0.fontFamily)};
|
|
122
|
+
color: ${((_props$styleProps20 = props.styleProps) === null || _props$styleProps20 === void 0 || (_props$styleProps20 = _props$styleProps20.customButtonStyleProps) === null || _props$styleProps20 === void 0 ? void 0 : _props$styleProps20.color) ?? ((_defaultPreChatSurvey1 = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customButtonStyleProps) === null || _defaultPreChatSurvey1 === void 0 ? void 0 : _defaultPreChatSurvey1.color)};
|
|
123
|
+
background-color: ${((_props$styleProps21 = props.styleProps) === null || _props$styleProps21 === void 0 || (_props$styleProps21 = _props$styleProps21.customButtonStyleProps) === null || _props$styleProps21 === void 0 ? void 0 : _props$styleProps21.backgroundColor) ?? ((_defaultPreChatSurvey10 = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customButtonStyleProps) === null || _defaultPreChatSurvey10 === void 0 ? void 0 : _defaultPreChatSurvey10.backgroundColor)};
|
|
143
124
|
}`), !((_props$controlProps6 = props.controlProps) !== null && _props$controlProps6 !== void 0 && _props$controlProps6.hidePreChatSurveyPane) && /*#__PURE__*/_react2.default.createElement(_react.Stack, {
|
|
144
125
|
id: elementId,
|
|
145
126
|
tabIndex: -1,
|
|
@@ -157,6 +138,4 @@ function PreChatSurveyPane(props) {
|
|
|
157
138
|
}
|
|
158
139
|
}))));
|
|
159
140
|
}
|
|
160
|
-
|
|
161
|
-
var _default = PreChatSurveyPane;
|
|
162
|
-
exports.default = _default;
|
|
141
|
+
var _default = exports.default = PreChatSurveyPane;
|
|
@@ -4,10 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultPreChatSurveyPaneControlProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _Constants = require("../../../../common/Constants");
|
|
9
|
-
|
|
10
|
-
const defaultPreChatSurveyPaneControlProps = {
|
|
8
|
+
const defaultPreChatSurveyPaneControlProps = exports.defaultPreChatSurveyPaneControlProps = {
|
|
11
9
|
id: _Constants.Ids.DefaultPreChatSurveyPaneId,
|
|
12
10
|
dir: "auto",
|
|
13
11
|
role: "form",
|
|
@@ -18,5 +16,4 @@ const defaultPreChatSurveyPaneControlProps = {
|
|
|
18
16
|
onSubmit: function (values) {
|
|
19
17
|
console.log("on submit");
|
|
20
18
|
}
|
|
21
|
-
};
|
|
22
|
-
exports.defaultPreChatSurveyPaneControlProps = defaultPreChatSurveyPaneControlProps;
|
|
19
|
+
};
|
package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultPreChatSurveyPaneProps.js
CHANGED
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultPreChatSurveyPaneProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _defaultPreChatSurveyPaneStyles = require("./defaultStyles/defaultPreChatSurveyPaneStyles");
|
|
9
|
-
|
|
10
8
|
var _defaultPreChatSurveyPaneControlProps = require("./defaultPreChatSurveyPaneControlProps");
|
|
11
|
-
|
|
12
|
-
const defaultPreChatSurveyPaneProps = {
|
|
9
|
+
const defaultPreChatSurveyPaneProps = exports.defaultPreChatSurveyPaneProps = {
|
|
13
10
|
controlProps: _defaultPreChatSurveyPaneControlProps.defaultPreChatSurveyPaneControlProps,
|
|
14
11
|
styleProps: _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles
|
|
15
|
-
};
|
|
16
|
-
exports.defaultPreChatSurveyPaneProps = defaultPreChatSurveyPaneProps;
|
|
12
|
+
};
|
|
@@ -4,9 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultPreChatSurveyPaneACContainerStyles = void 0;
|
|
7
|
-
const defaultPreChatSurveyPaneACContainerStyles = {
|
|
7
|
+
const defaultPreChatSurveyPaneACContainerStyles = exports.defaultPreChatSurveyPaneACContainerStyles = {
|
|
8
8
|
border: "1px solid #ECECEC",
|
|
9
9
|
borderRadius: "4px",
|
|
10
10
|
margin: "3%"
|
|
11
|
-
};
|
|
12
|
-
exports.defaultPreChatSurveyPaneACContainerStyles = defaultPreChatSurveyPaneACContainerStyles;
|
|
11
|
+
};
|
|
@@ -4,12 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultPreChatSurveyPaneButtonStyles = void 0;
|
|
7
|
-
const defaultPreChatSurveyPaneButtonStyles = {
|
|
7
|
+
const defaultPreChatSurveyPaneButtonStyles = exports.defaultPreChatSurveyPaneButtonStyles = {
|
|
8
8
|
backgroundColor: "rgb(49, 95, 162)",
|
|
9
9
|
color: "#FFFFFF",
|
|
10
10
|
fontFamily: "Segoe UI, Arial, sans-serif",
|
|
11
11
|
fontSize: "15px",
|
|
12
12
|
height: "48px",
|
|
13
13
|
width: "auto"
|
|
14
|
-
};
|
|
15
|
-
exports.defaultPreChatSurveyPaneButtonStyles = defaultPreChatSurveyPaneButtonStyles;
|
|
14
|
+
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultPreChatSurveyPaneGeneralStyles = void 0;
|
|
7
|
-
const defaultPreChatSurveyPaneGeneralStyles = {
|
|
7
|
+
const defaultPreChatSurveyPaneGeneralStyles = exports.defaultPreChatSurveyPaneGeneralStyles = {
|
|
8
8
|
borderStyle: "solid",
|
|
9
9
|
borderRadius: "4px",
|
|
10
10
|
borderWidth: "3px",
|
|
@@ -13,5 +13,4 @@ const defaultPreChatSurveyPaneGeneralStyles = {
|
|
|
13
13
|
overflowY: "auto",
|
|
14
14
|
height: "inherit",
|
|
15
15
|
width: "inherit"
|
|
16
|
-
};
|
|
17
|
-
exports.defaultPreChatSurveyPaneGeneralStyles = defaultPreChatSurveyPaneGeneralStyles;
|
|
16
|
+
};
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultPreChatSurveyPaneMultichoiceInputStyles = void 0;
|
|
7
|
-
const defaultPreChatSurveyPaneMultichoiceInputStyles = {
|
|
7
|
+
const defaultPreChatSurveyPaneMultichoiceInputStyles = exports.defaultPreChatSurveyPaneMultichoiceInputStyles = {
|
|
8
8
|
fontFamily: "Segoe UI, Helvetica Neue, sans-serif"
|
|
9
|
-
};
|
|
10
|
-
exports.defaultPreChatSurveyPaneMultichoiceInputStyles = defaultPreChatSurveyPaneMultichoiceInputStyles;
|
|
9
|
+
};
|
|
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultPreChatSurveyPaneMultilineTextInputStyles = void 0;
|
|
7
|
-
const defaultPreChatSurveyPaneMultilineTextInputStyles = {
|
|
7
|
+
const defaultPreChatSurveyPaneMultilineTextInputStyles = exports.defaultPreChatSurveyPaneMultilineTextInputStyles = {
|
|
8
8
|
height: "52px",
|
|
9
9
|
fontFamily: "Segoe UI, Helvetica Neue, sans-serif"
|
|
10
|
-
};
|
|
11
|
-
exports.defaultPreChatSurveyPaneMultilineTextInputStyles = defaultPreChatSurveyPaneMultilineTextInputStyles;
|
|
10
|
+
};
|
|
@@ -4,22 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultPreChatSurveyPaneStyles = void 0;
|
|
7
|
-
|
|
8
7
|
var _defaultPreChatSurveyPaneACContainerStyles = require("./defaultPreChatSurveyPaneACContainerStyles");
|
|
9
|
-
|
|
10
8
|
var _defaultPreChatSurveyPaneButtonStyles = require("./defaultPreChatSurveyPaneButtonStyles");
|
|
11
|
-
|
|
12
9
|
var _defaultPreChatSurveyPaneGeneralStyles = require("./defaultPreChatSurveyPaneGeneralStyles");
|
|
13
|
-
|
|
14
10
|
var _defaultPreChatSurveyPaneMultilineTextInputStyles = require("./defaultPreChatSurveyPaneMultilineTextInputStyles");
|
|
15
|
-
|
|
16
11
|
var _defaultPreChatSurveyPaneTextInputStyles = require("./defaultPreChatSurveyPaneTextInputStyles");
|
|
17
|
-
|
|
18
12
|
var _defaultPreChatSurveyPaneMultichoiceInputStyles = require("./defaultPreChatSurveyPaneMultichoiceInputStyles");
|
|
19
|
-
|
|
20
13
|
var _defaultPreChatSurveyPaneToggleInputStyles = require("./defaultPreChatSurveyPaneToggleInputStyles");
|
|
21
|
-
|
|
22
|
-
const defaultPreChatSurveyPaneStyles = {
|
|
14
|
+
const defaultPreChatSurveyPaneStyles = exports.defaultPreChatSurveyPaneStyles = {
|
|
23
15
|
generalStyleProps: _defaultPreChatSurveyPaneGeneralStyles.defaultPreChatSurveyPaneGeneralStyles,
|
|
24
16
|
customButtonStyleProps: _defaultPreChatSurveyPaneButtonStyles.defaultPreChatSurveyPaneButtonStyles,
|
|
25
17
|
adaptiveCardContainerStyleProps: _defaultPreChatSurveyPaneACContainerStyles.defaultPreChatSurveyPaneACContainerStyles,
|
|
@@ -27,5 +19,4 @@ const defaultPreChatSurveyPaneStyles = {
|
|
|
27
19
|
customMultilineTextInputStyleProps: _defaultPreChatSurveyPaneMultilineTextInputStyles.defaultPreChatSurveyPaneMultilineTextInputStyles,
|
|
28
20
|
customMultichoiceInputStyleProps: _defaultPreChatSurveyPaneMultichoiceInputStyles.defaultPreChatSurveyPaneMultichoiceInputStyles,
|
|
29
21
|
customToggleInputStyleProps: _defaultPreChatSurveyPaneToggleInputStyles.defaultPreChatSurveyPaneToggleInputStyles
|
|
30
|
-
};
|
|
31
|
-
exports.defaultPreChatSurveyPaneStyles = defaultPreChatSurveyPaneStyles;
|
|
22
|
+
};
|
|
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultPreChatSurveyPaneTextInputStyles = void 0;
|
|
7
|
-
const defaultPreChatSurveyPaneTextInputStyles = {
|
|
7
|
+
const defaultPreChatSurveyPaneTextInputStyles = exports.defaultPreChatSurveyPaneTextInputStyles = {
|
|
8
8
|
height: "20px",
|
|
9
9
|
fontFamily: "Segoe UI, Helvetica Neue, sans-serif"
|
|
10
|
-
};
|
|
11
|
-
exports.defaultPreChatSurveyPaneTextInputStyles = defaultPreChatSurveyPaneTextInputStyles;
|
|
10
|
+
};
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultPreChatSurveyPaneToggleInputStyles = void 0;
|
|
7
|
-
const defaultPreChatSurveyPaneToggleInputStyles = {
|
|
7
|
+
const defaultPreChatSurveyPaneToggleInputStyles = exports.defaultPreChatSurveyPaneToggleInputStyles = {
|
|
8
8
|
alignItems: "baseline"
|
|
9
|
-
};
|
|
10
|
-
exports.defaultPreChatSurveyPaneToggleInputStyles = defaultPreChatSurveyPaneToggleInputStyles;
|
|
9
|
+
};
|
|
@@ -4,10 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetOnePreChatSurveyPaneControlProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _defaultPreChatSurveyPaneControlProps = require("../defaultProps/defaultPreChatSurveyPaneControlProps");
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
const presetOnePreChatSurveyPaneControlProps = exports.presetOnePreChatSurveyPaneControlProps = {
|
|
9
|
+
..._defaultPreChatSurveyPaneControlProps.defaultPreChatSurveyPaneControlProps,
|
|
11
10
|
dir: "rtl"
|
|
12
|
-
};
|
|
13
|
-
exports.presetOnePreChatSurveyPaneControlProps = presetOnePreChatSurveyPaneControlProps;
|
|
11
|
+
};
|
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetOnePreChatSurveyPaneProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _defaultPreChatSurveyPaneStyles = require("../defaultProps/defaultStyles/defaultPreChatSurveyPaneStyles");
|
|
9
|
-
|
|
10
8
|
var _presetOnePreChatSurveyPaneControlProps = require("./presetOnePreChatSurveyPaneControlProps");
|
|
11
|
-
|
|
12
|
-
const presetOnePreChatSurveyPaneProps = {
|
|
9
|
+
const presetOnePreChatSurveyPaneProps = exports.presetOnePreChatSurveyPaneProps = {
|
|
13
10
|
controlProps: _presetOnePreChatSurveyPaneControlProps.presetOnePreChatSurveyPaneControlProps,
|
|
14
11
|
styleProps: _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles
|
|
15
|
-
};
|
|
16
|
-
exports.presetOnePreChatSurveyPaneProps = presetOnePreChatSurveyPaneProps;
|
|
12
|
+
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreePreChatSurveyPaneControlProps = void 0;
|
|
7
|
-
const presetThreePreChatSurveyPaneControlProps = {
|
|
7
|
+
const presetThreePreChatSurveyPaneControlProps = exports.presetThreePreChatSurveyPaneControlProps = {
|
|
8
8
|
id: "lcw-prechat-survey-pane-preset3",
|
|
9
9
|
dir: "auto",
|
|
10
10
|
hidePreChatSurveyPane: false,
|
|
@@ -14,5 +14,4 @@ const presetThreePreChatSurveyPaneControlProps = {
|
|
|
14
14
|
onSubmit: function (values) {
|
|
15
15
|
console.log("on submit");
|
|
16
16
|
}
|
|
17
|
-
};
|
|
18
|
-
exports.presetThreePreChatSurveyPaneControlProps = presetThreePreChatSurveyPaneControlProps;
|
|
17
|
+
};
|
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreePreChatSurveyPaneProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _presetThreePreChatSurveyPaneStyles = require("./presetThreeStyles/presetThreePreChatSurveyPaneStyles");
|
|
9
|
-
|
|
10
8
|
var _presetThreePreChatSurveyPaneControlProps = require("./presetThreePreChatSurveyPaneControlProps");
|
|
11
|
-
|
|
12
|
-
const presetThreePreChatSurveyPaneProps = {
|
|
9
|
+
const presetThreePreChatSurveyPaneProps = exports.presetThreePreChatSurveyPaneProps = {
|
|
13
10
|
controlProps: _presetThreePreChatSurveyPaneControlProps.presetThreePreChatSurveyPaneControlProps,
|
|
14
11
|
styleProps: _presetThreePreChatSurveyPaneStyles.presetThreePreChatSurveyPaneStyles
|
|
15
|
-
};
|
|
16
|
-
exports.presetThreePreChatSurveyPaneProps = presetThreePreChatSurveyPaneProps;
|
|
12
|
+
};
|
|
@@ -4,9 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreePreChatSurveyPaneACContainerStyles = void 0;
|
|
7
|
-
const presetThreePreChatSurveyPaneACContainerStyles = {
|
|
7
|
+
const presetThreePreChatSurveyPaneACContainerStyles = exports.presetThreePreChatSurveyPaneACContainerStyles = {
|
|
8
8
|
border: "1px solid #C3F60F",
|
|
9
9
|
borderRadius: "4px",
|
|
10
10
|
margin: "10px 10px 0px 10px"
|
|
11
|
-
};
|
|
12
|
-
exports.presetThreePreChatSurveyPaneACContainerStyles = presetThreePreChatSurveyPaneACContainerStyles;
|
|
11
|
+
};
|
|
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreePreChatSurveyPaneButtonStyles = void 0;
|
|
7
|
-
const presetThreePreChatSurveyPaneButtonStyles = {
|
|
7
|
+
const presetThreePreChatSurveyPaneButtonStyles = exports.presetThreePreChatSurveyPaneButtonStyles = {
|
|
8
8
|
backgroundColor: "#C3F60F",
|
|
9
9
|
color: "#800080"
|
|
10
|
-
};
|
|
11
|
-
exports.presetThreePreChatSurveyPaneButtonStyles = presetThreePreChatSurveyPaneButtonStyles;
|
|
10
|
+
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreePreChatSurveyPaneGeneralStyles = void 0;
|
|
7
|
-
const presetThreePreChatSurveyPaneGeneralStyles = {
|
|
7
|
+
const presetThreePreChatSurveyPaneGeneralStyles = exports.presetThreePreChatSurveyPaneGeneralStyles = {
|
|
8
8
|
borderStyle: "solid",
|
|
9
9
|
borderWidth: "4px",
|
|
10
10
|
backgroundColor: "#6A1E7A",
|
|
@@ -14,5 +14,4 @@ const presetThreePreChatSurveyPaneGeneralStyles = {
|
|
|
14
14
|
left: "15%",
|
|
15
15
|
top: "20%",
|
|
16
16
|
overflowY: "auto"
|
|
17
|
-
};
|
|
18
|
-
exports.presetThreePreChatSurveyPaneGeneralStyles = presetThreePreChatSurveyPaneGeneralStyles;
|
|
17
|
+
};
|
|
@@ -4,16 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreePreChatSurveyPaneStyles = void 0;
|
|
7
|
-
|
|
8
7
|
var _presetThreePreChatSurveyPaneACContainerStyles = require("./presetThreePreChatSurveyPaneACContainerStyles");
|
|
9
|
-
|
|
10
8
|
var _presetThreePreChatSurveyPaneButtonStyles = require("./presetThreePreChatSurveyPaneButtonStyles");
|
|
11
|
-
|
|
12
9
|
var _presetThreePreChatSurveyPaneGeneralStyles = require("./presetThreePreChatSurveyPaneGeneralStyles");
|
|
13
|
-
|
|
14
|
-
const presetThreePreChatSurveyPaneStyles = {
|
|
10
|
+
const presetThreePreChatSurveyPaneStyles = exports.presetThreePreChatSurveyPaneStyles = {
|
|
15
11
|
generalStyleProps: _presetThreePreChatSurveyPaneGeneralStyles.presetThreePreChatSurveyPaneGeneralStyles,
|
|
16
12
|
customButtonStyleProps: _presetThreePreChatSurveyPaneButtonStyles.presetThreePreChatSurveyPaneButtonStyles,
|
|
17
13
|
adaptiveCardContainerStyleProps: _presetThreePreChatSurveyPaneACContainerStyles.presetThreePreChatSurveyPaneACContainerStyles
|
|
18
|
-
};
|
|
19
|
-
exports.presetThreePreChatSurveyPaneStyles = presetThreePreChatSurveyPaneStyles;
|
|
14
|
+
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoPreChatSurveyPaneControlProps = void 0;
|
|
7
|
-
const presetTwoPreChatSurveyPaneControlProps = {
|
|
7
|
+
const presetTwoPreChatSurveyPaneControlProps = exports.presetTwoPreChatSurveyPaneControlProps = {
|
|
8
8
|
id: "lcw-prechat-survey-pane-preset2",
|
|
9
9
|
dir: "auto",
|
|
10
10
|
hidePreChatSurveyPane: false,
|
|
@@ -14,5 +14,4 @@ const presetTwoPreChatSurveyPaneControlProps = {
|
|
|
14
14
|
onSubmit: function (values) {
|
|
15
15
|
console.log("on submit");
|
|
16
16
|
}
|
|
17
|
-
};
|
|
18
|
-
exports.presetTwoPreChatSurveyPaneControlProps = presetTwoPreChatSurveyPaneControlProps;
|
|
17
|
+
};
|
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoPreChatSurveyPaneProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _defaultPreChatSurveyPaneStyles = require("../defaultProps/defaultStyles/defaultPreChatSurveyPaneStyles");
|
|
9
|
-
|
|
10
8
|
var _presetTwoPreChatSurveyPaneControlProps = require("./presetTwoPreChatSurveyPaneControlProps");
|
|
11
|
-
|
|
12
|
-
const presetTwoPreChatSurveyPaneProps = {
|
|
9
|
+
const presetTwoPreChatSurveyPaneProps = exports.presetTwoPreChatSurveyPaneProps = {
|
|
13
10
|
controlProps: _presetTwoPreChatSurveyPaneControlProps.presetTwoPreChatSurveyPaneControlProps,
|
|
14
11
|
styleProps: _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles
|
|
15
|
-
};
|
|
16
|
-
exports.presetTwoPreChatSurveyPaneProps = presetTwoPreChatSurveyPaneProps;
|
|
12
|
+
};
|