@microsoft/omnichannel-chat-components 1.1.16 → 1.1.17-main.170e67a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/assets/Icons.js +21 -42
- package/lib/cjs/common/Constants.js +14 -31
- package/lib/cjs/common/decodeComponentString.js +0 -6
- package/lib/cjs/common/encodeComponentString.js +0 -2
- package/lib/cjs/common/utils.js +40 -46
- package/lib/cjs/components/callingcontainer/CallingContainer.js +3 -18
- package/lib/cjs/components/callingcontainer/common/defaultProps/defaultCallingContainerControlProps.js +2 -5
- package/lib/cjs/components/callingcontainer/common/defaultProps/defaultCallingContainerProps.js +2 -6
- package/lib/cjs/components/callingcontainer/common/defaultStyles/customizedCallingContainerStyles.js +2 -3
- package/lib/cjs/components/callingcontainer/common/defaultStyles/defaultCallingContainerStyles.js +2 -3
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +95 -135
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlProps.js +2 -5
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlPropsRtl.js +2 -6
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallProps.js +2 -6
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/componentOverridesStyleProps.js +3 -5
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/customizedCurrentCallStyleProps.js +2 -3
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/defaultCurrentCallStyleProps.js +2 -3
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +51 -78
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverrideProps.js +3 -11
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverridesControlProps.js +2 -7
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlProps.js +2 -5
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlPropsRtl.js +2 -6
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallProps.js +2 -6
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/componentOverridesStyleProps.js +2 -3
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/defaultIncomingCallStyleProps.js +2 -3
- package/lib/cjs/components/callingcontainer/subcomponents/Timer/Timer.js +2 -11
- package/lib/cjs/components/chatbutton/ChatButton.js +26 -57
- package/lib/cjs/components/chatbutton/common/defaultProps/defaultChatButtonControlProps.js +2 -5
- package/lib/cjs/components/chatbutton/common/defaultProps/defaultChatButtonProps.js +2 -6
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonGeneralStyles.js +2 -3
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonIconContainerStyles.js +2 -5
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonNotificationBubbleStyles.js +2 -3
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonStyleProps.js +2 -10
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonSubTitleStyles.js +2 -3
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonTextContainerStyles.js +2 -3
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonTitleStyles.js +2 -3
- package/lib/cjs/components/citationpane/CitationPane.js +19 -46
- package/lib/cjs/components/citationpane/ScalingTest.js +2 -8
- package/lib/cjs/components/citationpane/common/defaultProps/defaultCitationPaneControlProps.js +2 -3
- package/lib/cjs/components/citationpane/common/defaultProps/defaultCitationPaneProps.js +2 -6
- package/lib/cjs/components/citationpane/common/defaultProps/defaultCitationPaneStyleProps.js +2 -13
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonFocusedStyles.js +2 -3
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonStyles.js +2 -5
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneContentStyles.js +2 -4
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneGeneralStyles.js +2 -4
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneStyles.js +2 -13
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTitleStyles.js +1 -2
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonFocusedStyles.js +2 -3
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonStyles.js +2 -4
- package/lib/cjs/components/common/commandbutton/CommandButton.js +16 -27
- package/lib/cjs/components/common/subcomponents/CloseButton.js +2 -9
- package/lib/cjs/components/confirmationpane/ConfirmationPane.js +26 -55
- package/lib/cjs/components/confirmationpane/common/defaultProps/defaultConfirmationPaneControlProps.js +3 -5
- package/lib/cjs/components/confirmationpane/common/defaultProps/defaultConfirmationPaneProps.js +2 -6
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneButtonGroupStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonFocusedStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonFocusedStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneStyles.js +2 -10
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneSubtitleStyles.js +2 -3
- package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneTitleStyles.js +2 -3
- package/lib/cjs/components/footer/Footer.js +9 -28
- package/lib/cjs/components/footer/common/defaultProps/customFooterControlProps.js +2 -6
- package/lib/cjs/components/footer/common/defaultProps/defaultFooterComponentOverrides.js +2 -11
- package/lib/cjs/components/footer/common/defaultProps/defaultFooterControlProps.js +2 -5
- package/lib/cjs/components/footer/common/defaultProps/defaultFooterOverridesProps.js +2 -7
- package/lib/cjs/components/footer/common/defaultProps/defaultFooterProps.js +2 -6
- package/lib/cjs/components/footer/common/defaultStyles/defaultFooterStyleProps.js +2 -3
- package/lib/cjs/components/footer/subcomponents/AudioNotificationButton.js +13 -23
- package/lib/cjs/components/footer/subcomponents/DownloadTranscriptButton.js +2 -9
- package/lib/cjs/components/footer/subcomponents/EmailTranscriptButton.js +2 -9
- package/lib/cjs/components/header/Header.js +26 -32
- package/lib/cjs/components/header/common/defaultProps/azureHeaderControlProps.js +2 -6
- package/lib/cjs/components/header/common/defaultProps/azureHeaderProps.js +2 -7
- package/lib/cjs/components/header/common/defaultProps/customHeaderControlProps.js +2 -6
- package/lib/cjs/components/header/common/defaultProps/defaultHeaderComponentOverrides.js +3 -13
- package/lib/cjs/components/header/common/defaultProps/defaultHeaderControlProps.js +2 -6
- package/lib/cjs/components/header/common/defaultProps/defaultHeaderProps.js +2 -6
- package/lib/cjs/components/header/common/defaultProps/overridesDefaultHeaderProps.js +2 -7
- package/lib/cjs/components/header/common/defaultStyles/advancedHeaderStyleProps.js +2 -3
- package/lib/cjs/components/header/common/defaultStyles/defaultHeaderStyleProps.js +25 -3
- package/lib/cjs/components/header/subcomponents/MinimizeButton.js +2 -9
- package/lib/cjs/components/inputvalidationpane/InputValidationPane.js +55 -90
- package/lib/cjs/components/inputvalidationpane/common/default/defaultProps/defaultInputValidationPaneControlProps.js +3 -5
- package/lib/cjs/components/inputvalidationpane/common/default/defaultProps/defaultInputValidationPaneProps.js +2 -6
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneButtonGroupStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonHoveredStyles.js +1 -2
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneHeaderGroupStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInputStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInvalidInputErrorMessageStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonHoveredStyles.js +1 -2
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneStyles.js +2 -15
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSubtitleStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneTitleStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneComponentOverrides.js +3 -8
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneControlProps.js +2 -5
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneProps.js +2 -7
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneCancelButtonStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneHeaderGroupStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneInputStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneSendButtonStyles.js +2 -3
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneStyles.js +2 -9
- package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneTitleStyles.js +2 -3
- package/lib/cjs/components/loadingpane/LoadingPane.js +12 -28
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultLoadingPaneControlProps.js +2 -5
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultLoadingPaneProps.js +2 -6
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconImageProps.js +2 -6
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSpinnerStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSpinnerTextStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneStyles.js +2 -11
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSubtitleStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneTitleStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetOneProps/presetOneLoadingPaneControlProps.js +3 -5
- package/lib/cjs/components/loadingpane/common/presetOneProps/presetOneLoadingPaneProps.js +2 -6
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneControlProps.js +3 -6
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneProps.js +2 -6
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconImageProps.js +2 -6
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSpinnerStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSpinnerTextStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneStyles.js +2 -11
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSubtitleStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneTitleStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneControlProps.js +3 -6
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneProps.js +2 -6
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneGeneralStyles.js +2 -5
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneSpinnerStyles.js +2 -3
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneStyles.js +2 -11
- package/lib/cjs/components/notificationpane/NotificationPane.js +3 -15
- package/lib/cjs/components/notificationpane/subcomponents/CloseChatButton.js +2 -9
- package/lib/cjs/components/notificationpane/subcomponents/DismissButton.js +2 -9
- package/lib/cjs/components/outofofficehourspane/OOOHPane.js +5 -17
- package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneControlProps.js +2 -5
- package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneProps.js +2 -6
- package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneStyles.js +2 -6
- package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneTitleStyles.js +2 -3
- package/lib/cjs/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneControlProps.js +3 -5
- package/lib/cjs/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneProps.js +2 -6
- package/lib/cjs/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneControlProps.js +3 -5
- package/lib/cjs/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneProps.js +2 -6
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneControlProps.js +3 -5
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneProps.js +2 -6
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneGeneralStyles.js +2 -5
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneStyles.js +2 -6
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneTitleStyles.js +2 -3
- package/lib/cjs/components/postchatsurveypane/PostChatSurveyPane.js +4 -13
- package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultPostChatSurveyPaneControlProps.js +2 -5
- package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultPostChatSurveyPaneProps.js +2 -6
- package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultStyles/defaultPostChatSurveyPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultStyles/defaultPostChatSurveyPaneStyles.js +2 -5
- package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneControlProps.js +3 -5
- package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneProps.js +2 -6
- package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOneStyles/presetOnePostChatSurveyPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOneStyles/presetOnePostChatSurveyPaneStyles.js +2 -5
- package/lib/cjs/components/prechatsurveypane/PreChatSurveyPane.js +64 -56
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultPreChatSurveyPaneControlProps.js +2 -5
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultPreChatSurveyPaneProps.js +2 -6
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneACContainerStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneButtonStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneMultichoiceInputStyles.js +3 -3
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneMultilineTextInputStyles.js +3 -3
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneStyles.js +2 -11
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneTextInputStyles.js +3 -3
- package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneToggleInputStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneControlProps.js +3 -5
- package/lib/cjs/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneProps.js +2 -6
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreePreChatSurveyPaneControlProps.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreePreChatSurveyPaneProps.js +2 -6
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneACContainerStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneButtonStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneStyles.js +2 -7
- package/lib/cjs/components/prechatsurveypane/common/presetTwoProps/presetTwoPreChatSurveyPaneControlProps.js +2 -3
- package/lib/cjs/components/prechatsurveypane/common/presetTwoProps/presetTwoPreChatSurveyPaneProps.js +2 -6
- package/lib/cjs/components/proactivechatpane/ProactiveChatPane.js +29 -65
- package/lib/cjs/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneControlProps.js +2 -5
- package/lib/cjs/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneProps.js +2 -6
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneBodyContainerStyles.js +1 -2
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneBodyTitleStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneHeaderContainerStyles.js +2 -5
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStartButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStartButtonStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStyles.js +2 -15
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneSubtitleStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneTextContainerStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneTitleStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneControlProps.js +2 -5
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneProps.js +2 -6
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneBodyTitleStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneCloseButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneCloseButtonStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStartButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStartButtonStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStyles.js +2 -9
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneControlProps.js +2 -5
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneProps.js +2 -6
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneBodyContainerStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneCloseButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneCloseButtonStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneHeaderContainerStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStartButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStartButtonStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStyles.js +2 -11
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneComponentOverrides.js +4 -11
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneControlProps.js +2 -5
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneProps.js +2 -7
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneBodyContainerStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneHeaderContainerStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStartButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStartButtonStyles.js +2 -3
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStyles.js +2 -10
- package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneTextContainerStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/ReconnectChatPane.js +33 -69
- package/lib/cjs/components/reconnectchatpane/common/default/defaultProps/defaultReconnectChatPaneControlProps.js +2 -5
- package/lib/cjs/components/reconnectchatpane/common/default/defaultProps/defaultReconnectChatPaneProps.js +2 -6
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneButtonGroupStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonFocusedStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneIconStyles.js +2 -5
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartChatButtonFocusedStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonHoveredStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStyles.js +2 -14
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneSubtitleStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneTitleStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneWrapperStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeProps/presetThreeReconnectChatPaneControlProps.js +2 -5
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeProps/presetThreeReconnectChatPaneProps.js +2 -6
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneButtonGroupStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneContinueChatButtonStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneGeneralStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneStyles.js +2 -9
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneTitleStyles.js +2 -3
- package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneWrapperStyles.js +2 -3
- package/lib/cjs/index.js +1 -24
- package/lib/cjs/services/BroadcastService.js +15 -26
- package/lib/cjs/services/EventQueue.js +5 -27
- package/lib/esm/common/Constants.js +15 -17
- package/lib/esm/common/decodeComponentString.js +0 -1
- package/lib/esm/common/utils.js +42 -22
- package/lib/esm/components/callingcontainer/CallingContainer.js +0 -5
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +86 -109
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/componentOverridesStyleProps.js +2 -1
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +41 -57
- package/lib/esm/components/callingcontainer/subcomponents/Timer/Timer.js +0 -2
- package/lib/esm/components/chatbutton/ChatButton.js +24 -37
- package/lib/esm/components/citationpane/CitationPane.js +17 -21
- package/lib/esm/components/citationpane/ScalingTest.js +1 -1
- package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonStyles.js +0 -2
- package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneContentStyles.js +0 -1
- package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneGeneralStyles.js +0 -1
- package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonStyles.js +0 -1
- package/lib/esm/components/common/commandbutton/CommandButton.js +14 -15
- package/lib/esm/components/common/subcomponents/CloseButton.js +0 -2
- package/lib/esm/components/confirmationpane/ConfirmationPane.js +24 -28
- package/lib/esm/components/confirmationpane/common/defaultProps/defaultConfirmationPaneControlProps.js +1 -0
- package/lib/esm/components/footer/Footer.js +6 -10
- package/lib/esm/components/footer/common/defaultProps/defaultFooterComponentOverrides.js +0 -2
- package/lib/esm/components/footer/subcomponents/AudioNotificationButton.js +11 -11
- package/lib/esm/components/footer/subcomponents/DownloadTranscriptButton.js +0 -2
- package/lib/esm/components/footer/subcomponents/EmailTranscriptButton.js +0 -2
- package/lib/esm/components/header/Header.js +23 -15
- package/lib/esm/components/header/common/defaultStyles/defaultHeaderStyleProps.js +23 -0
- package/lib/esm/components/header/subcomponents/MinimizeButton.js +0 -2
- package/lib/esm/components/inputvalidationpane/InputValidationPane.js +53 -61
- package/lib/esm/components/inputvalidationpane/common/default/defaultProps/defaultInputValidationPaneControlProps.js +1 -0
- package/lib/esm/components/loadingpane/LoadingPane.js +10 -13
- package/lib/esm/components/loadingpane/common/presetOneProps/presetOneLoadingPaneControlProps.js +2 -1
- package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneControlProps.js +2 -1
- package/lib/esm/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneControlProps.js +2 -1
- package/lib/esm/components/notificationpane/NotificationPane.js +1 -5
- package/lib/esm/components/notificationpane/subcomponents/CloseChatButton.js +0 -2
- package/lib/esm/components/notificationpane/subcomponents/DismissButton.js +0 -2
- package/lib/esm/components/outofofficehourspane/OOOHPane.js +3 -6
- package/lib/esm/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneControlProps.js +2 -1
- package/lib/esm/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneControlProps.js +2 -1
- package/lib/esm/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneControlProps.js +2 -1
- package/lib/esm/components/postchatsurveypane/PostChatSurveyPane.js +2 -4
- package/lib/esm/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneControlProps.js +2 -1
- package/lib/esm/components/prechatsurveypane/PreChatSurveyPane.js +62 -38
- package/lib/esm/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneMultichoiceInputStyles.js +1 -0
- package/lib/esm/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneMultilineTextInputStyles.js +1 -0
- package/lib/esm/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneTextInputStyles.js +1 -0
- package/lib/esm/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneControlProps.js +2 -1
- package/lib/esm/components/proactivechatpane/ProactiveChatPane.js +26 -35
- package/lib/esm/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneComponentOverrides.js +1 -1
- package/lib/esm/components/reconnectchatpane/ReconnectChatPane.js +31 -39
- package/lib/esm/services/BroadcastService.js +12 -13
- package/lib/esm/services/EventQueue.js +3 -20
- package/lib/types/common/Constants.d.ts +2 -0
- package/lib/types/components/confirmationpane/interfaces/IConfirmationPaneControlProps.d.ts +1 -0
- package/lib/types/components/header/interfaces/IHeaderStyleProps.d.ts +12 -0
- package/lib/types/components/inputvalidationpane/interfaces/IInputValidationPaneControlProps.d.ts +1 -0
- package/package.json +35 -18
|
@@ -3,19 +3,20 @@ import { filter } from "rxjs/operators";
|
|
|
3
3
|
import { BroadcastChannel } from "broadcast-channel";
|
|
4
4
|
import { uuidv4 } from "../common/utils";
|
|
5
5
|
import EventQueue from "./EventQueue";
|
|
6
|
-
const newMessage = new Subject();
|
|
6
|
+
const newMessage = new Subject();
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
let pubChannel; // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
9
|
+
const broadcastServicePubList = {};
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
11
|
+
const broadcastServiceSubList = {};
|
|
13
12
|
|
|
13
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
14
|
+
let pubChannel;
|
|
15
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
14
16
|
let subChannel;
|
|
15
17
|
let eventQueue;
|
|
16
18
|
export const BroadcastServiceInitialize = channelName => {
|
|
17
19
|
eventQueue = new EventQueue(newMessage);
|
|
18
|
-
|
|
19
20
|
if (broadcastServicePubList[channelName]) {
|
|
20
21
|
pubChannel = broadcastServicePubList[channelName];
|
|
21
22
|
} else {
|
|
@@ -23,16 +24,15 @@ export const BroadcastServiceInitialize = channelName => {
|
|
|
23
24
|
broadcastServicePubList[channelName] = newPubChannel;
|
|
24
25
|
pubChannel = newPubChannel;
|
|
25
26
|
}
|
|
26
|
-
|
|
27
27
|
if (broadcastServiceSubList[channelName]) {
|
|
28
28
|
subChannel = broadcastServiceSubList[channelName];
|
|
29
29
|
} else {
|
|
30
30
|
const newSubChannel = new BroadcastChannel(channelName);
|
|
31
31
|
broadcastServiceSubList[channelName] = newSubChannel;
|
|
32
32
|
subChannel = newSubChannel;
|
|
33
|
-
}
|
|
34
|
-
|
|
33
|
+
}
|
|
35
34
|
|
|
35
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
36
36
|
subChannel.onmessage = message => {
|
|
37
37
|
newMessage.next(message);
|
|
38
38
|
eventQueue.popEvent(message);
|
|
@@ -45,7 +45,6 @@ export const BroadcastService = {
|
|
|
45
45
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
|
|
46
46
|
retry: true
|
|
47
47
|
};
|
|
48
|
-
|
|
49
48
|
/**
|
|
50
49
|
* Omit copying methods to prevent 'DataCloneError' in older browsers when passing an object with functions
|
|
51
50
|
* This exception occurs when an object can't be clone with the 'structured clone algorithm' (used by postMessage)
|
|
@@ -53,7 +52,8 @@ export const BroadcastService = {
|
|
|
53
52
|
try {
|
|
54
53
|
const messageCopy = JSON.parse(JSON.stringify(message));
|
|
55
54
|
const eventId = uuidv4();
|
|
56
|
-
const event = {
|
|
55
|
+
const event = {
|
|
56
|
+
...messageCopy,
|
|
57
57
|
eventId
|
|
58
58
|
};
|
|
59
59
|
eventQueue.pushEvent(event);
|
|
@@ -61,7 +61,6 @@ export const BroadcastService = {
|
|
|
61
61
|
} catch (error) {
|
|
62
62
|
console.error("Error in BroadcastService.postMessage:", error);
|
|
63
63
|
}
|
|
64
|
-
|
|
65
64
|
if (options !== null && options !== void 0 && options.retry) {
|
|
66
65
|
const queueTimeout = (options === null || options === void 0 ? void 0 : options.queueTimeout) || 500;
|
|
67
66
|
eventQueue.startQueue(queueTimeout);
|
|
@@ -1,37 +1,29 @@
|
|
|
1
|
-
function _defineProperty(
|
|
2
|
-
|
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
3
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
3
4
|
class EventQueue {
|
|
4
5
|
constructor(newMessage) {
|
|
5
6
|
_defineProperty(this, "queueing", false);
|
|
6
|
-
|
|
7
7
|
_defineProperty(this, "channelEventQueue", void 0);
|
|
8
|
-
|
|
9
8
|
_defineProperty(this, "queueingId", void 0);
|
|
10
|
-
|
|
11
9
|
_defineProperty(this, "newMessage", void 0);
|
|
12
|
-
|
|
13
10
|
this.channelEventQueue = new Map();
|
|
14
11
|
this.newMessage = newMessage;
|
|
15
12
|
}
|
|
16
|
-
|
|
17
13
|
processEvents() {
|
|
18
14
|
this.channelEventQueue.forEach((event, eventId) => {
|
|
19
15
|
// Process entry based on insertion order
|
|
20
16
|
this.newMessage.next(event); // Post event directly instead of using pubChannel
|
|
21
|
-
|
|
22
17
|
this.channelEventQueue.delete(eventId); // Remove event from queue regardless of outcome
|
|
23
18
|
});
|
|
24
19
|
}
|
|
25
|
-
|
|
26
20
|
queueEvents() {
|
|
27
21
|
let timeout = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 500;
|
|
28
22
|
this.stopIfEmpty();
|
|
29
|
-
|
|
30
23
|
if (this.queueingId) {
|
|
31
24
|
// Queueing in progress
|
|
32
25
|
return;
|
|
33
26
|
}
|
|
34
|
-
|
|
35
27
|
if (this.queueing) {
|
|
36
28
|
this.queueingId = setTimeout(() => {
|
|
37
29
|
this.processEvents();
|
|
@@ -39,45 +31,36 @@ class EventQueue {
|
|
|
39
31
|
}, timeout);
|
|
40
32
|
}
|
|
41
33
|
}
|
|
42
|
-
|
|
43
34
|
startQueue() {
|
|
44
35
|
let timeout = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 500;
|
|
45
36
|
this.queueing = true;
|
|
46
37
|
this.queueEvents(timeout);
|
|
47
38
|
}
|
|
48
|
-
|
|
49
39
|
stopIfEmpty() {
|
|
50
40
|
if (this.channelEventQueue.size === 0) {
|
|
51
41
|
if (this.queueingId) {
|
|
52
42
|
clearTimeout(this.queueingId);
|
|
53
43
|
}
|
|
54
|
-
|
|
55
44
|
this.queueing = false;
|
|
56
45
|
this.queueingId = undefined;
|
|
57
46
|
}
|
|
58
47
|
}
|
|
59
|
-
|
|
60
48
|
pushEvent(event) {
|
|
61
49
|
if (event.eventId) {
|
|
62
50
|
this.channelEventQueue.set(event.eventId, event);
|
|
63
51
|
}
|
|
64
52
|
}
|
|
65
|
-
|
|
66
53
|
popEvent(event) {
|
|
67
54
|
if (event.eventId) {
|
|
68
55
|
this.channelEventQueue.delete(event.eventId);
|
|
69
56
|
}
|
|
70
57
|
}
|
|
71
|
-
|
|
72
58
|
dispose() {
|
|
73
59
|
if (this.queueingId) {
|
|
74
60
|
clearTimeout(this.queueingId);
|
|
75
61
|
this.queueingId = undefined;
|
|
76
62
|
}
|
|
77
|
-
|
|
78
63
|
this.channelEventQueue.clear();
|
|
79
64
|
}
|
|
80
|
-
|
|
81
65
|
}
|
|
82
|
-
|
|
83
66
|
export default EventQueue;
|
|
@@ -150,6 +150,8 @@ export declare const AriaLabels: {
|
|
|
150
150
|
readonly ReconnectChatPaneIcon: "Reconnect Chat Pane Icon";
|
|
151
151
|
readonly ContinueConversation: "Continue conversation";
|
|
152
152
|
readonly StartNewConversation: "Start new conversation";
|
|
153
|
+
readonly InputValidationPaneButtonGroup: "Actions";
|
|
154
|
+
readonly ConfirmationPaneButtonGroup: "Actions";
|
|
153
155
|
};
|
|
154
156
|
export declare const EventNames: {
|
|
155
157
|
new (): {};
|
|
@@ -37,4 +37,16 @@ export interface IHeaderStyleProps {
|
|
|
37
37
|
* header item button fucus style props
|
|
38
38
|
*/
|
|
39
39
|
headerItemFocusStyleProps?: IStyle;
|
|
40
|
+
/**
|
|
41
|
+
* header left group container style props
|
|
42
|
+
*/
|
|
43
|
+
headerLeftGroupStyleProps?: IStyle;
|
|
44
|
+
/**
|
|
45
|
+
* header left group inner container style props
|
|
46
|
+
*/
|
|
47
|
+
headerLeftGroupInnerContainerStyleProps?: IStyle;
|
|
48
|
+
/**
|
|
49
|
+
* header title container (h1) style props
|
|
50
|
+
*/
|
|
51
|
+
titleContainerStyleProps?: IStyle;
|
|
40
52
|
}
|
package/lib/types/components/inputvalidationpane/interfaces/IInputValidationPaneControlProps.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export interface IInputValidationPaneControlProps {
|
|
|
15
15
|
inputPlaceHolder?: string;
|
|
16
16
|
invalidInputErrorMessageText?: string;
|
|
17
17
|
isButtonGroupHorizontal?: boolean;
|
|
18
|
+
buttonGroupAriaLabel?: string;
|
|
18
19
|
hideSendButton?: boolean;
|
|
19
20
|
enableSendButton?: boolean;
|
|
20
21
|
sendButtonText?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/omnichannel-chat-components",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.17-main.170e67a",
|
|
4
4
|
"description": "Microsoft Omnichannel Chat Components",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"types": "lib/types/index.d.ts",
|
|
@@ -20,18 +20,19 @@
|
|
|
20
20
|
"./package.json": "./package.json"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@babel/
|
|
24
|
-
"@babel/
|
|
25
|
-
"@babel/preset-
|
|
26
|
-
"@babel/preset-
|
|
27
|
-
"@
|
|
28
|
-
"@storybook/addon-
|
|
29
|
-
"@storybook/addon-
|
|
23
|
+
"@babel/cli": "^7.26.10",
|
|
24
|
+
"@babel/core": "^7.26.10",
|
|
25
|
+
"@babel/preset-env": "^7.26.10",
|
|
26
|
+
"@babel/preset-react": "^7.26.10",
|
|
27
|
+
"@babel/preset-typescript": "^7.26.10",
|
|
28
|
+
"@storybook/addon-a11y": "^6.5.16",
|
|
29
|
+
"@storybook/addon-actions": "^6.5.16",
|
|
30
|
+
"@storybook/addon-essentials": "^6.5.16",
|
|
30
31
|
"@storybook/addon-knobs": "^6.4.0",
|
|
31
|
-
"@storybook/addon-links": "^6.
|
|
32
|
+
"@storybook/addon-links": "^6.5.16",
|
|
32
33
|
"@storybook/addon-storyshots": "^6.4.8",
|
|
33
|
-
"@storybook/react": "^6.
|
|
34
|
-
"@storybook/testing-react": "^1.
|
|
34
|
+
"@storybook/react": "^6.5.16",
|
|
35
|
+
"@storybook/testing-react": "^1.3.0",
|
|
35
36
|
"@testing-library/dom": "^10.4.0",
|
|
36
37
|
"@testing-library/jest-dom": "^5.15.0",
|
|
37
38
|
"@testing-library/react": "^16.3.0",
|
|
@@ -40,12 +41,11 @@
|
|
|
40
41
|
"@types/jest-image-snapshot": "^4.3.1",
|
|
41
42
|
"@types/react": "^18.3.13",
|
|
42
43
|
"@types/react-dom": "^18.3.6",
|
|
43
|
-
"@types/styled-components": "^5.1.15",
|
|
44
44
|
"@typescript-eslint/eslint-plugin": "^8.33.0",
|
|
45
45
|
"@typescript-eslint/parser": "^8.33.0",
|
|
46
46
|
"babel-jest": "^27.3.1",
|
|
47
47
|
"babel-loader": "^8.2.2",
|
|
48
|
-
"
|
|
48
|
+
"browserslist": "^4.24.0",
|
|
49
49
|
"copyfiles": "^2.4.1",
|
|
50
50
|
"cross-env": "^7.0.3",
|
|
51
51
|
"eslint": "^9.27.0",
|
|
@@ -57,9 +57,14 @@
|
|
|
57
57
|
"eslint-plugin-storybook": "^0.5.3",
|
|
58
58
|
"jest": "^27.3.1",
|
|
59
59
|
"jest-dom": "^4.0.0",
|
|
60
|
+
"jest-axe": "^10.0.0",
|
|
60
61
|
"jest-image-snapshot": "^4.5.1",
|
|
62
|
+
"jest-transform-stub": "^2.0.0",
|
|
61
63
|
"json": "^11.0.0",
|
|
62
64
|
"playwright": "^1.16.3",
|
|
65
|
+
"@axe-core/playwright": "^4.10.2",
|
|
66
|
+
"@axe-core/react": "^4.10.2",
|
|
67
|
+
"accessibility-insights-scan": "^3.0.0",
|
|
63
68
|
"postcss": "^8.3.9",
|
|
64
69
|
"react": "^18.3.1",
|
|
65
70
|
"react-dom": "^18.3.1",
|
|
@@ -70,18 +75,29 @@
|
|
|
70
75
|
"dependencies": {
|
|
71
76
|
"@fluentui/react": "^8.46.0",
|
|
72
77
|
"adaptivecards": "^2.10.0",
|
|
73
|
-
"botframework-webchat": "4.18.1-main.20250515.4c7400a",
|
|
74
78
|
"broadcast-channel": "^4.5.0",
|
|
75
|
-
"
|
|
76
|
-
"rxjs": "^5.0.3",
|
|
77
|
-
"styled-components": "^5.3.1"
|
|
79
|
+
"rxjs": "^5.0.3"
|
|
78
80
|
},
|
|
79
81
|
"scripts": {
|
|
80
82
|
"storybook": "start-storybook -p 6006",
|
|
81
83
|
"build-storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider build-storybook",
|
|
82
84
|
"build": "yarn eslint . && yarn build:esm && yarn build:cjs && tsc",
|
|
83
85
|
"test:unit": "jest -c jest.config.unit.cjs --env=jsdom --runInBand --force-exit",
|
|
86
|
+
"test:a11y": "jest -c jest.config.a11y.cjs --runInBand --force-exit",
|
|
84
87
|
"test:visual": "jest -c jest.config.visual.cjs",
|
|
88
|
+
"pretest:visual": "yarn playwright install",
|
|
89
|
+
"test:visual:mobile:ios": "cross-env STORYBOOK_BROWSERS=chromium STORYBOOK_SCREENSHOT_PROFILE=mobile-iphone yarn test:visual",
|
|
90
|
+
"test:visual:mobile:android": "cross-env STORYBOOK_BROWSERS=chromium STORYBOOK_SCREENSHOT_PROFILE=mobile-android yarn test:visual",
|
|
91
|
+
"test:visual:reflow": "cross-env STORYBOOK_BROWSERS=chromium STORYBOOK_SCREENSHOT_PROFILE=reflow-320 yarn test:visual",
|
|
92
|
+
"test:visual:zoom": "cross-env STORYBOOK_BROWSERS=chromium STORYBOOK_SCREENSHOT_PROFILE=zoom-200 yarn test:visual",
|
|
93
|
+
"test:visual:forced-colors": "cross-env STORYBOOK_BROWSERS=chromium STORYBOOK_SCREENSHOT_PROFILE=forced-colors yarn test:visual",
|
|
94
|
+
"test:visual:contrast-more": "cross-env STORYBOOK_BROWSERS=chromium STORYBOOK_SCREENSHOT_PROFILE=contrast-more yarn test:visual",
|
|
95
|
+
"scan:a11y:axe": "node ../tools/accessibility/axeScan.cjs",
|
|
96
|
+
"scan:a11y:axe:gated": "node ../tools/accessibility/axeScan.cjs --gate-rules image-alt,button-name",
|
|
97
|
+
"scan:a11y:axe:build": "yarn build-storybook && yarn scan:a11y:axe",
|
|
98
|
+
"scan:a11y:insights": "node ../tools/accessibility/insightsScan.cjs",
|
|
99
|
+
"scan:a11y:insights:build": "yarn build-storybook && yarn scan:a11y:insights",
|
|
100
|
+
"scan:a11y": "yarn build-storybook && yarn scan:a11y:axe && yarn scan:a11y:insights",
|
|
85
101
|
"test:all": "yarn test:unit && yarn test:visual",
|
|
86
102
|
"build:cjs": "babel ./src --config-file ./babel.config.json --out-dir lib/cjs --extensions .ts,.js,.tsx --ignore ./**/*.test.ts,./**/*.stories.ts,./**/*.stories.tsx,./**/*.test.tsx",
|
|
87
103
|
"build:esm": "babel ./src --config-file ./babel.esm.config.json --out-dir lib/esm --extensions .ts,.js,.tsx --ignore ./**/*.test.ts,./**/*.stories.ts,./**/*.stories.tsx,./**/*.test.tsx",
|
|
@@ -96,6 +112,7 @@
|
|
|
96
112
|
"**/markdown-it": "12.3.2",
|
|
97
113
|
"**/minimist": "1.2.6",
|
|
98
114
|
"**/sanitize-html": "2.12.1",
|
|
99
|
-
"
|
|
115
|
+
"**/lodash": "4.17.23",
|
|
116
|
+
"**/brace-expansion": "2.0.2"
|
|
100
117
|
}
|
|
101
118
|
}
|