@azure/communication-react 1.3.2-alpha-202208040020.0 → 1.3.2-alpha-202208090015.0
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 +91 -1
- package/dist/dist-cjs/communication-react/index.js +480 -194
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/common.d.ts +20 -0
- package/dist/dist-esm/acs-ui-common/src/common.d.ts.map +1 -0
- package/dist/dist-esm/acs-ui-common/src/common.js +26 -0
- package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -0
- package/dist/dist-esm/acs-ui-common/src/index.d.ts +1 -0
- package/dist/dist-esm/acs-ui-common/src/index.d.ts.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/index.js +1 -0
- package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +2 -2
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +31 -5
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts.map +1 -1
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +14 -7
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +2 -14
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/DevicesButton.js +1 -1
- package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +9 -14
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileCard.js +2 -1
- package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +3 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +2 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +8 -2
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +1 -1
- package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +16 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.js +38 -6
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/index.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.js +0 -1
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +9 -0
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.d.ts +0 -19
- package/dist/dist-esm/react-components/src/components/utils/common.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.js +0 -23
- package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/responsive.js +1 -1
- package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +3 -0
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts.map +1 -1
- 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 +7 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +10 -0
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +24 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ConvertContextualMenuItemToDrawerMenuItem.d.ts +11 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ConvertContextualMenuItemToDrawerMenuItem.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ConvertContextualMenuItemToDrawerMenuItem.js +23 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +24 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +13 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +36 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +17 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +90 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +17 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +32 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +18 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +53 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +15 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +54 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +8 -38
- 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 +9 -0
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +9 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.d.ts +5 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +12 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +14 -2
- package/package.json +8 -8
@@ -2,29 +2,6 @@
|
|
2
2
|
// Licensed under the MIT license.
|
3
3
|
/* @conditional-compile-remove(file-sharing) */
|
4
4
|
import { useLocale } from '../../localization';
|
5
|
-
/**
|
6
|
-
* Converts units of rem to units of pixels
|
7
|
-
* @param rem - units of rem
|
8
|
-
* @returns units of pixels
|
9
|
-
*/
|
10
|
-
export const convertRemToPx = (rem) => {
|
11
|
-
return rem * parseFloat(getComputedStyle(document.documentElement).fontSize);
|
12
|
-
};
|
13
|
-
/**
|
14
|
-
* Converts units of rem to units of pixels
|
15
|
-
* @private
|
16
|
-
* Disable dismiss on resize to work around a couple Fluent UI bugs
|
17
|
-
* - The Callout is dismissed whenever *any child of window (inclusive)* is resized. In practice, this
|
18
|
-
* happens when we change the VideoGallery layout, or even when the video stream element is internally resized
|
19
|
-
* by the headless SDK.
|
20
|
-
* - We also want to prevent dismiss when chat pane is scrolling especially a new message is added.
|
21
|
-
* A side effect of this workaround is that the context menu stays open when window is resized, and may
|
22
|
-
* get detached from original target visually. That bug is preferable to the bug when this value is not set -
|
23
|
-
* The Callout (frequently) gets dismissed automatically.
|
24
|
-
*/
|
25
|
-
export const preventDismissOnEvent = (ev) => {
|
26
|
-
return ev.type === 'resize' || ev.type === 'scroll';
|
27
|
-
};
|
28
5
|
/**
|
29
6
|
* Conditionally modify locale strings passed to the file card
|
30
7
|
* @returns file upload card strings
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/utils/common.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,+CAA+C;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/utils/common.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,+CAA+C;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C;;;GAGG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,GAA4B,EAAE;IAC9E,+CAA+C;IAC/C,OAAO,SAAS,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC;IACnC,OAAO;QACL,UAAU,EAAE,EAAE;QACd,eAAe,EAAE,EAAE;QACnB,SAAS,EAAE,EAAE;KACd,CAAC;AACJ,CAAC,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
2
2
|
// Licensed under the MIT license.
|
3
3
|
import { useEffect, useState, useRef } from 'react';
|
4
|
-
import { convertRemToPx } from
|
4
|
+
import { _convertRemToPx as convertRemToPx } from "../../../../acs-ui-common/src";
|
5
5
|
/**
|
6
6
|
* A utility hook for providing the width of a parent element.
|
7
7
|
* Returns updated width if parent/window resizes.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responsive.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/utils/responsive.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAa,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,
|
1
|
+
{"version":3,"file":"responsive.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/utils/responsive.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAa,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,eAAe,IAAI,cAAc,EAAE,sCAAgC;AAE5E;;;;;GAKG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,YAAoC,EAAsB,EAAE;IAC7F,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAqB,SAAS,CAAC,CAAC;IAElE,MAAM,QAAQ,GAAG,MAAM,CACrB,IAAI,cAAc,CAAC,CAAC,OAAO,EAAE,EAAE;QAC7B,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;QACzC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC,CAAC,CACH,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,YAAY,CAAC,OAAO,EAAE;YACxB,QA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C"}
|
@@ -7,5 +7,5 @@ export type { ComponentStrings, ComponentLocale, LocalizationProviderProps } fro
|
|
7
7
|
export * from './theming';
|
8
8
|
export { _PermissionsProvider, presenterPermissions, consumerPermissions, _usePermissions, _getPermissions } from './permissions';
|
9
9
|
export type { _Permissions, _PermissionsProviderProps, Role } from './permissions';
|
10
|
-
export type { BaseCustomStyles, CallParticipantListParticipant, ChatMessage, CommunicationParticipant, ContentSystemMessage, CreateVideoStreamViewResult, CustomAvatarOptions, CustomMessage, Message, MessageAttachedStatus, MessageCommon, MessageContentType, OnRenderAvatarCallback, ParticipantAddedSystemMessage, ParticipantListParticipant, ParticipantRemovedSystemMessage, ReadReceiptsBySenderId, SystemMessage, SystemMessageCommon, TopicUpdatedSystemMessage, VideoGalleryLocalParticipant, VideoGalleryParticipant, VideoGalleryRemoteParticipant, VideoGalleryStream, VideoStreamOptions, ViewScalingMode } from './types';
|
10
|
+
export type { BaseCustomStyles, CallParticipantListParticipant, ChatMessage, CommunicationParticipant, ContentSystemMessage, CreateVideoStreamViewResult, CustomAvatarOptions, CustomMessage, Message, MessageAttachedStatus, MessageCommon, MessageContentType, OnRenderAvatarCallback, ParticipantAddedSystemMessage, ParticipantListParticipant, ParticipantRemovedSystemMessage, ReadReceiptsBySenderId, SystemMessage, SystemMessageCommon, TopicUpdatedSystemMessage, VideoGalleryLocalParticipant, VideoGalleryParticipant, VideoGalleryRemoteParticipant, VideoGalleryStream, VideoStreamOptions, ViewScalingMode, VideoGalleryRemoteParticipantState } from './types';
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../react-components/src/index.ts"],"names":[],"mappings":"AAGA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACpD,YAAY,EAAE,YAAY,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAC5E,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AACnG,cAAc,WAAW,CAAC;AAG1B,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,EACf,eAAe,EAChB,MAAM,eAAe,CAAC;AAEvB,YAAY,EAAE,YAAY,EAAE,yBAAyB,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnF,YAAY,EACV,gBAAgB,EAChB,8BAA8B,EAC9B,WAAW,EACX,wBAAwB,EACxB,oBAAoB,EACpB,2BAA2B,EAC3B,mBAAmB,EACnB,aAAa,EACb,OAAO,EACP,qBAAqB,EACrB,aAAa,EACb,kBAAkB,EAClB,sBAAsB,EACtB,6BAA6B,EAC7B,0BAA0B,EAC1B,+BAA+B,EAC/B,sBAAsB,EACtB,aAAa,EACb,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,uBAAuB,EACvB,6BAA6B,EAC7B,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../react-components/src/index.ts"],"names":[],"mappings":"AAGA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACpD,YAAY,EAAE,YAAY,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAC5E,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AACnG,cAAc,WAAW,CAAC;AAG1B,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,EACf,eAAe,EAChB,MAAM,eAAe,CAAC;AAEvB,YAAY,EAAE,YAAY,EAAE,yBAAyB,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnF,YAAY,EACV,gBAAgB,EAChB,8BAA8B,EAC9B,WAAW,EACX,wBAAwB,EACxB,oBAAoB,EACpB,2BAA2B,EAC3B,mBAAmB,EACnB,aAAa,EACb,OAAO,EACP,qBAAqB,EACrB,aAAa,EACb,kBAAkB,EAClB,sBAAsB,EACtB,6BAA6B,EAC7B,0BAA0B,EAC1B,+BAA+B,EAC/B,sBAAsB,EACtB,aAAa,EACb,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,uBAAuB,EACvB,6BAA6B,EAC7B,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EAEf,kCAAkC,EACnC,MAAM,SAAS,CAAC"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { CameraButtonStrings, EndCallButtonStrings, ErrorBarStrings, MessageStatusIndicatorStrings, MessageThreadStrings, MicrophoneButtonStrings, DevicesButtonStrings, ParticipantsButtonStrings, ParticipantItemStrings, ScreenShareButtonStrings, SendBoxStrings, TypingIndicatorStrings, VideoGalleryStrings } from '../components';
|
3
3
|
import { DialpadStrings } from '../components';
|
4
|
+
import { VideoTileStrings } from '../components/VideoTile';
|
4
5
|
/**
|
5
6
|
* Locale information for all components exported from this library.
|
6
7
|
*
|
@@ -49,6 +50,8 @@ export interface ComponentStrings {
|
|
49
50
|
videoGallery: VideoGalleryStrings;
|
50
51
|
/** Strings for Dialpad */
|
51
52
|
dialpad: DialpadStrings;
|
53
|
+
/** Strings for VideoTile */
|
54
|
+
videoTile: VideoTileStrings;
|
52
55
|
}
|
53
56
|
/**
|
54
57
|
* Context for providing localized strings to components exported from this library.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LocalizationProvider.d.ts","sourceRoot":"","sources":["../../../../../../react-components/src/localization/LocalizationProvider.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,6BAA6B,EAC7B,oBAAoB,EACpB,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,EACxB,cAAc,EACd,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAG/C;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,6BAA6B;IAC7B,OAAO,EAAE,gBAAgB,CAAC;IAE1B;;;OAGG;IACH,uBAAuB,CAAC,EAAE,CAAC,WAAW,EAAE,IAAI,KAAK,MAAM,CAAC;CACzD;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,gCAAgC;IAChC,aAAa,EAAE,oBAAoB,CAAC;IACpC,kCAAkC;IAClC,eAAe,EAAE,sBAAsB,CAAC;IACxC,+BAA+B;IAC/B,YAAY,EAAE,mBAAmB,CAAC;IAClC,mCAAmC;IACnC,gBAAgB,EAAE,uBAAuB,CAAC;IAC1C,gCAAgC;IAChC,aAAa,EAAE,oBAAoB,CAAC;IACpC,gCAAgC;IAChC,aAAa,EAAE,oBAAoB,CAAC;IACpC,qCAAqC;IACrC,kBAAkB,EAAE,yBAAyB,CAAC;IAC9C,oCAAoC;IACpC,iBAAiB,EAAE,wBAAwB,CAAC;IAC5C,kCAAkC;IAClC,eAAe,EAAE,sBAAsB,CAAC;IACxC,0BAA0B;IAC1B,OAAO,EAAE,cAAc,CAAC;IACxB,yCAAyC;IACzC,sBAAsB,EAAE,6BAA6B,CAAC;IACtD,0BAA0B;IAC1B,QAAQ,EAAE,eAAe,CAAC;IAC1B,+BAA+B;IAC/B,YAAY,EAAE,mBAAmB,CAAC;IAElC,0BAA0B;IAC1B,OAAO,EAAE,cAAc,CAAC;
|
1
|
+
{"version":3,"file":"LocalizationProvider.d.ts","sourceRoot":"","sources":["../../../../../../react-components/src/localization/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IAElC,0BAA0B;IAC1B,OAAO,EAAE,cAAc,CAAC;IAGxB,4BAA4B;IAC5B,SAAS,EAAE,gBAAgB,CAAC;CAC7B;AAED;;;;GAIG;AACH,eAAO,MAAM,aAAa,gCAAyD,CAAC;AAEpF;;;;GAIG;AACH,oBAAY,yBAAyB,GAAG;IACtC,2CAA2C;IAC3C,MAAM,EAAE,eAAe,CAAC;IACxB,0CAA0C;IAC1C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,UAAW,yBAAyB,KAAG,WAGvE,CAAC;AAEF,kCAAkC;AAClC,eAAO,MAAM,SAAS,QAAO,eAA4C,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LocalizationProvider.js","sourceRoot":"","sources":["../../../../../../react-components/src/localization/LocalizationProvider.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"LocalizationProvider.js","sourceRoot":"","sources":["../../../../../../react-components/src/localization/LocalizationProvider.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAqBzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AA2DnD;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAkB,sBAAsB,CAAC,CAAC;AAcpF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,KAAgC,EAAe,EAAE;IACpF,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACnC,OAAO,oBAAC,aAAa,CAAC,QAAQ,IAAC,KAAK,EAAE,MAAM,IAAG,QAAQ,CAA0B,CAAC;AACpF,CAAC,CAAC;AAEF,kCAAkC;AAClC,MAAM,CAAC,MAAM,SAAS,GAAG,GAAoB,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC"}
|
@@ -114,6 +114,7 @@
|
|
114
114
|
"editedTag": "Edited",
|
115
115
|
"liveAuthorIntro": "{author} says",
|
116
116
|
"messageContentAriaText": "{author} said {message}",
|
117
|
+
"messageContentMineAriaText": "You said {message}",
|
117
118
|
"editBoxTextLimit": "Your message is over the limit of {limitNumber} characters",
|
118
119
|
"editBoxPlaceholderText": "Edit your message",
|
119
120
|
"newMessagesIndicator": "New messages",
|
@@ -166,7 +167,7 @@
|
|
166
167
|
"displayNamePlaceholder": "Unnamed Participant"
|
167
168
|
},
|
168
169
|
"dialpad": {
|
169
|
-
"placeholderText": "Enter
|
170
|
+
"placeholderText": "Enter phone number",
|
170
171
|
"deleteButtonAriaLabel": "Delete"
|
171
172
|
},
|
172
173
|
"HoldButton": {
|
@@ -174,5 +175,10 @@
|
|
174
175
|
"offLabel": "Hold",
|
175
176
|
"toolTipOnContent": "Resume call",
|
176
177
|
"toolTipOffContent": "Hold call"
|
178
|
+
},
|
179
|
+
"videoTile": {
|
180
|
+
"participantStateConnecting": "Connecting...",
|
181
|
+
"participantStateRinging": "Ringing...",
|
182
|
+
"participantStateHold": "On Hold"
|
177
183
|
}
|
178
184
|
}
|
@@ -81,5 +81,15 @@ export interface VideoGalleryRemoteParticipant extends VideoGalleryParticipant {
|
|
81
81
|
isSpeaking?: boolean;
|
82
82
|
/** Video stream of shared screen */
|
83
83
|
screenShareStream?: VideoGalleryStream;
|
84
|
+
/**
|
85
|
+
* @beta
|
86
|
+
* The connection state of the participant. For example, 'Hold', 'Connecting' etc.
|
87
|
+
*/
|
88
|
+
state?: VideoGalleryRemoteParticipantState;
|
84
89
|
}
|
90
|
+
/**
|
91
|
+
* @beta
|
92
|
+
* The connection state of the participant. For example, 'Hold', 'Connecting' etc.
|
93
|
+
*/
|
94
|
+
export declare type VideoGalleryRemoteParticipantState = 'Connecting' | 'Ringing' | 'Connected' | 'Hold';
|
85
95
|
//# sourceMappingURL=VideoGalleryParticipant.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VideoGalleryParticipant.d.ts","sourceRoot":"","sources":["../../../../../../react-components/src/types/VideoGalleryParticipant.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,oBAAY,eAAe,GAAG,SAAS,GAAG,MAAM,GAAG,KAAK,CAAC;AAEzD;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,kBAAkB;IACzC,kDAAkD;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yDAAyD;IACzD,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B;AAED;;;;GAIG;AACH,oBAAY,uBAAuB,GAAG;IACpC,6BAA6B;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kCAAkC;IAClC,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,mDAAmD;IACnD,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,6BAA6B;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,mDAAmD;IACnD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,wDAAwD;IACxD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kDAAkD;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yCAAyC;IACzC,aAAa,CAAC,EAAE,WAAW,CAAC;CAC7B;AAED;;;;;GAKG;AACH,MAAM,WAAW,2BAA2B;IAC1C,+CAA+C;IAC/C,IAAI,EAAE;QACJ;;;WAGG;QACH,iBAAiB,EAAE,CAAC,WAAW,EAAE,eAAe,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;KACpE,CAAC;CACH;AAID;;;;GAIG;AACH,oBAAY,4BAA4B,GAAG,uBAAuB,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,6BAA8B,SAAQ,uBAAuB;IAC5E,6CAA6C;IAC7C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oCAAoC;IACpC,iBAAiB,CAAC,EAAE,kBAAkB,CAAC;
|
1
|
+
{"version":3,"file":"VideoGalleryParticipant.d.ts","sourceRoot":"","sources":["../../../../../../react-components/src/types/VideoGalleryParticipant.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,oBAAY,eAAe,GAAG,SAAS,GAAG,MAAM,GAAG,KAAK,CAAC;AAEzD;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,kBAAkB;IACzC,kDAAkD;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yDAAyD;IACzD,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B;AAED;;;;GAIG;AACH,oBAAY,uBAAuB,GAAG;IACpC,6BAA6B;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kCAAkC;IAClC,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,mDAAmD;IACnD,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,6BAA6B;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,mDAAmD;IACnD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,wDAAwD;IACxD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kDAAkD;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yCAAyC;IACzC,aAAa,CAAC,EAAE,WAAW,CAAC;CAC7B;AAED;;;;;GAKG;AACH,MAAM,WAAW,2BAA2B;IAC1C,+CAA+C;IAC/C,IAAI,EAAE;QACJ;;;WAGG;QACH,iBAAiB,EAAE,CAAC,WAAW,EAAE,eAAe,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;KACpE,CAAC;CACH;AAID;;;;GAIG;AACH,oBAAY,4BAA4B,GAAG,uBAAuB,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,6BAA8B,SAAQ,uBAAuB;IAC5E,6CAA6C;IAC7C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oCAAoC;IACpC,iBAAiB,CAAC,EAAE,kBAAkB,CAAC;IAEvC;;;OAGG;IACH,KAAK,CAAC,EAAE,kCAAkC,CAAC;CAC5C;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,MAAM,kCAAkC,GAAG,YAAY,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,CAAC"}
|
@@ -202,9 +202,33 @@ export interface CallCompositeStrings {
|
|
202
202
|
* Label for button to copy invite link
|
203
203
|
*/
|
204
204
|
copyInviteLinkButtonLabel: string;
|
205
|
+
/**
|
206
|
+
* Label for button to open dialpad
|
207
|
+
*/
|
208
|
+
openDialpadButtonLabel: string;
|
205
209
|
/**
|
206
210
|
* Label for menu item to remove participant
|
207
211
|
*/
|
208
212
|
removeMenuLabel: string;
|
213
|
+
/**
|
214
|
+
* Label for add people dropdown
|
215
|
+
*/
|
216
|
+
peoplePaneAddPeopleButtonLabel: string;
|
217
|
+
/**
|
218
|
+
* Label for button to start a call
|
219
|
+
*/
|
220
|
+
dialpadStartCallButtonLabel: string;
|
221
|
+
/**
|
222
|
+
* Title for dialpad Modal
|
223
|
+
*/
|
224
|
+
dialpadModalTitle: string;
|
225
|
+
/**
|
226
|
+
* Aria Label for dialpad Modal
|
227
|
+
*/
|
228
|
+
dialpadModalAriaLabel: string;
|
229
|
+
/**
|
230
|
+
* Aria Label for dialpad Modal close button
|
231
|
+
*/
|
232
|
+
dialpadCloseModalButtonAriaLabel: string;
|
209
233
|
}
|
210
234
|
//# sourceMappingURL=Strings.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Strings.d.ts","sourceRoot":"","sources":["../../../../../../../react-composites/src/composites/CallComposite/Strings.tsx"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,+CAA+C,EAAE,MAAM,CAAC;IACxD;;OAEG;IACH,qDAAqD,CAAC,EAAE,MAAM,CAAC;IAC/D;;OAEG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;OAEG;IACH,yCAAyC,CAAC,EAAE,MAAM,CAAC;IACnD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC;;OAEG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;OAEG;IACH,sCAAsC,CAAC,EAAE,MAAM,CAAC;IAChD;;OAEG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;OAEG;IACH,yCAAyC,CAAC,EAAE,MAA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;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"Strings.d.ts","sourceRoot":"","sources":["../../../../../../../react-composites/src/composites/CallComposite/Strings.tsx"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,+CAA+C,EAAE,MAAM,CAAC;IACxD;;OAEG;IACH,qDAAqD,CAAC,EAAE,MAAM,CAAC;IAC/D;;OAEG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;OAEG;IACH,yCAAyC,CAAC,EAAE,MAAM,CAAC;IACnD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC;;OAEG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;OAEG;IACH,sCAAsC,CAAC,EAAE,MAAM,CAAC;IAChD;;OAEG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;OAEG;IACH,yCAAyC,CAAC,EAAE,MAAM,CAAC;IACnD;;OAEG;IACH,YAAY,EAA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C;IAE/B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,8BAA8B,EAAE,MAAM,CAAC;IAEvC;;OAEG;IACH,2BAA2B,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,gCAAgC,EAAE,MAAM,CAAC;CAC1C"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { IContextualMenuItem } from '@fluentui/react';
|
2
|
+
import { _DrawerMenuItemProps } from "../../../../react-components/src";
|
3
|
+
/**
|
4
|
+
* Convert IContextualMenuItem to _DrawerMenuItemProps
|
5
|
+
* @param contextualMenu - IContextualMenuItem to convert
|
6
|
+
* @param onDrawerMenuItemClick - callback to call when converted DrawerMenuItem is clicked
|
7
|
+
* @returns DrawerMenuItem
|
8
|
+
* @private
|
9
|
+
*/
|
10
|
+
export declare const convertContextualMenuItemToDrawerMenuItem: (contextualMenu: IContextualMenuItem, onDrawerMenuItemClick: () => void) => _DrawerMenuItemProps;
|
11
|
+
//# sourceMappingURL=ConvertContextualMenuItemToDrawerMenuItem.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ConvertContextualMenuItemToDrawerMenuItem.d.ts","sourceRoot":"","sources":["../../../../../../../react-composites/src/composites/CallWithChatComposite/ConvertContextualMenuItemToDrawerMenuItem.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,yCAAmC;AAElE;;;;;;GAMG;AACH,eAAO,MAAM,yCAAyC,mBACpC,mBAAmB,yBACZ,MAAM,IAAI,KAChC,oBAWF,CAAC"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
2
|
+
// Licensed under the MIT license.
|
3
|
+
/**
|
4
|
+
* Convert IContextualMenuItem to _DrawerMenuItemProps
|
5
|
+
* @param contextualMenu - IContextualMenuItem to convert
|
6
|
+
* @param onDrawerMenuItemClick - callback to call when converted DrawerMenuItem is clicked
|
7
|
+
* @returns DrawerMenuItem
|
8
|
+
* @private
|
9
|
+
*/
|
10
|
+
export const convertContextualMenuItemToDrawerMenuItem = (contextualMenu, onDrawerMenuItemClick) => {
|
11
|
+
return {
|
12
|
+
itemKey: contextualMenu.key,
|
13
|
+
onItemClick: () => {
|
14
|
+
var _a;
|
15
|
+
(_a = contextualMenu.onClick) === null || _a === void 0 ? void 0 : _a.call(contextualMenu);
|
16
|
+
onDrawerMenuItemClick();
|
17
|
+
},
|
18
|
+
iconProps: contextualMenu.iconProps,
|
19
|
+
text: contextualMenu.text,
|
20
|
+
disabled: contextualMenu.disabled
|
21
|
+
};
|
22
|
+
};
|
23
|
+
//# sourceMappingURL=ConvertContextualMenuItemToDrawerMenuItem.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ConvertContextualMenuItemToDrawerMenuItem.js","sourceRoot":"","sources":["../../../../../../../react-composites/src/composites/CallWithChatComposite/ConvertContextualMenuItemToDrawerMenuItem.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAKlC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,CACvD,cAAmC,EACnC,qBAAiC,EACX,EAAE;IACxB,OAAO;QACL,OAAO,EAAE,cAAc,CAAC,GAAG;QAC3B,WAAW,EAAE,GAAG,EAAE;;YAChB,MAAA,cAAc,CAAC,OAAO,+CAAtB,cAAc,CAAY,CAAC;YAC3B,qBAAqB,EAAE,CAAC;QAC1B,CAAC;QACD,SAAS,EAAE,cAAc,CAAC,SAAS;QACnC,IAAI,EAAE,cAAc,CAAC,IAAI;QACzB,QAAQ,EAAE,cAAc,CAAC,QAAQ;KAClC,CAAC;AACJ,CAAC,CAAC"}
|
@@ -92,6 +92,10 @@ export interface CallWithChatCompositeStrings {
|
|
92
92
|
* Label for button to copy invite link
|
93
93
|
*/
|
94
94
|
copyInviteLinkButtonLabel: string;
|
95
|
+
/**
|
96
|
+
* Label for button to open dialpad
|
97
|
+
*/
|
98
|
+
openDialpadButtonLabel: string;
|
95
99
|
/**
|
96
100
|
* Label for SidePaneHeader dismiss button
|
97
101
|
*/
|
@@ -104,5 +108,25 @@ export interface CallWithChatCompositeStrings {
|
|
104
108
|
* Aria label string for return to call back button
|
105
109
|
*/
|
106
110
|
returnToCallButtonAriaLabel?: string;
|
111
|
+
/**
|
112
|
+
* Label for add people dropdown
|
113
|
+
*/
|
114
|
+
peoplePaneAddPeopleButtonLabel: string;
|
115
|
+
/**
|
116
|
+
* Label for button to start a call
|
117
|
+
*/
|
118
|
+
dialpadStartCallButtonLabel: string;
|
119
|
+
/**
|
120
|
+
* Title for dialpad Modal
|
121
|
+
*/
|
122
|
+
dialpadModalTitle: string;
|
123
|
+
/**
|
124
|
+
* Aria Label for dialpad Modal
|
125
|
+
*/
|
126
|
+
dialpadModalAriaLabel: string;
|
127
|
+
/**
|
128
|
+
* Aria Label for dialpad Modal close button
|
129
|
+
*/
|
130
|
+
dialpadCloseModalButtonAriaLabel: string;
|
107
131
|
}
|
108
132
|
//# sourceMappingURL=Strings.d.ts.map
|
package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Strings.d.ts","sourceRoot":"","sources":["../../../../../../../react-composites/src/composites/CallWithChatComposite/Strings.tsx"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,uCAAuC,EAAE,MAAM,CAAC;IAChD;;;;OAIG;IACH,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,qCAAqC,EAAE,MAAM,CAAC;IAC9C;;;;;;OAMG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,yBAAyB,EAAE,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"Strings.d.ts","sourceRoot":"","sources":["../../../../../../../react-composites/src/composites/CallWithChatComposite/Strings.tsx"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,uCAAuC,EAAE,MAAM,CAAC;IAChD;;;;OAIG;IACH,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,qCAAqC,EAAE,MAAM,CAAC;IAC9C;;;;;;OAMG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAElC;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC;;OAEG;IACH,iCAAiC,CAAC,EAAE,MAAM,CAAC;IAC3C;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAGrC;;OAEG;IACH,8BAA8B,EAAE,MAAM,CAAC;IAEvC;;OAEG;IACH,2BAA2B,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,gCAAgC,EAAE,MAAM,CAAC;CAC1C"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { CallWithChatCompositeStrings } from '../../index-public';
|
3
|
+
import { CallCompositeStrings } from '../../index-public';
|
4
|
+
/** @private */
|
5
|
+
export interface AddPeopleButtonProps {
|
6
|
+
inviteLink?: string;
|
7
|
+
mobileView?: boolean;
|
8
|
+
participantList?: JSX.Element;
|
9
|
+
strings: CallWithChatCompositeStrings | /* @conditional-compile-remove(one-to-n-calling) */ CallCompositeStrings;
|
10
|
+
}
|
11
|
+
/** @private */
|
12
|
+
export declare const AddPeopleButton: (props: AddPeopleButtonProps) => JSX.Element;
|
13
|
+
//# sourceMappingURL=AddPeopleButton.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AddPeopleButton.d.ts","sourceRoot":"","sources":["../../../../../../../react-composites/src/composites/common/AddPeopleButton.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAa1D,eAAe;AACf,MAAM,WAAW,oBAAoB;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAC9B,OAAO,EAAE,4BAA4B,GAAG,mDAAmD,CAAC,oBAAoB,CAAC;CAClH;AAED,eAAe;AACf,eAAO,MAAM,eAAe,UAAW,oBAAoB,KAAG,WAsD7D,CAAC"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
2
|
+
// Licensed under the MIT license.
|
3
|
+
import { concatStyleSets, DefaultButton, PrimaryButton, Stack, useTheme } from '@fluentui/react';
|
4
|
+
import copy from 'copy-to-clipboard';
|
5
|
+
import React, { useMemo } from 'react';
|
6
|
+
import { CallWithChatCompositeIcon } from './icons';
|
7
|
+
import { peoplePaneContainerTokens } from './styles/ParticipantContainer.styles';
|
8
|
+
import { copyLinkButtonContainerStyles, copyLinkButtonStackStyles, copyLinkButtonStyles, linkIconStyles, themedCopyLinkButtonStyles } from './styles/PeoplePaneContent.styles';
|
9
|
+
/* @conditional-compile-remove(PSTN-calls) */
|
10
|
+
import { AddPeopleDropdown } from './AddPeopleDropdown';
|
11
|
+
/** @private */
|
12
|
+
export const AddPeopleButton = (props) => {
|
13
|
+
const { inviteLink, mobileView, strings, participantList } = props;
|
14
|
+
const theme = useTheme();
|
15
|
+
const copyLinkButtonStylesThemed = useMemo(() => concatStyleSets(copyLinkButtonStyles, themedCopyLinkButtonStyles(mobileView, theme)), [mobileView, theme]);
|
16
|
+
/* @conditional-compile-remove(PSTN-calls) */
|
17
|
+
if (mobileView) {
|
18
|
+
return React.createElement(AddPeopleDropdown, { strings: strings, mobileView: mobileView, inviteLink: inviteLink });
|
19
|
+
}
|
20
|
+
else {
|
21
|
+
return (React.createElement(Stack, { tokens: peoplePaneContainerTokens },
|
22
|
+
React.createElement(AddPeopleDropdown, { strings: strings, mobileView: mobileView, inviteLink: inviteLink }),
|
23
|
+
participantList));
|
24
|
+
}
|
25
|
+
if (mobileView) {
|
26
|
+
return (React.createElement(Stack, null, inviteLink && (React.createElement(Stack.Item, { styles: copyLinkButtonContainerStyles },
|
27
|
+
React.createElement(PrimaryButton, { onClick: () => copy(inviteLink !== null && inviteLink !== void 0 ? inviteLink : ''), styles: copyLinkButtonStylesThemed, onRenderIcon: () => React.createElement(CallWithChatCompositeIcon, { iconName: "Link", style: linkIconStyles }), text: strings.copyInviteLinkButtonLabel })))));
|
28
|
+
}
|
29
|
+
else {
|
30
|
+
return (React.createElement(Stack, { tokens: peoplePaneContainerTokens },
|
31
|
+
inviteLink && (React.createElement(Stack, { styles: copyLinkButtonStackStyles },
|
32
|
+
React.createElement(DefaultButton, { text: strings.copyInviteLinkButtonLabel, onRenderIcon: () => React.createElement(CallWithChatCompositeIcon, { iconName: "Link", style: linkIconStyles }), onClick: () => copy(inviteLink !== null && inviteLink !== void 0 ? inviteLink : ''), styles: copyLinkButtonStylesThemed }))),
|
33
|
+
participantList));
|
34
|
+
}
|
35
|
+
};
|
36
|
+
//# sourceMappingURL=AddPeopleButton.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AddPeopleButton.js","sourceRoot":"","sources":["../../../../../../../react-composites/src/composites/common/AddPeopleButton.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,eAAe,EAAE,aAAa,EAAiB,aAAa,EAAE,KAAK,EAAE,Q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CAAC,IAAI,IAAC,MAAM,EAAE,6BAA6B;YAC/C,oBAAC,aAAa,IACZ,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,EAAE,CAAC,EACrC,MAAM,EAAE,0BAA0B,EAClC,YAAY,EAAE,GAAG,EAAE,CAAC,oBAAC,yBAAyB,IAAC,QAAQ,EAAC,MAAM,EAAC,KAAK,EAAE,cAAc,GAAI,EACxF,IAAI,EAAE,OAAO,CAAC,yBAAyB,GACvC,CACS,CACd,CACK,CACT,CAAC;KACH;SAAM;QACL,OAAO,CACL,oBAAC,KAAK,IAAC,MAAM,EAAE,yBAAyB;YACrC,UAAU,IAAI,CACb,oBAAC,KAAK,IAAC,MAAM,EAAE,yBAAyB;gBACtC,oBAAC,aAAa,IACZ,IAAI,EAAE,OAAO,CAAC,yBAAyB,EACvC,YAAY,EAAE,GAAG,EAAE,CAAC,oBAAC,yBAAyB,IAAC,QAAQ,EAAC,MAAM,EAAC,KAAK,EAAE,cAAc,GAAI,EACxF,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,EAAE,CAAC,EACrC,MAAM,EAAE,0BAA0B,GAClC,CACI,CACT;YACA,eAAe,CACV,CACT,CAAC;KACH;AACH,CAAC,CAAC"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { CallingDialpadStrings } from './CallingDialpad';
|
3
|
+
/** @private */
|
4
|
+
export interface AddPeopleDropdownStrings extends CallingDialpadStrings {
|
5
|
+
copyInviteLinkButtonLabel: string;
|
6
|
+
openDialpadButtonLabel: string;
|
7
|
+
peoplePaneAddPeopleButtonLabel: string;
|
8
|
+
}
|
9
|
+
/** @private */
|
10
|
+
export interface AddPeopleDropdownProps {
|
11
|
+
inviteLink?: string;
|
12
|
+
mobileView?: boolean;
|
13
|
+
strings: AddPeopleDropdownStrings;
|
14
|
+
}
|
15
|
+
/** @private */
|
16
|
+
export declare const AddPeopleDropdown: (props: AddPeopleDropdownProps) => JSX.Element;
|
17
|
+
//# sourceMappingURL=AddPeopleDropdown.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AddPeopleDropdown.d.ts","sourceRoot":"","sources":["../../../../../../../react-composites/src/composites/common/AddPeopleDropdown.tsx"],"names":[],"mappings":";AAmBA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAMzD,eAAe;AACf,MAAM,WAAW,wBAAyB,SAAQ,qBAAqB;IACrE,yBAAyB,EAAE,MAAM,CAAC;IAClC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,8BAA8B,EAAE,MAAM,CAAC;CACxC;AAED,eAAe;AACf,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,wBAAwB,CAAC;CACnC;AAED,eAAe;AACf,eAAO,MAAM,iBAAiB,UAAW,sBAAsB,KAAG,WAgHjE,CAAC"}
|
@@ -0,0 +1,90 @@
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
2
|
+
// Licensed under the MIT license.
|
3
|
+
import React from 'react';
|
4
|
+
import { DefaultButton, PrimaryButton, Stack, useTheme } from '@fluentui/react';
|
5
|
+
import { _DrawerMenu } from "../../../../react-components/src";
|
6
|
+
import copy from 'copy-to-clipboard';
|
7
|
+
import { useMemo, useState } from 'react';
|
8
|
+
/* @conditional-compile-remove(PSTN-calls) */
|
9
|
+
import { CallWithChatCompositeIcon } from './icons';
|
10
|
+
import { iconStyles, themedCopyLinkButtonStyles, themedMenuStyle } from './AddPeopleDropdown.styles';
|
11
|
+
import { CallingDialpad } from './CallingDialpad';
|
12
|
+
import { _preventDismissOnEvent as preventDismissOnEvent } from "../../../../acs-ui-common/src";
|
13
|
+
import { copyLinkButtonContainerStyles, copyLinkButtonStackStyles } from './styles/PeoplePaneContent.styles';
|
14
|
+
import { drawerContainerStyles } from '../CallComposite/styles/CallComposite.styles';
|
15
|
+
import { convertContextualMenuItemToDrawerMenuItem } from '../CallWithChatComposite/ConvertContextualMenuItemToDrawerMenuItem';
|
16
|
+
/** @private */
|
17
|
+
export const AddPeopleDropdown = (props) => {
|
18
|
+
const theme = useTheme();
|
19
|
+
const { inviteLink, strings, mobileView } = props;
|
20
|
+
const [showDialpad, setShowDialpad] = useState(false);
|
21
|
+
const menuStyleThemed = useMemo(() => themedMenuStyle(theme), [theme]);
|
22
|
+
const copyLinkButtonStylesThemed = useMemo(() => themedCopyLinkButtonStyles(theme, mobileView), [mobileView, theme]);
|
23
|
+
const defaultMenuProps = useMemo(() => {
|
24
|
+
const menuProps = {
|
25
|
+
styles: menuStyleThemed,
|
26
|
+
items: [],
|
27
|
+
useTargetWidth: true,
|
28
|
+
calloutProps: {
|
29
|
+
preventDismissOnEvent
|
30
|
+
}
|
31
|
+
};
|
32
|
+
if (inviteLink) {
|
33
|
+
menuProps.items.push({
|
34
|
+
key: 'InviteLinkKey',
|
35
|
+
text: strings.copyInviteLinkButtonLabel,
|
36
|
+
itemProps: { styles: copyLinkButtonStylesThemed },
|
37
|
+
iconProps: { iconName: 'Link', style: iconStyles },
|
38
|
+
onClick: () => copy(inviteLink)
|
39
|
+
});
|
40
|
+
}
|
41
|
+
menuProps.items.push({
|
42
|
+
key: 'DialpadKey',
|
43
|
+
text: strings.openDialpadButtonLabel,
|
44
|
+
itemProps: { styles: copyLinkButtonStylesThemed },
|
45
|
+
iconProps: { iconName: PeoplePaneOpenDialpadIconNameTrampoline(), style: iconStyles },
|
46
|
+
onClick: () => setShowDialpad(true),
|
47
|
+
'data-ui-id': 'call-with-chat-composite-dial-phone-number-button'
|
48
|
+
});
|
49
|
+
return menuProps;
|
50
|
+
}, [
|
51
|
+
strings.copyInviteLinkButtonLabel,
|
52
|
+
strings.openDialpadButtonLabel,
|
53
|
+
copyLinkButtonStylesThemed,
|
54
|
+
inviteLink,
|
55
|
+
menuStyleThemed
|
56
|
+
]);
|
57
|
+
const onDismissDialpad = () => {
|
58
|
+
setShowDialpad(false);
|
59
|
+
};
|
60
|
+
const [addPeopleDrawerMenuItems, setAddPeopleDrawerMenuItems] = useState([]);
|
61
|
+
const setDrawerMenuItemsForAddPeople = useMemo(() => {
|
62
|
+
return () => {
|
63
|
+
const drawerMenuItems = defaultMenuProps.items.map((contextualMenu) => convertContextualMenuItemToDrawerMenuItem(contextualMenu, () => setAddPeopleDrawerMenuItems([])));
|
64
|
+
setAddPeopleDrawerMenuItems(drawerMenuItems);
|
65
|
+
};
|
66
|
+
}, [defaultMenuProps, setAddPeopleDrawerMenuItems]);
|
67
|
+
if (mobileView) {
|
68
|
+
return (React.createElement(Stack, null,
|
69
|
+
React.createElement(Stack.Item, { styles: copyLinkButtonContainerStyles },
|
70
|
+
React.createElement(PrimaryButton, { onClick: setDrawerMenuItemsForAddPeople, styles: copyLinkButtonStylesThemed, onRenderIcon: () => PeoplePaneAddPersonIconTrampoline(), text: strings.peoplePaneAddPeopleButtonLabel, "data-ui-id": "call-with-chat-composite-add-people-button" })),
|
71
|
+
addPeopleDrawerMenuItems.length > 0 && (React.createElement(Stack, { styles: drawerContainerStyles, "data-ui-id": "call-with-chat-composite-add-people-dropdown" },
|
72
|
+
React.createElement(_DrawerMenu, { onLightDismiss: () => setAddPeopleDrawerMenuItems([]), items: addPeopleDrawerMenuItems }))),
|
73
|
+
React.createElement(CallingDialpad, { isMobile: true, strings: strings, showDialpad: showDialpad, onDismissDialpad: onDismissDialpad })));
|
74
|
+
}
|
75
|
+
return (React.createElement(React.Fragment, null, React.createElement(Stack, null,
|
76
|
+
React.createElement(CallingDialpad, { isMobile: false, strings: strings, showDialpad: showDialpad, onDismissDialpad: onDismissDialpad }),
|
77
|
+
React.createElement(Stack, { styles: copyLinkButtonStackStyles },
|
78
|
+
React.createElement(DefaultButton, { onRenderIcon: () => PeoplePaneAddPersonIconTrampoline(), text: strings.peoplePaneAddPeopleButtonLabel, menuProps: defaultMenuProps, styles: copyLinkButtonStylesThemed, "data-ui-id": "call-with-chat-composite-add-people-button" })))));
|
79
|
+
};
|
80
|
+
function PeoplePaneOpenDialpadIconNameTrampoline() {
|
81
|
+
/* @conditional-compile-remove(PSTN-calls) */
|
82
|
+
return 'PeoplePaneOpenDialpad';
|
83
|
+
return '';
|
84
|
+
}
|
85
|
+
function PeoplePaneAddPersonIconTrampoline() {
|
86
|
+
/* @conditional-compile-remove(PSTN-calls) */
|
87
|
+
return React.createElement(CallWithChatCompositeIcon, { iconName: "PeoplePaneAddPerson" });
|
88
|
+
return React.createElement(React.Fragment, null);
|
89
|
+
}
|
90
|
+
//# sourceMappingURL=AddPeopleDropdown.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AddPeopleDropdown.js","sourceRoot":"","sources":["../../../../../../../react-composites/src/composites/common/AddPeopleDropdown.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,aAAa,EAGb,aAAa,EACb,KAAK,EACL,QAAQ,EACT,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,WAAW,EAAwB,yCAAmC;AAC/E,OAAO,IAAI,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC1C,6CAA6C;AAC7C,OAAO,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,0BAA0B,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AACrG,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,sBAAsB,IAAI,qBAAqB,EAAE,sCAAgC;AAC1F,OAAO,EAAE,6BAA6B,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC7G,OAAO,EAAE,qBAAqB,E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kButtonStyles: (theme: Theme, mobileView?: boolean | undefined) => Partial<IButtonStyles>;
|
6
|
+
/**
|
7
|
+
* @private
|
8
|
+
*/
|
9
|
+
export declare const themedMenuStyle: (theme: Theme) => Partial<IContextualMenuStyles>;
|
10
|
+
/**
|
11
|
+
* @private
|
12
|
+
*/
|
13
|
+
export declare const iconStyles: {
|
14
|
+
lineHeight: string;
|
15
|
+
width: string;
|
16
|
+
};
|
17
|
+
//# sourceMappingURL=AddPeopleDropdown.styles.d.ts.map
|
package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AddPeopleDropdown.styles.d.ts","sourceRoot":"","sources":["../../../../../../../react-composites/src/composites/common/AddPeopleDropdown.styles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,0BAA0B,UAAW,KAAK,uCAAyB,QAAQ,aAAa,CASnG,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,eAAe,UAAW,KAAK,KAAG,QAAQ,qBAAqB,CAI1E,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU;;;CAItB,CAAC"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
2
|
+
// Licensed under the MIT license.
|
3
|
+
/**
|
4
|
+
* @private
|
5
|
+
*/
|
6
|
+
export const themedCopyLinkButtonStyles = (theme, mobileView) => ({
|
7
|
+
root: {
|
8
|
+
minHeight: mobileView ? '3rem' : '2.5rem',
|
9
|
+
borderRadius: mobileView ? theme.effects.roundedCorner6 : theme.effects.roundedCorner4,
|
10
|
+
width: '100%'
|
11
|
+
},
|
12
|
+
textContainer: {
|
13
|
+
display: 'contents'
|
14
|
+
}
|
15
|
+
});
|
16
|
+
/**
|
17
|
+
* @private
|
18
|
+
*/
|
19
|
+
export const themedMenuStyle = (theme) => ({
|
20
|
+
root: {
|
21
|
+
borderRadius: theme.effects.roundedCorner6
|
22
|
+
}
|
23
|
+
});
|
24
|
+
/**
|
25
|
+
* @private
|
26
|
+
*/
|
27
|
+
export const iconStyles = {
|
28
|
+
// overwrite default line height which results in icons having different size
|
29
|
+
lineHeight: '0',
|
30
|
+
width: '1.125rem'
|
31
|
+
};
|
32
|
+
//# sourceMappingURL=AddPeopleDropdown.styles.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AddPeopleDropdown.styles.js","sourceRoot":"","sources":["../../../../../../../react-composites/src/composites/common/AddPeopleDropdown.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,KAAY,EAAE,UAAoB,EAA0B,EAAE,CAAC,CAAC;IACzG,IAAI,EAAE;QACJ,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ;QACzC,YAAY,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc;QACtF,KAAK,EAAE,MAAM;KACd;IACD,aAAa,EAAE;QACb,OAAO,EAAE,UAAU;KACpB;CACF,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAY,EAAkC,EAAE,CAAC,CAAC;IAChF,IAAI,EAAE;QACJ,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc;KAC3C;CACF,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,6EAA6E;IAC7E,UAAU,EAAE,GAAG;IACf,KAAK,EAAE,UAAU;CAClB,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
/** @private */
|
3
|
+
export interface CallingDialpadStrings {
|
4
|
+
dialpadModalAriaLabel: string;
|
5
|
+
dialpadModalTitle: string;
|
6
|
+
dialpadCloseModalButtonAriaLabel: string;
|
7
|
+
dialpadStartCallButtonLabel: string;
|
8
|
+
}
|
9
|
+
/** @private */
|
10
|
+
export interface CallingDialpadProps {
|
11
|
+
isMobile: boolean;
|
12
|
+
showDialpad: boolean;
|
13
|
+
strings: CallingDialpadStrings;
|
14
|
+
onDismissDialpad: () => void;
|
15
|
+
}
|
16
|
+
/** @private */
|
17
|
+
export declare const CallingDialpad: (props: CallingDialpadProps) => JSX.Element;
|
18
|
+
//# sourceMappingURL=CallingDialpad.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CallingDialpad.d.ts","sourceRoot":"","sources":["../../../../../../../react-composites/src/composites/common/CallingDialpad.tsx"],"names":[],"mappings":";AAgBA,eAAe;AACf,MAAM,WAAW,qBAAqB;IACpC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gCAAgC,EAAE,MAAM,CAAC;IACzC,2BAA2B,EAAE,MAAM,CAAC;CACrC;AAED,eAAe;AACf,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,qBAAqB,CAAC;IAC/B,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,eAAe;AACf,eAAO,MAAM,cAAc,UAAW,mBAAmB,KAAG,WA+E3D,CAAC"}
|