@azure/communication-react 1.18.0-alpha-202406150014 → 1.18.0-alpha-202406191739
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 +54 -28
 - package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-XMNUmuTx.js → ChatMessageComponentAsRichTextEditBox-HBSSHZ2s.js} +2 -2
 - package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-XMNUmuTx.js.map → ChatMessageComponentAsRichTextEditBox-HBSSHZ2s.js.map} +1 -1
 - package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BLmR8ku0.js → RichTextSendBoxWrapper-DDN8Weyb.js} +2 -2
 - package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BLmR8ku0.js.map → RichTextSendBoxWrapper-DDN8Weyb.js.map} +1 -1
 - package/dist/dist-cjs/communication-react/{index-CzkriUUT.js → index-CAm6Qb1t.js} +638 -197
 - package/dist/dist-cjs/communication-react/index-CAm6Qb1t.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-component-bindings/src/errorNotificationsSelector.d.ts +22 -0
 - package/dist/dist-esm/calling-component-bindings/src/errorNotificationsSelector.js +146 -0
 - package/dist/dist-esm/calling-component-bindings/src/errorNotificationsSelector.js.map +1 -0
 - package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +1 -0
 - package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +7 -1
 - package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
 - package/dist/dist-esm/calling-component-bindings/src/index.d.ts +2 -0
 - package/dist/dist-esm/calling-component-bindings/src/index.js +2 -0
 - package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
 - package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +2 -1
 - package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js +5 -4
 - package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.d.ts +1 -0
 - package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.js +3 -3
 - package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js +1 -10
 - package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.d.ts +4 -0
 - package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.js +18 -21
 - package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/ErrorBar.js +1 -1
 - package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/Notifications.d.ts +23 -28
 - package/dist/dist-esm/react-components/src/components/Notifications.js +17 -7
 - package/dist/dist-esm/react-components/src/components/Notifications.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/ParticipantList.js +3 -2
 - package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.d.ts +2 -2
 - package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.js +1 -1
 - package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js +16 -29
 - package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +10 -4
 - package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/SendBox.js +9 -3
 - package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +1 -1
 - package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +1 -1
 - package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +1 -0
 - package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +3 -3
 - package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +2 -0
 - package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.d.ts +1 -1
 - package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js +10 -0
 - package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.d.ts +4 -0
 - package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.js +8 -0
 - package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +1 -1
 - package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +24 -13
 - package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.d.ts +4 -0
 - package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +9 -0
 - package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/utils.d.ts +32 -1
 - package/dist/dist-esm/react-components/src/components/utils.js +84 -0
 - package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
 - package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +170 -3
 - package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +168 -1
 - package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +170 -3
 - package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +168 -1
 - package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +2 -23
 - package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +170 -3
 - package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +168 -1
 - package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +170 -3
 - package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +168 -1
 - package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +170 -3
 - package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +168 -1
 - package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +168 -1
 - package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +168 -1
 - package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +168 -1
 - package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +168 -1
 - package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +170 -3
 - package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +168 -1
 - package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +170 -3
 - package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +170 -3
 - package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +170 -3
 - package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +170 -3
 - package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.d.ts +1 -0
 - package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +4 -4
 - package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
 - package/dist/dist-esm/react-components/src/theming/themes.js +13 -12
 - package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
 - package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +1 -1
 - package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +24 -5
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +20 -0
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +1 -0
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +8 -0
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +4 -0
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +4 -2
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +33 -5
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.d.ts +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +68 -4
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.d.ts +3 -2
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +4 -0
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +3 -2
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +5 -3
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +4 -2
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +4 -2
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +4 -2
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +1 -0
 - package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +6 -0
 - package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +4 -0
 - package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +1 -0
 - package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +6 -0
 - package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +26 -6
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js +5 -4
 - package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +1 -0
 - package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.d.ts +3 -2
 - package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +40 -2
 - package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +6 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +7 -1
 - package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +7 -1
 - package/dist/tsdoc-metadata.json +1 -1
 - package/package.json +10 -10
 - package/dist/dist-cjs/communication-react/index-CzkriUUT.js.map +0 -1
 
| 
         @@ -178,6 +178,13 @@ export declare interface ActiveNotification { 
     | 
|
| 
       178 
178 
     | 
    
         
             
                 * If set, notification will automatically dismiss after 5 seconds
         
     | 
| 
       179 
179 
     | 
    
         
             
                 */
         
     | 
| 
       180 
180 
     | 
    
         
             
                autoDismiss?: boolean;
         
     | 
| 
      
 181 
     | 
    
         
            +
                /**
         
     | 
| 
      
 182 
     | 
    
         
            +
                 * The latest timestamp when this notification was observed.
         
     | 
| 
      
 183 
     | 
    
         
            +
                 *
         
     | 
| 
      
 184 
     | 
    
         
            +
                 * When available, this is used to track notifications that have already been seen and dismissed
         
     | 
| 
      
 185 
     | 
    
         
            +
                 * by the user.
         
     | 
| 
      
 186 
     | 
    
         
            +
                 */
         
     | 
| 
      
 187 
     | 
    
         
            +
                timestamp?: Date;
         
     | 
| 
       181 
188 
     | 
    
         
             
            }
         
     | 
| 
       182 
189 
     | 
    
         | 
| 
       183 
190 
     | 
    
         
             
            /**
         
     | 
| 
         @@ -1116,6 +1123,10 @@ export declare interface CallAdapterCallOperations { 
     | 
|
| 
       1116 
1123 
     | 
    
         
             
                 * @param userId - Id of the participant to mute
         
     | 
| 
       1117 
1124 
     | 
    
         
             
                 */
         
     | 
| 
       1118 
1125 
     | 
    
         
             
                muteParticipant(userId: string): Promise<void>;
         
     | 
| 
      
 1126 
     | 
    
         
            +
                /**
         
     | 
| 
      
 1127 
     | 
    
         
            +
                 * Mute All participants
         
     | 
| 
      
 1128 
     | 
    
         
            +
                 */
         
     | 
| 
      
 1129 
     | 
    
         
            +
                muteAllRemoteParticipants(): Promise<void>;
         
     | 
| 
       1119 
1130 
     | 
    
         
             
            }
         
     | 
| 
       1120 
1131 
     | 
    
         | 
| 
       1121 
1132 
     | 
    
         
             
            /**
         
     | 
| 
         @@ -2724,6 +2735,26 @@ export declare interface CallCompositeStrings { 
     | 
|
| 
       2724 
2735 
     | 
    
         
             
                 * Error message when the meeting identifier or passcode is invalid
         
     | 
| 
       2725 
2736 
     | 
    
         
             
                 */
         
     | 
| 
       2726 
2737 
     | 
    
         
             
                phoneCallMoreButtonLabel: string;
         
     | 
| 
      
 2738 
     | 
    
         
            +
                /**
         
     | 
| 
      
 2739 
     | 
    
         
            +
                 * Label for mute all remote participants menu item in People Pane
         
     | 
| 
      
 2740 
     | 
    
         
            +
                 */
         
     | 
| 
      
 2741 
     | 
    
         
            +
                muteAllMenuLabel: string;
         
     | 
| 
      
 2742 
     | 
    
         
            +
                /**
         
     | 
| 
      
 2743 
     | 
    
         
            +
                 * Label for mute all prompt title
         
     | 
| 
      
 2744 
     | 
    
         
            +
                 */
         
     | 
| 
      
 2745 
     | 
    
         
            +
                muteAllDialogTitle: string;
         
     | 
| 
      
 2746 
     | 
    
         
            +
                /**
         
     | 
| 
      
 2747 
     | 
    
         
            +
                 * Label for mute all prompt content
         
     | 
| 
      
 2748 
     | 
    
         
            +
                 */
         
     | 
| 
      
 2749 
     | 
    
         
            +
                muteAllDialogContent: string;
         
     | 
| 
      
 2750 
     | 
    
         
            +
                /**
         
     | 
| 
      
 2751 
     | 
    
         
            +
                 * Label for mute all confirm button
         
     | 
| 
      
 2752 
     | 
    
         
            +
                 */
         
     | 
| 
      
 2753 
     | 
    
         
            +
                muteAllConfirmButtonLabel: string;
         
     | 
| 
      
 2754 
     | 
    
         
            +
                /**
         
     | 
| 
      
 2755 
     | 
    
         
            +
                 * Label for mute all cancel button
         
     | 
| 
      
 2756 
     | 
    
         
            +
                 */
         
     | 
| 
      
 2757 
     | 
    
         
            +
                muteAllCancelButtonLabel: string;
         
     | 
| 
       2727 
2758 
     | 
    
         
             
            }
         
     | 
| 
       2728 
2759 
     | 
    
         | 
| 
       2729 
2760 
     | 
    
         
             
            /**
         
     | 
| 
         @@ -3540,6 +3571,10 @@ export declare interface CallWithChatAdapterManagement { 
     | 
|
| 
       3540 
3571 
     | 
    
         
             
                 * Mute a participant
         
     | 
| 
       3541 
3572 
     | 
    
         
             
                 */
         
     | 
| 
       3542 
3573 
     | 
    
         
             
                muteParticipant(userIds: string): Promise<void>;
         
     | 
| 
      
 3574 
     | 
    
         
            +
                /**
         
     | 
| 
      
 3575 
     | 
    
         
            +
                 * Mute a participant
         
     | 
| 
      
 3576 
     | 
    
         
            +
                 */
         
     | 
| 
      
 3577 
     | 
    
         
            +
                muteAllRemoteParticipants(): Promise<void>;
         
     | 
| 
       3543 
3578 
     | 
    
         
             
            }
         
     | 
| 
       3544 
3579 
     | 
    
         | 
| 
       3545 
3580 
     | 
    
         
             
            /**
         
     | 
| 
         @@ -5449,6 +5484,7 @@ export declare interface CommonCallingHandlers { 
     | 
|
| 
       5449 
5484 
     | 
    
         
             
                onStopSpotlight: (userIds?: string[]) => Promise<void>;
         
     | 
| 
       5450 
5485 
     | 
    
         
             
                onStopAllSpotlight: () => Promise<void>;
         
     | 
| 
       5451 
5486 
     | 
    
         
             
                onMuteParticipant: (userId: string) => Promise<void>;
         
     | 
| 
      
 5487 
     | 
    
         
            +
                onMuteAllRemoteParticipants: () => Promise<void>;
         
     | 
| 
       5452 
5488 
     | 
    
         
             
            }
         
     | 
| 
       5453 
5489 
     | 
    
         | 
| 
       5454 
5490 
     | 
    
         
             
            /**
         
     | 
| 
         @@ -9033,6 +9069,22 @@ export declare interface NotificationsProps { 
     | 
|
| 
       9033 
9069 
     | 
    
         
             
                 * @defaultValue 2
         
     | 
| 
       9034 
9070 
     | 
    
         
             
                 */
         
     | 
| 
       9035 
9071 
     | 
    
         
             
                maxNotificationsToShow?: number;
         
     | 
| 
      
 9072 
     | 
    
         
            +
                /**
         
     | 
| 
      
 9073 
     | 
    
         
            +
                 * Callback called when the dismiss button is triggered.
         
     | 
| 
      
 9074 
     | 
    
         
            +
                 * Use this to control notifications shown when they dismissed by the user.
         
     | 
| 
      
 9075 
     | 
    
         
            +
                 * Note this onDismiss function will affect all notifications in the same stack
         
     | 
| 
      
 9076 
     | 
    
         
            +
                 */
         
     | 
| 
      
 9077 
     | 
    
         
            +
                onDismissNotification?: (dismissedNotifications: ActiveNotification) => void;
         
     | 
| 
      
 9078 
     | 
    
         
            +
                /**
         
     | 
| 
      
 9079 
     | 
    
         
            +
                 * If set, notifications with {@link ActiveNotification.timestamp} older than the time this component is mounted
         
     | 
| 
      
 9080 
     | 
    
         
            +
                 * are not shown.
         
     | 
| 
      
 9081 
     | 
    
         
            +
                 *
         
     | 
| 
      
 9082 
     | 
    
         
            +
                 * This is useful when using the {@link Notifications} with a stateful client that handles more than one call
         
     | 
| 
      
 9083 
     | 
    
         
            +
                 * or chat thread. Set this prop to ignore notifications from previous call or chat.
         
     | 
| 
      
 9084 
     | 
    
         
            +
                 *
         
     | 
| 
      
 9085 
     | 
    
         
            +
                 * @defaultValue false
         
     | 
| 
      
 9086 
     | 
    
         
            +
                 */
         
     | 
| 
      
 9087 
     | 
    
         
            +
                ignorePremountNotifications?: boolean;
         
     | 
| 
       9036 
9088 
     | 
    
         
             
            }
         
     | 
| 
       9037 
9089 
     | 
    
         | 
| 
       9038 
9090 
     | 
    
         
             
            /**
         
     | 
| 
         @@ -9041,34 +9093,6 @@ export declare interface NotificationsProps { 
     | 
|
| 
       9041 
9093 
     | 
    
         
             
             * @beta
         
     | 
| 
       9042 
9094 
     | 
    
         
             
             */
         
     | 
| 
       9043 
9095 
     | 
    
         
             
            export declare interface NotificationsStrings {
         
     | 
| 
       9044 
     | 
    
         
            -
                /**
         
     | 
| 
       9045 
     | 
    
         
            -
                 * Unable to reach Chat service.
         
     | 
| 
       9046 
     | 
    
         
            -
                 *
         
     | 
| 
       9047 
     | 
    
         
            -
                 * This can mean:
         
     | 
| 
       9048 
     | 
    
         
            -
                 *   - Incorrect Azure Communication Services endpoint was provided.
         
     | 
| 
       9049 
     | 
    
         
            -
                 *   - User's network connection is down.
         
     | 
| 
       9050 
     | 
    
         
            -
                 */
         
     | 
| 
       9051 
     | 
    
         
            -
                unableToReachChatService: NotificationBarStrings;
         
     | 
| 
       9052 
     | 
    
         
            -
                /**
         
     | 
| 
       9053 
     | 
    
         
            -
                 * User does not have access to the Chat service.
         
     | 
| 
       9054 
     | 
    
         
            -
                 * This usually means that either the Azure Communication Services endpiont or the token provided are incorrect.
         
     | 
| 
       9055 
     | 
    
         
            -
                 */
         
     | 
| 
       9056 
     | 
    
         
            -
                accessDenied: NotificationBarStrings;
         
     | 
| 
       9057 
     | 
    
         
            -
                /**
         
     | 
| 
       9058 
     | 
    
         
            -
                 * User is no longer on the thread.
         
     | 
| 
       9059 
     | 
    
         
            -
                 *
         
     | 
| 
       9060 
     | 
    
         
            -
                 * See also: {@link NotificationsStrings.sendMessageNotInChatThread} for a more specific error.
         
     | 
| 
       9061 
     | 
    
         
            -
                 */
         
     | 
| 
       9062 
     | 
    
         
            -
                userNotInChatThread: NotificationBarStrings;
         
     | 
| 
       9063 
     | 
    
         
            -
                /**
         
     | 
| 
       9064 
     | 
    
         
            -
                 * Sending message failed because user is no longer on the thread.
         
     | 
| 
       9065 
     | 
    
         
            -
                 */
         
     | 
| 
       9066 
     | 
    
         
            -
                sendMessageNotInChatThread: NotificationBarStrings;
         
     | 
| 
       9067 
     | 
    
         
            -
                /**
         
     | 
| 
       9068 
     | 
    
         
            -
                 * A generic message when sending message fails.
         
     | 
| 
       9069 
     | 
    
         
            -
                 * Prefer more specific error strings when possible.
         
     | 
| 
       9070 
     | 
    
         
            -
                 */
         
     | 
| 
       9071 
     | 
    
         
            -
                sendMessageGeneric: NotificationBarStrings;
         
     | 
| 
       9072 
9096 
     | 
    
         
             
                /**
         
     | 
| 
       9073 
9097 
     | 
    
         
             
                 * A generic message when starting video fails.
         
     | 
| 
       9074 
9098 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -12105,6 +12129,8 @@ export declare interface VideoGalleryStrings { 
     | 
|
| 
       12105 
12129 
     | 
    
         
             
                stopSpotlightOnSelfVideoTileMenuLabel: string;
         
     | 
| 
       12106 
12130 
     | 
    
         
             
                /** String for the attendee role */
         
     | 
| 
       12107 
12131 
     | 
    
         
             
                attendeeRole: string;
         
     | 
| 
      
 12132 
     | 
    
         
            +
                /** Menu text shown in Video Tile contextual menu to mute a remote participant */
         
     | 
| 
      
 12133 
     | 
    
         
            +
                muteParticipantMenuItemLabel: string;
         
     | 
| 
       12108 
12134 
     | 
    
         
             
            }
         
     | 
| 
       12109 
12135 
     | 
    
         | 
| 
       12110 
12136 
     | 
    
         
             
            /**
         
     | 
| 
         @@ -4,7 +4,7 @@ var react = require('@fluentui/react'); 
     | 
|
| 
       4 
4 
     | 
    
         
             
            var reactChat = require('@fluentui-contrib/react-chat');
         
     | 
| 
       5 
5 
     | 
    
         
             
            var reactComponents = require('@fluentui/react-components');
         
     | 
| 
       6 
6 
     | 
    
         
             
            require('@azure/communication-common');
         
     | 
| 
       7 
     | 
    
         
            -
            var index = require('./index- 
     | 
| 
      
 7 
     | 
    
         
            +
            var index = require('./index-CAm6Qb1t.js');
         
     | 
| 
       8 
8 
     | 
    
         
             
            var React = require('react');
         
     | 
| 
       9 
9 
     | 
    
         
             
            require('reselect');
         
     | 
| 
       10 
10 
     | 
    
         
             
            require('@azure/communication-calling');
         
     | 
| 
         @@ -151,4 +151,4 @@ const ChatMessageComponentAsRichTextEditBox = (props) => { 
     | 
|
| 
       151 
151 
     | 
    
         | 
| 
       152 
152 
     | 
    
         
             
            exports.ChatMessageComponentAsRichTextEditBox = ChatMessageComponentAsRichTextEditBox;
         
     | 
| 
       153 
153 
     | 
    
         
             
            exports.default = ChatMessageComponentAsRichTextEditBox;
         
     | 
| 
       154 
     | 
    
         
            -
            //# sourceMappingURL=ChatMessageComponentAsRichTextEditBox- 
     | 
| 
      
 154 
     | 
    
         
            +
            //# sourceMappingURL=ChatMessageComponentAsRichTextEditBox-HBSSHZ2s.js.map
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"ChatMessageComponentAsRichTextEditBox-XMNUmuTx.js","sources":["../../../../react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.tsx"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { mergeStyles, Stack } from '@fluentui/react';\nimport { ChatMyMessage } from '@fluentui-contrib/react-chat';\nimport { mergeClasses } from '@fluentui/react-components';\nimport { _formatString } from '@internal/acs-ui-common';\nimport { useTheme } from '../../../theming';\nimport React, { useCallback, useEffect, useMemo, useState } from 'react';\n/* @conditional-compile-remove(file-sharing-acs) */\nimport { useReducer } from 'react';\nimport { editBoxWidthStyles, richTextEditBoxActionButtonIcon } from '../../styles/EditBox.styles';\nimport { InputBoxButton } from '../../InputBoxButton';\nimport { MessageThreadStrings } from '../../MessageThread';\nimport { useChatMyMessageStyles } from '../../styles/MessageThread.styles';\nimport { ChatMessage } from '../../../types';\nimport { _AttachmentUploadCards } from '../../Attachment/AttachmentUploadCards';\n/* @conditional-compile-remove(file-sharing-acs) */\nimport { AttachmentMetadata } from '@internal/acs-ui-common';\nimport { useChatMessageRichTextEditContainerStyles } from '../../styles/ChatMessageComponent.styles';\nimport { MAXIMUM_LENGTH_OF_MESSAGE } from '../../utils/SendBoxUtils';\nimport {\n  getMessageState,\n  onRenderCancelIcon,\n  onRenderSubmitIcon\n} from '../../utils/ChatMessageComponentAsEditBoxUtils';\n/* @conditional-compile-remove(file-sharing-acs) */\nimport {\n  attachmentMetadataReducer,\n  getMessageWithAttachmentMetadata,\n  doesMessageContainMultipleAttachments\n} from '../../utils/ChatMessageComponentAsEditBoxUtils';\nimport { RichTextEditorComponentRef } from '../../RichTextEditor/RichTextEditor';\nimport { RichTextInputBoxComponent } from '../../RichTextEditor/RichTextInputBoxComponent';\nimport { editBoxRichTextEditorStyle, richTextActionButtonsStyle } from '../../styles/RichTextEditor.styles';\nimport { RichTextSendBoxErrors } from '../../RichTextEditor/RichTextSendBoxErrors';\nimport { useLocale } from '../../../localization';\n/* @conditional-compile-remove(file-sharing-acs) */\nimport { FluentV9ThemeProvider } from '../../../theming/FluentV9ThemeProvider';\n/* @conditional-compile-remove(file-sharing-acs) */\nimport { attachmentUploadCardsStyles } from '../../styles/SendBox.styles';\n\n/** @private */\nexport type ChatMessageComponentAsRichTextEditBoxProps = {\n  onCancel?: (messageId: string) => void;\n  onSubmit: (\n    text: string,\n    /* @conditional-compile-remove(file-sharing-acs) */\n    attachmentMetadata?: AttachmentMetadata[]\n  ) => void;\n  message: ChatMessage;\n  strings: MessageThreadStrings;\n  /* @conditional-compile-remove(rich-text-editor-image-upload) */\n  onPaste?: (event: { content: DocumentFragment }) => void;\n};\n\n/**\n * @private\n */\nexport const ChatMessageComponentAsRichTextEditBox = (\n  props: ChatMessageComponentAsRichTextEditBoxProps\n): JSX.Element => {\n  const {\n    onCancel,\n    onSubmit,\n    strings,\n    message,\n    /* @conditional-compile-remove(rich-text-editor-image-upload) */\n    onPaste\n  } = props;\n\n  const [textValue, setTextValue] = useState<string>(message.content || '');\n  /* @conditional-compile-remove(file-sharing-acs) */\n  const [attachmentMetadata, handleAttachmentAction] = useReducer(\n    attachmentMetadataReducer,\n    getMessageWithAttachmentMetadata(message) ?? []\n  );\n  const editTextFieldRef = React.useRef<RichTextEditorComponentRef>(null);\n  const theme = useTheme();\n  const messageState = useMemo(() => {\n    return getMessageState(textValue, /* @conditional-compile-remove(file-sharing-acs) */ attachmentMetadata ?? []);\n  }, [/* @conditional-compile-remove(file-sharing-acs) */ attachmentMetadata, textValue]);\n\n  const submitEnabled = messageState === 'OK';\n\n  const editContainerStyles = useChatMessageRichTextEditContainerStyles();\n  const chatMyMessageStyles = useChatMyMessageStyles();\n  const locale = useLocale().strings;\n\n  const setText = useCallback((newValue?: string): void => {\n    setTextValue(newValue ?? '');\n  }, []);\n\n  useEffect(() => {\n    editTextFieldRef.current?.focus();\n  }, []);\n\n  const textTooLongMessage = useMemo(() => {\n    return messageState === 'too long'\n      ? _formatString(strings.editBoxTextLimit, { limitNumber: `${MAXIMUM_LENGTH_OF_MESSAGE}` })\n      : undefined;\n  }, [messageState, strings.editBoxTextLimit]);\n\n  const iconClassName = useCallback(\n    (isHover: boolean) => {\n      const color = isHover ? theme.palette.accent : theme.palette.neutralSecondary;\n      return mergeStyles(richTextEditBoxActionButtonIcon, { color });\n    },\n    [theme.palette.accent, theme.palette.neutralSecondary]\n  );\n\n  const onRenderThemedCancelIcon = useCallback(\n    (isHover: boolean) => {\n      return onRenderCancelIcon(iconClassName(isHover));\n    },\n    [iconClassName]\n  );\n\n  const onRenderThemedSubmitIcon = useCallback(\n    (isHover: boolean) => {\n      return onRenderSubmitIcon(iconClassName(isHover));\n    },\n    [iconClassName]\n  );\n\n  /* @conditional-compile-remove(file-sharing-acs) */\n  const hasMultipleAttachments = useMemo(() => {\n    return doesMessageContainMultipleAttachments(message);\n  }, [message]);\n\n  const actionButtons = useMemo(() => {\n    return (\n      <Stack horizontal>\n        <InputBoxButton\n          className={richTextActionButtonsStyle}\n          ariaLabel={strings.editBoxCancelButton}\n          tooltipContent={strings.editBoxCancelButton}\n          onRenderIcon={onRenderThemedCancelIcon}\n          onClick={() => {\n            onCancel && onCancel(message.messageId);\n          }}\n          id={'dismissIconWrapper'}\n          data-testId={strings.editBoxCancelButton}\n        />\n        <InputBoxButton\n          className={richTextActionButtonsStyle}\n          ariaLabel={strings.editBoxSubmitButton}\n          tooltipContent={strings.editBoxSubmitButton}\n          onRenderIcon={onRenderThemedSubmitIcon}\n          onClick={(e) => {\n            // it's very important to pass an empty attachment here\n            // so when user removes all attachments, UI can reflect it instantly\n            // if you set it to undefined, the attachments pre-edited would still be there\n            // until edit message event is received\n            submitEnabled &&\n              onSubmit(textValue, /* @conditional-compile-remove(file-sharing-acs) */ attachmentMetadata);\n            e.stopPropagation();\n          }}\n          id={'submitIconWrapper'}\n          data-testId={strings.editBoxSubmitButton}\n        />\n      </Stack>\n    );\n  }, [\n    /* @conditional-compile-remove(file-sharing-acs) */\n    attachmentMetadata,\n    message.messageId,\n    onCancel,\n    onRenderThemedCancelIcon,\n    onRenderThemedSubmitIcon,\n    onSubmit,\n    strings.editBoxCancelButton,\n    strings.editBoxSubmitButton,\n    submitEnabled,\n    textValue\n  ]);\n  const richTextLocaleStrings = useMemo(() => {\n    /* @conditional-compile-remove(rich-text-editor) */\n    return { ...locale.richTextSendBox, ...strings };\n    return locale.sendBox;\n  }, [\n    /* @conditional-compile-remove(rich-text-editor) */ locale.richTextSendBox,\n    /* @conditional-compile-remove(rich-text-editor) */ strings,\n    locale.sendBox\n  ]);\n\n  /* @conditional-compile-remove(file-sharing-acs) */\n  const onCancelAttachmentUpload = useCallback((attachmentId: string) => {\n    // edit box only capable of removing attachments\n    // we need to expand attachment actions\n    // if we want to support more actions e.g. add\n    handleAttachmentAction({ type: 'remove', id: attachmentId });\n  }, []);\n\n  /* @conditional-compile-remove(file-sharing-acs) */\n  const onRenderAttachmentUploads = useCallback(() => {\n    return (\n      <Stack className={attachmentUploadCardsStyles}>\n        <FluentV9ThemeProvider v8Theme={theme}>\n          <_AttachmentUploadCards\n            attachments={attachmentMetadata}\n            onCancelAttachmentUpload={onCancelAttachmentUpload}\n          />\n        </FluentV9ThemeProvider>\n      </Stack>\n    );\n  }, [attachmentMetadata, onCancelAttachmentUpload, theme]);\n\n  const getContent = (): JSX.Element => {\n    return (\n      <Stack className={mergeStyles(editBoxWidthStyles)}>\n        <RichTextSendBoxErrors textTooLongMessage={textTooLongMessage} systemMessage={message.failureReason} />\n        <RichTextInputBoxComponent\n          placeholderText={strings.editBoxPlaceholderText}\n          onChange={setText}\n          editorComponentRef={editTextFieldRef}\n          initialContent={message.content}\n          strings={richTextLocaleStrings}\n          disabled={false}\n          actionComponents={actionButtons}\n          richTextEditorStyleProps={editBoxRichTextEditorStyle}\n          isHorizontalLayoutDisabled={true}\n          /* @conditional-compile-remove(file-sharing-acs) */\n          onRenderAttachmentUploads={onRenderAttachmentUploads}\n          /* @conditional-compile-remove(rich-text-editor-image-upload) */\n          onPaste={onPaste}\n        />\n      </Stack>\n    );\n  };\n\n  const attached = message.attached === true ? 'center' : message.attached === 'bottom' ? 'bottom' : 'top';\n  return (\n    <ChatMyMessage\n      attached={attached}\n      root={{\n        className: mergeClasses(\n          chatMyMessageStyles.root,\n          /* @conditional-compile-remove(file-sharing-acs) */\n          hasMultipleAttachments ? chatMyMessageStyles.multipleAttachments : undefined\n        )\n      }}\n      body={{\n        className: mergeClasses(\n          editContainerStyles.body,\n          attached !== 'top' ? editContainerStyles.bodyAttached : undefined\n        )\n      }}\n    >\n      {getContent()}\n    </ChatMyMessage>\n  );\n};\n\nexport default ChatMessageComponentAsRichTextEditBox;\n"],"names":["useState","useReducer","attachmentMetadataReducer","getMessageWithAttachmentMetadata","useTheme","useMemo","getMessageState","useChatMessageRichTextEditContainerStyles","useChatMyMessageStyles","useLocale","useCallback","useEffect","_formatString","MAXIMUM_LENGTH_OF_MESSAGE","mergeStyles","richTextEditBoxActionButtonIcon","onRenderCancelIcon","onRenderSubmitIcon","doesMessageContainMultipleAttachments","Stack","InputBoxButton","richTextActionButtonsStyle","attachmentUploadCardsStyles","FluentV9ThemeProvider","_AttachmentUploadCards","editBoxWidthStyles","RichTextSendBoxErrors","RichTextInputBoxComponent","editBoxRichTextEditorStyle","ChatMyMessage","mergeClasses"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAuDA;;AAEG;AACU,MAAA,qCAAqC,GAAG,CACnD,KAAiD,KAClC;;AACf,IAAA,MAAM,EACJ,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO;;IAEP,OAAO,EACR,GAAG,KAAK,CAAC;AAEV,IAAA,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAGA,cAAQ,CAAS,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;;AAE1E,IAAA,MAAM,CAAC,kBAAkB,EAAE,sBAAsB,CAAC,GAAGC,gBAAU,CAC7DC,+BAAyB,EACzB,CAAA,EAAA,GAAAC,sCAAgC,CAAC,OAAO,CAAC,MAAI,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,EAAA,GAAA,EAAE,CAChD,CAAC;IACF,MAAM,gBAAgB,GAAG,KAAK,CAAC,MAAM,CAA6B,IAAI,CAAC,CAAC;AACxE,IAAA,MAAM,KAAK,GAAGC,cAAQ,EAAE,CAAC;AACzB,IAAA,MAAM,YAAY,GAAGC,aAAO,CAAC,MAAK;AAChC,QAAA,OAAOC,qBAAe,CAAC,SAAS,sDAAsD,kBAAkB,KAAlB,IAAA,IAAA,kBAAkB,KAAlB,KAAA,CAAA,GAAA,kBAAkB,GAAI,EAAE,CAAC,CAAC;KACjH,EAAE,qDAAqD,kBAAkB,EAAE,SAAS,CAAC,CAAC,CAAC;AAExF,IAAA,MAAM,aAAa,GAAG,YAAY,KAAK,IAAI,CAAC;AAE5C,IAAA,MAAM,mBAAmB,GAAGC,+CA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,EAChB;AACJ;;;;;"}
         
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"ChatMessageComponentAsRichTextEditBox-HBSSHZ2s.js","sources":["../../../../react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.tsx"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { mergeStyles, Stack } from '@fluentui/react';\nimport { ChatMyMessage } from '@fluentui-contrib/react-chat';\nimport { mergeClasses } from '@fluentui/react-components';\nimport { _formatString } from '@internal/acs-ui-common';\nimport { useTheme } from '../../../theming';\nimport React, { useCallback, useEffect, useMemo, useState } from 'react';\n/* @conditional-compile-remove(file-sharing-acs) */\nimport { useReducer } from 'react';\nimport { editBoxWidthStyles, richTextEditBoxActionButtonIcon } from '../../styles/EditBox.styles';\nimport { InputBoxButton } from '../../InputBoxButton';\nimport { MessageThreadStrings } from '../../MessageThread';\nimport { useChatMyMessageStyles } from '../../styles/MessageThread.styles';\nimport { ChatMessage } from '../../../types';\nimport { _AttachmentUploadCards } from '../../Attachment/AttachmentUploadCards';\n/* @conditional-compile-remove(file-sharing-acs) */\nimport { AttachmentMetadata } from '@internal/acs-ui-common';\nimport { useChatMessageRichTextEditContainerStyles } from '../../styles/ChatMessageComponent.styles';\nimport { MAXIMUM_LENGTH_OF_MESSAGE } from '../../utils/SendBoxUtils';\nimport {\n  getMessageState,\n  onRenderCancelIcon,\n  onRenderSubmitIcon\n} from '../../utils/ChatMessageComponentAsEditBoxUtils';\n/* @conditional-compile-remove(file-sharing-acs) */\nimport {\n  attachmentMetadataReducer,\n  getMessageWithAttachmentMetadata,\n  doesMessageContainMultipleAttachments\n} from '../../utils/ChatMessageComponentAsEditBoxUtils';\nimport { RichTextEditorComponentRef } from '../../RichTextEditor/RichTextEditor';\nimport { RichTextInputBoxComponent } from '../../RichTextEditor/RichTextInputBoxComponent';\nimport { editBoxRichTextEditorStyle, richTextActionButtonsStyle } from '../../styles/RichTextEditor.styles';\nimport { RichTextSendBoxErrors } from '../../RichTextEditor/RichTextSendBoxErrors';\nimport { useLocale } from '../../../localization';\n/* @conditional-compile-remove(file-sharing-acs) */\nimport { FluentV9ThemeProvider } from '../../../theming/FluentV9ThemeProvider';\n/* @conditional-compile-remove(file-sharing-acs) */\nimport { attachmentUploadCardsStyles } from '../../styles/SendBox.styles';\n\n/** @private */\nexport type ChatMessageComponentAsRichTextEditBoxProps = {\n  onCancel?: (messageId: string) => void;\n  onSubmit: (\n    text: string,\n    /* @conditional-compile-remove(file-sharing-acs) */\n    attachmentMetadata?: AttachmentMetadata[]\n  ) => void;\n  message: ChatMessage;\n  strings: MessageThreadStrings;\n  /* @conditional-compile-remove(rich-text-editor-image-upload) */\n  onPaste?: (event: { content: DocumentFragment }) => void;\n};\n\n/**\n * @private\n */\nexport const ChatMessageComponentAsRichTextEditBox = (\n  props: ChatMessageComponentAsRichTextEditBoxProps\n): JSX.Element => {\n  const {\n    onCancel,\n    onSubmit,\n    strings,\n    message,\n    /* @conditional-compile-remove(rich-text-editor-image-upload) */\n    onPaste\n  } = props;\n\n  const [textValue, setTextValue] = useState<string>(message.content || '');\n  /* @conditional-compile-remove(file-sharing-acs) */\n  const [attachmentMetadata, handleAttachmentAction] = useReducer(\n    attachmentMetadataReducer,\n    getMessageWithAttachmentMetadata(message) ?? []\n  );\n  const editTextFieldRef = React.useRef<RichTextEditorComponentRef>(null);\n  const theme = useTheme();\n  const messageState = useMemo(() => {\n    return getMessageState(textValue, /* @conditional-compile-remove(file-sharing-acs) */ attachmentMetadata ?? []);\n  }, [/* @conditional-compile-remove(file-sharing-acs) */ attachmentMetadata, textValue]);\n\n  const submitEnabled = messageState === 'OK';\n\n  const editContainerStyles = useChatMessageRichTextEditContainerStyles();\n  const chatMyMessageStyles = useChatMyMessageStyles();\n  const locale = useLocale().strings;\n\n  const setText = useCallback((newValue?: string): void => {\n    setTextValue(newValue ?? '');\n  }, []);\n\n  useEffect(() => {\n    editTextFieldRef.current?.focus();\n  }, []);\n\n  const textTooLongMessage = useMemo(() => {\n    return messageState === 'too long'\n      ? _formatString(strings.editBoxTextLimit, { limitNumber: `${MAXIMUM_LENGTH_OF_MESSAGE}` })\n      : undefined;\n  }, [messageState, strings.editBoxTextLimit]);\n\n  const iconClassName = useCallback(\n    (isHover: boolean) => {\n      const color = isHover ? theme.palette.accent : theme.palette.neutralSecondary;\n      return mergeStyles(richTextEditBoxActionButtonIcon, { color });\n    },\n    [theme.palette.accent, theme.palette.neutralSecondary]\n  );\n\n  const onRenderThemedCancelIcon = useCallback(\n    (isHover: boolean) => {\n      return onRenderCancelIcon(iconClassName(isHover));\n    },\n    [iconClassName]\n  );\n\n  const onRenderThemedSubmitIcon = useCallback(\n    (isHover: boolean) => {\n      return onRenderSubmitIcon(iconClassName(isHover));\n    },\n    [iconClassName]\n  );\n\n  /* @conditional-compile-remove(file-sharing-acs) */\n  const hasMultipleAttachments = useMemo(() => {\n    return doesMessageContainMultipleAttachments(message);\n  }, [message]);\n\n  const actionButtons = useMemo(() => {\n    return (\n      <Stack horizontal>\n        <InputBoxButton\n          className={richTextActionButtonsStyle}\n          ariaLabel={strings.editBoxCancelButton}\n          tooltipContent={strings.editBoxCancelButton}\n          onRenderIcon={onRenderThemedCancelIcon}\n          onClick={() => {\n            onCancel && onCancel(message.messageId);\n          }}\n          id={'dismissIconWrapper'}\n          data-testId={strings.editBoxCancelButton}\n        />\n        <InputBoxButton\n          className={richTextActionButtonsStyle}\n          ariaLabel={strings.editBoxSubmitButton}\n          tooltipContent={strings.editBoxSubmitButton}\n          onRenderIcon={onRenderThemedSubmitIcon}\n          onClick={(e) => {\n            // it's very important to pass an empty attachment here\n            // so when user removes all attachments, UI can reflect it instantly\n            // if you set it to undefined, the attachments pre-edited would still be there\n            // until edit message event is received\n            submitEnabled &&\n              onSubmit(textValue, /* @conditional-compile-remove(file-sharing-acs) */ attachmentMetadata);\n            e.stopPropagation();\n          }}\n          id={'submitIconWrapper'}\n          data-testId={strings.editBoxSubmitButton}\n        />\n      </Stack>\n    );\n  }, [\n    /* @conditional-compile-remove(file-sharing-acs) */\n    attachmentMetadata,\n    message.messageId,\n    onCancel,\n    onRenderThemedCancelIcon,\n    onRenderThemedSubmitIcon,\n    onSubmit,\n    strings.editBoxCancelButton,\n    strings.editBoxSubmitButton,\n    submitEnabled,\n    textValue\n  ]);\n  const richTextLocaleStrings = useMemo(() => {\n    /* @conditional-compile-remove(rich-text-editor) */\n    return { ...locale.richTextSendBox, ...strings };\n    return locale.sendBox;\n  }, [\n    /* @conditional-compile-remove(rich-text-editor) */ locale.richTextSendBox,\n    /* @conditional-compile-remove(rich-text-editor) */ strings,\n    locale.sendBox\n  ]);\n\n  /* @conditional-compile-remove(file-sharing-acs) */\n  const onCancelAttachmentUpload = useCallback((attachmentId: string) => {\n    // edit box only capable of removing attachments\n    // we need to expand attachment actions\n    // if we want to support more actions e.g. add\n    handleAttachmentAction({ type: 'remove', id: attachmentId });\n  }, []);\n\n  /* @conditional-compile-remove(file-sharing-acs) */\n  const onRenderAttachmentUploads = useCallback(() => {\n    return (\n      <Stack className={attachmentUploadCardsStyles}>\n        <FluentV9ThemeProvider v8Theme={theme}>\n          <_AttachmentUploadCards\n            attachments={attachmentMetadata}\n            onCancelAttachmentUpload={onCancelAttachmentUpload}\n          />\n        </FluentV9ThemeProvider>\n      </Stack>\n    );\n  }, [attachmentMetadata, onCancelAttachmentUpload, theme]);\n\n  const getContent = (): JSX.Element => {\n    return (\n      <Stack className={mergeStyles(editBoxWidthStyles)}>\n        <RichTextSendBoxErrors textTooLongMessage={textTooLongMessage} systemMessage={message.failureReason} />\n        <RichTextInputBoxComponent\n          placeholderText={strings.editBoxPlaceholderText}\n          onChange={setText}\n          editorComponentRef={editTextFieldRef}\n          initialContent={message.content}\n          strings={richTextLocaleStrings}\n          disabled={false}\n          actionComponents={actionButtons}\n          richTextEditorStyleProps={editBoxRichTextEditorStyle}\n          isHorizontalLayoutDisabled={true}\n          /* @conditional-compile-remove(file-sharing-acs) */\n          onRenderAttachmentUploads={onRenderAttachmentUploads}\n          /* @conditional-compile-remove(rich-text-editor-image-upload) */\n          onPaste={onPaste}\n        />\n      </Stack>\n    );\n  };\n\n  const attached = message.attached === true ? 'center' : message.attached === 'bottom' ? 'bottom' : 'top';\n  return (\n    <ChatMyMessage\n      attached={attached}\n      root={{\n        className: mergeClasses(\n          chatMyMessageStyles.root,\n          /* @conditional-compile-remove(file-sharing-acs) */\n          hasMultipleAttachments ? chatMyMessageStyles.multipleAttachments : undefined\n        )\n      }}\n      body={{\n        className: mergeClasses(\n          editContainerStyles.body,\n          attached !== 'top' ? editContainerStyles.bodyAttached : undefined\n        )\n      }}\n    >\n      {getContent()}\n    </ChatMyMessage>\n  );\n};\n\nexport default ChatMessageComponentAsRichTextEditBox;\n"],"names":["useState","useReducer","attachmentMetadataReducer","getMessageWithAttachmentMetadata","useTheme","useMemo","getMessageState","useChatMessageRichTextEditContainerStyles","useChatMyMessageStyles","useLocale","useCallback","useEffect","_formatString","MAXIMUM_LENGTH_OF_MESSAGE","mergeStyles","richTextEditBoxActionButtonIcon","onRenderCancelIcon","onRenderSubmitIcon","doesMessageContainMultipleAttachments","Stack","InputBoxButton","richTextActionButtonsStyle","attachmentUploadCardsStyles","FluentV9ThemeProvider","_AttachmentUploadCards","editBoxWidthStyles","RichTextSendBoxErrors","RichTextInputBoxComponent","editBoxRichTextEditorStyle","ChatMyMessage","mergeClasses"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAuDA;;AAEG;AACU,MAAA,qCAAqC,GAAG,CACnD,KAAiD,KAClC;;AACf,IAAA,MAAM,EACJ,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO;;IAEP,OAAO,EACR,GAAG,KAAK,CAAC;AAEV,IAAA,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAGA,cAAQ,CAAS,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;;AAE1E,IA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,EACpD,0BAA0B,EAAE,IAAI;;AAEhC,gBAAA,yBAAyB,EAAE,yBAAyB;;AAEpD,gBAAA,OAAO,EAAE,OAAO,EAChB,CAAA,CACI,EACR;AACJ,KAAC,CAAC;IAEF,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,KAAK,IAAI,GAAG,QAAQ,GAAG,OAAO,CAAC,QAAQ,KAAK,QAAQ,GAAG,QAAQ,GAAG,KAAK,CAAC;IACzG,QACE,oBAACC,uBAAa,EAAA,EACZ,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE;AACJ,YAAA,SAAS,EAAEC,4BAAY,CACrB,mBAAmB,CAAC,IAAI;;YAExB,sBAAsB,GAAG,mBAAmB,CAAC,mBAAmB,GAAG,SAAS,CAC7E;AACF,SAAA,EACD,IAAI,EAAE;YACJ,SAAS,EAAEA,4BAAY,CACrB,mBAAmB,CAAC,IAAI,EACxB,QAAQ,KAAK,KAAK,GAAG,mBAAmB,CAAC,YAAY,GAAG,SAAS,CAClE;AACF,SAAA,EAAA,EAEA,UAAU,EAAE,CACC,EAChB;AACJ;;;;;"}
         
     | 
| 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            'use strict';
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            var React = require('react');
         
     | 
| 
       4 
     | 
    
         
            -
            var index = require('./index- 
     | 
| 
      
 4 
     | 
    
         
            +
            var index = require('./index-CAm6Qb1t.js');
         
     | 
| 
       5 
5 
     | 
    
         
             
            require('@fluentui/react');
         
     | 
| 
       6 
6 
     | 
    
         
             
            require('@fluentui/react-components');
         
     | 
| 
       7 
7 
     | 
    
         
             
            require('@fluentui-contrib/react-chat');
         
     | 
| 
         @@ -50,4 +50,4 @@ const RichTextSendBoxWrapper = (props) => { 
     | 
|
| 
       50 
50 
     | 
    
         
             
            };
         
     | 
| 
       51 
51 
     | 
    
         | 
| 
       52 
52 
     | 
    
         
             
            exports.RichTextSendBoxWrapper = RichTextSendBoxWrapper;
         
     | 
| 
       53 
     | 
    
         
            -
            //# sourceMappingURL=RichTextSendBoxWrapper- 
     | 
| 
      
 53 
     | 
    
         
            +
            //# sourceMappingURL=RichTextSendBoxWrapper-DDN8Weyb.js.map
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"RichTextSendBoxWrapper- 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"RichTextSendBoxWrapper-DDN8Weyb.js","sources":["../../../../react-composites/src/composites/common/RichTextSendBoxWrapper.tsx"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/* @conditional-compile-remove(rich-text-editor-composite-support) */\nimport React from 'react';\n/* @conditional-compile-remove(rich-text-editor-composite-support) */\nimport { usePropsFor } from '../ChatComposite/hooks/usePropsFor';\n/* @conditional-compile-remove(rich-text-editor-composite-support) */\nimport { RichTextSendBox, RichTextSendBoxProps } from '@internal/react-components';\n\n/* @conditional-compile-remove(rich-text-editor-composite-support) */\n/**\n * @private\n *\n * Wrapper for RichTextSendBox component to allow us to use usePropsFor with richTextSendBox\n * before lazyLoading is done\n */\nexport const RichTextSendBoxWrapper = (props: RichTextSendBoxProps): JSX.Element => {\n  const richTextSendBoxProps = usePropsFor(RichTextSendBox);\n\n  return <RichTextSendBox {...richTextSendBoxProps} {...props} />;\n};\n"],"names":["usePropsFor","RichTextSendBox"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;AAOA;AACA;;;;;AAKG;AACU,MAAA,sBAAsB,GAAG,CAAC,KAA2B,KAAiB;AACjF,IAAA,MAAM,oBAAoB,GAAGA,iBAAW,CAACC,qBAAe,CAAC,CAAC;AAE1D,IAAA,OAAO,oBAACA,qBAAe,EAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,oBAAoB,EAAM,KAAK,EAAI,CAAC;AAClE;;;;"}
         
     |