@microsoft/omnichannel-chat-components 0.1.0-main.3e712be → 0.1.0-main.423d0ce

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 (119) hide show
  1. package/README.md +1 -0
  2. package/lib/cjs/assets/Icons.js +48 -0
  3. package/lib/cjs/common/Constants.js +1 -1
  4. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +30 -0
  5. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlPropsRtl.js +6 -16
  6. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/customizedCurrentCallStyleProps.js +0 -12
  7. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/defaultCurrentCallStyleProps.js +4 -16
  8. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +30 -0
  9. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverrideProps.js +2 -4
  10. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlPropsRtl.js +4 -10
  11. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/defaultIncomingCallStyleProps.js +8 -8
  12. package/lib/cjs/components/chatbutton/ChatButton.js +13 -6
  13. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonIconContainerStyles.js +2 -4
  14. package/lib/cjs/components/common/commandbutton/CommandButton.js +6 -8
  15. package/lib/cjs/components/confirmationpane/ConfirmationPane.js +12 -10
  16. package/lib/cjs/components/footer/common/defaultProps/customFooterControlProps.js +5 -13
  17. package/lib/cjs/components/footer/subcomponents/AudioNotificationButton.js +4 -9
  18. package/lib/cjs/components/header/common/defaultProps/azureHeaderControlProps.js +2 -4
  19. package/lib/cjs/components/header/common/defaultProps/customHeaderControlProps.js +4 -10
  20. package/lib/cjs/components/header/common/defaultProps/defaultHeaderControlProps.js +2 -4
  21. package/lib/cjs/components/inputvalidationpane/InputValidationPane.js +48 -18
  22. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconImageProps.js +2 -4
  23. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconImageProps.js +2 -4
  24. package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneGeneralStyles.js +2 -4
  25. package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneGeneralStyles.js +2 -4
  26. package/lib/cjs/components/postchatsurveypane/PostChatSurveyPane.js +2 -2
  27. package/lib/cjs/components/prechatsurveypane/PreChatSurveyPane.js +5 -4
  28. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneButtonStyles.js +2 -1
  29. package/lib/cjs/components/proactivechatpane/ProactiveChatPane.js +17 -15
  30. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonStyles.js +2 -4
  31. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneHeaderContainerStyles.js +2 -4
  32. package/lib/cjs/components/reconnectchatpane/ReconnectChatPane.js +14 -12
  33. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneIconStyles.js +2 -4
  34. package/lib/cjs/index.js +128 -0
  35. package/lib/esm/assets/Icons.js +21 -0
  36. package/lib/esm/common/Constants.js +1 -1
  37. package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +32 -2
  38. package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlPropsRtl.js +6 -10
  39. package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/customizedCurrentCallStyleProps.js +0 -12
  40. package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/defaultCurrentCallStyleProps.js +4 -16
  41. package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +32 -2
  42. package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverrideProps.js +2 -2
  43. package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlPropsRtl.js +4 -6
  44. package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/defaultIncomingCallStyleProps.js +8 -8
  45. package/lib/esm/components/chatbutton/ChatButton.js +13 -6
  46. package/lib/esm/components/chatbutton/common/defaultStyles/defaultChatButtonIconContainerStyles.js +2 -2
  47. package/lib/esm/components/common/commandbutton/CommandButton.js +6 -8
  48. package/lib/esm/components/confirmationpane/ConfirmationPane.js +12 -10
  49. package/lib/esm/components/footer/common/defaultProps/customFooterControlProps.js +5 -8
  50. package/lib/esm/components/footer/subcomponents/AudioNotificationButton.js +4 -9
  51. package/lib/esm/components/header/common/defaultProps/azureHeaderControlProps.js +2 -2
  52. package/lib/esm/components/header/common/defaultProps/customHeaderControlProps.js +4 -6
  53. package/lib/esm/components/header/common/defaultProps/defaultHeaderControlProps.js +2 -2
  54. package/lib/esm/components/inputvalidationpane/InputValidationPane.js +48 -18
  55. package/lib/esm/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconImageProps.js +2 -2
  56. package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconImageProps.js +2 -2
  57. package/lib/esm/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneGeneralStyles.js +2 -2
  58. package/lib/esm/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneGeneralStyles.js +2 -2
  59. package/lib/esm/components/postchatsurveypane/PostChatSurveyPane.js +2 -2
  60. package/lib/esm/components/prechatsurveypane/PreChatSurveyPane.js +5 -4
  61. package/lib/esm/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneButtonStyles.js +2 -1
  62. package/lib/esm/components/proactivechatpane/ProactiveChatPane.js +17 -15
  63. package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonStyles.js +2 -2
  64. package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneHeaderContainerStyles.js +2 -2
  65. package/lib/esm/components/reconnectchatpane/ReconnectChatPane.js +14 -12
  66. package/lib/esm/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneIconStyles.js +2 -2
  67. package/lib/esm/index.js +2 -1
  68. package/lib/types/assets/Icons.d.ts +21 -0
  69. package/lib/types/common/Constants.d.ts +5 -0
  70. package/lib/types/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallStyleProps.d.ts +0 -4
  71. package/lib/types/components/prechatsurveypane/interfaces/IPreChatSurveyPaneButtonStyles.d.ts +1 -0
  72. package/lib/types/index.d.ts +1 -0
  73. package/package.json +4 -9
  74. package/lib/cjs/assets/assets.d.js +0 -1
  75. package/lib/cjs/assets/imgs/ChatBubble.svg +0 -28
  76. package/lib/cjs/assets/imgs/ChatReconnectPopupIcon.png +0 -0
  77. package/lib/cjs/assets/imgs/Proactive_banner.png +0 -0
  78. package/lib/cjs/assets/imgs/agent.png +0 -0
  79. package/lib/cjs/assets/imgs/callacceptbutton.svg +0 -3
  80. package/lib/cjs/assets/imgs/callrejectbutton.svg +0 -3
  81. package/lib/cjs/assets/imgs/chat.svg +0 -47
  82. package/lib/cjs/assets/imgs/chatIcon.svg +0 -16
  83. package/lib/cjs/assets/imgs/closeButton.svg +0 -3
  84. package/lib/cjs/assets/imgs/closeChatButton.svg +0 -3
  85. package/lib/cjs/assets/imgs/error.svg +0 -3
  86. package/lib/cjs/assets/imgs/lcwAudioOff.svg +0 -3
  87. package/lib/cjs/assets/imgs/lcwAudioOn.svg +0 -3
  88. package/lib/cjs/assets/imgs/loading.gif +0 -0
  89. package/lib/cjs/assets/imgs/minimizeChatButton.svg +0 -3
  90. package/lib/cjs/assets/imgs/transcriptDownloadIcon.svg +0 -4
  91. package/lib/cjs/assets/imgs/transcriptEmailIcon.svg +0 -5
  92. package/lib/cjs/assets/imgs/videocallacceptbutton.svg +0 -3
  93. package/lib/cjs/assets/imgs/videooff.svg +0 -3
  94. package/lib/cjs/assets/imgs/videoon.svg +0 -3
  95. package/lib/cjs/assets/imgs/voiceoff.svg +0 -3
  96. package/lib/cjs/assets/imgs/voiceon.svg +0 -3
  97. package/lib/esm/assets/assets.d.js +0 -0
  98. package/lib/esm/assets/imgs/ChatBubble.svg +0 -28
  99. package/lib/esm/assets/imgs/ChatReconnectPopupIcon.png +0 -0
  100. package/lib/esm/assets/imgs/Proactive_banner.png +0 -0
  101. package/lib/esm/assets/imgs/agent.png +0 -0
  102. package/lib/esm/assets/imgs/callacceptbutton.svg +0 -3
  103. package/lib/esm/assets/imgs/callrejectbutton.svg +0 -3
  104. package/lib/esm/assets/imgs/chat.svg +0 -47
  105. package/lib/esm/assets/imgs/chatIcon.svg +0 -16
  106. package/lib/esm/assets/imgs/closeButton.svg +0 -3
  107. package/lib/esm/assets/imgs/closeChatButton.svg +0 -3
  108. package/lib/esm/assets/imgs/error.svg +0 -3
  109. package/lib/esm/assets/imgs/lcwAudioOff.svg +0 -3
  110. package/lib/esm/assets/imgs/lcwAudioOn.svg +0 -3
  111. package/lib/esm/assets/imgs/loading.gif +0 -0
  112. package/lib/esm/assets/imgs/minimizeChatButton.svg +0 -3
  113. package/lib/esm/assets/imgs/transcriptDownloadIcon.svg +0 -4
  114. package/lib/esm/assets/imgs/transcriptEmailIcon.svg +0 -5
  115. package/lib/esm/assets/imgs/videocallacceptbutton.svg +0 -3
  116. package/lib/esm/assets/imgs/videooff.svg +0 -3
  117. package/lib/esm/assets/imgs/videoon.svg +0 -3
  118. package/lib/esm/assets/imgs/voiceoff.svg +0 -3
  119. package/lib/esm/assets/imgs/voiceon.svg +0 -3
@@ -7,12 +7,10 @@ exports.presetThreeLoadingPaneIconImageProps = void 0;
7
7
 
8
8
  var _react = require("@fluentui/react");
9
9
 
10
- var _chatIcon = _interopRequireDefault(require("../../../../../assets/imgs/chatIcon.svg"));
11
-
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ var _Icons = require("../../../../../assets/Icons");
13
11
 
14
12
  const presetThreeLoadingPaneIconImageProps = {
15
- src: _chatIcon.default,
13
+ src: _Icons.LegacyChatIconBase64,
16
14
  imageFit: _react.ImageFit.center,
17
15
  width: "57px",
18
16
  height: "57px",
@@ -5,9 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.presetTwoLoadingPaneGeneralStyles = 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 presetTwoLoadingPaneGeneralStyles = {
13
11
  borderStyle: "dotted",
@@ -15,7 +13,7 @@ const presetTwoLoadingPaneGeneralStyles = {
15
13
  borderWidth: "5px",
16
14
  backgroundColor: "#767676",
17
15
  backgroundSize: "250px",
18
- backgroundImage: `url(${_chat.default})`,
16
+ backgroundImage: `url(${_Icons.ModernChatIconBase64})`,
19
17
  backgroundRepeat: "no-repeat",
20
18
  backgroundPosition: "center",
21
19
  borderColor: "",
@@ -5,9 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.presetTwoOOOHPaneGeneralStyles = void 0;
7
7
 
8
- var _error = _interopRequireDefault(require("../../../../../assets/imgs/error.svg"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8
+ var _Icons = require("../../../../../assets/Icons");
11
9
 
12
10
  const presetTwoOOOHPaneGeneralStyles = {
13
11
  borderStyle: "dotted solid double dashed",
@@ -15,7 +13,7 @@ const presetTwoOOOHPaneGeneralStyles = {
15
13
  borderWidth: "5px",
16
14
  backgroundColor: "#FFFFFF",
17
15
  backgroundSize: "200px",
18
- backgroundImage: `url(${_error.default})`,
16
+ backgroundImage: `url(${_Icons.ErrorIconBase64})`,
19
17
  backgroundRepeat: "no-repeat",
20
18
  backgroundPosition: "center",
21
19
  borderColor: "#F2FFF1",
@@ -27,8 +27,8 @@ function PostChatSurveyPane(props) {
27
27
  };
28
28
  const iframeStyles = {
29
29
  height: "100vh",
30
- width: "100vw",
31
- maxWidth: "100%"
30
+ width: "100%",
31
+ display: "block"
32
32
  };
33
33
  return /*#__PURE__*/_react2.default.createElement(_react2.default.Fragment, null, /*#__PURE__*/_react2.default.createElement(_react.Stack, {
34
34
  id: elementId,
@@ -30,7 +30,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
30
30
  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; }
31
31
 
32
32
  function PreChatSurveyPane(props) {
33
- var _props$controlProps, _props$styleProps, _props$styleProps2, _props$styleProps3, _props$styleProps3$cu, _defaultPreChatSurvey, _props$styleProps4, _props$styleProps4$cu, _defaultPreChatSurvey2, _props$controlProps6, _props$controlProps7, _props$controlProps8;
33
+ var _props$controlProps, _props$styleProps, _props$styleProps2, _props$styleProps3, _props$styleProps3$cu, _defaultPreChatSurvey, _props$styleProps4, _props$styleProps4$cu, _defaultPreChatSurvey2, _props$styleProps5, _props$styleProps5$cu, _defaultPreChatSurvey3, _props$controlProps6, _props$controlProps7, _props$controlProps8;
34
34
 
35
35
  const elementId = ((_props$controlProps = props.controlProps) === null || _props$controlProps === void 0 ? void 0 : _props$controlProps.id) ?? "lcw-components-prechatsurvey-pane";
36
36
  let adpativeCardPayload;
@@ -111,11 +111,12 @@ function PreChatSurveyPane(props) {
111
111
  margin: 2px;
112
112
  height: 48px;
113
113
  border-radius: 5px;
114
+ cursor: pointer;
114
115
  font-weight: bold;
115
116
  font-size: 15px;
116
- cursor: pointer;
117
- color: ${((_props$styleProps3 = props.styleProps) === null || _props$styleProps3 === void 0 ? void 0 : (_props$styleProps3$cu = _props$styleProps3.customButtonStyleProps) === null || _props$styleProps3$cu === void 0 ? void 0 : _props$styleProps3$cu.color) ?? ((_defaultPreChatSurvey = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customButtonStyleProps) === null || _defaultPreChatSurvey === void 0 ? void 0 : _defaultPreChatSurvey.color)};
118
- background-color: ${((_props$styleProps4 = props.styleProps) === null || _props$styleProps4 === void 0 ? void 0 : (_props$styleProps4$cu = _props$styleProps4.customButtonStyleProps) === null || _props$styleProps4$cu === void 0 ? void 0 : _props$styleProps4$cu.backgroundColor) ?? ((_defaultPreChatSurvey2 = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customButtonStyleProps) === null || _defaultPreChatSurvey2 === void 0 ? void 0 : _defaultPreChatSurvey2.backgroundColor)};
117
+ font-family: ${((_props$styleProps3 = props.styleProps) === null || _props$styleProps3 === void 0 ? void 0 : (_props$styleProps3$cu = _props$styleProps3.customButtonStyleProps) === null || _props$styleProps3$cu === void 0 ? void 0 : _props$styleProps3$cu.fontFamily) ?? ((_defaultPreChatSurvey = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customButtonStyleProps) === null || _defaultPreChatSurvey === void 0 ? void 0 : _defaultPreChatSurvey.fontFamily)};
118
+ color: ${((_props$styleProps4 = props.styleProps) === null || _props$styleProps4 === void 0 ? void 0 : (_props$styleProps4$cu = _props$styleProps4.customButtonStyleProps) === null || _props$styleProps4$cu === void 0 ? void 0 : _props$styleProps4$cu.color) ?? ((_defaultPreChatSurvey2 = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customButtonStyleProps) === null || _defaultPreChatSurvey2 === void 0 ? void 0 : _defaultPreChatSurvey2.color)};
119
+ background-color: ${((_props$styleProps5 = props.styleProps) === null || _props$styleProps5 === void 0 ? void 0 : (_props$styleProps5$cu = _props$styleProps5.customButtonStyleProps) === null || _props$styleProps5$cu === void 0 ? void 0 : _props$styleProps5$cu.backgroundColor) ?? ((_defaultPreChatSurvey3 = _defaultPreChatSurveyPaneStyles.defaultPreChatSurveyPaneStyles.customButtonStyleProps) === null || _defaultPreChatSurvey3 === void 0 ? void 0 : _defaultPreChatSurvey3.backgroundColor)};
119
120
  }`), !((_props$controlProps6 = props.controlProps) !== null && _props$controlProps6 !== void 0 && _props$controlProps6.hidePreChatSurveyPane) && /*#__PURE__*/_react2.default.createElement(_react.Stack, {
120
121
  id: elementId,
121
122
  tabIndex: -1,
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.defaultPreChatSurveyPaneButtonStyles = void 0;
7
7
  const defaultPreChatSurveyPaneButtonStyles = {
8
8
  backgroundColor: "rgb(49, 95, 162)",
9
- color: "#FFFFFF"
9
+ color: "#FFFFFF",
10
+ fontFamily: "Segoe UI, Arial, sans-serif"
10
11
  };
11
12
  exports.defaultPreChatSurveyPaneButtonStyles = defaultPreChatSurveyPaneButtonStyles;
@@ -48,7 +48,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
48
48
  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; }
49
49
 
50
50
  function ProactiveChatPane(props) {
51
- 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$controlProps6, _props$styleProps12, _props$styleProps12$c, _props$controlProps7, _props$controlProps8, _props$styleProps13, _props$styleProps13$c, _props$styleProps14, _props$styleProps14$c, _props$controlProps9, _props$componentOverr, _props$styleProps15, _props$styleProps15$c, _props$controlProps10, _props$controlProps11, _props$componentOverr2, _props$styleProps16, _props$styleProps16$c, _props$controlProps12, _props$controlProps13, _props$componentOverr3, _props$styleProps17, _props$styleProps17$c, _props$controlProps14, _props$controlProps15, _props$styleProps18, _props$styleProps18$c, _props$controlProps16, _props$componentOverr4, _props$styleProps19, _props$styleProps19$c, _props$controlProps17, _props$controlProps18, _props$componentOverr5, _props$styleProps20, _props$styleProps20$c, _props$controlProps19, _props$controlProps20;
51
+ 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$styleProps13, _props$controlProps6, _props$styleProps14, _props$styleProps14$c, _props$controlProps7, _props$controlProps8, _props$styleProps15, _props$styleProps15$c, _props$styleProps16, _props$styleProps16$c, _props$controlProps9, _props$componentOverr, _props$styleProps17, _props$styleProps17$c, _props$controlProps10, _props$controlProps11, _props$componentOverr2, _props$styleProps18, _props$styleProps18$c, _props$controlProps12, _props$controlProps13, _props$componentOverr3, _props$styleProps19, _props$styleProps19$c, _props$controlProps14, _props$controlProps15, _props$styleProps20, _props$styleProps20$c, _props$controlProps16, _props$componentOverr4, _props$styleProps21, _props$styleProps21$c, _props$controlProps17, _props$controlProps18, _props$componentOverr5, _props$styleProps22, _props$styleProps22$c, _props$controlProps19, _props$controlProps20;
52
52
 
53
53
  const elementId = ((_props$controlProps = props.controlProps) === null || _props$controlProps === void 0 ? void 0 : _props$controlProps.id) ?? _defaultProactiveChatPaneControlProps.defaultProactiveChatPaneControlProps.id;
54
54
 
@@ -117,20 +117,22 @@ function ProactiveChatPane(props) {
117
117
  };
118
118
  const closeButtonStyles = {
119
119
  root: Object.assign({}, _defaultProactiveChatPaneCloseButtonStyles.defaultProactiveChatPaneCloseButtonStyles, (_props$styleProps6 = props.styleProps) === null || _props$styleProps6 === void 0 ? void 0 : _props$styleProps6.closeButtonStyleProps),
120
- rootHovered: Object.assign({}, _defaultProactiveChatPaneCloseButtonHoveredStyles.defaultProactiveChatPaneCloseButtonHoveredStyles, (_props$styleProps7 = props.styleProps) === null || _props$styleProps7 === void 0 ? void 0 : _props$styleProps7.closeButtonHoveredStyleProps)
120
+ rootHovered: Object.assign({}, _defaultProactiveChatPaneCloseButtonHoveredStyles.defaultProactiveChatPaneCloseButtonHoveredStyles, (_props$styleProps7 = props.styleProps) === null || _props$styleProps7 === void 0 ? void 0 : _props$styleProps7.closeButtonHoveredStyleProps),
121
+ rootPressed: Object.assign({}, _defaultProactiveChatPaneCloseButtonHoveredStyles.defaultProactiveChatPaneCloseButtonHoveredStyles, (_props$styleProps8 = props.styleProps) === null || _props$styleProps8 === void 0 ? void 0 : _props$styleProps8.closeButtonHoveredStyleProps)
121
122
  };
122
123
  const bodyContainerStyles = {
123
- root: Object.assign({}, _defaultProactiveChatPaneBodyContainerStyles.defaultProactiveChatPaneBodyContainerStyles, (_props$styleProps8 = props.styleProps) === null || _props$styleProps8 === void 0 ? void 0 : _props$styleProps8.bodyContainerStyleProps)
124
+ root: Object.assign({}, _defaultProactiveChatPaneBodyContainerStyles.defaultProactiveChatPaneBodyContainerStyles, (_props$styleProps9 = props.styleProps) === null || _props$styleProps9 === void 0 ? void 0 : _props$styleProps9.bodyContainerStyleProps)
124
125
  };
125
126
  const bodyTitleStyles = {
126
- root: Object.assign({}, _defaultProactiveChatPaneBodyTitleStyles.defaultProactiveChatPaneBodyTitleStyles, (_props$styleProps9 = props.styleProps) === null || _props$styleProps9 === void 0 ? void 0 : _props$styleProps9.bodyTitleStyleProps)
127
+ root: Object.assign({}, _defaultProactiveChatPaneBodyTitleStyles.defaultProactiveChatPaneBodyTitleStyles, (_props$styleProps10 = props.styleProps) === null || _props$styleProps10 === void 0 ? void 0 : _props$styleProps10.bodyTitleStyleProps)
127
128
  };
128
129
  const startButtonStyles = {
129
- root: Object.assign({}, _defaultProactiveChatPaneStartButtonStyles.defaultProactiveChatPaneStartButtonStyles, (_props$styleProps10 = props.styleProps) === null || _props$styleProps10 === void 0 ? void 0 : _props$styleProps10.startButtonStyleProps),
130
- rootHovered: Object.assign({}, _defaultProactiveChatPaneStartButtonHoveredStyles.defaultProactiveChatPaneStartButtonHoveredStyles, (_props$styleProps11 = props.styleProps) === null || _props$styleProps11 === void 0 ? void 0 : _props$styleProps11.startButtonHoveredStyleProps)
130
+ root: Object.assign({}, _defaultProactiveChatPaneStartButtonStyles.defaultProactiveChatPaneStartButtonStyles, (_props$styleProps11 = props.styleProps) === null || _props$styleProps11 === void 0 ? void 0 : _props$styleProps11.startButtonStyleProps),
131
+ rootHovered: Object.assign({}, _defaultProactiveChatPaneStartButtonHoveredStyles.defaultProactiveChatPaneStartButtonHoveredStyles, (_props$styleProps12 = props.styleProps) === null || _props$styleProps12 === void 0 ? void 0 : _props$styleProps12.startButtonHoveredStyleProps),
132
+ rootPressed: Object.assign({}, _defaultProactiveChatPaneStartButtonHoveredStyles.defaultProactiveChatPaneStartButtonHoveredStyles, (_props$styleProps13 = props.styleProps) === null || _props$styleProps13 === void 0 ? void 0 : _props$styleProps13.startButtonHoveredStyleProps)
131
133
  };
132
134
  return /*#__PURE__*/_react2.default.createElement(_react2.default.Fragment, null, !((_props$controlProps6 = props.controlProps) !== null && _props$controlProps6 !== void 0 && _props$controlProps6.hideProactiveChatPane) && /*#__PURE__*/_react2.default.createElement(_react.Stack, {
133
- 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.containerClassName,
135
+ 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.containerClassName,
134
136
  id: elementId,
135
137
  tabIndex: -1,
136
138
  onKeyDown: handleEscKeyDown,
@@ -139,27 +141,27 @@ function ProactiveChatPane(props) {
139
141
  styles: containerStyles
140
142
  }, /*#__PURE__*/_react2.default.createElement(_react.Stack, {
141
143
  horizontal: true,
142
- 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.headerContainerClassName,
144
+ 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.headerContainerClassName,
143
145
  styles: headerContainerStyles,
144
146
  tabIndex: -1,
145
147
  id: elementId + "-headercontainer"
146
148
  }, /*#__PURE__*/_react2.default.createElement(_react.Stack, {
147
- 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.textContainerClassName,
149
+ 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.textContainerClassName,
148
150
  styles: textContainerStyles,
149
151
  tabIndex: -1,
150
152
  id: elementId + "-textcontainer"
151
153
  }, !((_props$controlProps9 = props.controlProps) !== null && _props$controlProps9 !== void 0 && _props$controlProps9.hideTitle) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr = props.componentOverrides) === null || _props$componentOverr === void 0 ? void 0 : _props$componentOverr.title) || /*#__PURE__*/_react2.default.createElement(_react.Label, {
152
- 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.titleClassName,
154
+ 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.titleClassName,
153
155
  styles: titleStyles,
154
156
  tabIndex: -1,
155
157
  id: elementId + "-title"
156
158
  }, ((_props$controlProps10 = props.controlProps) === null || _props$controlProps10 === void 0 ? void 0 : _props$controlProps10.titleText) || _defaultProactiveChatPaneControlProps.defaultProactiveChatPaneControlProps.titleText)), !((_props$controlProps11 = props.controlProps) !== null && _props$controlProps11 !== void 0 && _props$controlProps11.hideSubtitle) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr2 = props.componentOverrides) === null || _props$componentOverr2 === void 0 ? void 0 : _props$componentOverr2.subtitle) || /*#__PURE__*/_react2.default.createElement(_react.Label, {
157
- 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.subtitleClassName,
159
+ className: (_props$styleProps18 = props.styleProps) === null || _props$styleProps18 === void 0 ? void 0 : (_props$styleProps18$c = _props$styleProps18.classNames) === null || _props$styleProps18$c === void 0 ? void 0 : _props$styleProps18$c.subtitleClassName,
158
160
  styles: subtitleStyles,
159
161
  tabIndex: -1,
160
162
  id: elementId + "-subtitle"
161
163
  }, ((_props$controlProps12 = props.controlProps) === null || _props$controlProps12 === void 0 ? void 0 : _props$controlProps12.subtitleText) || _defaultProactiveChatPaneControlProps.defaultProactiveChatPaneControlProps.subtitleText))), !((_props$controlProps13 = props.controlProps) !== null && _props$controlProps13 !== void 0 && _props$controlProps13.hideCloseButton) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr3 = props.componentOverrides) === null || _props$componentOverr3 === void 0 ? void 0 : _props$componentOverr3.closeButton) || /*#__PURE__*/_react2.default.createElement(_react.IconButton, {
162
- 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.closeButtonClassName,
164
+ className: (_props$styleProps19 = props.styleProps) === null || _props$styleProps19 === void 0 ? void 0 : (_props$styleProps19$c = _props$styleProps19.classNames) === null || _props$styleProps19$c === void 0 ? void 0 : _props$styleProps19$c.closeButtonClassName,
163
165
  styles: closeButtonStyles,
164
166
  tabIndex: 0,
165
167
  onClick: handleCloseClick,
@@ -167,17 +169,17 @@ function ProactiveChatPane(props) {
167
169
  "aria-label": ((_props$controlProps14 = props.controlProps) === null || _props$controlProps14 === void 0 ? void 0 : _props$controlProps14.closeButtonAriaLabel) || _defaultProactiveChatPaneControlProps.defaultProactiveChatPaneControlProps.closeButtonAriaLabel
168
170
  }))), /*#__PURE__*/_react2.default.createElement(_react.Stack, {
169
171
  horizontal: ((_props$controlProps15 = props.controlProps) === null || _props$controlProps15 === void 0 ? void 0 : _props$controlProps15.isBodyContainerHorizantal) || _defaultProactiveChatPaneControlProps.defaultProactiveChatPaneControlProps.isBodyContainerHorizantal,
170
- className: (_props$styleProps18 = props.styleProps) === null || _props$styleProps18 === void 0 ? void 0 : (_props$styleProps18$c = _props$styleProps18.classNames) === null || _props$styleProps18$c === void 0 ? void 0 : _props$styleProps18$c.bodyContainerClassName,
172
+ className: (_props$styleProps20 = props.styleProps) === null || _props$styleProps20 === void 0 ? void 0 : (_props$styleProps20$c = _props$styleProps20.classNames) === null || _props$styleProps20$c === void 0 ? void 0 : _props$styleProps20$c.bodyContainerClassName,
171
173
  styles: bodyContainerStyles,
172
174
  tabIndex: -1,
173
175
  id: elementId + "-bodycontainer"
174
176
  }, !((_props$controlProps16 = props.controlProps) !== null && _props$controlProps16 !== void 0 && _props$controlProps16.hideBodyTitle) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr4 = props.componentOverrides) === null || _props$componentOverr4 === void 0 ? void 0 : _props$componentOverr4.bodyTitle) || /*#__PURE__*/_react2.default.createElement(_react.Label, {
175
- className: (_props$styleProps19 = props.styleProps) === null || _props$styleProps19 === void 0 ? void 0 : (_props$styleProps19$c = _props$styleProps19.classNames) === null || _props$styleProps19$c === void 0 ? void 0 : _props$styleProps19$c.bodyTitleClassName,
177
+ className: (_props$styleProps21 = props.styleProps) === null || _props$styleProps21 === void 0 ? void 0 : (_props$styleProps21$c = _props$styleProps21.classNames) === null || _props$styleProps21$c === void 0 ? void 0 : _props$styleProps21$c.bodyTitleClassName,
176
178
  styles: bodyTitleStyles,
177
179
  tabIndex: -1,
178
180
  id: elementId + "-bodytitle"
179
181
  }, ((_props$controlProps17 = props.controlProps) === null || _props$controlProps17 === void 0 ? void 0 : _props$controlProps17.bodyTitleText) || _defaultProactiveChatPaneControlProps.defaultProactiveChatPaneControlProps.bodyTitleText)), !((_props$controlProps18 = props.controlProps) !== null && _props$controlProps18 !== void 0 && _props$controlProps18.hideStartButton) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr5 = props.componentOverrides) === null || _props$componentOverr5 === void 0 ? void 0 : _props$componentOverr5.startButton) || /*#__PURE__*/_react2.default.createElement(_Button.DefaultButton, {
180
- className: (_props$styleProps20 = props.styleProps) === null || _props$styleProps20 === void 0 ? void 0 : (_props$styleProps20$c = _props$styleProps20.classNames) === null || _props$styleProps20$c === void 0 ? void 0 : _props$styleProps20$c.startButtonClassName,
182
+ className: (_props$styleProps22 = props.styleProps) === null || _props$styleProps22 === void 0 ? void 0 : (_props$styleProps22$c = _props$styleProps22.classNames) === null || _props$styleProps22$c === void 0 ? void 0 : _props$styleProps22$c.startButtonClassName,
181
183
  styles: startButtonStyles,
182
184
  tabIndex: 0,
183
185
  text: ((_props$controlProps19 = props.controlProps) === null || _props$controlProps19 === void 0 ? void 0 : _props$controlProps19.startButtonText) || _defaultProactiveChatPaneControlProps.defaultProactiveChatPaneControlProps.startButtonText,
@@ -5,12 +5,10 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.defaultProactiveChatPaneCloseButtonStyles = void 0;
7
7
 
8
- var _closeChatButton = _interopRequireDefault(require("../../../../../assets/imgs/closeChatButton.svg"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8
+ var _Icons = require("../../../../../assets/Icons");
11
9
 
12
10
  const defaultProactiveChatPaneCloseButtonStyles = {
13
- backgroundImage: "url(" + _closeChatButton.default + ")",
11
+ backgroundImage: `url(${_Icons.CloseChatButtonIconBase64})`,
14
12
  backgroundPosition: "center",
15
13
  backgroundRepeat: "no-repeat",
16
14
  color: "#605e5c",
@@ -5,13 +5,11 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.defaultProactiveChatPaneHeaderContainerStyles = void 0;
7
7
 
8
- var _Proactive_banner = _interopRequireDefault(require("../../../../../assets/imgs/Proactive_banner.png"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8
+ var _Icons = require("../../../../../assets/Icons");
11
9
 
12
10
  const defaultProactiveChatPaneHeaderContainerStyles = {
13
11
  backgroundColor: "rgb(49, 95, 162)",
14
- backgroundImage: "url(" + _Proactive_banner.default + ")",
12
+ backgroundImage: `url(${_Icons.ProactiveChatBannerBase64})`,
15
13
  backgroundPosition: "initial",
16
14
  backgroundRepeat: "no-repeat",
17
15
  borderTopLeftRadius: "inherit",
@@ -42,7 +42,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
42
42
  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; }
43
43
 
44
44
  function ReconnectChatPane(props) {
45
- var _props$controlProps, _props$styleProps, _props$styleProps2, _props$styleProps3, _props$styleProps4, _props$styleProps5, _props$styleProps6, _props$styleProps7, _props$styleProps8, _props$styleProps9, _props$styleProps10, _props$controlProps8, _props$styleProps11, _props$styleProps11$c, _props$controlProps9, _props$controlProps10, _props$styleProps12, _props$styleProps12$c, _props$controlProps11, _props$componentOverr, _props$styleProps13, _props$styleProps13$c, _props$controlProps12, _props$controlProps13, _props$componentOverr2, _props$styleProps14, _props$styleProps14$c, _props$controlProps14, _props$controlProps15, _props$componentOverr3, _props$styleProps15, _props$styleProps15$c, _props$controlProps16, _props$controlProps17, _props$styleProps16, _props$styleProps16$c, _props$controlProps18, _props$componentOverr4, _props$styleProps17, _props$styleProps17$c, _props$controlProps19, _props$controlProps20, _props$controlProps21, _props$componentOverr5, _props$styleProps18, _props$styleProps18$c, _props$controlProps22, _props$controlProps23;
45
+ 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$controlProps8, _props$styleProps13, _props$styleProps13$c, _props$controlProps9, _props$controlProps10, _props$styleProps14, _props$styleProps14$c, _props$controlProps11, _props$componentOverr, _props$styleProps15, _props$styleProps15$c, _props$controlProps12, _props$controlProps13, _props$componentOverr2, _props$styleProps16, _props$styleProps16$c, _props$controlProps14, _props$controlProps15, _props$componentOverr3, _props$styleProps17, _props$styleProps17$c, _props$controlProps16, _props$controlProps17, _props$styleProps18, _props$styleProps18$c, _props$controlProps18, _props$componentOverr4, _props$styleProps19, _props$styleProps19$c, _props$controlProps19, _props$controlProps20, _props$controlProps21, _props$componentOverr5, _props$styleProps20, _props$styleProps20$c, _props$controlProps22, _props$controlProps23;
46
46
 
47
47
  const elementId = ((_props$controlProps = props.controlProps) === null || _props$controlProps === void 0 ? void 0 : _props$controlProps.id) ?? _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.id;
48
48
  const handleContinueChatClick = (0, _react2.useCallback)(() => {
@@ -117,14 +117,16 @@ function ReconnectChatPane(props) {
117
117
  };
118
118
  const continueChatButtonStyles = {
119
119
  root: Object.assign({}, _defaultReconnectChatPaneContinueChatButtonStyles.defaultReconnectChatPaneContinueChatButtonStyles, (_props$styleProps7 = props.styleProps) === null || _props$styleProps7 === void 0 ? void 0 : _props$styleProps7.continueChatButtonStyleProps),
120
- rootHovered: Object.assign({}, _defaultReconnectChatPaneContinueChatButtonHoveredStyles.defaultReconnectChatPaneContinueChatButtonHoveredStyles, (_props$styleProps8 = props.styleProps) === null || _props$styleProps8 === void 0 ? void 0 : _props$styleProps8.continueChatButtonHoveredStyleProps)
120
+ rootHovered: Object.assign({}, _defaultReconnectChatPaneContinueChatButtonHoveredStyles.defaultReconnectChatPaneContinueChatButtonHoveredStyles, (_props$styleProps8 = props.styleProps) === null || _props$styleProps8 === void 0 ? void 0 : _props$styleProps8.continueChatButtonHoveredStyleProps),
121
+ rootPressed: Object.assign({}, _defaultReconnectChatPaneContinueChatButtonHoveredStyles.defaultReconnectChatPaneContinueChatButtonHoveredStyles, (_props$styleProps9 = props.styleProps) === null || _props$styleProps9 === void 0 ? void 0 : _props$styleProps9.continueChatButtonHoveredStyleProps)
121
122
  };
122
123
  const startNewChatButtonStyles = {
123
- root: Object.assign({}, _defaultReconnectChatPaneStartNewChatButtonStyles.defaultReconnectChatPaneStartNewChatButtonStyles, (_props$styleProps9 = props.styleProps) === null || _props$styleProps9 === void 0 ? void 0 : _props$styleProps9.startNewChatButtonStyleProps),
124
- rootHovered: Object.assign({}, _defaultReconnectChatPaneStartNewChatButtonHoveredStyles.defaultReconnectChatPaneStartNewChatButtonHoveredStyles, (_props$styleProps10 = props.styleProps) === null || _props$styleProps10 === void 0 ? void 0 : _props$styleProps10.startNewChatButtonHoveredStyleProps)
124
+ root: Object.assign({}, _defaultReconnectChatPaneStartNewChatButtonStyles.defaultReconnectChatPaneStartNewChatButtonStyles, (_props$styleProps10 = props.styleProps) === null || _props$styleProps10 === void 0 ? void 0 : _props$styleProps10.startNewChatButtonStyleProps),
125
+ rootHovered: Object.assign({}, _defaultReconnectChatPaneStartNewChatButtonHoveredStyles.defaultReconnectChatPaneStartNewChatButtonHoveredStyles, (_props$styleProps11 = props.styleProps) === null || _props$styleProps11 === void 0 ? void 0 : _props$styleProps11.startNewChatButtonHoveredStyleProps),
126
+ rootPressed: Object.assign({}, _defaultReconnectChatPaneStartNewChatButtonHoveredStyles.defaultReconnectChatPaneStartNewChatButtonHoveredStyles, (_props$styleProps12 = props.styleProps) === null || _props$styleProps12 === void 0 ? void 0 : _props$styleProps12.startNewChatButtonHoveredStyleProps)
125
127
  };
126
128
  return /*#__PURE__*/_react2.default.createElement(_react2.default.Fragment, null, !((_props$controlProps8 = props.controlProps) !== null && _props$controlProps8 !== void 0 && _props$controlProps8.hideReconnectChatPane) && /*#__PURE__*/_react2.default.createElement(_react.Stack, {
127
- 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.containerClassName,
129
+ 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.containerClassName,
128
130
  id: elementId,
129
131
  tabIndex: -1,
130
132
  onKeyDown: handleEscKeyDown,
@@ -132,22 +134,22 @@ function ReconnectChatPane(props) {
132
134
  "aria-label": ((_props$controlProps10 = props.controlProps) === null || _props$controlProps10 === void 0 ? void 0 : _props$controlProps10.reconnectChatPaneAriaLabel) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.reconnectChatPaneAriaLabel,
133
135
  styles: containerStyles
134
136
  }, /*#__PURE__*/_react2.default.createElement(_react.Stack, {
135
- 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.wrapperClassName,
137
+ 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.wrapperClassName,
136
138
  styles: wrapperStyles,
137
139
  tabIndex: -1,
138
140
  id: elementId + "-wrapper"
139
141
  }, !((_props$controlProps11 = props.controlProps) !== null && _props$controlProps11 !== void 0 && _props$controlProps11.hideTitle) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr = props.componentOverrides) === null || _props$componentOverr === void 0 ? void 0 : _props$componentOverr.title) || /*#__PURE__*/_react2.default.createElement(_react.Label, {
140
- 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,
142
+ 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.titleClassName,
141
143
  styles: titleStyles,
142
144
  tabIndex: -1,
143
145
  id: elementId + "-title"
144
146
  }, ((_props$controlProps12 = props.controlProps) === null || _props$controlProps12 === void 0 ? void 0 : _props$controlProps12.titleText) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.titleText)), !((_props$controlProps13 = props.controlProps) !== null && _props$controlProps13 !== void 0 && _props$controlProps13.hideSubtitle) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr2 = props.componentOverrides) === null || _props$componentOverr2 === void 0 ? void 0 : _props$componentOverr2.subtitle) || /*#__PURE__*/_react2.default.createElement(_react.Label, {
145
- 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,
147
+ 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.subtitleClassName,
146
148
  styles: subtitleStyles,
147
149
  tabIndex: -1,
148
150
  id: elementId + "-subtitle"
149
151
  }, ((_props$controlProps14 = props.controlProps) === null || _props$controlProps14 === void 0 ? void 0 : _props$controlProps14.subtitleText) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.subtitleText)), !((_props$controlProps15 = props.controlProps) !== null && _props$controlProps15 !== void 0 && _props$controlProps15.hideIcon) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr3 = props.componentOverrides) === null || _props$componentOverr3 === void 0 ? void 0 : _props$componentOverr3.icon) || /*#__PURE__*/_react2.default.createElement(_react.Icon, {
150
- 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.iconClassName,
152
+ 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.iconClassName,
151
153
  styles: iconStyles,
152
154
  tabIndex: -1,
153
155
  role: "img",
@@ -155,12 +157,12 @@ function ReconnectChatPane(props) {
155
157
  "aria-label": ((_props$controlProps16 = props.controlProps) === null || _props$controlProps16 === void 0 ? void 0 : _props$controlProps16.iconAriaLabel) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.iconAriaLabel
156
158
  })), /*#__PURE__*/_react2.default.createElement(_react.Stack, {
157
159
  horizontal: ((_props$controlProps17 = props.controlProps) === null || _props$controlProps17 === void 0 ? void 0 : _props$controlProps17.isButtonGroupHorizontal) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.isButtonGroupHorizontal,
158
- 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.buttonGroupClassName,
160
+ className: (_props$styleProps18 = props.styleProps) === null || _props$styleProps18 === void 0 ? void 0 : (_props$styleProps18$c = _props$styleProps18.classNames) === null || _props$styleProps18$c === void 0 ? void 0 : _props$styleProps18$c.buttonGroupClassName,
159
161
  styles: buttonGroupStyles,
160
162
  tabIndex: -1,
161
163
  id: elementId + "-buttongroup"
162
164
  }, !((_props$controlProps18 = props.controlProps) !== null && _props$controlProps18 !== void 0 && _props$controlProps18.hideContinueChatButton) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr4 = props.componentOverrides) === null || _props$componentOverr4 === void 0 ? void 0 : _props$componentOverr4.continueChatButton) || /*#__PURE__*/_react2.default.createElement(_react.DefaultButton, {
163
- 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.continueChatButtonClassName,
165
+ className: (_props$styleProps19 = props.styleProps) === null || _props$styleProps19 === void 0 ? void 0 : (_props$styleProps19$c = _props$styleProps19.classNames) === null || _props$styleProps19$c === void 0 ? void 0 : _props$styleProps19$c.continueChatButtonClassName,
164
166
  styles: continueChatButtonStyles,
165
167
  tabIndex: 0,
166
168
  text: ((_props$controlProps19 = props.controlProps) === null || _props$controlProps19 === void 0 ? void 0 : _props$controlProps19.continueChatButtonText) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.continueChatButtonText,
@@ -168,7 +170,7 @@ function ReconnectChatPane(props) {
168
170
  id: elementId + "-continueconversationbutton",
169
171
  "aria-label": ((_props$controlProps20 = props.controlProps) === null || _props$controlProps20 === void 0 ? void 0 : _props$controlProps20.continueChatButtonAriaLabel) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.continueChatButtonAriaLabel
170
172
  })), !((_props$controlProps21 = props.controlProps) !== null && _props$controlProps21 !== void 0 && _props$controlProps21.hideStartNewChatButton) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr5 = props.componentOverrides) === null || _props$componentOverr5 === void 0 ? void 0 : _props$componentOverr5.startNewChatButton) || /*#__PURE__*/_react2.default.createElement(_react.DefaultButton, {
171
- className: (_props$styleProps18 = props.styleProps) === null || _props$styleProps18 === void 0 ? void 0 : (_props$styleProps18$c = _props$styleProps18.classNames) === null || _props$styleProps18$c === void 0 ? void 0 : _props$styleProps18$c.startNewChatButtonClassName,
173
+ className: (_props$styleProps20 = props.styleProps) === null || _props$styleProps20 === void 0 ? void 0 : (_props$styleProps20$c = _props$styleProps20.classNames) === null || _props$styleProps20$c === void 0 ? void 0 : _props$styleProps20$c.startNewChatButtonClassName,
172
174
  styles: startNewChatButtonStyles,
173
175
  tabIndex: 0,
174
176
  text: ((_props$controlProps22 = props.controlProps) === null || _props$controlProps22 === void 0 ? void 0 : _props$controlProps22.startNewChatButtonText) || _defaultReconnectChatPaneControlProps.defaultReconnectChatPaneControlProps.startNewChatButtonText,
@@ -5,12 +5,10 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.defaultReconnectChatPaneIconStyles = void 0;
7
7
 
8
- var _ChatReconnectPopupIcon = _interopRequireDefault(require("../../../../../assets/imgs/ChatReconnectPopupIcon.png"));
9
-
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8
+ var _Icons = require("../../../../../assets/Icons");
11
9
 
12
10
  const defaultReconnectChatPaneIconStyles = {
13
- backgroundImage: "url(" + _ChatReconnectPopupIcon.default + ")",
11
+ backgroundImage: `url(${_Icons.ChatReconnectIconBase64})`,
14
12
  backgroundPosition: "center",
15
13
  backgroundRepeat: "no-repeat",
16
14
  backgroundSize: "200px",
package/lib/cjs/index.js CHANGED
@@ -3,12 +3,42 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ Object.defineProperty(exports, "AgentIconBase64", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _Icons.AgentIconBase64;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "AudioNotificationOffIconBase64", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _Icons.AudioNotificationOffIconBase64;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "AudioNotificationOnIconBase64", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _Icons.AudioNotificationOnIconBase64;
22
+ }
23
+ });
6
24
  Object.defineProperty(exports, "BroadcastService", {
7
25
  enumerable: true,
8
26
  get: function () {
9
27
  return _BroadcastService.BroadcastService;
10
28
  }
11
29
  });
30
+ Object.defineProperty(exports, "CallAcceptButtonBase64", {
31
+ enumerable: true,
32
+ get: function () {
33
+ return _Icons.CallAcceptButtonBase64;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "CallRejectButtonBase64", {
37
+ enumerable: true,
38
+ get: function () {
39
+ return _Icons.CallRejectButtonBase64;
40
+ }
41
+ });
12
42
  Object.defineProperty(exports, "CallingContainer", {
13
43
  enumerable: true,
14
44
  get: function () {
@@ -21,6 +51,18 @@ Object.defineProperty(exports, "ChatButton", {
21
51
  return _ChatButton.default;
22
52
  }
23
53
  });
54
+ Object.defineProperty(exports, "ChatReconnectIconBase64", {
55
+ enumerable: true,
56
+ get: function () {
57
+ return _Icons.ChatReconnectIconBase64;
58
+ }
59
+ });
60
+ Object.defineProperty(exports, "CloseChatButtonIconBase64", {
61
+ enumerable: true,
62
+ get: function () {
63
+ return _Icons.CloseChatButtonIconBase64;
64
+ }
65
+ });
24
66
  Object.defineProperty(exports, "ConfirmationPane", {
25
67
  enumerable: true,
26
68
  get: function () {
@@ -33,12 +75,24 @@ Object.defineProperty(exports, "CurrentCall", {
33
75
  return _CurrentCall.default;
34
76
  }
35
77
  });
78
+ Object.defineProperty(exports, "CustomChatIconBase64", {
79
+ enumerable: true,
80
+ get: function () {
81
+ return _Icons.CustomChatIconBase64;
82
+ }
83
+ });
36
84
  Object.defineProperty(exports, "ElementType", {
37
85
  enumerable: true,
38
86
  get: function () {
39
87
  return _Constants.ElementType;
40
88
  }
41
89
  });
90
+ Object.defineProperty(exports, "ErrorIconBase64", {
91
+ enumerable: true,
92
+ get: function () {
93
+ return _Icons.ErrorIconBase64;
94
+ }
95
+ });
42
96
  Object.defineProperty(exports, "Footer", {
43
97
  enumerable: true,
44
98
  get: function () {
@@ -63,12 +117,36 @@ Object.defineProperty(exports, "InputValidationPane", {
63
117
  return _InputValidationPane.default;
64
118
  }
65
119
  });
120
+ Object.defineProperty(exports, "LegacyChatIconBase64", {
121
+ enumerable: true,
122
+ get: function () {
123
+ return _Icons.LegacyChatIconBase64;
124
+ }
125
+ });
66
126
  Object.defineProperty(exports, "LoadingPane", {
67
127
  enumerable: true,
68
128
  get: function () {
69
129
  return _LoadingPane.default;
70
130
  }
71
131
  });
132
+ Object.defineProperty(exports, "LoadingSpinnerBase64", {
133
+ enumerable: true,
134
+ get: function () {
135
+ return _Icons.LoadingSpinnerBase64;
136
+ }
137
+ });
138
+ Object.defineProperty(exports, "MinimizeChatButtonIconBase64", {
139
+ enumerable: true,
140
+ get: function () {
141
+ return _Icons.MinimizeChatButtonIconBase64;
142
+ }
143
+ });
144
+ Object.defineProperty(exports, "ModernChatIconBase64", {
145
+ enumerable: true,
146
+ get: function () {
147
+ return _Icons.ModernChatIconBase64;
148
+ }
149
+ });
72
150
  Object.defineProperty(exports, "OutOfOfficeHoursPane", {
73
151
  enumerable: true,
74
152
  get: function () {
@@ -87,6 +165,12 @@ Object.defineProperty(exports, "PreChatSurveyPane", {
87
165
  return _PreChatSurveyPane.default;
88
166
  }
89
167
  });
168
+ Object.defineProperty(exports, "ProactiveChatBannerBase64", {
169
+ enumerable: true,
170
+ get: function () {
171
+ return _Icons.ProactiveChatBannerBase64;
172
+ }
173
+ });
90
174
  Object.defineProperty(exports, "ProactiveChatPane", {
91
175
  enumerable: true,
92
176
  get: function () {
@@ -105,6 +189,48 @@ Object.defineProperty(exports, "Timer", {
105
189
  return _Timer.default;
106
190
  }
107
191
  });
192
+ Object.defineProperty(exports, "TranscriptDownloadIconBase64", {
193
+ enumerable: true,
194
+ get: function () {
195
+ return _Icons.TranscriptDownloadIconBase64;
196
+ }
197
+ });
198
+ Object.defineProperty(exports, "TranscriptEmailIconBase64", {
199
+ enumerable: true,
200
+ get: function () {
201
+ return _Icons.TranscriptEmailIconBase64;
202
+ }
203
+ });
204
+ Object.defineProperty(exports, "VideoCallAcceptButtonIconBase64", {
205
+ enumerable: true,
206
+ get: function () {
207
+ return _Icons.VideoCallAcceptButtonIconBase64;
208
+ }
209
+ });
210
+ Object.defineProperty(exports, "VideoOffIconBase64", {
211
+ enumerable: true,
212
+ get: function () {
213
+ return _Icons.VideoOffIconBase64;
214
+ }
215
+ });
216
+ Object.defineProperty(exports, "VideoOnIconBase64", {
217
+ enumerable: true,
218
+ get: function () {
219
+ return _Icons.VideoOnIconBase64;
220
+ }
221
+ });
222
+ Object.defineProperty(exports, "VoiceOffIconBase64", {
223
+ enumerable: true,
224
+ get: function () {
225
+ return _Icons.VoiceOffIconBase64;
226
+ }
227
+ });
228
+ Object.defineProperty(exports, "VoiceOnIconBase64", {
229
+ enumerable: true,
230
+ get: function () {
231
+ return _Icons.VoiceOnIconBase64;
232
+ }
233
+ });
108
234
  Object.defineProperty(exports, "decodeComponentString", {
109
235
  enumerable: true,
110
236
  get: function () {
@@ -156,4 +282,6 @@ var _IncomingCall = _interopRequireDefault(require("./components/callingcontaine
156
282
 
157
283
  var _Timer = _interopRequireDefault(require("./components/callingcontainer/subcomponents/Timer/Timer"));
158
284
 
285
+ var _Icons = require("./assets/Icons");
286
+
159
287
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }