@microsoft/omnichannel-chat-components 0.1.0-main.3e712be
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/assets.d.js +1 -0
- package/lib/cjs/assets/imgs/ChatBubble.svg +28 -0
- package/lib/cjs/assets/imgs/ChatReconnectPopupIcon.png +0 -0
- package/lib/cjs/assets/imgs/Proactive_banner.png +0 -0
- package/lib/cjs/assets/imgs/agent.png +0 -0
- package/lib/cjs/assets/imgs/callacceptbutton.svg +3 -0
- package/lib/cjs/assets/imgs/callrejectbutton.svg +3 -0
- package/lib/cjs/assets/imgs/chat.svg +47 -0
- package/lib/cjs/assets/imgs/chatIcon.svg +16 -0
- package/lib/cjs/assets/imgs/closeButton.svg +3 -0
- package/lib/cjs/assets/imgs/closeChatButton.svg +3 -0
- package/lib/cjs/assets/imgs/error.svg +3 -0
- package/lib/cjs/assets/imgs/lcwAudioOff.svg +3 -0
- package/lib/cjs/assets/imgs/lcwAudioOn.svg +3 -0
- package/lib/cjs/assets/imgs/loading.gif +0 -0
- package/lib/cjs/assets/imgs/minimizeChatButton.svg +3 -0
- package/lib/cjs/assets/imgs/transcriptDownloadIcon.svg +4 -0
- package/lib/cjs/assets/imgs/transcriptEmailIcon.svg +5 -0
- package/lib/cjs/assets/imgs/videocallacceptbutton.svg +3 -0
- package/lib/cjs/assets/imgs/videooff.svg +3 -0
- package/lib/cjs/assets/imgs/videoon.svg +3 -0
- package/lib/cjs/assets/imgs/voiceoff.svg +3 -0
- package/lib/cjs/assets/imgs/voiceon.svg +3 -0
- package/lib/cjs/common/Constants.js +48 -0
- package/lib/cjs/common/decodeComponentString.js +35 -0
- package/lib/cjs/common/encodeComponentString.js +12 -0
- package/lib/cjs/common/utils.js +136 -0
- package/lib/cjs/components/callingcontainer/CallingContainer.js +57 -0
- package/lib/cjs/components/callingcontainer/common/defaultProps/defaultCallingContainerControlProps.js +13 -0
- package/lib/cjs/components/callingcontainer/common/defaultProps/defaultCallingContainerProps.js +16 -0
- package/lib/cjs/components/callingcontainer/common/defaultStyles/customizedCallingContainerStyles.js +14 -0
- package/lib/cjs/components/callingcontainer/common/defaultStyles/defaultCallingContainerStyles.js +15 -0
- package/lib/cjs/components/callingcontainer/interfaces/ICallingContainerControlProps.js +1 -0
- package/lib/cjs/components/callingcontainer/interfaces/ICallingContainerProps.js +1 -0
- package/lib/cjs/components/callingcontainer/interfaces/ICallingContainerStyleProps.js +1 -0
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +290 -0
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlProps.js +83 -0
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlPropsRtl.js +125 -0
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallProps.js +16 -0
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/componentOverridesStyleProps.js +20 -0
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/customizedCurrentCallStyleProps.js +98 -0
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/defaultCurrentCallStyleProps.js +98 -0
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallClassNames.js +1 -0
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallComponentOverrides.js +1 -0
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallControlProps.js +1 -0
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallNonActionControlIds.js +1 -0
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallProps.js +1 -0
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallStyleProps.js +1 -0
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +155 -0
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverrideProps.js +66 -0
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverridesControlProps.js +19 -0
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlProps.js +62 -0
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlPropsRtl.js +95 -0
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallProps.js +16 -0
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/componentOverridesStyleProps.js +50 -0
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/defaultIncomingCallStyleProps.js +61 -0
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/interfaces/IIncomingCallComponentOverrides.js +1 -0
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/interfaces/IIncomingCallControlProps.js +1 -0
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/interfaces/IIncomingCallProps.js +1 -0
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/interfaces/IIncomingCallStyleProps.js +1 -0
- package/lib/cjs/components/callingcontainer/subcomponents/Timer/ITimer.js +1 -0
- package/lib/cjs/components/callingcontainer/subcomponents/Timer/Timer.js +36 -0
- package/lib/cjs/components/chatbutton/ChatButton.js +150 -0
- package/lib/cjs/components/chatbutton/common/defaultProps/defaultChatButtonControlProps.js +25 -0
- package/lib/cjs/components/chatbutton/common/defaultProps/defaultChatButtonProps.js +16 -0
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonGeneralStyles.js +32 -0
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonIconContainerStyles.js +29 -0
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonNotificationBubbleStyles.js +23 -0
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonStyleProps.js +31 -0
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonSubTitleStyles.js +20 -0
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonTextContainerStyles.js +12 -0
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonTitleStyles.js +22 -0
- package/lib/cjs/components/chatbutton/interfaces/IChatButtonClassNames.js +1 -0
- package/lib/cjs/components/chatbutton/interfaces/IChatButtonComponentOverrides.js +1 -0
- package/lib/cjs/components/chatbutton/interfaces/IChatButtonControlProps.js +1 -0
- package/lib/cjs/components/chatbutton/interfaces/IChatButtonProps.js +1 -0
- package/lib/cjs/components/chatbutton/interfaces/IChatButtonStyleProps.js +1 -0
- package/lib/cjs/components/common/commandbutton/CommandButton.js +69 -0
- package/lib/cjs/components/common/interfaces/ICommandButtonControlProps.js +1 -0
- package/lib/cjs/components/common/interfaces/ICommandButtonProps.js +1 -0
- package/lib/cjs/components/common/interfaces/IImageControlProps.js +1 -0
- package/lib/cjs/components/common/interfaces/ILabelControlProps.js +1 -0
- package/lib/cjs/components/confirmationpane/ConfirmationPane.js +147 -0
- package/lib/cjs/components/confirmationpane/common/defaultProps/defaultConfirmationPaneControlProps.js +28 -0
- package/lib/cjs/components/confirmationpane/common/defaultProps/defaultConfirmationPaneProps.js +16 -0
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneButtonGroupStyles.js +14 -0
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonFocusedStyles.js +10 -0
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonHoveredStyles.js +10 -0
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonStyles.js +15 -0
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonFocusedStyles.js +10 -0
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonHoveredStyles.js +10 -0
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonStyles.js +16 -0
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneGeneralStyles.js +23 -0
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneStyles.js +28 -0
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneSubtitleStyles.js +16 -0
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneTitleStyles.js +16 -0
- package/lib/cjs/components/confirmationpane/interfaces/IConfirmationPaneClassNames.js +1 -0
- package/lib/cjs/components/confirmationpane/interfaces/IConfirmationPaneComponentOverrides.js +1 -0
- package/lib/cjs/components/confirmationpane/interfaces/IConfirmationPaneControlProps.js +1 -0
- package/lib/cjs/components/confirmationpane/interfaces/IConfirmationPaneProps.js +1 -0
- package/lib/cjs/components/confirmationpane/interfaces/IConfirmationPaneStyleProps.js +1 -0
- package/lib/cjs/components/footer/Footer.js +100 -0
- package/lib/cjs/components/footer/common/defaultProps/customFooterControlProps.js +69 -0
- package/lib/cjs/components/footer/common/defaultProps/defaultFooterComponentOverrides.js +43 -0
- package/lib/cjs/components/footer/common/defaultProps/defaultFooterControlProps.js +50 -0
- package/lib/cjs/components/footer/common/defaultProps/defaultFooterOverridesProps.js +19 -0
- package/lib/cjs/components/footer/common/defaultProps/defaultFooterProps.js +16 -0
- package/lib/cjs/components/footer/common/defaultStyles/defaultFooterStyleProps.js +53 -0
- package/lib/cjs/components/footer/interfaces/IFooterComponentOverrides.js +1 -0
- package/lib/cjs/components/footer/interfaces/IFooterControlProps.js +1 -0
- package/lib/cjs/components/footer/interfaces/IFooterProps.js +1 -0
- package/lib/cjs/components/footer/interfaces/IFooterStyleProps.js +1 -0
- package/lib/cjs/components/footer/subcomponents/AudioNotificationButton.js +78 -0
- package/lib/cjs/components/footer/subcomponents/DownloadTranscriptButton.js +42 -0
- package/lib/cjs/components/footer/subcomponents/EmailTranscriptButton.js +42 -0
- package/lib/cjs/components/header/Header.js +112 -0
- package/lib/cjs/components/header/common/defaultProps/azureHeaderControlProps.js +52 -0
- package/lib/cjs/components/header/common/defaultProps/azureHeaderProps.js +19 -0
- package/lib/cjs/components/header/common/defaultProps/customHeaderControlProps.js +73 -0
- package/lib/cjs/components/header/common/defaultProps/defaultHeaderComponentOverrides.js +44 -0
- package/lib/cjs/components/header/common/defaultProps/defaultHeaderControlProps.js +53 -0
- package/lib/cjs/components/header/common/defaultProps/defaultHeaderProps.js +16 -0
- package/lib/cjs/components/header/common/defaultProps/overridesDefaultHeaderProps.js +19 -0
- package/lib/cjs/components/header/common/defaultStyles/advancedHeaderStyleProps.js +43 -0
- package/lib/cjs/components/header/common/defaultStyles/defaultHeaderStyleProps.js +48 -0
- package/lib/cjs/components/header/interfaces/IHeaderComponentOverrides.js +1 -0
- package/lib/cjs/components/header/interfaces/IHeaderControlProps.js +1 -0
- package/lib/cjs/components/header/interfaces/IHeaderProps.js +1 -0
- package/lib/cjs/components/header/interfaces/IHeaderStyleProps.js +1 -0
- package/lib/cjs/components/header/subcomponents/CloseButton.js +42 -0
- package/lib/cjs/components/header/subcomponents/MinimizeButton.js +42 -0
- package/lib/cjs/components/inputvalidationpane/InputValidationPane.js +254 -0
- package/lib/cjs/components/inputvalidationpane/common/default/defaultProps/defaultInputValidationPaneControlProps.js +44 -0
- package/lib/cjs/components/inputvalidationpane/common/default/defaultProps/defaultInputValidationPaneProps.js +16 -0
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneButtonGroupStyles.js +10 -0
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonHoveredStyles.js +8 -0
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonStyles.js +21 -0
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneGeneralStyles.js +22 -0
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneHeaderGroupStyles.js +10 -0
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInputStyles.js +15 -0
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInvalidInputErrorMessageStyles.js +15 -0
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonHoveredStyles.js +8 -0
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonStyles.js +17 -0
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneStyles.js +43 -0
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSubtitleStyles.js +14 -0
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneTitleStyles.js +14 -0
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneComponentOverrides.js +30 -0
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneControlProps.js +43 -0
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneProps.js +19 -0
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneCancelButtonStyles.js +15 -0
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneHeaderGroupStyles.js +10 -0
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneInputStyles.js +11 -0
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneSendButtonStyles.js +15 -0
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneStyles.js +25 -0
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneTitleStyles.js +15 -0
- package/lib/cjs/components/inputvalidationpane/interfaces/IInputValidationPaneClassNames.js +1 -0
- package/lib/cjs/components/inputvalidationpane/interfaces/IInputValidationPaneComponentOverrides.js +1 -0
- package/lib/cjs/components/inputvalidationpane/interfaces/IInputValidationPaneControlProps.js +1 -0
- package/lib/cjs/components/inputvalidationpane/interfaces/IInputValidationPaneProps.js +1 -0
- package/lib/cjs/components/inputvalidationpane/interfaces/IInputValidationPaneStyleProps.js +1 -0
- package/lib/cjs/components/loadingpane/LoadingPane.js +92 -0
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultLoadingPaneControlProps.js +20 -0
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultLoadingPaneProps.js +16 -0
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneGeneralStyles.js +18 -0
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconImageProps.js +22 -0
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconStyles.js +18 -0
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSpinnerStyles.js +15 -0
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSpinnerTextStyles.js +17 -0
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneStyles.js +31 -0
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSubtitleStyles.js +18 -0
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneTitleStyles.js +18 -0
- package/lib/cjs/components/loadingpane/common/presetOneProps/presetOneLoadingPaneControlProps.js +14 -0
- package/lib/cjs/components/loadingpane/common/presetOneProps/presetOneLoadingPaneProps.js +16 -0
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneControlProps.js +19 -0
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneProps.js +16 -0
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneGeneralStyles.js +24 -0
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconImageProps.js +22 -0
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconStyles.js +18 -0
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSpinnerStyles.js +16 -0
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSpinnerTextStyles.js +19 -0
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneStyles.js +31 -0
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSubtitleStyles.js +19 -0
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneTitleStyles.js +19 -0
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneControlProps.js +20 -0
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneProps.js +16 -0
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneGeneralStyles.js +32 -0
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneSpinnerStyles.js +17 -0
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneStyles.js +31 -0
- package/lib/cjs/components/loadingpane/interfaces/ILoadingPaneClassNames.js +1 -0
- package/lib/cjs/components/loadingpane/interfaces/ILoadingPaneComponentOverrides.js +1 -0
- package/lib/cjs/components/loadingpane/interfaces/ILoadingPaneControlProps.js +1 -0
- package/lib/cjs/components/loadingpane/interfaces/ILoadingPaneProps.js +1 -0
- package/lib/cjs/components/loadingpane/interfaces/ILoadingPaneStyleProps.js +1 -0
- package/lib/cjs/components/outofofficehourspane/OOOHPane.js +48 -0
- package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneControlProps.js +14 -0
- package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneProps.js +16 -0
- package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneGeneralStyles.js +22 -0
- package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneStyles.js +16 -0
- package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneTitleStyles.js +15 -0
- package/lib/cjs/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneControlProps.js +14 -0
- package/lib/cjs/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneProps.js +16 -0
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneControlProps.js +14 -0
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneProps.js +16 -0
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneGeneralStyles.js +32 -0
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneStyles.js +16 -0
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneTitleStyles.js +18 -0
- package/lib/cjs/components/outofofficehourspane/interfaces/IOOOHPaneClassNames.js +1 -0
- package/lib/cjs/components/outofofficehourspane/interfaces/IOOOHPaneComponentOverrides.js +1 -0
- package/lib/cjs/components/outofofficehourspane/interfaces/IOOOHPaneControlProps.js +1 -0
- package/lib/cjs/components/outofofficehourspane/interfaces/IOOOHPaneProps.js +1 -0
- package/lib/cjs/components/outofofficehourspane/interfaces/IOOOHPaneStyleProps.js +1 -0
- package/lib/cjs/components/postchatsurveypane/PostChatSurveyPane.js +49 -0
- package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultPostChatSurveyPaneControlProps.js +12 -0
- package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultPostChatSurveyPaneProps.js +16 -0
- package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultStyles/defaultPostChatSurveyPaneGeneralStyles.js +14 -0
- package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultStyles/defaultPostChatSurveyPaneStyles.js +13 -0
- package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneControlProps.js +13 -0
- package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneProps.js +16 -0
- package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOneStyles/presetOnePostChatSurveyPaneGeneralStyles.js +19 -0
- package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOneStyles/presetOnePostChatSurveyPaneStyles.js +13 -0
- package/lib/cjs/components/postchatsurveypane/interfaces/IPostChatSurveyPaneClassNames.js +1 -0
- package/lib/cjs/components/postchatsurveypane/interfaces/IPostChatSurveyPaneControlProps.js +1 -0
- package/lib/cjs/components/postchatsurveypane/interfaces/IPostChatSurveyPaneProps.js +1 -0
- package/lib/cjs/components/postchatsurveypane/interfaces/IPostChatSurveyPaneStyleProps.js +1 -0
- package/lib/cjs/components/prechatsurveypane/PreChatSurveyPane.js +138 -0
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultPreChatSurveyPaneControlProps.js +18 -0
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultPreChatSurveyPaneProps.js +16 -0
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneACContainerStyles.js +12 -0
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneButtonStyles.js +11 -0
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneGeneralStyles.js +17 -0
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneStyles.js +19 -0
- package/lib/cjs/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneControlProps.js +13 -0
- package/lib/cjs/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneProps.js +16 -0
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreePreChatSurveyPaneControlProps.js +18 -0
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreePreChatSurveyPaneProps.js +16 -0
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneACContainerStyles.js +12 -0
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneButtonStyles.js +11 -0
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneGeneralStyles.js +18 -0
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneStyles.js +19 -0
- package/lib/cjs/components/prechatsurveypane/common/presetTwoProps/presetTwoPreChatSurveyPaneControlProps.js +18 -0
- package/lib/cjs/components/prechatsurveypane/common/presetTwoProps/presetTwoPreChatSurveyPaneProps.js +16 -0
- package/lib/cjs/components/prechatsurveypane/interfaces/IPreChatSurveyPaneButtonStyles.js +1 -0
- package/lib/cjs/components/prechatsurveypane/interfaces/IPreChatSurveyPaneControlProps.js +1 -0
- package/lib/cjs/components/prechatsurveypane/interfaces/IPreChatSurveyPaneProps.js +1 -0
- package/lib/cjs/components/prechatsurveypane/interfaces/IPreChatSurveyPaneStyleProps.js +1 -0
- package/lib/cjs/components/proactivechatpane/ProactiveChatPane.js +191 -0
- package/lib/cjs/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneControlProps.js +31 -0
- package/lib/cjs/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneProps.js +16 -0
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneBodyContainerStyles.js +8 -0
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneBodyTitleStyles.js +17 -0
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonHoveredStyles.js +11 -0
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonStyles.js +24 -0
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneGeneralStyles.js +20 -0
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneHeaderContainerStyles.js +22 -0
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStartButtonHoveredStyles.js +11 -0
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStartButtonStyles.js +18 -0
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStyles.js +43 -0
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneSubtitleStyles.js +13 -0
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneTextContainerStyles.js +16 -0
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneTitleStyles.js +11 -0
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneControlProps.js +31 -0
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneProps.js +16 -0
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneBodyTitleStyles.js +12 -0
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneCloseButtonHoveredStyles.js +10 -0
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneCloseButtonStyles.js +11 -0
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStartButtonHoveredStyles.js +11 -0
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStartButtonStyles.js +12 -0
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStyles.js +25 -0
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneControlProps.js +31 -0
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneProps.js +16 -0
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneBodyContainerStyles.js +15 -0
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneCloseButtonHoveredStyles.js +10 -0
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneCloseButtonStyles.js +11 -0
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneGeneralStyles.js +14 -0
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneHeaderContainerStyles.js +10 -0
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStartButtonHoveredStyles.js +11 -0
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStartButtonStyles.js +13 -0
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStyles.js +31 -0
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneComponentOverrides.js +46 -0
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneControlProps.js +26 -0
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneProps.js +19 -0
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneBodyContainerStyles.js +12 -0
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneGeneralStyles.js +13 -0
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneHeaderContainerStyles.js +11 -0
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStartButtonHoveredStyles.js +11 -0
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStartButtonStyles.js +13 -0
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStyles.js +28 -0
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneTextContainerStyles.js +11 -0
- package/lib/cjs/components/proactivechatpane/interfaces/IProactiveChatPaneClassNames.js +1 -0
- package/lib/cjs/components/proactivechatpane/interfaces/IProactiveChatPaneComponentOverrides.js +1 -0
- package/lib/cjs/components/proactivechatpane/interfaces/IProactiveChatPaneControlProps.js +1 -0
- package/lib/cjs/components/proactivechatpane/interfaces/IProactiveChatPaneProps.js +1 -0
- package/lib/cjs/components/proactivechatpane/interfaces/IProactiveChatPaneStyleProps.js +1 -0
- package/lib/cjs/components/reconnectchatpane/ReconnectChatPane.js +182 -0
- package/lib/cjs/components/reconnectchatpane/common/default/defaultProps/defaultReconnectChatPaneControlProps.js +35 -0
- package/lib/cjs/components/reconnectchatpane/common/default/defaultProps/defaultReconnectChatPaneProps.js +16 -0
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneButtonGroupStyles.js +10 -0
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonHoveredStyles.js +10 -0
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonStyles.js +18 -0
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneGeneralStyles.js +17 -0
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneIconStyles.js +21 -0
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonHoveredStyles.js +10 -0
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonStyles.js +17 -0
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStyles.js +40 -0
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneSubtitleStyles.js +14 -0
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneTitleStyles.js +15 -0
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneWrapperStyles.js +16 -0
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeProps/presetThreeReconnectChatPaneControlProps.js +32 -0
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeProps/presetThreeReconnectChatPaneProps.js +16 -0
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneButtonGroupStyles.js +10 -0
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneContinueChatButtonStyles.js +12 -0
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneGeneralStyles.js +13 -0
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneStyles.js +25 -0
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneTitleStyles.js +12 -0
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneWrapperStyles.js +11 -0
- package/lib/cjs/components/reconnectchatpane/interfaces/IReconnectChatPaneClassNames.js +1 -0
- package/lib/cjs/components/reconnectchatpane/interfaces/IReconnectChatPaneComponentOverrides.js +1 -0
- package/lib/cjs/components/reconnectchatpane/interfaces/IReconnectChatPaneControlProps.js +1 -0
- package/lib/cjs/components/reconnectchatpane/interfaces/IReconnectChatPaneProps.js +1 -0
- package/lib/cjs/components/reconnectchatpane/interfaces/IReconnectChatPaneStyleProps.js +1 -0
- package/lib/cjs/index.js +159 -0
- package/lib/cjs/interfaces/ICustomEvent.js +1 -0
- package/lib/cjs/services/BroadcastService.js +43 -0
- package/lib/esm/assets/assets.d.js +0 -0
- package/lib/esm/assets/imgs/ChatBubble.svg +28 -0
- package/lib/esm/assets/imgs/ChatReconnectPopupIcon.png +0 -0
- package/lib/esm/assets/imgs/Proactive_banner.png +0 -0
- package/lib/esm/assets/imgs/agent.png +0 -0
- package/lib/esm/assets/imgs/callacceptbutton.svg +3 -0
- package/lib/esm/assets/imgs/callrejectbutton.svg +3 -0
- package/lib/esm/assets/imgs/chat.svg +47 -0
- package/lib/esm/assets/imgs/chatIcon.svg +16 -0
- package/lib/esm/assets/imgs/closeButton.svg +3 -0
- package/lib/esm/assets/imgs/closeChatButton.svg +3 -0
- package/lib/esm/assets/imgs/error.svg +3 -0
- package/lib/esm/assets/imgs/lcwAudioOff.svg +3 -0
- package/lib/esm/assets/imgs/lcwAudioOn.svg +3 -0
- package/lib/esm/assets/imgs/loading.gif +0 -0
- package/lib/esm/assets/imgs/minimizeChatButton.svg +3 -0
- package/lib/esm/assets/imgs/transcriptDownloadIcon.svg +4 -0
- package/lib/esm/assets/imgs/transcriptEmailIcon.svg +5 -0
- package/lib/esm/assets/imgs/videocallacceptbutton.svg +3 -0
- package/lib/esm/assets/imgs/videooff.svg +3 -0
- package/lib/esm/assets/imgs/videoon.svg +3 -0
- package/lib/esm/assets/imgs/voiceoff.svg +3 -0
- package/lib/esm/assets/imgs/voiceon.svg +3 -0
- package/lib/esm/common/Constants.js +36 -0
- package/lib/esm/common/decodeComponentString.js +23 -0
- package/lib/esm/common/encodeComponentString.js +3 -0
- package/lib/esm/common/utils.js +96 -0
- package/lib/esm/components/callingcontainer/CallingContainer.js +39 -0
- package/lib/esm/components/callingcontainer/common/defaultProps/defaultCallingContainerControlProps.js +6 -0
- package/lib/esm/components/callingcontainer/common/defaultProps/defaultCallingContainerProps.js +6 -0
- package/lib/esm/components/callingcontainer/common/defaultStyles/customizedCallingContainerStyles.js +7 -0
- package/lib/esm/components/callingcontainer/common/defaultStyles/defaultCallingContainerStyles.js +8 -0
- package/lib/esm/components/callingcontainer/interfaces/ICallingContainerControlProps.js +1 -0
- package/lib/esm/components/callingcontainer/interfaces/ICallingContainerProps.js +1 -0
- package/lib/esm/components/callingcontainer/interfaces/ICallingContainerStyleProps.js +1 -0
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +265 -0
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlProps.js +76 -0
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlPropsRtl.js +110 -0
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallProps.js +6 -0
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/componentOverridesStyleProps.js +11 -0
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/customizedCurrentCallStyleProps.js +91 -0
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/defaultCurrentCallStyleProps.js +91 -0
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallClassNames.js +1 -0
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallComponentOverrides.js +1 -0
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallControlProps.js +1 -0
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallNonActionControlIds.js +1 -0
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallProps.js +1 -0
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallStyleProps.js +1 -0
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +136 -0
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverrideProps.js +49 -0
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverridesControlProps.js +8 -0
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlProps.js +55 -0
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlPropsRtl.js +82 -0
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallProps.js +6 -0
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/componentOverridesStyleProps.js +43 -0
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/defaultIncomingCallStyleProps.js +54 -0
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/interfaces/IIncomingCallComponentOverrides.js +1 -0
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/interfaces/IIncomingCallControlProps.js +1 -0
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/interfaces/IIncomingCallProps.js +1 -0
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/interfaces/IIncomingCallStyleProps.js +1 -0
- package/lib/esm/components/callingcontainer/subcomponents/Timer/ITimer.js +1 -0
- package/lib/esm/components/callingcontainer/subcomponents/Timer/Timer.js +22 -0
- package/lib/esm/components/chatbutton/ChatButton.js +125 -0
- package/lib/esm/components/chatbutton/common/defaultProps/defaultChatButtonControlProps.js +18 -0
- package/lib/esm/components/chatbutton/common/defaultProps/defaultChatButtonProps.js +6 -0
- package/lib/esm/components/chatbutton/common/defaultStyles/defaultChatButtonGeneralStyles.js +25 -0
- package/lib/esm/components/chatbutton/common/defaultStyles/defaultChatButtonIconContainerStyles.js +18 -0
- package/lib/esm/components/chatbutton/common/defaultStyles/defaultChatButtonNotificationBubbleStyles.js +16 -0
- package/lib/esm/components/chatbutton/common/defaultStyles/defaultChatButtonStyleProps.js +17 -0
- package/lib/esm/components/chatbutton/common/defaultStyles/defaultChatButtonSubTitleStyles.js +13 -0
- package/lib/esm/components/chatbutton/common/defaultStyles/defaultChatButtonTextContainerStyles.js +5 -0
- package/lib/esm/components/chatbutton/common/defaultStyles/defaultChatButtonTitleStyles.js +15 -0
- package/lib/esm/components/chatbutton/interfaces/IChatButtonClassNames.js +1 -0
- package/lib/esm/components/chatbutton/interfaces/IChatButtonComponentOverrides.js +1 -0
- package/lib/esm/components/chatbutton/interfaces/IChatButtonControlProps.js +1 -0
- package/lib/esm/components/chatbutton/interfaces/IChatButtonProps.js +1 -0
- package/lib/esm/components/chatbutton/interfaces/IChatButtonStyleProps.js +1 -0
- package/lib/esm/components/common/commandbutton/CommandButton.js +52 -0
- package/lib/esm/components/common/interfaces/ICommandButtonControlProps.js +1 -0
- package/lib/esm/components/common/interfaces/ICommandButtonProps.js +1 -0
- package/lib/esm/components/common/interfaces/IImageControlProps.js +1 -0
- package/lib/esm/components/common/interfaces/ILabelControlProps.js +1 -0
- package/lib/esm/components/confirmationpane/ConfirmationPane.js +115 -0
- package/lib/esm/components/confirmationpane/common/defaultProps/defaultConfirmationPaneControlProps.js +21 -0
- package/lib/esm/components/confirmationpane/common/defaultProps/defaultConfirmationPaneProps.js +6 -0
- package/lib/esm/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneButtonGroupStyles.js +7 -0
- package/lib/esm/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonFocusedStyles.js +3 -0
- package/lib/esm/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonHoveredStyles.js +3 -0
- package/lib/esm/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonStyles.js +8 -0
- package/lib/esm/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonFocusedStyles.js +3 -0
- package/lib/esm/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonHoveredStyles.js +3 -0
- package/lib/esm/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonStyles.js +9 -0
- package/lib/esm/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneGeneralStyles.js +16 -0
- package/lib/esm/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneStyles.js +14 -0
- package/lib/esm/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneSubtitleStyles.js +9 -0
- package/lib/esm/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneTitleStyles.js +9 -0
- package/lib/esm/components/confirmationpane/interfaces/IConfirmationPaneClassNames.js +1 -0
- package/lib/esm/components/confirmationpane/interfaces/IConfirmationPaneComponentOverrides.js +1 -0
- package/lib/esm/components/confirmationpane/interfaces/IConfirmationPaneControlProps.js +1 -0
- package/lib/esm/components/confirmationpane/interfaces/IConfirmationPaneProps.js +1 -0
- package/lib/esm/components/confirmationpane/interfaces/IConfirmationPaneStyleProps.js +1 -0
- package/lib/esm/components/footer/Footer.js +78 -0
- package/lib/esm/components/footer/common/defaultProps/customFooterControlProps.js +55 -0
- package/lib/esm/components/footer/common/defaultProps/defaultFooterComponentOverrides.js +29 -0
- package/lib/esm/components/footer/common/defaultProps/defaultFooterControlProps.js +43 -0
- package/lib/esm/components/footer/common/defaultProps/defaultFooterOverridesProps.js +8 -0
- package/lib/esm/components/footer/common/defaultProps/defaultFooterProps.js +6 -0
- package/lib/esm/components/footer/common/defaultStyles/defaultFooterStyleProps.js +46 -0
- package/lib/esm/components/footer/interfaces/IFooterComponentOverrides.js +1 -0
- package/lib/esm/components/footer/interfaces/IFooterControlProps.js +1 -0
- package/lib/esm/components/footer/interfaces/IFooterProps.js +1 -0
- package/lib/esm/components/footer/interfaces/IFooterStyleProps.js +1 -0
- package/lib/esm/components/footer/subcomponents/AudioNotificationButton.js +61 -0
- package/lib/esm/components/footer/subcomponents/DownloadTranscriptButton.js +30 -0
- package/lib/esm/components/footer/subcomponents/EmailTranscriptButton.js +30 -0
- package/lib/esm/components/header/Header.js +91 -0
- package/lib/esm/components/header/common/defaultProps/azureHeaderControlProps.js +41 -0
- package/lib/esm/components/header/common/defaultProps/azureHeaderProps.js +8 -0
- package/lib/esm/components/header/common/defaultProps/customHeaderControlProps.js +60 -0
- package/lib/esm/components/header/common/defaultProps/defaultHeaderComponentOverrides.js +28 -0
- package/lib/esm/components/header/common/defaultProps/defaultHeaderControlProps.js +42 -0
- package/lib/esm/components/header/common/defaultProps/defaultHeaderProps.js +6 -0
- package/lib/esm/components/header/common/defaultProps/overridesDefaultHeaderProps.js +8 -0
- package/lib/esm/components/header/common/defaultStyles/advancedHeaderStyleProps.js +36 -0
- package/lib/esm/components/header/common/defaultStyles/defaultHeaderStyleProps.js +41 -0
- package/lib/esm/components/header/interfaces/IHeaderComponentOverrides.js +1 -0
- package/lib/esm/components/header/interfaces/IHeaderControlProps.js +1 -0
- package/lib/esm/components/header/interfaces/IHeaderProps.js +1 -0
- package/lib/esm/components/header/interfaces/IHeaderStyleProps.js +1 -0
- package/lib/esm/components/header/subcomponents/CloseButton.js +30 -0
- package/lib/esm/components/header/subcomponents/MinimizeButton.js +30 -0
- package/lib/esm/components/inputvalidationpane/InputValidationPane.js +220 -0
- package/lib/esm/components/inputvalidationpane/common/default/defaultProps/defaultInputValidationPaneControlProps.js +35 -0
- package/lib/esm/components/inputvalidationpane/common/default/defaultProps/defaultInputValidationPaneProps.js +6 -0
- package/lib/esm/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneButtonGroupStyles.js +3 -0
- package/lib/esm/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonHoveredStyles.js +1 -0
- package/lib/esm/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonStyles.js +14 -0
- package/lib/esm/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneGeneralStyles.js +15 -0
- package/lib/esm/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneHeaderGroupStyles.js +3 -0
- package/lib/esm/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInputStyles.js +8 -0
- package/lib/esm/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInvalidInputErrorMessageStyles.js +8 -0
- package/lib/esm/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonHoveredStyles.js +1 -0
- package/lib/esm/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonStyles.js +10 -0
- package/lib/esm/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneStyles.js +24 -0
- package/lib/esm/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSubtitleStyles.js +7 -0
- package/lib/esm/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneTitleStyles.js +7 -0
- package/lib/esm/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneComponentOverrides.js +18 -0
- package/lib/esm/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneControlProps.js +34 -0
- package/lib/esm/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneProps.js +8 -0
- package/lib/esm/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneCancelButtonStyles.js +8 -0
- package/lib/esm/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneHeaderGroupStyles.js +3 -0
- package/lib/esm/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneInputStyles.js +4 -0
- package/lib/esm/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneSendButtonStyles.js +8 -0
- package/lib/esm/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneStyles.js +12 -0
- package/lib/esm/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneTitleStyles.js +8 -0
- package/lib/esm/components/inputvalidationpane/interfaces/IInputValidationPaneClassNames.js +1 -0
- package/lib/esm/components/inputvalidationpane/interfaces/IInputValidationPaneComponentOverrides.js +1 -0
- package/lib/esm/components/inputvalidationpane/interfaces/IInputValidationPaneControlProps.js +1 -0
- package/lib/esm/components/inputvalidationpane/interfaces/IInputValidationPaneProps.js +1 -0
- package/lib/esm/components/inputvalidationpane/interfaces/IInputValidationPaneStyleProps.js +1 -0
- package/lib/esm/components/loadingpane/LoadingPane.js +72 -0
- package/lib/esm/components/loadingpane/common/defaultProps/defaultLoadingPaneControlProps.js +13 -0
- package/lib/esm/components/loadingpane/common/defaultProps/defaultLoadingPaneProps.js +6 -0
- package/lib/esm/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneGeneralStyles.js +11 -0
- package/lib/esm/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconImageProps.js +10 -0
- package/lib/esm/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconStyles.js +11 -0
- package/lib/esm/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSpinnerStyles.js +8 -0
- package/lib/esm/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSpinnerTextStyles.js +10 -0
- package/lib/esm/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneStyles.js +16 -0
- package/lib/esm/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSubtitleStyles.js +11 -0
- package/lib/esm/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneTitleStyles.js +11 -0
- package/lib/esm/components/loadingpane/common/presetOneProps/presetOneLoadingPaneControlProps.js +5 -0
- package/lib/esm/components/loadingpane/common/presetOneProps/presetOneLoadingPaneProps.js +6 -0
- package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneControlProps.js +9 -0
- package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneProps.js +6 -0
- package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneGeneralStyles.js +17 -0
- package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconImageProps.js +10 -0
- package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconStyles.js +11 -0
- package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSpinnerStyles.js +9 -0
- package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSpinnerTextStyles.js +12 -0
- package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneStyles.js +16 -0
- package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSubtitleStyles.js +12 -0
- package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneTitleStyles.js +12 -0
- package/lib/esm/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneControlProps.js +10 -0
- package/lib/esm/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneProps.js +6 -0
- package/lib/esm/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneGeneralStyles.js +21 -0
- package/lib/esm/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneSpinnerStyles.js +10 -0
- package/lib/esm/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneStyles.js +16 -0
- package/lib/esm/components/loadingpane/interfaces/ILoadingPaneClassNames.js +1 -0
- package/lib/esm/components/loadingpane/interfaces/ILoadingPaneComponentOverrides.js +1 -0
- package/lib/esm/components/loadingpane/interfaces/ILoadingPaneControlProps.js +1 -0
- package/lib/esm/components/loadingpane/interfaces/ILoadingPaneProps.js +1 -0
- package/lib/esm/components/loadingpane/interfaces/ILoadingPaneStyleProps.js +1 -0
- package/lib/esm/components/outofofficehourspane/OOOHPane.js +33 -0
- package/lib/esm/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneControlProps.js +7 -0
- package/lib/esm/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneProps.js +6 -0
- package/lib/esm/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneGeneralStyles.js +15 -0
- package/lib/esm/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneStyles.js +6 -0
- package/lib/esm/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneTitleStyles.js +8 -0
- package/lib/esm/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneControlProps.js +5 -0
- package/lib/esm/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneProps.js +6 -0
- package/lib/esm/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneControlProps.js +5 -0
- package/lib/esm/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneProps.js +6 -0
- package/lib/esm/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneGeneralStyles.js +21 -0
- package/lib/esm/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneStyles.js +6 -0
- package/lib/esm/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneTitleStyles.js +11 -0
- package/lib/esm/components/outofofficehourspane/interfaces/IOOOHPaneClassNames.js +1 -0
- package/lib/esm/components/outofofficehourspane/interfaces/IOOOHPaneComponentOverrides.js +1 -0
- package/lib/esm/components/outofofficehourspane/interfaces/IOOOHPaneControlProps.js +1 -0
- package/lib/esm/components/outofofficehourspane/interfaces/IOOOHPaneProps.js +1 -0
- package/lib/esm/components/outofofficehourspane/interfaces/IOOOHPaneStyleProps.js +1 -0
- package/lib/esm/components/postchatsurveypane/PostChatSurveyPane.js +35 -0
- package/lib/esm/components/postchatsurveypane/common/defaultProps/defaultPostChatSurveyPaneControlProps.js +5 -0
- package/lib/esm/components/postchatsurveypane/common/defaultProps/defaultPostChatSurveyPaneProps.js +6 -0
- package/lib/esm/components/postchatsurveypane/common/defaultProps/defaultStyles/defaultPostChatSurveyPaneGeneralStyles.js +7 -0
- package/lib/esm/components/postchatsurveypane/common/defaultProps/defaultStyles/defaultPostChatSurveyPaneStyles.js +4 -0
- package/lib/esm/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneControlProps.js +4 -0
- package/lib/esm/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneProps.js +6 -0
- package/lib/esm/components/postchatsurveypane/common/presetOneProps/presetOneStyles/presetOnePostChatSurveyPaneGeneralStyles.js +12 -0
- package/lib/esm/components/postchatsurveypane/common/presetOneProps/presetOneStyles/presetOnePostChatSurveyPaneStyles.js +4 -0
- package/lib/esm/components/postchatsurveypane/interfaces/IPostChatSurveyPaneClassNames.js +1 -0
- package/lib/esm/components/postchatsurveypane/interfaces/IPostChatSurveyPaneControlProps.js +1 -0
- package/lib/esm/components/postchatsurveypane/interfaces/IPostChatSurveyPaneProps.js +1 -0
- package/lib/esm/components/postchatsurveypane/interfaces/IPostChatSurveyPaneStyleProps.js +1 -0
- package/lib/esm/components/prechatsurveypane/PreChatSurveyPane.js +115 -0
- package/lib/esm/components/prechatsurveypane/common/defaultProps/defaultPreChatSurveyPaneControlProps.js +11 -0
- package/lib/esm/components/prechatsurveypane/common/defaultProps/defaultPreChatSurveyPaneProps.js +6 -0
- package/lib/esm/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneACContainerStyles.js +5 -0
- package/lib/esm/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneButtonStyles.js +4 -0
- package/lib/esm/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneGeneralStyles.js +10 -0
- package/lib/esm/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneStyles.js +8 -0
- package/lib/esm/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneControlProps.js +4 -0
- package/lib/esm/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneProps.js +6 -0
- package/lib/esm/components/prechatsurveypane/common/presetThreeProps/presetThreePreChatSurveyPaneControlProps.js +11 -0
- package/lib/esm/components/prechatsurveypane/common/presetThreeProps/presetThreePreChatSurveyPaneProps.js +6 -0
- package/lib/esm/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneACContainerStyles.js +5 -0
- package/lib/esm/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneButtonStyles.js +4 -0
- package/lib/esm/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneGeneralStyles.js +11 -0
- package/lib/esm/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneStyles.js +8 -0
- package/lib/esm/components/prechatsurveypane/common/presetTwoProps/presetTwoPreChatSurveyPaneControlProps.js +11 -0
- package/lib/esm/components/prechatsurveypane/common/presetTwoProps/presetTwoPreChatSurveyPaneProps.js +6 -0
- package/lib/esm/components/prechatsurveypane/interfaces/IPreChatSurveyPaneButtonStyles.js +1 -0
- package/lib/esm/components/prechatsurveypane/interfaces/IPreChatSurveyPaneControlProps.js +1 -0
- package/lib/esm/components/prechatsurveypane/interfaces/IPreChatSurveyPaneProps.js +1 -0
- package/lib/esm/components/prechatsurveypane/interfaces/IPreChatSurveyPaneStyleProps.js +1 -0
- package/lib/esm/components/proactivechatpane/ProactiveChatPane.js +158 -0
- package/lib/esm/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneControlProps.js +24 -0
- package/lib/esm/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneProps.js +6 -0
- package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneBodyContainerStyles.js +1 -0
- package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneBodyTitleStyles.js +10 -0
- package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonHoveredStyles.js +4 -0
- package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonStyles.js +13 -0
- package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneGeneralStyles.js +13 -0
- package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneHeaderContainerStyles.js +11 -0
- package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStartButtonHoveredStyles.js +4 -0
- package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStartButtonStyles.js +11 -0
- package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStyles.js +24 -0
- package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneSubtitleStyles.js +6 -0
- package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneTextContainerStyles.js +9 -0
- package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneTitleStyles.js +4 -0
- package/lib/esm/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneControlProps.js +24 -0
- package/lib/esm/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneProps.js +6 -0
- package/lib/esm/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneBodyTitleStyles.js +5 -0
- package/lib/esm/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneCloseButtonHoveredStyles.js +3 -0
- package/lib/esm/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneCloseButtonStyles.js +4 -0
- package/lib/esm/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStartButtonHoveredStyles.js +4 -0
- package/lib/esm/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStartButtonStyles.js +5 -0
- package/lib/esm/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStyles.js +12 -0
- package/lib/esm/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneControlProps.js +24 -0
- package/lib/esm/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneProps.js +6 -0
- package/lib/esm/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneBodyContainerStyles.js +8 -0
- package/lib/esm/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneCloseButtonHoveredStyles.js +3 -0
- package/lib/esm/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneCloseButtonStyles.js +4 -0
- package/lib/esm/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneGeneralStyles.js +7 -0
- package/lib/esm/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneHeaderContainerStyles.js +3 -0
- package/lib/esm/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStartButtonHoveredStyles.js +4 -0
- package/lib/esm/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStartButtonStyles.js +6 -0
- package/lib/esm/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStyles.js +16 -0
- package/lib/esm/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneComponentOverrides.js +32 -0
- package/lib/esm/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneControlProps.js +19 -0
- package/lib/esm/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneProps.js +8 -0
- package/lib/esm/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneBodyContainerStyles.js +5 -0
- package/lib/esm/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneGeneralStyles.js +6 -0
- package/lib/esm/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneHeaderContainerStyles.js +4 -0
- package/lib/esm/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStartButtonHoveredStyles.js +4 -0
- package/lib/esm/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStartButtonStyles.js +6 -0
- package/lib/esm/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStyles.js +14 -0
- package/lib/esm/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneTextContainerStyles.js +4 -0
- package/lib/esm/components/proactivechatpane/interfaces/IProactiveChatPaneClassNames.js +1 -0
- package/lib/esm/components/proactivechatpane/interfaces/IProactiveChatPaneComponentOverrides.js +1 -0
- package/lib/esm/components/proactivechatpane/interfaces/IProactiveChatPaneControlProps.js +1 -0
- package/lib/esm/components/proactivechatpane/interfaces/IProactiveChatPaneProps.js +1 -0
- package/lib/esm/components/proactivechatpane/interfaces/IProactiveChatPaneStyleProps.js +1 -0
- package/lib/esm/components/reconnectchatpane/ReconnectChatPane.js +150 -0
- package/lib/esm/components/reconnectchatpane/common/default/defaultProps/defaultReconnectChatPaneControlProps.js +28 -0
- package/lib/esm/components/reconnectchatpane/common/default/defaultProps/defaultReconnectChatPaneProps.js +6 -0
- package/lib/esm/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneButtonGroupStyles.js +3 -0
- package/lib/esm/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonHoveredStyles.js +3 -0
- package/lib/esm/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonStyles.js +11 -0
- package/lib/esm/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneGeneralStyles.js +10 -0
- package/lib/esm/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneIconStyles.js +10 -0
- package/lib/esm/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonHoveredStyles.js +3 -0
- package/lib/esm/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonStyles.js +10 -0
- package/lib/esm/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStyles.js +22 -0
- package/lib/esm/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneSubtitleStyles.js +7 -0
- package/lib/esm/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneTitleStyles.js +8 -0
- package/lib/esm/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneWrapperStyles.js +9 -0
- package/lib/esm/components/reconnectchatpane/common/presetThree/presetThreeProps/presetThreeReconnectChatPaneControlProps.js +25 -0
- package/lib/esm/components/reconnectchatpane/common/presetThree/presetThreeProps/presetThreeReconnectChatPaneProps.js +6 -0
- package/lib/esm/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneButtonGroupStyles.js +3 -0
- package/lib/esm/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneContinueChatButtonStyles.js +5 -0
- package/lib/esm/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneGeneralStyles.js +6 -0
- package/lib/esm/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneStyles.js +12 -0
- package/lib/esm/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneTitleStyles.js +5 -0
- package/lib/esm/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneWrapperStyles.js +4 -0
- package/lib/esm/components/reconnectchatpane/interfaces/IReconnectChatPaneClassNames.js +1 -0
- package/lib/esm/components/reconnectchatpane/interfaces/IReconnectChatPaneComponentOverrides.js +1 -0
- package/lib/esm/components/reconnectchatpane/interfaces/IReconnectChatPaneControlProps.js +1 -0
- package/lib/esm/components/reconnectchatpane/interfaces/IReconnectChatPaneProps.js +1 -0
- package/lib/esm/components/reconnectchatpane/interfaces/IReconnectChatPaneStyleProps.js +1 -0
- package/lib/esm/index.js +19 -0
- package/lib/esm/interfaces/ICustomEvent.js +1 -0
- package/lib/esm/services/BroadcastService.js +31 -0
- package/lib/types/common/Constants.d.ts +36 -0
- package/lib/types/common/decodeComponentString.d.ts +2 -0
- package/lib/types/common/encodeComponentString.d.ts +2 -0
- package/lib/types/common/utils.d.ts +18 -0
- package/lib/types/components/callingcontainer/CallingContainer.d.ts +3 -0
- package/lib/types/components/callingcontainer/common/defaultProps/defaultCallingContainerControlProps.d.ts +2 -0
- package/lib/types/components/callingcontainer/common/defaultProps/defaultCallingContainerProps.d.ts +2 -0
- package/lib/types/components/callingcontainer/common/defaultStyles/customizedCallingContainerStyles.d.ts +2 -0
- package/lib/types/components/callingcontainer/common/defaultStyles/defaultCallingContainerStyles.d.ts +2 -0
- package/lib/types/components/callingcontainer/interfaces/ICallingContainerControlProps.d.ts +28 -0
- package/lib/types/components/callingcontainer/interfaces/ICallingContainerProps.d.ts +12 -0
- package/lib/types/components/callingcontainer/interfaces/ICallingContainerStyleProps.d.ts +21 -0
- package/lib/types/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.d.ts +3 -0
- package/lib/types/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlProps.d.ts +2 -0
- package/lib/types/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlPropsRtl.d.ts +2 -0
- package/lib/types/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallProps.d.ts +2 -0
- package/lib/types/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/componentOverridesStyleProps.d.ts +2 -0
- package/lib/types/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/customizedCurrentCallStyleProps.d.ts +2 -0
- package/lib/types/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/defaultCurrentCallStyleProps.d.ts +2 -0
- package/lib/types/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallClassNames.d.ts +22 -0
- package/lib/types/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallComponentOverrides.d.ts +7 -0
- package/lib/types/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallControlProps.d.ts +111 -0
- package/lib/types/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallNonActionControlIds.d.ts +26 -0
- package/lib/types/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallProps.d.ts +17 -0
- package/lib/types/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallStyleProps.d.ts +64 -0
- package/lib/types/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.d.ts +3 -0
- package/lib/types/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverrideProps.d.ts +2 -0
- package/lib/types/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverridesControlProps.d.ts +2 -0
- package/lib/types/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlProps.d.ts +2 -0
- package/lib/types/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlPropsRtl.d.ts +2 -0
- package/lib/types/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallProps.d.ts +2 -0
- package/lib/types/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/componentOverridesStyleProps.d.ts +2 -0
- package/lib/types/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/defaultIncomingCallStyleProps.d.ts +2 -0
- package/lib/types/components/callingcontainer/subcomponents/IncomingCall/interfaces/IIncomingCallComponentOverrides.d.ts +7 -0
- package/lib/types/components/callingcontainer/subcomponents/IncomingCall/interfaces/IIncomingCallControlProps.d.ts +89 -0
- package/lib/types/components/callingcontainer/subcomponents/IncomingCall/interfaces/IIncomingCallProps.d.ts +17 -0
- package/lib/types/components/callingcontainer/subcomponents/IncomingCall/interfaces/IIncomingCallStyleProps.d.ts +43 -0
- package/lib/types/components/callingcontainer/subcomponents/Timer/ITimer.d.ts +15 -0
- package/lib/types/components/callingcontainer/subcomponents/Timer/Timer.d.ts +3 -0
- package/lib/types/components/chatbutton/ChatButton.d.ts +3 -0
- package/lib/types/components/chatbutton/common/defaultProps/defaultChatButtonControlProps.d.ts +2 -0
- package/lib/types/components/chatbutton/common/defaultProps/defaultChatButtonProps.d.ts +2 -0
- package/lib/types/components/chatbutton/common/defaultStyles/defaultChatButtonGeneralStyles.d.ts +2 -0
- package/lib/types/components/chatbutton/common/defaultStyles/defaultChatButtonIconContainerStyles.d.ts +2 -0
- package/lib/types/components/chatbutton/common/defaultStyles/defaultChatButtonNotificationBubbleStyles.d.ts +2 -0
- package/lib/types/components/chatbutton/common/defaultStyles/defaultChatButtonStyleProps.d.ts +2 -0
- package/lib/types/components/chatbutton/common/defaultStyles/defaultChatButtonSubTitleStyles.d.ts +2 -0
- package/lib/types/components/chatbutton/common/defaultStyles/defaultChatButtonTextContainerStyles.d.ts +2 -0
- package/lib/types/components/chatbutton/common/defaultStyles/defaultChatButtonTitleStyles.d.ts +2 -0
- package/lib/types/components/chatbutton/interfaces/IChatButtonClassNames.d.ts +7 -0
- package/lib/types/components/chatbutton/interfaces/IChatButtonComponentOverrides.d.ts +8 -0
- package/lib/types/components/chatbutton/interfaces/IChatButtonControlProps.d.ts +16 -0
- package/lib/types/components/chatbutton/interfaces/IChatButtonProps.d.ts +8 -0
- package/lib/types/components/chatbutton/interfaces/IChatButtonStyleProps.d.ts +12 -0
- package/lib/types/components/common/commandbutton/CommandButton.d.ts +3 -0
- package/lib/types/components/common/interfaces/ICommandButtonControlProps.d.ts +17 -0
- package/lib/types/components/common/interfaces/ICommandButtonProps.d.ts +21 -0
- package/lib/types/components/common/interfaces/IImageControlProps.d.ts +6 -0
- package/lib/types/components/common/interfaces/ILabelControlProps.d.ts +5 -0
- package/lib/types/components/confirmationpane/ConfirmationPane.d.ts +3 -0
- package/lib/types/components/confirmationpane/common/defaultProps/defaultConfirmationPaneControlProps.d.ts +2 -0
- package/lib/types/components/confirmationpane/common/defaultProps/defaultConfirmationPaneProps.d.ts +2 -0
- package/lib/types/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneButtonGroupStyles.d.ts +2 -0
- package/lib/types/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonFocusedStyles.d.ts +2 -0
- package/lib/types/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonHoveredStyles.d.ts +2 -0
- package/lib/types/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonStyles.d.ts +2 -0
- package/lib/types/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonFocusedStyles.d.ts +2 -0
- package/lib/types/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonHoveredStyles.d.ts +2 -0
- package/lib/types/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonStyles.d.ts +2 -0
- package/lib/types/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneStyles.d.ts +2 -0
- package/lib/types/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneSubtitleStyles.d.ts +2 -0
- package/lib/types/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneTitleStyles.d.ts +2 -0
- package/lib/types/components/confirmationpane/interfaces/IConfirmationPaneClassNames.d.ts +7 -0
- package/lib/types/components/confirmationpane/interfaces/IConfirmationPaneComponentOverrides.d.ts +7 -0
- package/lib/types/components/confirmationpane/interfaces/IConfirmationPaneControlProps.d.ts +19 -0
- package/lib/types/components/confirmationpane/interfaces/IConfirmationPaneProps.d.ts +8 -0
- package/lib/types/components/confirmationpane/interfaces/IConfirmationPaneStyleProps.d.ts +15 -0
- package/lib/types/components/footer/Footer.d.ts +3 -0
- package/lib/types/components/footer/common/defaultProps/customFooterControlProps.d.ts +2 -0
- package/lib/types/components/footer/common/defaultProps/defaultFooterComponentOverrides.d.ts +2 -0
- package/lib/types/components/footer/common/defaultProps/defaultFooterControlProps.d.ts +2 -0
- package/lib/types/components/footer/common/defaultProps/defaultFooterOverridesProps.d.ts +2 -0
- package/lib/types/components/footer/common/defaultProps/defaultFooterProps.d.ts +2 -0
- package/lib/types/components/footer/common/defaultStyles/defaultFooterStyleProps.d.ts +2 -0
- package/lib/types/components/footer/interfaces/IFooterComponentOverrides.d.ts +15 -0
- package/lib/types/components/footer/interfaces/IFooterControlProps.d.ts +69 -0
- package/lib/types/components/footer/interfaces/IFooterProps.d.ts +18 -0
- package/lib/types/components/footer/interfaces/IFooterStyleProps.d.ts +40 -0
- package/lib/types/components/footer/subcomponents/AudioNotificationButton.d.ts +3 -0
- package/lib/types/components/footer/subcomponents/DownloadTranscriptButton.d.ts +3 -0
- package/lib/types/components/footer/subcomponents/EmailTranscriptButton.d.ts +3 -0
- package/lib/types/components/header/Header.d.ts +3 -0
- package/lib/types/components/header/common/defaultProps/azureHeaderControlProps.d.ts +2 -0
- package/lib/types/components/header/common/defaultProps/azureHeaderProps.d.ts +2 -0
- package/lib/types/components/header/common/defaultProps/customHeaderControlProps.d.ts +2 -0
- package/lib/types/components/header/common/defaultProps/defaultHeaderComponentOverrides.d.ts +2 -0
- package/lib/types/components/header/common/defaultProps/defaultHeaderControlProps.d.ts +2 -0
- package/lib/types/components/header/common/defaultProps/defaultHeaderProps.d.ts +2 -0
- package/lib/types/components/header/common/defaultProps/overridesDefaultHeaderProps.d.ts +2 -0
- package/lib/types/components/header/common/defaultStyles/advancedHeaderStyleProps.d.ts +2 -0
- package/lib/types/components/header/common/defaultStyles/defaultHeaderStyleProps.d.ts +2 -0
- package/lib/types/components/header/interfaces/IHeaderComponentOverrides.d.ts +19 -0
- package/lib/types/components/header/interfaces/IHeaderControlProps.d.ts +76 -0
- package/lib/types/components/header/interfaces/IHeaderProps.d.ts +18 -0
- package/lib/types/components/header/interfaces/IHeaderStyleProps.d.ts +40 -0
- package/lib/types/components/header/subcomponents/CloseButton.d.ts +3 -0
- package/lib/types/components/header/subcomponents/MinimizeButton.d.ts +3 -0
- package/lib/types/components/inputvalidationpane/InputValidationPane.d.ts +3 -0
- package/lib/types/components/inputvalidationpane/common/default/defaultProps/defaultInputValidationPaneControlProps.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/default/defaultProps/defaultInputValidationPaneProps.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneButtonGroupStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonHoveredStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneHeaderGroupStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInputStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInvalidInputErrorMessageStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonHoveredStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSubtitleStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneTitleStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneComponentOverrides.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneControlProps.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneProps.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneCancelButtonStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneHeaderGroupStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneInputStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneSendButtonStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneTitleStyles.d.ts +2 -0
- package/lib/types/components/inputvalidationpane/interfaces/IInputValidationPaneClassNames.d.ts +11 -0
- package/lib/types/components/inputvalidationpane/interfaces/IInputValidationPaneComponentOverrides.d.ts +9 -0
- package/lib/types/components/inputvalidationpane/interfaces/IInputValidationPaneControlProps.d.ts +29 -0
- package/lib/types/components/inputvalidationpane/interfaces/IInputValidationPaneProps.d.ts +8 -0
- package/lib/types/components/inputvalidationpane/interfaces/IInputValidationPaneStyleProps.d.ts +16 -0
- package/lib/types/components/loadingpane/LoadingPane.d.ts +3 -0
- package/lib/types/components/loadingpane/common/defaultProps/defaultLoadingPaneControlProps.d.ts +2 -0
- package/lib/types/components/loadingpane/common/defaultProps/defaultLoadingPaneProps.d.ts +2 -0
- package/lib/types/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconImageProps.d.ts +2 -0
- package/lib/types/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSpinnerStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSpinnerTextStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSubtitleStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneTitleStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetOneProps/presetOneLoadingPaneControlProps.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetOneProps/presetOneLoadingPaneProps.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneControlProps.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneProps.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconImageProps.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSpinnerStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSpinnerTextStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSubtitleStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneTitleStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneControlProps.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneProps.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneSpinnerStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneStyles.d.ts +2 -0
- package/lib/types/components/loadingpane/interfaces/ILoadingPaneClassNames.d.ts +7 -0
- package/lib/types/components/loadingpane/interfaces/ILoadingPaneComponentOverrides.d.ts +8 -0
- package/lib/types/components/loadingpane/interfaces/ILoadingPaneControlProps.d.ts +16 -0
- package/lib/types/components/loadingpane/interfaces/ILoadingPaneProps.d.ts +8 -0
- package/lib/types/components/loadingpane/interfaces/ILoadingPaneStyleProps.d.ts +12 -0
- package/lib/types/components/outofofficehourspane/OOOHPane.d.ts +3 -0
- package/lib/types/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneControlProps.d.ts +2 -0
- package/lib/types/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneProps.d.ts +2 -0
- package/lib/types/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneStyles.d.ts +2 -0
- package/lib/types/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneTitleStyles.d.ts +2 -0
- package/lib/types/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneControlProps.d.ts +2 -0
- package/lib/types/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneProps.d.ts +2 -0
- package/lib/types/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneControlProps.d.ts +2 -0
- package/lib/types/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneProps.d.ts +2 -0
- package/lib/types/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneStyles.d.ts +2 -0
- package/lib/types/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneTitleStyles.d.ts +2 -0
- package/lib/types/components/outofofficehourspane/interfaces/IOOOHPaneClassNames.d.ts +4 -0
- package/lib/types/components/outofofficehourspane/interfaces/IOOOHPaneComponentOverrides.d.ts +4 -0
- package/lib/types/components/outofofficehourspane/interfaces/IOOOHPaneControlProps.d.ts +8 -0
- package/lib/types/components/outofofficehourspane/interfaces/IOOOHPaneProps.d.ts +8 -0
- package/lib/types/components/outofofficehourspane/interfaces/IOOOHPaneStyleProps.d.ts +7 -0
- package/lib/types/components/postchatsurveypane/PostChatSurveyPane.d.ts +3 -0
- package/lib/types/components/postchatsurveypane/common/defaultProps/defaultPostChatSurveyPaneControlProps.d.ts +2 -0
- package/lib/types/components/postchatsurveypane/common/defaultProps/defaultPostChatSurveyPaneProps.d.ts +2 -0
- package/lib/types/components/postchatsurveypane/common/defaultProps/defaultStyles/defaultPostChatSurveyPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/postchatsurveypane/common/defaultProps/defaultStyles/defaultPostChatSurveyPaneStyles.d.ts +2 -0
- package/lib/types/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneControlProps.d.ts +2 -0
- package/lib/types/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneProps.d.ts +2 -0
- package/lib/types/components/postchatsurveypane/common/presetOneProps/presetOneStyles/presetOnePostChatSurveyPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/postchatsurveypane/common/presetOneProps/presetOneStyles/presetOnePostChatSurveyPaneStyles.d.ts +2 -0
- package/lib/types/components/postchatsurveypane/interfaces/IPostChatSurveyPaneClassNames.d.ts +3 -0
- package/lib/types/components/postchatsurveypane/interfaces/IPostChatSurveyPaneControlProps.d.ts +6 -0
- package/lib/types/components/postchatsurveypane/interfaces/IPostChatSurveyPaneProps.d.ts +6 -0
- package/lib/types/components/postchatsurveypane/interfaces/IPostChatSurveyPaneStyleProps.d.ts +6 -0
- package/lib/types/components/prechatsurveypane/PreChatSurveyPane.d.ts +3 -0
- package/lib/types/components/prechatsurveypane/common/defaultProps/defaultPreChatSurveyPaneControlProps.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/common/defaultProps/defaultPreChatSurveyPaneProps.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneACContainerStyles.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneButtonStyles.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneStyles.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneControlProps.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneProps.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/common/presetThreeProps/presetThreePreChatSurveyPaneControlProps.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/common/presetThreeProps/presetThreePreChatSurveyPaneProps.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneACContainerStyles.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneButtonStyles.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneStyles.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/common/presetTwoProps/presetTwoPreChatSurveyPaneControlProps.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/common/presetTwoProps/presetTwoPreChatSurveyPaneProps.d.ts +2 -0
- package/lib/types/components/prechatsurveypane/interfaces/IPreChatSurveyPaneButtonStyles.d.ts +4 -0
- package/lib/types/components/prechatsurveypane/interfaces/IPreChatSurveyPaneControlProps.d.ts +15 -0
- package/lib/types/components/prechatsurveypane/interfaces/IPreChatSurveyPaneProps.d.ts +6 -0
- package/lib/types/components/prechatsurveypane/interfaces/IPreChatSurveyPaneStyleProps.d.ts +7 -0
- package/lib/types/components/proactivechatpane/ProactiveChatPane.d.ts +3 -0
- package/lib/types/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneControlProps.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneProps.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneBodyContainerStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneBodyTitleStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonHoveredStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneHeaderContainerStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStartButtonHoveredStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStartButtonStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneSubtitleStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneTextContainerStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneTitleStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneControlProps.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneProps.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneBodyTitleStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneCloseButtonHoveredStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneCloseButtonStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStartButtonHoveredStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStartButtonStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneControlProps.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneProps.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneBodyContainerStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneCloseButtonHoveredStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneCloseButtonStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneHeaderContainerStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStartButtonHoveredStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStartButtonStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneComponentOverrides.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneControlProps.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneProps.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneBodyContainerStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneHeaderContainerStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStartButtonHoveredStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStartButtonStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneTextContainerStyles.d.ts +2 -0
- package/lib/types/components/proactivechatpane/interfaces/IProactiveChatPaneClassNames.d.ts +11 -0
- package/lib/types/components/proactivechatpane/interfaces/IProactiveChatPaneComponentOverrides.d.ts +8 -0
- package/lib/types/components/proactivechatpane/interfaces/IProactiveChatPaneControlProps.d.ts +20 -0
- package/lib/types/components/proactivechatpane/interfaces/IProactiveChatPaneProps.d.ts +8 -0
- package/lib/types/components/proactivechatpane/interfaces/IProactiveChatPaneStyleProps.d.ts +16 -0
- package/lib/types/components/reconnectchatpane/ReconnectChatPane.d.ts +3 -0
- package/lib/types/components/reconnectchatpane/common/default/defaultProps/defaultReconnectChatPaneControlProps.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/default/defaultProps/defaultReconnectChatPaneProps.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneButtonGroupStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonHoveredStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneIconStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonHoveredStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneSubtitleStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneTitleStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneWrapperStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/presetThree/presetThreeProps/presetThreeReconnectChatPaneControlProps.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/presetThree/presetThreeProps/presetThreeReconnectChatPaneProps.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneButtonGroupStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneContinueChatButtonStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneGeneralStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneTitleStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneWrapperStyles.d.ts +2 -0
- package/lib/types/components/reconnectchatpane/interfaces/IReconnectChatPaneClassNames.d.ts +10 -0
- package/lib/types/components/reconnectchatpane/interfaces/IReconnectChatPaneComponentOverrides.d.ts +8 -0
- package/lib/types/components/reconnectchatpane/interfaces/IReconnectChatPaneControlProps.d.ts +22 -0
- package/lib/types/components/reconnectchatpane/interfaces/IReconnectChatPaneProps.d.ts +8 -0
- package/lib/types/components/reconnectchatpane/interfaces/IReconnectChatPaneStyleProps.d.ts +15 -0
- package/lib/types/index.d.ts +19 -0
- package/lib/types/interfaces/ICustomEvent.d.ts +7 -0
- package/lib/types/services/BroadcastService.d.ts +9 -0
- package/package.json +102 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Stack } from "@fluentui/react";
|
|
3
|
+
import CurrentCall from "./subcomponents/CurrentCall/CurrentCall";
|
|
4
|
+
import IncomingCall from "./subcomponents/IncomingCall/IncomingCall";
|
|
5
|
+
import { defaultCallingContainerProps } from "./common/defaultProps/defaultCallingContainerProps";
|
|
6
|
+
|
|
7
|
+
function CallingContainer(props) {
|
|
8
|
+
var _props$controlProps, _defaultCallingContai, _defaultCallingContai2, _props$styleProps, _props$controlProps2, _defaultCallingContai3, _props$styleProps2, _props$controlProps3, _defaultCallingContai4, _props$controlProps4, _props$styleProps3, _props$controlProps5, _props$styleProps4;
|
|
9
|
+
|
|
10
|
+
const callingContainerId = ((_props$controlProps = props.controlProps) === null || _props$controlProps === void 0 ? void 0 : _props$controlProps.id) ?? ((_defaultCallingContai = defaultCallingContainerProps.controlProps) === null || _defaultCallingContai === void 0 ? void 0 : _defaultCallingContai.id);
|
|
11
|
+
let stackStyles = {
|
|
12
|
+
root: Object.assign({}, (_defaultCallingContai2 = defaultCallingContainerProps.styleProps) === null || _defaultCallingContai2 === void 0 ? void 0 : _defaultCallingContai2.generalStyleProps, (_props$styleProps = props.styleProps) === null || _props$styleProps === void 0 ? void 0 : _props$styleProps.generalStyleProps)
|
|
13
|
+
};
|
|
14
|
+
const hideCallingContainer = ((_props$controlProps2 = props.controlProps) === null || _props$controlProps2 === void 0 ? void 0 : _props$controlProps2.hideCallingContainer) ?? ((_defaultCallingContai3 = defaultCallingContainerProps.controlProps) === null || _defaultCallingContai3 === void 0 ? void 0 : _defaultCallingContai3.hideCallingContainer);
|
|
15
|
+
|
|
16
|
+
if (hideCallingContainer) {
|
|
17
|
+
stackStyles = {
|
|
18
|
+
root: Object.assign({}, stackStyles.root, {
|
|
19
|
+
display: "none"
|
|
20
|
+
})
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return /*#__PURE__*/React.createElement(Stack, {
|
|
25
|
+
id: callingContainerId,
|
|
26
|
+
className: (_props$styleProps2 = props.styleProps) === null || _props$styleProps2 === void 0 ? void 0 : _props$styleProps2.className,
|
|
27
|
+
horizontalAlign: "space-between",
|
|
28
|
+
dir: ((_props$controlProps3 = props.controlProps) === null || _props$controlProps3 === void 0 ? void 0 : _props$controlProps3.dir) ?? ((_defaultCallingContai4 = defaultCallingContainerProps.controlProps) === null || _defaultCallingContai4 === void 0 ? void 0 : _defaultCallingContai4.dir),
|
|
29
|
+
styles: stackStyles
|
|
30
|
+
}, ((_props$controlProps4 = props.controlProps) === null || _props$controlProps4 === void 0 ? void 0 : _props$controlProps4.isIncomingCall) && /*#__PURE__*/React.createElement(IncomingCall, {
|
|
31
|
+
controlProps: props.controlProps.incomingCallControlProps,
|
|
32
|
+
styleProps: (_props$styleProps3 = props.styleProps) === null || _props$styleProps3 === void 0 ? void 0 : _props$styleProps3.incomingCallStyleProps
|
|
33
|
+
}), ((_props$controlProps5 = props.controlProps) === null || _props$controlProps5 === void 0 ? void 0 : _props$controlProps5.isIncomingCall) === false && /*#__PURE__*/React.createElement(CurrentCall, {
|
|
34
|
+
controlProps: props.controlProps.currentCallControlProps,
|
|
35
|
+
styleProps: (_props$styleProps4 = props.styleProps) === null || _props$styleProps4 === void 0 ? void 0 : _props$styleProps4.currentCallStyleProps
|
|
36
|
+
}));
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export default CallingContainer;
|
package/lib/esm/components/callingcontainer/common/defaultProps/defaultCallingContainerProps.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { defaultCallingContainerStyles } from "../defaultStyles/defaultCallingContainerStyles";
|
|
2
|
+
import { defaultCallingContainerControlProps } from "./defaultCallingContainerControlProps";
|
|
3
|
+
export const defaultCallingContainerProps = {
|
|
4
|
+
controlProps: defaultCallingContainerControlProps,
|
|
5
|
+
styleProps: defaultCallingContainerStyles
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
2
|
+
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { IconButton, Stack } from "@fluentui/react";
|
|
5
|
+
import { BroadcastService } from "../../../../services/BroadcastService";
|
|
6
|
+
import CommandButton from "../../../common/commandbutton/CommandButton";
|
|
7
|
+
import { ElementType } from "../../../../common/Constants";
|
|
8
|
+
import Timer from "../Timer/Timer";
|
|
9
|
+
import { defaultCurrentCallProps } from "./common/defaultProps/defaultCurrentCallProps";
|
|
10
|
+
import { processCustomComponents } from "../../../../common/utils";
|
|
11
|
+
import { useBoolean } from "@fluentui/react-hooks";
|
|
12
|
+
import { useCallback } from "react";
|
|
13
|
+
|
|
14
|
+
function CurrentCall(props) {
|
|
15
|
+
var _props$controlProps, _defaultCurrentCallPr, _props$controlProps2, _props$controlProps2$, _defaultCurrentCallPr2, _defaultCurrentCallPr3, _props$controlProps3, _props$controlProps3$, _defaultCurrentCallPr4, _defaultCurrentCallPr5, _props$controlProps4, _props$controlProps4$, _defaultCurrentCallPr6, _defaultCurrentCallPr7, _props$controlProps5, _props$controlProps5$, _defaultCurrentCallPr8, _defaultCurrentCallPr9, _props$controlProps6, _props$controlProps6$, _defaultCurrentCallPr10, _defaultCurrentCallPr11, _props$controlProps7, _props$controlProps7$, _defaultCurrentCallPr12, _defaultCurrentCallPr13, _props$controlProps8, _props$controlProps8$, _defaultCurrentCallPr14, _defaultCurrentCallPr15, _props$controlProps9, _props$controlProps10, _defaultCurrentCallPr16, _defaultCurrentCallPr17, _props$styleProps, _props$controlProps11, _props$controlProps12, _defaultCurrentCallPr18, _defaultCurrentCallPr19, _props$controlProps13, _props$controlProps14, _defaultCurrentCallPr20, _defaultCurrentCallPr21, _props$controlProps15, _props$controlProps16, _defaultCurrentCallPr22, _defaultCurrentCallPr23, _props$controlProps17, _props$controlProps18, _props$controlProps19, _props$controlProps20, _defaultCurrentCallPr24, _defaultCurrentCallPr25, _props$controlProps21, _props$controlProps22, _defaultCurrentCallPr26, _defaultCurrentCallPr27, _props$controlProps23, _props$controlProps24, _defaultCurrentCallPr28, _defaultCurrentCallPr29, _props$controlProps25, _props$controlProps26, _defaultCurrentCallPr30, _defaultCurrentCallPr31, _props$controlProps27, _props$controlProps28, _props$controlProps29, _props$controlProps30, _defaultCurrentCallPr32, _defaultCurrentCallPr33, _props$controlProps31, _props$controlProps32, _defaultCurrentCallPr34, _defaultCurrentCallPr35, _props$controlProps33, _props$controlProps34, _defaultCurrentCallPr36, _defaultCurrentCallPr37, _props$controlProps35, _props$controlProps36, _defaultCurrentCallPr38, _defaultCurrentCallPr39, _props$controlProps37, _defaultCurrentCallPr40, _props$controlProps38, _defaultCurrentCallPr41, _props$controlProps39, _defaultCurrentCallPr42, _props$controlProps40, _props$controlProps41, _props$controlProps42, _props$controlProps43, _defaultCurrentCallPr43, _defaultCurrentCallPr44, _props$controlProps44, _props$controlProps45, _defaultCurrentCallPr45, _defaultCurrentCallPr46, _props$controlProps46, _props$controlProps47, _defaultCurrentCallPr47, _defaultCurrentCallPr48, _props$controlProps48, _props$controlProps49, _defaultCurrentCallPr49, _defaultCurrentCallPr50, _props$controlProps50, _props$controlProps51, _props$controlProps52, _props$controlProps53, _defaultCurrentCallPr51, _defaultCurrentCallPr52, _props$controlProps54, _props$controlProps55, _defaultCurrentCallPr53, _defaultCurrentCallPr54, _props$controlProps56, _props$controlProps57, _defaultCurrentCallPr55, _defaultCurrentCallPr56, _props$controlProps58, _props$controlProps59, _defaultCurrentCallPr57, _defaultCurrentCallPr58, _defaultCurrentCallPr59, _props$controlProps60, _defaultCurrentCallPr60, _props$controlProps61, _defaultCurrentCallPr61, _props$styleProps2, _defaultCurrentCallPr62, _props$styleProps3, _defaultCurrentCallPr63, _props$styleProps4, _defaultCurrentCallPr67, _props$styleProps8, _defaultCurrentCallPr68, _props$styleProps9, _defaultCurrentCallPr69, _props$styleProps10, _defaultCurrentCallPr70, _props$styleProps11, _defaultCurrentCallPr71, _props$styleProps12, _props$controlProps68, _defaultCurrentCallPr72, _props$styleProps13, _props$styleProps13$c, _props$styleProps14, _props$styleProps14$c, _props$styleProps15, _props$styleProps15$c, _props$styleProps16, _props$styleProps16$c, _props$styleProps17, _props$styleProps17$c, _props$controlProps69, _props$controlProps70, _props$controlProps71, _props$controlProps72, _props$controlProps73, _props$controlProps74, _props$controlProps75, _props$controlProps76, _props$controlProps77, _defaultCurrentCallPr73, _defaultCurrentCallPr74, _props$controlProps78, _props$controlProps79, _defaultCurrentCallPr75, _defaultCurrentCallPr76, _props$controlProps80, _props$controlProps81, _props$controlProps82, _props$controlProps83, _defaultCurrentCallPr77, _defaultCurrentCallPr78, _props$controlProps84, _props$controlProps85, _defaultCurrentCallPr79, _defaultCurrentCallPr80, _props$controlProps86, _props$controlProps87, _props$controlProps88, _props$controlProps89, _props$controlProps90, _defaultCurrentCallPr81, _defaultCurrentCallPr82, _props$controlProps91, _props$controlProps92, _defaultCurrentCallPr83, _defaultCurrentCallPr84, _props$controlProps93, _props$controlProps94, _props$controlProps95, _props$controlProps96, _defaultCurrentCallPr85, _defaultCurrentCallPr86, _props$controlProps97, _props$controlProps98, _defaultCurrentCallPr87, _defaultCurrentCallPr88, _props$controlProps99, _props$controlProps100, _props$controlProps101;
|
|
16
|
+
|
|
17
|
+
const currentCallId = ((_props$controlProps = props.controlProps) === null || _props$controlProps === void 0 ? void 0 : _props$controlProps.id) ?? ((_defaultCurrentCallPr = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr === void 0 ? void 0 : _defaultCurrentCallPr.id);
|
|
18
|
+
const endCallButtonId = ((_props$controlProps2 = props.controlProps) === null || _props$controlProps2 === void 0 ? void 0 : (_props$controlProps2$ = _props$controlProps2.endCallButtonProps) === null || _props$controlProps2$ === void 0 ? void 0 : _props$controlProps2$.id) ?? ((_defaultCurrentCallPr2 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr2 === void 0 ? void 0 : (_defaultCurrentCallPr3 = _defaultCurrentCallPr2.endCallButtonProps) === null || _defaultCurrentCallPr3 === void 0 ? void 0 : _defaultCurrentCallPr3.id);
|
|
19
|
+
const micButtonId = ((_props$controlProps3 = props.controlProps) === null || _props$controlProps3 === void 0 ? void 0 : (_props$controlProps3$ = _props$controlProps3.micButtonProps) === null || _props$controlProps3$ === void 0 ? void 0 : _props$controlProps3$.id) ?? ((_defaultCurrentCallPr4 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr4 === void 0 ? void 0 : (_defaultCurrentCallPr5 = _defaultCurrentCallPr4.micButtonProps) === null || _defaultCurrentCallPr5 === void 0 ? void 0 : _defaultCurrentCallPr5.id);
|
|
20
|
+
const videoOffButtonId = ((_props$controlProps4 = props.controlProps) === null || _props$controlProps4 === void 0 ? void 0 : (_props$controlProps4$ = _props$controlProps4.videoButtonProps) === null || _props$controlProps4$ === void 0 ? void 0 : _props$controlProps4$.id) ?? ((_defaultCurrentCallPr6 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr6 === void 0 ? void 0 : (_defaultCurrentCallPr7 = _defaultCurrentCallPr6.videoButtonProps) === null || _defaultCurrentCallPr7 === void 0 ? void 0 : _defaultCurrentCallPr7.id);
|
|
21
|
+
const callTimerId = ((_props$controlProps5 = props.controlProps) === null || _props$controlProps5 === void 0 ? void 0 : (_props$controlProps5$ = _props$controlProps5.callTimerProps) === null || _props$controlProps5$ === void 0 ? void 0 : _props$controlProps5$.id) ?? ((_defaultCurrentCallPr8 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr8 === void 0 ? void 0 : (_defaultCurrentCallPr9 = _defaultCurrentCallPr8.callTimerProps) === null || _defaultCurrentCallPr9 === void 0 ? void 0 : _defaultCurrentCallPr9.id);
|
|
22
|
+
const videoTileId = ((_props$controlProps6 = props.controlProps) === null || _props$controlProps6 === void 0 ? void 0 : (_props$controlProps6$ = _props$controlProps6.nonActionIds) === null || _props$controlProps6$ === void 0 ? void 0 : _props$controlProps6$.videoTileGroupId) ?? ((_defaultCurrentCallPr10 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr10 === void 0 ? void 0 : (_defaultCurrentCallPr11 = _defaultCurrentCallPr10.nonActionIds) === null || _defaultCurrentCallPr11 === void 0 ? void 0 : _defaultCurrentCallPr11.videoTileGroupId);
|
|
23
|
+
const remoteVideoTileId = ((_props$controlProps7 = props.controlProps) === null || _props$controlProps7 === void 0 ? void 0 : (_props$controlProps7$ = _props$controlProps7.nonActionIds) === null || _props$controlProps7$ === void 0 ? void 0 : _props$controlProps7$.remoteVideoTileId) ?? ((_defaultCurrentCallPr12 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr12 === void 0 ? void 0 : (_defaultCurrentCallPr13 = _defaultCurrentCallPr12.nonActionIds) === null || _defaultCurrentCallPr13 === void 0 ? void 0 : _defaultCurrentCallPr13.remoteVideoTileId);
|
|
24
|
+
const selfVideoTileId = ((_props$controlProps8 = props.controlProps) === null || _props$controlProps8 === void 0 ? void 0 : (_props$controlProps8$ = _props$controlProps8.nonActionIds) === null || _props$controlProps8$ === void 0 ? void 0 : _props$controlProps8$.selfVideoTileId) ?? ((_defaultCurrentCallPr14 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr14 === void 0 ? void 0 : (_defaultCurrentCallPr15 = _defaultCurrentCallPr14.nonActionIds) === null || _defaultCurrentCallPr15 === void 0 ? void 0 : _defaultCurrentCallPr15.selfVideoTileId);
|
|
25
|
+
const dir = (_props$controlProps9 = props.controlProps) !== null && _props$controlProps9 !== void 0 && _props$controlProps9.dir ? (_props$controlProps10 = props.controlProps) === null || _props$controlProps10 === void 0 ? void 0 : _props$controlProps10.dir : (_defaultCurrentCallPr16 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr16 === void 0 ? void 0 : _defaultCurrentCallPr16.dir;
|
|
26
|
+
const stackStyles = {
|
|
27
|
+
root: Object.assign({}, (_defaultCurrentCallPr17 = defaultCurrentCallProps.styleProps) === null || _defaultCurrentCallPr17 === void 0 ? void 0 : _defaultCurrentCallPr17.generalStyleProps, (_props$styleProps = props.styleProps) === null || _props$styleProps === void 0 ? void 0 : _props$styleProps.generalStyleProps)
|
|
28
|
+
};
|
|
29
|
+
const leftGroupStackTokens = {
|
|
30
|
+
childrenGap: ((_props$controlProps11 = props.controlProps) === null || _props$controlProps11 === void 0 ? void 0 : (_props$controlProps12 = _props$controlProps11.leftGroup) === null || _props$controlProps12 === void 0 ? void 0 : _props$controlProps12.gap) ?? ((_defaultCurrentCallPr18 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr18 === void 0 ? void 0 : (_defaultCurrentCallPr19 = _defaultCurrentCallPr18.leftGroup) === null || _defaultCurrentCallPr19 === void 0 ? void 0 : _defaultCurrentCallPr19.gap)
|
|
31
|
+
};
|
|
32
|
+
const rightGroupStackTokens = {
|
|
33
|
+
childrenGap: ((_props$controlProps13 = props.controlProps) === null || _props$controlProps13 === void 0 ? void 0 : (_props$controlProps14 = _props$controlProps13.rightGroup) === null || _props$controlProps14 === void 0 ? void 0 : _props$controlProps14.gap) ?? ((_defaultCurrentCallPr20 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr20 === void 0 ? void 0 : (_defaultCurrentCallPr21 = _defaultCurrentCallPr20.rightGroup) === null || _defaultCurrentCallPr21 === void 0 ? void 0 : _defaultCurrentCallPr21.gap)
|
|
34
|
+
};
|
|
35
|
+
const middleGroupStackTokens = {
|
|
36
|
+
childrenGap: ((_props$controlProps15 = props.controlProps) === null || _props$controlProps15 === void 0 ? void 0 : (_props$controlProps16 = _props$controlProps15.middleGroup) === null || _props$controlProps16 === void 0 ? void 0 : _props$controlProps16.gap) ?? ((_defaultCurrentCallPr22 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr22 === void 0 ? void 0 : (_defaultCurrentCallPr23 = _defaultCurrentCallPr22.middleGroup) === null || _defaultCurrentCallPr23 === void 0 ? void 0 : _defaultCurrentCallPr23.gap)
|
|
37
|
+
};
|
|
38
|
+
const videoOffIcon = (_props$controlProps17 = props.controlProps) !== null && _props$controlProps17 !== void 0 && (_props$controlProps18 = _props$controlProps17.videoButtonProps) !== null && _props$controlProps18 !== void 0 && _props$controlProps18.imageToggleIconProps ? {
|
|
39
|
+
imageProps: ((_props$controlProps19 = props.controlProps) === null || _props$controlProps19 === void 0 ? void 0 : (_props$controlProps20 = _props$controlProps19.videoButtonProps) === null || _props$controlProps20 === void 0 ? void 0 : _props$controlProps20.imageToggleIconProps) ?? ((_defaultCurrentCallPr24 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr24 === void 0 ? void 0 : (_defaultCurrentCallPr25 = _defaultCurrentCallPr24.videoButtonProps) === null || _defaultCurrentCallPr25 === void 0 ? void 0 : _defaultCurrentCallPr25.imageToggleIconProps),
|
|
40
|
+
styles: {
|
|
41
|
+
root: {
|
|
42
|
+
fontSize: ((_props$controlProps21 = props.controlProps) === null || _props$controlProps21 === void 0 ? void 0 : (_props$controlProps22 = _props$controlProps21.videoButtonProps) === null || _props$controlProps22 === void 0 ? void 0 : _props$controlProps22.iconSize) ?? ((_defaultCurrentCallPr26 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr26 === void 0 ? void 0 : (_defaultCurrentCallPr27 = _defaultCurrentCallPr26.videoButtonProps) === null || _defaultCurrentCallPr27 === void 0 ? void 0 : _defaultCurrentCallPr27.iconSize)
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
} : {
|
|
46
|
+
iconName: ((_props$controlProps23 = props.controlProps) === null || _props$controlProps23 === void 0 ? void 0 : (_props$controlProps24 = _props$controlProps23.videoButtonProps) === null || _props$controlProps24 === void 0 ? void 0 : _props$controlProps24.toggleIconName) ?? ((_defaultCurrentCallPr28 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr28 === void 0 ? void 0 : (_defaultCurrentCallPr29 = _defaultCurrentCallPr28.videoButtonProps) === null || _defaultCurrentCallPr29 === void 0 ? void 0 : _defaultCurrentCallPr29.toggleIconName),
|
|
47
|
+
styles: {
|
|
48
|
+
root: {
|
|
49
|
+
fontSize: ((_props$controlProps25 = props.controlProps) === null || _props$controlProps25 === void 0 ? void 0 : (_props$controlProps26 = _props$controlProps25.videoButtonProps) === null || _props$controlProps26 === void 0 ? void 0 : _props$controlProps26.iconSize) ?? ((_defaultCurrentCallPr30 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr30 === void 0 ? void 0 : (_defaultCurrentCallPr31 = _defaultCurrentCallPr30.videoButtonProps) === null || _defaultCurrentCallPr31 === void 0 ? void 0 : _defaultCurrentCallPr31.iconSize)
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
const videoOnIcon = (_props$controlProps27 = props.controlProps) !== null && _props$controlProps27 !== void 0 && (_props$controlProps28 = _props$controlProps27.videoButtonProps) !== null && _props$controlProps28 !== void 0 && _props$controlProps28.imageIconProps ? {
|
|
54
|
+
imageProps: ((_props$controlProps29 = props.controlProps) === null || _props$controlProps29 === void 0 ? void 0 : (_props$controlProps30 = _props$controlProps29.videoButtonProps) === null || _props$controlProps30 === void 0 ? void 0 : _props$controlProps30.imageIconProps) ?? ((_defaultCurrentCallPr32 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr32 === void 0 ? void 0 : (_defaultCurrentCallPr33 = _defaultCurrentCallPr32.videoButtonProps) === null || _defaultCurrentCallPr33 === void 0 ? void 0 : _defaultCurrentCallPr33.imageIconProps),
|
|
55
|
+
styles: {
|
|
56
|
+
root: {
|
|
57
|
+
fontSize: ((_props$controlProps31 = props.controlProps) === null || _props$controlProps31 === void 0 ? void 0 : (_props$controlProps32 = _props$controlProps31.videoButtonProps) === null || _props$controlProps32 === void 0 ? void 0 : _props$controlProps32.iconSize) ?? ((_defaultCurrentCallPr34 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr34 === void 0 ? void 0 : (_defaultCurrentCallPr35 = _defaultCurrentCallPr34.videoButtonProps) === null || _defaultCurrentCallPr35 === void 0 ? void 0 : _defaultCurrentCallPr35.iconSize)
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
} : {
|
|
61
|
+
iconName: ((_props$controlProps33 = props.controlProps) === null || _props$controlProps33 === void 0 ? void 0 : (_props$controlProps34 = _props$controlProps33.videoButtonProps) === null || _props$controlProps34 === void 0 ? void 0 : _props$controlProps34.iconName) ?? ((_defaultCurrentCallPr36 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr36 === void 0 ? void 0 : (_defaultCurrentCallPr37 = _defaultCurrentCallPr36.videoButtonProps) === null || _defaultCurrentCallPr37 === void 0 ? void 0 : _defaultCurrentCallPr37.iconName),
|
|
62
|
+
styles: {
|
|
63
|
+
root: {
|
|
64
|
+
fontSize: ((_props$controlProps35 = props.controlProps) === null || _props$controlProps35 === void 0 ? void 0 : (_props$controlProps36 = _props$controlProps35.videoButtonProps) === null || _props$controlProps36 === void 0 ? void 0 : _props$controlProps36.iconSize) ?? ((_defaultCurrentCallPr38 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr38 === void 0 ? void 0 : (_defaultCurrentCallPr39 = _defaultCurrentCallPr38.videoButtonProps) === null || _defaultCurrentCallPr39 === void 0 ? void 0 : _defaultCurrentCallPr39.iconSize)
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
const hideVideoDialog = ((_props$controlProps37 = props.controlProps) === null || _props$controlProps37 === void 0 ? void 0 : _props$controlProps37.videoCallDisabled) ?? ((_defaultCurrentCallPr40 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr40 === void 0 ? void 0 : _defaultCurrentCallPr40.videoCallDisabled);
|
|
69
|
+
const hideSelfVideo = ((_props$controlProps38 = props.controlProps) === null || _props$controlProps38 === void 0 ? void 0 : _props$controlProps38.selfVideoDisabled) ?? ((_defaultCurrentCallPr41 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr41 === void 0 ? void 0 : _defaultCurrentCallPr41.selfVideoDisabled);
|
|
70
|
+
const hideRemoteVideo = ((_props$controlProps39 = props.controlProps) === null || _props$controlProps39 === void 0 ? void 0 : _props$controlProps39.remoteVideoDisabled) ?? ((_defaultCurrentCallPr42 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr42 === void 0 ? void 0 : _defaultCurrentCallPr42.remoteVideoDisabled);
|
|
71
|
+
const micOffIcon = (_props$controlProps40 = props.controlProps) !== null && _props$controlProps40 !== void 0 && (_props$controlProps41 = _props$controlProps40.micButtonProps) !== null && _props$controlProps41 !== void 0 && _props$controlProps41.imageIconProps ? {
|
|
72
|
+
imageProps: ((_props$controlProps42 = props.controlProps) === null || _props$controlProps42 === void 0 ? void 0 : (_props$controlProps43 = _props$controlProps42.micButtonProps) === null || _props$controlProps43 === void 0 ? void 0 : _props$controlProps43.imageIconProps) ?? ((_defaultCurrentCallPr43 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr43 === void 0 ? void 0 : (_defaultCurrentCallPr44 = _defaultCurrentCallPr43.micButtonProps) === null || _defaultCurrentCallPr44 === void 0 ? void 0 : _defaultCurrentCallPr44.imageIconProps),
|
|
73
|
+
styles: {
|
|
74
|
+
root: {
|
|
75
|
+
fontSize: ((_props$controlProps44 = props.controlProps) === null || _props$controlProps44 === void 0 ? void 0 : (_props$controlProps45 = _props$controlProps44.micButtonProps) === null || _props$controlProps45 === void 0 ? void 0 : _props$controlProps45.iconSize) ?? ((_defaultCurrentCallPr45 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr45 === void 0 ? void 0 : (_defaultCurrentCallPr46 = _defaultCurrentCallPr45.micButtonProps) === null || _defaultCurrentCallPr46 === void 0 ? void 0 : _defaultCurrentCallPr46.iconSize)
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
} : {
|
|
79
|
+
iconName: ((_props$controlProps46 = props.controlProps) === null || _props$controlProps46 === void 0 ? void 0 : (_props$controlProps47 = _props$controlProps46.micButtonProps) === null || _props$controlProps47 === void 0 ? void 0 : _props$controlProps47.iconName) ?? ((_defaultCurrentCallPr47 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr47 === void 0 ? void 0 : (_defaultCurrentCallPr48 = _defaultCurrentCallPr47.micButtonProps) === null || _defaultCurrentCallPr48 === void 0 ? void 0 : _defaultCurrentCallPr48.iconName),
|
|
80
|
+
styles: {
|
|
81
|
+
root: {
|
|
82
|
+
fontSize: ((_props$controlProps48 = props.controlProps) === null || _props$controlProps48 === void 0 ? void 0 : (_props$controlProps49 = _props$controlProps48.micButtonProps) === null || _props$controlProps49 === void 0 ? void 0 : _props$controlProps49.iconSize) ?? ((_defaultCurrentCallPr49 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr49 === void 0 ? void 0 : (_defaultCurrentCallPr50 = _defaultCurrentCallPr49.micButtonProps) === null || _defaultCurrentCallPr50 === void 0 ? void 0 : _defaultCurrentCallPr50.iconSize)
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
const micOnIcon = (_props$controlProps50 = props.controlProps) !== null && _props$controlProps50 !== void 0 && (_props$controlProps51 = _props$controlProps50.micButtonProps) !== null && _props$controlProps51 !== void 0 && _props$controlProps51.imageToggleIconProps ? {
|
|
87
|
+
imageProps: ((_props$controlProps52 = props.controlProps) === null || _props$controlProps52 === void 0 ? void 0 : (_props$controlProps53 = _props$controlProps52.micButtonProps) === null || _props$controlProps53 === void 0 ? void 0 : _props$controlProps53.imageToggleIconProps) ?? ((_defaultCurrentCallPr51 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr51 === void 0 ? void 0 : (_defaultCurrentCallPr52 = _defaultCurrentCallPr51.micButtonProps) === null || _defaultCurrentCallPr52 === void 0 ? void 0 : _defaultCurrentCallPr52.imageToggleIconProps),
|
|
88
|
+
styles: {
|
|
89
|
+
root: {
|
|
90
|
+
fontSize: ((_props$controlProps54 = props.controlProps) === null || _props$controlProps54 === void 0 ? void 0 : (_props$controlProps55 = _props$controlProps54.videoButtonProps) === null || _props$controlProps55 === void 0 ? void 0 : _props$controlProps55.iconSize) ?? ((_defaultCurrentCallPr53 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr53 === void 0 ? void 0 : (_defaultCurrentCallPr54 = _defaultCurrentCallPr53.videoButtonProps) === null || _defaultCurrentCallPr54 === void 0 ? void 0 : _defaultCurrentCallPr54.iconSize)
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
} : {
|
|
94
|
+
iconName: ((_props$controlProps56 = props.controlProps) === null || _props$controlProps56 === void 0 ? void 0 : (_props$controlProps57 = _props$controlProps56.micButtonProps) === null || _props$controlProps57 === void 0 ? void 0 : _props$controlProps57.toggleIconName) ?? ((_defaultCurrentCallPr55 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr55 === void 0 ? void 0 : (_defaultCurrentCallPr56 = _defaultCurrentCallPr55.micButtonProps) === null || _defaultCurrentCallPr56 === void 0 ? void 0 : _defaultCurrentCallPr56.toggleIconName),
|
|
95
|
+
styles: {
|
|
96
|
+
root: {
|
|
97
|
+
fontSize: ((_props$controlProps58 = props.controlProps) === null || _props$controlProps58 === void 0 ? void 0 : (_props$controlProps59 = _props$controlProps58.videoButtonProps) === null || _props$controlProps59 === void 0 ? void 0 : _props$controlProps59.iconSize) ?? ((_defaultCurrentCallPr57 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr57 === void 0 ? void 0 : (_defaultCurrentCallPr58 = _defaultCurrentCallPr57.videoButtonProps) === null || _defaultCurrentCallPr58 === void 0 ? void 0 : _defaultCurrentCallPr58.iconSize)
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
const [micState, {
|
|
102
|
+
toggle: setMicState
|
|
103
|
+
}] = useBoolean(false);
|
|
104
|
+
const endCallButtonProps = Object.assign({}, (_defaultCurrentCallPr59 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr59 === void 0 ? void 0 : _defaultCurrentCallPr59.endCallButtonProps, (_props$controlProps60 = props.controlProps) === null || _props$controlProps60 === void 0 ? void 0 : _props$controlProps60.endCallButtonProps);
|
|
105
|
+
const callTimerProps = Object.assign({}, (_defaultCurrentCallPr60 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr60 === void 0 ? void 0 : _defaultCurrentCallPr60.callTimerProps, (_props$controlProps61 = props.controlProps) === null || _props$controlProps61 === void 0 ? void 0 : _props$controlProps61.callTimerProps);
|
|
106
|
+
const endCallButtonStyles = Object.assign({}, (_defaultCurrentCallPr61 = defaultCurrentCallProps.styleProps) === null || _defaultCurrentCallPr61 === void 0 ? void 0 : _defaultCurrentCallPr61.endCallButtonStyleProps, (_props$styleProps2 = props.styleProps) === null || _props$styleProps2 === void 0 ? void 0 : _props$styleProps2.endCallButtonStyleProps);
|
|
107
|
+
const endCallButtonHoverStyles = Object.assign({}, (_defaultCurrentCallPr62 = defaultCurrentCallProps.styleProps) === null || _defaultCurrentCallPr62 === void 0 ? void 0 : _defaultCurrentCallPr62.endCallButtonHoverStyleProps, (_props$styleProps3 = props.styleProps) === null || _props$styleProps3 === void 0 ? void 0 : _props$styleProps3.endCallButtonHoverStyleProps);
|
|
108
|
+
let selfVideoStyles = {
|
|
109
|
+
root: Object.assign({}, (_defaultCurrentCallPr63 = defaultCurrentCallProps.styleProps) === null || _defaultCurrentCallPr63 === void 0 ? void 0 : _defaultCurrentCallPr63.selfVideoStyleProps, (_props$styleProps4 = props.styleProps) === null || _props$styleProps4 === void 0 ? void 0 : _props$styleProps4.selfVideoStyleProps)
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
if (hideRemoteVideo && !hideSelfVideo) {
|
|
113
|
+
var _defaultCurrentCallPr64, _props$styleProps5;
|
|
114
|
+
|
|
115
|
+
selfVideoStyles = {
|
|
116
|
+
root: Object.assign({}, (_defaultCurrentCallPr64 = defaultCurrentCallProps.styleProps) === null || _defaultCurrentCallPr64 === void 0 ? void 0 : _defaultCurrentCallPr64.selfVideoMaximizeStyleProps, (_props$styleProps5 = props.styleProps) === null || _props$styleProps5 === void 0 ? void 0 : _props$styleProps5.selfVideoMaximizeStyleProps)
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
let videoTileStackStyles;
|
|
121
|
+
|
|
122
|
+
if (hideVideoDialog) {
|
|
123
|
+
var _defaultCurrentCallPr65, _props$styleProps6;
|
|
124
|
+
|
|
125
|
+
videoTileStackStyles = {
|
|
126
|
+
root: Object.assign({}, (_defaultCurrentCallPr65 = defaultCurrentCallProps.styleProps) === null || _defaultCurrentCallPr65 === void 0 ? void 0 : _defaultCurrentCallPr65.videoTileStyleProps, (_props$styleProps6 = props.styleProps) === null || _props$styleProps6 === void 0 ? void 0 : _props$styleProps6.videoTileStyleProps)
|
|
127
|
+
};
|
|
128
|
+
} else {
|
|
129
|
+
var _defaultCurrentCallPr66, _props$styleProps7;
|
|
130
|
+
|
|
131
|
+
videoTileStackStyles = {
|
|
132
|
+
root: Object.assign({}, (_defaultCurrentCallPr66 = defaultCurrentCallProps.styleProps) === null || _defaultCurrentCallPr66 === void 0 ? void 0 : _defaultCurrentCallPr66.videoTileStyleWithVideoProps, (_props$styleProps7 = props.styleProps) === null || _props$styleProps7 === void 0 ? void 0 : _props$styleProps7.videoTileStyleWithVideoProps)
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
const videoOffButtonStyles = {
|
|
137
|
+
root: Object.assign({}, (_defaultCurrentCallPr67 = defaultCurrentCallProps.styleProps) === null || _defaultCurrentCallPr67 === void 0 ? void 0 : _defaultCurrentCallPr67.videoOffButtonStyleProps, (_props$styleProps8 = props.styleProps) === null || _props$styleProps8 === void 0 ? void 0 : _props$styleProps8.videoOffButtonStyleProps),
|
|
138
|
+
rootFocused: Object.assign({}, (_defaultCurrentCallPr68 = defaultCurrentCallProps.styleProps) === null || _defaultCurrentCallPr68 === void 0 ? void 0 : _defaultCurrentCallPr68.itemFocusStyleProps, (_props$styleProps9 = props.styleProps) === null || _props$styleProps9 === void 0 ? void 0 : _props$styleProps9.itemFocusStyleProps)
|
|
139
|
+
};
|
|
140
|
+
const micOffButtonStyles = {
|
|
141
|
+
root: Object.assign({}, (_defaultCurrentCallPr69 = defaultCurrentCallProps.styleProps) === null || _defaultCurrentCallPr69 === void 0 ? void 0 : _defaultCurrentCallPr69.micButtonStyleProps, (_props$styleProps10 = props.styleProps) === null || _props$styleProps10 === void 0 ? void 0 : _props$styleProps10.micButtonStyleProps),
|
|
142
|
+
rootFocused: Object.assign({}, (_defaultCurrentCallPr70 = defaultCurrentCallProps.styleProps) === null || _defaultCurrentCallPr70 === void 0 ? void 0 : _defaultCurrentCallPr70.itemFocusStyleProps, (_props$styleProps11 = props.styleProps) === null || _props$styleProps11 === void 0 ? void 0 : _props$styleProps11.itemFocusStyleProps)
|
|
143
|
+
};
|
|
144
|
+
const CurrentCallItemFocusStyles = Object.assign({}, (_defaultCurrentCallPr71 = defaultCurrentCallProps.styleProps) === null || _defaultCurrentCallPr71 === void 0 ? void 0 : _defaultCurrentCallPr71.itemFocusStyleProps, (_props$styleProps12 = props.styleProps) === null || _props$styleProps12 === void 0 ? void 0 : _props$styleProps12.itemFocusStyleProps);
|
|
145
|
+
const endCallCustomEvent = {
|
|
146
|
+
elementType: ElementType.CurrentCallEndCallButton,
|
|
147
|
+
elementId: endCallButtonId,
|
|
148
|
+
eventName: "OnClick"
|
|
149
|
+
};
|
|
150
|
+
const handleEndCallClick = useCallback(() => {
|
|
151
|
+
var _props$controlProps62;
|
|
152
|
+
|
|
153
|
+
if ((_props$controlProps62 = props.controlProps) !== null && _props$controlProps62 !== void 0 && _props$controlProps62.onEndCallClick) {
|
|
154
|
+
var _props$controlProps63;
|
|
155
|
+
|
|
156
|
+
(_props$controlProps63 = props.controlProps) === null || _props$controlProps63 === void 0 ? void 0 : _props$controlProps63.onEndCallClick();
|
|
157
|
+
}
|
|
158
|
+
}, []);
|
|
159
|
+
const handleVideoOffClick = useCallback(() => {
|
|
160
|
+
var _props$controlProps64;
|
|
161
|
+
|
|
162
|
+
if ((_props$controlProps64 = props.controlProps) !== null && _props$controlProps64 !== void 0 && _props$controlProps64.onVideoOffClick) {
|
|
163
|
+
var _props$controlProps65;
|
|
164
|
+
|
|
165
|
+
const videoOffCustomEvent = {
|
|
166
|
+
elementType: ElementType.CurrentCallVideoButton,
|
|
167
|
+
elementId: videoOffButtonId,
|
|
168
|
+
eventName: "OnClick"
|
|
169
|
+
};
|
|
170
|
+
BroadcastService.postMessage(videoOffCustomEvent);
|
|
171
|
+
(_props$controlProps65 = props.controlProps) === null || _props$controlProps65 === void 0 ? void 0 : _props$controlProps65.onVideoOffClick();
|
|
172
|
+
}
|
|
173
|
+
}, []);
|
|
174
|
+
const handleMicClick = useCallback(() => {
|
|
175
|
+
var _props$controlProps66;
|
|
176
|
+
|
|
177
|
+
setMicState();
|
|
178
|
+
|
|
179
|
+
if ((_props$controlProps66 = props.controlProps) !== null && _props$controlProps66 !== void 0 && _props$controlProps66.onMicCallClick) {
|
|
180
|
+
var _props$controlProps67;
|
|
181
|
+
|
|
182
|
+
const micCustomEvent = {
|
|
183
|
+
elementType: ElementType.CurrentCallMicButton,
|
|
184
|
+
elementId: micButtonId,
|
|
185
|
+
eventName: "OnClick"
|
|
186
|
+
};
|
|
187
|
+
BroadcastService.postMessage(micCustomEvent);
|
|
188
|
+
(_props$controlProps67 = props.controlProps) === null || _props$controlProps67 === void 0 ? void 0 : _props$controlProps67.onMicCallClick();
|
|
189
|
+
}
|
|
190
|
+
}, []);
|
|
191
|
+
const hideCallTimer = ((_props$controlProps68 = props.controlProps) === null || _props$controlProps68 === void 0 ? void 0 : _props$controlProps68.hideCallTimer) ?? ((_defaultCurrentCallPr72 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr72 === void 0 ? void 0 : _defaultCurrentCallPr72.hideCallTimer);
|
|
192
|
+
return /*#__PURE__*/React.createElement(Stack, {
|
|
193
|
+
className: (_props$styleProps13 = props.styleProps) === null || _props$styleProps13 === void 0 ? void 0 : (_props$styleProps13$c = _props$styleProps13.classNames) === null || _props$styleProps13$c === void 0 ? void 0 : _props$styleProps13$c.currentCallComponentClassName,
|
|
194
|
+
horizontalAlign: "space-between",
|
|
195
|
+
styles: stackStyles,
|
|
196
|
+
id: currentCallId,
|
|
197
|
+
dir: dir
|
|
198
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
199
|
+
styles: videoTileStackStyles,
|
|
200
|
+
id: videoTileId,
|
|
201
|
+
className: (_props$styleProps14 = props.styleProps) === null || _props$styleProps14 === void 0 ? void 0 : (_props$styleProps14$c = _props$styleProps14.classNames) === null || _props$styleProps14$c === void 0 ? void 0 : _props$styleProps14$c.videoTileGroupClassName
|
|
202
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
203
|
+
id: remoteVideoTileId,
|
|
204
|
+
className: (_props$styleProps15 = props.styleProps) === null || _props$styleProps15 === void 0 ? void 0 : (_props$styleProps15$c = _props$styleProps15.classNames) === null || _props$styleProps15$c === void 0 ? void 0 : _props$styleProps15$c.remoteVideoTileClassName
|
|
205
|
+
}), /*#__PURE__*/React.createElement(Stack, {
|
|
206
|
+
styles: selfVideoStyles,
|
|
207
|
+
id: selfVideoTileId,
|
|
208
|
+
className: (_props$styleProps16 = props.styleProps) === null || _props$styleProps16 === void 0 ? void 0 : (_props$styleProps16$c = _props$styleProps16.classNames) === null || _props$styleProps16$c === void 0 ? void 0 : _props$styleProps16$c.selfVideoTileClassName
|
|
209
|
+
})), /*#__PURE__*/React.createElement(Stack, {
|
|
210
|
+
horizontal: true,
|
|
211
|
+
className: (_props$styleProps17 = props.styleProps) === null || _props$styleProps17 === void 0 ? void 0 : (_props$styleProps17$c = _props$styleProps17.classNames) === null || _props$styleProps17$c === void 0 ? void 0 : _props$styleProps17$c.currentCallfooterClassName,
|
|
212
|
+
horizontalAlign: "space-between",
|
|
213
|
+
styles: stackStyles,
|
|
214
|
+
dir: dir
|
|
215
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
216
|
+
horizontal: true,
|
|
217
|
+
id: "currentCallLeftGroup",
|
|
218
|
+
verticalAlign: "center",
|
|
219
|
+
tokens: leftGroupStackTokens
|
|
220
|
+
}, processCustomComponents((_props$controlProps69 = props.controlProps) === null || _props$controlProps69 === void 0 ? void 0 : (_props$controlProps70 = _props$controlProps69.leftGroup) === null || _props$controlProps70 === void 0 ? void 0 : _props$controlProps70.children)), /*#__PURE__*/React.createElement(Stack, {
|
|
221
|
+
horizontal: true,
|
|
222
|
+
id: "currentCallMiddleGroup",
|
|
223
|
+
verticalAlign: "center",
|
|
224
|
+
tokens: middleGroupStackTokens,
|
|
225
|
+
dir: dir
|
|
226
|
+
}, processCustomComponents((_props$controlProps71 = props.controlProps) === null || _props$controlProps71 === void 0 ? void 0 : (_props$controlProps72 = _props$controlProps71.middleGroup) === null || _props$controlProps72 === void 0 ? void 0 : _props$controlProps72.children), !hideCallTimer && /*#__PURE__*/React.createElement(Timer, _extends({}, callTimerProps, {
|
|
227
|
+
id: callTimerId
|
|
228
|
+
})), !((_props$controlProps73 = props.controlProps) !== null && _props$controlProps73 !== void 0 && _props$controlProps73.hideVideoButton) && /*#__PURE__*/React.createElement(IconButton, {
|
|
229
|
+
id: videoOffButtonId,
|
|
230
|
+
toggle: true,
|
|
231
|
+
iconProps: hideSelfVideo ? videoOffIcon : videoOnIcon,
|
|
232
|
+
onClick: handleVideoOffClick,
|
|
233
|
+
allowDisabledFocus: true,
|
|
234
|
+
disabled: (_props$controlProps74 = props.controlProps) === null || _props$controlProps74 === void 0 ? void 0 : (_props$controlProps75 = _props$controlProps74.videoButtonProps) === null || _props$controlProps75 === void 0 ? void 0 : _props$controlProps75.disabled,
|
|
235
|
+
styles: videoOffButtonStyles,
|
|
236
|
+
ariaLabel: hideSelfVideo ? ((_props$controlProps76 = props.controlProps) === null || _props$controlProps76 === void 0 ? void 0 : (_props$controlProps77 = _props$controlProps76.videoButtonProps) === null || _props$controlProps77 === void 0 ? void 0 : _props$controlProps77.ariaLabel) ?? ((_defaultCurrentCallPr73 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr73 === void 0 ? void 0 : (_defaultCurrentCallPr74 = _defaultCurrentCallPr73.videoButtonProps) === null || _defaultCurrentCallPr74 === void 0 ? void 0 : _defaultCurrentCallPr74.ariaLabel) : ((_props$controlProps78 = props.controlProps) === null || _props$controlProps78 === void 0 ? void 0 : (_props$controlProps79 = _props$controlProps78.videoButtonProps) === null || _props$controlProps79 === void 0 ? void 0 : _props$controlProps79.toggleAriaLabel) ?? ((_defaultCurrentCallPr75 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr75 === void 0 ? void 0 : (_defaultCurrentCallPr76 = _defaultCurrentCallPr75.videoButtonProps) === null || _defaultCurrentCallPr76 === void 0 ? void 0 : _defaultCurrentCallPr76.toggleAriaLabel),
|
|
237
|
+
className: (_props$controlProps80 = props.controlProps) === null || _props$controlProps80 === void 0 ? void 0 : (_props$controlProps81 = _props$controlProps80.videoButtonProps) === null || _props$controlProps81 === void 0 ? void 0 : _props$controlProps81.className,
|
|
238
|
+
title: hideSelfVideo ? ((_props$controlProps82 = props.controlProps) === null || _props$controlProps82 === void 0 ? void 0 : (_props$controlProps83 = _props$controlProps82.videoButtonProps) === null || _props$controlProps83 === void 0 ? void 0 : _props$controlProps83.ariaLabel) ?? ((_defaultCurrentCallPr77 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr77 === void 0 ? void 0 : (_defaultCurrentCallPr78 = _defaultCurrentCallPr77.videoButtonProps) === null || _defaultCurrentCallPr78 === void 0 ? void 0 : _defaultCurrentCallPr78.ariaLabel) : ((_props$controlProps84 = props.controlProps) === null || _props$controlProps84 === void 0 ? void 0 : (_props$controlProps85 = _props$controlProps84.videoButtonProps) === null || _props$controlProps85 === void 0 ? void 0 : _props$controlProps85.toggleAriaLabel) ?? ((_defaultCurrentCallPr79 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr79 === void 0 ? void 0 : (_defaultCurrentCallPr80 = _defaultCurrentCallPr79.videoButtonProps) === null || _defaultCurrentCallPr80 === void 0 ? void 0 : _defaultCurrentCallPr80.toggleAriaLabel)
|
|
239
|
+
}), !((_props$controlProps86 = props.controlProps) !== null && _props$controlProps86 !== void 0 && _props$controlProps86.hideMicButton) && /*#__PURE__*/React.createElement(IconButton, {
|
|
240
|
+
id: micButtonId,
|
|
241
|
+
toggle: true,
|
|
242
|
+
iconProps: micState ? micOnIcon : micOffIcon,
|
|
243
|
+
onClick: handleMicClick,
|
|
244
|
+
allowDisabledFocus: true,
|
|
245
|
+
disabled: (_props$controlProps87 = props.controlProps) === null || _props$controlProps87 === void 0 ? void 0 : (_props$controlProps88 = _props$controlProps87.micButtonProps) === null || _props$controlProps88 === void 0 ? void 0 : _props$controlProps88.disabled,
|
|
246
|
+
styles: micOffButtonStyles,
|
|
247
|
+
ariaLabel: micState ? ((_props$controlProps89 = props.controlProps) === null || _props$controlProps89 === void 0 ? void 0 : (_props$controlProps90 = _props$controlProps89.micButtonProps) === null || _props$controlProps90 === void 0 ? void 0 : _props$controlProps90.toggleAriaLabel) ?? ((_defaultCurrentCallPr81 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr81 === void 0 ? void 0 : (_defaultCurrentCallPr82 = _defaultCurrentCallPr81.micButtonProps) === null || _defaultCurrentCallPr82 === void 0 ? void 0 : _defaultCurrentCallPr82.toggleAriaLabel) : ((_props$controlProps91 = props.controlProps) === null || _props$controlProps91 === void 0 ? void 0 : (_props$controlProps92 = _props$controlProps91.micButtonProps) === null || _props$controlProps92 === void 0 ? void 0 : _props$controlProps92.ariaLabel) ?? ((_defaultCurrentCallPr83 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr83 === void 0 ? void 0 : (_defaultCurrentCallPr84 = _defaultCurrentCallPr83.micButtonProps) === null || _defaultCurrentCallPr84 === void 0 ? void 0 : _defaultCurrentCallPr84.ariaLabel),
|
|
248
|
+
className: (_props$controlProps93 = props.controlProps) === null || _props$controlProps93 === void 0 ? void 0 : (_props$controlProps94 = _props$controlProps93.micButtonProps) === null || _props$controlProps94 === void 0 ? void 0 : _props$controlProps94.className,
|
|
249
|
+
title: micState ? ((_props$controlProps95 = props.controlProps) === null || _props$controlProps95 === void 0 ? void 0 : (_props$controlProps96 = _props$controlProps95.micButtonProps) === null || _props$controlProps96 === void 0 ? void 0 : _props$controlProps96.toggleAriaLabel) ?? ((_defaultCurrentCallPr85 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr85 === void 0 ? void 0 : (_defaultCurrentCallPr86 = _defaultCurrentCallPr85.micButtonProps) === null || _defaultCurrentCallPr86 === void 0 ? void 0 : _defaultCurrentCallPr86.toggleAriaLabel) : ((_props$controlProps97 = props.controlProps) === null || _props$controlProps97 === void 0 ? void 0 : (_props$controlProps98 = _props$controlProps97.micButtonProps) === null || _props$controlProps98 === void 0 ? void 0 : _props$controlProps98.ariaLabel) ?? ((_defaultCurrentCallPr87 = defaultCurrentCallProps.controlProps) === null || _defaultCurrentCallPr87 === void 0 ? void 0 : (_defaultCurrentCallPr88 = _defaultCurrentCallPr87.micButtonProps) === null || _defaultCurrentCallPr88 === void 0 ? void 0 : _defaultCurrentCallPr88.ariaLabel)
|
|
250
|
+
}), !((_props$controlProps99 = props.controlProps) !== null && _props$controlProps99 !== void 0 && _props$controlProps99.hideEndCallButton) && /*#__PURE__*/React.createElement(CommandButton, _extends({}, endCallButtonProps, {
|
|
251
|
+
onClick: handleEndCallClick,
|
|
252
|
+
id: endCallButtonId,
|
|
253
|
+
styles: endCallButtonStyles,
|
|
254
|
+
hoverStyles: endCallButtonHoverStyles,
|
|
255
|
+
focusStyles: CurrentCallItemFocusStyles,
|
|
256
|
+
customEvent: endCallCustomEvent
|
|
257
|
+
}))), /*#__PURE__*/React.createElement(Stack, {
|
|
258
|
+
horizontal: true,
|
|
259
|
+
id: "currentCallRightGroup",
|
|
260
|
+
verticalAlign: "center",
|
|
261
|
+
tokens: rightGroupStackTokens
|
|
262
|
+
}, processCustomComponents((_props$controlProps100 = props.controlProps) === null || _props$controlProps100 === void 0 ? void 0 : (_props$controlProps101 = _props$controlProps100.rightGroup) === null || _props$controlProps101 === void 0 ? void 0 : _props$controlProps101.children))));
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export default CurrentCall;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export const defaultCurrentCallControlProps = {
|
|
2
|
+
id: "currentCall-container",
|
|
3
|
+
nonActionIds: {
|
|
4
|
+
currentCallActionGroupId: "currentCall-actionicons",
|
|
5
|
+
currentCallFooterId: "currentCall-footer",
|
|
6
|
+
remoteVideoTileId: "remoteVideo",
|
|
7
|
+
selfVideoTileId: "selfVideo",
|
|
8
|
+
videoTileGroupId: "currentCall-body"
|
|
9
|
+
},
|
|
10
|
+
hideMicButton: false,
|
|
11
|
+
hideVideoButton: false,
|
|
12
|
+
hideEndCallButton: false,
|
|
13
|
+
hideCurrentCallTitle: false,
|
|
14
|
+
videoCallDisabled: false,
|
|
15
|
+
hideCallTimer: false,
|
|
16
|
+
onEndCallClick: function () {
|
|
17
|
+
console.log("end call clicked");
|
|
18
|
+
},
|
|
19
|
+
onMicCallClick: function () {
|
|
20
|
+
console.log("mute clicked");
|
|
21
|
+
},
|
|
22
|
+
onVideoOffClick: function () {
|
|
23
|
+
console.log("video off clicked");
|
|
24
|
+
},
|
|
25
|
+
middleGroup: {
|
|
26
|
+
gap: 1,
|
|
27
|
+
children: []
|
|
28
|
+
},
|
|
29
|
+
leftGroup: {
|
|
30
|
+
gap: 1,
|
|
31
|
+
children: []
|
|
32
|
+
},
|
|
33
|
+
rightGroup: {
|
|
34
|
+
gap: 1,
|
|
35
|
+
children: []
|
|
36
|
+
},
|
|
37
|
+
endCallButtonProps: {
|
|
38
|
+
id: "callRejectButton",
|
|
39
|
+
type: "icon",
|
|
40
|
+
ariaLabel: "End Call",
|
|
41
|
+
iconName: "DeclineCall",
|
|
42
|
+
iconSize: 18
|
|
43
|
+
},
|
|
44
|
+
micButtonProps: {
|
|
45
|
+
id: "toggleAudio",
|
|
46
|
+
type: "icon",
|
|
47
|
+
ariaLabel: "Mute",
|
|
48
|
+
toggleAriaLabel: "Unmute",
|
|
49
|
+
iconName: "Microphone",
|
|
50
|
+
toggleIconName: "MicOff2",
|
|
51
|
+
iconSize: 18
|
|
52
|
+
},
|
|
53
|
+
videoButtonProps: {
|
|
54
|
+
id: "toggleVideo",
|
|
55
|
+
type: "icon",
|
|
56
|
+
ariaLabel: "Turn on camera",
|
|
57
|
+
toggleAriaLabel: "Turn off camera",
|
|
58
|
+
iconName: "Video",
|
|
59
|
+
toggleIconName: "VideoOff",
|
|
60
|
+
iconSize: 18
|
|
61
|
+
},
|
|
62
|
+
callTimerProps: {
|
|
63
|
+
id: "oc-lcw-CurrentCall-timer",
|
|
64
|
+
showHours: false,
|
|
65
|
+
timerStyles: {
|
|
66
|
+
color: "white",
|
|
67
|
+
textAlign: "center",
|
|
68
|
+
backgroundColor: "#3d3c3c",
|
|
69
|
+
height: "45px",
|
|
70
|
+
width: "50px",
|
|
71
|
+
lineHeight: "40px",
|
|
72
|
+
borderRadius: "2px",
|
|
73
|
+
margin: "1px"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import callrejectbutton from "../../../../../../assets/imgs/callrejectbutton.svg";
|
|
2
|
+
import videoon from "../../../../../../assets/imgs/videoon.svg";
|
|
3
|
+
import videooff from "../../../../../../assets/imgs/videooff.svg";
|
|
4
|
+
import voiceoff from "../../../../../../assets/imgs/voiceoff.svg";
|
|
5
|
+
import voiceon from "../../../../../../assets/imgs/voiceon.svg";
|
|
6
|
+
export const defaultCurrentCallControlPropsRtl = {
|
|
7
|
+
id: "currentCall-container",
|
|
8
|
+
nonActionIds: {
|
|
9
|
+
currentCallActionGroupId: "currentCall-actionicons",
|
|
10
|
+
currentCallFooterId: "currentCall-footer",
|
|
11
|
+
remoteVideoTileId: "remoteVideo",
|
|
12
|
+
selfVideoTileId: "selfVideo",
|
|
13
|
+
videoTileGroupId: "currentCall-body"
|
|
14
|
+
},
|
|
15
|
+
hideMicButton: false,
|
|
16
|
+
hideVideoButton: false,
|
|
17
|
+
hideEndCallButton: false,
|
|
18
|
+
hideCurrentCallTitle: false,
|
|
19
|
+
videoCallDisabled: false,
|
|
20
|
+
hideCallTimer: false,
|
|
21
|
+
onEndCallClick: function () {
|
|
22
|
+
console.log("end call clicked");
|
|
23
|
+
},
|
|
24
|
+
onMicCallClick: function () {
|
|
25
|
+
console.log("mute clicked");
|
|
26
|
+
},
|
|
27
|
+
onVideoOffClick: function () {
|
|
28
|
+
console.log("video off clicked");
|
|
29
|
+
},
|
|
30
|
+
middleGroup: {
|
|
31
|
+
gap: 1,
|
|
32
|
+
children: []
|
|
33
|
+
},
|
|
34
|
+
leftGroup: {
|
|
35
|
+
gap: 1,
|
|
36
|
+
children: []
|
|
37
|
+
},
|
|
38
|
+
rightGroup: {
|
|
39
|
+
gap: 1,
|
|
40
|
+
children: []
|
|
41
|
+
},
|
|
42
|
+
dir: "rtl",
|
|
43
|
+
endCallButtonProps: {
|
|
44
|
+
id: "callRejectButton",
|
|
45
|
+
type: "icon",
|
|
46
|
+
ariaLabel: "End Call",
|
|
47
|
+
imageIconProps: {
|
|
48
|
+
src: callrejectbutton,
|
|
49
|
+
styles: {
|
|
50
|
+
image: {
|
|
51
|
+
height: "18px",
|
|
52
|
+
width: "18px"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
micButtonProps: {
|
|
58
|
+
id: "toggleAudio",
|
|
59
|
+
type: "icon",
|
|
60
|
+
ariaLabel: "Mute",
|
|
61
|
+
toggleAriaLabel: "Unmute",
|
|
62
|
+
imageIconProps: {
|
|
63
|
+
src: voiceon,
|
|
64
|
+
styles: {
|
|
65
|
+
image: {
|
|
66
|
+
height: "16px",
|
|
67
|
+
width: "16px"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
imageToggleIconProps: {
|
|
72
|
+
src: voiceoff,
|
|
73
|
+
styles: {
|
|
74
|
+
image: {
|
|
75
|
+
height: "16px",
|
|
76
|
+
width: "16px"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
iconSize: 18
|
|
81
|
+
},
|
|
82
|
+
videoButtonProps: {
|
|
83
|
+
id: "toggleVideo",
|
|
84
|
+
type: "icon",
|
|
85
|
+
ariaLabel: "Turn camera on",
|
|
86
|
+
toggleAriaLabel: "Turn camera off",
|
|
87
|
+
imageIconProps: {
|
|
88
|
+
src: videoon,
|
|
89
|
+
styles: {
|
|
90
|
+
image: {
|
|
91
|
+
height: "16px",
|
|
92
|
+
width: "16px"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
imageToggleIconProps: {
|
|
97
|
+
src: videooff,
|
|
98
|
+
styles: {
|
|
99
|
+
image: {
|
|
100
|
+
height: "16px",
|
|
101
|
+
width: "16px"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
iconSize: 18
|
|
106
|
+
},
|
|
107
|
+
callTimerProps: {
|
|
108
|
+
id: "oc-lcw-CurrentCall-timer"
|
|
109
|
+
}
|
|
110
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { defaultCurrentCallStyleProps } from "../defaultStyles/defaultCurrentCallStyleProps";
|
|
2
|
+
import { defaultCurrentCallControlProps } from "./defaultCurrentCallControlProps";
|
|
3
|
+
export const defaultCurrentCallProps = {
|
|
4
|
+
controlProps: defaultCurrentCallControlProps,
|
|
5
|
+
styleProps: defaultCurrentCallStyleProps
|
|
6
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { defaultCurrentCallStyleProps } from "./defaultCurrentCallStyleProps";
|
|
2
|
+
const componentOverrideStyles = Object.assign({}, defaultCurrentCallStyleProps);
|
|
3
|
+
export const componentOverridesStyleProps = { ...componentOverrideStyles,
|
|
4
|
+
generalStyleProps: {
|
|
5
|
+
background: "#C8C8C8",
|
|
6
|
+
padding: "5px",
|
|
7
|
+
minHeight: "50px",
|
|
8
|
+
borderRadius: "4px 4px 4px 4px",
|
|
9
|
+
width: "80%"
|
|
10
|
+
}
|
|
11
|
+
};
|