@microsoft/omnichannel-chat-components 1.1.17-0 → 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,22 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreeLoadingPaneStyles = void 0;
|
|
7
|
-
|
|
8
7
|
var _presetThreeLoadingPaneGeneralStyles = require("./presetThreeLoadingPaneGeneralStyles");
|
|
9
|
-
|
|
10
8
|
var _presetThreeLoadingPaneIconStyles = require("./presetThreeLoadingPaneIconStyles");
|
|
11
|
-
|
|
12
9
|
var _presetThreeLoadingPaneIconImageProps = require("./presetThreeLoadingPaneIconImageProps");
|
|
13
|
-
|
|
14
10
|
var _presetThreeLoadingPaneSubtitleStyles = require("./presetThreeLoadingPaneSubtitleStyles");
|
|
15
|
-
|
|
16
11
|
var _presetThreeLoadingPaneTitleStyles = require("./presetThreeLoadingPaneTitleStyles");
|
|
17
|
-
|
|
18
12
|
var _presetThreeLoadingPaneSpinnerStyles = require("./presetThreeLoadingPaneSpinnerStyles");
|
|
19
|
-
|
|
20
13
|
var _presetThreeLoadingPaneSpinnerTextStyles = require("./presetThreeLoadingPaneSpinnerTextStyles");
|
|
21
|
-
|
|
22
|
-
const presetThreeLoadingPaneStyles = {
|
|
14
|
+
const presetThreeLoadingPaneStyles = exports.presetThreeLoadingPaneStyles = {
|
|
23
15
|
generalStyleProps: _presetThreeLoadingPaneGeneralStyles.presetThreeLoadingPaneGeneralStyles,
|
|
24
16
|
titleStyleProps: _presetThreeLoadingPaneTitleStyles.presetThreeLoadingPaneTitleStyles,
|
|
25
17
|
subtitleStyleProps: _presetThreeLoadingPaneSubtitleStyles.presetThreeLoadingPaneSubtitleStyles,
|
|
@@ -27,5 +19,4 @@ const presetThreeLoadingPaneStyles = {
|
|
|
27
19
|
iconImageProps: _presetThreeLoadingPaneIconImageProps.presetThreeLoadingPaneIconImageProps,
|
|
28
20
|
spinnerStyleProps: _presetThreeLoadingPaneSpinnerStyles.presetThreeLoadingPaneSpinnerStyles,
|
|
29
21
|
spinnerTextStyleProps: _presetThreeLoadingPaneSpinnerTextStyles.presetThreeLoadingPaneSpinnerTextStyles
|
|
30
|
-
};
|
|
31
|
-
exports.presetThreeLoadingPaneStyles = presetThreeLoadingPaneStyles;
|
|
22
|
+
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreeLoadingPaneSubtitleStyles = void 0;
|
|
7
|
-
const presetThreeLoadingPaneSubtitleStyles = {
|
|
7
|
+
const presetThreeLoadingPaneSubtitleStyles = exports.presetThreeLoadingPaneSubtitleStyles = {
|
|
8
8
|
fontFamily: "'Courier New', monospace",
|
|
9
9
|
fontWeight: "bold",
|
|
10
10
|
fontSize: "22px",
|
|
@@ -15,5 +15,4 @@ const presetThreeLoadingPaneSubtitleStyles = {
|
|
|
15
15
|
textAlign: "center",
|
|
16
16
|
order: 2,
|
|
17
17
|
alignSelf: "center"
|
|
18
|
-
};
|
|
19
|
-
exports.presetThreeLoadingPaneSubtitleStyles = presetThreeLoadingPaneSubtitleStyles;
|
|
18
|
+
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetThreeLoadingPaneTitleStyles = void 0;
|
|
7
|
-
const presetThreeLoadingPaneTitleStyles = {
|
|
7
|
+
const presetThreeLoadingPaneTitleStyles = exports.presetThreeLoadingPaneTitleStyles = {
|
|
8
8
|
fontFamily: "'Brush Script MT', cursive",
|
|
9
9
|
fontWeight: "normal",
|
|
10
10
|
fontSize: "17px",
|
|
@@ -15,5 +15,4 @@ const presetThreeLoadingPaneTitleStyles = {
|
|
|
15
15
|
textAlign: "center",
|
|
16
16
|
order: 1,
|
|
17
17
|
alignSelf: "auto"
|
|
18
|
-
};
|
|
19
|
-
exports.presetThreeLoadingPaneTitleStyles = presetThreeLoadingPaneTitleStyles;
|
|
18
|
+
};
|
package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneControlProps.js
CHANGED
|
@@ -4,17 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoLoadingPaneControlProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = require("@fluentui/react");
|
|
9
|
-
|
|
10
8
|
var _defaultLoadingPaneControlProps = require("../defaultProps/defaultLoadingPaneControlProps");
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
const presetTwoLoadingPaneControlProps = exports.presetTwoLoadingPaneControlProps = {
|
|
10
|
+
..._defaultLoadingPaneControlProps.defaultLoadingPaneControlProps,
|
|
13
11
|
id: "lcw-loading-pane-preset2",
|
|
14
12
|
hideIcon: true,
|
|
15
13
|
hideTitle: true,
|
|
16
14
|
hideSubtitle: true,
|
|
17
15
|
hideSpinnerText: true,
|
|
18
16
|
spinnerSize: _react.SpinnerSize.large
|
|
19
|
-
};
|
|
20
|
-
exports.presetTwoLoadingPaneControlProps = presetTwoLoadingPaneControlProps;
|
|
17
|
+
};
|
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoLoadingPaneProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _presetTwoLoadingPaneStyles = require("./presetTwoStyles/presetTwoLoadingPaneStyles");
|
|
9
|
-
|
|
10
8
|
var _presetTwoLoadingPaneControlProps = require("./presetTwoLoadingPaneControlProps");
|
|
11
|
-
|
|
12
|
-
const presetTwoLoadingPaneProps = {
|
|
9
|
+
const presetTwoLoadingPaneProps = exports.presetTwoLoadingPaneProps = {
|
|
13
10
|
controlProps: _presetTwoLoadingPaneControlProps.presetTwoLoadingPaneControlProps,
|
|
14
11
|
styleProps: _presetTwoLoadingPaneStyles.presetTwoLoadingPaneStyles
|
|
15
|
-
};
|
|
16
|
-
exports.presetTwoLoadingPaneProps = presetTwoLoadingPaneProps;
|
|
12
|
+
};
|
|
@@ -4,10 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoLoadingPaneGeneralStyles = void 0;
|
|
7
|
-
|
|
8
7
|
var _Icons = require("../../../../../assets/Icons");
|
|
9
|
-
|
|
10
|
-
const presetTwoLoadingPaneGeneralStyles = {
|
|
8
|
+
const presetTwoLoadingPaneGeneralStyles = exports.presetTwoLoadingPaneGeneralStyles = {
|
|
11
9
|
borderStyle: "dotted",
|
|
12
10
|
borderRadius: "50%",
|
|
13
11
|
borderWidth: "5px",
|
|
@@ -26,5 +24,4 @@ const presetTwoLoadingPaneGeneralStyles = {
|
|
|
26
24
|
justifyContent: "center",
|
|
27
25
|
alignItems: "left",
|
|
28
26
|
flexFlow: "row wrap"
|
|
29
|
-
};
|
|
30
|
-
exports.presetTwoLoadingPaneGeneralStyles = presetTwoLoadingPaneGeneralStyles;
|
|
27
|
+
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoLoadingPaneSpinnerStyles = void 0;
|
|
7
|
-
const presetTwoLoadingPaneSpinnerStyles = {
|
|
7
|
+
const presetTwoLoadingPaneSpinnerStyles = exports.presetTwoLoadingPaneSpinnerStyles = {
|
|
8
8
|
backgroundColor: "black",
|
|
9
9
|
borderRadius: "40%",
|
|
10
10
|
backgroundSize: "50px",
|
|
@@ -13,5 +13,4 @@ const presetTwoLoadingPaneSpinnerStyles = {
|
|
|
13
13
|
margin: "250px 0px 0px 0px",
|
|
14
14
|
order: 1,
|
|
15
15
|
alignSelf: "center"
|
|
16
|
-
};
|
|
17
|
-
exports.presetTwoLoadingPaneSpinnerStyles = presetTwoLoadingPaneSpinnerStyles;
|
|
16
|
+
};
|
|
@@ -4,22 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoLoadingPaneStyles = void 0;
|
|
7
|
-
|
|
8
7
|
var _presetTwoLoadingPaneGeneralStyles = require("./presetTwoLoadingPaneGeneralStyles");
|
|
9
|
-
|
|
10
8
|
var _presetTwoLoadingPaneSpinnerStyles = require("./presetTwoLoadingPaneSpinnerStyles");
|
|
11
|
-
|
|
12
9
|
var _defaultLoadingPaneTitleStyles = require("../../defaultProps/defaultStyles/defaultLoadingPaneTitleStyles");
|
|
13
|
-
|
|
14
10
|
var _defaultLoadingPaneSubtitleStyles = require("../../defaultProps/defaultStyles/defaultLoadingPaneSubtitleStyles");
|
|
15
|
-
|
|
16
11
|
var _defaultLoadingPaneIconStyles = require("../../defaultProps/defaultStyles/defaultLoadingPaneIconStyles");
|
|
17
|
-
|
|
18
12
|
var _defaultLoadingPaneIconImageProps = require("../../defaultProps/defaultStyles/defaultLoadingPaneIconImageProps");
|
|
19
|
-
|
|
20
13
|
var _defaultLoadingPaneSpinnerTextStyles = require("../../defaultProps/defaultStyles/defaultLoadingPaneSpinnerTextStyles");
|
|
21
|
-
|
|
22
|
-
const presetTwoLoadingPaneStyles = {
|
|
14
|
+
const presetTwoLoadingPaneStyles = exports.presetTwoLoadingPaneStyles = {
|
|
23
15
|
generalStyleProps: _presetTwoLoadingPaneGeneralStyles.presetTwoLoadingPaneGeneralStyles,
|
|
24
16
|
titleStyleProps: _defaultLoadingPaneTitleStyles.defaultLoadingPaneTitleStyles,
|
|
25
17
|
subtitleStyleProps: _defaultLoadingPaneSubtitleStyles.defaultLoadingPaneSubtitleStyles,
|
|
@@ -27,5 +19,4 @@ const presetTwoLoadingPaneStyles = {
|
|
|
27
19
|
iconImageProps: _defaultLoadingPaneIconImageProps.defaultLoadingPaneIconImageProps,
|
|
28
20
|
spinnerStyleProps: _presetTwoLoadingPaneSpinnerStyles.presetTwoLoadingPaneSpinnerStyles,
|
|
29
21
|
spinnerTextStyleProps: _defaultLoadingPaneSpinnerTextStyles.defaultLoadingPaneSpinnerTextStyles
|
|
30
|
-
};
|
|
31
|
-
exports.presetTwoLoadingPaneStyles = presetTwoLoadingPaneStyles;
|
|
22
|
+
};
|
|
@@ -4,26 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _react2 = require("@fluentui/react");
|
|
11
|
-
|
|
12
9
|
var _DismissButton = _interopRequireDefault(require("./subcomponents/DismissButton"));
|
|
13
|
-
|
|
14
10
|
var _CloseChatButton = _interopRequireDefault(require("./subcomponents/CloseChatButton"));
|
|
15
|
-
|
|
16
11
|
var _decodeComponentString = require("../../common/decodeComponentString");
|
|
17
|
-
|
|
18
12
|
var _Constants = require("../../common/Constants");
|
|
19
|
-
|
|
20
|
-
function
|
|
21
|
-
|
|
22
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
23
|
-
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
24
15
|
function NotificationPane(props) {
|
|
25
16
|
var _props$componentOverr, _props$componentOverr2, _props$componentOverr3, _props$componentOverr4, _props$componentOverr5, _props$dismissButtonP, _props$closeChatButto;
|
|
26
|
-
|
|
27
17
|
const elementId = props.id ?? _Constants.Ids.DefaultNotificationPaneId;
|
|
28
18
|
const containerStyles = {
|
|
29
19
|
root: Object.assign({}, props.generalStyleProps)
|
|
@@ -120,6 +110,4 @@ function NotificationPane(props) {
|
|
|
120
110
|
hoverStyles: closeChatButtonHoverStyles
|
|
121
111
|
})))));
|
|
122
112
|
}
|
|
123
|
-
|
|
124
|
-
var _default = NotificationPane;
|
|
125
|
-
exports.default = _default;
|
|
113
|
+
var _default = exports.default = NotificationPane;
|
|
@@ -4,15 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _Constants = require("../../../common/Constants");
|
|
11
|
-
|
|
12
9
|
var _CommandButton = _interopRequireDefault(require("../../common/commandbutton/CommandButton"));
|
|
13
|
-
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
11
|
function CloseChatButton(props) {
|
|
17
12
|
const {
|
|
18
13
|
type
|
|
@@ -38,6 +33,4 @@ function CloseChatButton(props) {
|
|
|
38
33
|
hideButtonTitle: props.hideButtonTitle
|
|
39
34
|
});
|
|
40
35
|
}
|
|
41
|
-
|
|
42
|
-
var _default = CloseChatButton;
|
|
43
|
-
exports.default = _default;
|
|
36
|
+
var _default = exports.default = CloseChatButton;
|
|
@@ -4,15 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _Constants = require("../../../common/Constants");
|
|
11
|
-
|
|
12
9
|
var _CommandButton = _interopRequireDefault(require("../../common/commandbutton/CommandButton"));
|
|
13
|
-
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
11
|
function DismissButton(props) {
|
|
17
12
|
const {
|
|
18
13
|
type
|
|
@@ -38,6 +33,4 @@ function DismissButton(props) {
|
|
|
38
33
|
hideButtonTitle: props.hideButtonTitle
|
|
39
34
|
});
|
|
40
35
|
}
|
|
41
|
-
|
|
42
|
-
var _default = DismissButton;
|
|
43
|
-
exports.default = _default;
|
|
36
|
+
var _default = exports.default = DismissButton;
|
|
@@ -4,26 +4,16 @@ 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 = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
9
|
var _decodeComponentString = require("../../common/decodeComponentString");
|
|
13
|
-
|
|
14
10
|
var _defaultOOOHPaneControlProps = require("./common/defaultProps/defaultOOOHPaneControlProps");
|
|
15
|
-
|
|
16
11
|
var _defaultOOOHPaneGeneralStyles = require("./common/defaultProps/defaultStyles/defaultOOOHPaneGeneralStyles");
|
|
17
|
-
|
|
18
12
|
var _defaultOOOHPaneTitleStyles = require("./common/defaultProps/defaultStyles/defaultOOOHPaneTitleStyles");
|
|
19
|
-
|
|
20
13
|
var _utils = require("../../common/utils");
|
|
21
|
-
|
|
22
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
|
-
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
24
15
|
function OOOHPane(props) {
|
|
25
|
-
var _props$controlProps, _props$styleProps, _props$styleProps2, _props$controlProps2, _props$controlProps3, _props$controlProps4, _props$controlProps5, _props$styleProps3, _props$
|
|
26
|
-
|
|
16
|
+
var _props$controlProps, _props$styleProps, _props$styleProps2, _props$controlProps2, _props$controlProps3, _props$controlProps4, _props$controlProps5, _props$styleProps3, _props$controlProps6, _props$controlProps7, _props$componentOverr, _props$styleProps4;
|
|
27
17
|
const elementId = ((_props$controlProps = props.controlProps) === null || _props$controlProps === void 0 ? void 0 : _props$controlProps.id) ?? _defaultOOOHPaneControlProps.defaultOOOHPaneControlProps.id;
|
|
28
18
|
const containerStyles = {
|
|
29
19
|
root: Object.assign({}, _defaultOOOHPaneGeneralStyles.defaultOOOHPaneGeneralStyles, (_props$styleProps = props.styleProps) === null || _props$styleProps === void 0 ? void 0 : _props$styleProps.generalStyleProps)
|
|
@@ -37,10 +27,10 @@ function OOOHPane(props) {
|
|
|
37
27
|
tabIndex: -1,
|
|
38
28
|
styles: containerStyles,
|
|
39
29
|
role: ((_props$controlProps5 = props.controlProps) === null || _props$controlProps5 === void 0 ? void 0 : _props$controlProps5.role) ?? _defaultOOOHPaneControlProps.defaultOOOHPaneControlProps.role,
|
|
40
|
-
className: (_props$styleProps3 = props.styleProps) === null || _props$styleProps3 === void 0
|
|
30
|
+
className: (_props$styleProps3 = props.styleProps) === null || _props$styleProps3 === void 0 || (_props$styleProps3 = _props$styleProps3.classNames) === null || _props$styleProps3 === void 0 ? void 0 : _props$styleProps3.containerClassName,
|
|
41
31
|
dir: ((_props$controlProps6 = props.controlProps) === null || _props$controlProps6 === void 0 ? void 0 : _props$controlProps6.dir) ?? _defaultOOOHPaneControlProps.defaultOOOHPaneControlProps.dir
|
|
42
32
|
}, !((_props$controlProps7 = props.controlProps) !== null && _props$controlProps7 !== void 0 && _props$controlProps7.hideTitle) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr = props.componentOverrides) === null || _props$componentOverr === void 0 ? void 0 : _props$componentOverr.title) || /*#__PURE__*/_react2.default.createElement(_react.Text, {
|
|
43
|
-
className: (_props$styleProps4 = props.styleProps) === null || _props$styleProps4 === void 0
|
|
33
|
+
className: (_props$styleProps4 = props.styleProps) === null || _props$styleProps4 === void 0 || (_props$styleProps4 = _props$styleProps4.classNames) === null || _props$styleProps4 === void 0 ? void 0 : _props$styleProps4.titleClassName,
|
|
44
34
|
styles: titleStyles,
|
|
45
35
|
tabIndex: -1,
|
|
46
36
|
id: elementId + "-title"
|
|
@@ -50,6 +40,4 @@ function OOOHPane(props) {
|
|
|
50
40
|
}
|
|
51
41
|
})))));
|
|
52
42
|
}
|
|
53
|
-
|
|
54
|
-
var _default = OOOHPane;
|
|
55
|
-
exports.default = _default;
|
|
43
|
+
var _default = exports.default = OOOHPane;
|
package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneControlProps.js
CHANGED
|
@@ -4,10 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultOOOHPaneControlProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _Constants = require("../../../../common/Constants");
|
|
9
|
-
|
|
10
|
-
const defaultOOOHPaneControlProps = {
|
|
8
|
+
const defaultOOOHPaneControlProps = exports.defaultOOOHPaneControlProps = {
|
|
11
9
|
id: _Constants.Ids.DefaultOOOHPaneId,
|
|
12
10
|
dir: "auto",
|
|
13
11
|
hideOOOHPane: false,
|
|
@@ -15,5 +13,4 @@ const defaultOOOHPaneControlProps = {
|
|
|
15
13
|
role: "alert",
|
|
16
14
|
titleText: _Constants.Texts.OOOHPaneTitleText,
|
|
17
15
|
openLinkInNewTab: false
|
|
18
|
-
};
|
|
19
|
-
exports.defaultOOOHPaneControlProps = defaultOOOHPaneControlProps;
|
|
16
|
+
};
|
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultOOOHPaneProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _defaultOOOHPaneStyles = require("./defaultStyles/defaultOOOHPaneStyles");
|
|
9
|
-
|
|
10
8
|
var _defaultOOOHPaneControlProps = require("./defaultOOOHPaneControlProps");
|
|
11
|
-
|
|
12
|
-
const defaultOOOHPaneProps = {
|
|
9
|
+
const defaultOOOHPaneProps = exports.defaultOOOHPaneProps = {
|
|
13
10
|
controlProps: _defaultOOOHPaneControlProps.defaultOOOHPaneControlProps,
|
|
14
11
|
styleProps: _defaultOOOHPaneStyles.defaultOOOHPaneStyles
|
|
15
|
-
};
|
|
16
|
-
exports.defaultOOOHPaneProps = defaultOOOHPaneProps;
|
|
12
|
+
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultOOOHPaneGeneralStyles = void 0;
|
|
7
|
-
const defaultOOOHPaneGeneralStyles = {
|
|
7
|
+
const defaultOOOHPaneGeneralStyles = exports.defaultOOOHPaneGeneralStyles = {
|
|
8
8
|
borderStyle: "solid",
|
|
9
9
|
width: "100%",
|
|
10
10
|
height: "100%",
|
|
@@ -18,5 +18,4 @@ const defaultOOOHPaneGeneralStyles = {
|
|
|
18
18
|
justifyContent: "center",
|
|
19
19
|
alignItems: "stretch",
|
|
20
20
|
flexFlow: "column wrap"
|
|
21
|
-
};
|
|
22
|
-
exports.defaultOOOHPaneGeneralStyles = defaultOOOHPaneGeneralStyles;
|
|
21
|
+
};
|
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultOOOHPaneStyles = void 0;
|
|
7
|
-
|
|
8
7
|
var _defaultOOOHPaneGeneralStyles = require("./defaultOOOHPaneGeneralStyles");
|
|
9
|
-
|
|
10
8
|
var _defaultOOOHPaneTitleStyles = require("./defaultOOOHPaneTitleStyles");
|
|
11
|
-
|
|
12
|
-
const defaultOOOHPaneStyles = {
|
|
9
|
+
const defaultOOOHPaneStyles = exports.defaultOOOHPaneStyles = {
|
|
13
10
|
generalStyleProps: _defaultOOOHPaneGeneralStyles.defaultOOOHPaneGeneralStyles,
|
|
14
11
|
titleStyleProps: _defaultOOOHPaneTitleStyles.defaultOOOHPaneTitleStyles
|
|
15
|
-
};
|
|
16
|
-
exports.defaultOOOHPaneStyles = defaultOOOHPaneStyles;
|
|
12
|
+
};
|
|
@@ -4,12 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultOOOHPaneTitleStyles = void 0;
|
|
7
|
-
const defaultOOOHPaneTitleStyles = {
|
|
7
|
+
const defaultOOOHPaneTitleStyles = exports.defaultOOOHPaneTitleStyles = {
|
|
8
8
|
fontFamily: "'Segoe UI',Arial,sans-serif",
|
|
9
9
|
fontWeight: "normal",
|
|
10
10
|
fontSize: "14px",
|
|
11
11
|
color: "#000000",
|
|
12
12
|
textAlign: "center",
|
|
13
13
|
alignSelf: "auto"
|
|
14
|
-
};
|
|
15
|
-
exports.defaultOOOHPaneTitleStyles = defaultOOOHPaneTitleStyles;
|
|
14
|
+
};
|
|
@@ -4,12 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetFourOOOHPaneControlProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _defaultOOOHPaneControlProps = require("../defaultProps/defaultOOOHPaneControlProps");
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
const presetFourOOOHPaneControlProps = exports.presetFourOOOHPaneControlProps = {
|
|
9
|
+
..._defaultOOOHPaneControlProps.defaultOOOHPaneControlProps,
|
|
11
10
|
id: "lcw-out-of-office-hours-pane-preset1",
|
|
12
11
|
titleText: "We are out of office. Please contact us here https://www.microsoft.com for further assisstance",
|
|
13
12
|
openLinkInNewTab: true
|
|
14
|
-
};
|
|
15
|
-
exports.presetFourOOOHPaneControlProps = presetFourOOOHPaneControlProps;
|
|
13
|
+
};
|
package/lib/cjs/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneProps.js
CHANGED
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetFourOOOHPaneProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _defaultOOOHPaneStyles = require("../defaultProps/defaultStyles/defaultOOOHPaneStyles");
|
|
9
|
-
|
|
10
8
|
var _presetFourOOOHPaneControlProps = require("./presetFourOOOHPaneControlProps");
|
|
11
|
-
|
|
12
|
-
const presetFourOOOHPaneProps = {
|
|
9
|
+
const presetFourOOOHPaneProps = exports.presetFourOOOHPaneProps = {
|
|
13
10
|
controlProps: _presetFourOOOHPaneControlProps.presetFourOOOHPaneControlProps,
|
|
14
11
|
styleProps: _defaultOOOHPaneStyles.defaultOOOHPaneStyles
|
|
15
|
-
};
|
|
16
|
-
exports.presetFourOOOHPaneProps = presetFourOOOHPaneProps;
|
|
12
|
+
};
|
|
@@ -4,11 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetOneOOOHPaneControlProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _defaultOOOHPaneControlProps = require("../defaultProps/defaultOOOHPaneControlProps");
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
const presetOneOOOHPaneControlProps = exports.presetOneOOOHPaneControlProps = {
|
|
9
|
+
..._defaultOOOHPaneControlProps.defaultOOOHPaneControlProps,
|
|
11
10
|
id: "lcw-out-of-office-hours-pane-preset1",
|
|
12
11
|
dir: "rtl"
|
|
13
|
-
};
|
|
14
|
-
exports.presetOneOOOHPaneControlProps = presetOneOOOHPaneControlProps;
|
|
12
|
+
};
|
package/lib/cjs/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneProps.js
CHANGED
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetOneOOOHPaneProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _presetOneOOOHPaneControlProps = require("./presetOneOOOHPaneControlProps");
|
|
9
|
-
|
|
10
8
|
var _defaultOOOHPaneStyles = require("../defaultProps/defaultStyles/defaultOOOHPaneStyles");
|
|
11
|
-
|
|
12
|
-
const presetOneOOOHPaneProps = {
|
|
9
|
+
const presetOneOOOHPaneProps = exports.presetOneOOOHPaneProps = {
|
|
13
10
|
controlProps: _presetOneOOOHPaneControlProps.presetOneOOOHPaneControlProps,
|
|
14
11
|
styleProps: _defaultOOOHPaneStyles.defaultOOOHPaneStyles
|
|
15
|
-
};
|
|
16
|
-
exports.presetOneOOOHPaneProps = presetOneOOOHPaneProps;
|
|
12
|
+
};
|
|
@@ -4,11 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoOOOHPaneControlProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _defaultOOOHPaneControlProps = require("../defaultProps/defaultOOOHPaneControlProps");
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
const presetTwoOOOHPaneControlProps = exports.presetTwoOOOHPaneControlProps = {
|
|
9
|
+
..._defaultOOOHPaneControlProps.defaultOOOHPaneControlProps,
|
|
11
10
|
id: "lcw-out-of-office-hours-pane-preset2",
|
|
12
11
|
titleText: "Sorry but we are not operating during these hours!!"
|
|
13
|
-
};
|
|
14
|
-
exports.presetTwoOOOHPaneControlProps = presetTwoOOOHPaneControlProps;
|
|
12
|
+
};
|
package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneProps.js
CHANGED
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoOOOHPaneProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _presetTwoOOOHPaneStyles = require("./presetTwoStyles/presetTwoOOOHPaneStyles");
|
|
9
|
-
|
|
10
8
|
var _presetTwoOOOHPaneControlProps = require("./presetTwoOOOHPaneControlProps");
|
|
11
|
-
|
|
12
|
-
const presetTwoOOOHPaneProps = {
|
|
9
|
+
const presetTwoOOOHPaneProps = exports.presetTwoOOOHPaneProps = {
|
|
13
10
|
controlProps: _presetTwoOOOHPaneControlProps.presetTwoOOOHPaneControlProps,
|
|
14
11
|
styleProps: _presetTwoOOOHPaneStyles.presetTwoOOOHPaneStyles
|
|
15
|
-
};
|
|
16
|
-
exports.presetTwoOOOHPaneProps = presetTwoOOOHPaneProps;
|
|
12
|
+
};
|
|
@@ -4,10 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoOOOHPaneGeneralStyles = void 0;
|
|
7
|
-
|
|
8
7
|
var _Icons = require("../../../../../assets/Icons");
|
|
9
|
-
|
|
10
|
-
const presetTwoOOOHPaneGeneralStyles = {
|
|
8
|
+
const presetTwoOOOHPaneGeneralStyles = exports.presetTwoOOOHPaneGeneralStyles = {
|
|
11
9
|
borderStyle: "dotted solid double dashed",
|
|
12
10
|
borderRadius: "40%",
|
|
13
11
|
borderWidth: "5px",
|
|
@@ -26,5 +24,4 @@ const presetTwoOOOHPaneGeneralStyles = {
|
|
|
26
24
|
justifyContent: "center",
|
|
27
25
|
alignItems: "stretch",
|
|
28
26
|
flexFlow: "column wrap"
|
|
29
|
-
};
|
|
30
|
-
exports.presetTwoOOOHPaneGeneralStyles = presetTwoOOOHPaneGeneralStyles;
|
|
27
|
+
};
|
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoOOOHPaneStyles = void 0;
|
|
7
|
-
|
|
8
7
|
var _presetTwoOOOHPaneTitleStyles = require("./presetTwoOOOHPaneTitleStyles");
|
|
9
|
-
|
|
10
8
|
var _presetTwoOOOHPaneGeneralStyles = require("./presetTwoOOOHPaneGeneralStyles");
|
|
11
|
-
|
|
12
|
-
const presetTwoOOOHPaneStyles = {
|
|
9
|
+
const presetTwoOOOHPaneStyles = exports.presetTwoOOOHPaneStyles = {
|
|
13
10
|
generalStyleProps: _presetTwoOOOHPaneGeneralStyles.presetTwoOOOHPaneGeneralStyles,
|
|
14
11
|
titleStyleProps: _presetTwoOOOHPaneTitleStyles.presetTwoOOOHPaneTitleStyles
|
|
15
|
-
};
|
|
16
|
-
exports.presetTwoOOOHPaneStyles = presetTwoOOOHPaneStyles;
|
|
12
|
+
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.presetTwoOOOHPaneTitleStyles = void 0;
|
|
7
|
-
const presetTwoOOOHPaneTitleStyles = {
|
|
7
|
+
const presetTwoOOOHPaneTitleStyles = exports.presetTwoOOOHPaneTitleStyles = {
|
|
8
8
|
fontFamily: "'Segoe UI',Arial,sans-serif",
|
|
9
9
|
fontWeight: "normal",
|
|
10
10
|
fontSize: "15px",
|
|
@@ -14,5 +14,4 @@ const presetTwoOOOHPaneTitleStyles = {
|
|
|
14
14
|
margin: "275px 0px 0px 20px",
|
|
15
15
|
textAlign: "center",
|
|
16
16
|
alignSelf: "auto"
|
|
17
|
-
};
|
|
18
|
-
exports.presetTwoOOOHPaneTitleStyles = presetTwoOOOHPaneTitleStyles;
|
|
17
|
+
};
|
|
@@ -4,22 +4,14 @@ 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 = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
9
|
var _defaultPostChatSurveyPaneControlProps = require("./common/defaultProps/defaultPostChatSurveyPaneControlProps");
|
|
13
|
-
|
|
14
10
|
var _defaultPostChatSurveyPaneGeneralStyles = require("./common/defaultProps/defaultStyles/defaultPostChatSurveyPaneGeneralStyles");
|
|
15
|
-
|
|
16
11
|
var _utils = require("../../common/utils");
|
|
17
|
-
|
|
18
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
-
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
20
13
|
function PostChatSurveyPane(props) {
|
|
21
14
|
var _props$controlProps, _props$controlProps2, _props$styleProps, _props$controlProps3, _props$controlProps4;
|
|
22
|
-
|
|
23
15
|
const elementId = ((_props$controlProps = props.controlProps) === null || _props$controlProps === void 0 ? void 0 : _props$controlProps.id) ?? _defaultPostChatSurveyPaneControlProps.defaultPostChatSurveyPaneControlProps.id;
|
|
24
16
|
const inputUrl = ((_props$controlProps2 = props.controlProps) === null || _props$controlProps2 === void 0 ? void 0 : _props$controlProps2.surveyURL) ?? _defaultPostChatSurveyPaneControlProps.defaultPostChatSurveyPaneControlProps.surveyURL;
|
|
25
17
|
const containerStyles = {
|
|
@@ -37,7 +29,8 @@ function PostChatSurveyPane(props) {
|
|
|
37
29
|
styles: containerStyles,
|
|
38
30
|
role: (_props$controlProps3 = props.controlProps) === null || _props$controlProps3 === void 0 ? void 0 : _props$controlProps3.role
|
|
39
31
|
}, /*#__PURE__*/_react2.default.createElement("iframe", {
|
|
40
|
-
id: elementId + "-Iframe"
|
|
32
|
+
id: elementId + "-Iframe"
|
|
33
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
41
34
|
,
|
|
42
35
|
src: (0, _utils.getValidatedURL)(inputUrl),
|
|
43
36
|
title: ((_props$controlProps4 = props.controlProps) === null || _props$controlProps4 === void 0 ? void 0 : _props$controlProps4.title) ?? _defaultPostChatSurveyPaneControlProps.defaultPostChatSurveyPaneControlProps.title,
|
|
@@ -45,6 +38,4 @@ function PostChatSurveyPane(props) {
|
|
|
45
38
|
frameBorder: "0"
|
|
46
39
|
})));
|
|
47
40
|
}
|
|
48
|
-
|
|
49
|
-
var _default = PostChatSurveyPane;
|
|
50
|
-
exports.default = _default;
|
|
41
|
+
var _default = exports.default = PostChatSurveyPane;
|
|
@@ -4,12 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultPostChatSurveyPaneControlProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _Constants = require("../../../../common/Constants");
|
|
9
|
-
|
|
10
|
-
const defaultPostChatSurveyPaneControlProps = {
|
|
8
|
+
const defaultPostChatSurveyPaneControlProps = exports.defaultPostChatSurveyPaneControlProps = {
|
|
11
9
|
id: _Constants.Ids.DefaultPostChatSurveyPaneId,
|
|
12
10
|
title: _Constants.Texts.PostChatSurveyPaneTitleText,
|
|
13
11
|
surveyURL: ""
|
|
14
|
-
};
|
|
15
|
-
exports.defaultPostChatSurveyPaneControlProps = defaultPostChatSurveyPaneControlProps;
|
|
12
|
+
};
|
package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultPostChatSurveyPaneProps.js
CHANGED
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultPostChatSurveyPaneProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _defaultPostChatSurveyPaneStyles = require("./defaultStyles/defaultPostChatSurveyPaneStyles");
|
|
9
|
-
|
|
10
8
|
var _defaultPostChatSurveyPaneControlProps = require("./defaultPostChatSurveyPaneControlProps");
|
|
11
|
-
|
|
12
|
-
const defaultPostChatSurveyPaneProps = {
|
|
9
|
+
const defaultPostChatSurveyPaneProps = exports.defaultPostChatSurveyPaneProps = {
|
|
13
10
|
controlProps: _defaultPostChatSurveyPaneControlProps.defaultPostChatSurveyPaneControlProps,
|
|
14
11
|
styleProps: _defaultPostChatSurveyPaneStyles.defaultPostChatSurveyPaneStyles
|
|
15
|
-
};
|
|
16
|
-
exports.defaultPostChatSurveyPaneProps = defaultPostChatSurveyPaneProps;
|
|
12
|
+
};
|
|
@@ -4,11 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.defaultPostChatSurveyPaneGeneralStyles = void 0;
|
|
7
|
-
const defaultPostChatSurveyPaneGeneralStyles = {
|
|
7
|
+
const defaultPostChatSurveyPaneGeneralStyles = exports.defaultPostChatSurveyPaneGeneralStyles = {
|
|
8
8
|
borderStyle: "solid",
|
|
9
9
|
borderRadius: 0,
|
|
10
10
|
borderWidth: "3px",
|
|
11
11
|
backgroundColor: "#FFFFFF",
|
|
12
12
|
borderColor: "#F1F1F1"
|
|
13
|
-
};
|
|
14
|
-
exports.defaultPostChatSurveyPaneGeneralStyles = defaultPostChatSurveyPaneGeneralStyles;
|
|
13
|
+
};
|