@azure/communication-react 1.14.1-alpha-202403280012 → 1.14.1-alpha-202403290012
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 +134 -61
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-D3ER8Kz9.js → RichTextSendBoxWrapper-CH6WvEGZ.js} +4 -4
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-D3ER8Kz9.js.map → RichTextSendBoxWrapper-CH6WvEGZ.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{index-BI61bnOi.js → index-qxnuqL7s.js} +291 -207
- package/dist/dist-cjs/communication-react/index-qxnuqL7s.js.map +1 -0
- package/dist/dist-cjs/communication-react/index.js +3 -3
- 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/messageThreadSelector.js +1 -2
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +1 -1
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/AttachmentCard.d.ts +11 -15
- package/dist/dist-esm/react-components/src/components/AttachmentCard.js +25 -41
- package/dist/dist-esm/react-components/src/components/AttachmentCard.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.d.ts +18 -11
- package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.js +74 -62
- package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/AttachmentUploadCards.js +37 -4
- package/dist/dist-esm/react-components/src/components/AttachmentUploadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +6 -3
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.d.ts +5 -5
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js +7 -7
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js +13 -18
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.d.ts +9 -9
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.d.ts +9 -9
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js +10 -10
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js +12 -10
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +10 -9
- package/dist/dist-esm/react-components/src/components/MessageThread.js +6 -3
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js +1 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.d.ts +10 -2
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js +20 -14
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +1 -0
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +3 -2
- package/dist/dist-esm/react-components/src/theming/icons.js +5 -3
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/Attachment.d.ts +97 -37
- package/dist/dist-esm/react-components/src/types/Attachment.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +32 -17
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.d.ts +5 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js +12 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.d.ts +2 -14
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +14 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.d.ts +15 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/{FileDownloadErrorBar.js → AttachmentDownloadErrorBar.js} +5 -5
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts +4 -5
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +10 -7
- 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/FileUploadButton.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +11 -2
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +3 -2
- package/package.json +1 -1
- package/dist/dist-cjs/communication-react/index-BI61bnOi.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +0 -1
@@ -248,6 +248,27 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
248
248
|
*/
|
249
249
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
250
250
|
|
251
|
+
/**
|
252
|
+
* @beta
|
253
|
+
*
|
254
|
+
* Attachment download options defines the list of actions that can be performed on an attachment.
|
255
|
+
*/
|
256
|
+
export declare interface AttachmentDownloadOptions {
|
257
|
+
actionsForAttachment: (attachment: AttachmentMetadata, message?: ChatMessage) => AttachmentMenuAction[];
|
258
|
+
}
|
259
|
+
|
260
|
+
/**
|
261
|
+
* @beta
|
262
|
+
*
|
263
|
+
* Attachment menu action defines buttons that can be shown on the attachment card.
|
264
|
+
* If there's one action, it will be shown as a button, if there are multiple actions, it will be shown as a dropdown.
|
265
|
+
*/
|
266
|
+
export declare interface AttachmentMenuAction {
|
267
|
+
name: string;
|
268
|
+
icon: JSX.Element;
|
269
|
+
onClick: (attachment: AttachmentMetadata) => Promise<void>;
|
270
|
+
}
|
271
|
+
|
251
272
|
/**
|
252
273
|
* Metadata containing basic information about the uploaded attachment.
|
253
274
|
*
|
@@ -259,7 +280,7 @@ export declare interface AttachmentMetadata {
|
|
259
280
|
* An unknown or empty extension will be rendered as a generic icon.
|
260
281
|
* Example: `pdf`
|
261
282
|
*/
|
262
|
-
extension
|
283
|
+
extension?: string;
|
263
284
|
/**
|
264
285
|
* Unique ID of the attachment.
|
265
286
|
*/
|
@@ -271,8 +292,101 @@ export declare interface AttachmentMetadata {
|
|
271
292
|
/**
|
272
293
|
* Download URL for the attachment.
|
273
294
|
*/
|
274
|
-
url
|
275
|
-
|
295
|
+
url?: string;
|
296
|
+
/**
|
297
|
+
* A number between 0 and 1 indicating the progress of the upload.
|
298
|
+
*/
|
299
|
+
progress?: number;
|
300
|
+
/**
|
301
|
+
* A object contains status message would be shown to the user.
|
302
|
+
*/
|
303
|
+
uploadStatus?: AttachmentUploadStatus;
|
304
|
+
}
|
305
|
+
|
306
|
+
/**
|
307
|
+
* @beta
|
308
|
+
*
|
309
|
+
* Attachment Options that defines behaviour for uploading and downloading attachments.
|
310
|
+
*/
|
311
|
+
export declare interface AttachmentOptions {
|
312
|
+
uploadOptions?: AttachmentUploadOptions;
|
313
|
+
downloadOptions?: AttachmentDownloadOptions;
|
314
|
+
}
|
315
|
+
|
316
|
+
/**
|
317
|
+
* @beta
|
318
|
+
* A callback function for handling file uploads.
|
319
|
+
*
|
320
|
+
* @param AttachmentUploads - The list of uploaded files. Each file is represented by an {@link AttachmentUpload} object.
|
321
|
+
*/
|
322
|
+
export declare type AttachmentUploadHandler = (attachmentUploads: AttachmentUploadManager[]) => void;
|
323
|
+
|
324
|
+
/**
|
325
|
+
* A wrapper object for a file that is being uploaded.
|
326
|
+
* Allows managing file uploads by providing common functions for updating the
|
327
|
+
* upload progress, canceling an upload, completing an upload etc.
|
328
|
+
* @beta
|
329
|
+
*/
|
330
|
+
export declare interface AttachmentUploadManager {
|
331
|
+
/**
|
332
|
+
* Unique identifier for the file upload.
|
333
|
+
*/
|
334
|
+
id: string;
|
335
|
+
/**
|
336
|
+
* HTML {@link File} object for the uploaded file.
|
337
|
+
*/
|
338
|
+
file?: File;
|
339
|
+
/**
|
340
|
+
* Update the progress of the upload.
|
341
|
+
* @param value - number between 0 and 1
|
342
|
+
*/
|
343
|
+
notifyUploadProgressChanged: (value: number) => void;
|
344
|
+
/**
|
345
|
+
* Mark the upload as complete.
|
346
|
+
* Requires the `metadata` param containing uploaded file information.
|
347
|
+
* @param metadata - {@link AttachmentMetadata}
|
348
|
+
*/
|
349
|
+
notifyUploadCompleted: (metadata: AttachmentMetadata) => void;
|
350
|
+
/**
|
351
|
+
* Mark the upload as failed.
|
352
|
+
* @param message - An error message that can be displayed to the user.
|
353
|
+
*/
|
354
|
+
notifyUploadFailed: (message: string) => void;
|
355
|
+
}
|
356
|
+
|
357
|
+
/**
|
358
|
+
* @beta
|
359
|
+
*/
|
360
|
+
export declare interface AttachmentUploadOptions {
|
361
|
+
/**
|
362
|
+
* A string containing the comma separated list of accepted file types.
|
363
|
+
* Similar to the `accept` attribute of the `<input type="file" />` element.
|
364
|
+
* Accepts any type of file if not specified.
|
365
|
+
* @beta
|
366
|
+
*/
|
367
|
+
supportedMediaTypes?: string[];
|
368
|
+
/**
|
369
|
+
* Allows multiple files to be selected if set to `true`.
|
370
|
+
* Similar to the `multiple` attribute of the `<input type="file" />` element.
|
371
|
+
* @defaultValue false
|
372
|
+
* @beta
|
373
|
+
*/
|
374
|
+
disableMultipleUploads?: boolean;
|
375
|
+
/**
|
376
|
+
* A function of type {@link AttachmentUploadHandler} for handling file uploads.
|
377
|
+
* @beta
|
378
|
+
*/
|
379
|
+
handler: AttachmentUploadHandler;
|
380
|
+
}
|
381
|
+
|
382
|
+
/**
|
383
|
+
* @beta
|
384
|
+
* A attachment upload status object that contains message to be shown to
|
385
|
+
* the user and a timestamp.
|
386
|
+
*/
|
387
|
+
export declare interface AttachmentUploadStatus {
|
388
|
+
message: string;
|
389
|
+
timestamp: number;
|
276
390
|
}
|
277
391
|
|
278
392
|
/**
|
@@ -6226,8 +6340,9 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
6226
6340
|
RaiseHandContextualMenuItem: React_2.JSX.Element;
|
6227
6341
|
LowerHandContextualMenuItem: React_2.JSX.Element;
|
6228
6342
|
ReactionButtonIcon: React_2.JSX.Element;
|
6229
|
-
|
6230
|
-
|
6343
|
+
CancelAttachmentUpload: React_2.JSX.Element;
|
6344
|
+
DownloadAttachment: React_2.JSX.Element;
|
6345
|
+
OpenAttachment: React_2.JSX.Element;
|
6231
6346
|
DataLossPreventionProhibited: React_2.JSX.Element;
|
6232
6347
|
EditBoxCancel: React_2.JSX.Element;
|
6233
6348
|
EditBoxSubmit: React_2.JSX.Element;
|
@@ -6423,8 +6538,9 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
6423
6538
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
6424
6539
|
ChatMessageOptions: React_2.JSX.Element;
|
6425
6540
|
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
6426
|
-
|
6427
|
-
|
6541
|
+
CancelAttachmentUpload: React_2.JSX.Element;
|
6542
|
+
DownloadAttachment: React_2.JSX.Element;
|
6543
|
+
OpenAttachment: React_2.JSX.Element;
|
6428
6544
|
DataLossPreventionProhibited: React_2.JSX.Element;
|
6429
6545
|
ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
|
6430
6546
|
ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
|
@@ -7101,48 +7217,6 @@ export declare interface ErrorBarStrings {
|
|
7101
7217
|
*/
|
7102
7218
|
export declare type ErrorType = keyof ErrorBarStrings;
|
7103
7219
|
|
7104
|
-
/**
|
7105
|
-
* @beta
|
7106
|
-
* A attachment download error returned via a {@link FileDownloadHandler}.
|
7107
|
-
* This error message is used to render an error message in the UI.
|
7108
|
-
*/
|
7109
|
-
export declare interface FileDownloadError {
|
7110
|
-
/** The error message to display in the UI */
|
7111
|
-
errorMessage: string;
|
7112
|
-
}
|
7113
|
-
|
7114
|
-
/**
|
7115
|
-
* @beta
|
7116
|
-
*
|
7117
|
-
* A callback function for handling attachment downloads.
|
7118
|
-
* The function needs to return a promise that resolves to a attachment download URL.
|
7119
|
-
* If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
|
7120
|
-
*
|
7121
|
-
* @example
|
7122
|
-
* ```ts
|
7123
|
-
* const attachmentDownloadHandler: FileDownloadHandler = async (userId, attachmentData) => {
|
7124
|
-
* if (isUnauthorizedUser(userId)) {
|
7125
|
-
* return { errorMessage: 'You don’t have permission to download this attachment.' };
|
7126
|
-
* } else {
|
7127
|
-
* return new URL(attachmentData.url);
|
7128
|
-
* }
|
7129
|
-
* }
|
7130
|
-
*
|
7131
|
-
* const App = () => (
|
7132
|
-
* <ChatComposite
|
7133
|
-
* ...
|
7134
|
-
* fileSharing={{
|
7135
|
-
* fileDownloadHandler: fileDownloadHandler
|
7136
|
-
* }}
|
7137
|
-
* />
|
7138
|
-
* )
|
7139
|
-
*
|
7140
|
-
* ```
|
7141
|
-
* @param userId - The user ID of the user downloading the attachment.
|
7142
|
-
* @param fileMetadata - The {@link AttachmentMetadata} containing file `url`, `extension` and `name`.
|
7143
|
-
*/
|
7144
|
-
export declare type FileDownloadHandler = (userId: string, fileMetadata: AttachmentMetadata) => Promise<URL | FileDownloadError>;
|
7145
|
-
|
7146
7220
|
/**
|
7147
7221
|
* Properties for configuring the File Sharing feature.
|
7148
7222
|
* @beta
|
@@ -7168,11 +7242,9 @@ export declare interface FileSharingOptions {
|
|
7168
7242
|
*/
|
7169
7243
|
uploadHandler: FileUploadHandler;
|
7170
7244
|
/**
|
7171
|
-
* A function
|
7172
|
-
* If the function is not specified, the file's `url` will be opened in a new tab to
|
7173
|
-
* initiate the download.
|
7245
|
+
* A temp function until this interface is deprecated
|
7174
7246
|
*/
|
7175
|
-
|
7247
|
+
actionsForAttachment?: (attachment: AttachmentMetadata, message?: ChatMessage) => AttachmentMenuAction[];
|
7176
7248
|
}
|
7177
7249
|
|
7178
7250
|
/**
|
@@ -8307,10 +8379,10 @@ export declare type MessageThreadProps = {
|
|
8307
8379
|
*/
|
8308
8380
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
8309
8381
|
/**
|
8310
|
-
* Optional callback to render
|
8382
|
+
* Optional callback to render attachments in the message component.
|
8311
8383
|
* @beta
|
8312
8384
|
*/
|
8313
|
-
|
8385
|
+
onRenderAttachmentDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
|
8314
8386
|
/**
|
8315
8387
|
* Optional callback to edit a message.
|
8316
8388
|
*
|
@@ -8354,11 +8426,10 @@ export declare type MessageThreadProps = {
|
|
8354
8426
|
strings?: Partial<MessageThreadStrings>;
|
8355
8427
|
/**
|
8356
8428
|
* @beta
|
8357
|
-
* Optional
|
8358
|
-
*
|
8359
|
-
* this function will be called with the data inside `fileSharingMetadata` key.
|
8429
|
+
* Optional attachment options, which defines behvaiour for uploading and downloading attachments.
|
8430
|
+
* As this moment, the uploadOptions would be ignored and this option is intended for download only.
|
8360
8431
|
*/
|
8361
|
-
|
8432
|
+
attachmentOptions?: AttachmentOptions;
|
8362
8433
|
/**
|
8363
8434
|
* Optional function to provide customized date format.
|
8364
8435
|
* @beta
|
@@ -8447,13 +8518,15 @@ export declare interface MessageThreadStrings {
|
|
8447
8518
|
actionMenuMoreOptions?: string;
|
8448
8519
|
/** Aria label to announce when a message is deleted */
|
8449
8520
|
messageDeletedAnnouncementAriaLabel: string;
|
8450
|
-
/** String for download
|
8521
|
+
/** String for download attachment button in attachment card */
|
8451
8522
|
downloadAttachment: string;
|
8523
|
+
/** String for open attachment button in attachment card */
|
8524
|
+
openAttachment: string;
|
8452
8525
|
/** String for policy violation message removal */
|
8453
8526
|
blockedWarningText: string;
|
8454
8527
|
/** String for policy violation message removal details link */
|
8455
8528
|
blockedWarningLinkText: string;
|
8456
|
-
/** String for aria text in
|
8529
|
+
/** String for aria text in attachment card group*/
|
8457
8530
|
attachmentCardGroupMessage: string;
|
8458
8531
|
}
|
8459
8532
|
|
@@ -1,11 +1,9 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
3
|
var React = require('react');
|
4
|
-
var index = require('./index-
|
4
|
+
var index = require('./index-qxnuqL7s.js');
|
5
5
|
require('@fluentui/react');
|
6
6
|
require('@fluentui/react-components');
|
7
|
-
require('@fluentui/react-file-type-icons');
|
8
|
-
require('@fluentui/react-icons');
|
9
7
|
require('@fluentui-contrib/react-chat');
|
10
8
|
require('@azure/communication-common');
|
11
9
|
require('@fluentui/react-hooks');
|
@@ -17,8 +15,10 @@ require('memoize-one');
|
|
17
15
|
require('@azure/logger');
|
18
16
|
require('events');
|
19
17
|
require('immer');
|
18
|
+
require('@fluentui/react-icons');
|
20
19
|
require('textarea-caret-ts');
|
21
20
|
require('use-debounce');
|
21
|
+
require('@fluentui/react-file-type-icons');
|
22
22
|
require('@griffel/react');
|
23
23
|
require('roosterjs-editor-plugins');
|
24
24
|
require('roosterjs-editor-core');
|
@@ -51,4 +51,4 @@ const RichTextSendBoxWrapper = () => {
|
|
51
51
|
};
|
52
52
|
|
53
53
|
exports.RichTextSendBoxWrapper = RichTextSendBoxWrapper;
|
54
|
-
//# sourceMappingURL=RichTextSendBoxWrapper-
|
54
|
+
//# sourceMappingURL=RichTextSendBoxWrapper-CH6WvEGZ.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RichTextSendBoxWrapper-
|
1
|
+
{"version":3,"file":"RichTextSendBoxWrapper-CH6WvEGZ.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;;;;"}
|