@microsoft/omnichannel-chat-components 1.1.18 → 1.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (305) hide show
  1. package/lib/cjs/assets/Icons.js +21 -42
  2. package/lib/cjs/common/Constants.js +17 -31
  3. package/lib/cjs/common/decodeComponentString.js +0 -6
  4. package/lib/cjs/common/encodeComponentString.js +0 -2
  5. package/lib/cjs/common/utils.js +22 -56
  6. package/lib/cjs/components/callingcontainer/CallingContainer.js +3 -18
  7. package/lib/cjs/components/callingcontainer/common/defaultProps/defaultCallingContainerControlProps.js +2 -5
  8. package/lib/cjs/components/callingcontainer/common/defaultProps/defaultCallingContainerProps.js +2 -6
  9. package/lib/cjs/components/callingcontainer/common/defaultStyles/customizedCallingContainerStyles.js +2 -3
  10. package/lib/cjs/components/callingcontainer/common/defaultStyles/defaultCallingContainerStyles.js +2 -3
  11. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +95 -135
  12. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlProps.js +2 -5
  13. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlPropsRtl.js +2 -6
  14. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallProps.js +2 -6
  15. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/componentOverridesStyleProps.js +3 -5
  16. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/customizedCurrentCallStyleProps.js +2 -3
  17. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/defaultCurrentCallStyleProps.js +2 -3
  18. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +51 -78
  19. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverrideProps.js +3 -11
  20. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverridesControlProps.js +2 -7
  21. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlProps.js +2 -5
  22. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlPropsRtl.js +2 -6
  23. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallProps.js +2 -6
  24. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/componentOverridesStyleProps.js +2 -3
  25. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/defaultIncomingCallStyleProps.js +2 -3
  26. package/lib/cjs/components/callingcontainer/subcomponents/Timer/Timer.js +2 -11
  27. package/lib/cjs/components/chatbutton/ChatButton.js +26 -57
  28. package/lib/cjs/components/chatbutton/common/defaultProps/defaultChatButtonControlProps.js +2 -5
  29. package/lib/cjs/components/chatbutton/common/defaultProps/defaultChatButtonProps.js +2 -6
  30. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonGeneralStyles.js +2 -3
  31. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonIconContainerStyles.js +2 -5
  32. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonNotificationBubbleStyles.js +2 -3
  33. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonStyleProps.js +2 -10
  34. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonSubTitleStyles.js +2 -3
  35. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonTextContainerStyles.js +2 -3
  36. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonTitleStyles.js +2 -3
  37. package/lib/cjs/components/citationpane/CitationPane.js +19 -46
  38. package/lib/cjs/components/citationpane/ScalingTest.js +2 -8
  39. package/lib/cjs/components/citationpane/common/defaultProps/defaultCitationPaneControlProps.js +2 -3
  40. package/lib/cjs/components/citationpane/common/defaultProps/defaultCitationPaneProps.js +2 -6
  41. package/lib/cjs/components/citationpane/common/defaultProps/defaultCitationPaneStyleProps.js +2 -13
  42. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonFocusedStyles.js +2 -3
  43. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonHoveredStyles.js +2 -3
  44. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonStyles.js +2 -5
  45. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneContentStyles.js +2 -4
  46. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneGeneralStyles.js +2 -4
  47. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneStyles.js +2 -13
  48. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTitleStyles.js +1 -2
  49. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonFocusedStyles.js +2 -3
  50. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonHoveredStyles.js +2 -3
  51. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonStyles.js +2 -4
  52. package/lib/cjs/components/common/commandbutton/CommandButton.js +16 -27
  53. package/lib/cjs/components/common/subcomponents/CloseButton.js +2 -9
  54. package/lib/cjs/components/confirmationpane/ConfirmationPane.js +23 -54
  55. package/lib/cjs/components/confirmationpane/common/defaultProps/defaultConfirmationPaneControlProps.js +2 -5
  56. package/lib/cjs/components/confirmationpane/common/defaultProps/defaultConfirmationPaneProps.js +2 -6
  57. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneButtonGroupStyles.js +2 -3
  58. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonFocusedStyles.js +2 -3
  59. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonHoveredStyles.js +2 -3
  60. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonStyles.js +2 -3
  61. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonFocusedStyles.js +2 -3
  62. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonHoveredStyles.js +2 -3
  63. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonStyles.js +2 -3
  64. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneGeneralStyles.js +2 -3
  65. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneStyles.js +2 -10
  66. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneSubtitleStyles.js +2 -3
  67. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneTitleStyles.js +2 -3
  68. package/lib/cjs/components/footer/Footer.js +9 -28
  69. package/lib/cjs/components/footer/common/defaultProps/customFooterControlProps.js +2 -6
  70. package/lib/cjs/components/footer/common/defaultProps/defaultFooterComponentOverrides.js +2 -11
  71. package/lib/cjs/components/footer/common/defaultProps/defaultFooterControlProps.js +2 -5
  72. package/lib/cjs/components/footer/common/defaultProps/defaultFooterOverridesProps.js +2 -7
  73. package/lib/cjs/components/footer/common/defaultProps/defaultFooterProps.js +2 -6
  74. package/lib/cjs/components/footer/common/defaultStyles/defaultFooterStyleProps.js +2 -3
  75. package/lib/cjs/components/footer/subcomponents/AudioNotificationButton.js +13 -23
  76. package/lib/cjs/components/footer/subcomponents/DownloadTranscriptButton.js +2 -9
  77. package/lib/cjs/components/footer/subcomponents/EmailTranscriptButton.js +2 -9
  78. package/lib/cjs/components/header/Header.js +11 -29
  79. package/lib/cjs/components/header/common/defaultProps/azureHeaderControlProps.js +2 -6
  80. package/lib/cjs/components/header/common/defaultProps/azureHeaderProps.js +2 -7
  81. package/lib/cjs/components/header/common/defaultProps/customHeaderControlProps.js +2 -6
  82. package/lib/cjs/components/header/common/defaultProps/defaultHeaderComponentOverrides.js +3 -13
  83. package/lib/cjs/components/header/common/defaultProps/defaultHeaderControlProps.js +2 -6
  84. package/lib/cjs/components/header/common/defaultProps/defaultHeaderProps.js +2 -6
  85. package/lib/cjs/components/header/common/defaultProps/overridesDefaultHeaderProps.js +2 -7
  86. package/lib/cjs/components/header/common/defaultStyles/advancedHeaderStyleProps.js +2 -3
  87. package/lib/cjs/components/header/common/defaultStyles/defaultHeaderStyleProps.js +2 -3
  88. package/lib/cjs/components/header/subcomponents/MinimizeButton.js +2 -9
  89. package/lib/cjs/components/inputvalidationpane/InputValidationPane.js +52 -89
  90. package/lib/cjs/components/inputvalidationpane/common/default/defaultProps/defaultInputValidationPaneControlProps.js +2 -5
  91. package/lib/cjs/components/inputvalidationpane/common/default/defaultProps/defaultInputValidationPaneProps.js +2 -6
  92. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneButtonGroupStyles.js +2 -3
  93. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonHoveredStyles.js +1 -2
  94. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonStyles.js +2 -3
  95. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneGeneralStyles.js +2 -3
  96. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneHeaderGroupStyles.js +2 -3
  97. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInputStyles.js +2 -3
  98. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInvalidInputErrorMessageStyles.js +2 -3
  99. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonHoveredStyles.js +1 -2
  100. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonStyles.js +2 -3
  101. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneStyles.js +2 -15
  102. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSubtitleStyles.js +2 -3
  103. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneTitleStyles.js +2 -3
  104. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneComponentOverrides.js +3 -8
  105. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneControlProps.js +2 -5
  106. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneProps.js +2 -7
  107. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneCancelButtonStyles.js +2 -3
  108. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneHeaderGroupStyles.js +2 -3
  109. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneInputStyles.js +2 -3
  110. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneSendButtonStyles.js +2 -3
  111. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneStyles.js +2 -9
  112. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneTitleStyles.js +2 -3
  113. package/lib/cjs/components/loadingpane/LoadingPane.js +12 -28
  114. package/lib/cjs/components/loadingpane/common/defaultProps/defaultLoadingPaneControlProps.js +2 -5
  115. package/lib/cjs/components/loadingpane/common/defaultProps/defaultLoadingPaneProps.js +2 -6
  116. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneGeneralStyles.js +2 -3
  117. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconImageProps.js +2 -6
  118. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconStyles.js +2 -3
  119. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSpinnerStyles.js +2 -3
  120. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSpinnerTextStyles.js +2 -3
  121. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneStyles.js +2 -11
  122. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSubtitleStyles.js +2 -3
  123. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneTitleStyles.js +2 -3
  124. package/lib/cjs/components/loadingpane/common/presetOneProps/presetOneLoadingPaneControlProps.js +3 -5
  125. package/lib/cjs/components/loadingpane/common/presetOneProps/presetOneLoadingPaneProps.js +2 -6
  126. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneControlProps.js +3 -6
  127. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneProps.js +2 -6
  128. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneGeneralStyles.js +2 -3
  129. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconImageProps.js +2 -6
  130. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconStyles.js +2 -3
  131. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSpinnerStyles.js +2 -3
  132. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSpinnerTextStyles.js +2 -3
  133. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneStyles.js +2 -11
  134. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSubtitleStyles.js +2 -3
  135. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneTitleStyles.js +2 -3
  136. package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneControlProps.js +3 -6
  137. package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneProps.js +2 -6
  138. package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneGeneralStyles.js +2 -5
  139. package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneSpinnerStyles.js +2 -3
  140. package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneStyles.js +2 -11
  141. package/lib/cjs/components/notificationpane/NotificationPane.js +3 -15
  142. package/lib/cjs/components/notificationpane/subcomponents/CloseChatButton.js +2 -9
  143. package/lib/cjs/components/notificationpane/subcomponents/DismissButton.js +2 -9
  144. package/lib/cjs/components/outofofficehourspane/OOOHPane.js +5 -17
  145. package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneControlProps.js +2 -5
  146. package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneProps.js +2 -6
  147. package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneGeneralStyles.js +2 -3
  148. package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneStyles.js +2 -6
  149. package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneTitleStyles.js +2 -3
  150. package/lib/cjs/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneControlProps.js +3 -5
  151. package/lib/cjs/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneProps.js +2 -6
  152. package/lib/cjs/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneControlProps.js +3 -5
  153. package/lib/cjs/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneProps.js +2 -6
  154. package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneControlProps.js +3 -5
  155. package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneProps.js +2 -6
  156. package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneGeneralStyles.js +2 -5
  157. package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneStyles.js +2 -6
  158. package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneTitleStyles.js +2 -3
  159. package/lib/cjs/components/postchatsurveypane/PostChatSurveyPane.js +4 -13
  160. package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultPostChatSurveyPaneControlProps.js +2 -5
  161. package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultPostChatSurveyPaneProps.js +2 -6
  162. package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultStyles/defaultPostChatSurveyPaneGeneralStyles.js +2 -3
  163. package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultStyles/defaultPostChatSurveyPaneStyles.js +2 -5
  164. package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneControlProps.js +3 -5
  165. package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneProps.js +2 -6
  166. package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOneStyles/presetOnePostChatSurveyPaneGeneralStyles.js +2 -3
  167. package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOneStyles/presetOnePostChatSurveyPaneStyles.js +2 -5
  168. package/lib/cjs/components/prechatsurveypane/PreChatSurveyPane.js +35 -56
  169. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultPreChatSurveyPaneControlProps.js +2 -5
  170. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultPreChatSurveyPaneProps.js +2 -6
  171. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneACContainerStyles.js +2 -3
  172. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneButtonStyles.js +2 -3
  173. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneGeneralStyles.js +2 -3
  174. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneMultichoiceInputStyles.js +2 -3
  175. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneMultilineTextInputStyles.js +2 -3
  176. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneStyles.js +2 -11
  177. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneTextInputStyles.js +2 -3
  178. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneToggleInputStyles.js +2 -3
  179. package/lib/cjs/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneControlProps.js +3 -5
  180. package/lib/cjs/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneProps.js +2 -6
  181. package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreePreChatSurveyPaneControlProps.js +2 -3
  182. package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreePreChatSurveyPaneProps.js +2 -6
  183. package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneACContainerStyles.js +2 -3
  184. package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneButtonStyles.js +2 -3
  185. package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneGeneralStyles.js +2 -3
  186. package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneStyles.js +2 -7
  187. package/lib/cjs/components/prechatsurveypane/common/presetTwoProps/presetTwoPreChatSurveyPaneControlProps.js +2 -3
  188. package/lib/cjs/components/prechatsurveypane/common/presetTwoProps/presetTwoPreChatSurveyPaneProps.js +2 -6
  189. package/lib/cjs/components/proactivechatpane/ProactiveChatPane.js +29 -65
  190. package/lib/cjs/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneControlProps.js +2 -5
  191. package/lib/cjs/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneProps.js +2 -6
  192. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneBodyContainerStyles.js +1 -2
  193. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneBodyTitleStyles.js +2 -3
  194. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonHoveredStyles.js +2 -3
  195. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonStyles.js +2 -3
  196. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneGeneralStyles.js +2 -3
  197. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneHeaderContainerStyles.js +2 -5
  198. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStartButtonHoveredStyles.js +2 -3
  199. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStartButtonStyles.js +2 -3
  200. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStyles.js +2 -15
  201. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneSubtitleStyles.js +2 -3
  202. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneTextContainerStyles.js +2 -3
  203. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneTitleStyles.js +2 -3
  204. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneControlProps.js +2 -5
  205. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneProps.js +2 -6
  206. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneBodyTitleStyles.js +2 -3
  207. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneCloseButtonHoveredStyles.js +2 -3
  208. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneCloseButtonStyles.js +2 -3
  209. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStartButtonHoveredStyles.js +2 -3
  210. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStartButtonStyles.js +2 -3
  211. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStyles.js +2 -9
  212. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneControlProps.js +2 -5
  213. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneProps.js +2 -6
  214. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneBodyContainerStyles.js +2 -3
  215. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneCloseButtonHoveredStyles.js +2 -3
  216. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneCloseButtonStyles.js +2 -3
  217. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneGeneralStyles.js +2 -3
  218. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneHeaderContainerStyles.js +2 -3
  219. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStartButtonHoveredStyles.js +2 -3
  220. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStartButtonStyles.js +2 -3
  221. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStyles.js +2 -11
  222. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneComponentOverrides.js +4 -11
  223. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneControlProps.js +2 -5
  224. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneProps.js +2 -7
  225. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneBodyContainerStyles.js +2 -3
  226. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneGeneralStyles.js +2 -3
  227. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneHeaderContainerStyles.js +2 -3
  228. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStartButtonHoveredStyles.js +2 -3
  229. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStartButtonStyles.js +2 -3
  230. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStyles.js +2 -10
  231. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneTextContainerStyles.js +2 -3
  232. package/lib/cjs/components/reconnectchatpane/ReconnectChatPane.js +33 -69
  233. package/lib/cjs/components/reconnectchatpane/common/default/defaultProps/defaultReconnectChatPaneControlProps.js +2 -5
  234. package/lib/cjs/components/reconnectchatpane/common/default/defaultProps/defaultReconnectChatPaneProps.js +2 -6
  235. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneButtonGroupStyles.js +2 -3
  236. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonFocusedStyles.js +2 -3
  237. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonHoveredStyles.js +2 -3
  238. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonStyles.js +2 -3
  239. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneGeneralStyles.js +2 -3
  240. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneIconStyles.js +2 -5
  241. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartChatButtonFocusedStyles.js +2 -3
  242. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonHoveredStyles.js +2 -3
  243. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonStyles.js +2 -3
  244. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStyles.js +2 -14
  245. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneSubtitleStyles.js +2 -3
  246. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneTitleStyles.js +2 -3
  247. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneWrapperStyles.js +2 -3
  248. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeProps/presetThreeReconnectChatPaneControlProps.js +2 -5
  249. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeProps/presetThreeReconnectChatPaneProps.js +2 -6
  250. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneButtonGroupStyles.js +2 -3
  251. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneContinueChatButtonStyles.js +2 -3
  252. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneGeneralStyles.js +2 -3
  253. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneStyles.js +2 -9
  254. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneTitleStyles.js +2 -3
  255. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneWrapperStyles.js +2 -3
  256. package/lib/cjs/index.js +1 -24
  257. package/lib/cjs/services/BroadcastService.js +15 -26
  258. package/lib/cjs/services/EventQueue.js +4 -23
  259. package/lib/esm/common/Constants.js +15 -17
  260. package/lib/esm/common/decodeComponentString.js +0 -1
  261. package/lib/esm/common/utils.js +22 -30
  262. package/lib/esm/components/callingcontainer/CallingContainer.js +0 -5
  263. package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +86 -109
  264. package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/componentOverridesStyleProps.js +2 -1
  265. package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +41 -57
  266. package/lib/esm/components/callingcontainer/subcomponents/Timer/Timer.js +0 -2
  267. package/lib/esm/components/chatbutton/ChatButton.js +24 -37
  268. package/lib/esm/components/citationpane/CitationPane.js +17 -21
  269. package/lib/esm/components/citationpane/ScalingTest.js +1 -1
  270. package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonStyles.js +0 -2
  271. package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneContentStyles.js +0 -1
  272. package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneGeneralStyles.js +0 -1
  273. package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonStyles.js +0 -1
  274. package/lib/esm/components/common/commandbutton/CommandButton.js +14 -15
  275. package/lib/esm/components/common/subcomponents/CloseButton.js +0 -2
  276. package/lib/esm/components/confirmationpane/ConfirmationPane.js +21 -27
  277. package/lib/esm/components/footer/Footer.js +6 -10
  278. package/lib/esm/components/footer/common/defaultProps/defaultFooterComponentOverrides.js +0 -2
  279. package/lib/esm/components/footer/subcomponents/AudioNotificationButton.js +11 -11
  280. package/lib/esm/components/footer/subcomponents/DownloadTranscriptButton.js +0 -2
  281. package/lib/esm/components/footer/subcomponents/EmailTranscriptButton.js +0 -2
  282. package/lib/esm/components/header/Header.js +8 -12
  283. package/lib/esm/components/header/subcomponents/MinimizeButton.js +0 -2
  284. package/lib/esm/components/inputvalidationpane/InputValidationPane.js +50 -60
  285. package/lib/esm/components/loadingpane/LoadingPane.js +10 -13
  286. package/lib/esm/components/loadingpane/common/presetOneProps/presetOneLoadingPaneControlProps.js +2 -1
  287. package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneControlProps.js +2 -1
  288. package/lib/esm/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneControlProps.js +2 -1
  289. package/lib/esm/components/notificationpane/NotificationPane.js +1 -5
  290. package/lib/esm/components/notificationpane/subcomponents/CloseChatButton.js +0 -2
  291. package/lib/esm/components/notificationpane/subcomponents/DismissButton.js +0 -2
  292. package/lib/esm/components/outofofficehourspane/OOOHPane.js +3 -6
  293. package/lib/esm/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneControlProps.js +2 -1
  294. package/lib/esm/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneControlProps.js +2 -1
  295. package/lib/esm/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneControlProps.js +2 -1
  296. package/lib/esm/components/postchatsurveypane/PostChatSurveyPane.js +2 -4
  297. package/lib/esm/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneControlProps.js +2 -1
  298. package/lib/esm/components/prechatsurveypane/PreChatSurveyPane.js +33 -38
  299. package/lib/esm/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneControlProps.js +2 -1
  300. package/lib/esm/components/proactivechatpane/ProactiveChatPane.js +26 -35
  301. package/lib/esm/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneComponentOverrides.js +1 -1
  302. package/lib/esm/components/reconnectchatpane/ReconnectChatPane.js +31 -39
  303. package/lib/esm/services/BroadcastService.js +12 -13
  304. package/lib/esm/services/EventQueue.js +3 -20
  305. package/package.json +16 -14
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultReconnectChatPaneContinueChatButtonStyles = void 0;
7
- const defaultReconnectChatPaneContinueChatButtonStyles = {
7
+ const defaultReconnectChatPaneContinueChatButtonStyles = exports.defaultReconnectChatPaneContinueChatButtonStyles = {
8
8
  backgroundColor: "rgb(49, 95, 162)",
9
9
  color: "rgb(255, 255, 255)",
10
10
  cursor: "pointer",
@@ -14,5 +14,4 @@ const defaultReconnectChatPaneContinueChatButtonStyles = {
14
14
  height: "60px",
15
15
  marginBottom: "5px",
16
16
  padding: "4px 10px 5px 10px"
17
- };
18
- exports.defaultReconnectChatPaneContinueChatButtonStyles = defaultReconnectChatPaneContinueChatButtonStyles;
17
+ };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultReconnectChatPaneGeneralStyles = void 0;
7
- const defaultReconnectChatPaneGeneralStyles = {
7
+ const defaultReconnectChatPaneGeneralStyles = exports.defaultReconnectChatPaneGeneralStyles = {
8
8
  backgroundColor: "rgb(255, 255, 255)",
9
9
  borderColor: "#E6E6E6",
10
10
  borderRadius: "4px",
@@ -14,5 +14,4 @@ const defaultReconnectChatPaneGeneralStyles = {
14
14
  height: "inherit",
15
15
  width: "inherit",
16
16
  overflowY: "auto"
17
- };
18
- exports.defaultReconnectChatPaneGeneralStyles = defaultReconnectChatPaneGeneralStyles;
17
+ };
@@ -4,10 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultReconnectChatPaneIconStyles = void 0;
7
-
8
7
  var _Icons = require("../../../../../assets/Icons");
9
-
10
- const defaultReconnectChatPaneIconStyles = {
8
+ const defaultReconnectChatPaneIconStyles = exports.defaultReconnectChatPaneIconStyles = {
11
9
  backgroundImage: `url(${_Icons.ChatReconnectIconBase64})`,
12
10
  backgroundPosition: "center",
13
11
  backgroundRepeat: "no-repeat",
@@ -15,5 +13,4 @@ const defaultReconnectChatPaneIconStyles = {
15
13
  height: "130px",
16
14
  margin: "0 auto",
17
15
  width: "130px"
18
- };
19
- exports.defaultReconnectChatPaneIconStyles = defaultReconnectChatPaneIconStyles;
16
+ };
@@ -4,12 +4,11 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultReconnectChatPaneStartChatFocusedStyles = void 0;
7
- const defaultReconnectChatPaneStartChatFocusedStyles = {
7
+ const defaultReconnectChatPaneStartChatFocusedStyles = exports.defaultReconnectChatPaneStartChatFocusedStyles = {
8
8
  content: "",
9
9
  inset: "0px",
10
10
  border: "1px solid transparent",
11
11
  outline: "rgb(96,94,92) solid 1px",
12
12
  zIndex: 1,
13
13
  boxShadow: "inset 0px 0px 0px 2px #fff"
14
- };
15
- exports.defaultReconnectChatPaneStartChatFocusedStyles = defaultReconnectChatPaneStartChatFocusedStyles;
14
+ };
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultReconnectChatPaneStartNewChatButtonHoveredStyles = void 0;
7
- const defaultReconnectChatPaneStartNewChatButtonHoveredStyles = {
7
+ const defaultReconnectChatPaneStartNewChatButtonHoveredStyles = exports.defaultReconnectChatPaneStartNewChatButtonHoveredStyles = {
8
8
  backgroundColor: "rgb(132, 132, 130)"
9
- };
10
- exports.defaultReconnectChatPaneStartNewChatButtonHoveredStyles = defaultReconnectChatPaneStartNewChatButtonHoveredStyles;
9
+ };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultReconnectChatPaneStartNewChatButtonStyles = void 0;
7
- const defaultReconnectChatPaneStartNewChatButtonStyles = {
7
+ const defaultReconnectChatPaneStartNewChatButtonStyles = exports.defaultReconnectChatPaneStartNewChatButtonStyles = {
8
8
  backgroundColor: "rgb(0, 0, 0)",
9
9
  color: "rgb(255, 255, 255)",
10
10
  cursor: "pointer",
@@ -13,5 +13,4 @@ const defaultReconnectChatPaneStartNewChatButtonStyles = {
13
13
  fontWeight: "600",
14
14
  height: "60px",
15
15
  padding: "4px 10px 5px 10px"
16
- };
17
- exports.defaultReconnectChatPaneStartNewChatButtonStyles = defaultReconnectChatPaneStartNewChatButtonStyles;
16
+ };
@@ -4,28 +4,17 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultReconnectChatPaneStyles = void 0;
7
-
8
7
  var _defaultReconnectChatPaneSubtitleStyles = require("./defaultReconnectChatPaneSubtitleStyles");
9
-
10
8
  var _defaultReconnectChatPaneButtonGroupStyles = require("./defaultReconnectChatPaneButtonGroupStyles");
11
-
12
9
  var _defaultReconnectChatPaneContinueChatButtonStyles = require("./defaultReconnectChatPaneContinueChatButtonStyles");
13
-
14
10
  var _defaultReconnectChatPaneGeneralStyles = require("./defaultReconnectChatPaneGeneralStyles");
15
-
16
11
  var _defaultReconnectChatPaneTitleStyles = require("./defaultReconnectChatPaneTitleStyles");
17
-
18
12
  var _defaultReconnectChatPaneIconStyles = require("./defaultReconnectChatPaneIconStyles");
19
-
20
13
  var _defaultReconnectChatPaneWrapperStyles = require("./defaultReconnectChatPaneWrapperStyles");
21
-
22
14
  var _defaultReconnectChatPaneStartNewChatButtonStyles = require("./defaultReconnectChatPaneStartNewChatButtonStyles");
23
-
24
15
  var _defaultReconnectChatPaneContinueChatButtonHoveredStyles = require("./defaultReconnectChatPaneContinueChatButtonHoveredStyles");
25
-
26
16
  var _defaultReconnectChatPaneStartNewChatButtonHoveredStyles = require("./defaultReconnectChatPaneStartNewChatButtonHoveredStyles");
27
-
28
- const defaultReconnectChatPaneStyles = {
17
+ const defaultReconnectChatPaneStyles = exports.defaultReconnectChatPaneStyles = {
29
18
  generalStyleProps: _defaultReconnectChatPaneGeneralStyles.defaultReconnectChatPaneGeneralStyles,
30
19
  wrapperStyleProps: _defaultReconnectChatPaneWrapperStyles.defaultReconnectChatPaneWrapperStyles,
31
20
  titleStyleProps: _defaultReconnectChatPaneTitleStyles.defaultReconnectChatPaneTitleStyles,
@@ -36,5 +25,4 @@ const defaultReconnectChatPaneStyles = {
36
25
  continueChatButtonHoveredStyleProps: _defaultReconnectChatPaneContinueChatButtonHoveredStyles.defaultReconnectChatPaneContinueChatButtonHoveredStyles,
37
26
  startNewChatButtonStyleProps: _defaultReconnectChatPaneStartNewChatButtonStyles.defaultReconnectChatPaneStartNewChatButtonStyles,
38
27
  startNewChatButtonHoveredStyleProps: _defaultReconnectChatPaneStartNewChatButtonHoveredStyles.defaultReconnectChatPaneStartNewChatButtonHoveredStyles
39
- };
40
- exports.defaultReconnectChatPaneStyles = defaultReconnectChatPaneStyles;
28
+ };
@@ -4,11 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultReconnectChatPaneSubtitleStyles = void 0;
7
- const defaultReconnectChatPaneSubtitleStyles = {
7
+ const defaultReconnectChatPaneSubtitleStyles = exports.defaultReconnectChatPaneSubtitleStyles = {
8
8
  color: "rgb(0, 0, 0)",
9
9
  fontFamily: "'Segoe UI', Arial, sans-serif",
10
10
  fontSize: "16px",
11
11
  fontWeight: "400",
12
12
  lineHeight: "19px"
13
- };
14
- exports.defaultReconnectChatPaneSubtitleStyles = defaultReconnectChatPaneSubtitleStyles;
13
+ };
@@ -4,12 +4,11 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultReconnectChatPaneTitleStyles = void 0;
7
- const defaultReconnectChatPaneTitleStyles = {
7
+ const defaultReconnectChatPaneTitleStyles = exports.defaultReconnectChatPaneTitleStyles = {
8
8
  color: "rgb(0, 0, 0)",
9
9
  fontFamily: "'Segoe UI', Arial, sans-serif",
10
10
  fontSize: "16px",
11
11
  fontWeight: "600",
12
12
  lineHeight: "19px",
13
13
  marginBottom: "10px"
14
- };
15
- exports.defaultReconnectChatPaneTitleStyles = defaultReconnectChatPaneTitleStyles;
14
+ };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultReconnectChatPaneWrapperStyles = void 0;
7
- const defaultReconnectChatPaneWrapperStyles = {
7
+ const defaultReconnectChatPaneWrapperStyles = exports.defaultReconnectChatPaneWrapperStyles = {
8
8
  backgroundColor: "rgb(255, 255, 255)",
9
9
  borderColor: "#E6E6E6",
10
10
  borderRadius: "0 8px 8px 8px",
@@ -12,5 +12,4 @@ const defaultReconnectChatPaneWrapperStyles = {
12
12
  borderWidth: "1px",
13
13
  padding: "20px",
14
14
  width: "100%"
15
- };
16
- exports.defaultReconnectChatPaneWrapperStyles = defaultReconnectChatPaneWrapperStyles;
15
+ };
@@ -4,10 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.presetThreeReconnectChatPaneControlProps = void 0;
7
-
8
7
  var _Constants = require("../../../../../common/Constants");
9
-
10
- const presetThreeReconnectChatPaneControlProps = {
8
+ const presetThreeReconnectChatPaneControlProps = exports.presetThreeReconnectChatPaneControlProps = {
11
9
  id: "lcw-components-reconnect-chat-pane",
12
10
  dir: "ltr",
13
11
  hideReconnectChatPane: false,
@@ -31,5 +29,4 @@ const presetThreeReconnectChatPaneControlProps = {
31
29
  onStartNewChat: function () {
32
30
  console.log("on start new conversation");
33
31
  }
34
- };
35
- exports.presetThreeReconnectChatPaneControlProps = presetThreeReconnectChatPaneControlProps;
32
+ };
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.presetThreeReconnectChatPaneProps = void 0;
7
-
8
7
  var _presetThreeReconnectChatPaneStyles = require("../presetThreeStyles/presetThreeReconnectChatPaneStyles");
9
-
10
8
  var _presetThreeReconnectChatPaneControlProps = require("./presetThreeReconnectChatPaneControlProps");
11
-
12
- const presetThreeReconnectChatPaneProps = {
9
+ const presetThreeReconnectChatPaneProps = exports.presetThreeReconnectChatPaneProps = {
13
10
  controlProps: _presetThreeReconnectChatPaneControlProps.presetThreeReconnectChatPaneControlProps,
14
11
  styleProps: _presetThreeReconnectChatPaneStyles.presetThreeReconnectChatPaneStyles
15
- };
16
- exports.presetThreeReconnectChatPaneProps = presetThreeReconnectChatPaneProps;
12
+ };
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.presetThreeReconnectChatPaneButtonGroupStyles = void 0;
7
- const presetThreeReconnectChatPaneButtonGroupStyles = {
7
+ const presetThreeReconnectChatPaneButtonGroupStyles = exports.presetThreeReconnectChatPaneButtonGroupStyles = {
8
8
  alignItems: "center"
9
- };
10
- exports.presetThreeReconnectChatPaneButtonGroupStyles = presetThreeReconnectChatPaneButtonGroupStyles;
9
+ };
@@ -4,9 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.presetThreeReconnectChatPaneContinueChatButtonStyles = void 0;
7
- const presetThreeReconnectChatPaneContinueChatButtonStyles = {
7
+ const presetThreeReconnectChatPaneContinueChatButtonStyles = exports.presetThreeReconnectChatPaneContinueChatButtonStyles = {
8
8
  fontSize: "20px",
9
9
  height: "200px",
10
10
  width: "200px"
11
- };
12
- exports.presetThreeReconnectChatPaneContinueChatButtonStyles = presetThreeReconnectChatPaneContinueChatButtonStyles;
11
+ };
@@ -4,10 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.presetThreeReconnectChatPaneGeneralStyles = void 0;
7
- const presetThreeReconnectChatPaneGeneralStyles = {
7
+ const presetThreeReconnectChatPaneGeneralStyles = exports.presetThreeReconnectChatPaneGeneralStyles = {
8
8
  backgroundColor: "red",
9
9
  borderColor: "black",
10
10
  borderRadius: "20%",
11
11
  width: "600px"
12
- };
13
- exports.presetThreeReconnectChatPaneGeneralStyles = presetThreeReconnectChatPaneGeneralStyles;
12
+ };
@@ -4,22 +4,15 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.presetThreeReconnectChatPaneStyles = void 0;
7
-
8
7
  var _presetThreeReconnectChatPaneButtonGroupStyles = require("./presetThreeReconnectChatPaneButtonGroupStyles");
9
-
10
8
  var _presetThreeReconnectChatPaneContinueChatButtonStyles = require("./presetThreeReconnectChatPaneContinueChatButtonStyles");
11
-
12
9
  var _presetThreeReconnectChatPaneGeneralStyles = require("./presetThreeReconnectChatPaneGeneralStyles");
13
-
14
10
  var _presetThreeReconnectChatPaneTitleStyles = require("./presetThreeReconnectChatPaneTitleStyles");
15
-
16
11
  var _presetThreeReconnectChatPaneWrapperStyles = require("./presetThreeReconnectChatPaneWrapperStyles");
17
-
18
- const presetThreeReconnectChatPaneStyles = {
12
+ const presetThreeReconnectChatPaneStyles = exports.presetThreeReconnectChatPaneStyles = {
19
13
  generalStyleProps: _presetThreeReconnectChatPaneGeneralStyles.presetThreeReconnectChatPaneGeneralStyles,
20
14
  wrapperStyleProps: _presetThreeReconnectChatPaneWrapperStyles.presetThreeReconnectChatPaneWrapperStyles,
21
15
  titleStyleProps: _presetThreeReconnectChatPaneTitleStyles.presetThreeReconnectChatPaneTitleStyles,
22
16
  buttonGroupStyleProps: _presetThreeReconnectChatPaneButtonGroupStyles.presetThreeReconnectChatPaneButtonGroupStyles,
23
17
  continueChatButtonStyleProps: _presetThreeReconnectChatPaneContinueChatButtonStyles.presetThreeReconnectChatPaneContinueChatButtonStyles
24
- };
25
- exports.presetThreeReconnectChatPaneStyles = presetThreeReconnectChatPaneStyles;
18
+ };
@@ -4,9 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.presetThreeReconnectChatPaneTitleStyles = void 0;
7
- const presetThreeReconnectChatPaneTitleStyles = {
7
+ const presetThreeReconnectChatPaneTitleStyles = exports.presetThreeReconnectChatPaneTitleStyles = {
8
8
  color: "white",
9
9
  fontSize: "20px",
10
10
  textAlign: "center"
11
- };
12
- exports.presetThreeReconnectChatPaneTitleStyles = presetThreeReconnectChatPaneTitleStyles;
11
+ };
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.presetThreeReconnectChatPaneWrapperStyles = void 0;
7
- const presetThreeReconnectChatPaneWrapperStyles = {
7
+ const presetThreeReconnectChatPaneWrapperStyles = exports.presetThreeReconnectChatPaneWrapperStyles = {
8
8
  backgroundColor: "green",
9
9
  borderRadius: "20%"
10
- };
11
- exports.presetThreeReconnectChatPaneWrapperStyles = presetThreeReconnectChatPaneWrapperStyles;
10
+ };
package/lib/cjs/index.js CHANGED
@@ -261,49 +261,26 @@ Object.defineProperty(exports, "encodeComponentString", {
261
261
  return _encodeComponentString.encodeComponentString;
262
262
  }
263
263
  });
264
-
265
264
  var _Header = _interopRequireDefault(require("./components/header/Header"));
266
-
267
265
  var _Footer = _interopRequireDefault(require("./components/footer/Footer"));
268
-
269
266
  var _ConfirmationPane = _interopRequireDefault(require("./components/confirmationpane/ConfirmationPane"));
270
-
271
267
  var _CitationPane = _interopRequireDefault(require("./components/citationpane/CitationPane"));
272
-
273
268
  var _ChatButton = _interopRequireDefault(require("./components/chatbutton/ChatButton"));
274
-
275
269
  var _InputValidationPane = _interopRequireDefault(require("./components/inputvalidationpane/InputValidationPane"));
276
-
277
270
  var _ProactiveChatPane = _interopRequireDefault(require("./components/proactivechatpane/ProactiveChatPane"));
278
-
279
271
  var _ReconnectChatPane = _interopRequireDefault(require("./components/reconnectchatpane/ReconnectChatPane"));
280
-
281
272
  var _LoadingPane = _interopRequireDefault(require("./components/loadingpane/LoadingPane"));
282
-
283
273
  var _OOOHPane = _interopRequireDefault(require("./components/outofofficehourspane/OOOHPane"));
284
-
285
274
  var _NotificationPane = _interopRequireDefault(require("./components/notificationpane/NotificationPane"));
286
-
287
275
  var _PreChatSurveyPane = _interopRequireDefault(require("./components/prechatsurveypane/PreChatSurveyPane"));
288
-
289
276
  var _PostChatSurveyPane = _interopRequireDefault(require("./components/postchatsurveypane/PostChatSurveyPane"));
290
-
291
277
  var _encodeComponentString = require("./common/encodeComponentString");
292
-
293
278
  var _decodeComponentString = require("./common/decodeComponentString");
294
-
295
279
  var _BroadcastService = require("./services/BroadcastService");
296
-
297
280
  var _Constants = require("./common/Constants");
298
-
299
281
  var _CallingContainer = _interopRequireDefault(require("./components/callingcontainer/CallingContainer"));
300
-
301
282
  var _CurrentCall = _interopRequireDefault(require("./components/callingcontainer/subcomponents/CurrentCall/CurrentCall"));
302
-
303
283
  var _IncomingCall = _interopRequireDefault(require("./components/callingcontainer/subcomponents/IncomingCall/IncomingCall"));
304
-
305
284
  var _Timer = _interopRequireDefault(require("./components/callingcontainer/subcomponents/Timer/Timer"));
306
-
307
285
  var _Icons = require("./assets/Icons");
308
-
309
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
286
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -4,33 +4,26 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.BroadcastServiceInitialize = exports.BroadcastService = void 0;
7
-
8
7
  var _rxjs = require("rxjs");
9
-
10
8
  var _operators = require("rxjs/operators");
11
-
12
9
  var _broadcastChannel = require("broadcast-channel");
13
-
14
10
  var _utils = require("../common/utils");
15
-
16
11
  var _EventQueue = _interopRequireDefault(require("./EventQueue"));
12
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
+ const newMessage = new _rxjs.Subject();
17
14
 
18
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
-
20
- const newMessage = new _rxjs.Subject(); // eslint-disable-next-line @typescript-eslint/no-explicit-any
21
-
22
- const broadcastServicePubList = {}; // eslint-disable-next-line @typescript-eslint/no-explicit-any
23
-
24
- const broadcastServiceSubList = {}; // eslint-disable-next-line @typescript-eslint/no-explicit-any
25
-
26
- let pubChannel; // eslint-disable-next-line @typescript-eslint/no-explicit-any
15
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
16
+ const broadcastServicePubList = {};
17
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
18
+ const broadcastServiceSubList = {};
27
19
 
20
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
21
+ let pubChannel;
22
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
28
23
  let subChannel;
29
24
  let eventQueue;
30
-
31
25
  const BroadcastServiceInitialize = channelName => {
32
26
  eventQueue = new _EventQueue.default(newMessage);
33
-
34
27
  if (broadcastServicePubList[channelName]) {
35
28
  pubChannel = broadcastServicePubList[channelName];
36
29
  } else {
@@ -38,31 +31,28 @@ const BroadcastServiceInitialize = channelName => {
38
31
  broadcastServicePubList[channelName] = newPubChannel;
39
32
  pubChannel = newPubChannel;
40
33
  }
41
-
42
34
  if (broadcastServiceSubList[channelName]) {
43
35
  subChannel = broadcastServiceSubList[channelName];
44
36
  } else {
45
37
  const newSubChannel = new _broadcastChannel.BroadcastChannel(channelName);
46
38
  broadcastServiceSubList[channelName] = newSubChannel;
47
39
  subChannel = newSubChannel;
48
- } // eslint-disable-next-line @typescript-eslint/no-explicit-any
49
-
40
+ }
50
41
 
42
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
51
43
  subChannel.onmessage = message => {
52
44
  newMessage.next(message);
53
45
  eventQueue.popEvent(message);
54
46
  eventQueue.stopIfEmpty();
55
47
  };
56
48
  };
57
-
58
49
  exports.BroadcastServiceInitialize = BroadcastServiceInitialize;
59
- const BroadcastService = {
50
+ const BroadcastService = exports.BroadcastService = {
60
51
  //broadcast a message
61
52
  postMessage: function (message) {
62
53
  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
63
54
  retry: true
64
55
  };
65
-
66
56
  /**
67
57
  * Omit copying methods to prevent 'DataCloneError' in older browsers when passing an object with functions
68
58
  * This exception occurs when an object can't be clone with the 'structured clone algorithm' (used by postMessage)
@@ -70,7 +60,8 @@ const BroadcastService = {
70
60
  try {
71
61
  const messageCopy = JSON.parse(JSON.stringify(message));
72
62
  const eventId = (0, _utils.uuidv4)();
73
- const event = { ...messageCopy,
63
+ const event = {
64
+ ...messageCopy,
74
65
  eventId
75
66
  };
76
67
  eventQueue.pushEvent(event);
@@ -78,7 +69,6 @@ const BroadcastService = {
78
69
  } catch (error) {
79
70
  console.error("Error in BroadcastService.postMessage:", error);
80
71
  }
81
-
82
72
  if (options !== null && options !== void 0 && options.retry) {
83
73
  const queueTimeout = (options === null || options === void 0 ? void 0 : options.queueTimeout) || 500;
84
74
  eventQueue.startQueue(queueTimeout);
@@ -98,5 +88,4 @@ const BroadcastService = {
98
88
  subChannel.close();
99
89
  eventQueue.dispose();
100
90
  }
101
- };
102
- exports.BroadcastService = BroadcastService;
91
+ };
@@ -4,41 +4,32 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
-
7
+ 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; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
9
+ 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); }
10
10
  class EventQueue {
11
11
  constructor(newMessage) {
12
12
  _defineProperty(this, "queueing", false);
13
-
14
13
  _defineProperty(this, "channelEventQueue", void 0);
15
-
16
14
  _defineProperty(this, "queueingId", void 0);
17
-
18
15
  _defineProperty(this, "newMessage", void 0);
19
-
20
16
  this.channelEventQueue = new Map();
21
17
  this.newMessage = newMessage;
22
18
  }
23
-
24
19
  processEvents() {
25
20
  this.channelEventQueue.forEach((event, eventId) => {
26
21
  // Process entry based on insertion order
27
22
  this.newMessage.next(event); // Post event directly instead of using pubChannel
28
-
29
23
  this.channelEventQueue.delete(eventId); // Remove event from queue regardless of outcome
30
24
  });
31
25
  }
32
-
33
26
  queueEvents() {
34
27
  let timeout = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 500;
35
28
  this.stopIfEmpty();
36
-
37
29
  if (this.queueingId) {
38
30
  // Queueing in progress
39
31
  return;
40
32
  }
41
-
42
33
  if (this.queueing) {
43
34
  this.queueingId = setTimeout(() => {
44
35
  this.processEvents();
@@ -46,46 +37,36 @@ class EventQueue {
46
37
  }, timeout);
47
38
  }
48
39
  }
49
-
50
40
  startQueue() {
51
41
  let timeout = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 500;
52
42
  this.queueing = true;
53
43
  this.queueEvents(timeout);
54
44
  }
55
-
56
45
  stopIfEmpty() {
57
46
  if (this.channelEventQueue.size === 0) {
58
47
  if (this.queueingId) {
59
48
  clearTimeout(this.queueingId);
60
49
  }
61
-
62
50
  this.queueing = false;
63
51
  this.queueingId = undefined;
64
52
  }
65
53
  }
66
-
67
54
  pushEvent(event) {
68
55
  if (event.eventId) {
69
56
  this.channelEventQueue.set(event.eventId, event);
70
57
  }
71
58
  }
72
-
73
59
  popEvent(event) {
74
60
  if (event.eventId) {
75
61
  this.channelEventQueue.delete(event.eventId);
76
62
  }
77
63
  }
78
-
79
64
  dispose() {
80
65
  if (this.queueingId) {
81
66
  clearTimeout(this.queueingId);
82
67
  this.queueingId = undefined;
83
68
  }
84
-
85
69
  this.channelEventQueue.clear();
86
70
  }
87
-
88
71
  }
89
-
90
- var _default = EventQueue;
91
- exports.default = _default;
72
+ var _default = exports.default = EventQueue;