@microsoft/omnichannel-chat-components 1.1.17-0 → 1.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (305) hide show
  1. package/lib/cjs/assets/Icons.js +21 -42
  2. package/lib/cjs/common/Constants.js +17 -31
  3. package/lib/cjs/common/decodeComponentString.js +0 -6
  4. package/lib/cjs/common/encodeComponentString.js +0 -2
  5. package/lib/cjs/common/utils.js +22 -56
  6. package/lib/cjs/components/callingcontainer/CallingContainer.js +3 -18
  7. package/lib/cjs/components/callingcontainer/common/defaultProps/defaultCallingContainerControlProps.js +2 -5
  8. package/lib/cjs/components/callingcontainer/common/defaultProps/defaultCallingContainerProps.js +2 -6
  9. package/lib/cjs/components/callingcontainer/common/defaultStyles/customizedCallingContainerStyles.js +2 -3
  10. package/lib/cjs/components/callingcontainer/common/defaultStyles/defaultCallingContainerStyles.js +2 -3
  11. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +95 -135
  12. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlProps.js +2 -5
  13. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlPropsRtl.js +2 -6
  14. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallProps.js +2 -6
  15. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/componentOverridesStyleProps.js +3 -5
  16. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/customizedCurrentCallStyleProps.js +2 -3
  17. package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/defaultCurrentCallStyleProps.js +2 -3
  18. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +51 -78
  19. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverrideProps.js +3 -11
  20. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverridesControlProps.js +2 -7
  21. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlProps.js +2 -5
  22. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlPropsRtl.js +2 -6
  23. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallProps.js +2 -6
  24. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/componentOverridesStyleProps.js +2 -3
  25. package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/defaultIncomingCallStyleProps.js +2 -3
  26. package/lib/cjs/components/callingcontainer/subcomponents/Timer/Timer.js +2 -11
  27. package/lib/cjs/components/chatbutton/ChatButton.js +26 -57
  28. package/lib/cjs/components/chatbutton/common/defaultProps/defaultChatButtonControlProps.js +2 -5
  29. package/lib/cjs/components/chatbutton/common/defaultProps/defaultChatButtonProps.js +2 -6
  30. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonGeneralStyles.js +2 -3
  31. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonIconContainerStyles.js +2 -5
  32. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonNotificationBubbleStyles.js +2 -3
  33. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonStyleProps.js +2 -10
  34. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonSubTitleStyles.js +2 -3
  35. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonTextContainerStyles.js +2 -3
  36. package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonTitleStyles.js +2 -3
  37. package/lib/cjs/components/citationpane/CitationPane.js +19 -46
  38. package/lib/cjs/components/citationpane/ScalingTest.js +2 -8
  39. package/lib/cjs/components/citationpane/common/defaultProps/defaultCitationPaneControlProps.js +2 -3
  40. package/lib/cjs/components/citationpane/common/defaultProps/defaultCitationPaneProps.js +2 -6
  41. package/lib/cjs/components/citationpane/common/defaultProps/defaultCitationPaneStyleProps.js +2 -13
  42. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonFocusedStyles.js +2 -3
  43. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonHoveredStyles.js +2 -3
  44. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonStyles.js +2 -5
  45. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneContentStyles.js +2 -4
  46. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneGeneralStyles.js +2 -4
  47. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneStyles.js +2 -13
  48. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTitleStyles.js +1 -2
  49. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonFocusedStyles.js +2 -3
  50. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonHoveredStyles.js +2 -3
  51. package/lib/cjs/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonStyles.js +2 -4
  52. package/lib/cjs/components/common/commandbutton/CommandButton.js +16 -27
  53. package/lib/cjs/components/common/subcomponents/CloseButton.js +2 -9
  54. package/lib/cjs/components/confirmationpane/ConfirmationPane.js +23 -54
  55. package/lib/cjs/components/confirmationpane/common/defaultProps/defaultConfirmationPaneControlProps.js +2 -5
  56. package/lib/cjs/components/confirmationpane/common/defaultProps/defaultConfirmationPaneProps.js +2 -6
  57. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneButtonGroupStyles.js +2 -3
  58. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonFocusedStyles.js +2 -3
  59. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonHoveredStyles.js +2 -3
  60. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneCancelButtonStyles.js +2 -3
  61. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonFocusedStyles.js +2 -3
  62. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonHoveredStyles.js +2 -3
  63. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneConfirmButtonStyles.js +2 -3
  64. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneGeneralStyles.js +2 -3
  65. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneStyles.js +2 -10
  66. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneSubtitleStyles.js +2 -3
  67. package/lib/cjs/components/confirmationpane/common/defaultStyles/defaultConfirmationPaneTitleStyles.js +2 -3
  68. package/lib/cjs/components/footer/Footer.js +9 -28
  69. package/lib/cjs/components/footer/common/defaultProps/customFooterControlProps.js +2 -6
  70. package/lib/cjs/components/footer/common/defaultProps/defaultFooterComponentOverrides.js +2 -11
  71. package/lib/cjs/components/footer/common/defaultProps/defaultFooterControlProps.js +2 -5
  72. package/lib/cjs/components/footer/common/defaultProps/defaultFooterOverridesProps.js +2 -7
  73. package/lib/cjs/components/footer/common/defaultProps/defaultFooterProps.js +2 -6
  74. package/lib/cjs/components/footer/common/defaultStyles/defaultFooterStyleProps.js +2 -3
  75. package/lib/cjs/components/footer/subcomponents/AudioNotificationButton.js +13 -23
  76. package/lib/cjs/components/footer/subcomponents/DownloadTranscriptButton.js +2 -9
  77. package/lib/cjs/components/footer/subcomponents/EmailTranscriptButton.js +2 -9
  78. package/lib/cjs/components/header/Header.js +11 -29
  79. package/lib/cjs/components/header/common/defaultProps/azureHeaderControlProps.js +2 -6
  80. package/lib/cjs/components/header/common/defaultProps/azureHeaderProps.js +2 -7
  81. package/lib/cjs/components/header/common/defaultProps/customHeaderControlProps.js +2 -6
  82. package/lib/cjs/components/header/common/defaultProps/defaultHeaderComponentOverrides.js +3 -13
  83. package/lib/cjs/components/header/common/defaultProps/defaultHeaderControlProps.js +2 -6
  84. package/lib/cjs/components/header/common/defaultProps/defaultHeaderProps.js +2 -6
  85. package/lib/cjs/components/header/common/defaultProps/overridesDefaultHeaderProps.js +2 -7
  86. package/lib/cjs/components/header/common/defaultStyles/advancedHeaderStyleProps.js +2 -3
  87. package/lib/cjs/components/header/common/defaultStyles/defaultHeaderStyleProps.js +2 -3
  88. package/lib/cjs/components/header/subcomponents/MinimizeButton.js +2 -9
  89. package/lib/cjs/components/inputvalidationpane/InputValidationPane.js +52 -89
  90. package/lib/cjs/components/inputvalidationpane/common/default/defaultProps/defaultInputValidationPaneControlProps.js +2 -5
  91. package/lib/cjs/components/inputvalidationpane/common/default/defaultProps/defaultInputValidationPaneProps.js +2 -6
  92. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneButtonGroupStyles.js +2 -3
  93. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonHoveredStyles.js +1 -2
  94. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneCancelButtonStyles.js +2 -3
  95. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneGeneralStyles.js +2 -3
  96. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneHeaderGroupStyles.js +2 -3
  97. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInputStyles.js +2 -3
  98. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneInvalidInputErrorMessageStyles.js +2 -3
  99. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonHoveredStyles.js +1 -2
  100. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSendButtonStyles.js +2 -3
  101. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneStyles.js +2 -15
  102. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneSubtitleStyles.js +2 -3
  103. package/lib/cjs/components/inputvalidationpane/common/default/defaultStyles/defaultInputValidationPaneTitleStyles.js +2 -3
  104. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneComponentOverrides.js +3 -8
  105. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneControlProps.js +2 -5
  106. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoProps/presetTwoInputValidationPaneProps.js +2 -7
  107. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneCancelButtonStyles.js +2 -3
  108. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneHeaderGroupStyles.js +2 -3
  109. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneInputStyles.js +2 -3
  110. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneSendButtonStyles.js +2 -3
  111. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneStyles.js +2 -9
  112. package/lib/cjs/components/inputvalidationpane/common/presetTwo/presetTwoStyles/presetTwoInputValidationPaneTitleStyles.js +2 -3
  113. package/lib/cjs/components/loadingpane/LoadingPane.js +12 -28
  114. package/lib/cjs/components/loadingpane/common/defaultProps/defaultLoadingPaneControlProps.js +2 -5
  115. package/lib/cjs/components/loadingpane/common/defaultProps/defaultLoadingPaneProps.js +2 -6
  116. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneGeneralStyles.js +2 -3
  117. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconImageProps.js +2 -6
  118. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconStyles.js +2 -3
  119. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSpinnerStyles.js +2 -3
  120. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSpinnerTextStyles.js +2 -3
  121. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneStyles.js +2 -11
  122. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneSubtitleStyles.js +2 -3
  123. package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneTitleStyles.js +2 -3
  124. package/lib/cjs/components/loadingpane/common/presetOneProps/presetOneLoadingPaneControlProps.js +3 -5
  125. package/lib/cjs/components/loadingpane/common/presetOneProps/presetOneLoadingPaneProps.js +2 -6
  126. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneControlProps.js +3 -6
  127. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneProps.js +2 -6
  128. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneGeneralStyles.js +2 -3
  129. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconImageProps.js +2 -6
  130. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconStyles.js +2 -3
  131. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSpinnerStyles.js +2 -3
  132. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSpinnerTextStyles.js +2 -3
  133. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneStyles.js +2 -11
  134. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneSubtitleStyles.js +2 -3
  135. package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneTitleStyles.js +2 -3
  136. package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneControlProps.js +3 -6
  137. package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneProps.js +2 -6
  138. package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneGeneralStyles.js +2 -5
  139. package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneSpinnerStyles.js +2 -3
  140. package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneStyles.js +2 -11
  141. package/lib/cjs/components/notificationpane/NotificationPane.js +3 -15
  142. package/lib/cjs/components/notificationpane/subcomponents/CloseChatButton.js +2 -9
  143. package/lib/cjs/components/notificationpane/subcomponents/DismissButton.js +2 -9
  144. package/lib/cjs/components/outofofficehourspane/OOOHPane.js +5 -17
  145. package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneControlProps.js +2 -5
  146. package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultOOOHPaneProps.js +2 -6
  147. package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneGeneralStyles.js +2 -3
  148. package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneStyles.js +2 -6
  149. package/lib/cjs/components/outofofficehourspane/common/defaultProps/defaultStyles/defaultOOOHPaneTitleStyles.js +2 -3
  150. package/lib/cjs/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneControlProps.js +3 -5
  151. package/lib/cjs/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneProps.js +2 -6
  152. package/lib/cjs/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneControlProps.js +3 -5
  153. package/lib/cjs/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneProps.js +2 -6
  154. package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneControlProps.js +3 -5
  155. package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneProps.js +2 -6
  156. package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneGeneralStyles.js +2 -5
  157. package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneStyles.js +2 -6
  158. package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneTitleStyles.js +2 -3
  159. package/lib/cjs/components/postchatsurveypane/PostChatSurveyPane.js +4 -13
  160. package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultPostChatSurveyPaneControlProps.js +2 -5
  161. package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultPostChatSurveyPaneProps.js +2 -6
  162. package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultStyles/defaultPostChatSurveyPaneGeneralStyles.js +2 -3
  163. package/lib/cjs/components/postchatsurveypane/common/defaultProps/defaultStyles/defaultPostChatSurveyPaneStyles.js +2 -5
  164. package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneControlProps.js +3 -5
  165. package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneProps.js +2 -6
  166. package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOneStyles/presetOnePostChatSurveyPaneGeneralStyles.js +2 -3
  167. package/lib/cjs/components/postchatsurveypane/common/presetOneProps/presetOneStyles/presetOnePostChatSurveyPaneStyles.js +2 -5
  168. package/lib/cjs/components/prechatsurveypane/PreChatSurveyPane.js +35 -56
  169. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultPreChatSurveyPaneControlProps.js +2 -5
  170. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultPreChatSurveyPaneProps.js +2 -6
  171. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneACContainerStyles.js +2 -3
  172. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneButtonStyles.js +2 -3
  173. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneGeneralStyles.js +2 -3
  174. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneMultichoiceInputStyles.js +2 -3
  175. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneMultilineTextInputStyles.js +2 -3
  176. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneStyles.js +2 -11
  177. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneTextInputStyles.js +2 -3
  178. package/lib/cjs/components/prechatsurveypane/common/defaultProps/defaultStyles/defaultPreChatSurveyPaneToggleInputStyles.js +2 -3
  179. package/lib/cjs/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneControlProps.js +3 -5
  180. package/lib/cjs/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneProps.js +2 -6
  181. package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreePreChatSurveyPaneControlProps.js +2 -3
  182. package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreePreChatSurveyPaneProps.js +2 -6
  183. package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneACContainerStyles.js +2 -3
  184. package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneButtonStyles.js +2 -3
  185. package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneGeneralStyles.js +2 -3
  186. package/lib/cjs/components/prechatsurveypane/common/presetThreeProps/presetThreeStyles/presetThreePreChatSurveyPaneStyles.js +2 -7
  187. package/lib/cjs/components/prechatsurveypane/common/presetTwoProps/presetTwoPreChatSurveyPaneControlProps.js +2 -3
  188. package/lib/cjs/components/prechatsurveypane/common/presetTwoProps/presetTwoPreChatSurveyPaneProps.js +2 -6
  189. package/lib/cjs/components/proactivechatpane/ProactiveChatPane.js +29 -65
  190. package/lib/cjs/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneControlProps.js +2 -5
  191. package/lib/cjs/components/proactivechatpane/common/default/defaultProps/defaultProactiveChatPaneProps.js +2 -6
  192. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneBodyContainerStyles.js +1 -2
  193. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneBodyTitleStyles.js +2 -3
  194. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonHoveredStyles.js +2 -3
  195. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonStyles.js +2 -3
  196. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneGeneralStyles.js +2 -3
  197. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneHeaderContainerStyles.js +2 -5
  198. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStartButtonHoveredStyles.js +2 -3
  199. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStartButtonStyles.js +2 -3
  200. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneStyles.js +2 -15
  201. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneSubtitleStyles.js +2 -3
  202. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneTextContainerStyles.js +2 -3
  203. package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneTitleStyles.js +2 -3
  204. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneControlProps.js +2 -5
  205. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneProps/presetOneProactiveChatPaneProps.js +2 -6
  206. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneBodyTitleStyles.js +2 -3
  207. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneCloseButtonHoveredStyles.js +2 -3
  208. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneCloseButtonStyles.js +2 -3
  209. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStartButtonHoveredStyles.js +2 -3
  210. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStartButtonStyles.js +2 -3
  211. package/lib/cjs/components/proactivechatpane/common/presetOne/presetOneStyles/presetOneProactiveChatPaneStyles.js +2 -9
  212. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneControlProps.js +2 -5
  213. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeProps/presetThreeProactiveChatPaneProps.js +2 -6
  214. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneBodyContainerStyles.js +2 -3
  215. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneCloseButtonHoveredStyles.js +2 -3
  216. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneCloseButtonStyles.js +2 -3
  217. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneGeneralStyles.js +2 -3
  218. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneHeaderContainerStyles.js +2 -3
  219. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStartButtonHoveredStyles.js +2 -3
  220. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStartButtonStyles.js +2 -3
  221. package/lib/cjs/components/proactivechatpane/common/presetThree/presetThreeStyles/presetThreeProactiveChatPaneStyles.js +2 -11
  222. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneComponentOverrides.js +4 -11
  223. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneControlProps.js +2 -5
  224. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneProps.js +2 -7
  225. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneBodyContainerStyles.js +2 -3
  226. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneGeneralStyles.js +2 -3
  227. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneHeaderContainerStyles.js +2 -3
  228. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStartButtonHoveredStyles.js +2 -3
  229. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStartButtonStyles.js +2 -3
  230. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneStyles.js +2 -10
  231. package/lib/cjs/components/proactivechatpane/common/presetTwo/presetTwoStyles/presetTwoProactiveChatPaneTextContainerStyles.js +2 -3
  232. package/lib/cjs/components/reconnectchatpane/ReconnectChatPane.js +33 -69
  233. package/lib/cjs/components/reconnectchatpane/common/default/defaultProps/defaultReconnectChatPaneControlProps.js +2 -5
  234. package/lib/cjs/components/reconnectchatpane/common/default/defaultProps/defaultReconnectChatPaneProps.js +2 -6
  235. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneButtonGroupStyles.js +2 -3
  236. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonFocusedStyles.js +2 -3
  237. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonHoveredStyles.js +2 -3
  238. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneContinueChatButtonStyles.js +2 -3
  239. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneGeneralStyles.js +2 -3
  240. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneIconStyles.js +2 -5
  241. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartChatButtonFocusedStyles.js +2 -3
  242. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonHoveredStyles.js +2 -3
  243. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStartNewChatButtonStyles.js +2 -3
  244. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneStyles.js +2 -14
  245. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneSubtitleStyles.js +2 -3
  246. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneTitleStyles.js +2 -3
  247. package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneWrapperStyles.js +2 -3
  248. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeProps/presetThreeReconnectChatPaneControlProps.js +2 -5
  249. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeProps/presetThreeReconnectChatPaneProps.js +2 -6
  250. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneButtonGroupStyles.js +2 -3
  251. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneContinueChatButtonStyles.js +2 -3
  252. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneGeneralStyles.js +2 -3
  253. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneStyles.js +2 -9
  254. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneTitleStyles.js +2 -3
  255. package/lib/cjs/components/reconnectchatpane/common/presetThree/presetThreeStyles/presetThreeReconnectChatPaneWrapperStyles.js +2 -3
  256. package/lib/cjs/index.js +1 -24
  257. package/lib/cjs/services/BroadcastService.js +15 -26
  258. package/lib/cjs/services/EventQueue.js +4 -23
  259. package/lib/esm/common/Constants.js +15 -17
  260. package/lib/esm/common/decodeComponentString.js +0 -1
  261. package/lib/esm/common/utils.js +22 -30
  262. package/lib/esm/components/callingcontainer/CallingContainer.js +0 -5
  263. package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +86 -109
  264. package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/componentOverridesStyleProps.js +2 -1
  265. package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +41 -57
  266. package/lib/esm/components/callingcontainer/subcomponents/Timer/Timer.js +0 -2
  267. package/lib/esm/components/chatbutton/ChatButton.js +24 -37
  268. package/lib/esm/components/citationpane/CitationPane.js +17 -21
  269. package/lib/esm/components/citationpane/ScalingTest.js +1 -1
  270. package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneCloseButtonStyles.js +0 -2
  271. package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneContentStyles.js +0 -1
  272. package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneGeneralStyles.js +0 -1
  273. package/lib/esm/components/citationpane/common/defaultStyles/defaultCitationPaneTopCloseButtonStyles.js +0 -1
  274. package/lib/esm/components/common/commandbutton/CommandButton.js +14 -15
  275. package/lib/esm/components/common/subcomponents/CloseButton.js +0 -2
  276. package/lib/esm/components/confirmationpane/ConfirmationPane.js +21 -27
  277. package/lib/esm/components/footer/Footer.js +6 -10
  278. package/lib/esm/components/footer/common/defaultProps/defaultFooterComponentOverrides.js +0 -2
  279. package/lib/esm/components/footer/subcomponents/AudioNotificationButton.js +11 -11
  280. package/lib/esm/components/footer/subcomponents/DownloadTranscriptButton.js +0 -2
  281. package/lib/esm/components/footer/subcomponents/EmailTranscriptButton.js +0 -2
  282. package/lib/esm/components/header/Header.js +8 -12
  283. package/lib/esm/components/header/subcomponents/MinimizeButton.js +0 -2
  284. package/lib/esm/components/inputvalidationpane/InputValidationPane.js +50 -60
  285. package/lib/esm/components/loadingpane/LoadingPane.js +10 -13
  286. package/lib/esm/components/loadingpane/common/presetOneProps/presetOneLoadingPaneControlProps.js +2 -1
  287. package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeLoadingPaneControlProps.js +2 -1
  288. package/lib/esm/components/loadingpane/common/presetTwoProps/presetTwoLoadingPaneControlProps.js +2 -1
  289. package/lib/esm/components/notificationpane/NotificationPane.js +1 -5
  290. package/lib/esm/components/notificationpane/subcomponents/CloseChatButton.js +0 -2
  291. package/lib/esm/components/notificationpane/subcomponents/DismissButton.js +0 -2
  292. package/lib/esm/components/outofofficehourspane/OOOHPane.js +3 -6
  293. package/lib/esm/components/outofofficehourspane/common/presetFourProps/presetFourOOOHPaneControlProps.js +2 -1
  294. package/lib/esm/components/outofofficehourspane/common/presetOneProps/presetOneOOOHPaneControlProps.js +2 -1
  295. package/lib/esm/components/outofofficehourspane/common/presetTwoProps/presetTwoOOOHPaneControlProps.js +2 -1
  296. package/lib/esm/components/postchatsurveypane/PostChatSurveyPane.js +2 -4
  297. package/lib/esm/components/postchatsurveypane/common/presetOneProps/presetOnePostChatSurveyPaneControlProps.js +2 -1
  298. package/lib/esm/components/prechatsurveypane/PreChatSurveyPane.js +33 -38
  299. package/lib/esm/components/prechatsurveypane/common/presetOneProps/presetOnePreChatSurveyPaneControlProps.js +2 -1
  300. package/lib/esm/components/proactivechatpane/ProactiveChatPane.js +26 -35
  301. package/lib/esm/components/proactivechatpane/common/presetTwo/presetTwoProps/presetTwoProactiveChatPaneComponentOverrides.js +1 -1
  302. package/lib/esm/components/reconnectchatpane/ReconnectChatPane.js +31 -39
  303. package/lib/esm/services/BroadcastService.js +12 -13
  304. package/lib/esm/services/EventQueue.js +3 -20
  305. package/package.json +16 -14
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultCitationPaneCloseButtonFocusedStyles = void 0;
7
- const defaultCitationPaneCloseButtonFocusedStyles = {
7
+ const defaultCitationPaneCloseButtonFocusedStyles = exports.defaultCitationPaneCloseButtonFocusedStyles = {
8
8
  border: "2px dotted #605e5c",
9
9
  outline: "none"
10
- };
11
- exports.defaultCitationPaneCloseButtonFocusedStyles = defaultCitationPaneCloseButtonFocusedStyles;
10
+ };
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultCitationPaneCloseButtonHoveredStyles = void 0;
7
- const defaultCitationPaneCloseButtonHoveredStyles = {
7
+ const defaultCitationPaneCloseButtonHoveredStyles = exports.defaultCitationPaneCloseButtonHoveredStyles = {
8
8
  backgroundColor: "#f3f2f1",
9
9
  color: "#323130"
10
- };
11
- exports.defaultCitationPaneCloseButtonHoveredStyles = defaultCitationPaneCloseButtonHoveredStyles;
10
+ };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultCitationPaneCloseButtonStyles = void 0;
7
- const defaultCitationPaneCloseButtonStyles = {
7
+ const defaultCitationPaneCloseButtonStyles = exports.defaultCitationPaneCloseButtonStyles = {
8
8
  marginTop: "1em",
9
9
  // Space between content and close button (scalable)
10
10
  alignSelf: "center",
@@ -27,7 +27,6 @@ const defaultCitationPaneCloseButtonStyles = {
27
27
  // Responsive hiding at high zoom levels for better content space
28
28
  "@media (min-resolution: 2.5dppx), (min-resolution: 240dpi)": {
29
29
  display: "none" // Hide at 250%+ zoom to preserve content space
30
-
31
30
  },
32
31
  selectors: {
33
32
  ":hover": {
@@ -38,12 +37,10 @@ const defaultCitationPaneCloseButtonStyles = {
38
37
  outline: "0.125em solid #0078d4",
39
38
  // Scalable outline
40
39
  outlineOffset: "0.125em" // Scalable offset
41
-
42
40
  },
43
41
  ":active": {
44
42
  backgroundColor: "#d2d0ce",
45
43
  borderColor: "#c8c6c4"
46
44
  }
47
45
  }
48
- };
49
- exports.defaultCitationPaneCloseButtonStyles = defaultCitationPaneCloseButtonStyles;
46
+ };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultCitationPaneContentStyles = void 0;
7
- const defaultCitationPaneContentStyles = {
7
+ const defaultCitationPaneContentStyles = exports.defaultCitationPaneContentStyles = {
8
8
  fontSize: "1em",
9
9
  // Use relative units for better scaling
10
10
  lineHeight: "1.5",
@@ -16,6 +16,4 @@ const defaultCitationPaneContentStyles = {
16
16
  overflow: "auto",
17
17
  // Enable scrolling for long content
18
18
  paddingRight: "0.125em" // Reduced padding to give more space for text at high zoom (scalable)
19
-
20
- };
21
- exports.defaultCitationPaneContentStyles = defaultCitationPaneContentStyles;
19
+ };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultCitationPaneGeneralStyles = void 0;
7
- const defaultCitationPaneGeneralStyles = {
7
+ const defaultCitationPaneGeneralStyles = exports.defaultCitationPaneGeneralStyles = {
8
8
  position: "relative",
9
9
  // Required for absolute positioning of top close button
10
10
  paddingTop: "2em",
@@ -28,6 +28,4 @@ const defaultCitationPaneGeneralStyles = {
28
28
  maxHeight: "30em",
29
29
  // Container-relative height instead of viewport-based
30
30
  overflow: "hidden" // Hide overflow on container, let content area handle scrolling
31
-
32
- };
33
- exports.defaultCitationPaneGeneralStyles = defaultCitationPaneGeneralStyles;
31
+ };
@@ -4,26 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultCitationPaneStyles = void 0;
7
-
8
7
  var _defaultCitationPaneCloseButtonFocusedStyles = require("./defaultCitationPaneCloseButtonFocusedStyles");
9
-
10
8
  var _defaultCitationPaneCloseButtonHoveredStyles = require("./defaultCitationPaneCloseButtonHoveredStyles");
11
-
12
9
  var _defaultCitationPaneCloseButtonStyles = require("./defaultCitationPaneCloseButtonStyles");
13
-
14
10
  var _defaultCitationPaneContentStyles = require("./defaultCitationPaneContentStyles");
15
-
16
11
  var _defaultCitationPaneGeneralStyles = require("./defaultCitationPaneGeneralStyles");
17
-
18
12
  var _defaultCitationPaneTitleStyles = require("./defaultCitationPaneTitleStyles");
19
-
20
13
  var _defaultCitationPaneTopCloseButtonFocusedStyles = require("./defaultCitationPaneTopCloseButtonFocusedStyles");
21
-
22
14
  var _defaultCitationPaneTopCloseButtonHoveredStyles = require("./defaultCitationPaneTopCloseButtonHoveredStyles");
23
-
24
15
  var _defaultCitationPaneTopCloseButtonStyles = require("./defaultCitationPaneTopCloseButtonStyles");
25
-
26
- const defaultCitationPaneStyles = {
16
+ const defaultCitationPaneStyles = exports.defaultCitationPaneStyles = {
27
17
  generalStyleProps: _defaultCitationPaneGeneralStyles.defaultCitationPaneGeneralStyles,
28
18
  titleStyleProps: _defaultCitationPaneTitleStyles.defaultCitationPaneTitleStyles,
29
19
  contentStyleProps: _defaultCitationPaneContentStyles.defaultCitationPaneContentStyles,
@@ -33,5 +23,4 @@ const defaultCitationPaneStyles = {
33
23
  topCloseButtonStyleProps: _defaultCitationPaneTopCloseButtonStyles.defaultCitationPaneTopCloseButtonStyles,
34
24
  topCloseButtonHoveredStyleProps: _defaultCitationPaneTopCloseButtonHoveredStyles.defaultCitationPaneTopCloseButtonHoveredStyles,
35
25
  topCloseButtonFocusedStyleProps: _defaultCitationPaneTopCloseButtonFocusedStyles.defaultCitationPaneTopCloseButtonFocusedStyles
36
- };
37
- exports.defaultCitationPaneStyles = defaultCitationPaneStyles;
26
+ };
@@ -4,5 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultCitationPaneTitleStyles = void 0;
7
- const defaultCitationPaneTitleStyles = {};
8
- exports.defaultCitationPaneTitleStyles = defaultCitationPaneTitleStyles;
7
+ const defaultCitationPaneTitleStyles = exports.defaultCitationPaneTitleStyles = {};
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultCitationPaneTopCloseButtonFocusedStyles = void 0;
7
- const defaultCitationPaneTopCloseButtonFocusedStyles = {
7
+ const defaultCitationPaneTopCloseButtonFocusedStyles = exports.defaultCitationPaneTopCloseButtonFocusedStyles = {
8
8
  border: "2px dotted #605e5c",
9
9
  outline: "none"
10
- };
11
- exports.defaultCitationPaneTopCloseButtonFocusedStyles = defaultCitationPaneTopCloseButtonFocusedStyles;
10
+ };
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultCitationPaneTopCloseButtonHoveredStyles = void 0;
7
- const defaultCitationPaneTopCloseButtonHoveredStyles = {
7
+ const defaultCitationPaneTopCloseButtonHoveredStyles = exports.defaultCitationPaneTopCloseButtonHoveredStyles = {
8
8
  backgroundColor: "#f3f2f1",
9
9
  color: "#323130"
10
- };
11
- exports.defaultCitationPaneTopCloseButtonHoveredStyles = defaultCitationPaneTopCloseButtonHoveredStyles;
10
+ };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultCitationPaneTopCloseButtonStyles = void 0;
7
- const defaultCitationPaneTopCloseButtonStyles = {
7
+ const defaultCitationPaneTopCloseButtonStyles = exports.defaultCitationPaneTopCloseButtonStyles = {
8
8
  position: "absolute",
9
9
  top: "0.5em",
10
10
  // Scalable positioning
@@ -37,7 +37,5 @@ const defaultCitationPaneTopCloseButtonStyles = {
37
37
  outline: "0.125em solid #605e5c",
38
38
  // Scalable outline
39
39
  outlineOffset: "0.125em" // Scalable offset
40
-
41
40
  }
42
- };
43
- exports.defaultCitationPaneTopCloseButtonStyles = defaultCitationPaneTopCloseButtonStyles;
41
+ };
@@ -4,22 +4,13 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _react = require("@fluentui/react");
9
-
10
8
  var _react2 = _interopRequireWildcard(require("react"));
11
-
12
9
  var _BroadcastService = require("../../../services/BroadcastService");
13
-
14
10
  var _Constants = require("../../../common/Constants");
15
-
16
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
-
18
- 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; }
19
-
11
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
20
12
  function CommandButton(props) {
21
13
  var _props$hoverStyles, _props$hoverStyles2, _props$focusStyles;
22
-
23
14
  //imageIconProps > iconName
24
15
  const iconProp = props.imageIconProps ? {
25
16
  imageProps: props.imageIconProps
@@ -27,28 +18,30 @@ function CommandButton(props) {
27
18
  iconName: props.iconName
28
19
  };
29
20
  let iconStyles = {};
30
-
31
21
  if (props.type === _Constants.ButtonTypes.Icon) {
32
22
  var _props$styles;
33
-
34
23
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
35
- iconStyles = { ...(props === null || props === void 0 ? void 0 : (_props$styles = props.styles) === null || _props$styles === void 0 ? void 0 : _props$styles.icon)
24
+ iconStyles = {
25
+ ...(props === null || props === void 0 || (_props$styles = props.styles) === null || _props$styles === void 0 ? void 0 : _props$styles.icon)
36
26
  };
37
27
  }
38
-
39
28
  const buttonStyles = {
40
- icon: { ...iconStyles
29
+ icon: {
30
+ ...iconStyles
41
31
  },
42
32
  root: {
43
33
  selectors: {
44
- ":hover .ms-Button-icon": { // eslint-disable-next-line @typescript-eslint/no-explicit-any
45
- ...(props === null || props === void 0 ? void 0 : (_props$hoverStyles = props.hoverStyles) === null || _props$hoverStyles === void 0 ? void 0 : _props$hoverStyles.icon)
34
+ ":hover .ms-Button-icon": {
35
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
36
+ ...(props === null || props === void 0 || (_props$hoverStyles = props.hoverStyles) === null || _props$hoverStyles === void 0 ? void 0 : _props$hoverStyles.icon)
46
37
  },
47
- ":active .ms-Button-icon": { // eslint-disable-next-line @typescript-eslint/no-explicit-any
48
- ...(props === null || props === void 0 ? void 0 : (_props$hoverStyles2 = props.hoverStyles) === null || _props$hoverStyles2 === void 0 ? void 0 : _props$hoverStyles2.icon)
38
+ ":active .ms-Button-icon": {
39
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
40
+ ...(props === null || props === void 0 || (_props$hoverStyles2 = props.hoverStyles) === null || _props$hoverStyles2 === void 0 ? void 0 : _props$hoverStyles2.icon)
49
41
  },
50
- ":focus .ms-Button-icon": { // eslint-disable-next-line @typescript-eslint/no-explicit-any
51
- ...(props === null || props === void 0 ? void 0 : (_props$focusStyles = props.focusStyles) === null || _props$focusStyles === void 0 ? void 0 : _props$focusStyles.icon)
42
+ ":focus .ms-Button-icon": {
43
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
44
+ ...(props === null || props === void 0 || (_props$focusStyles = props.focusStyles) === null || _props$focusStyles === void 0 ? void 0 : _props$focusStyles.icon)
52
45
  }
53
46
  },
54
47
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -65,10 +58,8 @@ function CommandButton(props) {
65
58
  elementType: _Constants.ElementType.Custom,
66
59
  elementId: props === null || props === void 0 ? void 0 : props.id
67
60
  };
68
-
69
61
  _BroadcastService.BroadcastService.postMessage(customEvent);
70
-
71
- props === null || props === void 0 ? void 0 : props.onClick();
62
+ props === null || props === void 0 || props.onClick();
72
63
  }
73
64
  }, []);
74
65
  return /*#__PURE__*/_react2.default.createElement(_react2.default.Fragment, null, props.type === _Constants.ButtonTypes.Text && /*#__PURE__*/_react2.default.createElement(_react.DefaultButton, {
@@ -91,6 +82,4 @@ function CommandButton(props) {
91
82
  className: props.className
92
83
  }));
93
84
  }
94
-
95
- var _default = CommandButton;
96
- exports.default = _default;
85
+ var _default = exports.default = CommandButton;
@@ -4,15 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _react = _interopRequireDefault(require("react"));
9
-
10
8
  var _Constants = require("../../../common/Constants");
11
-
12
9
  var _CommandButton = _interopRequireDefault(require("../commandbutton/CommandButton"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
-
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
16
11
  function CloseButton(props) {
17
12
  const {
18
13
  type
@@ -37,6 +32,4 @@ function CloseButton(props) {
37
32
  customEvent: customEvent
38
33
  });
39
34
  }
40
-
41
- var _default = CloseButton;
42
- exports.default = _default;
35
+ var _default = exports.default = CloseButton;
@@ -4,84 +4,55 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _Button = require("@fluentui/react/lib/Button");
9
-
10
8
  var _react = require("@fluentui/react");
11
-
12
9
  var _react2 = _interopRequireWildcard(require("react"));
13
-
14
10
  var _BroadcastService = require("../../services/BroadcastService");
15
-
16
11
  var _Constants = require("../../common/Constants");
17
-
18
12
  var _decodeComponentString = require("../../common/decodeComponentString");
19
-
20
13
  var _defaultConfirmationPaneButtonGroupStyles = require("./common/defaultStyles/defaultConfirmationPaneButtonGroupStyles");
21
-
22
14
  var _defaultConfirmationPaneCancelButtonHoveredStyles = require("./common/defaultStyles/defaultConfirmationPaneCancelButtonHoveredStyles");
23
-
24
15
  var _defaultConfirmationPaneCancelButtonStyles = require("./common/defaultStyles/defaultConfirmationPaneCancelButtonStyles");
25
-
26
16
  var _defaultConfirmationPaneConfirmButtonHoveredStyles = require("./common/defaultStyles/defaultConfirmationPaneConfirmButtonHoveredStyles");
27
-
28
17
  var _defaultConfirmationPaneConfirmButtonStyles = require("./common/defaultStyles/defaultConfirmationPaneConfirmButtonStyles");
29
-
30
18
  var _defaultConfirmationPaneControlProps = require("./common/defaultProps/defaultConfirmationPaneControlProps");
31
-
32
19
  var _defaultConfirmationPaneGeneralStyles = require("./common/defaultStyles/defaultConfirmationPaneGeneralStyles");
33
-
34
20
  var _defaultConfirmationPaneSubtitleStyles = require("./common/defaultStyles/defaultConfirmationPaneSubtitleStyles");
35
-
36
21
  var _defaultConfirmationPaneTitleStyles = require("./common/defaultStyles/defaultConfirmationPaneTitleStyles");
37
-
38
22
  var _defaultConfirmationPaneConfirmButtonFocusedStyles = require("./common/defaultStyles/defaultConfirmationPaneConfirmButtonFocusedStyles");
39
-
40
23
  var _defaultConfirmationPaneCancelButtonFocusedStyles = require("./common/defaultStyles/defaultConfirmationPaneCancelButtonFocusedStyles");
41
-
42
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
43
-
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
-
24
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
46
25
  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$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
-
26
+ var _props$controlProps, _props$styleProps, _props$styleProps2, _props$styleProps3, _props$styleProps4, _props$styleProps5, _props$styleProps6, _props$styleProps7, _props$styleProps8, _props$styleProps9, _props$styleProps0, _props$styleProps1, _props$styleProps10, _props$controlProps6, _props$controlProps7, _props$controlProps8, _props$componentOverr, _props$styleProps11, _props$controlProps9, _props$controlProps0, _props$componentOverr2, _props$styleProps12, _props$controlProps1, _props$styleProps13, _props$controlProps10, _props$componentOverr3, _props$styleProps14, _props$controlProps11, _props$controlProps12, _props$controlProps13, _props$componentOverr4, _props$styleProps15, _props$controlProps14, _props$controlProps15;
49
27
  const elementId = ((_props$controlProps = props.controlProps) === null || _props$controlProps === void 0 ? void 0 : _props$controlProps.id) ?? _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.id;
50
28
  const handleConfirmClick = (0, _react2.useCallback)(() => {
51
29
  var _props$controlProps2;
52
-
53
30
  if ((_props$controlProps2 = props.controlProps) !== null && _props$controlProps2 !== void 0 && _props$controlProps2.onConfirm) {
54
31
  var _props$controlProps3;
55
-
56
32
  const customEvent = {
57
33
  elementType: _Constants.ElementType.ConfirmationPaneConfirmButton,
58
34
  elementId: elementId + "-confirmbutton",
59
35
  eventName: _Constants.EventNames.OnClick
60
36
  };
61
-
62
37
  _BroadcastService.BroadcastService.postMessage(customEvent);
63
-
64
- (_props$controlProps3 = props.controlProps) === null || _props$controlProps3 === void 0 ? void 0 : _props$controlProps3.onConfirm();
38
+ (_props$controlProps3 = props.controlProps) === null || _props$controlProps3 === void 0 || _props$controlProps3.onConfirm();
65
39
  }
66
40
  }, []);
67
41
  const handleCancelClick = (0, _react2.useCallback)(() => {
68
42
  var _props$controlProps4;
69
-
70
43
  if ((_props$controlProps4 = props.controlProps) !== null && _props$controlProps4 !== void 0 && _props$controlProps4.onCancel) {
71
44
  var _props$controlProps5;
72
-
73
45
  const customEvent = {
74
46
  elementType: _Constants.ElementType.ConfirmationPaneCancelButton,
75
47
  elementId: elementId + "-cancelbutton",
76
48
  eventName: _Constants.EventNames.OnClick
77
49
  };
78
-
79
50
  _BroadcastService.BroadcastService.postMessage(customEvent);
80
-
81
- (_props$controlProps5 = props.controlProps) === null || _props$controlProps5 === void 0 ? void 0 : _props$controlProps5.onCancel();
51
+ (_props$controlProps5 = props.controlProps) === null || _props$controlProps5 === void 0 || _props$controlProps5.onCancel();
82
52
  }
83
- }, []); // eslint-disable-next-line @typescript-eslint/no-explicit-any
53
+ }, []);
84
54
 
55
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
85
56
  const handleEscKeyDown = (0, _react2.useCallback)(e => {
86
57
  if (e.code === _Constants.KeyCodes.ESCAPE) {
87
58
  handleCancelClick();
@@ -107,9 +78,9 @@ function ConfirmationPane(props) {
107
78
  };
108
79
  const cancelButtonStyles = {
109
80
  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)
81
+ rootHovered: Object.assign({}, _defaultConfirmationPaneCancelButtonHoveredStyles.defaultConfirmationPaneCancelButtonHoveredStyles, (_props$styleProps0 = props.styleProps) === null || _props$styleProps0 === void 0 ? void 0 : _props$styleProps0.cancelButtonHoveredStyleProps),
82
+ rootFocused: Object.assign({}, _defaultConfirmationPaneCancelButtonFocusedStyles.defaultConfirmationPaneCancelButtonFocusedStyles, (_props$styleProps1 = props.styleProps) === null || _props$styleProps1 === void 0 ? void 0 : _props$styleProps1.cancelButtonFocusedStyleProps),
83
+ rootPressed: Object.assign({}, _defaultConfirmationPaneCancelButtonHoveredStyles.defaultConfirmationPaneCancelButtonHoveredStyles, (_props$styleProps10 = props.styleProps) === null || _props$styleProps10 === void 0 ? void 0 : _props$styleProps10.cancelButtonHoveredStyleProps)
113
84
  };
114
85
  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, {
115
86
  id: elementId,
@@ -121,36 +92,34 @@ function ConfirmationPane(props) {
121
92
  "aria-labelledby": elementId + "-title",
122
93
  "aria-describedby": elementId + "-subtitle"
123
94
  }, !((_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, {
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,
95
+ className: (_props$styleProps11 = props.styleProps) === null || _props$styleProps11 === void 0 || (_props$styleProps11 = _props$styleProps11.classNames) === null || _props$styleProps11 === void 0 ? void 0 : _props$styleProps11.titleClassName,
125
96
  styles: titleStyles,
126
97
  tabIndex: -1,
127
98
  id: elementId + "-title"
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, {
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,
99
+ }, ((_props$controlProps9 = props.controlProps) === null || _props$controlProps9 === void 0 ? void 0 : _props$controlProps9.titleText) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.titleText)), !((_props$controlProps0 = props.controlProps) !== null && _props$controlProps0 !== void 0 && _props$controlProps0.hideSubtitle) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr2 = props.componentOverrides) === null || _props$componentOverr2 === void 0 ? void 0 : _props$componentOverr2.subtitle) || /*#__PURE__*/_react2.default.createElement(_react.Label, {
100
+ className: (_props$styleProps12 = props.styleProps) === null || _props$styleProps12 === void 0 || (_props$styleProps12 = _props$styleProps12.classNames) === null || _props$styleProps12 === void 0 ? void 0 : _props$styleProps12.subtitleClassName,
130
101
  styles: subtitleStyles,
131
102
  tabIndex: -1,
132
103
  id: elementId + "-subtitle"
133
- }, ((_props$controlProps11 = props.controlProps) === null || _props$controlProps11 === void 0 ? void 0 : _props$controlProps11.subtitleText) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.subtitleText)), /*#__PURE__*/_react2.default.createElement(_react.Stack, {
104
+ }, ((_props$controlProps1 = props.controlProps) === null || _props$controlProps1 === void 0 ? void 0 : _props$controlProps1.subtitleText) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.subtitleText)), /*#__PURE__*/_react2.default.createElement(_react.Stack, {
134
105
  horizontal: true,
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,
106
+ className: (_props$styleProps13 = props.styleProps) === null || _props$styleProps13 === void 0 || (_props$styleProps13 = _props$styleProps13.classNames) === null || _props$styleProps13 === void 0 ? void 0 : _props$styleProps13.buttonGroupClassName,
136
107
  styles: buttonGroupStyles,
137
108
  id: elementId + "-buttongroup"
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, {
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,
109
+ }, !((_props$controlProps10 = props.controlProps) !== null && _props$controlProps10 !== void 0 && _props$controlProps10.hideConfirmButton) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr3 = props.componentOverrides) === null || _props$componentOverr3 === void 0 ? void 0 : _props$componentOverr3.confirmButton) || /*#__PURE__*/_react2.default.createElement(_Button.PrimaryButton, {
110
+ className: (_props$styleProps14 = props.styleProps) === null || _props$styleProps14 === void 0 || (_props$styleProps14 = _props$styleProps14.classNames) === null || _props$styleProps14 === void 0 ? void 0 : _props$styleProps14.confirmButtonClassName,
140
111
  styles: confirmButtonStyles,
141
- text: ((_props$controlProps13 = props.controlProps) === null || _props$controlProps13 === void 0 ? void 0 : _props$controlProps13.confirmButtonText) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.confirmButtonText,
112
+ text: ((_props$controlProps11 = props.controlProps) === null || _props$controlProps11 === void 0 ? void 0 : _props$controlProps11.confirmButtonText) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.confirmButtonText,
142
113
  onClick: handleConfirmClick,
143
114
  id: elementId + "-confirmbutton",
144
- ariaLabel: ((_props$controlProps14 = props.controlProps) === null || _props$controlProps14 === void 0 ? void 0 : _props$controlProps14.confirmButtonAriaLabel) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.confirmButtonAriaLabel
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, {
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,
115
+ ariaLabel: ((_props$controlProps12 = props.controlProps) === null || _props$controlProps12 === void 0 ? void 0 : _props$controlProps12.confirmButtonAriaLabel) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.confirmButtonAriaLabel
116
+ })), !((_props$controlProps13 = props.controlProps) !== null && _props$controlProps13 !== void 0 && _props$controlProps13.hideCancelButton) && ((0, _decodeComponentString.decodeComponentString)((_props$componentOverr4 = props.componentOverrides) === null || _props$componentOverr4 === void 0 ? void 0 : _props$componentOverr4.cancelButton) || /*#__PURE__*/_react2.default.createElement(_Button.DefaultButton, {
117
+ className: (_props$styleProps15 = props.styleProps) === null || _props$styleProps15 === void 0 || (_props$styleProps15 = _props$styleProps15.classNames) === null || _props$styleProps15 === void 0 ? void 0 : _props$styleProps15.cancelButtonClassName,
147
118
  styles: cancelButtonStyles,
148
- text: ((_props$controlProps16 = props.controlProps) === null || _props$controlProps16 === void 0 ? void 0 : _props$controlProps16.cancelButtonText) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.cancelButtonText,
119
+ text: ((_props$controlProps14 = props.controlProps) === null || _props$controlProps14 === void 0 ? void 0 : _props$controlProps14.cancelButtonText) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.cancelButtonText,
149
120
  onClick: handleCancelClick,
150
121
  id: elementId + "-cancelbutton",
151
- ariaLabel: ((_props$controlProps17 = props.controlProps) === null || _props$controlProps17 === void 0 ? void 0 : _props$controlProps17.cancelButtonAriaLabel) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.cancelButtonAriaLabel
122
+ ariaLabel: ((_props$controlProps15 = props.controlProps) === null || _props$controlProps15 === void 0 ? void 0 : _props$controlProps15.cancelButtonAriaLabel) || _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps.cancelButtonAriaLabel
152
123
  })))));
153
124
  }
154
-
155
- var _default = ConfirmationPane;
156
- exports.default = _default;
125
+ var _default = exports.default = ConfirmationPane;
@@ -4,10 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultConfirmationPaneControlProps = void 0;
7
-
8
7
  var _Constants = require("../../../../common/Constants");
9
-
10
- const defaultConfirmationPaneControlProps = {
8
+ const defaultConfirmationPaneControlProps = exports.defaultConfirmationPaneControlProps = {
11
9
  id: _Constants.Ids.DefaultConfirmationPaneId,
12
10
  dir: "ltr",
13
11
  hideConfirmationPane: false,
@@ -27,5 +25,4 @@ const defaultConfirmationPaneControlProps = {
27
25
  onCancel: function () {
28
26
  console.log("on cancel");
29
27
  }
30
- };
31
- exports.defaultConfirmationPaneControlProps = defaultConfirmationPaneControlProps;
28
+ };
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultConfirmationPaneProps = void 0;
7
-
8
7
  var _defaultConfirmationPaneControlProps = require("./defaultConfirmationPaneControlProps");
9
-
10
8
  var _defaultConfirmationPaneStyles = require("../defaultStyles/defaultConfirmationPaneStyles");
11
-
12
- const defaultConfirmationPaneProps = {
9
+ const defaultConfirmationPaneProps = exports.defaultConfirmationPaneProps = {
13
10
  controlProps: _defaultConfirmationPaneControlProps.defaultConfirmationPaneControlProps,
14
11
  styleProps: _defaultConfirmationPaneStyles.defaultConfirmationPaneStyles
15
- };
16
- exports.defaultConfirmationPaneProps = defaultConfirmationPaneProps;
12
+ };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultConfirmationPaneButtonGroupStyles = void 0;
7
- const defaultConfirmationPaneButtonGroupStyles = {
7
+ const defaultConfirmationPaneButtonGroupStyles = exports.defaultConfirmationPaneButtonGroupStyles = {
8
8
  display: "flex",
9
9
  width: "auto",
10
10
  height: "auto",
@@ -14,5 +14,4 @@ const defaultConfirmationPaneButtonGroupStyles = {
14
14
  alignItems: "center",
15
15
  gap: "10px",
16
16
  marginBottom: "10px"
17
- };
18
- exports.defaultConfirmationPaneButtonGroupStyles = defaultConfirmationPaneButtonGroupStyles;
17
+ };
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultConfirmationPaneCancelButtonFocusedStyles = void 0;
7
- const defaultConfirmationPaneCancelButtonFocusedStyles = {
7
+ const defaultConfirmationPaneCancelButtonFocusedStyles = exports.defaultConfirmationPaneCancelButtonFocusedStyles = {
8
8
  border: "2px dotted #000"
9
- };
10
- exports.defaultConfirmationPaneCancelButtonFocusedStyles = defaultConfirmationPaneCancelButtonFocusedStyles;
9
+ };
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultConfirmationPaneCancelButtonHoveredStyles = void 0;
7
- const defaultConfirmationPaneCancelButtonHoveredStyles = {
7
+ const defaultConfirmationPaneCancelButtonHoveredStyles = exports.defaultConfirmationPaneCancelButtonHoveredStyles = {
8
8
  backgroundColor: "#EFEFEF"
9
- };
10
- exports.defaultConfirmationPaneCancelButtonHoveredStyles = defaultConfirmationPaneCancelButtonHoveredStyles;
9
+ };
@@ -4,12 +4,11 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultConfirmationPaneCancelButtonStyles = void 0;
7
- const defaultConfirmationPaneCancelButtonStyles = {
7
+ const defaultConfirmationPaneCancelButtonStyles = exports.defaultConfirmationPaneCancelButtonStyles = {
8
8
  backgroundColor: "white",
9
9
  fontFamily: "Segoe UI, Arial, sans-serif",
10
10
  fontSize: "14px",
11
11
  fontWeight: "500",
12
12
  height: "32px",
13
13
  width: "80px"
14
- };
15
- exports.defaultConfirmationPaneCancelButtonStyles = defaultConfirmationPaneCancelButtonStyles;
14
+ };
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultConfirmationPaneConfirmButtonFocusedStyles = void 0;
7
- const defaultConfirmationPaneConfirmButtonFocusedStyles = {
7
+ const defaultConfirmationPaneConfirmButtonFocusedStyles = exports.defaultConfirmationPaneConfirmButtonFocusedStyles = {
8
8
  border: "2px dotted #000"
9
- };
10
- exports.defaultConfirmationPaneConfirmButtonFocusedStyles = defaultConfirmationPaneConfirmButtonFocusedStyles;
9
+ };
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultConfirmationPaneConfirmButtonHoveredStyles = void 0;
7
- const defaultConfirmationPaneConfirmButtonHoveredStyles = {
7
+ const defaultConfirmationPaneConfirmButtonHoveredStyles = exports.defaultConfirmationPaneConfirmButtonHoveredStyles = {
8
8
  backgroundColor: "rgba(9,72,159,0.8)"
9
- };
10
- exports.defaultConfirmationPaneConfirmButtonHoveredStyles = defaultConfirmationPaneConfirmButtonHoveredStyles;
9
+ };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultConfirmationPaneConfirmButtonStyles = void 0;
7
- const defaultConfirmationPaneConfirmButtonStyles = {
7
+ const defaultConfirmationPaneConfirmButtonStyles = exports.defaultConfirmationPaneConfirmButtonStyles = {
8
8
  backgroundColor: "rgba(9,72,159,1)",
9
9
  color: "white",
10
10
  fontFamily: "Segoe UI, Arial, sans-serif",
@@ -12,5 +12,4 @@ const defaultConfirmationPaneConfirmButtonStyles = {
12
12
  fontWeight: "500",
13
13
  height: "32px",
14
14
  width: "80px"
15
- };
16
- exports.defaultConfirmationPaneConfirmButtonStyles = defaultConfirmationPaneConfirmButtonStyles;
15
+ };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultConfirmationPaneGeneralStyles = void 0;
7
- const defaultConfirmationPaneGeneralStyles = {
7
+ const defaultConfirmationPaneGeneralStyles = exports.defaultConfirmationPaneGeneralStyles = {
8
8
  display: "flex",
9
9
  minHeight: "160px",
10
10
  maxHeight: "300px",
@@ -22,5 +22,4 @@ const defaultConfirmationPaneGeneralStyles = {
22
22
  zIndex: "9999",
23
23
  left: "26px",
24
24
  right: "26px"
25
- };
26
- exports.defaultConfirmationPaneGeneralStyles = defaultConfirmationPaneGeneralStyles;
25
+ };