@azure/communication-react 1.14.0-alpha-202403060013 → 1.14.0-alpha-202403080013

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/dist/communication-react.d.ts +127 -51
  2. package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-CQnsLK4_.js +51 -0
  3. package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-CQnsLK4_.js.map +1 -0
  4. package/dist/dist-cjs/communication-react/index--vbi3hW5.js +38028 -0
  5. package/dist/dist-cjs/communication-react/index--vbi3hW5.js.map +1 -0
  6. package/dist/dist-cjs/communication-react/index.js +157 -37619
  7. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  10. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.d.ts +2 -1
  11. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js +5 -0
  12. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  13. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +15 -9
  14. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  15. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +4 -4
  16. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  17. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.d.ts +0 -11
  18. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +19 -47
  19. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -1
  20. package/dist/dist-esm/chat-stateful-client/src/index.d.ts +1 -0
  21. package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
  22. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +9 -1
  23. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  24. package/dist/dist-esm/communication-react/src/index.d.ts +3 -2
  25. package/dist/dist-esm/communication-react/src/index.js +2 -0
  26. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  27. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +4 -4
  28. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
  29. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +2 -2
  30. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +16 -34
  31. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  32. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsRichTextEditBox.d.ts +18 -0
  33. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsRichTextEditBox.js +102 -0
  34. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsRichTextEditBox.js.map +1 -0
  35. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +1 -7
  36. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +5 -17
  37. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  38. package/dist/dist-esm/react-components/src/components/{RTE → RichTextEditor}/RichTextEditor.d.ts +14 -2
  39. package/dist/dist-esm/react-components/src/components/{RTE → RichTextEditor}/RichTextEditor.js +22 -21
  40. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js.map +1 -0
  41. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.d.ts +28 -0
  42. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js +50 -0
  43. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js.map +1 -0
  44. package/dist/dist-esm/react-components/src/components/{RTE/RTERibbonButtons.d.ts → RichTextEditor/RichTextRibbonButtons.d.ts} +2 -2
  45. package/dist/dist-esm/react-components/src/components/{RTE/RTERibbonButtons.js → RichTextEditor/RichTextRibbonButtons.js} +9 -9
  46. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextRibbonButtons.js.map +1 -0
  47. package/dist/dist-esm/react-components/src/components/{RTE/RTESendBox.d.ts → RichTextEditor/RichTextSendBox.d.ts} +5 -1
  48. package/dist/dist-esm/react-components/src/components/{RTE/RTESendBox.js → RichTextEditor/RichTextSendBox.js} +33 -20
  49. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +1 -0
  50. package/dist/dist-esm/react-components/src/components/{RTE/RTESendBoxErrors.d.ts → RichTextEditor/RichTextSendBoxErrors.d.ts} +3 -3
  51. package/dist/dist-esm/react-components/src/components/{RTE/RTESendBoxErrors.js → RichTextEditor/RichTextSendBoxErrors.js} +2 -2
  52. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js.map +1 -0
  53. package/dist/dist-esm/react-components/src/components/SendBox.js +2 -2
  54. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  55. package/dist/dist-esm/react-components/src/components/index.d.ts +4 -2
  56. package/dist/dist-esm/react-components/src/components/index.js +4 -1
  57. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  58. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.d.ts +4 -0
  59. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +10 -0
  60. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  61. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.d.ts +10 -4
  62. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js +17 -4
  63. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  64. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +34 -2
  65. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +72 -11
  66. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -1
  67. package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.d.ts +17 -0
  68. package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js +30 -0
  69. package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js.map +1 -0
  70. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.d.ts +15 -0
  71. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +22 -11
  72. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  73. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.d.ts +23 -0
  74. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js +44 -0
  75. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js.map +1 -0
  76. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +1 -1
  77. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +1 -1
  78. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
  79. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +2 -2
  80. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  81. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +2 -1
  82. package/dist/dist-esm/react-components/src/theming/icons.d.ts +10 -8
  83. package/dist/dist-esm/react-components/src/theming/icons.js +13 -9
  84. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  85. package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +3 -3
  86. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  87. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +6 -1
  88. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  89. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +14 -0
  90. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  91. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts +0 -1
  92. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +6 -15
  93. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  94. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
  95. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +1 -0
  96. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  97. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +2 -2
  98. package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.d.ts +9 -0
  99. package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.js +20 -0
  100. package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.js.map +1 -0
  101. package/dist/dist-esm/react-composites/src/composites/common/SendBox.d.ts +17 -0
  102. package/dist/dist-esm/react-composites/src/composites/common/SendBox.js +46 -0
  103. package/dist/dist-esm/react-composites/src/composites/common/SendBox.js.map +1 -0
  104. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +10 -8
  105. package/package.json +1 -1
  106. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.d.ts +0 -25
  107. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js +0 -21
  108. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js.map +0 -1
  109. package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.js.map +0 -1
  110. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js.map +0 -1
  111. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js.map +0 -1
  112. 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 type AttachmentMetadata = FileMetadata;
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,9 +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 FileMetadata}
4785
+ * {@link AttachmentMetadata}
4758
4786
  */
4759
- files?: FileMetadata[];
4787
+ files?: AttachmentMetadata[];
4760
4788
  }
4761
4789
 
4762
4790
  /**
@@ -4771,7 +4799,7 @@ export declare type ChatMessageWithStatus = ChatMessage_2 & {
4771
4799
  clientMessageId?: string;
4772
4800
  status: MessageStatus;
4773
4801
  policyViolation?: boolean;
4774
- resourceCache?: Record<string, string>;
4802
+ resourceCache?: Record<string, ResourceFetchResult>;
4775
4803
  };
4776
4804
 
4777
4805
  /**
@@ -5384,7 +5412,7 @@ export declare interface ComponentStrings {
5384
5412
  typingIndicator: TypingIndicatorStrings;
5385
5413
  /** Strings for SendBox */
5386
5414
  sendBox: SendBoxStrings;
5387
- /** Strings for RTESendBox */
5415
+ /** Strings for RichTextSendBox */
5388
5416
  richTextSendBox: RichTextSendBoxStrings;
5389
5417
  /** Strings for MentionPopover */
5390
5418
  mentionPopover: MentionPopoverStrings;
@@ -6253,14 +6281,16 @@ export declare const DEFAULT_COMPONENT_ICONS: {
6253
6281
  StartSpotlightContextualMenuItem: React_2.JSX.Element;
6254
6282
  StopSpotlightContextualMenuItem: React_2.JSX.Element;
6255
6283
  VideoSpotlighted: React_2.JSX.Element;
6256
- RTEBoldButtonIcon: React_2.JSX.Element;
6257
- RTEItalicButtonIcon: React_2.JSX.Element;
6258
- RTEUnderlineButtonIcon: React_2.JSX.Element;
6259
- RTEBulletListButtonIcon: React_2.JSX.Element;
6260
- RTEtNumberListButtonIcon: React_2.JSX.Element;
6261
- RTEIndentDecreaseButtonIcon: React_2.JSX.Element;
6262
- RTEIndentIncreaseButtonIcon: React_2.JSX.Element;
6263
- RTEDividerIcon: React_2.JSX.Element;
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;
6264
6294
  };
6265
6295
 
6266
6296
  /**
@@ -6412,14 +6442,16 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
6412
6442
  StartSpotlightContextualMenuItem: React_2.JSX.Element;
6413
6443
  StopSpotlightContextualMenuItem: React_2.JSX.Element;
6414
6444
  VideoSpotlighted: React_2.JSX.Element;
6415
- RTEBoldButtonIcon: React_2.JSX.Element;
6416
- RTEItalicButtonIcon: React_2.JSX.Element;
6417
- RTEUnderlineButtonIcon: React_2.JSX.Element;
6418
- RTEBulletListButtonIcon: React_2.JSX.Element;
6419
- RTEtNumberListButtonIcon: React_2.JSX.Element;
6420
- RTEIndentDecreaseButtonIcon: React_2.JSX.Element;
6421
- RTEIndentIncreaseButtonIcon: React_2.JSX.Element;
6422
- RTEDividerIcon: React_2.JSX.Element;
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;
6423
6455
  };
6424
6456
 
6425
6457
  /**
@@ -7077,34 +7109,6 @@ export declare interface FileDownloadError {
7077
7109
  */
7078
7110
  export declare type FileDownloadHandler = (userId: string, fileMetadata: AttachmentMetadata) => Promise<URL | FileDownloadError>;
7079
7111
 
7080
- /**
7081
- * Metadata containing basic information about the uploaded file.
7082
- *
7083
- * @beta
7084
- */
7085
- export declare interface FileMetadata {
7086
- attachmentType: 'file';
7087
- /**
7088
- * Extension hint, useful for rendering a specific icon.
7089
- * An unknown or empty extension will be rendered as a generic icon.
7090
- * Example: `pdf`
7091
- */
7092
- extension: string;
7093
- /**
7094
- * Unique ID of the file.
7095
- */
7096
- id: string;
7097
- /**
7098
- * File name to be displayed.
7099
- */
7100
- name: string;
7101
- /**
7102
- * Download URL for the file.
7103
- */
7104
- url: string;
7105
- payload?: Record<string, string>;
7106
- }
7107
-
7108
7112
  /**
7109
7113
  * Properties for configuring the File Sharing feature.
7110
7114
  * @beta
@@ -7293,7 +7297,7 @@ export declare const getCallingSelector: <Component extends (props: any) => JSX.
7293
7297
  *
7294
7298
  * @public
7295
7299
  */
7296
- 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;
7297
7301
 
7298
7302
  /**
7299
7303
  * Get the selector for a specified component.
@@ -9516,6 +9520,74 @@ export declare type ResourceDetails = {
9516
9520
  resourceUrl: string;
9517
9521
  };
9518
9522
 
9523
+ /**
9524
+ * Result of the Resource downloaded from stateful client
9525
+ * @public
9526
+ */
9527
+ export declare type ResourceFetchResult = {
9528
+ sourceUrl: string;
9529
+ error?: Error;
9530
+ };
9531
+
9532
+ /**
9533
+ * Options for configuring the rich text editor.
9534
+ *
9535
+ * @beta
9536
+ */
9537
+ export declare interface RichTextEditorOptions {
9538
+ }
9539
+
9540
+ /**
9541
+ * A component to render SendBox with Rich Text Editor support.
9542
+ *
9543
+ * @beta
9544
+ */
9545
+ export declare const RichTextSendBox: (props: RichTextSendBoxProps) => JSX.Element;
9546
+
9547
+ /**
9548
+ * Props for {@link RichTextSendBox}.
9549
+ *
9550
+ * @beta
9551
+ */
9552
+ export declare interface RichTextSendBoxProps {
9553
+ /**
9554
+ * Optional boolean to disable text box
9555
+ * @defaultValue false
9556
+ */
9557
+ disabled?: boolean;
9558
+ /**
9559
+ * Optional strings to override in component
9560
+ */
9561
+ strings?: Partial<RichTextSendBoxStrings>;
9562
+ /**
9563
+ * Optional text for system message above the text box
9564
+ */
9565
+ systemMessage?: string;
9566
+ /**
9567
+ * Optional callback to render uploaded files in the SendBox. The sendBox will expand
9568
+ * vertically to accommodate the uploaded files. File uploads will
9569
+ * be rendered below the text area in sendBox.
9570
+ * @beta
9571
+ */
9572
+ onRenderFileUploads?: () => JSX.Element;
9573
+ /**
9574
+ * Optional array of active file uploads where each object has attributes
9575
+ * of a file upload like name, progress, errorMessage etc.
9576
+ * @beta
9577
+ */
9578
+ activeFileUploads?: ActiveFileUpload[];
9579
+ /**
9580
+ * Optional callback to remove the file upload before sending by clicking on
9581
+ * cancel icon.
9582
+ * @beta
9583
+ */
9584
+ onCancelFileUpload?: (fileId: string) => void;
9585
+ /**
9586
+ * Callback function used when the send button is clicked.
9587
+ */
9588
+ onSendMessage: (content: string) => Promise<void>;
9589
+ }
9590
+
9519
9591
  /**
9520
9592
  * Strings of {@link RichTextSendBox} that can be overridden.
9521
9593
  *
@@ -9550,6 +9622,10 @@ export declare interface RichTextSendBoxStrings extends SendBoxStrings {
9550
9622
  * Tooltip text for the decrease indent button.
9551
9623
  */
9552
9624
  decreaseIndentTooltip: string;
9625
+ /**
9626
+ * Tooltip text for the rich text format button button.
9627
+ */
9628
+ richTextFormatButtonTooltip: string;
9553
9629
  }
9554
9630
 
9555
9631
  /**
@@ -0,0 +1,51 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var index = require('./index--vbi3hW5.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-CQnsLK4_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichTextSendBoxWrapper-CQnsLK4_.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;;;;"}