@azure/communication-react 1.18.0-alpha-202407180014 → 1.18.0-alpha-202407200014
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/dist/communication-react.d.ts +71 -18
 - package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-Bi4Or6hk.js → ChatMessageComponentAsRichTextEditBox-D4ctXnw1.js} +27 -6
 - package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-D4ctXnw1.js.map +1 -0
 - package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-CaXswhPn.js → RichTextSendBoxWrapper-F6eqVXer.js} +2 -2
 - package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-CaXswhPn.js.map → RichTextSendBoxWrapper-F6eqVXer.js.map} +1 -1
 - package/dist/dist-cjs/communication-react/{index-B3X0l4SB.js → index-BJO_NOTU.js} +658 -367
 - package/dist/dist-cjs/communication-react/index-BJO_NOTU.js.map +1 -0
 - package/dist/dist-cjs/communication-react/index.js +1 -1
 - package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
 - package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
 - package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +3 -3
 - package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
 - package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +1 -1
 - package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +15 -7
 - package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
 - package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.d.ts +2 -8
 - package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
 - package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +14 -2
 - package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -1
 - package/dist/dist-esm/calling-stateful-client/src/TeamsIncomingCallDeclarative.d.ts +17 -0
 - package/dist/dist-esm/calling-stateful-client/src/TeamsIncomingCallDeclarative.js +49 -0
 - package/dist/dist-esm/calling-stateful-client/src/TeamsIncomingCallDeclarative.js.map +1 -0
 - package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +9 -1
 - package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +16 -0
 - package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
 - package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +1 -1
 - package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
 - package/dist/dist-esm/communication-react/src/index.d.ts +1 -1
 - package/dist/dist-esm/communication-react/src/index.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js +14 -8
 - package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +8 -2
 - package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.d.ts +6 -4
 - package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js +2 -12
 - package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.d.ts +2 -2
 - package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js +25 -4
 - package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.d.ts +8 -6
 - package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js +12 -3
 - package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js +27 -3
 - package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +9 -15
 - package/dist/dist-esm/react-components/src/components/MessageThread.js +10 -1
 - package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js +28 -22
 - package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.d.ts +49 -0
 - package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +16 -4
 - package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.js +20 -2
 - package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/index.d.ts +2 -1
 - package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.d.ts +2 -2
 - package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js +15 -17
 - package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +3 -0
 - package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.d.ts +1 -5
 - package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.js +0 -21
 - package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +9 -1
 - package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +10 -2
 - package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
 - package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +101 -63
 - package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +99 -61
 - package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +99 -61
 - package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +99 -61
 - package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +8 -2
 - package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +99 -61
 - package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +99 -61
 - package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +102 -64
 - package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +99 -61
 - package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +99 -61
 - package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +101 -63
 - package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +106 -68
 - package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +99 -61
 - package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +105 -67
 - package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +104 -66
 - package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +102 -64
 - package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +100 -62
 - package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +99 -61
 - package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +100 -62
 - package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +101 -63
 - package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +100 -62
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +66 -31
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadReducer.d.ts +49 -0
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadReducer.js +48 -0
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadReducer.js.map +1 -0
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadUtils.d.ts +33 -1
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadUtils.js +198 -6
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadUtils.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.d.ts +7 -7
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.d.ts +2 -5
 - package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/common/constants.d.ts +4 -0
 - package/dist/dist-esm/react-composites/src/composites/common/constants.js +4 -0
 - package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +10 -5
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +6 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +6 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +6 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +6 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +10 -5
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +10 -5
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +10 -5
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +10 -5
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +6 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +10 -5
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +6 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +6 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +6 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +10 -5
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +6 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +10 -5
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +6 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +10 -5
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +10 -5
 - package/package.json +14 -14
 - package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-Bi4Or6hk.js.map +0 -1
 - package/dist/dist-cjs/communication-react/index-B3X0l4SB.js.map +0 -1
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/useImageUpload.d.ts +0 -12
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/useImageUpload.js +0 -115
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/useImageUpload.js.map +0 -1
 
| 
         @@ -185,8 +185,8 @@ 
     | 
|
| 
       185 
185 
     | 
    
         
             
                    "failToSendTag": "無法傳送",
         
     | 
| 
       186 
186 
     | 
    
         
             
                    "editedTag": "已編輯",
         
     | 
| 
       187 
187 
     | 
    
         
             
                    "liveAuthorIntro": "{author} 說",
         
     | 
| 
       188 
     | 
    
         
            -
                    "messageContentAriaText": "{author} 說 {message}",
         
     | 
| 
       189 
     | 
    
         
            -
                    "messageContentMineAriaText": "您說 {message}",
         
     | 
| 
      
 188 
     | 
    
         
            +
                    "messageContentAriaText": "{status} {author} 說 {message}",
         
     | 
| 
      
 189 
     | 
    
         
            +
                    "messageContentMineAriaText": "{status} 您說 {message}",
         
     | 
| 
       190 
190 
     | 
    
         
             
                    "editBoxTextLimit": "您的訊息超過 {limitNumber} 個字元的限制",
         
     | 
| 
       191 
191 
     | 
    
         
             
                    "editBoxPlaceholderText": "編輯您的訊息",
         
     | 
| 
       192 
192 
     | 
    
         
             
                    "newMessagesIndicator": "新訊息",
         
     | 
| 
         @@ -220,7 +220,8 @@ 
     | 
|
| 
       220 
220 
     | 
    
         
             
                    "richTextDeleteColumnMenu": "刪除欄",
         
     | 
| 
       221 
221 
     | 
    
         
             
                    "richTextDeleteRowMenu": "刪除列",
         
     | 
| 
       222 
222 
     | 
    
         
             
                    "richTextDeleteTableMenu": "刪除表格",
         
     | 
| 
       223 
     | 
    
         
            -
                    "richTextToolbarMoreButtonAriaLabel": "其他選項"
         
     | 
| 
      
 223 
     | 
    
         
            +
                    "richTextToolbarMoreButtonAriaLabel": "其他選項",
         
     | 
| 
      
 224 
     | 
    
         
            +
                    "attachmentUploadsPendingError": "正在上傳...請稍候。"
         
     | 
| 
       224 
225 
     | 
    
         
             
                },
         
     | 
| 
       225 
226 
     | 
    
         
             
                "errorBar": {
         
     | 
| 
       226 
227 
     | 
    
         
             
                    "unableToReachChatService": "您處於離線狀態",
         
     | 
| 
         @@ -237,6 +238,7 @@ 
     | 
|
| 
       237 
238 
     | 
    
         
             
                    "startScreenShareGeneric": "啟動畫面分享時發生問題。",
         
     | 
| 
       238 
239 
     | 
    
         
             
                    "stopScreenShareGeneric": "無法停止螢幕畫面分享",
         
     | 
| 
       239 
240 
     | 
    
         
             
                    "callNetworkQualityLow": "您的網路品質不佳。",
         
     | 
| 
      
 241 
     | 
    
         
            +
                    "teamsMeetingCallNetworkQualityLow": "網路品質不佳。",
         
     | 
| 
       240 
242 
     | 
    
         
             
                    "callNoSpeakerFound": "找不到喇叭或耳機。請連接音訊裝置以聆聽通話。",
         
     | 
| 
       241 
243 
     | 
    
         
             
                    "callNoMicrophoneFound": "找不到麥克風。請連接音訊輸入裝置。",
         
     | 
| 
       242 
244 
     | 
    
         
             
                    "callMicrophoneAccessDenied": "無法存取麥克風。按一下網址列中的鎖定以授與此網頁的許可權。",
         
     | 
| 
         @@ -257,160 +259,189 @@ 
     | 
|
| 
       257 
259 
     | 
    
         
             
                    "failedToJoinCallInvalidMeetingLink": "無法加入會議。連結無效。",
         
     | 
| 
       258 
260 
     | 
    
         
             
                    "cameraFrozenForRemoteParticipants": "通話中的使用者在觀看您的視訊時發生問題。請檢查您的裝置和網路。",
         
     | 
| 
       259 
261 
     | 
    
         
             
                    "unableToStartVideoEffect": "無法套用視訊效果。",
         
     | 
| 
       260 
     | 
    
         
            -
                    "startSpotlightWhileMaxParticipantsAreSpotlighted": "無法啟動參與者的焦點,因為參與者人數已達焦點上限。"
         
     | 
| 
      
 262 
     | 
    
         
            +
                    "startSpotlightWhileMaxParticipantsAreSpotlighted": "無法啟動參與者的焦點,因為參與者人數已達焦點上限。",
         
     | 
| 
      
 263 
     | 
    
         
            +
                    "mutedByRemoteParticipant": "另一位參與者已將您設為靜音。"
         
     | 
| 
       261 
264 
     | 
    
         
             
                },
         
     | 
| 
       262 
     | 
    
         
            -
                " 
     | 
| 
       263 
     | 
    
         
            -
                    "unableToReachChatService": {
         
     | 
| 
       264 
     | 
    
         
            -
                        "title": "您目前處於離線狀態。",
         
     | 
| 
       265 
     | 
    
         
            -
                        "closeButtonAriaLabel": "關閉"
         
     | 
| 
       266 
     | 
    
         
            -
                    },
         
     | 
| 
       267 
     | 
    
         
            -
                    "accessDenied": {
         
     | 
| 
       268 
     | 
    
         
            -
                        "title": "無法存取聊天服務",
         
     | 
| 
       269 
     | 
    
         
            -
                        "message": "請檢查提供的使用者認證",
         
     | 
| 
       270 
     | 
    
         
            -
                        "closeButtonAriaLabel": "關閉"
         
     | 
| 
       271 
     | 
    
         
            -
                    },
         
     | 
| 
       272 
     | 
    
         
            -
                    "userNotInChatThread": {
         
     | 
| 
       273 
     | 
    
         
            -
                        "title": "您已不在此聊天對話中。",
         
     | 
| 
       274 
     | 
    
         
            -
                        "closeButtonAriaLabel": "關閉"
         
     | 
| 
       275 
     | 
    
         
            -
                    },
         
     | 
| 
       276 
     | 
    
         
            -
                    "sendMessageNotInChatThread": {
         
     | 
| 
       277 
     | 
    
         
            -
                        "title": "無法傳送訊息",
         
     | 
| 
       278 
     | 
    
         
            -
                        "message": "您已不在此聊天對話中",
         
     | 
| 
       279 
     | 
    
         
            -
                        "closeButtonAriaLabel": "關閉"
         
     | 
| 
       280 
     | 
    
         
            -
                    },
         
     | 
| 
       281 
     | 
    
         
            -
                    "sendMessageGeneric": {
         
     | 
| 
       282 
     | 
    
         
            -
                        "title": "無法傳送郵件。",
         
     | 
| 
       283 
     | 
    
         
            -
                        "closeButtonAriaLabel": "關閉"
         
     | 
| 
       284 
     | 
    
         
            -
                    },
         
     | 
| 
      
 265 
     | 
    
         
            +
                "notificationStack": {
         
     | 
| 
       285 
266 
     | 
    
         
             
                    "callingNetworkFailure": {
         
     | 
| 
       286 
267 
     | 
    
         
             
                        "title": "接通電話時發生問題",
         
     | 
| 
       287 
268 
     | 
    
         
             
                        "message": "您似乎已離線。請檢查您的網路連線,然後再試一次。",
         
     | 
| 
       288 
     | 
    
         
            -
                        " 
     | 
| 
      
 269 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       289 
270 
     | 
    
         
             
                    },
         
     | 
| 
       290 
271 
     | 
    
         
             
                    "startVideoGeneric": {
         
     | 
| 
       291 
272 
     | 
    
         
             
                        "title": "無法啟動影片。",
         
     | 
| 
       292 
     | 
    
         
            -
                        " 
     | 
| 
      
 273 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       293 
274 
     | 
    
         
             
                    },
         
     | 
| 
       294 
275 
     | 
    
         
             
                    "stopVideoGeneric": {
         
     | 
| 
       295 
276 
     | 
    
         
             
                        "title": "無法停止影片。",
         
     | 
| 
       296 
     | 
    
         
            -
                        " 
     | 
| 
      
 277 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       297 
278 
     | 
    
         
             
                    },
         
     | 
| 
       298 
279 
     | 
    
         
             
                    "muteGeneric": {
         
     | 
| 
       299 
280 
     | 
    
         
             
                        "title": "無法將麥克風設為靜音。",
         
     | 
| 
       300 
     | 
    
         
            -
                        " 
     | 
| 
      
 281 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       301 
282 
     | 
    
         
             
                    },
         
     | 
| 
       302 
283 
     | 
    
         
             
                    "unmuteGeneric": {
         
     | 
| 
       303 
284 
     | 
    
         
             
                        "title": "無法將麥克風取消靜音。",
         
     | 
| 
       304 
     | 
    
         
            -
                        " 
     | 
| 
      
 285 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       305 
286 
     | 
    
         
             
                    },
         
     | 
| 
       306 
287 
     | 
    
         
             
                    "speakingWhileMuted": {
         
     | 
| 
       307 
288 
     | 
    
         
             
                        "title": "已將您設為靜音。",
         
     | 
| 
       308 
     | 
    
         
            -
                        " 
     | 
| 
      
 289 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       309 
290 
     | 
    
         
             
                    },
         
     | 
| 
       310 
291 
     | 
    
         
             
                    "startScreenShareGeneric": {
         
     | 
| 
       311 
292 
     | 
    
         
             
                        "title": "啟動畫面分享時發生問題。",
         
     | 
| 
       312 
     | 
    
         
            -
                        " 
     | 
| 
      
 293 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       313 
294 
     | 
    
         
             
                    },
         
     | 
| 
       314 
295 
     | 
    
         
             
                    "stopScreenShareGeneric": {
         
     | 
| 
       315 
296 
     | 
    
         
             
                        "title": "無法停止螢幕畫面分享。",
         
     | 
| 
       316 
     | 
    
         
            -
                        " 
     | 
| 
      
 297 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       317 
298 
     | 
    
         
             
                    },
         
     | 
| 
       318 
299 
     | 
    
         
             
                    "callNetworkQualityLow": {
         
     | 
| 
       319 
300 
     | 
    
         
             
                        "title": "網路品質不佳。",
         
     | 
| 
       320 
     | 
    
         
            -
                        " 
     | 
| 
      
 301 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
      
 302 
     | 
    
         
            +
                    },
         
     | 
| 
      
 303 
     | 
    
         
            +
                    "teamsMeetingCallNetworkQualityLow": {
         
     | 
| 
      
 304 
     | 
    
         
            +
                        "title": "網路品質不佳。",
         
     | 
| 
      
 305 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉",
         
     | 
| 
      
 306 
     | 
    
         
            +
                        "message": "從您的手機加入此通話以獲得更佳的音效。您可以繼續在此裝置上檢視會議。",
         
     | 
| 
      
 307 
     | 
    
         
            +
                        "primaryButtonLabel": "使用電話加入"
         
     | 
| 
       321 
308 
     | 
    
         
             
                    },
         
     | 
| 
       322 
309 
     | 
    
         
             
                    "callNoSpeakerFound": {
         
     | 
| 
       323 
310 
     | 
    
         
             
                        "title": "找不到喇叭或耳機",
         
     | 
| 
       324 
311 
     | 
    
         
             
                        "message": "連接音訊裝置以聆聽通話。",
         
     | 
| 
       325 
     | 
    
         
            -
                        " 
     | 
| 
      
 312 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       326 
313 
     | 
    
         
             
                    },
         
     | 
| 
       327 
314 
     | 
    
         
             
                    "callNoMicrophoneFound": {
         
     | 
| 
       328 
315 
     | 
    
         
             
                        "title": "找不到麥克風",
         
     | 
| 
       329 
316 
     | 
    
         
             
                        "message": "請連結音訊輸入裝置。",
         
     | 
| 
       330 
     | 
    
         
            -
                        " 
     | 
| 
      
 317 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       331 
318 
     | 
    
         
             
                    },
         
     | 
| 
       332 
319 
     | 
    
         
             
                    "callMicrophoneAccessDenied": {
         
     | 
| 
       333 
320 
     | 
    
         
             
                        "title": "無法存取麥克風",
         
     | 
| 
       334 
321 
     | 
    
         
             
                        "message": "按兩下網址列中的鎖定以授與此網頁的許可權。",
         
     | 
| 
       335 
     | 
    
         
            -
                        " 
     | 
| 
      
 322 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       336 
323 
     | 
    
         
             
                    },
         
     | 
| 
       337 
324 
     | 
    
         
             
                    "callMicrophoneAccessDeniedSafari": {
         
     | 
| 
       338 
325 
     | 
    
         
             
                        "title": "無法存取麥克風",
         
     | 
| 
       339 
326 
     | 
    
         
             
                        "message": "重新整理頁面以允許許可權,或檢查此瀏覽器的設定,並確認已啟用此網站的權限。",
         
     | 
| 
       340 
     | 
    
         
            -
                        " 
     | 
| 
      
 327 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       341 
328 
     | 
    
         
             
                    },
         
     | 
| 
       342 
329 
     | 
    
         
             
                    "callMicrophoneMutedBySystem": {
         
     | 
| 
       343 
330 
     | 
    
         
             
                        "title": "系統已將您設為靜音。",
         
     | 
| 
       344 
     | 
    
         
            -
                        " 
     | 
| 
      
 331 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       345 
332 
     | 
    
         
             
                    },
         
     | 
| 
       346 
333 
     | 
    
         
             
                    "callMicrophoneUnmutedBySystem": {
         
     | 
| 
       347 
334 
     | 
    
         
             
                        "title": "您的麥克風已復原,系統已取消您的靜音。",
         
     | 
| 
       348 
     | 
    
         
            -
                        " 
     | 
| 
      
 335 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       349 
336 
     | 
    
         
             
                    },
         
     | 
| 
       350 
337 
     | 
    
         
             
                    "callMacOsMicrophoneAccessDenied": {
         
     | 
| 
       351 
338 
     | 
    
         
             
                        "title": "無法存取麥克風",
         
     | 
| 
       352 
339 
     | 
    
         
             
                        "message": "在您的macOS隱私權設定中授與麥克風許可權。",
         
     | 
| 
       353 
     | 
    
         
            -
                        " 
     | 
| 
      
 340 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       354 
341 
     | 
    
         
             
                    },
         
     | 
| 
       355 
342 
     | 
    
         
             
                    "callLocalVideoFreeze": {
         
     | 
| 
       356 
343 
     | 
    
         
             
                        "title": "網路頻寬不佳",
         
     | 
| 
       357 
344 
     | 
    
         
             
                        "message": "通話中的其他人可能會暫停您的視訊。",
         
     | 
| 
       358 
     | 
    
         
            -
                        " 
     | 
| 
      
 345 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       359 
346 
     | 
    
         
             
                    },
         
     | 
| 
       360 
347 
     | 
    
         
             
                    "callCameraAccessDenied": {
         
     | 
| 
       361 
348 
     | 
    
         
             
                        "title": "無法存取相機",
         
     | 
| 
       362 
349 
     | 
    
         
             
                        "message": "按兩下網址列中的鎖定以授與此網頁的許可權。",
         
     | 
| 
       363 
     | 
    
         
            -
                        " 
     | 
| 
      
 350 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       364 
351 
     | 
    
         
             
                    },
         
     | 
| 
       365 
352 
     | 
    
         
             
                    "callCameraAccessDeniedSafari": {
         
     | 
| 
       366 
353 
     | 
    
         
             
                        "title": "無法存取相機",
         
     | 
| 
       367 
354 
     | 
    
         
             
                        "message": "重新整理頁面以允許許可權,或檢查此瀏覽器的設定,並確認已啟用此網站的權限。",
         
     | 
| 
       368 
     | 
    
         
            -
                        " 
     | 
| 
      
 355 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       369 
356 
     | 
    
         
             
                    },
         
     | 
| 
       370 
357 
     | 
    
         
             
                    "callCameraAlreadyInUse": {
         
     | 
| 
       371 
358 
     | 
    
         
             
                        "title": "無法存取相機",
         
     | 
| 
       372 
359 
     | 
    
         
             
                        "message": "其他應用程式可能已在使用它。",
         
     | 
| 
       373 
     | 
    
         
            -
                        " 
     | 
| 
      
 360 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       374 
361 
     | 
    
         
             
                    },
         
     | 
| 
       375 
362 
     | 
    
         
             
                    "callVideoStoppedBySystem": {
         
     | 
| 
       376 
363 
     | 
    
         
             
                        "title": "您的影片已遭系統停止。",
         
     | 
| 
       377 
     | 
    
         
            -
                        " 
     | 
| 
      
 364 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       378 
365 
     | 
    
         
             
                    },
         
     | 
| 
       379 
366 
     | 
    
         
             
                    "callVideoRecoveredBySystem": {
         
     | 
| 
       380 
     | 
    
         
            -
                        "title": " 
     | 
| 
       381 
     | 
    
         
            -
                        " 
     | 
| 
      
 367 
     | 
    
         
            +
                        "title": "您的影片已恢復播放。",
         
     | 
| 
      
 368 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       382 
369 
     | 
    
         
             
                    },
         
     | 
| 
       383 
370 
     | 
    
         
             
                    "callMacOsCameraAccessDenied": {
         
     | 
| 
       384 
371 
     | 
    
         
             
                        "title": "MacOS 禁止存取您的相機",
         
     | 
| 
       385 
372 
     | 
    
         
             
                        "message": "更新您的隱私權設定,以允許此瀏覽器存取您的相機。",
         
     | 
| 
       386 
     | 
    
         
            -
                        " 
     | 
| 
      
 373 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       387 
374 
     | 
    
         
             
                    },
         
     | 
| 
       388 
375 
     | 
    
         
             
                    "callMacOsScreenShareAccessDenied": {
         
     | 
| 
       389 
376 
     | 
    
         
             
                        "title": "MacOS 正在封鎖螢幕畫面分享",
         
     | 
| 
       390 
377 
     | 
    
         
             
                        "message": "更新您的隱私權設定,以允許此瀏覽器錄製您的螢幕。",
         
     | 
| 
       391 
     | 
    
         
            -
                        " 
     | 
| 
      
 378 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       392 
379 
     | 
    
         
             
                    },
         
     | 
| 
       393 
380 
     | 
    
         
             
                    "failedToJoinCallGeneric": {
         
     | 
| 
       394 
381 
     | 
    
         
             
                        "title": "無法加入通話。",
         
     | 
| 
       395 
     | 
    
         
            -
                        " 
     | 
| 
      
 382 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       396 
383 
     | 
    
         
             
                    },
         
     | 
| 
       397 
384 
     | 
    
         
             
                    "failedToJoinCallInvalidMeetingLink": {
         
     | 
| 
       398 
385 
     | 
    
         
             
                        "title": "無法加入會議。連結無效。",
         
     | 
| 
       399 
     | 
    
         
            -
                        " 
     | 
| 
      
 386 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       400 
387 
     | 
    
         
             
                    },
         
     | 
| 
       401 
388 
     | 
    
         
             
                    "cameraFrozenForRemoteParticipants": {
         
     | 
| 
       402 
389 
     | 
    
         
             
                        "title": "通話中的用戶在觀看您的視訊時發生問題",
         
     | 
| 
       403 
390 
     | 
    
         
             
                        "message": "請檢查您的裝置和網路。",
         
     | 
| 
       404 
     | 
    
         
            -
                        " 
     | 
| 
      
 391 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       405 
392 
     | 
    
         
             
                    },
         
     | 
| 
       406 
393 
     | 
    
         
             
                    "unableToStartVideoEffect": {
         
     | 
| 
       407 
394 
     | 
    
         
             
                        "title": "無法套用視訊效果。",
         
     | 
| 
       408 
     | 
    
         
            -
                        " 
     | 
| 
      
 395 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       409 
396 
     | 
    
         
             
                    },
         
     | 
| 
       410 
397 
     | 
    
         
             
                    "startSpotlightWhileMaxParticipantsAreSpotlighted": {
         
     | 
| 
       411 
398 
     | 
    
         
             
                        "title": "無法在參與者上啟動焦點",
         
     | 
| 
       412 
399 
     | 
    
         
             
                        "message": "參與者人數上限已成為焦點。",
         
     | 
| 
       413 
     | 
    
         
            -
                        " 
     | 
| 
      
 400 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
      
 401 
     | 
    
         
            +
                    },
         
     | 
| 
      
 402 
     | 
    
         
            +
                    "mutedByRemoteParticipant": {
         
     | 
| 
      
 403 
     | 
    
         
            +
                        "title": "另一位參與者已將您設為靜音。",
         
     | 
| 
      
 404 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
      
 405 
     | 
    
         
            +
                    },
         
     | 
| 
      
 406 
     | 
    
         
            +
                    "recordingStarted": {
         
     | 
| 
      
 407 
     | 
    
         
            +
                        "title": "錄製已啟動。",
         
     | 
| 
      
 408 
     | 
    
         
            +
                        "message": "一旦加入,即表示您同意轉譯此會議。",
         
     | 
| 
      
 409 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
      
 410 
     | 
    
         
            +
                    },
         
     | 
| 
      
 411 
     | 
    
         
            +
                    "transcriptionStarted": {
         
     | 
| 
      
 412 
     | 
    
         
            +
                        "title": "已開始轉錄。",
         
     | 
| 
      
 413 
     | 
    
         
            +
                        "message": "一旦加入,即表示您同意轉譯此會議。",
         
     | 
| 
      
 414 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
      
 415 
     | 
    
         
            +
                    },
         
     | 
| 
      
 416 
     | 
    
         
            +
                    "recordingStopped": {
         
     | 
| 
      
 417 
     | 
    
         
            +
                        "title": "正在儲存錄製內容。",
         
     | 
| 
      
 418 
     | 
    
         
            +
                        "message": "已停止錄製。",
         
     | 
| 
      
 419 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
      
 420 
     | 
    
         
            +
                    },
         
     | 
| 
      
 421 
     | 
    
         
            +
                    "transcriptionStopped": {
         
     | 
| 
      
 422 
     | 
    
         
            +
                        "title": "正在儲存轉錄。",
         
     | 
| 
      
 423 
     | 
    
         
            +
                        "message": "已停止轉錄。",
         
     | 
| 
      
 424 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
      
 425 
     | 
    
         
            +
                    },
         
     | 
| 
      
 426 
     | 
    
         
            +
                    "recordingAndTranscriptionStarted": {
         
     | 
| 
      
 427 
     | 
    
         
            +
                        "title": "已開始錄製並進行轉錄。",
         
     | 
| 
      
 428 
     | 
    
         
            +
                        "message": "一旦加入,即表示您同意轉譯此會議。",
         
     | 
| 
      
 429 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
      
 430 
     | 
    
         
            +
                    },
         
     | 
| 
      
 431 
     | 
    
         
            +
                    "recordingAndTranscriptionStopped": {
         
     | 
| 
      
 432 
     | 
    
         
            +
                        "title": "正在儲存錄製和轉錄。",
         
     | 
| 
      
 433 
     | 
    
         
            +
                        "message": "已停止錄製與轉錄。",
         
     | 
| 
      
 434 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
      
 435 
     | 
    
         
            +
                    },
         
     | 
| 
      
 436 
     | 
    
         
            +
                    "recordingStoppedStillTranscribing": {
         
     | 
| 
      
 437 
     | 
    
         
            +
                        "title": "已停止錄製。",
         
     | 
| 
      
 438 
     | 
    
         
            +
                        "message": "您現在只會轉錄此會議。",
         
     | 
| 
      
 439 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
      
 440 
     | 
    
         
            +
                    },
         
     | 
| 
      
 441 
     | 
    
         
            +
                    "transcriptionStoppedStillRecording": {
         
     | 
| 
      
 442 
     | 
    
         
            +
                        "title": "已停止轉錄。",
         
     | 
| 
      
 443 
     | 
    
         
            +
                        "message": "您現在只會錄製此會議。",
         
     | 
| 
      
 444 
     | 
    
         
            +
                        "dismissButtonAriaLabel": "關閉"
         
     | 
| 
       414 
445 
     | 
    
         
             
                    }
         
     | 
| 
       415 
446 
     | 
    
         
             
                },
         
     | 
| 
       416 
447 
     | 
    
         
             
                "videoGallery": {
         
     | 
| 
         @@ -436,7 +467,8 @@ 
     | 
|
| 
       436 
467 
     | 
    
         
             
                    "spotlightLimitReachedMenuTitle": "已達焦點限制",
         
     | 
| 
       437 
468 
     | 
    
         
             
                    "stopSpotlightVideoTileMenuLabel": "停止聚焦",
         
     | 
| 
       438 
469 
     | 
    
         
             
                    "stopSpotlightOnSelfVideoTileMenuLabel": "結束聚焦",
         
     | 
| 
       439 
     | 
    
         
            -
                    "attendeeRole": "出席者"
         
     | 
| 
      
 470 
     | 
    
         
            +
                    "attendeeRole": "出席者",
         
     | 
| 
      
 471 
     | 
    
         
            +
                    "muteParticipantMenuItemLabel": "靜音"
         
     | 
| 
       440 
472 
     | 
    
         
             
                },
         
     | 
| 
       441 
473 
     | 
    
         
             
                "dialpad": {
         
     | 
| 
       442 
474 
     | 
    
         
             
                    "placeholderText": "輸入電話號碼",
         
     | 
| 
         @@ -578,9 +610,15 @@ 
     | 
|
| 
       578 
610 
     | 
    
         
             
                    "meetingConferencePhoneInfoModalMeetingId": "輸入會議識別碼",
         
     | 
| 
       579 
611 
     | 
    
         
             
                    "meetingConferencePhoneInfoModalWait": "等候召集人獲准進入",
         
     | 
| 
       580 
612 
     | 
    
         
             
                    "meetingConferencePhoneInfoModalNoPhoneAvailable": "沒有可用的電話",
         
     | 
| 
       581 
     | 
    
         
            -
                    " 
     | 
| 
       582 
     | 
    
         
            -
                    " 
     | 
| 
       583 
     | 
    
         
            -
                    "meetingConferencePhoneInfoModalToll": " 
     | 
| 
       584 
     | 
    
         
            -
             
     | 
| 
      
 613 
     | 
    
         
            +
                    "meetingConferencePhoneInfoModalTollGeoData": "{country}, {city}",
         
     | 
| 
      
 614 
     | 
    
         
            +
                    "meetingConferencePhoneInfoModalTollFree": "(免付費電話)",
         
     | 
| 
      
 615 
     | 
    
         
            +
                    "meetingConferencePhoneInfoModalToll": "(付費)"
         
     | 
| 
      
 616 
     | 
    
         
            +
                },
         
     | 
| 
      
 617 
     | 
    
         
            +
                "IncomingCallNotification": {
         
     | 
| 
      
 618 
     | 
    
         
            +
                    "incomingCallNotificationPlaceholderId": "未知的使用者",
         
     | 
| 
      
 619 
     | 
    
         
            +
                    "incomingCallNotificationPlaceholderAlert": "來電",
         
     | 
| 
      
 620 
     | 
    
         
            +
                    "incomingCallNoticicationAcceptWithAudioAriaLabel": "接受音訊",
         
     | 
| 
      
 621 
     | 
    
         
            +
                    "incomingCallNoticicationAcceptWithVideoAriaLabel": "接受視訊",
         
     | 
| 
      
 622 
     | 
    
         
            +
                    "incomingCallNoticicationRejectAriaLabel": "拒絕"
         
     | 
| 
       585 
623 
     | 
    
         
             
                }
         
     | 
| 
       586 
624 
     | 
    
         
             
            }
         
     | 
| 
         @@ -42,11 +42,13 @@ import { SendBoxPicker } from '../common/SendBoxPicker'; 
     | 
|
| 
       42 
42 
     | 
    
         
             
            /* @conditional-compile-remove(rich-text-editor-composite-support) */
         
     | 
| 
       43 
43 
     | 
    
         
             
            import { loadRichTextSendBox } from '../common/SendBoxPicker';
         
     | 
| 
       44 
44 
     | 
    
         
             
            /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       45 
     | 
    
         
            -
            import {  
     | 
| 
       46 
     | 
    
         
            -
            /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       47 
     | 
    
         
            -
            import { removeImageTags } from './ImageUpload/ImageUploadUtils';
         
     | 
| 
      
 45 
     | 
    
         
            +
            import { getEditBoxMessagesImageUploadsInProgress, getSendBoxImageUploadsInProgress, onCancelInlineImageUploadHandlerForEditBox, onCancelInlineImageUploadHandlerForSendBox, onUploadInlineImageForEditBox, onUploadInlineImageForSendBox, removeImageTags } from './ImageUpload/ImageUploadUtils';
         
     | 
| 
       48 
46 
     | 
    
         
             
            /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       49 
47 
     | 
    
         
             
            import { isMicrosoftTeamsUserIdentifier } from '@azure/communication-common';
         
     | 
| 
      
 48 
     | 
    
         
            +
            /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
      
 49 
     | 
    
         
            +
            import { SEND_BOX_UPLOADS_KEY_VALUE } from '../common/constants';
         
     | 
| 
      
 50 
     | 
    
         
            +
            /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
      
 51 
     | 
    
         
            +
            import { ImageUploadReducer } from './ImageUpload/ImageUploadReducer';
         
     | 
| 
       50 
52 
     | 
    
         
             
            /**
         
     | 
| 
       51 
53 
     | 
    
         
             
             * @private
         
     | 
| 
       52 
54 
     | 
    
         
             
             */
         
     | 
| 
         @@ -65,12 +67,14 @@ export const ChatScreen = (props) => { 
     | 
|
| 
       65 
67 
     | 
    
         
             
                const adapter = useAdapter();
         
     | 
| 
       66 
68 
     | 
    
         
             
                const theme = useTheme();
         
     | 
| 
       67 
69 
     | 
    
         
             
                /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       68 
     | 
    
         
            -
                const [inlineImageUploads, handleInlineImageUploadAction, onUploadInlineImage, onCancelInlineImageUploadHandler] = useImageUpload();
         
     | 
| 
       69 
     | 
    
         
            -
                /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       70 
70 
     | 
    
         
             
                const [textOnlyChat, setTextOnlyChat] = useState(false);
         
     | 
| 
       71 
71 
     | 
    
         
             
                /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       72 
72 
     | 
    
         
             
                const [isACSChat, setIsACSChat] = useState(false);
         
     | 
| 
       73 
73 
     | 
    
         
             
                /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
      
 74 
     | 
    
         
            +
                const [editBoxInlineImageUploads, handleEditBoxInlineImageUploadAction] = useReducer(ImageUploadReducer, undefined);
         
     | 
| 
      
 75 
     | 
    
         
            +
                /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
      
 76 
     | 
    
         
            +
                const [sendBoxInlineImageUploads, handleSendBoxInlineImageUploadAction] = useReducer(ImageUploadReducer, undefined);
         
     | 
| 
      
 77 
     | 
    
         
            +
                /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       74 
78 
     | 
    
         
             
                useEffect(() => {
         
     | 
| 
       75 
79 
     | 
    
         
             
                    const updateChatState = (newState) => {
         
     | 
| 
       76 
80 
     | 
    
         
             
                        var _a, _b, _c, _d;
         
     | 
| 
         @@ -324,10 +328,6 @@ export const ChatScreen = (props) => { 
     | 
|
| 
       324 
328 
     | 
    
         
             
                const attachments = useMemo(() => {
         
     | 
| 
       325 
329 
     | 
    
         
             
                    return uploads === null || uploads === void 0 ? void 0 : uploads.map((v) => v.metadata);
         
     | 
| 
       326 
330 
     | 
    
         
             
                }, [uploads]);
         
     | 
| 
       327 
     | 
    
         
            -
                /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       328 
     | 
    
         
            -
                const imageUploadsInProgress = useMemo(() => {
         
     | 
| 
       329 
     | 
    
         
            -
                    return inlineImageUploads === null || inlineImageUploads === void 0 ? void 0 : inlineImageUploads.map((v) => v.metadata);
         
     | 
| 
       330 
     | 
    
         
            -
                }, [inlineImageUploads]);
         
     | 
| 
       331 
331 
     | 
    
         
             
                const onSendMessageHandler = useCallback(function (content, 
         
     | 
| 
       332 
332 
     | 
    
         
             
                /* @conditional-compile-remove(file-sharing-acs) */ /* @conditional-compile-remove(rich-text-editor-composite-support) */ options) {
         
     | 
| 
       333 
333 
     | 
    
         
             
                    return __awaiter(this, void 0, void 0, function* () {
         
     | 
| 
         @@ -337,7 +337,10 @@ export const ChatScreen = (props) => { 
     | 
|
| 
       337 
337 
     | 
    
         
             
                        /* @conditional-compile-remove(file-sharing-acs) */
         
     | 
| 
       338 
338 
     | 
    
         
             
                        handleUploadAction({ type: AttachmentUploadActionType.Clear });
         
     | 
| 
       339 
339 
     | 
    
         
             
                        /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       340 
     | 
    
         
            -
                         
     | 
| 
      
 340 
     | 
    
         
            +
                        handleSendBoxInlineImageUploadAction({
         
     | 
| 
      
 341 
     | 
    
         
            +
                            type: AttachmentUploadActionType.Clear,
         
     | 
| 
      
 342 
     | 
    
         
            +
                            messageId: SEND_BOX_UPLOADS_KEY_VALUE
         
     | 
| 
      
 343 
     | 
    
         
            +
                        });
         
     | 
| 
       341 
344 
     | 
    
         
             
                        /* @conditional-compile-remove(file-sharing-acs) */
         
     | 
| 
       342 
345 
     | 
    
         
             
                        yield adapter.sendMessage(content, {
         
     | 
| 
       343 
346 
     | 
    
         
             
                            attachments: attachments,
         
     | 
| 
         @@ -351,16 +354,19 @@ export const ChatScreen = (props) => { 
     | 
|
| 
       351 
354 
     | 
    
         
             
                            type: options === null || options === void 0 ? void 0 : options.type
         
     | 
| 
       352 
355 
     | 
    
         
             
                        });
         
     | 
| 
       353 
356 
     | 
    
         
             
                    });
         
     | 
| 
       354 
     | 
    
         
            -
                }, [adapter, /* @conditional-compile-remove(rich-text-editor-image-upload) */  
     | 
| 
      
 357 
     | 
    
         
            +
                }, [adapter, /* @conditional-compile-remove(rich-text-editor-image-upload) */ handleSendBoxInlineImageUploadAction]);
         
     | 
| 
       355 
358 
     | 
    
         
             
                const onUpdateMessageHandler = useCallback((messageId, content) => __awaiter(void 0, void 0, void 0, function* () {
         
     | 
| 
       356 
359 
     | 
    
         
             
                    yield messageThreadProps.onUpdateMessage(messageId, content);
         
     | 
| 
       357 
360 
     | 
    
         
             
                    /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       358 
     | 
    
         
            -
                     
     | 
| 
       359 
     | 
    
         
            -
                }), [ 
     | 
| 
      
 361 
     | 
    
         
            +
                    handleEditBoxInlineImageUploadAction({ type: AttachmentUploadActionType.Clear, messageId });
         
     | 
| 
      
 362 
     | 
    
         
            +
                }), [
         
     | 
| 
      
 363 
     | 
    
         
            +
                    /* @conditional-compile-remove(rich-text-editor-image-upload) */ handleEditBoxInlineImageUploadAction,
         
     | 
| 
      
 364 
     | 
    
         
            +
                    messageThreadProps
         
     | 
| 
      
 365 
     | 
    
         
            +
                ]);
         
     | 
| 
       360 
366 
     | 
    
         
             
                /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       361 
     | 
    
         
            -
                const onCancelEditMessageHandler = useCallback(() => {
         
     | 
| 
       362 
     | 
    
         
            -
                     
     | 
| 
       363 
     | 
    
         
            -
                }, [ 
     | 
| 
      
 367 
     | 
    
         
            +
                const onCancelEditMessageHandler = useCallback((messageId) => {
         
     | 
| 
      
 368 
     | 
    
         
            +
                    handleEditBoxInlineImageUploadAction({ type: AttachmentUploadActionType.Clear, messageId });
         
     | 
| 
      
 369 
     | 
    
         
            +
                }, [handleEditBoxInlineImageUploadAction]);
         
     | 
| 
       364 
370 
     | 
    
         
             
                /* @conditional-compile-remove(file-sharing-acs) */
         
     | 
| 
       365 
371 
     | 
    
         
             
                const onCancelUploadHandler = useCallback((id) => {
         
     | 
| 
       366 
372 
     | 
    
         
             
                    var _a, _b;
         
     | 
| 
         @@ -372,28 +378,57 @@ export const ChatScreen = (props) => { 
     | 
|
| 
       372 
378 
     | 
    
         
             
                    const onPasteCallback = isACSChat || textOnlyChat ? removeImageTags : undefined;
         
     | 
| 
       373 
379 
     | 
    
         
             
                    return (options === null || options === void 0 ? void 0 : options.richTextEditor)
         
     | 
| 
       374 
380 
     | 
    
         
             
                        ? {
         
     | 
| 
       375 
     | 
    
         
            -
                            /* @conditional-compile-remove(rich-text-editor-image-upload) */ onPaste: onPasteCallback 
     | 
| 
       376 
     | 
    
         
            -
                            /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       377 
     | 
    
         
            -
                            onUploadInlineImage: onUploadInlineImage,
         
     | 
| 
       378 
     | 
    
         
            -
                            /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       379 
     | 
    
         
            -
                            imageUploadsInProgress: imageUploadsInProgress,
         
     | 
| 
       380 
     | 
    
         
            -
                            /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       381 
     | 
    
         
            -
                            onCancelInlineImageUpload: onCancelInlineImageUploadHandler
         
     | 
| 
      
 381 
     | 
    
         
            +
                            /* @conditional-compile-remove(rich-text-editor-image-upload) */ onPaste: onPasteCallback
         
     | 
| 
       382 
382 
     | 
    
         
             
                        }
         
     | 
| 
       383 
383 
     | 
    
         
             
                        : undefined;
         
     | 
| 
       384 
384 
     | 
    
         
             
                }, [
         
     | 
| 
       385 
     | 
    
         
            -
                    /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       386 
     | 
    
         
            -
                    imageUploadsInProgress,
         
     | 
| 
       387 
     | 
    
         
            -
                    /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       388 
     | 
    
         
            -
                    onCancelInlineImageUploadHandler,
         
     | 
| 
       389 
     | 
    
         
            -
                    /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       390 
     | 
    
         
            -
                    onUploadInlineImage,
         
     | 
| 
       391 
385 
     | 
    
         
             
                    /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       392 
386 
     | 
    
         
             
                    isACSChat,
         
     | 
| 
       393 
387 
     | 
    
         
             
                    /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
       394 
388 
     | 
    
         
             
                    textOnlyChat,
         
     | 
| 
       395 
389 
     | 
    
         
             
                    options === null || options === void 0 ? void 0 : options.richTextEditor
         
     | 
| 
       396 
390 
     | 
    
         
             
                ]);
         
     | 
| 
      
 391 
     | 
    
         
            +
                /* @conditional-compile-remove(rich-text-editor-composite-support) */
         
     | 
| 
      
 392 
     | 
    
         
            +
                const richTextEditBoxOptions = useMemo(() => {
         
     | 
| 
      
 393 
     | 
    
         
            +
                    return (options === null || options === void 0 ? void 0 : options.richTextEditor)
         
     | 
| 
      
 394 
     | 
    
         
            +
                        ? Object.assign(Object.assign({}, richTextEditorOptions), { 
         
     | 
| 
      
 395 
     | 
    
         
            +
                            /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
      
 396 
     | 
    
         
            +
                            onUploadInlineImage: (imageUrl, imageFileName, messageId) => {
         
     | 
| 
      
 397 
     | 
    
         
            +
                                onUploadInlineImageForEditBox(imageUrl, imageFileName, messageId, adapter, handleEditBoxInlineImageUploadAction);
         
     | 
| 
      
 398 
     | 
    
         
            +
                            }, 
         
     | 
| 
      
 399 
     | 
    
         
            +
                            /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
      
 400 
     | 
    
         
            +
                            messagesImageUploadsInProgress: getEditBoxMessagesImageUploadsInProgress(editBoxInlineImageUploads), 
         
     | 
| 
      
 401 
     | 
    
         
            +
                            /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
      
 402 
     | 
    
         
            +
                            onCancelInlineImageUpload: (imageId, messageId) => {
         
     | 
| 
      
 403 
     | 
    
         
            +
                                onCancelInlineImageUploadHandlerForEditBox(imageId, messageId, editBoxInlineImageUploads, adapter, handleEditBoxInlineImageUploadAction);
         
     | 
| 
      
 404 
     | 
    
         
            +
                            } }) : undefined;
         
     | 
| 
      
 405 
     | 
    
         
            +
                }, [
         
     | 
| 
      
 406 
     | 
    
         
            +
                    options === null || options === void 0 ? void 0 : options.richTextEditor,
         
     | 
| 
      
 407 
     | 
    
         
            +
                    /* @conditional-compile-remove(rich-text-editor-image-upload) */ richTextEditorOptions,
         
     | 
| 
      
 408 
     | 
    
         
            +
                    /* @conditional-compile-remove(rich-text-editor-image-upload) */ editBoxInlineImageUploads,
         
     | 
| 
      
 409 
     | 
    
         
            +
                    /* @conditional-compile-remove(rich-text-editor-image-upload) */ adapter
         
     | 
| 
      
 410 
     | 
    
         
            +
                ]);
         
     | 
| 
      
 411 
     | 
    
         
            +
                /* @conditional-compile-remove(rich-text-editor-composite-support) */
         
     | 
| 
      
 412 
     | 
    
         
            +
                const richTextSendBoxOptions = useMemo(() => {
         
     | 
| 
      
 413 
     | 
    
         
            +
                    return (options === null || options === void 0 ? void 0 : options.richTextEditor)
         
     | 
| 
      
 414 
     | 
    
         
            +
                        ? Object.assign(Object.assign({}, richTextEditorOptions), { 
         
     | 
| 
      
 415 
     | 
    
         
            +
                            /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
      
 416 
     | 
    
         
            +
                            onUploadInlineImage: (imageUrl, imageFileName) => {
         
     | 
| 
      
 417 
     | 
    
         
            +
                                onUploadInlineImageForSendBox(imageUrl, imageFileName, adapter, handleSendBoxInlineImageUploadAction);
         
     | 
| 
      
 418 
     | 
    
         
            +
                            }, 
         
     | 
| 
      
 419 
     | 
    
         
            +
                            // onUploadInlineImageForSendBox,
         
     | 
| 
      
 420 
     | 
    
         
            +
                            /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
      
 421 
     | 
    
         
            +
                            imageUploadsInProgress: getSendBoxImageUploadsInProgress(sendBoxInlineImageUploads), 
         
     | 
| 
      
 422 
     | 
    
         
            +
                            /* @conditional-compile-remove(rich-text-editor-image-upload) */
         
     | 
| 
      
 423 
     | 
    
         
            +
                            onCancelInlineImageUpload: (imageId) => {
         
     | 
| 
      
 424 
     | 
    
         
            +
                                onCancelInlineImageUploadHandlerForSendBox(imageId, sendBoxInlineImageUploads, adapter, handleSendBoxInlineImageUploadAction);
         
     | 
| 
      
 425 
     | 
    
         
            +
                            } }) : undefined;
         
     | 
| 
      
 426 
     | 
    
         
            +
                }, [
         
     | 
| 
      
 427 
     | 
    
         
            +
                    options === null || options === void 0 ? void 0 : options.richTextEditor,
         
     | 
| 
      
 428 
     | 
    
         
            +
                    /* @conditional-compile-remove(rich-text-editor-image-upload) */ richTextEditorOptions,
         
     | 
| 
      
 429 
     | 
    
         
            +
                    /* @conditional-compile-remove(rich-text-editor-image-upload) */ sendBoxInlineImageUploads,
         
     | 
| 
      
 430 
     | 
    
         
            +
                    adapter
         
     | 
| 
      
 431 
     | 
    
         
            +
                ]);
         
     | 
| 
       397 
432 
     | 
    
         
             
                return (React.createElement(Stack, { className: chatContainer, grow: true },
         
     | 
| 
       398 
433 
     | 
    
         
             
                    (options === null || options === void 0 ? void 0 : options.topic) !== false && React.createElement(ChatHeader, Object.assign({}, headerProps)),
         
     | 
| 
       399 
434 
     | 
    
         
             
                    React.createElement(Stack, { className: chatArea, tokens: participantListContainerPadding, horizontal: true, grow: true },
         
     | 
| 
         @@ -409,7 +444,7 @@ export const ChatScreen = (props) => { 
     | 
|
| 
       409 
444 
     | 
    
         
             
                                /* @conditional-compile-remove(file-sharing-acs) */
         
     | 
| 
       410 
445 
     | 
    
         
             
                                onRenderAttachmentDownloads: onRenderAttachmentDownloads, inlineImageOptions: inlineImageOptions, numberOfChatMessagesToReload: defaultNumberOfChatMessagesToReload, styles: messageThreadStyles, 
         
     | 
| 
       411 
446 
     | 
    
         
             
                                /* @conditional-compile-remove(rich-text-editor-composite-support) */
         
     | 
| 
       412 
     | 
    
         
            -
                                richTextEditorOptions:  
     | 
| 
      
 447 
     | 
    
         
            +
                                richTextEditorOptions: richTextEditBoxOptions })),
         
     | 
| 
       413 
448 
     | 
    
         
             
                            React.createElement(Stack, { className: mergeStyles(sendboxContainerStyles) },
         
     | 
| 
       414 
449 
     | 
    
         
             
                                React.createElement("div", { className: mergeStyles(typingIndicatorContainerStyles) }, onRenderTypingIndicator ? (onRenderTypingIndicator(typingIndicatorProps.typingUsers)) : (React.createElement(TypingIndicator, Object.assign({}, typingIndicatorProps, { styles: typingIndicatorStyles })))),
         
     | 
| 
       415 
450 
     | 
    
         
             
                                React.createElement(Stack, { horizontal: formFactor === 'mobile' },
         
     | 
| 
         @@ -419,7 +454,7 @@ export const ChatScreen = (props) => { 
     | 
|
| 
       419 
454 
     | 
    
         
             
                                    React.createElement(Stack, { grow: true },
         
     | 
| 
       420 
455 
     | 
    
         
             
                                        React.createElement(SendBoxPicker, { styles: sendBoxStyles, autoFocus: options === null || options === void 0 ? void 0 : options.autoFocus, 
         
     | 
| 
       421 
456 
     | 
    
         
             
                                            /* @conditional-compile-remove(rich-text-editor-composite-support) */
         
     | 
| 
       422 
     | 
    
         
            -
                                            richTextEditorOptions:  
     | 
| 
      
 457 
     | 
    
         
            +
                                            richTextEditorOptions: richTextSendBoxOptions, 
         
     | 
| 
       423 
458 
     | 
    
         
             
                                            /* @conditional-compile-remove(file-sharing-acs) */
         
     | 
| 
       424 
459 
     | 
    
         
             
                                            attachments: attachments, 
         
     | 
| 
       425 
460 
     | 
    
         
             
                                            /* @conditional-compile-remove(file-sharing-acs) */
         
     |