@microsoft/omnichannel-chat-components 0.1.0-main.3e712be → 0.1.0-main.d899dd1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/lib/cjs/assets/Icons.js +48 -0
- package/lib/cjs/common/Constants.js +1 -1
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +30 -0
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlPropsRtl.js +6 -16
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/customizedCurrentCallStyleProps.js +0 -12
- package/lib/cjs/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/defaultCurrentCallStyleProps.js +4 -16
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +30 -0
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverrideProps.js +2 -4
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlPropsRtl.js +4 -10
- package/lib/cjs/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/defaultIncomingCallStyleProps.js +8 -8
- package/lib/cjs/components/chatbutton/common/defaultStyles/defaultChatButtonIconContainerStyles.js +2 -4
- package/lib/cjs/components/footer/common/defaultProps/customFooterControlProps.js +5 -13
- package/lib/cjs/components/header/common/defaultProps/azureHeaderControlProps.js +2 -4
- package/lib/cjs/components/header/common/defaultProps/customHeaderControlProps.js +4 -10
- package/lib/cjs/components/header/common/defaultProps/defaultHeaderControlProps.js +2 -4
- package/lib/cjs/components/inputvalidationpane/InputValidationPane.js +46 -18
- package/lib/cjs/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconImageProps.js +2 -4
- package/lib/cjs/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconImageProps.js +2 -4
- package/lib/cjs/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneGeneralStyles.js +2 -4
- package/lib/cjs/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneGeneralStyles.js +2 -4
- package/lib/cjs/components/postchatsurveypane/PostChatSurveyPane.js +2 -2
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonStyles.js +2 -4
- package/lib/cjs/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneHeaderContainerStyles.js +2 -4
- package/lib/cjs/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneIconStyles.js +2 -4
- package/lib/cjs/index.js +128 -0
- package/lib/esm/assets/Icons.js +21 -0
- package/lib/esm/common/Constants.js +1 -1
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/CurrentCall.js +32 -2
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultProps/defaultCurrentCallControlPropsRtl.js +6 -10
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/customizedCurrentCallStyleProps.js +0 -12
- package/lib/esm/components/callingcontainer/subcomponents/CurrentCall/common/defaultStyles/defaultCurrentCallStyleProps.js +4 -16
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/IncomingCall.js +32 -2
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/componentOverrideProps.js +2 -2
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultProps/defaultIncomingCallControlPropsRtl.js +4 -6
- package/lib/esm/components/callingcontainer/subcomponents/IncomingCall/common/defaultStyles/defaultIncomingCallStyleProps.js +8 -8
- package/lib/esm/components/chatbutton/common/defaultStyles/defaultChatButtonIconContainerStyles.js +2 -2
- package/lib/esm/components/footer/common/defaultProps/customFooterControlProps.js +5 -8
- package/lib/esm/components/header/common/defaultProps/azureHeaderControlProps.js +2 -2
- package/lib/esm/components/header/common/defaultProps/customHeaderControlProps.js +4 -6
- package/lib/esm/components/header/common/defaultProps/defaultHeaderControlProps.js +2 -2
- package/lib/esm/components/inputvalidationpane/InputValidationPane.js +46 -18
- package/lib/esm/components/loadingpane/common/defaultProps/defaultStyles/defaultLoadingPaneIconImageProps.js +2 -2
- package/lib/esm/components/loadingpane/common/presetThreeProps/presetThreeStyles/presetThreeLoadingPaneIconImageProps.js +2 -2
- package/lib/esm/components/loadingpane/common/presetTwoProps/presetTwoStyles/presetTwoLoadingPaneGeneralStyles.js +2 -2
- package/lib/esm/components/outofofficehourspane/common/presetTwoProps/presetTwoStyles/presetTwoOOOHPaneGeneralStyles.js +2 -2
- package/lib/esm/components/postchatsurveypane/PostChatSurveyPane.js +2 -2
- package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneCloseButtonStyles.js +2 -2
- package/lib/esm/components/proactivechatpane/common/default/defaultStyles/defaultProactiveChatPaneHeaderContainerStyles.js +2 -2
- package/lib/esm/components/reconnectchatpane/common/default/defaultStyles/defaultReconnectChatPaneIconStyles.js +2 -2
- package/lib/esm/index.js +2 -1
- package/lib/types/assets/Icons.d.ts +21 -0
- package/lib/types/common/Constants.d.ts +5 -0
- package/lib/types/components/callingcontainer/subcomponents/CurrentCall/interfaces/ICurrentCallStyleProps.d.ts +0 -4
- package/lib/types/index.d.ts +1 -0
- package/package.json +4 -9
- package/lib/cjs/assets/assets.d.js +0 -1
- package/lib/cjs/assets/imgs/ChatBubble.svg +0 -28
- package/lib/cjs/assets/imgs/ChatReconnectPopupIcon.png +0 -0
- package/lib/cjs/assets/imgs/Proactive_banner.png +0 -0
- package/lib/cjs/assets/imgs/agent.png +0 -0
- package/lib/cjs/assets/imgs/callacceptbutton.svg +0 -3
- package/lib/cjs/assets/imgs/callrejectbutton.svg +0 -3
- package/lib/cjs/assets/imgs/chat.svg +0 -47
- package/lib/cjs/assets/imgs/chatIcon.svg +0 -16
- package/lib/cjs/assets/imgs/closeButton.svg +0 -3
- package/lib/cjs/assets/imgs/closeChatButton.svg +0 -3
- package/lib/cjs/assets/imgs/error.svg +0 -3
- package/lib/cjs/assets/imgs/lcwAudioOff.svg +0 -3
- package/lib/cjs/assets/imgs/lcwAudioOn.svg +0 -3
- package/lib/cjs/assets/imgs/loading.gif +0 -0
- package/lib/cjs/assets/imgs/minimizeChatButton.svg +0 -3
- package/lib/cjs/assets/imgs/transcriptDownloadIcon.svg +0 -4
- package/lib/cjs/assets/imgs/transcriptEmailIcon.svg +0 -5
- package/lib/cjs/assets/imgs/videocallacceptbutton.svg +0 -3
- package/lib/cjs/assets/imgs/videooff.svg +0 -3
- package/lib/cjs/assets/imgs/videoon.svg +0 -3
- package/lib/cjs/assets/imgs/voiceoff.svg +0 -3
- package/lib/cjs/assets/imgs/voiceon.svg +0 -3
- package/lib/esm/assets/assets.d.js +0 -0
- package/lib/esm/assets/imgs/ChatBubble.svg +0 -28
- package/lib/esm/assets/imgs/ChatReconnectPopupIcon.png +0 -0
- package/lib/esm/assets/imgs/Proactive_banner.png +0 -0
- package/lib/esm/assets/imgs/agent.png +0 -0
- package/lib/esm/assets/imgs/callacceptbutton.svg +0 -3
- package/lib/esm/assets/imgs/callrejectbutton.svg +0 -3
- package/lib/esm/assets/imgs/chat.svg +0 -47
- package/lib/esm/assets/imgs/chatIcon.svg +0 -16
- package/lib/esm/assets/imgs/closeButton.svg +0 -3
- package/lib/esm/assets/imgs/closeChatButton.svg +0 -3
- package/lib/esm/assets/imgs/error.svg +0 -3
- package/lib/esm/assets/imgs/lcwAudioOff.svg +0 -3
- package/lib/esm/assets/imgs/lcwAudioOn.svg +0 -3
- package/lib/esm/assets/imgs/loading.gif +0 -0
- package/lib/esm/assets/imgs/minimizeChatButton.svg +0 -3
- package/lib/esm/assets/imgs/transcriptDownloadIcon.svg +0 -4
- package/lib/esm/assets/imgs/transcriptEmailIcon.svg +0 -5
- package/lib/esm/assets/imgs/videocallacceptbutton.svg +0 -3
- package/lib/esm/assets/imgs/videooff.svg +0 -3
- package/lib/esm/assets/imgs/videoon.svg +0 -3
- package/lib/esm/assets/imgs/voiceoff.svg +0 -3
- package/lib/esm/assets/imgs/voiceon.svg +0 -3
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="13" height = "14" viewBox = "0 0 13 14" fill = "none" xmlns = "http://www.w3.org/2000/svg" >
|
|
2
|
-
<path d="M7.21094 7L12.6016 12.3984L11.8984 13.1016L6.5 7.71094L1.10156 13.1016L0.398438 12.3984L5.78906 7L0.398438 1.60156L1.10156 0.898438L6.5 6.28906L11.8984 0.898438L12.6016 1.60156L7.21094 7Z" fill = "white" />
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M6 0C6.55417 0 7.08646 0.0708332 7.59688 0.2125C8.10729 0.354166 8.58542 0.555208 9.03125 0.815625C9.47708 1.07604 9.88229 1.38854 10.2469 1.75313C10.6115 2.11771 10.924 2.52292 11.1844 2.96875C11.4448 3.41458 11.6458 3.89271 11.7875 4.40312C11.9292 4.91354 12 5.44583 12 6C12 6.55417 11.9292 7.08646 11.7875 7.59687C11.6458 8.10729 11.4448 8.58542 11.1844 9.03125C10.924 9.47708 10.6115 9.88229 10.2469 10.2469C9.88229 10.6115 9.47708 10.924 9.03125 11.1844C8.58542 11.4448 8.10729 11.6458 7.59688 11.7875C7.08646 11.9292 6.55417 12 6 12C5.44583 12 4.91354 11.9292 4.40313 11.7875C3.89271 11.6458 3.41458 11.4448 2.96875 11.1844C2.52292 10.924 2.11771 10.6115 1.75313 10.2469C1.38854 9.88229 1.07604 9.47708 0.815625 9.03125C0.555208 8.58542 0.354167 8.10729 0.2125 7.59687C0.0708333 7.08646 0 6.55417 0 6C0 5.44583 0.0708333 4.91354 0.2125 4.40312C0.354167 3.89271 0.555208 3.41458 0.815625 2.96875C1.07604 2.52292 1.38854 2.11771 1.75313 1.75313C2.11771 1.38854 2.52292 1.07604 2.96875 0.815625C3.41458 0.555208 3.89271 0.354166 4.40313 0.2125C4.91354 0.0708332 5.44583 0 6 0ZM6 11.2C6.475 11.2 6.93438 11.1375 7.37813 11.0125C7.82188 10.8875 8.23646 10.7125 8.62187 10.4875C9.00729 10.2625 9.35833 9.99167 9.675 9.675C9.99167 9.35833 10.2625 9.00729 10.4875 8.62188C10.7125 8.23646 10.8875 7.82292 11.0125 7.38125C11.1375 6.93958 11.2 6.47917 11.2 6C11.2 5.525 11.1375 5.06562 11.0125 4.62187C10.8875 4.17812 10.7125 3.76354 10.4875 3.37813C10.2625 2.99271 9.99167 2.64167 9.675 2.325C9.35833 2.00833 9.00729 1.7375 8.62187 1.5125C8.23646 1.2875 7.82188 1.1125 7.37813 0.9875C6.93438 0.8625 6.475 0.8 6 0.8C5.52083 0.8 5.06042 0.8625 4.61875 0.9875C4.17708 1.1125 3.76354 1.2875 3.37812 1.5125C2.99271 1.7375 2.64167 2.00833 2.325 2.325C2.00833 2.64167 1.7375 2.99271 1.5125 3.37813C1.2875 3.76354 1.1125 4.17812 0.9875 4.62187C0.8625 5.06562 0.8 5.525 0.8 6C0.8 6.475 0.8625 6.93437 0.9875 7.37812C1.1125 7.82188 1.2875 8.23646 1.5125 8.62188C1.7375 9.00729 2.00833 9.35833 2.325 9.675C2.64167 9.99167 2.99271 10.2625 3.37812 10.4875C3.76354 10.7125 4.17708 10.8875 4.61875 11.0125C5.06042 11.1375 5.52083 11.2 6 11.2ZM5.6 7.2V3.2H6.4V7.2H5.6ZM5.6 8.8V8H6.4V8.8H5.6Z" fill="#A80000"/>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M11.8281 9.35156C11.9323 8.89323 11.9844 8.4375 11.9844 7.98438C11.9844 7.1875 11.8359 6.42708 11.5391 5.70312C11.2422 4.97396 10.8099 4.32552 10.2422 3.75781L10.9531 3.04688C11.2812 3.375 11.5729 3.73177 11.8281 4.11719C12.0833 4.4974 12.2969 4.89844 12.4688 5.32031C12.6406 5.73698 12.7708 6.17188 12.8594 6.625C12.9531 7.07292 13 7.53125 13 8C13 8.375 12.9688 8.74479 12.9062 9.10938C12.849 9.46875 12.763 9.82552 12.6484 10.1797L11.8281 9.35156ZM8.82812 5.17188C9.14062 5.48438 9.39062 5.83854 9.57812 6.23438C9.76562 6.625 9.88802 7.03906 9.94531 7.47656L8.23438 5.76562L8.82812 5.17188ZM14.1953 11.7188C14.4609 11.1354 14.6615 10.5312 14.7969 9.90625C14.9323 9.28125 15 8.64583 15 8C15 6.79167 14.7734 5.64323 14.3203 4.55469C13.8724 3.46615 13.2188 2.49479 12.3594 1.64062L13.0703 0.929688C13.5443 1.40365 13.9635 1.91406 14.3281 2.46094C14.6927 3.0026 14.9974 3.57292 15.2422 4.17188C15.4922 4.77083 15.6797 5.39323 15.8047 6.03906C15.9349 6.67969 16 7.33333 16 8C16 8.77604 15.9089 9.54167 15.7266 10.2969C15.5495 11.0469 15.2891 11.7708 14.9453 12.4688L14.1953 11.7188ZM6 2V3.52344L4.88281 2.40625L5.28906 2H6ZM0.148438 0.851562L0.851562 0.148438L15.8516 15.1484L15.1484 15.8516L6 6.71094V14H5.29688L2.28906 11H0L0 5H2.28906L3.28906 4L0.148438 0.851562ZM5 12.2891V5.71094L4 4.71094L2.71094 6H1V10H2.71094L5 12.2891Z" fill="#12769A"/>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M13.0703 0.929688C13.5391 1.39844 13.9531 1.90625 14.3125 2.45312C14.6771 3 14.9844 3.57552 15.2344 4.17969C15.4844 4.77865 15.6719 5.40104 15.7969 6.04688C15.9271 6.6875 15.9922 7.33854 15.9922 8C15.9922 8.66146 15.9271 9.3151 15.7969 9.96094C15.6719 10.6016 15.4844 11.224 15.2344 11.8281C14.9844 12.4271 14.6771 13 14.3125 13.5469C13.9531 14.0938 13.5391 14.6016 13.0703 15.0703L12.3672 14.3672C12.7891 13.9453 13.1615 13.4896 13.4844 13C13.8125 12.5052 14.0885 11.987 14.3125 11.4453C14.5365 10.9036 14.7057 10.3438 14.8203 9.76562C14.9401 9.18229 15 8.59375 15 8C15 7.40625 14.9401 6.82031 14.8203 6.24219C14.7057 5.65885 14.5365 5.09635 14.3125 4.55469C14.0885 4.01302 13.8125 3.4974 13.4844 3.00781C13.1615 2.51302 12.7891 2.05469 12.3672 1.63281L13.0703 0.929688ZM10.9531 3.04688C11.2812 3.375 11.5703 3.73177 11.8203 4.11719C12.0755 4.4974 12.2891 4.89844 12.4609 5.32031C12.638 5.74219 12.7708 6.17969 12.8594 6.63281C12.9531 7.08594 13 7.54167 13 8C13 8.46354 12.9531 8.92188 12.8594 9.375C12.7708 9.82292 12.638 10.2578 12.4609 10.6797C12.2891 11.1016 12.0755 11.5052 11.8203 11.8906C11.5703 12.2708 11.2812 12.625 10.9531 12.9531L10.2422 12.2422C10.8047 11.6797 11.237 11.0312 11.5391 10.2969C11.8464 9.5625 12 8.79688 12 8C12 7.20312 11.8464 6.4375 11.5391 5.70312C11.237 4.96875 10.8047 4.32031 10.2422 3.75781L10.9531 3.04688ZM8.82812 5.17188C9.20312 5.54688 9.49219 5.97917 9.69531 6.46875C9.89844 6.95833 10 7.46875 10 8C10 8.53125 9.89844 9.04167 9.69531 9.53125C9.49219 10.0208 9.20312 10.4531 8.82812 10.8281L8.125 10.125C8.40625 9.84375 8.6224 9.52083 8.77344 9.15625C8.92448 8.78646 9 8.40104 9 8C9 7.59896 8.92448 7.21615 8.77344 6.85156C8.6224 6.48177 8.40625 6.15625 8.125 5.875L8.82812 5.17188ZM5.28906 2H6V14H5.28906L2.28906 11H0L0 5H2.28906L5.28906 2ZM5 3.71094L2.71094 6H1V10H2.71094L5 12.2891V3.71094Z" fill="#12769A"/>
|
|
3
|
-
</svg>
|
|
Binary file
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M3 16V15H12V16H3Z" fill="#444444"/>
|
|
3
|
-
<path d="M12.3516 8.35156L7.5 13.2422L2.64844 8.35156L3.35156 7.64844L7 11.3203V0H8V11.3203L11.6484 7.64844L12.3516 8.35156Z" fill="#12769A"/>
|
|
4
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M8 7.44531L1.11719 4H14.8828L8 7.44531Z" fill="white"/>
|
|
3
|
-
<path d="M15 5.0625V12H1V5.0625L8 8.55469L15 5.0625Z" fill="white"/>
|
|
4
|
-
<path d="M16 3V13H0V3H16ZM1.11719 4L8 7.44531L14.8828 4H1.11719ZM15 12V5.0625L8 8.55469L1 5.0625V12H15Z" fill="#444444"/>
|
|
5
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="20" height="12" viewBox="0 0 20 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M20 11.0781L15 8.57812V11H0V1H15V3.42188L20 0.921875V11.0781ZM13.75 2.25H1.25V9.75H13.75V2.25ZM18.75 2.94336L15 4.82812V7.17188L18.75 9.05664V2.94336Z" fill="white"/>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" width="20" height="16" fill="#FFFFFF">
|
|
2
|
-
<path d="M1600 1152q93 0 174 35t143 96 96 142 35 175q0 93-35 174t-96 143-142 96-175 35q-93 0-174-35t-143-96-96-142-35-175q0-93 35-174t96-143 142-96 175-35zm-320 448q0 66 25 124t68 102 102 69 125 25q47 0 92-13t84-40l-443-443q-26 39-39 84t-14 92zm587 176q26-39 39-84t14-92q0-66-25-124t-69-101-102-69-124-26q-47 0-92 13t-84 40l443 443zm181-1272v686q-57-63-128-106V711l-384 193v92q-33 3-65 10t-63 18V640H128v768h896q-11 31-18 63t-10 65H0V512h1536v248l512-256z" />
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" width="16" height="20" fill="#FFFFFF">
|
|
2
|
-
<path d="M640 324L512 196v-4q0-40 15-75t41-61 61-41 75-15h512q40 0 75 15t61 41 41 61 15 75v900l-128-128V192q0-27-18-45t-46-19H704q-27 0-45 18t-19 46v132zm1024 700v323l-128-127v-196h128zm365 915l-90 90-377-377q-59 67-139 103t-169 37h-230v128h256v128H640v-128h256v-128H666q-85 0-159-32t-130-88-88-130-33-160v-358h128v358q0 58 22 109t61 90 89 60 110 23h588q63 0 119-27t98-75l-102-103q-27 36-67 56t-86 21H704q-40 0-75-15t-61-41-41-61-15-75V603L19 109l90-90 1920 1920zm-813-531q20 0 36-11t24-30L640 731v613q0 27 18 45t46 19h512z" />
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" width="16" height="20" fill="#FFFFFF">
|
|
2
|
-
<path d="M704 1536q-40 0-75-15t-61-41-41-61-15-75V192q0-40 15-75t41-61 61-41 75-15h512q40 0 75 15t61 41 41 61 15 75v1152q0 40-15 75t-41 61-61 41-75 15H704zm-64-192q0 26 19 45t45 19h512q26 0 45-19t19-45V192q0-26-19-45t-45-19H704q-26 0-45 19t-19 45v1152zm1024-320v362q0 84-32 158t-87 129-129 87-158 32h-234v128h256v128H640v-128h256v-128H662q-84 0-158-32t-129-87-87-129-32-158v-362h128v362q0 57 22 108t59 88 89 60 108 22h596q57 0 108-22t88-59 60-89 22-108v-362h128z" />
|
|
3
|
-
</svg>
|