@microsoft/omnichannel-chat-components 0.1.0-main.f0b0a93 → 0.1.0-main.f30619f

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 (188) hide show
  1. package/README.md +1 -0
  2. package/lib/cjs/assets/Icons.js +48 -0
  3. package/lib/cjs/common/Constants.js +12 -7
  4. package/lib/cjs/common/utils.js +21 -2
  5. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +31 -1
  6. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlPropsRtl.js +6 -16
  7. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/customizedCurrentCallStyleProps.js +0 -12
  8. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/defaultCurrentCallStyleProps.js +4 -16
  9. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +45 -2
  10. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverrideProps.js +2 -4
  11. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlPropsRtl.js +4 -10
  12. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/defaultIncomingCallStyleProps.js +8 -8
  13. package/lib/cjs/components/chatbutton/ChatButton.js +47 -33
  14. package/lib/cjs/components/chatbutton/common/defaultProps/defaultChatButtonControlProps.js +5 -2
  15. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonIconContainerStyles.js +2 -4
  16. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonSubTitleStyles.js +1 -0
  17. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonTitleStyles.js +1 -0
  18. package/lib/cjs/components/common/commandbutton/CommandButton.js +36 -10
  19. package/lib/cjs/components/{header → common}/subcomponents/CloseButton.js +4 -3
  20. package/lib/cjs/components/confirmationpane/ConfirmationPane.js +19 -10
  21. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneButtonGroupStyles.js +5 -1
  22. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneGeneralStyles.js +7 -4
  23. package/lib/cjs/components/footer/Footer.js +2 -2
  24. package/lib/cjs/components/footer/common/defaultProps/customFooterControlProps.js +5 -13
  25. package/lib/cjs/components/footer/common/defaultProps/defaultFooterControlProps.js +1 -0
  26. package/lib/cjs/components/footer/common/defaultStyles/defaultFooterStyleProps.js +12 -6
  27. package/lib/cjs/components/footer/subcomponents/AudioNotificationButton.js +29 -11
  28. package/lib/cjs/components/header/Header.js +2 -2
  29. package/lib/cjs/components/header/common/defaultProps/azureHeaderControlProps.js +2 -4
  30. package/lib/cjs/components/header/common/defaultProps/customHeaderControlProps.js +4 -10
  31. package/lib/cjs/components/header/common/defaultProps/defaultHeaderControlProps.js +2 -4
  32. package/lib/cjs/components/inputvalidationpane/InputValidationPane.js +76 -46
  33. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonStyles.js +2 -1
  34. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInvalidInputErrorMessageStyles.js +1 -1
  35. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonStyles.js +2 -1
  36. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconImageProps.js +2 -4
  37. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconStyles.js +1 -1
  38. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconImageProps.js +2 -4
  39. package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneGeneralStyles.js +2 -4
  40. package/lib/cjs/components/outofofficehourspane/OOOHPane.js +13 -6
  41. package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneControlProps.js +3 -1
  42. package/lib/cjs/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneControlProps.js +15 -0
  43. package/lib/cjs/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneProps.js +16 -0
  44. package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneGeneralStyles.js +2 -4
  45. package/lib/cjs/components/postchatsurveypane/PostChatSurveyPane.js +3 -2
  46. package/lib/cjs/components/prechatsurveypane/PreChatSurveyPane.js +22 -8
  47. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneButtonStyles.js +4 -1
  48. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneMultilineTextInputStyles.js +10 -0
  49. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneStyles.js +7 -1
  50. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneTextInputStyles.js +10 -0
  51. package/lib/cjs/{assets/assets.d.js → components/prechatsurveypane/interfaces/IPreChatSurveyPaneElementStyles.js} +0 -0
  52. package/lib/cjs/components/proactivechatpane/ProactiveChatPane.js +33 -30
  53. package/lib/cjs/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneControlProps.js +5 -1
  54. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonStyles.js +2 -15
  55. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneHeaderContainerStyles.js +2 -4
  56. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneControlProps.js +5 -1
  57. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneControlProps.js +5 -1
  58. package/lib/cjs/components/reconnectchatpane/ReconnectChatPane.js +14 -12
  59. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneIconStyles.js +2 -4
  60. package/lib/cjs/index.js +134 -0
  61. package/lib/cjs/services/BroadcastService.js +36 -8
  62. package/lib/esm/assets/Icons.js +21 -0
  63. package/lib/esm/common/Constants.js +10 -5
  64. package/lib/esm/common/utils.js +16 -0
  65. package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +33 -3
  66. package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlPropsRtl.js +6 -10
  67. package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/customizedCurrentCallStyleProps.js +0 -12
  68. package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/defaultCurrentCallStyleProps.js +4 -16
  69. package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +47 -4
  70. package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverrideProps.js +2 -2
  71. package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlPropsRtl.js +4 -6
  72. package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/defaultIncomingCallStyleProps.js +8 -8
  73. package/lib/esm/components/chatbutton/ChatButton.js +47 -33
  74. package/lib/esm/components/chatbutton/common/defaultProps/defaultChatButtonControlProps.js +5 -2
  75. package/lib/esm/components/chatbutton/common/defaultStyles/defaultChatButtonIconContainerStyles.js +2 -2
  76. package/lib/esm/components/chatbutton/common/defaultStyles/defaultChatButtonSubTitleStyles.js +1 -0
  77. package/lib/esm/components/chatbutton/common/defaultStyles/defaultChatButtonTitleStyles.js +1 -0
  78. package/lib/esm/components/common/commandbutton/CommandButton.js +36 -10
  79. package/lib/esm/components/{header → common}/subcomponents/CloseButton.js +4 -3
  80. package/lib/esm/components/confirmationpane/ConfirmationPane.js +20 -11
  81. package/lib/esm/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneButtonGroupStyles.js +5 -1
  82. package/lib/esm/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneGeneralStyles.js +7 -4
  83. package/lib/esm/components/footer/Footer.js +2 -2
  84. package/lib/esm/components/footer/common/defaultProps/customFooterControlProps.js +5 -8
  85. package/lib/esm/components/footer/common/defaultProps/defaultFooterControlProps.js +1 -0
  86. package/lib/esm/components/footer/common/defaultStyles/defaultFooterStyleProps.js +12 -6
  87. package/lib/esm/components/footer/subcomponents/AudioNotificationButton.js +29 -11
  88. package/lib/esm/components/header/Header.js +2 -2
  89. package/lib/esm/components/header/common/defaultProps/azureHeaderControlProps.js +2 -2
  90. package/lib/esm/components/header/common/defaultProps/customHeaderControlProps.js +4 -6
  91. package/lib/esm/components/header/common/defaultProps/defaultHeaderControlProps.js +2 -2
  92. package/lib/esm/components/inputvalidationpane/InputValidationPane.js +77 -47
  93. package/lib/esm/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonStyles.js +2 -1
  94. package/lib/esm/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInvalidInputErrorMessageStyles.js +1 -1
  95. package/lib/esm/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonStyles.js +2 -1
  96. package/lib/esm/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconImageProps.js +2 -2
  97. package/lib/esm/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconStyles.js +1 -1
  98. package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconImageProps.js +2 -2
  99. package/lib/esm/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneGeneralStyles.js +2 -2
  100. package/lib/esm/components/outofofficehourspane/OOOHPane.js +13 -7
  101. package/lib/esm/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneControlProps.js +3 -1
  102. package/lib/esm/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneControlProps.js +6 -0
  103. package/lib/esm/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneProps.js +6 -0
  104. package/lib/esm/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneGeneralStyles.js +2 -2
  105. package/lib/esm/components/postchatsurveypane/PostChatSurveyPane.js +3 -2
  106. package/lib/esm/components/prechatsurveypane/PreChatSurveyPane.js +22 -8
  107. package/lib/esm/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneButtonStyles.js +4 -1
  108. package/lib/esm/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneMultilineTextInputStyles.js +3 -0
  109. package/lib/esm/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneStyles.js +5 -1
  110. package/lib/esm/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneTextInputStyles.js +3 -0
  111. package/lib/esm/components/prechatsurveypane/interfaces/IPreChatSurveyPaneElementStyles.js +1 -0
  112. package/lib/esm/components/proactivechatpane/ProactiveChatPane.js +30 -29
  113. package/lib/esm/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneControlProps.js +5 -1
  114. package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonStyles.js +2 -11
  115. package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneHeaderContainerStyles.js +2 -2
  116. package/lib/esm/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneControlProps.js +5 -1
  117. package/lib/esm/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneControlProps.js +5 -1
  118. package/lib/esm/components/reconnectchatpane/ReconnectChatPane.js +14 -12
  119. package/lib/esm/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneIconStyles.js +2 -2
  120. package/lib/esm/index.js +3 -1
  121. package/lib/esm/services/BroadcastService.js +34 -8
  122. package/lib/types/assets/Icons.d.ts +21 -0
  123. package/lib/types/common/Constants.d.ts +9 -2
  124. package/lib/types/common/utils.d.ts +1 -0
  125. package/lib/types/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallStyleProps.d.ts +0 -4
  126. package/lib/types/components/chatbutton/interfaces/IChatButtonControlProps.d.ts +3 -0
  127. package/lib/types/components/common/interfaces/ICommandButtonControlProps.d.ts +1 -0
  128. package/lib/types/components/common/interfaces/ICommandButtonProps.d.ts +1 -0
  129. package/lib/types/components/{header → common}/subcomponents/CloseButton.d.ts +1 -1
  130. package/lib/types/components/confirmationpane/interfaces/IConfirmationPaneControlProps.d.ts +0 -1
  131. package/lib/types/components/inputvalidationpane/interfaces/IInputValidationPaneControlProps.d.ts +0 -1
  132. package/lib/types/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneControlProps.d.ts +2 -0
  133. package/lib/types/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneProps.d.ts +2 -0
  134. package/lib/types/components/outofofficehourspane/interfaces/IOOOHPaneControlProps.d.ts +1 -0
  135. package/lib/types/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneMultilineTextInputStyles.d.ts +2 -0
  136. package/lib/types/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneTextInputStyles.d.ts +2 -0
  137. package/lib/types/components/prechatsurveypane/interfaces/IPreChatSurveyPaneButtonStyles.d.ts +3 -0
  138. package/lib/types/components/prechatsurveypane/interfaces/IPreChatSurveyPaneElementStyles.d.ts +5 -0
  139. package/lib/types/components/prechatsurveypane/interfaces/IPreChatSurveyPaneStyleProps.d.ts +5 -0
  140. package/lib/types/components/proactivechatpane/interfaces/IProactiveChatPaneControlProps.d.ts +2 -1
  141. package/lib/types/index.d.ts +2 -0
  142. package/lib/types/services/BroadcastService.d.ts +1 -0
  143. package/package.json +5 -10
  144. package/lib/cjs/assets/imgs/ChatBubble.svg +0 -28
  145. package/lib/cjs/assets/imgs/ChatReconnectPopupIcon.png +0 -0
  146. package/lib/cjs/assets/imgs/Proactive_banner.png +0 -0
  147. package/lib/cjs/assets/imgs/agent.png +0 -0
  148. package/lib/cjs/assets/imgs/callacceptbutton.svg +0 -3
  149. package/lib/cjs/assets/imgs/callrejectbutton.svg +0 -3
  150. package/lib/cjs/assets/imgs/chat.svg +0 -47
  151. package/lib/cjs/assets/imgs/chatIcon.svg +0 -16
  152. package/lib/cjs/assets/imgs/closeButton.svg +0 -3
  153. package/lib/cjs/assets/imgs/closeChatButton.svg +0 -3
  154. package/lib/cjs/assets/imgs/error.svg +0 -3
  155. package/lib/cjs/assets/imgs/lcwAudioOff.svg +0 -3
  156. package/lib/cjs/assets/imgs/lcwAudioOn.svg +0 -3
  157. package/lib/cjs/assets/imgs/loading.gif +0 -0
  158. package/lib/cjs/assets/imgs/minimizeChatButton.svg +0 -3
  159. package/lib/cjs/assets/imgs/transcriptDownloadIcon.svg +0 -4
  160. package/lib/cjs/assets/imgs/transcriptEmailIcon.svg +0 -5
  161. package/lib/cjs/assets/imgs/videocallacceptbutton.svg +0 -3
  162. package/lib/cjs/assets/imgs/videooff.svg +0 -3
  163. package/lib/cjs/assets/imgs/videoon.svg +0 -3
  164. package/lib/cjs/assets/imgs/voiceoff.svg +0 -3
  165. package/lib/cjs/assets/imgs/voiceon.svg +0 -3
  166. package/lib/esm/assets/assets.d.js +0 -0
  167. package/lib/esm/assets/imgs/ChatBubble.svg +0 -28
  168. package/lib/esm/assets/imgs/ChatReconnectPopupIcon.png +0 -0
  169. package/lib/esm/assets/imgs/Proactive_banner.png +0 -0
  170. package/lib/esm/assets/imgs/agent.png +0 -0
  171. package/lib/esm/assets/imgs/callacceptbutton.svg +0 -3
  172. package/lib/esm/assets/imgs/callrejectbutton.svg +0 -3
  173. package/lib/esm/assets/imgs/chat.svg +0 -47
  174. package/lib/esm/assets/imgs/chatIcon.svg +0 -16
  175. package/lib/esm/assets/imgs/closeButton.svg +0 -3
  176. package/lib/esm/assets/imgs/closeChatButton.svg +0 -3
  177. package/lib/esm/assets/imgs/error.svg +0 -3
  178. package/lib/esm/assets/imgs/lcwAudioOff.svg +0 -3
  179. package/lib/esm/assets/imgs/lcwAudioOn.svg +0 -3
  180. package/lib/esm/assets/imgs/loading.gif +0 -0
  181. package/lib/esm/assets/imgs/minimizeChatButton.svg +0 -3
  182. package/lib/esm/assets/imgs/transcriptDownloadIcon.svg +0 -4
  183. package/lib/esm/assets/imgs/transcriptEmailIcon.svg +0 -5
  184. package/lib/esm/assets/imgs/videocallacceptbutton.svg +0 -3
  185. package/lib/esm/assets/imgs/videooff.svg +0 -3
  186. package/lib/esm/assets/imgs/videoon.svg +0 -3
  187. package/lib/esm/assets/imgs/voiceoff.svg +0 -3
  188. package/lib/esm/assets/imgs/voiceon.svg +0 -3
@@ -44,7 +44,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
44
44
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
45
45
 
46
46
  function ConfirmationPane(props) {
47
- var _props$controlProps, _props$styleProps, _props$styleProps2, _props$styleProps3, _props$styleProps4, _props$styleProps5, _props$styleProps6, _props$styleProps7, _props$styleProps8, _props$styleProps9, _props$styleProps10, _props$controlProps6, _props$controlProps7, _props$controlProps8, _props$componentOverr, _props$styleProps11, _props$styleProps11$c, _props$controlProps9, _props$controlProps10, _props$componentOverr2, _props$styleProps12, _props$styleProps12$c, _props$controlProps11, _props$styleProps13, _props$styleProps13$c, _props$controlProps12, _props$componentOverr3, _props$styleProps14, _props$styleProps14$c, _props$controlProps13, _props$controlProps14, _props$controlProps15, _props$componentOverr4, _props$styleProps15, _props$styleProps15$c, _props$controlProps16, _props$controlProps17;
47
+ var _props$controlProps, _props$styleProps, _props$styleProps2, _props$styleProps3, _props$styleProps4, _props$styleProps5, _props$styleProps6, _props$styleProps7, _props$styleProps8, _props$styleProps9, _props$styleProps10, _props$styleProps11, _props$styleProps12, _props$controlProps6, _props$controlProps7, _props$controlProps8, _props$componentOverr, _props$styleProps13, _props$styleProps13$c, _props$controlProps9, _props$controlProps10, _props$componentOverr2, _props$styleProps14, _props$styleProps14$c, _props$controlProps11, _props$styleProps15, _props$styleProps15$c, _props$controlProps12, _props$componentOverr3, _props$styleProps16, _props$styleProps16$c, _props$controlProps13, _props$controlProps14, _props$controlProps15, _props$componentOverr4, _props$styleProps17, _props$styleProps17$c, _props$controlProps16, _props$controlProps17;
48
48
 
49
49
  const elementId = ((_props$controlProps = props.controlProps) === null || _props$controlProps === void 0 ? void 0 : _props$controlProps.id) ?? _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.id;
50
50
  const handleConfirmClick = (0, _react2.useCallback)(() => {
@@ -80,6 +80,12 @@ function ConfirmationPane(props) {
80
80
 
81
81
  (_props$controlProps5 = props.controlProps) === null || _props$controlProps5 === void 0 ? void 0 : _props$controlProps5.onCancel();
82
82
  }
83
+ }, []); // eslint-disable-next-line @typescript-eslint/no-explicit-any
84
+
85
+ const handleEscKeyDown = (0, _react2.useCallback)(e => {
86
+ if (e.code === _Constants.KeyCodes.ESCAPE) {
87
+ handleCancelClick();
88
+ }
83
89
  }, []);
84
90
  const containerStyles = {
85
91
  root: Object.assign({}, _defaultConfirmationPaneGeneralStyles.defaultConfirmationPaneGeneralStyles, (_props$styleProps = props.styleProps) === null || _props$styleProps === void 0 ? void 0 : _props$styleProps.generalStyleProps)
@@ -96,15 +102,18 @@ function ConfirmationPane(props) {
96
102
  const confirmButtonStyles = {
97
103
  root: Object.assign({}, _defaultConfirmationPaneConfirmButtonStyles.defaultConfirmationPaneConfirmButtonStyles, (_props$styleProps5 = props.styleProps) === null || _props$styleProps5 === void 0 ? void 0 : _props$styleProps5.confirmButtonStyleProps),
98
104
  rootHovered: Object.assign({}, _defaultConfirmationPaneConfirmButtonHoveredStyles.defaultConfirmationPaneConfirmButtonHoveredStyles, (_props$styleProps6 = props.styleProps) === null || _props$styleProps6 === void 0 ? void 0 : _props$styleProps6.confirmButtonHoveredStyleProps),
99
- rootFocused: Object.assign({}, _defaultConfirmationPaneConfirmButtonFocusedStyles.defaultConfirmationPaneConfirmButtonFocusedStyles, (_props$styleProps7 = props.styleProps) === null || _props$styleProps7 === void 0 ? void 0 : _props$styleProps7.confirmButtonFocusedStyleProps)
105
+ rootFocused: Object.assign({}, _defaultConfirmationPaneConfirmButtonFocusedStyles.defaultConfirmationPaneConfirmButtonFocusedStyles, (_props$styleProps7 = props.styleProps) === null || _props$styleProps7 === void 0 ? void 0 : _props$styleProps7.confirmButtonFocusedStyleProps),
106
+ rootPressed: Object.assign({}, _defaultConfirmationPaneConfirmButtonHoveredStyles.defaultConfirmationPaneConfirmButtonHoveredStyles, (_props$styleProps8 = props.styleProps) === null || _props$styleProps8 === void 0 ? void 0 : _props$styleProps8.confirmButtonHoveredStyleProps)
100
107
  };
101
108
  const cancelButtonStyles = {
102
- root: Object.assign({}, _defaultConfirmationPaneCancelButtonStyles.defaultConfirmationPaneCancelButtonStyles, (_props$styleProps8 = props.styleProps) === null || _props$styleProps8 === void 0 ? void 0 : _props$styleProps8.cancelButtonStyleProps),
103
- rootHovered: Object.assign({}, _defaultConfirmationPaneCancelButtonHoveredStyles.defaultConfirmationPaneCancelButtonHoveredStyles, (_props$styleProps9 = props.styleProps) === null || _props$styleProps9 === void 0 ? void 0 : _props$styleProps9.cancelButtonHoveredStyleProps),
104
- rootFocused: Object.assign({}, _defaultConfirmationPaneCancelButtonFocusedStyles.defaultConfirmationPaneCancelButtonFocusedStyles, (_props$styleProps10 = props.styleProps) === null || _props$styleProps10 === void 0 ? void 0 : _props$styleProps10.cancelButtonFocusedStyleProps)
109
+ root: Object.assign({}, _defaultConfirmationPaneCancelButtonStyles.defaultConfirmationPaneCancelButtonStyles, (_props$styleProps9 = props.styleProps) === null || _props$styleProps9 === void 0 ? void 0 : _props$styleProps9.cancelButtonStyleProps),
110
+ rootHovered: Object.assign({}, _defaultConfirmationPaneCancelButtonHoveredStyles.defaultConfirmationPaneCancelButtonHoveredStyles, (_props$styleProps10 = props.styleProps) === null || _props$styleProps10 === void 0 ? void 0 : _props$styleProps10.cancelButtonHoveredStyleProps),
111
+ rootFocused: Object.assign({}, _defaultConfirmationPaneCancelButtonFocusedStyles.defaultConfirmationPaneCancelButtonFocusedStyles, (_props$styleProps11 = props.styleProps) === null || _props$styleProps11 === void 0 ? void 0 : _props$styleProps11.cancelButtonFocusedStyleProps),
112
+ rootPressed: Object.assign({}, _defaultConfirmationPaneCancelButtonHoveredStyles.defaultConfirmationPaneCancelButtonHoveredStyles, (_props$styleProps12 = props.styleProps) === null || _props$styleProps12 === void 0 ? void 0 : _props$styleProps12.cancelButtonHoveredStyleProps)
105
113
  };
106
114
  return /*#__PURE__*/_react2.default.createElement(_react2.default.Fragment, null, !((_props$controlProps6 = props.controlProps) !== null && _props$controlProps6 !== void 0 && _props$controlProps6.hideConfirmationPane) && /*#__PURE__*/_react2.default.createElement(_react.Stack, {
107
115
  id: elementId,
116
+ onKeyDown: handleEscKeyDown,
108
117
  tabIndex: -1,
109
118
  dir: ((_props$controlProps7 = props.controlProps) === null || _props$controlProps7 === void 0 ? void 0 : _props$controlProps7.dir) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.dir,
110
119
  styles: containerStyles,
@@ -112,29 +121,29 @@ function ConfirmationPane(props) {
112
121
  "aria-labelledby": elementId + "-title",
113
122
  "aria-describedby": elementId + "-subtitle"
114
123
  }, !((_props$controlProps8 = props.controlProps) !== null && _props$controlProps8 !== void 0 && _props$controlProps8.hideTitle) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr = props.componentOverrides) === null || _props$componentOverr === void 0 ? void 0 : _props$componentOverr.title) || /*#__PURE__*/_react2.default.createElement(_react.Label, {
115
- className: (_props$styleProps11 = props.styleProps) === null || _props$styleProps11 === void 0 ? void 0 : (_props$styleProps11$c = _props$styleProps11.classNames) === null || _props$styleProps11$c === void 0 ? void 0 : _props$styleProps11$c.titleClassName,
124
+ className: (_props$styleProps13 = props.styleProps) === null || _props$styleProps13 === void 0 ? void 0 : (_props$styleProps13$c = _props$styleProps13.classNames) === null || _props$styleProps13$c === void 0 ? void 0 : _props$styleProps13$c.titleClassName,
116
125
  styles: titleStyles,
117
126
  tabIndex: -1,
118
127
  id: elementId + "-title"
119
128
  }, ((_props$controlProps9 = props.controlProps) === null || _props$controlProps9 === void 0 ? void 0 : _props$controlProps9.titleText) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.titleText)), !((_props$controlProps10 = props.controlProps) !== null && _props$controlProps10 !== void 0 && _props$controlProps10.hideSubtitle) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr2 = props.componentOverrides) === null || _props$componentOverr2 === void 0 ? void 0 : _props$componentOverr2.subtitle) || /*#__PURE__*/_react2.default.createElement(_react.Label, {
120
- className: (_props$styleProps12 = props.styleProps) === null || _props$styleProps12 === void 0 ? void 0 : (_props$styleProps12$c = _props$styleProps12.classNames) === null || _props$styleProps12$c === void 0 ? void 0 : _props$styleProps12$c.subtitleClassName,
129
+ className: (_props$styleProps14 = props.styleProps) === null || _props$styleProps14 === void 0 ? void 0 : (_props$styleProps14$c = _props$styleProps14.classNames) === null || _props$styleProps14$c === void 0 ? void 0 : _props$styleProps14$c.subtitleClassName,
121
130
  styles: subtitleStyles,
122
131
  tabIndex: -1,
123
132
  id: elementId + "-subtitle"
124
133
  }, ((_props$controlProps11 = props.controlProps) === null || _props$controlProps11 === void 0 ? void 0 : _props$controlProps11.subtitleText) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.subtitleText)), /*#__PURE__*/_react2.default.createElement(_react.Stack, {
125
134
  horizontal: true,
126
- className: (_props$styleProps13 = props.styleProps) === null || _props$styleProps13 === void 0 ? void 0 : (_props$styleProps13$c = _props$styleProps13.classNames) === null || _props$styleProps13$c === void 0 ? void 0 : _props$styleProps13$c.buttonGroupClassName,
135
+ className: (_props$styleProps15 = props.styleProps) === null || _props$styleProps15 === void 0 ? void 0 : (_props$styleProps15$c = _props$styleProps15.classNames) === null || _props$styleProps15$c === void 0 ? void 0 : _props$styleProps15$c.buttonGroupClassName,
127
136
  styles: buttonGroupStyles,
128
137
  id: elementId + "-buttongroup"
129
138
  }, !((_props$controlProps12 = props.controlProps) !== null && _props$controlProps12 !== void 0 && _props$controlProps12.hideConfirmButton) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr3 = props.componentOverrides) === null || _props$componentOverr3 === void 0 ? void 0 : _props$componentOverr3.confirmButton) || /*#__PURE__*/_react2.default.createElement(_Button.PrimaryButton, {
130
- className: (_props$styleProps14 = props.styleProps) === null || _props$styleProps14 === void 0 ? void 0 : (_props$styleProps14$c = _props$styleProps14.classNames) === null || _props$styleProps14$c === void 0 ? void 0 : _props$styleProps14$c.confirmButtonClassName,
139
+ className: (_props$styleProps16 = props.styleProps) === null || _props$styleProps16 === void 0 ? void 0 : (_props$styleProps16$c = _props$styleProps16.classNames) === null || _props$styleProps16$c === void 0 ? void 0 : _props$styleProps16$c.confirmButtonClassName,
131
140
  styles: confirmButtonStyles,
132
141
  text: ((_props$controlProps13 = props.controlProps) === null || _props$controlProps13 === void 0 ? void 0 : _props$controlProps13.confirmButtonText) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.confirmButtonText,
133
142
  onClick: handleConfirmClick,
134
143
  id: elementId + "-confirmbutton",
135
144
  ariaLabel: ((_props$controlProps14 = props.controlProps) === null || _props$controlProps14 === void 0 ? void 0 : _props$controlProps14.confirmButtonAriaLabel) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.confirmButtonAriaLabel
136
145
  })), !((_props$controlProps15 = props.controlProps) !== null && _props$controlProps15 !== void 0 && _props$controlProps15.hideCancelButton) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr4 = props.componentOverrides) === null || _props$componentOverr4 === void 0 ? void 0 : _props$componentOverr4.cancelButton) || /*#__PURE__*/_react2.default.createElement(_Button.DefaultButton, {
137
- className: (_props$styleProps15 = props.styleProps) === null || _props$styleProps15 === void 0 ? void 0 : (_props$styleProps15$c = _props$styleProps15.classNames) === null || _props$styleProps15$c === void 0 ? void 0 : _props$styleProps15$c.cancelButtonClassName,
146
+ className: (_props$styleProps17 = props.styleProps) === null || _props$styleProps17 === void 0 ? void 0 : (_props$styleProps17$c = _props$styleProps17.classNames) === null || _props$styleProps17$c === void 0 ? void 0 : _props$styleProps17$c.cancelButtonClassName,
138
147
  styles: cancelButtonStyles,
139
148
  text: ((_props$controlProps16 = props.controlProps) === null || _props$controlProps16 === void 0 ? void 0 : _props$controlProps16.cancelButtonText) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.cancelButtonText,
140
149
  onClick: handleCancelClick,
@@ -6,9 +6,13 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.defaultConfirmationPaneButtonGroupStyles = void 0;
7
7
  const defaultConfirmationPaneButtonGroupStyles = {
8
8
  display: "flex",
9
+ width: "auto",
10
+ height: "auto",
11
+ boxSizing: "border-box",
9
12
  flexFlow: "row",
10
13
  justifyContent: "center",
11
14
  alignItems: "center",
12
- gap: "10px"
15
+ gap: "10px",
16
+ marginBottom: "10px"
13
17
  };
14
18
  exports.defaultConfirmationPaneButtonGroupStyles = defaultConfirmationPaneButtonGroupStyles;
@@ -5,19 +5,22 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.defaultConfirmationPaneGeneralStyles = void 0;
7
7
  const defaultConfirmationPaneGeneralStyles = {
8
+ display: "flex",
9
+ minHeight: "160px",
10
+ maxHeight: "300px",
11
+ boxSizing: "border-box",
8
12
  backgroundColor: "white",
9
13
  borderRadius: "2px",
10
14
  color: "black",
11
15
  fontFamily: "Segoe UI, Arial, sans-serif",
12
16
  fontSize: "14px",
13
- height: "160px",
14
17
  padding: "10px 20px",
15
- width: "262px",
16
18
  position: "absolute",
17
19
  justifyContent: "center",
18
20
  alignItems: "center",
19
- display: "flex",
20
21
  flexFlow: "column",
21
- zIndex: "9999"
22
+ zIndex: "9999",
23
+ left: "26px",
24
+ right: "26px"
22
25
  };
23
26
  exports.defaultConfirmationPaneGeneralStyles = defaultConfirmationPaneGeneralStyles;
@@ -27,7 +27,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
27
27
 
28
28
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
29
29
 
30
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
30
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
31
31
 
32
32
  (0, _react2.initializeIcons)();
33
33
 
@@ -87,7 +87,7 @@ function Footer(props) {
87
87
  verticalAlign: "start"
88
88
  }, /*#__PURE__*/React.createElement(_react2.Stack, {
89
89
  horizontal: true,
90
- verticalAlign: "start"
90
+ verticalAlign: "center"
91
91
  }, (0, _utils.processCustomComponents)((_props$controlProps14 = props.controlProps) === null || _props$controlProps14 === void 0 ? void 0 : (_props$controlProps15 = _props$controlProps14.rightGroup) === null || _props$controlProps15 === void 0 ? void 0 : _props$controlProps15.children), !((_props$controlProps16 = props.controlProps) !== null && _props$controlProps16 !== void 0 && _props$controlProps16.hideAudioNotificationButton) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr3 = props.componentOverrides) === null || _props$componentOverr3 === void 0 ? void 0 : _props$componentOverr3.AudioNotificationButton) || /*#__PURE__*/React.createElement(_AudioNotificationButton.default, _extends({}, audioNotificationButtonProps, {
92
92
  onClick: (_props$controlProps17 = props.controlProps) === null || _props$controlProps17 === void 0 ? void 0 : _props$controlProps17.onAudioNotificationClick,
93
93
  styles: audioNotificationButtonStyles,
@@ -5,15 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.customFooterControlProps = void 0;
7
7
 
8
- var _lcwAudioOff = _interopRequireDefault(require("../../../../assets/imgs/lcwAudioOff.svg"));
9
-
10
- var _lcwAudioOn = _interopRequireDefault(require("../../../../assets/imgs/lcwAudioOn.svg"));
11
-
12
- var _transcriptDownloadIcon = _interopRequireDefault(require("../../../../assets/imgs/transcriptDownloadIcon.svg"));
13
-
14
- var _transcriptEmailIcon = _interopRequireDefault(require("../../../../assets/imgs/transcriptEmailIcon.svg"));
15
-
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8
+ var _Icons = require("../../../../assets/Icons");
17
9
 
18
10
  const customFooterControlProps = {
19
11
  id: "oc-lcw-footer",
@@ -42,7 +34,7 @@ const customFooterControlProps = {
42
34
  id: "oc-lcw-footer-downloadtranscript-button",
43
35
  type: "icon",
44
36
  imageIconProps: {
45
- src: _transcriptDownloadIcon.default
37
+ src: _Icons.TranscriptDownloadIconBase64
46
38
  },
47
39
  ariaLabel: "Download chat transcript"
48
40
  },
@@ -50,7 +42,7 @@ const customFooterControlProps = {
50
42
  id: "oc-lcw-footer-emailtranscript-button",
51
43
  type: "icon",
52
44
  imageIconProps: {
53
- src: _transcriptEmailIcon.default
45
+ src: _Icons.TranscriptEmailIconBase64
54
46
  },
55
47
  ariaLabel: "Email Transcript"
56
48
  },
@@ -59,10 +51,10 @@ const customFooterControlProps = {
59
51
  ariaLabel: "Turn sound off",
60
52
  toggleAriaLabel: "Turn sound on",
61
53
  imageIconProps: {
62
- src: _lcwAudioOn.default
54
+ src: _Icons.AudioNotificationOnIconBase64
63
55
  },
64
56
  imageToggleIconProps: {
65
- src: _lcwAudioOff.default
57
+ src: _Icons.AudioNotificationOffIconBase64
66
58
  }
67
59
  }
68
60
  };
@@ -41,6 +41,7 @@ const defaultFooterControlProps = {
41
41
  },
42
42
  audioNotificationButtonProps: {
43
43
  id: "oc-lcw-footer-audionotification-button",
44
+ type: "icon",
44
45
  ariaLabel: "Turn sound off",
45
46
  toggleAriaLabel: "Turn sound on",
46
47
  iconName: "Volume3",
@@ -14,8 +14,10 @@ const defaultFooterStyleProps = {
14
14
  padding: "0 10px 5px 10px"
15
15
  },
16
16
  downloadTranscriptButtonStyleProps: {
17
- color: "blue",
18
- fontSize: 16,
17
+ icon: {
18
+ color: "blue",
19
+ fontSize: 16
20
+ },
19
21
  height: "25px",
20
22
  lineHeight: "25px",
21
23
  width: "25px"
@@ -25,8 +27,10 @@ const defaultFooterStyleProps = {
25
27
  backgroundColor: "#C8C8C8"
26
28
  },
27
29
  emailTranscriptButtonStyleProps: {
28
- color: "blue",
29
- fontSize: 16,
30
+ icon: {
31
+ color: "blue",
32
+ fontSize: 16
33
+ },
30
34
  height: "25px",
31
35
  lineHeight: "25px",
32
36
  width: "25px"
@@ -36,8 +40,10 @@ const defaultFooterStyleProps = {
36
40
  backgroundColor: "#C8C8C8"
37
41
  },
38
42
  audioNotificationButtonStyleProps: {
39
- color: "blue",
40
- fontSize: 16,
43
+ icon: {
44
+ color: "blue",
45
+ fontSize: 16
46
+ },
41
47
  height: "25px",
42
48
  lineHeight: "25px",
43
49
  width: "25px"
@@ -22,27 +22,45 @@ function AudioNotificationButton(props) {
22
22
  disabled
23
23
  } = props;
24
24
  const [muted, setMuted] = (0, _react2.useState)(props.isAudioMuted);
25
+ let iconStyles = {};
26
+
27
+ if (props.type === "icon") {
28
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
29
+ iconStyles = { ...(props === null || props === void 0 ? void 0 : props.styles).icon
30
+ };
31
+ }
32
+
25
33
  const iconButtonStyles = {
26
- root: props === null || props === void 0 ? void 0 : props.styles,
27
- rootHovered: props === null || props === void 0 ? void 0 : props.hoverStyles,
28
- rootFocused: props === null || props === void 0 ? void 0 : props.focusStyles
34
+ icon: iconStyles,
35
+ root: {
36
+ selectors: {
37
+ ":hover .ms-Button-icon": { // eslint-disable-next-line @typescript-eslint/no-explicit-any
38
+ ...(props === null || props === void 0 ? void 0 : props.hoverStyles).icon
39
+ },
40
+ ":active .ms-Button-icon": { // eslint-disable-next-line @typescript-eslint/no-explicit-any
41
+ ...(props === null || props === void 0 ? void 0 : props.hoverStyles).icon
42
+ },
43
+ ":focus .ms-Button-icon": { // eslint-disable-next-line @typescript-eslint/no-explicit-any
44
+ ...(props === null || props === void 0 ? void 0 : props.focusStyles).icon
45
+ }
46
+ },
47
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
48
+ ...(props === null || props === void 0 ? void 0 : props.styles)
49
+ },
50
+ rootHovered: props.hoverStyles,
51
+ rootFocused: props.focusStyles,
52
+ rootPressed: props.hoverStyles
29
53
  }; //imageIconProps > iconName
30
54
 
31
55
  const volume0Icon = props.imageToggleIconProps ? {
32
56
  imageProps: props === null || props === void 0 ? void 0 : props.imageToggleIconProps
33
57
  } : {
34
- iconName: (props === null || props === void 0 ? void 0 : props.toggleIconName) ?? "Volume0",
35
- styles: {
36
- root: props.styles
37
- }
58
+ iconName: (props === null || props === void 0 ? void 0 : props.toggleIconName) ?? "Volume0"
38
59
  };
39
60
  const volume3Icon = props.imageIconProps ? {
40
61
  imageProps: props === null || props === void 0 ? void 0 : props.imageIconProps
41
62
  } : {
42
- iconName: (props === null || props === void 0 ? void 0 : props.iconName) ?? "Volume3",
43
- styles: {
44
- root: props.styles
45
- }
63
+ iconName: (props === null || props === void 0 ? void 0 : props.iconName) ?? "Volume3"
46
64
  };
47
65
  const handleOnClick = (0, _react2.useCallback)(() => {
48
66
  setMuted(!muted);
@@ -9,7 +9,7 @@ var React = _interopRequireWildcard(require("react"));
9
9
 
10
10
  var _react2 = require("@fluentui/react");
11
11
 
12
- var _CloseButton = _interopRequireDefault(require("./subcomponents/CloseButton"));
12
+ var _CloseButton = _interopRequireDefault(require("../common/subcomponents/CloseButton"));
13
13
 
14
14
  var _MinimizeButton = _interopRequireDefault(require("./subcomponents/MinimizeButton"));
15
15
 
@@ -25,7 +25,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
25
25
 
26
26
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
27
27
 
28
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
28
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
29
29
 
30
30
  (0, _react2.initializeIcons)();
31
31
 
@@ -5,9 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.azureHeaderControlProps = void 0;
7
7
 
8
- var _chatIcon = _interopRequireDefault(require("../../../../assets/imgs/chatIcon.svg"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8
+ var _Icons = require("../../../../assets/Icons");
11
9
 
12
10
  const azureHeaderControlProps = {
13
11
  id: "oc-lcw-header",
@@ -41,7 +39,7 @@ const azureHeaderControlProps = {
41
39
  },
42
40
  headerIconProps: {
43
41
  id: "oc-lcw-header-icon",
44
- src: _chatIcon.default,
42
+ src: _Icons.LegacyChatIconBase64,
45
43
  alt: "Chat Icon"
46
44
  },
47
45
  headerTitleProps: {
@@ -5,13 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.customHeaderControlProps = void 0;
7
7
 
8
- var _chatIcon = _interopRequireDefault(require("../../../../assets/imgs/chatIcon.svg"));
9
-
10
- var _closeChatButton = _interopRequireDefault(require("../../../../assets/imgs/closeChatButton.svg"));
11
-
12
- var _minimizeChatButton = _interopRequireDefault(require("../../../../assets/imgs/minimizeChatButton.svg"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8
+ var _Icons = require("../../../../assets/Icons");
15
9
 
16
10
  const customHeaderControlProps = {
17
11
  id: "oc-lcw-header",
@@ -38,7 +32,7 @@ const customHeaderControlProps = {
38
32
  id: "oc-lcw-header-minimizebutton",
39
33
  type: "icon",
40
34
  imageIconProps: {
41
- src: _minimizeChatButton.default,
35
+ src: _Icons.MinimizeChatButtonIconBase64,
42
36
  styles: {
43
37
  image: {
44
38
  height: "16px",
@@ -51,7 +45,7 @@ const customHeaderControlProps = {
51
45
  id: "oc-lcw-header-closebutton",
52
46
  type: "icon",
53
47
  imageIconProps: {
54
- src: _closeChatButton.default,
48
+ src: _Icons.CloseChatButtonIconBase64,
55
49
  styles: {
56
50
  image: {
57
51
  height: "16px",
@@ -62,7 +56,7 @@ const customHeaderControlProps = {
62
56
  },
63
57
  headerIconProps: {
64
58
  id: "oc-lcw-header-icon",
65
- src: _chatIcon.default,
59
+ src: _Icons.LegacyChatIconBase64,
66
60
  alt: "Chat Icon"
67
61
  },
68
62
  headerTitleProps: {
@@ -5,9 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.defaultHeaderControlProps = void 0;
7
7
 
8
- var _chat = _interopRequireDefault(require("../../../../assets/imgs/chat.svg"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8
+ var _Icons = require("../../../../assets/Icons");
11
9
 
12
10
  const defaultHeaderControlProps = {
13
11
  id: "oc-lcw-header",
@@ -42,7 +40,7 @@ const defaultHeaderControlProps = {
42
40
  },
43
41
  headerIconProps: {
44
42
  id: "oc-lcw-header-icon",
45
- src: _chat.default,
43
+ src: _Icons.ModernChatIconBase64,
46
44
  alt: "Chat Icon"
47
45
  },
48
46
  headerTitleProps: {