@azure/communication-react 1.16.0-beta.1 → 1.16.1
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 +170 -1980
- package/dist/dist-cjs/communication-react/index.js +32462 -160
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +1 -5
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +3 -11
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +0 -12
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +1 -13
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +0 -4
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +1 -10
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +0 -14
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +0 -10
- package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +1 -15
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +1 -3
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +0 -17
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts +0 -5
- package/dist/dist-esm/calling-component-bindings/src/index.js +0 -6
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts +0 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +12 -11
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +3 -4
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +2 -14
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +1 -20
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +0 -7
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +0 -12
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +2 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +5 -4
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +6 -6
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +5 -6
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +1 -15
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +1 -2
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +0 -5
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +10 -61
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +2 -12
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +18 -69
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +0 -46
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +0 -3
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +4 -29
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js +4 -0
- package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.d.ts +0 -17
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js +3 -61
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +0 -5
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +21 -21
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js +0 -11
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +1 -25
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +2 -33
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +2 -2
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +0 -8
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +0 -3
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +1 -5
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +4 -13
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.d.ts +1 -2
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js +0 -5
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +1 -84
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +3 -3
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +1 -4
- package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +0 -1
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +0 -26
- package/dist/dist-esm/communication-react/src/index.js +0 -16
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.js +0 -9
- package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +1 -12
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +2 -10
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +0 -16
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +30 -63
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.d.ts +1 -17
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js +4 -10
- 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.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js +4 -26
- 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/ChatMessageComponentAsEditBox.d.ts +1 -6
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js +5 -27
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.d.ts +2 -18
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js +0 -22
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.d.ts +1 -27
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js +3 -11
- 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 +1 -17
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js +5 -11
- 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 +5 -32
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/DevicesButton.d.ts +2 -1
- package/dist/dist-esm/react-components/src/components/DevicesButton.js +6 -2
- package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js +1 -5
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxButton.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/InputBoxButton.js +9 -8
- package/dist/dist-esm/react-components/src/components/InputBoxButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +0 -2
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +0 -18
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +2 -46
- package/dist/dist-esm/react-components/src/components/MessageThread.js +3 -30
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +2 -13
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js +0 -3
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +15 -21
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +27 -6
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts +0 -46
- package/dist/dist-esm/react-components/src/components/SendBox.js +18 -72
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +0 -24
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +3 -15
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +1 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +0 -7
- package/dist/dist-esm/react-components/src/components/VideoTile.js +1 -7
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +0 -19
- package/dist/dist-esm/react-components/src/components/index.js +0 -15
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +3 -3
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +2 -3
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +2 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.d.ts +1 -8
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js +3 -13
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.d.ts +3 -11
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js +2 -36
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +14 -9
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +16 -14
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.js +0 -4
- package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +0 -4
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +1 -5
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +0 -1
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +0 -60
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +0 -29
- package/dist/dist-esm/react-components/src/theming/icons.js +1 -137
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.d.ts +0 -6
- package/dist/dist-esm/react-components/src/theming/themes.js +0 -10
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +1 -27
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/OnRender.d.ts +0 -8
- package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +0 -6
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js +0 -2
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +7 -72
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +7 -30
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +4 -104
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +7 -71
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +20 -214
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +6 -91
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +1 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +1 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +0 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +16 -25
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +2 -38
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.d.ts +13 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js +9 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +0 -27
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +2 -20
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +0 -27
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +5 -19
- 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/SidePane/usePeoplePane.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +2 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +7 -30
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +0 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +0 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +7 -80
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +0 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +0 -11
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +0 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +2 -14
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +7 -90
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +1 -61
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +7 -27
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +10 -30
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +52 -38
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +179 -174
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +12 -57
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +1 -9
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +0 -9
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +2 -38
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +2 -22
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +4 -9
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +0 -20
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +1 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +6 -42
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +0 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationAttachmentUploadAdapter.d.ts +0 -29
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationAttachmentUploadAdapter.js +1 -187
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationAttachmentUploadAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +1 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +0 -92
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +2 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js +1 -8
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.d.ts +0 -1
- 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/hooks/useHandlers.js +1 -7
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +0 -3
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +1 -5
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +23 -20
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +2 -3
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CalloutWithIcon.d.ts +10 -0
- package/dist/dist-esm/react-composites/src/composites/common/CalloutWithIcon.js +39 -0
- package/dist/dist-esm/react-composites/src/composites/common/CalloutWithIcon.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +10 -13
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +0 -26
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +1 -25
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +1 -3
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +5 -16
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +1 -40
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +0 -12
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +4 -20
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +8 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +4 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +4 -0
- package/package.json +3 -3
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-N5ydNkHZ.js +0 -115
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-N5ydNkHZ.js.map +0 -1
- package/dist/dist-cjs/communication-react/index-BaI-AJud.js +0 -38969
- package/dist/dist-cjs/communication-react/index-BaI-AJud.js.map +0 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +0 -45
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +0 -91
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.d.ts +0 -17
- package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js +0 -36
- package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +0 -19
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +0 -91
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +0 -23
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +0 -49
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +0 -10
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +0 -15
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.d.ts +0 -19
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js +0 -100
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +0 -69
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +0 -43
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +0 -75
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +0 -75
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +0 -105
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +0 -68
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +0 -86
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +0 -39
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/ErrorBoundary.d.ts +0 -20
- package/dist/dist-esm/react-components/src/components/ErrorBoundary.js +0 -33
- package/dist/dist-esm/react-components/src/components/ErrorBoundary.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +0 -49
- package/dist/dist-esm/react-components/src/components/HoldButton.js +0 -25
- package/dist/dist-esm/react-components/src/components/HoldButton.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +0 -121
- package/dist/dist-esm/react-components/src/components/MentionPopover.js +0 -123
- package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/RichTextRibbonButtons.d.ts +0 -7
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/RichTextRibbonButtons.js +0 -75
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/RichTextRibbonButtons.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextInsertTableButton.d.ts +0 -7
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextInsertTableButton.js +0 -55
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextInsertTableButton.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextInsertTablePane.d.ts +0 -16
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextInsertTablePane.js +0 -59
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextInsertTablePane.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextTableContextMenu.d.ts +0 -8
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextTableContextMenu.js +0 -73
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextTableContextMenu.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/insertTableAction.d.ts +0 -9
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/insertTableAction.js +0 -56
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/insertTableAction.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.d.ts +0 -23
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js +0 -78
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.d.ts +0 -57
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js +0 -133
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.d.ts +0 -34
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js +0 -64
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.d.ts +0 -138
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +0 -186
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.d.ts +0 -16
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js +0 -73
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.d.ts +0 -34
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +0 -42
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.d.ts +0 -14
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.js +0 -18
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +0 -24
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +0 -550
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +0 -152
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +0 -816
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +0 -58
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +0 -144
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +0 -26
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +0 -69
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +0 -82
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +0 -311
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.d.ts +0 -21
- package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js +0 -38
- package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +0 -38
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +0 -92
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.js +0 -32
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +0 -26
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +0 -67
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/utils/RichTextEditorStringsUtils.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/utils/RichTextEditorStringsUtils.js +0 -39
- package/dist/dist-esm/react-components/src/components/utils/RichTextEditorStringsUtils.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.d.ts +0 -22
- package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.js +0 -29
- package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +0 -7
- package/dist/dist-esm/react-components/src/components/utils/merge.js +0 -16
- package/dist/dist-esm/react-components/src/components/utils/merge.js.map +0 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +0 -6
- package/dist/dist-esm/react-components/src/theming/icons.styles.js +0 -25
- package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +0 -48
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +0 -218
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +0 -93
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +0 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +0 -26
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +0 -24
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +0 -28
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +0 -54
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +0 -81
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.js +0 -23
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +0 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +0 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +0 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +0 -11
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/attachmentUploadsSelector.d.ts +0 -29
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/attachmentUploadsSelector.js +0 -14
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/attachmentUploadsSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +0 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +0 -22
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +0 -107
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +0 -32
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +0 -22
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +0 -74
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +0 -61
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +0 -1
package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js
DELETED
@@ -1,67 +0,0 @@
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
2
|
-
// Licensed under the MIT License.
|
3
|
-
import { _pxToRem } from "../../../../acs-ui-common/src";
|
4
|
-
/**
|
5
|
-
* @internal
|
6
|
-
*/
|
7
|
-
export const mainTextStyles = {
|
8
|
-
root: {
|
9
|
-
fontWeight: 600,
|
10
|
-
fontSize: _pxToRem(20),
|
11
|
-
lineHeight: _pxToRem(28),
|
12
|
-
margin: 'auto',
|
13
|
-
textAlign: 'center',
|
14
|
-
padding: '0.5rem'
|
15
|
-
}
|
16
|
-
};
|
17
|
-
/**
|
18
|
-
* @internal
|
19
|
-
*/
|
20
|
-
export const secondaryTextStyles = {
|
21
|
-
root: {
|
22
|
-
margin: 'auto',
|
23
|
-
fontWeight: 400,
|
24
|
-
textAlign: 'center'
|
25
|
-
}
|
26
|
-
};
|
27
|
-
/**
|
28
|
-
* @internal
|
29
|
-
*/
|
30
|
-
export const testContainerStyles = {
|
31
|
-
root: {
|
32
|
-
margin: 'auto'
|
33
|
-
}
|
34
|
-
};
|
35
|
-
/**
|
36
|
-
* @internal
|
37
|
-
*/
|
38
|
-
export const linkTextStyles = {
|
39
|
-
root: {
|
40
|
-
margin: 'auto',
|
41
|
-
fontWeight: 600,
|
42
|
-
textAlign: 'center'
|
43
|
-
}
|
44
|
-
};
|
45
|
-
/**
|
46
|
-
* @internal
|
47
|
-
*/
|
48
|
-
export const containerStyles = {
|
49
|
-
root: {
|
50
|
-
maxWidth: _pxToRem(375),
|
51
|
-
padding: '2rem'
|
52
|
-
}
|
53
|
-
};
|
54
|
-
/**
|
55
|
-
* @internal
|
56
|
-
*/
|
57
|
-
export const continueAnywayButtonStyles = (theme) => {
|
58
|
-
return {
|
59
|
-
root: {
|
60
|
-
backgroundColor: '#C4314B',
|
61
|
-
borderColor: theme.palette.neutralLight,
|
62
|
-
color: theme.palette.white,
|
63
|
-
padding: '1rem'
|
64
|
-
}
|
65
|
-
};
|
66
|
-
};
|
67
|
-
//# sourceMappingURL=UnsupportedEnvironment.styles.js.map
|
package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"UnsupportedEnvironment.styles.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/styles/UnsupportedEnvironment.styles.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,QAAQ,EAAE,sCAAgC;AAEnD;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAgB;IACzC,IAAI,EAAE;QACJ,UAAU,EAAE,GAAG;QACf,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC;QACtB,UAAU,EAAE,QAAQ,CAAC,EAAE,CAAC;QACxB,MAAM,EAAE,MAAM;QACd,SAAS,EAAE,QAAQ;QACnB,OAAO,EAAE,QAAQ;KAClB;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAgB;IAC9C,IAAI,EAAE;QACJ,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,GAAG;QACf,SAAS,EAAE,QAAQ;KACpB;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAiB;IAC/C,IAAI,EAAE;QACJ,MAAM,EAAE,MAAM;KACf;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAgB;IACzC,IAAI,EAAE;QACJ,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,GAAG;QACf,SAAS,EAAE,QAAQ;KACpB;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAiB;IAC3C,IAAI,EAAE;QACJ,QAAQ,EAAE,QAAQ,CAAC,GAAG,CAAC;QACvB,OAAO,EAAE,MAAM;KAChB;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,KAAY,EAAiB,EAAE;IACxE,OAAO;QACL,IAAI,EAAE;YACJ,eAAe,EAAE,SAAS;YAC1B,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,YAAY;YACvC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;YAC1B,OAAO,EAAE,MAAM;SAChB;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { IButtonStyles, ILinkStyles, IStackStyles, ITextStyles, Theme } from '@fluentui/react';\nimport { _pxToRem } from '@internal/acs-ui-common';\n\n/**\n * @internal\n */\nexport const mainTextStyles: ITextStyles = {\n root: {\n fontWeight: 600,\n fontSize: _pxToRem(20),\n lineHeight: _pxToRem(28),\n margin: 'auto',\n textAlign: 'center',\n padding: '0.5rem'\n }\n};\n\n/**\n * @internal\n */\nexport const secondaryTextStyles: ITextStyles = {\n root: {\n margin: 'auto',\n fontWeight: 400,\n textAlign: 'center'\n }\n};\n\n/**\n * @internal\n */\nexport const testContainerStyles: IStackStyles = {\n root: {\n margin: 'auto'\n }\n};\n\n/**\n * @internal\n */\nexport const linkTextStyles: ILinkStyles = {\n root: {\n margin: 'auto',\n fontWeight: 600,\n textAlign: 'center'\n }\n};\n\n/**\n * @internal\n */\nexport const containerStyles: IStackStyles = {\n root: {\n maxWidth: _pxToRem(375),\n padding: '2rem'\n }\n};\n\n/**\n * @internal\n */\nexport const continueAnywayButtonStyles = (theme: Theme): IButtonStyles => {\n return {\n root: {\n backgroundColor: '#C4314B',\n borderColor: theme.palette.neutralLight,\n color: theme.palette.white,\n padding: '1rem'\n }\n };\n};"]}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import type { LocalizedStrings } from 'roosterjs-react';
|
2
|
-
import type { RichTextSendBoxStrings } from '../RichTextEditor/RichTextSendBox';
|
3
|
-
/**
|
4
|
-
* @private
|
5
|
-
*
|
6
|
-
* Strings for the ribbon buttons where key should match `key` prop if any or the name of the item.
|
7
|
-
*/
|
8
|
-
export declare const ribbonButtonsStrings: (strings: Partial<RichTextSendBoxStrings>) => LocalizedStrings<string>;
|
9
|
-
/**
|
10
|
-
* @private
|
11
|
-
*
|
12
|
-
* Strings for the table context menu where key should match `key` prop if any or the name of the item.
|
13
|
-
*/
|
14
|
-
export declare const tableContextMenuStrings: (strings: Partial<RichTextSendBoxStrings>) => LocalizedStrings<string>;
|
15
|
-
//# sourceMappingURL=RichTextEditorStringsUtils.d.ts.map
|
@@ -1,39 +0,0 @@
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
2
|
-
// Licensed under the MIT License.
|
3
|
-
/**
|
4
|
-
* @private
|
5
|
-
*
|
6
|
-
* Strings for the ribbon buttons where key should match `key` prop if any or the name of the item.
|
7
|
-
*/
|
8
|
-
export const ribbonButtonsStrings = (strings) => {
|
9
|
-
return {
|
10
|
-
buttonNameBold: strings.boldTooltip,
|
11
|
-
buttonNameItalic: strings.italicTooltip,
|
12
|
-
buttonNameUnderline: strings.underlineTooltip,
|
13
|
-
buttonNameBulletedList: strings.bulletListTooltip,
|
14
|
-
buttonNameNumberedList: strings.numberListTooltip,
|
15
|
-
buttonNameIncreaseIndent: strings.increaseIndentTooltip,
|
16
|
-
buttonNameDecreaseIndent: strings.decreaseIndentTooltip,
|
17
|
-
buttonNameInsertTable: strings.insertTableTooltip,
|
18
|
-
insertTablePane: strings.insertTableMenuTitle
|
19
|
-
};
|
20
|
-
};
|
21
|
-
/**
|
22
|
-
* @private
|
23
|
-
*
|
24
|
-
* Strings for the table context menu where key should match `key` prop if any or the name of the item.
|
25
|
-
*/
|
26
|
-
export const tableContextMenuStrings = (strings) => {
|
27
|
-
return {
|
28
|
-
menuNameTableInsert: strings.insertRowOrColumnMenu,
|
29
|
-
menuNameTableInsertAbove: strings.insertRowAboveMenu,
|
30
|
-
menuNameTableInsertBelow: strings.insertRowBelowMenu,
|
31
|
-
menuNameTableInsertLeft: strings.insertColumnLeftMenu,
|
32
|
-
menuNameTableInsertRight: strings.insertColumnRightMenu,
|
33
|
-
menuNameTableDelete: strings.deleteRowOrColumnMenu,
|
34
|
-
menuNameTableDeleteColumn: strings.deleteColumnMenu,
|
35
|
-
menuNameTableDeleteRow: strings.deleteRowMenu,
|
36
|
-
menuNameTableDeleteTable: strings.deleteTableMenu
|
37
|
-
};
|
38
|
-
};
|
39
|
-
//# sourceMappingURL=RichTextEditorStringsUtils.js.map
|
package/dist/dist-esm/react-components/src/components/utils/RichTextEditorStringsUtils.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"RichTextEditorStringsUtils.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/utils/RichTextEditorStringsUtils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,OAAwC,EAA4B,EAAE;IACzG,OAAO;QACL,cAAc,EAAE,OAAO,CAAC,WAAW;QACnC,gBAAgB,EAAE,OAAO,CAAC,aAAa;QACvC,mBAAmB,EAAE,OAAO,CAAC,gBAAgB;QAC7C,sBAAsB,EAAE,OAAO,CAAC,iBAAiB;QACjD,sBAAsB,EAAE,OAAO,CAAC,iBAAiB;QACjD,wBAAwB,EAAE,OAAO,CAAC,qBAAqB;QACvD,wBAAwB,EAAE,OAAO,CAAC,qBAAqB;QACvD,qBAAqB,EAAE,OAAO,CAAC,kBAAkB;QACjD,eAAe,EAAE,OAAO,CAAC,oBAAoB;KAC9C,CAAC;AACJ,CAAC,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,OAAwC,EAA4B,EAAE;IAC5G,OAAO;QACL,mBAAmB,EAAE,OAAO,CAAC,qBAAqB;QAClD,wBAAwB,EAAE,OAAO,CAAC,kBAAkB;QACpD,wBAAwB,EAAE,OAAO,CAAC,kBAAkB;QACpD,uBAAuB,EAAE,OAAO,CAAC,oBAAoB;QACrD,wBAAwB,EAAE,OAAO,CAAC,qBAAqB;QACvD,mBAAmB,EAAE,OAAO,CAAC,qBAAqB;QAClD,yBAAyB,EAAE,OAAO,CAAC,gBAAgB;QACnD,sBAAsB,EAAE,OAAO,CAAC,aAAa;QAC7C,wBAAwB,EAAE,OAAO,CAAC,eAAe;KAClD,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { LocalizedStrings } from 'roosterjs-react';\nimport type { RichTextSendBoxStrings } from '../RichTextEditor/RichTextSendBox';\n/**\n * @private\n *\n * Strings for the ribbon buttons where key should match `key` prop if any or the name of the item.\n */\nexport const ribbonButtonsStrings = (strings: Partial<RichTextSendBoxStrings>): LocalizedStrings<string> => {\n return {\n buttonNameBold: strings.boldTooltip,\n buttonNameItalic: strings.italicTooltip,\n buttonNameUnderline: strings.underlineTooltip,\n buttonNameBulletedList: strings.bulletListTooltip,\n buttonNameNumberedList: strings.numberListTooltip,\n buttonNameIncreaseIndent: strings.increaseIndentTooltip,\n buttonNameDecreaseIndent: strings.decreaseIndentTooltip,\n buttonNameInsertTable: strings.insertTableTooltip,\n insertTablePane: strings.insertTableMenuTitle\n };\n};\n\n/**\n * @private\n *\n * Strings for the table context menu where key should match `key` prop if any or the name of the item.\n */\nexport const tableContextMenuStrings = (strings: Partial<RichTextSendBoxStrings>): LocalizedStrings<string> => {\n return {\n menuNameTableInsert: strings.insertRowOrColumnMenu,\n menuNameTableInsertAbove: strings.insertRowAboveMenu,\n menuNameTableInsertBelow: strings.insertRowBelowMenu,\n menuNameTableInsertLeft: strings.insertColumnLeftMenu,\n menuNameTableInsertRight: strings.insertColumnRightMenu,\n menuNameTableDelete: strings.deleteRowOrColumnMenu,\n menuNameTableDeleteColumn: strings.deleteColumnMenu,\n menuNameTableDeleteRow: strings.deleteRowMenu,\n menuNameTableDeleteTable: strings.deleteTableMenu\n };\n};"]}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @private
|
3
|
-
*
|
4
|
-
* String to be replaces by actual values of row and column.
|
5
|
-
*/
|
6
|
-
export declare const ColumnRowReplaceString = "{column} x {row}";
|
7
|
-
/**
|
8
|
-
* @private
|
9
|
-
*
|
10
|
-
* Function to create key pair for the selected table size.
|
11
|
-
*/
|
12
|
-
export declare function createKey(row: number, column: number): string;
|
13
|
-
/**
|
14
|
-
* @private
|
15
|
-
*
|
16
|
-
* Function to parse key to the selected table size valules.
|
17
|
-
*/
|
18
|
-
export declare function parseKey(key: string): {
|
19
|
-
row: number;
|
20
|
-
column: number;
|
21
|
-
};
|
22
|
-
//# sourceMappingURL=RichTextTableUtils.d.ts.map
|
@@ -1,29 +0,0 @@
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
2
|
-
// Licensed under the MIT License.
|
3
|
-
/**
|
4
|
-
* @private
|
5
|
-
*
|
6
|
-
* String to be replaces by actual values of row and column.
|
7
|
-
*/
|
8
|
-
export const ColumnRowReplaceString = '{column} x {row}';
|
9
|
-
/**
|
10
|
-
* @private
|
11
|
-
*
|
12
|
-
* Function to create key pair for the selected table size.
|
13
|
-
*/
|
14
|
-
export function createKey(row, column) {
|
15
|
-
return `${row},${column}`;
|
16
|
-
}
|
17
|
-
/**
|
18
|
-
* @private
|
19
|
-
*
|
20
|
-
* Function to parse key to the selected table size valules.
|
21
|
-
*/
|
22
|
-
export function parseKey(key) {
|
23
|
-
const [row, column] = key.split(',');
|
24
|
-
return {
|
25
|
-
row: parseInt(row),
|
26
|
-
column: parseInt(column)
|
27
|
-
};
|
28
|
-
}
|
29
|
-
//# sourceMappingURL=RichTextTableUtils.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"RichTextTableUtils.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/utils/RichTextTableUtils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,kBAAkB,CAAC;AAEzD;;;;GAIG;AACH,MAAM,UAAU,SAAS,CAAC,GAAW,EAAE,MAAc;IACnD,OAAO,GAAG,GAAG,IAAI,MAAM,EAAE,CAAC;AAC5B,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,QAAQ,CAAC,GAAW;IAIlC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACrC,OAAO;QACL,GAAG,EAAE,QAAQ,CAAC,GAAG,CAAC;QAClB,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC;KACzB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * @private\n *\n * String to be replaces by actual values of row and column.\n */\nexport const ColumnRowReplaceString = '{column} x {row}';\n\n/**\n * @private\n *\n * Function to create key pair for the selected table size.\n */\nexport function createKey(row: number, column: number): string {\n return `${row},${column}`;\n}\n\n/**\n * @private\n *\n * Function to parse key to the selected table size valules.\n */\nexport function parseKey(key: string): {\n row: number;\n column: number;\n} {\n const [row, column] = key.split(',');\n return {\n row: parseInt(row),\n column: parseInt(column)\n };\n}"]}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
2
|
-
// Licensed under the MIT License.
|
3
|
-
import { useMemo } from 'react';
|
4
|
-
/**
|
5
|
-
* Shallow merge two objects and return a memoized result.
|
6
|
-
*
|
7
|
-
* @private
|
8
|
-
*/
|
9
|
-
export function useShallowMerge(target, source) {
|
10
|
-
const memoizedMerge = useMemo(() => (Object.assign(Object.assign({}, (target || {})), (source || {}))), [target, source]);
|
11
|
-
if (!target && !source) {
|
12
|
-
return undefined;
|
13
|
-
}
|
14
|
-
return memoizedMerge;
|
15
|
-
}
|
16
|
-
//# sourceMappingURL=merge.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/utils/merge.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAAoC,MAAqB,EAAE,MAAqB;IAC7G,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,gCAChC,CAAC,MAAM,IAAI,EAAE,CAAC,GACd,CAAC,MAAM,IAAI,EAAE,CAAC,CACZ,CAAA,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC3B,IAAI,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC;QACvB,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,aAAa,CAAC;AACvB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { useMemo } from 'react';\n\n/**\n * Shallow merge two objects and return a memoized result.\n *\n * @private\n */\nexport function useShallowMerge<T extends Record<string, unknown>>(target: T | undefined, source: T | undefined): T | undefined {\n const memoizedMerge = useMemo(() => ({\n ...(target || {}),\n ...(source || {})\n } as T), [target, source]);\n if (!target && !source) {\n return undefined;\n }\n return memoizedMerge;\n}"]}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { IStackStyles, IStyle, Theme } from '@fluentui/react';
|
2
|
-
/** @private */
|
3
|
-
export declare const scaledIconStyles: (theme: Theme) => IStyle;
|
4
|
-
/** @private */
|
5
|
-
export declare const sitePermissionIconBackgroundStyle: (theme: Theme) => IStackStyles;
|
6
|
-
//# sourceMappingURL=icons.styles.d.ts.map
|
@@ -1,25 +0,0 @@
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
2
|
-
// Licensed under the MIT License.
|
3
|
-
/** @private */
|
4
|
-
export const scaledIconStyles = (theme) => {
|
5
|
-
return {
|
6
|
-
transform: 'scale(2)',
|
7
|
-
display: 'flex',
|
8
|
-
justifyContent: 'center',
|
9
|
-
alignItems: 'center',
|
10
|
-
lineHeight: '0.2rem',
|
11
|
-
color: theme.palette.themePrimary,
|
12
|
-
zIndex: 1
|
13
|
-
};
|
14
|
-
};
|
15
|
-
/** @private */
|
16
|
-
export const sitePermissionIconBackgroundStyle = (theme) => {
|
17
|
-
return {
|
18
|
-
root: {
|
19
|
-
borderRadius: '100%',
|
20
|
-
background: theme.palette.themeLighterAlt,
|
21
|
-
padding: '2rem'
|
22
|
-
}
|
23
|
-
};
|
24
|
-
};
|
25
|
-
//# sourceMappingURL=icons.styles.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"icons.styles.js","sourceRoot":"","sources":["../../../../../preprocess-dist/react-components/src/theming/icons.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,eAAe;AACf,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAY,EAAU,EAAE;IACvD,OAAO;QACL,SAAS,EAAE,UAAU;QACrB,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;QACpB,UAAU,EAAE,QAAQ;QACpB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,YAAY;QACjC,MAAM,EAAE,CAAC;KACV,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe;AACf,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,KAAY,EAAgB,EAAE;IAC9E,OAAO;QACL,IAAI,EAAE;YACJ,YAAY,EAAE,MAAM;YACpB,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,eAAe;YACzC,OAAO,EAAE,MAAM;SAChB;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { IStackStyles, IStyle, Theme } from '@fluentui/react';\n\n/** @private */\nexport const scaledIconStyles = (theme: Theme): IStyle => {\n return {\n transform: 'scale(2)',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n lineHeight: '0.2rem',\n color: theme.palette.themePrimary,\n zIndex: 1\n };\n};\n\n/** @private */\nexport const sitePermissionIconBackgroundStyle = (theme: Theme): IStackStyles => {\n return {\n root: {\n borderRadius: '100%',\n background: theme.palette.themeLighterAlt,\n padding: '2rem'\n }\n };\n};"]}
|
@@ -1,48 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { EnvironmentInfo } from '@azure/communication-calling';
|
3
|
-
/**
|
4
|
-
* Modal that guides user through enabling their camera and mic access
|
5
|
-
* @private
|
6
|
-
*/
|
7
|
-
export declare const CallReadinessModal: (props: {
|
8
|
-
mobileView: boolean;
|
9
|
-
modalLayerHostId: string;
|
10
|
-
permissionsState: {
|
11
|
-
camera: PermissionState;
|
12
|
-
microphone: PermissionState;
|
13
|
-
};
|
14
|
-
environmentInfo?: EnvironmentInfo | undefined;
|
15
|
-
isPermissionsModalDismissed: boolean;
|
16
|
-
setIsPermissionsModalDismissed: (dismissedState: boolean) => void;
|
17
|
-
onPermissionsTroubleshootingClick?: ((permissionsState: {
|
18
|
-
camera: PermissionState;
|
19
|
-
microphone: PermissionState;
|
20
|
-
}) => void) | undefined;
|
21
|
-
}) => JSX.Element;
|
22
|
-
/**
|
23
|
-
* Modal that guides user through enabling their camera and mic access
|
24
|
-
* This is used when permission API is not supported
|
25
|
-
* @private
|
26
|
-
*/
|
27
|
-
export declare const CallReadinessModalFallBack: (props: {
|
28
|
-
mobileView: boolean;
|
29
|
-
checkPermissionModalShowing: boolean;
|
30
|
-
permissionsState: {
|
31
|
-
camera: PermissionState;
|
32
|
-
microphone: PermissionState;
|
33
|
-
};
|
34
|
-
modalLayerHostId: string;
|
35
|
-
environmentInfo?: EnvironmentInfo | undefined;
|
36
|
-
isPermissionsModalDismissed: boolean;
|
37
|
-
setIsPermissionsModalDismissed: (dismissedState: boolean) => void;
|
38
|
-
onPermissionsTroubleshootingClick?: ((permissionsState: {
|
39
|
-
camera: PermissionState;
|
40
|
-
microphone: PermissionState;
|
41
|
-
}) => void) | undefined;
|
42
|
-
}) => JSX.Element;
|
43
|
-
/**
|
44
|
-
* Placeholder for conditional compile
|
45
|
-
* @private
|
46
|
-
*/
|
47
|
-
export declare const CallReadinessModalPlaceHolder: () => JSX.Element;
|
48
|
-
//# sourceMappingURL=CallReadinessModal.d.ts.map
|
package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js
DELETED
@@ -1,218 +0,0 @@
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
2
|
-
// Licensed under the MIT License.
|
3
|
-
import React from 'react';
|
4
|
-
/* @conditional-compile-remove(call-readiness) */
|
5
|
-
import { CameraAndMicrophoneSitePermissions, CameraSitePermissions, MicrophoneSitePermissions, _DrawerSurface } from "../../../../../react-components/src";
|
6
|
-
/* @conditional-compile-remove(call-readiness) */
|
7
|
-
import { _ModalClone } from "../../../../../react-components/src";
|
8
|
-
/* @conditional-compile-remove(call-readiness) */
|
9
|
-
import { drawerContainerStyles } from '../styles/CallComposite.styles';
|
10
|
-
/* @conditional-compile-remove(call-readiness) */ /* @conditional-compile-remove(unsupported-browser) */
|
11
|
-
import { _isSafari } from '../utils';
|
12
|
-
/* @conditional-compile-remove(call-readiness) */
|
13
|
-
const DRAWER_HIGH_Z_BAND = 99; // setting z index to 99 so that it sit above all components
|
14
|
-
/* @conditional-compile-remove(call-readiness) */
|
15
|
-
/**
|
16
|
-
* Modal that guides user through enabling their camera and mic access
|
17
|
-
* @private
|
18
|
-
*/
|
19
|
-
export const CallReadinessModal = (props) => {
|
20
|
-
const { mobileView, permissionsState,
|
21
|
-
/* @conditional-compile-remove(unsupported-browser) */ environmentInfo, isPermissionsModalDismissed, setIsPermissionsModalDismissed, onPermissionsTroubleshootingClick } = props;
|
22
|
-
const onLightDismissTriggered = () => {
|
23
|
-
// do nothing here
|
24
|
-
// only way to dismiss this drawer is clicking on allow access which will leads to device permission prompt
|
25
|
-
};
|
26
|
-
// On Safari browser with 2 options: don't allow/never for this website again, when don't allow is clicked, permissionAPI returns prompt and PermissionGranted from calling sdk returns false (the right value)
|
27
|
-
const videoState = permissionsState.camera;
|
28
|
-
const audioState = permissionsState.microphone;
|
29
|
-
const showModal = videoState === 'denied' || videoState === 'prompt' || audioState === 'denied' || audioState === 'prompt';
|
30
|
-
/* @conditional-compile-remove(unsupported-browser) */
|
31
|
-
const isSafari = _isSafari(environmentInfo);
|
32
|
-
const modal = !showModal ? undefined : () => {
|
33
|
-
// if both video and audio permission are not set
|
34
|
-
if (videoState === 'prompt' && audioState === 'prompt') {
|
35
|
-
return React.createElement(CameraAndMicrophoneSitePermissions, { appName: 'app',
|
36
|
-
/* @conditional-compile-remove(unsupported-browser) */ browserHint: isSafari ? 'safari' : 'unset', onTroubleshootingClick: onPermissionsTroubleshootingClick ? () => {
|
37
|
-
onPermissionsTroubleshootingClick(permissionsState);
|
38
|
-
} : undefined, kind: "request" });
|
39
|
-
}
|
40
|
-
// if audio permission is set up but video is not
|
41
|
-
else if (videoState === 'prompt') {
|
42
|
-
return React.createElement(CameraSitePermissions, { appName: 'app',
|
43
|
-
/* @conditional-compile-remove(unsupported-browser) */ browserHint: isSafari ? 'safari' : 'unset', onTroubleshootingClick: onPermissionsTroubleshootingClick ? () => {
|
44
|
-
onPermissionsTroubleshootingClick(permissionsState);
|
45
|
-
} : undefined, onContinueAnywayClick: () => {
|
46
|
-
setIsPermissionsModalDismissed(false);
|
47
|
-
}, kind: "request" });
|
48
|
-
}
|
49
|
-
// if video permission is set up but audio is not
|
50
|
-
else if (audioState === 'prompt') {
|
51
|
-
return React.createElement(MicrophoneSitePermissions, { appName: 'app',
|
52
|
-
/* @conditional-compile-remove(unsupported-browser) */ browserHint: isSafari ? 'safari' : 'unset', onTroubleshootingClick: onPermissionsTroubleshootingClick ? () => {
|
53
|
-
onPermissionsTroubleshootingClick(permissionsState);
|
54
|
-
} : undefined, kind: "request" });
|
55
|
-
}
|
56
|
-
// if both video and audio are denied
|
57
|
-
else if (videoState === 'denied' && audioState === 'denied') {
|
58
|
-
return React.createElement(CameraAndMicrophoneSitePermissions, { appName: 'app',
|
59
|
-
/* @conditional-compile-remove(unsupported-browser) */ browserHint: isSafari ? 'safari' : 'unset', onTroubleshootingClick: onPermissionsTroubleshootingClick ? () => {
|
60
|
-
onPermissionsTroubleshootingClick(permissionsState);
|
61
|
-
} : undefined, kind: "denied" });
|
62
|
-
}
|
63
|
-
// if only video is denied
|
64
|
-
else if (videoState === 'denied') {
|
65
|
-
return React.createElement(CameraSitePermissions, { appName: 'app',
|
66
|
-
/* @conditional-compile-remove(unsupported-browser) */ browserHint: isSafari ? 'safari' : 'unset', onTroubleshootingClick: onPermissionsTroubleshootingClick ? () => {
|
67
|
-
onPermissionsTroubleshootingClick(permissionsState);
|
68
|
-
} : undefined, onContinueAnywayClick: () => {
|
69
|
-
setIsPermissionsModalDismissed(false);
|
70
|
-
}, kind: "denied" });
|
71
|
-
}
|
72
|
-
// if only audio is denied
|
73
|
-
else {
|
74
|
-
return React.createElement(MicrophoneSitePermissions, { appName: 'app',
|
75
|
-
/* @conditional-compile-remove(unsupported-browser) */ browserHint: isSafari ? 'safari' : 'unset', onTroubleshootingClick: onPermissionsTroubleshootingClick ? () => {
|
76
|
-
onPermissionsTroubleshootingClick(permissionsState);
|
77
|
-
} : undefined, kind: "denied" });
|
78
|
-
}
|
79
|
-
};
|
80
|
-
if (mobileView && modal !== undefined) {
|
81
|
-
return React.createElement(React.Fragment, null, isPermissionsModalDismissed && React.createElement(_DrawerSurface, { disableMaxHeight: true, onLightDismiss: onLightDismissTriggered, styles: drawerContainerStyles(DRAWER_HIGH_Z_BAND) }, modal()));
|
82
|
-
}
|
83
|
-
else if (!mobileView && modal !== undefined) {
|
84
|
-
return React.createElement(_ModalClone, { styles: {
|
85
|
-
root: {
|
86
|
-
position: 'unset'
|
87
|
-
},
|
88
|
-
main: {
|
89
|
-
position: 'absolute',
|
90
|
-
left: '50%',
|
91
|
-
top: '50%',
|
92
|
-
transform: 'translate(-50%, -50%)'
|
93
|
-
}
|
94
|
-
}, layerProps: {
|
95
|
-
hostId: props.modalLayerHostId
|
96
|
-
}, isOpen: isPermissionsModalDismissed, isBlocking: false, onDismiss: () => {
|
97
|
-
setIsPermissionsModalDismissed(false);
|
98
|
-
}, overlay: {
|
99
|
-
styles: {
|
100
|
-
root: {
|
101
|
-
background: 'rgba(0,0,0,0.4)'
|
102
|
-
}
|
103
|
-
}
|
104
|
-
} }, modal());
|
105
|
-
}
|
106
|
-
else {
|
107
|
-
return React.createElement(React.Fragment, null);
|
108
|
-
}
|
109
|
-
};
|
110
|
-
/* @conditional-compile-remove(call-readiness) */
|
111
|
-
/**
|
112
|
-
* Modal that guides user through enabling their camera and mic access
|
113
|
-
* This is used when permission API is not supported
|
114
|
-
* @private
|
115
|
-
*/
|
116
|
-
export const CallReadinessModalFallBack = (props) => {
|
117
|
-
const { mobileView, checkPermissionModalShowing, permissionsState,
|
118
|
-
/* @conditional-compile-remove(unsupported-browser) */ environmentInfo, isPermissionsModalDismissed, setIsPermissionsModalDismissed, onPermissionsTroubleshootingClick } = props;
|
119
|
-
const onLightDismissTriggered = () => {
|
120
|
-
// do nothing here
|
121
|
-
// only way to dismiss this drawer is clicking on allow access which will leads to device permission prompt
|
122
|
-
};
|
123
|
-
const videoState = permissionsState.camera;
|
124
|
-
const audioState = permissionsState.microphone;
|
125
|
-
// When permissions are not set, do nothing here
|
126
|
-
// When permissions are set to denied, show helper screen
|
127
|
-
const showModal = videoState === 'denied' || audioState === 'denied';
|
128
|
-
/* @conditional-compile-remove(unsupported-browser) */
|
129
|
-
const isSafari = _isSafari(environmentInfo);
|
130
|
-
const modal = !showModal ? undefined : () => {
|
131
|
-
if (videoState === 'denied' && audioState === 'denied') {
|
132
|
-
return React.createElement(CameraAndMicrophoneSitePermissions, { appName: 'app',
|
133
|
-
/* @conditional-compile-remove(unsupported-browser) */ browserHint: isSafari ? 'safari' : 'unset', onTroubleshootingClick: onPermissionsTroubleshootingClick ? () => {
|
134
|
-
onPermissionsTroubleshootingClick(permissionsState);
|
135
|
-
} : undefined, kind: "denied" });
|
136
|
-
}
|
137
|
-
else if (videoState === 'denied' && audioState === 'granted') {
|
138
|
-
return React.createElement(CameraSitePermissions, { appName: 'app',
|
139
|
-
/* @conditional-compile-remove(unsupported-browser) */ browserHint: isSafari ? 'safari' : 'unset', onTroubleshootingClick: onPermissionsTroubleshootingClick ? () => {
|
140
|
-
onPermissionsTroubleshootingClick(permissionsState);
|
141
|
-
} : undefined, onContinueAnywayClick: () => {
|
142
|
-
setIsPermissionsModalDismissed(false);
|
143
|
-
}, kind: "denied" });
|
144
|
-
}
|
145
|
-
else {
|
146
|
-
return React.createElement(MicrophoneSitePermissions, { appName: 'app',
|
147
|
-
/* @conditional-compile-remove(unsupported-browser) */ browserHint: isSafari ? 'safari' : 'unset', onTroubleshootingClick: onPermissionsTroubleshootingClick ? () => {
|
148
|
-
onPermissionsTroubleshootingClick(permissionsState);
|
149
|
-
} : undefined, kind: "denied" });
|
150
|
-
}
|
151
|
-
};
|
152
|
-
if (mobileView) {
|
153
|
-
return React.createElement(React.Fragment, null,
|
154
|
-
(checkPermissionModalShowing || audioState === 'prompt' || videoState === 'prompt') && React.createElement(_DrawerSurface, { disableMaxHeight: true, onLightDismiss: onLightDismissTriggered, styles: drawerContainerStyles(DRAWER_HIGH_Z_BAND) },
|
155
|
-
React.createElement(CameraAndMicrophoneSitePermissions, { appName: 'app',
|
156
|
-
/* @conditional-compile-remove(unsupported-browser) */ browserHint: isSafari ? 'safari' : 'unset', onTroubleshootingClick: onPermissionsTroubleshootingClick ? () => {
|
157
|
-
onPermissionsTroubleshootingClick(permissionsState);
|
158
|
-
} : undefined, kind: "check" })),
|
159
|
-
isPermissionsModalDismissed && !checkPermissionModalShowing && modal !== undefined && React.createElement(_DrawerSurface, { disableMaxHeight: true, onLightDismiss: onLightDismissTriggered, styles: drawerContainerStyles(DRAWER_HIGH_Z_BAND) }, modal()));
|
160
|
-
}
|
161
|
-
else {
|
162
|
-
return React.createElement(React.Fragment, null,
|
163
|
-
(checkPermissionModalShowing || audioState === 'prompt' || videoState === 'prompt') && React.createElement(_ModalClone, { styles: {
|
164
|
-
root: {
|
165
|
-
position: 'unset'
|
166
|
-
},
|
167
|
-
main: {
|
168
|
-
position: 'absolute',
|
169
|
-
left: '50%',
|
170
|
-
top: '50%',
|
171
|
-
transform: 'translate(-50%, -50%)'
|
172
|
-
}
|
173
|
-
}, layerProps: {
|
174
|
-
hostId: props.modalLayerHostId
|
175
|
-
}, isOpen: isPermissionsModalDismissed, isBlocking: false, onDismiss: () => {
|
176
|
-
setIsPermissionsModalDismissed(false);
|
177
|
-
}, overlay: {
|
178
|
-
styles: {
|
179
|
-
root: {
|
180
|
-
background: 'rgba(0,0,0,0.4)'
|
181
|
-
}
|
182
|
-
}
|
183
|
-
} },
|
184
|
-
React.createElement(CameraAndMicrophoneSitePermissions, { appName: 'app',
|
185
|
-
/* @conditional-compile-remove(unsupported-browser) */ browserHint: isSafari ? 'safari' : 'unset', onTroubleshootingClick: onPermissionsTroubleshootingClick ? () => {
|
186
|
-
onPermissionsTroubleshootingClick(permissionsState);
|
187
|
-
} : undefined, kind: "check" })),
|
188
|
-
!checkPermissionModalShowing && modal !== undefined && React.createElement(_ModalClone, { styles: {
|
189
|
-
root: {
|
190
|
-
position: 'unset'
|
191
|
-
},
|
192
|
-
main: {
|
193
|
-
position: 'absolute',
|
194
|
-
left: '50%',
|
195
|
-
top: '50%',
|
196
|
-
transform: 'translate(-50%, -50%)'
|
197
|
-
}
|
198
|
-
}, layerProps: {
|
199
|
-
hostId: props.modalLayerHostId
|
200
|
-
}, isOpen: isPermissionsModalDismissed, isBlocking: false, onDismiss: () => {
|
201
|
-
setIsPermissionsModalDismissed(false);
|
202
|
-
}, overlay: {
|
203
|
-
styles: {
|
204
|
-
root: {
|
205
|
-
background: 'rgba(0,0,0,0.4)'
|
206
|
-
}
|
207
|
-
}
|
208
|
-
} }, modal()));
|
209
|
-
}
|
210
|
-
};
|
211
|
-
/**
|
212
|
-
* Placeholder for conditional compile
|
213
|
-
* @private
|
214
|
-
*/
|
215
|
-
export const CallReadinessModalPlaceHolder = () => {
|
216
|
-
return React.createElement(React.Fragment, null);
|
217
|
-
};
|
218
|
-
//# sourceMappingURL=CallReadinessModal.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CallReadinessModal.js","sourceRoot":"","sources":["../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/components/CallReadinessModal.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,iDAAiD;AACjD,OAAO,EAAE,kCAAkC,EAAE,qB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E;oBACV,MAAM,EAAE;wBACN,IAAI,EAAE;4BACJ,UAAU,EAAE,iBAAiB;yBAC9B;qBACF;iBACF,IACM,KAAK,EAAE,CACI,CACf,CAAC;IACR,CAAC;AACH,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,GAAgB,EAAE;IAC7D,OAAO,yCAAK,CAAC;AACf,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React from 'react';\n/* @conditional-compile-remove(call-readiness) */\nimport { CameraAndMicrophoneSitePermissions, CameraSitePermissions, MicrophoneSitePermissions, _DrawerSurface } from '@internal/react-components';\n/* @conditional-compile-remove(call-readiness) */\nimport { _ModalClone } from '@internal/react-components';\n/* @conditional-compile-remove(call-readiness) */\nimport { drawerContainerStyles } from '../styles/CallComposite.styles';\n/* @conditional-compile-remove(unsupported-browser) */\nimport { EnvironmentInfo } from '@azure/communication-calling';\n/* @conditional-compile-remove(call-readiness) */ /* @conditional-compile-remove(unsupported-browser) */\nimport { _isSafari } from '../utils';\n/* @conditional-compile-remove(call-readiness) */\nconst DRAWER_HIGH_Z_BAND = 99; // setting z index to 99 so that it sit above all components\n\n/* @conditional-compile-remove(call-readiness) */\n/**\n * Modal that guides user through enabling their camera and mic access\n * @private\n */\nexport const CallReadinessModal = (props: {\n mobileView: boolean;\n modalLayerHostId: string;\n permissionsState: {\n camera: PermissionState;\n microphone: PermissionState;\n };\n /* @conditional-compile-remove(unsupported-browser) */\n environmentInfo?: EnvironmentInfo;\n isPermissionsModalDismissed: boolean;\n setIsPermissionsModalDismissed: (dismissedState: boolean) => void;\n onPermissionsTroubleshootingClick?: (permissionsState: {\n camera: PermissionState;\n microphone: PermissionState;\n }) => void;\n}): JSX.Element => {\n const {\n mobileView,\n permissionsState,\n /* @conditional-compile-remove(unsupported-browser) */environmentInfo,\n isPermissionsModalDismissed,\n setIsPermissionsModalDismissed,\n onPermissionsTroubleshootingClick\n } = props;\n const onLightDismissTriggered = (): void => {\n // do nothing here\n // only way to dismiss this drawer is clicking on allow access which will leads to device permission prompt\n };\n\n // On Safari browser with 2 options: don't allow/never for this website again, when don't allow is clicked, permissionAPI returns prompt and PermissionGranted from calling sdk returns false (the right value)\n const videoState: PermissionState = permissionsState.camera;\n const audioState: PermissionState = permissionsState.microphone;\n const showModal = videoState === 'denied' || videoState === 'prompt' || audioState === 'denied' || audioState === 'prompt';\n /* @conditional-compile-remove(unsupported-browser) */\n const isSafari = _isSafari(environmentInfo);\n const modal: undefined | (() => JSX.Element) = !showModal ? undefined : () => {\n // if both video and audio permission are not set\n if (videoState === 'prompt' && audioState === 'prompt') {\n return <CameraAndMicrophoneSitePermissions appName={'app'}\n /* @conditional-compile-remove(unsupported-browser) */ browserHint={isSafari ? 'safari' : 'unset'} onTroubleshootingClick={onPermissionsTroubleshootingClick ? () => {\n onPermissionsTroubleshootingClick(permissionsState);\n } : undefined} kind=\"request\" />;\n }\n // if audio permission is set up but video is not\n else if (videoState === 'prompt') {\n return <CameraSitePermissions appName={'app'}\n /* @conditional-compile-remove(unsupported-browser) */ browserHint={isSafari ? 'safari' : 'unset'} onTroubleshootingClick={onPermissionsTroubleshootingClick ? () => {\n onPermissionsTroubleshootingClick(permissionsState);\n } : undefined} onContinueAnywayClick={() => {\n setIsPermissionsModalDismissed(false);\n }} kind=\"request\" />;\n }\n // if video permission is set up but audio is not\n else if (audioState === 'prompt') {\n return <MicrophoneSitePermissions appName={'app'}\n /* @conditional-compile-remove(unsupported-browser) */ browserHint={isSafari ? 'safari' : 'unset'} onTroubleshootingClick={onPermissionsTroubleshootingClick ? () => {\n onPermissionsTroubleshootingClick(permissionsState);\n } : undefined} kind=\"request\" />;\n }\n // if both video and audio are denied\n else if (videoState === 'denied' && audioState === 'denied') {\n return <CameraAndMicrophoneSitePermissions appName={'app'}\n /* @conditional-compile-remove(unsupported-browser) */ browserHint={isSafari ? 'safari' : 'unset'} onTroubleshootingClick={onPermissionsTroubleshootingClick ? () => {\n onPermissionsTroubleshootingClick(permissionsState);\n } : undefined} kind=\"denied\" />;\n }\n // if only video is denied\n else if (videoState === 'denied') {\n return <CameraSitePermissions appName={'app'}\n /* @conditional-compile-remove(unsupported-browser) */ browserHint={isSafari ? 'safari' : 'unset'} onTroubleshootingClick={onPermissionsTroubleshootingClick ? () => {\n onPermissionsTroubleshootingClick(permissionsState);\n } : undefined} onContinueAnywayClick={() => {\n setIsPermissionsModalDismissed(false);\n }} kind=\"denied\" />;\n }\n // if only audio is denied\n else {\n return <MicrophoneSitePermissions appName={'app'}\n /* @conditional-compile-remove(unsupported-browser) */ browserHint={isSafari ? 'safari' : 'unset'} onTroubleshootingClick={onPermissionsTroubleshootingClick ? () => {\n onPermissionsTroubleshootingClick(permissionsState);\n } : undefined} kind=\"denied\" />;\n }\n };\n if (mobileView && modal !== undefined) {\n return <>\n {isPermissionsModalDismissed && <_DrawerSurface disableMaxHeight={true} onLightDismiss={onLightDismissTriggered} styles={drawerContainerStyles(DRAWER_HIGH_Z_BAND)}>\n {modal()}\n </_DrawerSurface>}\n </>;\n } else if (!mobileView && modal !== undefined) {\n return <_ModalClone styles={{\n root: {\n position: 'unset'\n },\n main: {\n position: 'absolute',\n left: '50%',\n top: '50%',\n transform: 'translate(-50%, -50%)'\n }\n }} layerProps={{\n hostId: props.modalLayerHostId\n }} isOpen={isPermissionsModalDismissed} isBlocking={false} onDismiss={() => {\n setIsPermissionsModalDismissed(false);\n }} overlay={{\n styles: {\n root: {\n background: 'rgba(0,0,0,0.4)'\n }\n }\n }}>\n {modal()}\n </_ModalClone>;\n } else {\n return <></>;\n }\n};\n\n/* @conditional-compile-remove(call-readiness) */\n/**\n * Modal that guides user through enabling their camera and mic access\n * This is used when permission API is not supported\n * @private\n */\nexport const CallReadinessModalFallBack = (props: {\n mobileView: boolean;\n checkPermissionModalShowing: boolean;\n permissionsState: {\n camera: PermissionState;\n microphone: PermissionState;\n };\n modalLayerHostId: string;\n /* @conditional-compile-remove(unsupported-browser) */\n environmentInfo?: EnvironmentInfo;\n isPermissionsModalDismissed: boolean;\n setIsPermissionsModalDismissed: (dismissedState: boolean) => void;\n onPermissionsTroubleshootingClick?: (permissionsState: {\n camera: PermissionState;\n microphone: PermissionState;\n }) => void;\n}): JSX.Element => {\n const {\n mobileView,\n checkPermissionModalShowing,\n permissionsState,\n /* @conditional-compile-remove(unsupported-browser) */environmentInfo,\n isPermissionsModalDismissed,\n setIsPermissionsModalDismissed,\n onPermissionsTroubleshootingClick\n } = props;\n const onLightDismissTriggered = (): void => {\n // do nothing here\n // only way to dismiss this drawer is clicking on allow access which will leads to device permission prompt\n };\n const videoState = permissionsState.camera;\n const audioState = permissionsState.microphone;\n\n // When permissions are not set, do nothing here\n // When permissions are set to denied, show helper screen\n const showModal = videoState === 'denied' || audioState === 'denied';\n\n /* @conditional-compile-remove(unsupported-browser) */\n const isSafari = _isSafari(environmentInfo);\n const modal: undefined | (() => JSX.Element) = !showModal ? undefined : () => {\n if (videoState === 'denied' && audioState === 'denied') {\n return <CameraAndMicrophoneSitePermissions appName={'app'}\n /* @conditional-compile-remove(unsupported-browser) */ browserHint={isSafari ? 'safari' : 'unset'} onTroubleshootingClick={onPermissionsTroubleshootingClick ? () => {\n onPermissionsTroubleshootingClick(permissionsState);\n } : undefined} kind=\"denied\" />;\n } else if (videoState === 'denied' && audioState === 'granted') {\n return <CameraSitePermissions appName={'app'}\n /* @conditional-compile-remove(unsupported-browser) */ browserHint={isSafari ? 'safari' : 'unset'} onTroubleshootingClick={onPermissionsTroubleshootingClick ? () => {\n onPermissionsTroubleshootingClick(permissionsState);\n } : undefined} onContinueAnywayClick={() => {\n setIsPermissionsModalDismissed(false);\n }} kind=\"denied\" />;\n } else {\n return <MicrophoneSitePermissions appName={'app'}\n /* @conditional-compile-remove(unsupported-browser) */ browserHint={isSafari ? 'safari' : 'unset'} onTroubleshootingClick={onPermissionsTroubleshootingClick ? () => {\n onPermissionsTroubleshootingClick(permissionsState);\n } : undefined} kind=\"denied\" />;\n }\n };\n if (mobileView) {\n return <>\n {(checkPermissionModalShowing || audioState === 'prompt' || videoState === 'prompt') && <_DrawerSurface disableMaxHeight={true} onLightDismiss={onLightDismissTriggered} styles={drawerContainerStyles(DRAWER_HIGH_Z_BAND)}>\n <CameraAndMicrophoneSitePermissions appName={'app'}\n /* @conditional-compile-remove(unsupported-browser) */ browserHint={isSafari ? 'safari' : 'unset'} onTroubleshootingClick={onPermissionsTroubleshootingClick ? () => {\n onPermissionsTroubleshootingClick(permissionsState);\n } : undefined} kind=\"check\" />\n </_DrawerSurface>}\n {isPermissionsModalDismissed && !checkPermissionModalShowing && modal !== undefined && <_DrawerSurface disableMaxHeight={true} onLightDismiss={onLightDismissTriggered} styles={drawerContainerStyles(DRAWER_HIGH_Z_BAND)}>\n {modal()}\n </_DrawerSurface>}\n </>;\n } else {\n return <>\n {(checkPermissionModalShowing || audioState === 'prompt' || videoState === 'prompt') && <_ModalClone styles={{\n root: {\n position: 'unset'\n },\n main: {\n position: 'absolute',\n left: '50%',\n top: '50%',\n transform: 'translate(-50%, -50%)'\n }\n }} layerProps={{\n hostId: props.modalLayerHostId\n }} isOpen={isPermissionsModalDismissed} isBlocking={false} onDismiss={() => {\n setIsPermissionsModalDismissed(false);\n }} overlay={{\n styles: {\n root: {\n background: 'rgba(0,0,0,0.4)'\n }\n }\n }}>\n <CameraAndMicrophoneSitePermissions appName={'app'}\n /* @conditional-compile-remove(unsupported-browser) */ browserHint={isSafari ? 'safari' : 'unset'} onTroubleshootingClick={onPermissionsTroubleshootingClick ? () => {\n onPermissionsTroubleshootingClick(permissionsState);\n } : undefined} kind=\"check\" />\n </_ModalClone>}\n\n {!checkPermissionModalShowing && modal !== undefined && <_ModalClone styles={{\n root: {\n position: 'unset'\n },\n main: {\n position: 'absolute',\n left: '50%',\n top: '50%',\n transform: 'translate(-50%, -50%)'\n }\n }} layerProps={{\n hostId: props.modalLayerHostId\n }} isOpen={isPermissionsModalDismissed} isBlocking={false} onDismiss={() => {\n setIsPermissionsModalDismissed(false);\n }} overlay={{\n styles: {\n root: {\n background: 'rgba(0,0,0,0.4)'\n }\n }\n }}>\n {modal()}\n </_ModalClone>}\n </>;\n }\n};\n\n/**\n * Placeholder for conditional compile\n * @private\n */\nexport const CallReadinessModalPlaceHolder = (): JSX.Element => {\n return <></>;\n};"]}
|
package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
/**
|
3
|
-
* Hold pane to display when the user places themselves on hold
|
4
|
-
*
|
5
|
-
* @beta
|
6
|
-
*/
|
7
|
-
export declare const HoldPane: () => JSX.Element;
|
8
|
-
/**
|
9
|
-
* @internal
|
10
|
-
*/
|
11
|
-
export declare const getReadableTime: (time: number) => string;
|
12
|
-
//# sourceMappingURL=HoldPane.d.ts.map
|