@azure/communication-react 1.23.0-alpha-202501100017 → 1.23.0-alpha-202501110016

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/communication-react.d.ts +4 -4
  2. package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-DT0cdPPC.js → ChatMessageComponentAsRichTextEditBox-B8K83_JO.js} +2 -2
  3. package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-DT0cdPPC.js.map → ChatMessageComponentAsRichTextEditBox-B8K83_JO.js.map} +1 -1
  4. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-lT8BiqS6.js → RichTextSendBoxWrapper-BfbHGYVY.js} +2 -2
  5. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-lT8BiqS6.js.map → RichTextSendBoxWrapper-BfbHGYVY.js.map} +1 -1
  6. package/dist/dist-cjs/communication-react/{index-CjMI0Yzv.js → index-C9oi1qJA.js} +95 -24
  7. package/dist/dist-cjs/communication-react/index-C9oi1qJA.js.map +1 -0
  8. package/dist/dist-cjs/communication-react/index.js +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  11. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +6 -1
  12. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  13. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +1 -1
  14. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  15. package/dist/dist-esm/chat-stateful-client/src/{Constants.d.ts → constants.d.ts} +1 -1
  16. package/dist/dist-esm/chat-stateful-client/src/{Constants.js → constants.js} +1 -1
  17. package/dist/dist-esm/chat-stateful-client/src/{Constants.js.map → constants.js.map} +1 -1
  18. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  19. package/dist/dist-esm/react-components/src/components/ParticipantList.js +2 -0
  20. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  21. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +4 -4
  22. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  23. package/dist/dist-esm/react-components/src/components/VideoTile.js +24 -4
  24. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  25. package/dist/dist-esm/react-components/src/components/utils.d.ts +1 -1
  26. package/dist/dist-esm/react-components/src/components/utils.js +9 -1
  27. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  28. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +13 -12
  29. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  30. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +36 -0
  31. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  32. package/package.json +1 -1
  33. package/dist/dist-cjs/communication-react/index-CjMI0Yzv.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"usePeoplePane.js","sourceRoot":"","sources":["../../../../../../../../../react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,EAAE,EAAa,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpF,OAAO,EAAoB,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAIlD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,E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,EAAE,CAAC;YACX,QAAQ,EAAE,CAAC;QACb,CAAC;IACH,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEvB,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,EAAE,CAAC;AAC5F,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { RefObject, useCallback, useEffect, useMemo, useState } from 'react';\nimport { SidePaneRenderer, useIsParticularSidePaneOpen } from './SidePaneProvider';\nimport { SidePaneHeader } from '../../../common/SidePaneHeader';\nimport { PeoplePaneContent } from '../../../common/PeoplePaneContent';\nimport { useLocale } from '../../../localization';\nimport { ParticipantMenuItemsCallback, _DrawerMenuItemProps } from '@internal/react-components';\nimport { AvatarPersonaDataCallback } from '../../../common/AvatarPersona';\nimport { IButton, IContextualMenuProps, IContextualMenuItem } from '@fluentui/react';\nimport { useSelector } from '../../hooks/useSelector';\nimport { getAlternateCallerId, getRemoteParticipants, getRole } from '../../selectors/baseSelectors';\nimport { Prompt } from '../Prompt';\n/* @conditional-compile-remove(media-access) */\nimport { MediaAccess } from '@internal/react-components';\n\nconst PEOPLE_SIDE_PANE_ID = 'people';\n\n/** @private */\nexport const usePeoplePane = (props: {\n updateSidePaneRenderer: (renderer: SidePaneRenderer | undefined) => void;\n setDrawerMenuItems: (items: _DrawerMenuItemProps[]) => void;\n inviteLink?: string;\n onFetchAvatarPersonaData?: AvatarPersonaDataCallback;\n onFetchParticipantMenuItems?: ParticipantMenuItemsCallback;\n mobileView?: boolean;\n peopleButtonRef?: RefObject<IButton>;\n setParticipantActioned?: (userId: string) => void;\n spotlightedParticipantUserIds?: string[];\n onStartLocalSpotlight?: () => Promise<void>;\n onStopLocalSpotlight?: () => Promise<void>;\n onStartRemoteSpotlight?: (userIds: string[]) => Promise<void>;\n onStopRemoteSpotlight?: (userIds: string[]) => Promise<void>;\n onStopAllSpotlight?: () => Promise<void>;\n maxParticipantsToSpotlight?: number;\n onMuteParticipant?: (userId: string) => Promise<void>;\n onMuteAllRemoteParticipants?: () => Promise<void>;\n pinnedParticipants?: string[];\n onPinParticipant?: (userId: string) => void;\n onUnpinParticipant?: (userId: string) => void;\n disablePinMenuItem?: boolean;\n /* @conditional-compile-remove(media-access) */\n onForbidAudio?: (userIds: string[]) => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n onPermitAudio?: (userIds: string[]) => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n onForbidOthersAudio?: () => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n onPermitOthersAudio?: () => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n onForbidVideo?: (userIds: string[]) => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n onPermitVideo?: (userIds: string[]) => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n onForbidOthersVideo?: () => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n onPermitOthersVideo?: () => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n meetingMediaAccess?: MediaAccess;\n sidePaneDismissButtonRef?: RefObject<IButton>;\n chatButtonPresent?: boolean;\n}): {\n openPeoplePane: () => void;\n closePeoplePane: () => void;\n isPeoplePaneOpen: boolean;\n} => {\n const {\n updateSidePaneRenderer,\n inviteLink,\n onFetchAvatarPersonaData,\n onFetchParticipantMenuItems,\n setDrawerMenuItems,\n mobileView,\n peopleButtonRef,\n setParticipantActioned,\n spotlightedParticipantUserIds,\n onStartLocalSpotlight,\n onStopLocalSpotlight,\n onStartRemoteSpotlight,\n onStopRemoteSpotlight,\n onStopAllSpotlight,\n maxParticipantsToSpotlight,\n onMuteParticipant,\n pinnedParticipants,\n onPinParticipant,\n onUnpinParticipant,\n disablePinMenuItem,\n onMuteAllRemoteParticipants,\n /* @conditional-compile-remove(media-access) */\n onForbidAudio,\n /* @conditional-compile-remove(media-access) */\n onPermitAudio,\n /* @conditional-compile-remove(media-access) */\n onForbidOthersAudio,\n /* @conditional-compile-remove(media-access) */\n onPermitOthersAudio,\n /* @conditional-compile-remove(media-access) */\n onForbidVideo,\n /* @conditional-compile-remove(media-access) */\n onPermitVideo,\n /* @conditional-compile-remove(media-access) */\n onForbidOthersVideo,\n /* @conditional-compile-remove(media-access) */\n onPermitOthersVideo,\n /* @conditional-compile-remove(media-access) */\n meetingMediaAccess,\n sidePaneDismissButtonRef,\n chatButtonPresent\n } = props;\n\n const closePane = useCallback(() => {\n updateSidePaneRenderer(undefined);\n peopleButtonRef?.current?.focus();\n }, [peopleButtonRef, updateSidePaneRenderer]);\n\n const localeStrings = useLocale().strings.call;\n const remoteParticipants = useSelector(getRemoteParticipants);\n const [showMuteAllPrompt, setShowMuteAllPrompt] = useState(false);\n const muteAllPromptLabels = useMemo(\n () => ({\n confirmButtonLabel: localeStrings.muteAllConfirmButtonLabel,\n heading: localeStrings.muteAllDialogTitle,\n text: localeStrings.muteAllDialogContent,\n cancelButtonLabel: localeStrings.muteAllCancelButtonLabel\n }),\n [\n localeStrings.muteAllConfirmButtonLabel,\n localeStrings.muteAllDialogTitle,\n localeStrings.muteAllDialogContent,\n localeStrings.muteAllCancelButtonLabel\n ]\n );\n\n const onMuteAllPromptConfirm = useCallback(() => {\n onMuteAllRemoteParticipants && onMuteAllRemoteParticipants();\n setShowMuteAllPrompt(false);\n }, [onMuteAllRemoteParticipants, setShowMuteAllPrompt]);\n\n /* @conditional-compile-remove(media-access) */\n const [showForbidOthersAudioPrompt, setShowForbidOthersAudioPrompt] = useState(false);\n /* @conditional-compile-remove(media-access) */\n const [showPermitOthersAudioPrompt, setShowPermitOthersAudioPrompt] = useState(false);\n /* @conditional-compile-remove(media-access) */\n const [showForbidOthersVideoPrompt, setShowForbidOthersVideoPrompt] = useState(false);\n /* @conditional-compile-remove(media-access) */\n const [showPermitOthersVideoPrompt, setShowPermitOthersVideoPrompt] = useState(false);\n\n /* @conditional-compile-remove(media-access) */\n const onForbidAllAttendeesPromptConfirm = useCallback(() => {\n onForbidOthersAudio && onForbidOthersAudio();\n setShowForbidOthersAudioPrompt(false);\n }, [onForbidOthersAudio, setShowForbidOthersAudioPrompt]);\n /* @conditional-compile-remove(media-access) */\n const onPermitAllAttendeesPromptConfirm = useCallback(() => {\n onPermitOthersAudio && onPermitOthersAudio();\n setShowPermitOthersAudioPrompt(false);\n }, [onPermitOthersAudio, setShowPermitOthersAudioPrompt]);\n /* @conditional-compile-remove(media-access) */\n const onForbidOthersVideoPromptConfirm = useCallback(() => {\n onForbidOthersVideo && onForbidOthersVideo();\n setShowForbidOthersVideoPrompt(false);\n }, [onForbidOthersVideo, setShowForbidOthersVideoPrompt]);\n /* @conditional-compile-remove(media-access) */\n const onPermitOthersVideoPromptConfirm = useCallback(() => {\n onPermitOthersVideo && onPermitOthersVideo();\n setShowPermitOthersVideoPrompt(false);\n }, [onPermitOthersVideo, setShowPermitOthersVideoPrompt]);\n\n const sidePaneHeaderMenuProps: IContextualMenuProps = useMemo(() => {\n const menuItems: IContextualMenuItem[] = [];\n if (onMuteAllRemoteParticipants && remoteParticipants) {\n let isAllMuted = true;\n if (remoteParticipants) {\n for (const participant of Object.values(remoteParticipants)) {\n if (!participant.isMuted) {\n isAllMuted = false;\n break;\n }\n }\n }\n menuItems.push({\n ['data-ui-id']: 'people-pane-mute-all-remote-participants',\n key: 'muteAllRemoteParticipants',\n text: localeStrings.muteAllMenuLabel,\n iconProps: {\n iconName: 'ContextualMenuMicMutedIcon',\n styles: { root: { lineHeight: 0 } }\n },\n onClick: () => {\n setShowMuteAllPrompt(true);\n },\n ariaLabel: localeStrings.muteAllMenuLabel,\n disabled: isAllMuted\n });\n }\n\n /* @conditional-compile-remove(media-access) */\n let hasAttendee = false;\n /* @conditional-compile-remove(media-access) */\n if (remoteParticipants) {\n for (const participant of Object.values(remoteParticipants)) {\n if (participant.role && participant.role === 'Attendee') {\n hasAttendee = true;\n break;\n }\n }\n }\n /* @conditional-compile-remove(media-access) */\n const isMeetingAudioPermitted = meetingMediaAccess ? meetingMediaAccess.isAudioPermitted : true;\n /* @conditional-compile-remove(media-access) */\n const isMeetingVideoPermitted = meetingMediaAccess ? meetingMediaAccess.isVideoPermitted : true;\n /* @conditional-compile-remove(media-access) */\n if (onForbidOthersAudio && remoteParticipants) {\n hasAttendee &&\n isMeetingAudioPermitted &&\n menuItems.push({\n ['data-ui-id']: 'people-pane-forbid-all-attendees-audio',\n key: 'forbidOthersAudio',\n text: localeStrings.forbidOthersAudioMenuLabel,\n iconProps: {\n iconName: 'ControlButtonMicProhibited',\n styles: { root: { lineHeight: 0 } }\n },\n onClick: () => {\n setShowForbidOthersAudioPrompt(true);\n },\n ariaLabel: localeStrings.forbidOthersAudioMenuLabel,\n disabled: !hasAttendee\n });\n }\n /* @conditional-compile-remove(media-access) */\n if (onPermitOthersAudio && remoteParticipants) {\n hasAttendee &&\n !isMeetingAudioPermitted &&\n menuItems.push({\n ['data-ui-id']: 'people-pane-permit-all-attendees-audio',\n key: 'permitOthersAudio',\n text: localeStrings.permitOthersAudioMenuLabel,\n iconProps: {\n iconName: 'ControlButtonMicOn',\n styles: { root: { lineHeight: 0 } }\n },\n onClick: () => {\n setShowPermitOthersAudioPrompt(true);\n },\n ariaLabel: localeStrings.permitOthersAudioMenuLabel,\n disabled: !hasAttendee\n });\n }\n\n /* @conditional-compile-remove(media-access) */\n if (onForbidOthersVideo && remoteParticipants) {\n hasAttendee &&\n isMeetingVideoPermitted &&\n menuItems.push({\n ['data-ui-id']: 'people-pane-forbid-all-attendees-video',\n key: 'forbidOthersVideo',\n text: localeStrings.forbidOthersVideoMenuLabel,\n iconProps: {\n iconName: 'ControlButtonCameraProhibitedSmall',\n styles: { root: { lineHeight: 0 } }\n },\n onClick: () => {\n setShowForbidOthersVideoPrompt(true);\n },\n ariaLabel: localeStrings.forbidOthersVideoMenuLabel,\n disabled: !hasAttendee\n });\n }\n /* @conditional-compile-remove(media-access) */\n if (onPermitOthersVideo && remoteParticipants) {\n hasAttendee &&\n !isMeetingVideoPermitted &&\n menuItems.push({\n ['data-ui-id']: 'people-pane-permit-all-attendees-video',\n key: 'permitOthersVideo',\n text: localeStrings.permitOthersVideoMenuLabel,\n iconProps: {\n iconName: 'ControlButtonCameraOn',\n styles: { root: { lineHeight: 0 } }\n },\n onClick: () => {\n setShowPermitOthersVideoPrompt(true);\n },\n ariaLabel: localeStrings.permitOthersVideoMenuLabel,\n disabled: !hasAttendee\n });\n }\n\n if (onStopAllSpotlight && spotlightedParticipantUserIds && spotlightedParticipantUserIds.length > 0) {\n menuItems.push({\n key: 'stopAllSpotlightKey',\n text: localeStrings.stopAllSpotlightMenuLabel,\n iconProps: { iconName: 'StopAllSpotlightMenuButton', styles: { root: { lineHeight: 0 } } },\n onClick: () => {\n onStopAllSpotlight();\n },\n ariaLabel: localeStrings.stopAllSpotlightMenuLabel\n });\n }\n return {\n items: menuItems\n };\n }, [\n onMuteAllRemoteParticipants,\n remoteParticipants,\n /* @conditional-compile-remove(media-access) */\n meetingMediaAccess,\n /* @conditional-compile-remove(media-access) */\n onForbidOthersAudio,\n /* @conditional-compile-remove(media-access) */\n onPermitOthersAudio,\n /* @conditional-compile-remove(media-access) */\n onForbidOthersVideo,\n /* @conditional-compile-remove(media-access) */\n onPermitOthersVideo,\n onStopAllSpotlight,\n spotlightedParticipantUserIds,\n localeStrings.muteAllMenuLabel,\n localeStrings.forbidOthersAudioMenuLabel,\n localeStrings.permitOthersAudioMenuLabel,\n localeStrings.forbidOthersVideoMenuLabel,\n localeStrings.permitOthersVideoMenuLabel,\n localeStrings.stopAllSpotlightMenuLabel\n ]);\n\n const onRenderHeader = useCallback(\n () => (\n <SidePaneHeader\n onClose={closePane}\n paneOpenerButton={peopleButtonRef}\n headingText={localeStrings.peoplePaneTitle}\n dismissSidePaneButtonAriaLabel={localeStrings.dismissSidePaneButtonLabel}\n mobileView={mobileView ?? false}\n dismissButtonComponentRef={sidePaneDismissButtonRef}\n chatButtonPresent={chatButtonPresent}\n />\n ),\n [\n closePane,\n peopleButtonRef,\n localeStrings.peoplePaneTitle,\n localeStrings.dismissSidePaneButtonLabel,\n mobileView,\n sidePaneDismissButtonRef,\n chatButtonPresent\n ]\n );\n\n const onFetchParticipantMenuItemsForCallComposite = useCallback(\n (participantId: string, myUserId?: string, defaultMenuItems?: IContextualMenuItem[]): IContextualMenuItem[] => {\n let isPinned = pinnedParticipants?.includes(participantId);\n const _defaultMenuItems: IContextualMenuItem[] = [];\n const isSpotlighted = spotlightedParticipantUserIds?.includes(participantId);\n const isMe = myUserId === participantId;\n isPinned = isSpotlighted ? false : isPinned;\n if (onMuteParticipant && !isMe && remoteParticipants && remoteParticipants[participantId]) {\n const participant = remoteParticipants[participantId];\n const isMuted = !!participant?.isMuted;\n _defaultMenuItems.push({\n key: 'mute',\n text: 'Mute',\n iconProps: {\n iconName: 'ContextualMenuMicMutedIcon',\n styles: { root: { lineHeight: 0 } }\n },\n onClick: () => {\n onMuteParticipant(participantId);\n },\n 'data-ui-id': 'participant-item-mute-participant',\n ariaLabel: 'Mute',\n disabled: isMuted\n });\n }\n\n /* @conditional-compile-remove(media-access) */\n const remoteParticipant = remoteParticipants?.[participantId];\n /* @conditional-compile-remove(media-access) */\n if (\n remoteParticipant?.mediaAccess &&\n !remoteParticipant.mediaAccess.isAudioPermitted &&\n remoteParticipant?.role === 'Attendee' &&\n onPermitAudio\n ) {\n _defaultMenuItems.push({\n key: 'permit-audio',\n text: localeStrings.permitAudioMenuLabel,\n iconProps: {\n iconName: 'ControlButtonMicOn',\n styles: { root: { lineHeight: '1rem', textAlign: 'center' } }\n },\n onClick: () => {\n onPermitAudio([participantId]);\n },\n 'data-ui-id': 'participant-item-permit-microphone-button',\n ariaLabel: localeStrings.permitAudioMenuLabel\n });\n }\n /* @conditional-compile-remove(media-access) */\n if (remoteParticipant?.mediaAccess?.isAudioPermitted && remoteParticipant?.role === 'Attendee' && onForbidAudio) {\n _defaultMenuItems.push({\n key: 'forbid-audio',\n text: localeStrings.forbidAudioMenuLabel,\n iconProps: {\n iconName: 'ControlButtonMicProhibited',\n styles: { root: { lineHeight: '1rem', textAlign: 'center' } }\n },\n onClick: () => {\n onForbidAudio([participantId]);\n },\n 'data-ui-id': 'participant-item-forbid-microphone-button',\n ariaLabel: localeStrings.forbidAudioMenuLabel\n });\n }\n /* @conditional-compile-remove(media-access) */\n if (\n remoteParticipant?.mediaAccess &&\n !remoteParticipant.mediaAccess.isVideoPermitted &&\n remoteParticipant?.role === 'Attendee' &&\n onPermitVideo\n ) {\n _defaultMenuItems.push({\n key: 'permit-video',\n text: localeStrings.permitVideoMenuLabel,\n iconProps: {\n iconName: 'ControlButtonCameraOn',\n styles: { root: { lineHeight: '1rem', textAlign: 'center' } }\n },\n onClick: () => {\n onPermitVideo([participantId]);\n },\n 'data-ui-id': 'participant-item-permit-camera-button',\n ariaLabel: localeStrings.permitVideoMenuLabel\n });\n }\n /* @conditional-compile-remove(media-access) */\n if (remoteParticipant?.mediaAccess?.isVideoPermitted && remoteParticipant?.role === 'Attendee' && onForbidVideo) {\n _defaultMenuItems.push({\n key: 'forbid-video',\n text: localeStrings.forbidVideoMenuLabel,\n iconProps: {\n iconName: 'ControlButtonCameraProhibitedSmall',\n styles: { root: { lineHeight: '1rem', textAlign: 'center' } }\n },\n onClick: () => {\n onForbidVideo([participantId]);\n },\n 'data-ui-id': 'participant-item-forbid-camera-button',\n ariaLabel: localeStrings.forbidVideoMenuLabel\n });\n }\n\n if (isSpotlighted) {\n const stopSpotlightMenuText = isMe\n ? localeStrings.stopSpotlightOnSelfMenuLabel\n : localeStrings.stopSpotlightMenuLabel;\n const onStopSpotlight = isMe\n ? onStopLocalSpotlight\n : onStopRemoteSpotlight\n ? () => {\n onStopRemoteSpotlight([participantId]);\n }\n : undefined;\n if (onStopSpotlight && stopSpotlightMenuText) {\n _defaultMenuItems.push({\n key: 'stop-spotlight',\n text: stopSpotlightMenuText,\n onClick: onStopSpotlight,\n iconProps: {\n iconName: 'StopSpotlightContextualMenuItem',\n styles: { root: { lineHeight: 0 } }\n },\n ariaLabel: stopSpotlightMenuText\n });\n }\n } else {\n const startSpotlightMenuText =\n spotlightedParticipantUserIds && spotlightedParticipantUserIds.length > 0\n ? localeStrings.addSpotlightMenuLabel\n : localeStrings.startSpotlightMenuLabel;\n const maxSpotlightedParticipantsReached = maxParticipantsToSpotlight\n ? spotlightedParticipantUserIds\n ? spotlightedParticipantUserIds.length >= maxParticipantsToSpotlight\n : false\n : false;\n const onStartSpotlight = isMe\n ? onStartLocalSpotlight\n : onStartRemoteSpotlight\n ? () => {\n onStartRemoteSpotlight([participantId]);\n }\n : undefined;\n if (onStartSpotlight && startSpotlightMenuText) {\n _defaultMenuItems.push({\n key: 'start-spotlight',\n text: startSpotlightMenuText,\n onClick: onStartSpotlight,\n iconProps: {\n iconName: 'StartSpotlightContextualMenuItem',\n styles: { root: { lineHeight: 0 } }\n },\n ariaLabel: startSpotlightMenuText,\n disabled: maxSpotlightedParticipantsReached,\n title: maxSpotlightedParticipantsReached ? localeStrings.spotlightLimitReachedMenuTitle : undefined\n });\n }\n }\n if (!isMe && isPinned !== undefined) {\n if (isPinned && onUnpinParticipant && localeStrings?.unpinParticipantMenuLabel) {\n _defaultMenuItems.push({\n key: 'unpin',\n text: localeStrings?.unpinParticipantMenuLabel,\n iconProps: {\n iconName: 'UnpinParticipant',\n styles: { root: { lineHeight: '1rem', textAlign: 'center' } }\n },\n onClick: () => {\n onUnpinParticipant?.(participantId);\n },\n 'data-ui-id': 'participant-item-unpin-participant-button',\n ariaLabel: localeStrings.unpinParticipantMenuItemAriaLabel\n });\n }\n if (!isPinned && onPinParticipant && localeStrings?.pinParticipantMenuLabel) {\n _defaultMenuItems.push({\n key: 'pin',\n text: disablePinMenuItem\n ? localeStrings.pinParticipantLimitReachedMenuLabel\n : localeStrings.pinParticipantMenuLabel,\n iconProps: {\n iconName: 'PinParticipant',\n styles: { root: { lineHeight: '1rem', textAlign: 'center' } }\n },\n onClick: () => {\n onPinParticipant(participantId);\n },\n 'data-ui-id': 'participant-item-pin-participant-button',\n disabled: disablePinMenuItem || isSpotlighted,\n ariaLabel: localeStrings.pinParticipantMenuItemAriaLabel\n });\n }\n }\n if (defaultMenuItems) {\n _defaultMenuItems.push(...defaultMenuItems);\n }\n return onFetchParticipantMenuItems\n ? onFetchParticipantMenuItems(participantId, myUserId, _defaultMenuItems)\n : _defaultMenuItems;\n },\n [\n pinnedParticipants,\n spotlightedParticipantUserIds,\n onMuteParticipant,\n remoteParticipants,\n onPermitAudio,\n onForbidAudio,\n onPermitVideo,\n onForbidVideo,\n onFetchParticipantMenuItems,\n localeStrings.permitAudioMenuLabel,\n localeStrings.forbidAudioMenuLabel,\n localeStrings.permitVideoMenuLabel,\n localeStrings.forbidVideoMenuLabel,\n localeStrings.stopSpotlightOnSelfMenuLabel,\n localeStrings.stopSpotlightMenuLabel,\n localeStrings.addSpotlightMenuLabel,\n localeStrings.startSpotlightMenuLabel,\n localeStrings.spotlightLimitReachedMenuTitle,\n localeStrings?.unpinParticipantMenuLabel,\n localeStrings.pinParticipantMenuLabel,\n localeStrings.unpinParticipantMenuItemAriaLabel,\n localeStrings.pinParticipantLimitReachedMenuLabel,\n localeStrings.pinParticipantMenuItemAriaLabel,\n onStopLocalSpotlight,\n onStopRemoteSpotlight,\n maxParticipantsToSpotlight,\n onStartLocalSpotlight,\n onStartRemoteSpotlight,\n onUnpinParticipant,\n onPinParticipant,\n disablePinMenuItem\n ]\n );\n\n const role = useSelector(getRole);\n const alternateCallerId = useSelector(getAlternateCallerId);\n\n const onRenderContent = useCallback((): JSX.Element => {\n return (\n <>\n {\n <Prompt\n {...muteAllPromptLabels}\n styles={{ main: { minWidth: '22.5rem', padding: '1.5rem' } }}\n onConfirm={() => onMuteAllPromptConfirm()}\n isOpen={showMuteAllPrompt}\n onCancel={() => setShowMuteAllPrompt(false)}\n />\n }\n {\n /* @conditional-compile-remove(media-access) */\n <Prompt\n heading={localeStrings.forbidOthersAudioDialogTitle}\n text={localeStrings.forbidOthersAudioDialogContent}\n confirmButtonLabel={localeStrings.forbidOthersAudioConfirmButtonLabel}\n cancelButtonLabel={localeStrings.forbidOthersAudioCancelButtonLabel}\n styles={{ main: { minWidth: '22.5rem', padding: '1.5rem' } }}\n onConfirm={() => onForbidAllAttendeesPromptConfirm()}\n isOpen={showForbidOthersAudioPrompt}\n onCancel={() => setShowForbidOthersAudioPrompt(false)}\n />\n }\n {\n /* @conditional-compile-remove(media-access) */\n <Prompt\n heading={localeStrings.permitOthersAudioDialogTitle}\n text={localeStrings.permitOthersAudioDialogContent}\n confirmButtonLabel={localeStrings.permitOthersAudioConfirmButtonLabel}\n cancelButtonLabel={localeStrings.permitOthersAudioCancelButtonLabel}\n styles={{ main: { minWidth: '22.5rem', padding: '1.5rem' } }}\n onConfirm={() => onPermitAllAttendeesPromptConfirm()}\n isOpen={showPermitOthersAudioPrompt}\n onCancel={() => setShowForbidOthersAudioPrompt(false)}\n />\n }\n {\n /* @conditional-compile-remove(media-access) */\n <Prompt\n heading={localeStrings.forbidOthersVideoDialogTitle}\n text={localeStrings.forbidOthersVideoDialogContent}\n confirmButtonLabel={localeStrings.forbidOthersVideoConfirmButtonLabel}\n cancelButtonLabel={localeStrings.forbidOthersVideoCancelButtonLabel}\n styles={{ main: { minWidth: '22.5rem', padding: '1.5rem' } }}\n onConfirm={() => onForbidOthersVideoPromptConfirm()}\n isOpen={showForbidOthersVideoPrompt}\n onCancel={() => setShowForbidOthersVideoPrompt(false)}\n />\n }\n {\n /* @conditional-compile-remove(media-access) */\n <Prompt\n heading={localeStrings.permitOthersVideoDialogTitle}\n text={localeStrings.permitOthersVideoDialogContent}\n confirmButtonLabel={localeStrings.permitOthersVideoConfirmButtonLabel}\n cancelButtonLabel={localeStrings.permitOthersVideoCancelButtonLabel}\n styles={{ main: { minWidth: '22.5rem', padding: '1.5rem' } }}\n onConfirm={() => onPermitOthersVideoPromptConfirm()}\n isOpen={showPermitOthersVideoPrompt}\n onCancel={() => setShowForbidOthersVideoPrompt(false)}\n />\n }\n\n <PeoplePaneContent\n inviteLink={inviteLink}\n onFetchAvatarPersonaData={onFetchAvatarPersonaData}\n onFetchParticipantMenuItems={onFetchParticipantMenuItemsForCallComposite}\n setDrawerMenuItems={setDrawerMenuItems}\n mobileView={mobileView}\n setParticipantActioned={setParticipantActioned}\n participantListHeadingMoreButtonProps={sidePaneHeaderMenuProps}\n pinnedParticipants={pinnedParticipants}\n role={role}\n alternateCallerId={alternateCallerId}\n />\n </>\n );\n }, [\n muteAllPromptLabels,\n showMuteAllPrompt,\n localeStrings.forbidOthersAudioDialogTitle,\n localeStrings.forbidOthersAudioDialogContent,\n localeStrings.forbidOthersAudioConfirmButtonLabel,\n localeStrings.forbidOthersAudioCancelButtonLabel,\n localeStrings.permitOthersAudioDialogTitle,\n localeStrings.permitOthersAudioDialogContent,\n localeStrings.permitOthersAudioConfirmButtonLabel,\n localeStrings.permitOthersAudioCancelButtonLabel,\n localeStrings.forbidOthersVideoDialogTitle,\n localeStrings.forbidOthersVideoDialogContent,\n localeStrings.forbidOthersVideoConfirmButtonLabel,\n localeStrings.forbidOthersVideoCancelButtonLabel,\n localeStrings.permitOthersVideoDialogTitle,\n localeStrings.permitOthersVideoDialogContent,\n localeStrings.permitOthersVideoConfirmButtonLabel,\n localeStrings.permitOthersVideoCancelButtonLabel,\n showForbidOthersAudioPrompt,\n showPermitOthersAudioPrompt,\n showForbidOthersVideoPrompt,\n showPermitOthersVideoPrompt,\n inviteLink,\n onFetchAvatarPersonaData,\n onFetchParticipantMenuItemsForCallComposite,\n setDrawerMenuItems,\n mobileView,\n setParticipantActioned,\n sidePaneHeaderMenuProps,\n pinnedParticipants,\n role,\n alternateCallerId,\n onMuteAllPromptConfirm,\n onForbidAllAttendeesPromptConfirm,\n onPermitAllAttendeesPromptConfirm,\n onForbidOthersVideoPromptConfirm,\n onPermitOthersVideoPromptConfirm\n ]);\n\n const sidePaneRenderer: SidePaneRenderer = useMemo(\n () => ({\n headerRenderer: onRenderHeader,\n contentRenderer: onRenderContent,\n id: PEOPLE_SIDE_PANE_ID\n }),\n [onRenderContent, onRenderHeader]\n );\n\n const openPane = useCallback(() => {\n updateSidePaneRenderer(sidePaneRenderer);\n }, [sidePaneRenderer, updateSidePaneRenderer]);\n\n const isOpen = useIsParticularSidePaneOpen(PEOPLE_SIDE_PANE_ID);\n\n // Update pane renderer if it is open and the openPane dep changes\n useEffect(() => {\n if (isOpen) {\n openPane();\n }\n }, [isOpen, openPane]);\n\n return { openPeoplePane: openPane, closePeoplePane: closePane, isPeoplePaneOpen: isOpen };\n};\n"]}
1
+ {"version":3,"file":"usePeoplePane.js","sourceRoot":"","sources":["../../../../../../../../../react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,EAAE,EAAa,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpF,OAAO,EAAoB,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAIlD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACrG,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAInC,MAAM,mBAAmB,GAAG,QAAQ,CAAC;AAErC,eAAe;AACf,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KA0C7B,EAIC,EAAE;IACF,MAAM,EACJ,sBAAsB,EACtB,UAAU,EACV,wBAAwB,EACxB,2BAA2B,EAC3B,kBAAkB,EAClB,UAAU,EACV,eAAe,EACf,sBAAsB,EACtB,6BAA6B,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AgB,CAAC,CAAC;IAC3C,CAAC,EAAE,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,CAAC,CAAC;IAE/C,MAAM,MAAM,GAAG,2BAA2B,CAAC,mBAAmB,CAAC,CAAC;IAEhE,kEAAkE;IAClE,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,MAAM,EAAE,CAAC;YACX,QAAQ,EAAE,CAAC;QACb,CAAC;IACH,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEvB,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,EAAE,CAAC;AAC5F,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { RefObject, useCallback, useEffect, useMemo, useState } from 'react';\nimport { SidePaneRenderer, useIsParticularSidePaneOpen } from './SidePaneProvider';\nimport { SidePaneHeader } from '../../../common/SidePaneHeader';\nimport { PeoplePaneContent } from '../../../common/PeoplePaneContent';\nimport { useLocale } from '../../../localization';\nimport { ParticipantMenuItemsCallback, _DrawerMenuItemProps } from '@internal/react-components';\nimport { AvatarPersonaDataCallback } from '../../../common/AvatarPersona';\nimport { IButton, IContextualMenuProps, IContextualMenuItem } from '@fluentui/react';\nimport { useSelector } from '../../hooks/useSelector';\nimport { getAlternateCallerId, getRemoteParticipants, getRole } from '../../selectors/baseSelectors';\nimport { Prompt } from '../Prompt';\n/* @conditional-compile-remove(media-access) */\nimport { MediaAccess } from '@internal/react-components';\n\nconst PEOPLE_SIDE_PANE_ID = 'people';\n\n/** @private */\nexport const usePeoplePane = (props: {\n updateSidePaneRenderer: (renderer: SidePaneRenderer | undefined) => void;\n setDrawerMenuItems: (items: _DrawerMenuItemProps[]) => void;\n inviteLink?: string;\n onFetchAvatarPersonaData?: AvatarPersonaDataCallback;\n onFetchParticipantMenuItems?: ParticipantMenuItemsCallback;\n mobileView?: boolean;\n peopleButtonRef?: RefObject<IButton>;\n setParticipantActioned?: (userId: string) => void;\n spotlightedParticipantUserIds?: string[];\n onStartLocalSpotlight?: () => Promise<void>;\n onStopLocalSpotlight?: () => Promise<void>;\n onStartRemoteSpotlight?: (userIds: string[]) => Promise<void>;\n onStopRemoteSpotlight?: (userIds: string[]) => Promise<void>;\n onStopAllSpotlight?: () => Promise<void>;\n maxParticipantsToSpotlight?: number;\n onMuteParticipant?: (userId: string) => Promise<void>;\n onMuteAllRemoteParticipants?: () => Promise<void>;\n pinnedParticipants?: string[];\n onPinParticipant?: (userId: string) => void;\n onUnpinParticipant?: (userId: string) => void;\n disablePinMenuItem?: boolean;\n /* @conditional-compile-remove(media-access) */\n onForbidAudio?: (userIds: string[]) => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n onPermitAudio?: (userIds: string[]) => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n onForbidOthersAudio?: () => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n onPermitOthersAudio?: () => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n onForbidVideo?: (userIds: string[]) => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n onPermitVideo?: (userIds: string[]) => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n onForbidOthersVideo?: () => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n onPermitOthersVideo?: () => Promise<void>;\n /* @conditional-compile-remove(media-access) */\n meetingMediaAccess?: MediaAccess;\n sidePaneDismissButtonRef?: RefObject<IButton>;\n chatButtonPresent?: boolean;\n}): {\n openPeoplePane: () => void;\n closePeoplePane: () => void;\n isPeoplePaneOpen: boolean;\n} => {\n const {\n updateSidePaneRenderer,\n inviteLink,\n onFetchAvatarPersonaData,\n onFetchParticipantMenuItems,\n setDrawerMenuItems,\n mobileView,\n peopleButtonRef,\n setParticipantActioned,\n spotlightedParticipantUserIds,\n onStartLocalSpotlight,\n onStopLocalSpotlight,\n onStartRemoteSpotlight,\n onStopRemoteSpotlight,\n onStopAllSpotlight,\n maxParticipantsToSpotlight,\n onMuteParticipant,\n pinnedParticipants,\n onPinParticipant,\n onUnpinParticipant,\n disablePinMenuItem,\n onMuteAllRemoteParticipants,\n /* @conditional-compile-remove(media-access) */\n onForbidAudio,\n /* @conditional-compile-remove(media-access) */\n onPermitAudio,\n /* @conditional-compile-remove(media-access) */\n onForbidOthersAudio,\n /* @conditional-compile-remove(media-access) */\n onPermitOthersAudio,\n /* @conditional-compile-remove(media-access) */\n onForbidVideo,\n /* @conditional-compile-remove(media-access) */\n onPermitVideo,\n /* @conditional-compile-remove(media-access) */\n onForbidOthersVideo,\n /* @conditional-compile-remove(media-access) */\n onPermitOthersVideo,\n /* @conditional-compile-remove(media-access) */\n meetingMediaAccess,\n sidePaneDismissButtonRef,\n chatButtonPresent\n } = props;\n\n const closePane = useCallback(() => {\n updateSidePaneRenderer(undefined);\n peopleButtonRef?.current?.focus();\n }, [peopleButtonRef, updateSidePaneRenderer]);\n\n const localeStrings = useLocale().strings.call;\n const remoteParticipants = useSelector(getRemoteParticipants);\n const [showMuteAllPrompt, setShowMuteAllPrompt] = useState(false);\n const muteAllPromptLabels = useMemo(\n () => ({\n confirmButtonLabel: localeStrings.muteAllConfirmButtonLabel,\n heading: localeStrings.muteAllDialogTitle,\n text: localeStrings.muteAllDialogContent,\n cancelButtonLabel: localeStrings.muteAllCancelButtonLabel\n }),\n [\n localeStrings.muteAllConfirmButtonLabel,\n localeStrings.muteAllDialogTitle,\n localeStrings.muteAllDialogContent,\n localeStrings.muteAllCancelButtonLabel\n ]\n );\n\n const onMuteAllPromptConfirm = useCallback(() => {\n onMuteAllRemoteParticipants && onMuteAllRemoteParticipants();\n setShowMuteAllPrompt(false);\n }, [onMuteAllRemoteParticipants, setShowMuteAllPrompt]);\n\n /* @conditional-compile-remove(media-access) */\n const [showForbidOthersAudioPrompt, setShowForbidOthersAudioPrompt] = useState(false);\n /* @conditional-compile-remove(media-access) */\n const [showPermitOthersAudioPrompt, setShowPermitOthersAudioPrompt] = useState(false);\n /* @conditional-compile-remove(media-access) */\n const [showForbidOthersVideoPrompt, setShowForbidOthersVideoPrompt] = useState(false);\n /* @conditional-compile-remove(media-access) */\n const [showPermitOthersVideoPrompt, setShowPermitOthersVideoPrompt] = useState(false);\n\n /* @conditional-compile-remove(media-access) */\n const onForbidAllAttendeesPromptConfirm = useCallback(() => {\n onForbidOthersAudio && onForbidOthersAudio();\n setShowForbidOthersAudioPrompt(false);\n }, [onForbidOthersAudio, setShowForbidOthersAudioPrompt]);\n /* @conditional-compile-remove(media-access) */\n const onPermitAllAttendeesPromptConfirm = useCallback(() => {\n onPermitOthersAudio && onPermitOthersAudio();\n setShowPermitOthersAudioPrompt(false);\n }, [onPermitOthersAudio, setShowPermitOthersAudioPrompt]);\n /* @conditional-compile-remove(media-access) */\n const onForbidOthersVideoPromptConfirm = useCallback(() => {\n onForbidOthersVideo && onForbidOthersVideo();\n setShowForbidOthersVideoPrompt(false);\n }, [onForbidOthersVideo, setShowForbidOthersVideoPrompt]);\n /* @conditional-compile-remove(media-access) */\n const onPermitOthersVideoPromptConfirm = useCallback(() => {\n onPermitOthersVideo && onPermitOthersVideo();\n setShowPermitOthersVideoPrompt(false);\n }, [onPermitOthersVideo, setShowPermitOthersVideoPrompt]);\n\n const sidePaneHeaderMenuProps: IContextualMenuProps = useMemo(() => {\n const menuItems: IContextualMenuItem[] = [];\n if (onMuteAllRemoteParticipants && remoteParticipants) {\n let isAllMuted = true;\n if (remoteParticipants) {\n for (const participant of Object.values(remoteParticipants)) {\n if (!participant.isMuted) {\n isAllMuted = false;\n break;\n }\n }\n }\n menuItems.push({\n ['data-ui-id']: 'people-pane-mute-all-remote-participants',\n key: 'muteAllRemoteParticipants',\n text: localeStrings.muteAllMenuLabel,\n iconProps: {\n iconName: 'ContextualMenuMicMutedIcon',\n styles: { root: { lineHeight: 0 } }\n },\n onClick: () => {\n setShowMuteAllPrompt(true);\n },\n ariaLabel: localeStrings.muteAllMenuLabel,\n disabled: isAllMuted\n });\n }\n\n /* @conditional-compile-remove(media-access) */\n let hasAttendee = false;\n /* @conditional-compile-remove(media-access) */\n if (remoteParticipants) {\n for (const participant of Object.values(remoteParticipants)) {\n if (participant.role && participant.role === 'Attendee') {\n hasAttendee = true;\n break;\n }\n }\n }\n /* @conditional-compile-remove(media-access) */\n const isMeetingAudioPermitted = meetingMediaAccess ? meetingMediaAccess.isAudioPermitted : true;\n /* @conditional-compile-remove(media-access) */\n const isMeetingVideoPermitted = meetingMediaAccess ? meetingMediaAccess.isVideoPermitted : true;\n /* @conditional-compile-remove(media-access) */\n if (onForbidOthersAudio && remoteParticipants) {\n hasAttendee &&\n isMeetingAudioPermitted &&\n menuItems.push({\n ['data-ui-id']: 'people-pane-forbid-all-attendees-audio',\n key: 'forbidOthersAudio',\n text: localeStrings.forbidOthersAudioMenuLabel,\n iconProps: {\n iconName: 'ControlButtonMicProhibited',\n styles: { root: { lineHeight: 0 } }\n },\n onClick: () => {\n setShowForbidOthersAudioPrompt(true);\n },\n ariaLabel: localeStrings.forbidOthersAudioMenuLabel,\n disabled: !hasAttendee\n });\n }\n /* @conditional-compile-remove(media-access) */\n if (onPermitOthersAudio && remoteParticipants) {\n hasAttendee &&\n !isMeetingAudioPermitted &&\n menuItems.push({\n ['data-ui-id']: 'people-pane-permit-all-attendees-audio',\n key: 'permitOthersAudio',\n text: localeStrings.permitOthersAudioMenuLabel,\n iconProps: {\n iconName: 'ControlButtonMicOn',\n styles: { root: { lineHeight: 0 } }\n },\n onClick: () => {\n setShowPermitOthersAudioPrompt(true);\n },\n ariaLabel: localeStrings.permitOthersAudioMenuLabel,\n disabled: !hasAttendee\n });\n }\n\n /* @conditional-compile-remove(media-access) */\n if (onForbidOthersVideo && remoteParticipants) {\n hasAttendee &&\n isMeetingVideoPermitted &&\n menuItems.push({\n ['data-ui-id']: 'people-pane-forbid-all-attendees-video',\n key: 'forbidOthersVideo',\n text: localeStrings.forbidOthersVideoMenuLabel,\n iconProps: {\n iconName: 'ControlButtonCameraProhibitedSmall',\n styles: { root: { lineHeight: 0 } }\n },\n onClick: () => {\n setShowForbidOthersVideoPrompt(true);\n },\n ariaLabel: localeStrings.forbidOthersVideoMenuLabel,\n disabled: !hasAttendee\n });\n }\n /* @conditional-compile-remove(media-access) */\n if (onPermitOthersVideo && remoteParticipants) {\n hasAttendee &&\n !isMeetingVideoPermitted &&\n menuItems.push({\n ['data-ui-id']: 'people-pane-permit-all-attendees-video',\n key: 'permitOthersVideo',\n text: localeStrings.permitOthersVideoMenuLabel,\n iconProps: {\n iconName: 'ControlButtonCameraOn',\n styles: { root: { lineHeight: 0 } }\n },\n onClick: () => {\n setShowPermitOthersVideoPrompt(true);\n },\n ariaLabel: localeStrings.permitOthersVideoMenuLabel,\n disabled: !hasAttendee\n });\n }\n\n if (onStopAllSpotlight && spotlightedParticipantUserIds && spotlightedParticipantUserIds.length > 0) {\n menuItems.push({\n key: 'stopAllSpotlightKey',\n text: localeStrings.stopAllSpotlightMenuLabel,\n iconProps: { iconName: 'StopAllSpotlightMenuButton', styles: { root: { lineHeight: 0 } } },\n onClick: () => {\n onStopAllSpotlight();\n },\n ariaLabel: localeStrings.stopAllSpotlightMenuLabel\n });\n }\n return {\n items: menuItems\n };\n }, [\n onMuteAllRemoteParticipants,\n remoteParticipants,\n /* @conditional-compile-remove(media-access) */\n meetingMediaAccess,\n /* @conditional-compile-remove(media-access) */\n onForbidOthersAudio,\n /* @conditional-compile-remove(media-access) */\n onPermitOthersAudio,\n /* @conditional-compile-remove(media-access) */\n onForbidOthersVideo,\n /* @conditional-compile-remove(media-access) */\n onPermitOthersVideo,\n onStopAllSpotlight,\n spotlightedParticipantUserIds,\n localeStrings.muteAllMenuLabel,\n /* @conditional-compile-remove(media-access) */\n localeStrings.forbidOthersAudioMenuLabel,\n /* @conditional-compile-remove(media-access) */\n localeStrings.permitOthersAudioMenuLabel,\n /* @conditional-compile-remove(media-access) */\n localeStrings.forbidOthersVideoMenuLabel,\n /* @conditional-compile-remove(media-access) */\n localeStrings.permitOthersVideoMenuLabel,\n localeStrings.stopAllSpotlightMenuLabel\n ]);\n\n const onRenderHeader = useCallback(\n () => (\n <SidePaneHeader\n onClose={closePane}\n paneOpenerButton={peopleButtonRef}\n headingText={localeStrings.peoplePaneTitle}\n dismissSidePaneButtonAriaLabel={localeStrings.dismissSidePaneButtonLabel}\n mobileView={mobileView ?? false}\n dismissButtonComponentRef={sidePaneDismissButtonRef}\n chatButtonPresent={chatButtonPresent}\n />\n ),\n [\n closePane,\n peopleButtonRef,\n localeStrings.peoplePaneTitle,\n localeStrings.dismissSidePaneButtonLabel,\n mobileView,\n sidePaneDismissButtonRef,\n chatButtonPresent\n ]\n );\n\n const onFetchParticipantMenuItemsForCallComposite = useCallback(\n (participantId: string, myUserId?: string, defaultMenuItems?: IContextualMenuItem[]): IContextualMenuItem[] => {\n let isPinned = pinnedParticipants?.includes(participantId);\n const _defaultMenuItems: IContextualMenuItem[] = [];\n const isSpotlighted = spotlightedParticipantUserIds?.includes(participantId);\n const isMe = myUserId === participantId;\n isPinned = isSpotlighted ? false : isPinned;\n if (onMuteParticipant && !isMe && remoteParticipants && remoteParticipants[participantId]) {\n const participant = remoteParticipants[participantId];\n const isMuted = !!participant?.isMuted;\n _defaultMenuItems.push({\n key: 'mute',\n text: 'Mute',\n iconProps: {\n iconName: 'ContextualMenuMicMutedIcon',\n styles: { root: { lineHeight: 0 } }\n },\n onClick: () => {\n onMuteParticipant(participantId);\n },\n 'data-ui-id': 'participant-item-mute-participant',\n ariaLabel: 'Mute',\n disabled: isMuted\n });\n }\n\n /* @conditional-compile-remove(media-access) */\n const remoteParticipant = remoteParticipants?.[participantId];\n /* @conditional-compile-remove(media-access) */\n if (\n remoteParticipant?.mediaAccess &&\n !remoteParticipant.mediaAccess.isAudioPermitted &&\n remoteParticipant?.role === 'Attendee' &&\n onPermitAudio\n ) {\n _defaultMenuItems.push({\n key: 'permit-audio',\n text: localeStrings.permitAudioMenuLabel,\n iconProps: {\n iconName: 'ControlButtonMicOn',\n styles: { root: { lineHeight: '1rem', textAlign: 'center' } }\n },\n onClick: () => {\n onPermitAudio([participantId]);\n },\n 'data-ui-id': 'participant-item-permit-microphone-button',\n ariaLabel: localeStrings.permitAudioMenuLabel\n });\n }\n /* @conditional-compile-remove(media-access) */\n if (remoteParticipant?.mediaAccess?.isAudioPermitted && remoteParticipant?.role === 'Attendee' && onForbidAudio) {\n _defaultMenuItems.push({\n key: 'forbid-audio',\n text: localeStrings.forbidAudioMenuLabel,\n iconProps: {\n iconName: 'ControlButtonMicProhibited',\n styles: { root: { lineHeight: '1rem', textAlign: 'center' } }\n },\n onClick: () => {\n onForbidAudio([participantId]);\n },\n 'data-ui-id': 'participant-item-forbid-microphone-button',\n ariaLabel: localeStrings.forbidAudioMenuLabel\n });\n }\n /* @conditional-compile-remove(media-access) */\n if (\n remoteParticipant?.mediaAccess &&\n !remoteParticipant.mediaAccess.isVideoPermitted &&\n remoteParticipant?.role === 'Attendee' &&\n onPermitVideo\n ) {\n _defaultMenuItems.push({\n key: 'permit-video',\n text: localeStrings.permitVideoMenuLabel,\n iconProps: {\n iconName: 'ControlButtonCameraOn',\n styles: { root: { lineHeight: '1rem', textAlign: 'center' } }\n },\n onClick: () => {\n onPermitVideo([participantId]);\n },\n 'data-ui-id': 'participant-item-permit-camera-button',\n ariaLabel: localeStrings.permitVideoMenuLabel\n });\n }\n /* @conditional-compile-remove(media-access) */\n if (remoteParticipant?.mediaAccess?.isVideoPermitted && remoteParticipant?.role === 'Attendee' && onForbidVideo) {\n _defaultMenuItems.push({\n key: 'forbid-video',\n text: localeStrings.forbidVideoMenuLabel,\n iconProps: {\n iconName: 'ControlButtonCameraProhibitedSmall',\n styles: { root: { lineHeight: '1rem', textAlign: 'center' } }\n },\n onClick: () => {\n onForbidVideo([participantId]);\n },\n 'data-ui-id': 'participant-item-forbid-camera-button',\n ariaLabel: localeStrings.forbidVideoMenuLabel\n });\n }\n\n if (isSpotlighted) {\n const stopSpotlightMenuText = isMe\n ? localeStrings.stopSpotlightOnSelfMenuLabel\n : localeStrings.stopSpotlightMenuLabel;\n const onStopSpotlight = isMe\n ? onStopLocalSpotlight\n : onStopRemoteSpotlight\n ? () => {\n onStopRemoteSpotlight([participantId]);\n }\n : undefined;\n if (onStopSpotlight && stopSpotlightMenuText) {\n _defaultMenuItems.push({\n key: 'stop-spotlight',\n text: stopSpotlightMenuText,\n onClick: onStopSpotlight,\n iconProps: {\n iconName: 'StopSpotlightContextualMenuItem',\n styles: { root: { lineHeight: 0 } }\n },\n ariaLabel: stopSpotlightMenuText\n });\n }\n } else {\n const startSpotlightMenuText =\n spotlightedParticipantUserIds && spotlightedParticipantUserIds.length > 0\n ? localeStrings.addSpotlightMenuLabel\n : localeStrings.startSpotlightMenuLabel;\n const maxSpotlightedParticipantsReached = maxParticipantsToSpotlight\n ? spotlightedParticipantUserIds\n ? spotlightedParticipantUserIds.length >= maxParticipantsToSpotlight\n : false\n : false;\n const onStartSpotlight = isMe\n ? onStartLocalSpotlight\n : onStartRemoteSpotlight\n ? () => {\n onStartRemoteSpotlight([participantId]);\n }\n : undefined;\n if (onStartSpotlight && startSpotlightMenuText) {\n _defaultMenuItems.push({\n key: 'start-spotlight',\n text: startSpotlightMenuText,\n onClick: onStartSpotlight,\n iconProps: {\n iconName: 'StartSpotlightContextualMenuItem',\n styles: { root: { lineHeight: 0 } }\n },\n ariaLabel: startSpotlightMenuText,\n disabled: maxSpotlightedParticipantsReached,\n title: maxSpotlightedParticipantsReached ? localeStrings.spotlightLimitReachedMenuTitle : undefined\n });\n }\n }\n if (!isMe && isPinned !== undefined) {\n if (isPinned && onUnpinParticipant && localeStrings?.unpinParticipantMenuLabel) {\n _defaultMenuItems.push({\n key: 'unpin',\n text: localeStrings?.unpinParticipantMenuLabel,\n iconProps: {\n iconName: 'UnpinParticipant',\n styles: { root: { lineHeight: '1rem', textAlign: 'center' } }\n },\n onClick: () => {\n onUnpinParticipant?.(participantId);\n },\n 'data-ui-id': 'participant-item-unpin-participant-button',\n ariaLabel: localeStrings.unpinParticipantMenuItemAriaLabel\n });\n }\n if (!isPinned && onPinParticipant && localeStrings?.pinParticipantMenuLabel) {\n _defaultMenuItems.push({\n key: 'pin',\n text: disablePinMenuItem\n ? localeStrings.pinParticipantLimitReachedMenuLabel\n : localeStrings.pinParticipantMenuLabel,\n iconProps: {\n iconName: 'PinParticipant',\n styles: { root: { lineHeight: '1rem', textAlign: 'center' } }\n },\n onClick: () => {\n onPinParticipant(participantId);\n },\n 'data-ui-id': 'participant-item-pin-participant-button',\n disabled: disablePinMenuItem || isSpotlighted,\n ariaLabel: localeStrings.pinParticipantMenuItemAriaLabel\n });\n }\n }\n if (defaultMenuItems) {\n _defaultMenuItems.push(...defaultMenuItems);\n }\n return onFetchParticipantMenuItems\n ? onFetchParticipantMenuItems(participantId, myUserId, _defaultMenuItems)\n : _defaultMenuItems;\n },\n [\n pinnedParticipants,\n spotlightedParticipantUserIds,\n onMuteParticipant,\n remoteParticipants,\n /* @conditional-compile-remove(media-access) */\n onPermitAudio,\n /* @conditional-compile-remove(media-access) */\n onForbidAudio,\n /* @conditional-compile-remove(media-access) */\n onPermitVideo,\n /* @conditional-compile-remove(media-access) */\n onForbidVideo,\n onFetchParticipantMenuItems,\n /* @conditional-compile-remove(media-access) */\n localeStrings.permitAudioMenuLabel,\n /* @conditional-compile-remove(media-access) */\n localeStrings.forbidAudioMenuLabel,\n /* @conditional-compile-remove(media-access) */\n localeStrings.permitVideoMenuLabel,\n /* @conditional-compile-remove(media-access) */\n localeStrings.forbidVideoMenuLabel,\n localeStrings.stopSpotlightOnSelfMenuLabel,\n localeStrings.stopSpotlightMenuLabel,\n localeStrings.addSpotlightMenuLabel,\n localeStrings.startSpotlightMenuLabel,\n localeStrings.spotlightLimitReachedMenuTitle,\n localeStrings?.unpinParticipantMenuLabel,\n localeStrings.pinParticipantMenuLabel,\n localeStrings.unpinParticipantMenuItemAriaLabel,\n localeStrings.pinParticipantLimitReachedMenuLabel,\n localeStrings.pinParticipantMenuItemAriaLabel,\n onStopLocalSpotlight,\n onStopRemoteSpotlight,\n maxParticipantsToSpotlight,\n onStartLocalSpotlight,\n onStartRemoteSpotlight,\n onUnpinParticipant,\n onPinParticipant,\n disablePinMenuItem\n ]\n );\n\n const role = useSelector(getRole);\n const alternateCallerId = useSelector(getAlternateCallerId);\n\n const onRenderContent = useCallback((): JSX.Element => {\n return (\n <>\n {\n <Prompt\n {...muteAllPromptLabels}\n styles={{ main: { minWidth: '22.5rem', padding: '1.5rem' } }}\n onConfirm={() => onMuteAllPromptConfirm()}\n isOpen={showMuteAllPrompt}\n onCancel={() => setShowMuteAllPrompt(false)}\n />\n }\n {\n /* @conditional-compile-remove(media-access) */\n <Prompt\n heading={localeStrings.forbidOthersAudioDialogTitle}\n text={localeStrings.forbidOthersAudioDialogContent}\n confirmButtonLabel={localeStrings.forbidOthersAudioConfirmButtonLabel}\n cancelButtonLabel={localeStrings.forbidOthersAudioCancelButtonLabel}\n styles={{ main: { minWidth: '22.5rem', padding: '1.5rem' } }}\n onConfirm={() => onForbidAllAttendeesPromptConfirm()}\n isOpen={showForbidOthersAudioPrompt}\n onCancel={() => setShowForbidOthersAudioPrompt(false)}\n />\n }\n {\n /* @conditional-compile-remove(media-access) */\n <Prompt\n heading={localeStrings.permitOthersAudioDialogTitle}\n text={localeStrings.permitOthersAudioDialogContent}\n confirmButtonLabel={localeStrings.permitOthersAudioConfirmButtonLabel}\n cancelButtonLabel={localeStrings.permitOthersAudioCancelButtonLabel}\n styles={{ main: { minWidth: '22.5rem', padding: '1.5rem' } }}\n onConfirm={() => onPermitAllAttendeesPromptConfirm()}\n isOpen={showPermitOthersAudioPrompt}\n onCancel={() => setShowForbidOthersAudioPrompt(false)}\n />\n }\n {\n /* @conditional-compile-remove(media-access) */\n <Prompt\n heading={localeStrings.forbidOthersVideoDialogTitle}\n text={localeStrings.forbidOthersVideoDialogContent}\n confirmButtonLabel={localeStrings.forbidOthersVideoConfirmButtonLabel}\n cancelButtonLabel={localeStrings.forbidOthersVideoCancelButtonLabel}\n styles={{ main: { minWidth: '22.5rem', padding: '1.5rem' } }}\n onConfirm={() => onForbidOthersVideoPromptConfirm()}\n isOpen={showForbidOthersVideoPrompt}\n onCancel={() => setShowForbidOthersVideoPrompt(false)}\n />\n }\n {\n /* @conditional-compile-remove(media-access) */\n <Prompt\n heading={localeStrings.permitOthersVideoDialogTitle}\n text={localeStrings.permitOthersVideoDialogContent}\n confirmButtonLabel={localeStrings.permitOthersVideoConfirmButtonLabel}\n cancelButtonLabel={localeStrings.permitOthersVideoCancelButtonLabel}\n styles={{ main: { minWidth: '22.5rem', padding: '1.5rem' } }}\n onConfirm={() => onPermitOthersVideoPromptConfirm()}\n isOpen={showPermitOthersVideoPrompt}\n onCancel={() => setShowForbidOthersVideoPrompt(false)}\n />\n }\n\n <PeoplePaneContent\n inviteLink={inviteLink}\n onFetchAvatarPersonaData={onFetchAvatarPersonaData}\n onFetchParticipantMenuItems={onFetchParticipantMenuItemsForCallComposite}\n setDrawerMenuItems={setDrawerMenuItems}\n mobileView={mobileView}\n setParticipantActioned={setParticipantActioned}\n participantListHeadingMoreButtonProps={sidePaneHeaderMenuProps}\n pinnedParticipants={pinnedParticipants}\n role={role}\n alternateCallerId={alternateCallerId}\n />\n </>\n );\n }, [\n muteAllPromptLabels,\n showMuteAllPrompt,\n /* @conditional-compile-remove(media-access) */\n localeStrings.forbidOthersAudioDialogTitle,\n /* @conditional-compile-remove(media-access) */\n localeStrings.forbidOthersAudioDialogContent,\n /* @conditional-compile-remove(media-access) */\n localeStrings.forbidOthersAudioConfirmButtonLabel,\n /* @conditional-compile-remove(media-access) */\n localeStrings.forbidOthersAudioCancelButtonLabel,\n /* @conditional-compile-remove(media-access) */\n localeStrings.permitOthersAudioDialogTitle,\n /* @conditional-compile-remove(media-access) */\n localeStrings.permitOthersAudioDialogContent,\n /* @conditional-compile-remove(media-access) */\n localeStrings.permitOthersAudioConfirmButtonLabel,\n /* @conditional-compile-remove(media-access) */\n localeStrings.permitOthersAudioCancelButtonLabel,\n /* @conditional-compile-remove(media-access) */\n localeStrings.forbidOthersVideoDialogTitle,\n /* @conditional-compile-remove(media-access) */\n localeStrings.forbidOthersVideoDialogContent,\n /* @conditional-compile-remove(media-access) */\n localeStrings.forbidOthersVideoConfirmButtonLabel,\n /* @conditional-compile-remove(media-access) */\n localeStrings.forbidOthersVideoCancelButtonLabel,\n /* @conditional-compile-remove(media-access) */\n localeStrings.permitOthersVideoDialogTitle,\n /* @conditional-compile-remove(media-access) */\n localeStrings.permitOthersVideoDialogContent,\n /* @conditional-compile-remove(media-access) */\n localeStrings.permitOthersVideoConfirmButtonLabel,\n /* @conditional-compile-remove(media-access) */\n localeStrings.permitOthersVideoCancelButtonLabel,\n /* @conditional-compile-remove(media-access) */\n showForbidOthersAudioPrompt,\n /* @conditional-compile-remove(media-access) */\n showPermitOthersAudioPrompt,\n /* @conditional-compile-remove(media-access) */\n showForbidOthersVideoPrompt,\n /* @conditional-compile-remove(media-access) */\n showPermitOthersVideoPrompt,\n inviteLink,\n onFetchAvatarPersonaData,\n onFetchParticipantMenuItemsForCallComposite,\n setDrawerMenuItems,\n mobileView,\n setParticipantActioned,\n sidePaneHeaderMenuProps,\n pinnedParticipants,\n role,\n alternateCallerId,\n onMuteAllPromptConfirm,\n /* @conditional-compile-remove(media-access) */\n onForbidAllAttendeesPromptConfirm,\n /* @conditional-compile-remove(media-access) */\n onPermitAllAttendeesPromptConfirm,\n /* @conditional-compile-remove(media-access) */\n onForbidOthersVideoPromptConfirm,\n /* @conditional-compile-remove(media-access) */\n onPermitOthersVideoPromptConfirm\n ]);\n\n const sidePaneRenderer: SidePaneRenderer = useMemo(\n () => ({\n headerRenderer: onRenderHeader,\n contentRenderer: onRenderContent,\n id: PEOPLE_SIDE_PANE_ID\n }),\n [onRenderContent, onRenderHeader]\n );\n\n const openPane = useCallback(() => {\n updateSidePaneRenderer(sidePaneRenderer);\n }, [sidePaneRenderer, updateSidePaneRenderer]);\n\n const isOpen = useIsParticularSidePaneOpen(PEOPLE_SIDE_PANE_ID);\n\n // Update pane renderer if it is open and the openPane dep changes\n useEffect(() => {\n if (isOpen) {\n openPane();\n }\n }, [isOpen, openPane]);\n\n return { openPeoplePane: openPane, closePeoplePane: closePane, isPeoplePaneOpen: isOpen };\n};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/communication-react",
3
- "version": "1.23.0-alpha-202501100017",
3
+ "version": "1.23.0-alpha-202501110016",
4
4
  "sideEffects": false,
5
5
  "description": "React library for building modern communication user experiences utilizing Azure Communication Services",
6
6
  "keywords": [