@azure/communication-react 1.14.0-alpha-202403050012 → 1.14.0-alpha-202403070010
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 +119 -80
- package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-DQB5BrFt.js +51 -0
- package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-DQB5BrFt.js.map +1 -0
- package/dist/dist-cjs/communication-react/index-szH03w3_.js +38011 -0
- package/dist/dist-cjs/communication-react/index-szH03w3_.js.map +1 -0
- package/dist/dist-cjs/communication-react/index.js +157 -37735
- package/dist/dist-cjs/communication-react/index.js.map +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/chat-component-bindings/src/hooks/usePropsFor.d.ts +2 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js +5 -0
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +13 -38
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +3 -3
- package/dist/dist-esm/communication-react/src/index.js +2 -0
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +16 -34
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsRichTextEditBox.d.ts +18 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsRichTextEditBox.js +102 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsRichTextEditBox.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +3 -9
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +1 -28
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +5 -17
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/{RTE → RichTextEditor}/RichTextEditor.d.ts +14 -2
- package/dist/dist-esm/react-components/src/components/{RTE → RichTextEditor}/RichTextEditor.js +22 -21
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.d.ts +28 -0
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js +50 -0
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/{RTE/RTERibbonButtons.d.ts → RichTextEditor/RichTextRibbonButtons.d.ts} +2 -2
- package/dist/dist-esm/react-components/src/components/{RTE/RTERibbonButtons.js → RichTextEditor/RichTextRibbonButtons.js} +9 -9
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextRibbonButtons.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/{RTE/RTESendBox.d.ts → RichTextEditor/RichTextSendBox.d.ts} +5 -1
- package/dist/dist-esm/react-components/src/components/{RTE/RTESendBox.js → RichTextEditor/RichTextSendBox.js} +33 -20
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/{RTE/RTESendBoxErrors.d.ts → RichTextEditor/RichTextSendBoxErrors.d.ts} +3 -3
- package/dist/dist-esm/react-components/src/components/{RTE/RTESendBoxErrors.js → RichTextEditor/RichTextSendBoxErrors.js} +2 -2
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/SendBox.js +2 -2
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +3 -5
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +4 -7
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +5 -17
- package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +0 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +4 -7
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +1 -8
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +3 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +4 -2
- package/dist/dist-esm/react-components/src/components/index.js +4 -1
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +10 -0
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.d.ts +10 -4
- package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js +17 -4
- package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +34 -2
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +72 -11
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.d.ts +17 -0
- package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js +30 -0
- package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.d.ts +15 -0
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +22 -11
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.d.ts +23 -0
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js +44 -0
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +1 -1
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +2 -2
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +2 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +10 -8
- package/dist/dist-esm/react-components/src/theming/icons.js +13 -9
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +3 -10
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +7 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +2 -12
- 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/MediaGallery.js +2 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +4 -26
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +1 -5
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +14 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +10 -13
- 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/FileUpload.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +2 -8
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +1 -6
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.d.ts +9 -0
- package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.js +20 -0
- package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/SendBox.d.ts +17 -0
- package/dist/dist-esm/react-composites/src/composites/common/SendBox.js +46 -0
- package/dist/dist-esm/react-composites/src/composites/common/SendBox.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +10 -8
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +0 -9
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/package.json +2 -2
- package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.d.ts +0 -25
- package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js +0 -21
- package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js.map +0 -1
@@ -244,10 +244,31 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
244
244
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
245
245
|
|
246
246
|
/**
|
247
|
-
* Metadata containing information about the uploaded file.
|
247
|
+
* Metadata containing basic information about the uploaded file.
|
248
|
+
*
|
248
249
|
* @beta
|
249
250
|
*/
|
250
|
-
export declare
|
251
|
+
export declare interface AttachmentMetadata {
|
252
|
+
/**
|
253
|
+
* Extension hint, useful for rendering a specific icon.
|
254
|
+
* An unknown or empty extension will be rendered as a generic icon.
|
255
|
+
* Example: `pdf`
|
256
|
+
*/
|
257
|
+
extension: string;
|
258
|
+
/**
|
259
|
+
* Unique ID of the file.
|
260
|
+
*/
|
261
|
+
id: string;
|
262
|
+
/**
|
263
|
+
* File name to be displayed.
|
264
|
+
*/
|
265
|
+
name: string;
|
266
|
+
/**
|
267
|
+
* Download URL for the file.
|
268
|
+
*/
|
269
|
+
url: string;
|
270
|
+
payload?: Record<string, string>;
|
271
|
+
}
|
251
272
|
|
252
273
|
/**
|
253
274
|
* Custom data attributes for displaying avatar for a user.
|
@@ -4605,6 +4626,13 @@ export declare type ChatCompositeOptions = {
|
|
4605
4626
|
* @beta
|
4606
4627
|
*/
|
4607
4628
|
fileSharing?: FileSharingOptions;
|
4629
|
+
/**
|
4630
|
+
* Properties for configuring the richTextEditor feature.
|
4631
|
+
* @defaultValue false
|
4632
|
+
*
|
4633
|
+
* @beta
|
4634
|
+
*/
|
4635
|
+
richTextEditor?: boolean | RichTextEditorOptions;
|
4608
4636
|
};
|
4609
4637
|
|
4610
4638
|
/**
|
@@ -4754,15 +4782,9 @@ export declare interface ChatMessage extends MessageCommon {
|
|
4754
4782
|
/**
|
4755
4783
|
* @beta
|
4756
4784
|
* A list of file attachments for the message.
|
4757
|
-
* {@link
|
4758
|
-
*/
|
4759
|
-
files?: FileMetadata[];
|
4760
|
-
/**
|
4761
|
-
* @beta
|
4762
|
-
* A list of inline images embedded in the message.
|
4763
|
-
* {@link InlineImageMetadata}
|
4785
|
+
* {@link AttachmentMetadata}
|
4764
4786
|
*/
|
4765
|
-
|
4787
|
+
files?: AttachmentMetadata[];
|
4766
4788
|
}
|
4767
4789
|
|
4768
4790
|
/**
|
@@ -5390,7 +5412,7 @@ export declare interface ComponentStrings {
|
|
5390
5412
|
typingIndicator: TypingIndicatorStrings;
|
5391
5413
|
/** Strings for SendBox */
|
5392
5414
|
sendBox: SendBoxStrings;
|
5393
|
-
/** Strings for
|
5415
|
+
/** Strings for RichTextSendBox */
|
5394
5416
|
richTextSendBox: RichTextSendBoxStrings;
|
5395
5417
|
/** Strings for MentionPopover */
|
5396
5418
|
mentionPopover: MentionPopoverStrings;
|
@@ -6259,14 +6281,16 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
6259
6281
|
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
6260
6282
|
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
6261
6283
|
VideoSpotlighted: React_2.JSX.Element;
|
6262
|
-
|
6263
|
-
|
6264
|
-
|
6265
|
-
|
6266
|
-
|
6267
|
-
|
6268
|
-
|
6269
|
-
|
6284
|
+
RichTextBoldButtonIcon: React_2.JSX.Element;
|
6285
|
+
RichTextItalicButtonIcon: React_2.JSX.Element;
|
6286
|
+
RichTextUnderlineButtonIcon: React_2.JSX.Element;
|
6287
|
+
RichTextBulletListButtonIcon: React_2.JSX.Element;
|
6288
|
+
RichTextNumberListButtonIcon: React_2.JSX.Element;
|
6289
|
+
RichTextIndentDecreaseButtonIcon: React_2.JSX.Element;
|
6290
|
+
RichTextIndentIncreaseButtonIcon: React_2.JSX.Element;
|
6291
|
+
RichTextDividerIcon: React_2.JSX.Element;
|
6292
|
+
RichTextEditorButtonIcon: React_2.JSX.Element;
|
6293
|
+
RichTextEditorButtonIconFilled: React_2.JSX.Element;
|
6270
6294
|
};
|
6271
6295
|
|
6272
6296
|
/**
|
@@ -6418,14 +6442,16 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
6418
6442
|
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
6419
6443
|
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
6420
6444
|
VideoSpotlighted: React_2.JSX.Element;
|
6421
|
-
|
6422
|
-
|
6423
|
-
|
6424
|
-
|
6425
|
-
|
6426
|
-
|
6427
|
-
|
6428
|
-
|
6445
|
+
RichTextBoldButtonIcon: React_2.JSX.Element;
|
6446
|
+
RichTextItalicButtonIcon: React_2.JSX.Element;
|
6447
|
+
RichTextUnderlineButtonIcon: React_2.JSX.Element;
|
6448
|
+
RichTextBulletListButtonIcon: React_2.JSX.Element;
|
6449
|
+
RichTextNumberListButtonIcon: React_2.JSX.Element;
|
6450
|
+
RichTextIndentDecreaseButtonIcon: React_2.JSX.Element;
|
6451
|
+
RichTextIndentIncreaseButtonIcon: React_2.JSX.Element;
|
6452
|
+
RichTextDividerIcon: React_2.JSX.Element;
|
6453
|
+
RichTextEditorButtonIcon: React_2.JSX.Element;
|
6454
|
+
RichTextEditorButtonIconFilled: React_2.JSX.Element;
|
6429
6455
|
};
|
6430
6456
|
|
6431
6457
|
/**
|
@@ -7083,34 +7109,6 @@ export declare interface FileDownloadError {
|
|
7083
7109
|
*/
|
7084
7110
|
export declare type FileDownloadHandler = (userId: string, fileMetadata: AttachmentMetadata) => Promise<URL | FileDownloadError>;
|
7085
7111
|
|
7086
|
-
/**
|
7087
|
-
* Metadata containing basic information about the uploaded file.
|
7088
|
-
*
|
7089
|
-
* @beta
|
7090
|
-
*/
|
7091
|
-
export declare interface FileMetadata {
|
7092
|
-
attachmentType: 'file';
|
7093
|
-
/**
|
7094
|
-
* Extension hint, useful for rendering a specific icon.
|
7095
|
-
* An unknown or empty extension will be rendered as a generic icon.
|
7096
|
-
* Example: `pdf`
|
7097
|
-
*/
|
7098
|
-
extension: string;
|
7099
|
-
/**
|
7100
|
-
* Unique ID of the file.
|
7101
|
-
*/
|
7102
|
-
id: string;
|
7103
|
-
/**
|
7104
|
-
* File name to be displayed.
|
7105
|
-
*/
|
7106
|
-
name: string;
|
7107
|
-
/**
|
7108
|
-
* Download URL for the file.
|
7109
|
-
*/
|
7110
|
-
url: string;
|
7111
|
-
payload?: Record<string, string>;
|
7112
|
-
}
|
7113
|
-
|
7114
7112
|
/**
|
7115
7113
|
* Properties for configuring the File Sharing feature.
|
7116
7114
|
* @beta
|
@@ -7299,7 +7297,7 @@ export declare const getCallingSelector: <Component extends (props: any) => JSX.
|
|
7299
7297
|
*
|
7300
7298
|
* @public
|
7301
7299
|
*/
|
7302
|
-
export declare type GetChatSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof SendBox> extends true ? SendBoxSelector : AreEqual<Component, typeof MessageThread> extends true ? MessageThreadSelector : AreEqual<Component, typeof TypingIndicator> extends true ? TypingIndicatorSelector : AreEqual<Component, typeof ParticipantList> extends true ? ChatParticipantListSelector : AreEqual<Component, typeof ErrorBar> extends true ? ChatErrorBarSelector : undefined;
|
7300
|
+
export declare type GetChatSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof SendBox> extends true ? SendBoxSelector : AreEqual<Component, typeof RichTextSendBox> extends true ? SendBoxSelector : AreEqual<Component, typeof MessageThread> extends true ? MessageThreadSelector : AreEqual<Component, typeof TypingIndicator> extends true ? TypingIndicatorSelector : AreEqual<Component, typeof ParticipantList> extends true ? ChatParticipantListSelector : AreEqual<Component, typeof ErrorBar> extends true ? ChatErrorBarSelector : undefined;
|
7303
7301
|
|
7304
7302
|
/**
|
7305
7303
|
* Get the selector for a specified component.
|
@@ -7615,28 +7613,6 @@ export declare interface InlineImage {
|
|
7615
7613
|
imgAttrs: React_2.ImgHTMLAttributes<HTMLImageElement>;
|
7616
7614
|
}
|
7617
7615
|
|
7618
|
-
/**
|
7619
|
-
* Metadata for rendering images inline with a message.
|
7620
|
-
* This does not include images attached as files.
|
7621
|
-
* @beta
|
7622
|
-
*/
|
7623
|
-
export declare interface InlineImageMetadata {
|
7624
|
-
attachmentType: 'inlineImage';
|
7625
|
-
/**
|
7626
|
-
* Unique ID of the attachment.
|
7627
|
-
*/
|
7628
|
-
id: string;
|
7629
|
-
previewUrl?: string;
|
7630
|
-
/**
|
7631
|
-
* Download URL for the full resolution version.
|
7632
|
-
*/
|
7633
|
-
url: string;
|
7634
|
-
/**
|
7635
|
-
* Optional fetched Image source fot the full resolution version.
|
7636
|
-
*/
|
7637
|
-
fullSizeImageSrc?: string;
|
7638
|
-
}
|
7639
|
-
|
7640
7616
|
/**
|
7641
7617
|
* Options to display inline image in the inline image scenario.
|
7642
7618
|
*
|
@@ -8732,7 +8708,7 @@ export declare interface OptionsDevice {
|
|
8732
8708
|
*
|
8733
8709
|
* @public
|
8734
8710
|
*/
|
8735
|
-
export declare type OverflowGalleryPosition = 'horizontalBottom' | 'verticalRight' |
|
8711
|
+
export declare type OverflowGalleryPosition = 'horizontalBottom' | 'verticalRight' | 'horizontalTop';
|
8736
8712
|
|
8737
8713
|
/**
|
8738
8714
|
* A system message notifying that a participant was added to the chat thread.
|
@@ -9544,6 +9520,65 @@ export declare type ResourceDetails = {
|
|
9544
9520
|
resourceUrl: string;
|
9545
9521
|
};
|
9546
9522
|
|
9523
|
+
/**
|
9524
|
+
* Options for configuring the rich text editor.
|
9525
|
+
*
|
9526
|
+
* @beta
|
9527
|
+
*/
|
9528
|
+
export declare interface RichTextEditorOptions {
|
9529
|
+
}
|
9530
|
+
|
9531
|
+
/**
|
9532
|
+
* A component to render SendBox with Rich Text Editor support.
|
9533
|
+
*
|
9534
|
+
* @beta
|
9535
|
+
*/
|
9536
|
+
export declare const RichTextSendBox: (props: RichTextSendBoxProps) => JSX.Element;
|
9537
|
+
|
9538
|
+
/**
|
9539
|
+
* Props for {@link RichTextSendBox}.
|
9540
|
+
*
|
9541
|
+
* @beta
|
9542
|
+
*/
|
9543
|
+
export declare interface RichTextSendBoxProps {
|
9544
|
+
/**
|
9545
|
+
* Optional boolean to disable text box
|
9546
|
+
* @defaultValue false
|
9547
|
+
*/
|
9548
|
+
disabled?: boolean;
|
9549
|
+
/**
|
9550
|
+
* Optional strings to override in component
|
9551
|
+
*/
|
9552
|
+
strings?: Partial<RichTextSendBoxStrings>;
|
9553
|
+
/**
|
9554
|
+
* Optional text for system message above the text box
|
9555
|
+
*/
|
9556
|
+
systemMessage?: string;
|
9557
|
+
/**
|
9558
|
+
* Optional callback to render uploaded files in the SendBox. The sendBox will expand
|
9559
|
+
* vertically to accommodate the uploaded files. File uploads will
|
9560
|
+
* be rendered below the text area in sendBox.
|
9561
|
+
* @beta
|
9562
|
+
*/
|
9563
|
+
onRenderFileUploads?: () => JSX.Element;
|
9564
|
+
/**
|
9565
|
+
* Optional array of active file uploads where each object has attributes
|
9566
|
+
* of a file upload like name, progress, errorMessage etc.
|
9567
|
+
* @beta
|
9568
|
+
*/
|
9569
|
+
activeFileUploads?: ActiveFileUpload[];
|
9570
|
+
/**
|
9571
|
+
* Optional callback to remove the file upload before sending by clicking on
|
9572
|
+
* cancel icon.
|
9573
|
+
* @beta
|
9574
|
+
*/
|
9575
|
+
onCancelFileUpload?: (fileId: string) => void;
|
9576
|
+
/**
|
9577
|
+
* Callback function used when the send button is clicked.
|
9578
|
+
*/
|
9579
|
+
onSendMessage: (content: string) => Promise<void>;
|
9580
|
+
}
|
9581
|
+
|
9547
9582
|
/**
|
9548
9583
|
* Strings of {@link RichTextSendBox} that can be overridden.
|
9549
9584
|
*
|
@@ -9578,6 +9613,10 @@ export declare interface RichTextSendBoxStrings extends SendBoxStrings {
|
|
9578
9613
|
* Tooltip text for the decrease indent button.
|
9579
9614
|
*/
|
9580
9615
|
decreaseIndentTooltip: string;
|
9616
|
+
/**
|
9617
|
+
* Tooltip text for the rich text format button button.
|
9618
|
+
*/
|
9619
|
+
richTextFormatButtonTooltip: string;
|
9581
9620
|
}
|
9582
9621
|
|
9583
9622
|
/**
|
@@ -11101,7 +11140,7 @@ export declare const VideoGallery: (props: VideoGalleryProps) => JSX.Element;
|
|
11101
11140
|
/**
|
11102
11141
|
* @public
|
11103
11142
|
*/
|
11104
|
-
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' |
|
11143
|
+
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | 'speaker' | /* @conditional-compile-remove(large-gallery) */ 'largeGallery' | 'focusedContent';
|
11105
11144
|
|
11106
11145
|
/**
|
11107
11146
|
* The state of the local participant in the {@link VideoGallery}.
|
@@ -0,0 +1,51 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
var React = require('react');
|
4
|
+
var index = require('./index-szH03w3_.js');
|
5
|
+
require('@fluentui/react');
|
6
|
+
require('@fluentui/react-file-type-icons');
|
7
|
+
require('@azure/communication-common');
|
8
|
+
require('@fluentui/react-components');
|
9
|
+
require('@fluentui-contrib/react-chat');
|
10
|
+
require('@fluentui/react-hooks');
|
11
|
+
require('react-use-draggable-scroll');
|
12
|
+
require('copy-to-clipboard');
|
13
|
+
require('reselect');
|
14
|
+
require('@azure/communication-calling');
|
15
|
+
require('memoize-one');
|
16
|
+
require('@azure/logger');
|
17
|
+
require('events');
|
18
|
+
require('immer');
|
19
|
+
require('@fluentui/react-icons');
|
20
|
+
require('textarea-caret-ts');
|
21
|
+
require('use-debounce');
|
22
|
+
require('roosterjs-editor-plugins');
|
23
|
+
require('roosterjs-editor-core');
|
24
|
+
require('roosterjs-react');
|
25
|
+
require('uuid');
|
26
|
+
require('@griffel/react');
|
27
|
+
require('html-react-parser');
|
28
|
+
require('react-linkify');
|
29
|
+
require('dompurify');
|
30
|
+
require('@fluentui/react-window-provider');
|
31
|
+
require('@azure/communication-chat');
|
32
|
+
require('nanoid');
|
33
|
+
require('@azure/communication-calling-effects');
|
34
|
+
|
35
|
+
// Copyright (c) Microsoft Corporation.
|
36
|
+
// Licensed under the MIT License.
|
37
|
+
/* @conditional-compile-remove(rich-text-editor) */
|
38
|
+
/* @conditional-compile-remove(rich-text-editor) */
|
39
|
+
/**
|
40
|
+
* @private
|
41
|
+
*
|
42
|
+
* Wrapper for RichTextSendBox component to allow us to use usePropsFor with richTextSendBox
|
43
|
+
* before lazyLoading is done
|
44
|
+
*/
|
45
|
+
const RichTextSendBoxWrapper = () => {
|
46
|
+
const richTextSendBoxProps = index.usePropsFor(index.RichTextSendBox);
|
47
|
+
return React.createElement(index.RichTextSendBox, Object.assign({}, richTextSendBoxProps));
|
48
|
+
};
|
49
|
+
|
50
|
+
exports.RichTextSendBoxWrapper = RichTextSendBoxWrapper;
|
51
|
+
//# sourceMappingURL=RichTextSendBoxWrapper-DQB5BrFt.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RichTextSendBoxWrapper-DQB5BrFt.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) */\nimport React from 'react';\n/* @conditional-compile-remove(rich-text-editor) */\nimport { usePropsFor } from '../ChatComposite/hooks/usePropsFor';\n/* @conditional-compile-remove(rich-text-editor) */\nimport { RichTextSendBox } from '@internal/react-components';\n\n/* @conditional-compile-remove(rich-text-editor) */\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 = (): JSX.Element => {\n const richTextSendBoxProps = usePropsFor(RichTextSendBox);\n\n return <RichTextSendBox {...richTextSendBoxProps} />;\n};\n"],"names":["usePropsFor","RichTextSendBox"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;AAOA;AACA;;;;;AAKG;AACI,MAAM,sBAAsB,GAAG,MAAkB;AACtD,IAAA,MAAM,oBAAoB,GAAGA,iBAAW,CAACC,qBAAe,CAAC,CAAC;AAE1D,IAAA,OAAO,KAAC,CAAA,aAAA,CAAAA,qBAAe,EAAK,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,oBAAoB,EAAI,CAAC;AACvD;;;;"}
|