@azure/communication-react 1.4.3-alpha-202212170012.0 → 1.4.3-alpha-202212200014.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/communication-react.d.ts +170 -249
  2. package/dist/dist-cjs/communication-react/index.js +400 -268
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  6. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +1 -2
  7. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +0 -7
  8. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  9. package/dist/dist-esm/communication-react/src/index.d.ts +2 -4
  10. package/dist/dist-esm/communication-react/src/index.js +1 -3
  11. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  12. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +105 -0
  13. package/dist/dist-esm/react-components/src/components/DevicePermissions/{DomainPermissions.js → SitePermissions.js} +25 -25
  14. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -0
  15. package/dist/dist-esm/react-components/src/components/DevicePermissions/{DomainPermissionsScaffolding.d.ts → SitePermissionsScaffolding.d.ts} +12 -12
  16. package/dist/dist-esm/react-components/src/components/DevicePermissions/{DomainPermissionsScaffolding.js → SitePermissionsScaffolding.js} +3 -3
  17. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -0
  18. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +3 -0
  19. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +8 -3
  20. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  21. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +5 -0
  22. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +22 -2
  23. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  24. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +12 -0
  25. package/dist/dist-esm/react-components/src/components/VideoGallery.js +31 -5
  26. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  27. package/dist/dist-esm/react-components/src/components/index.d.ts +3 -3
  28. package/dist/dist-esm/react-components/src/components/index.js +1 -1
  29. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  30. package/dist/dist-esm/react-components/src/components/styles/{DomainPermissions.styles.d.ts → SitePermissions.styles.d.ts} +1 -1
  31. package/dist/dist-esm/react-components/src/components/styles/{DomainPermissions.styles.js → SitePermissions.styles.js} +1 -1
  32. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -0
  33. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +25 -25
  34. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  35. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +1 -1
  36. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +1 -1
  37. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +15 -13
  38. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +1 -1
  39. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +1 -1
  40. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +1 -1
  41. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +1 -1
  42. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +1 -1
  43. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +1 -1
  44. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +1 -1
  45. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +1 -1
  46. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +1 -1
  47. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +1 -1
  48. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +1 -1
  49. package/dist/dist-esm/react-components/src/theming/icons.d.ts +7 -5
  50. package/dist/dist-esm/react-components/src/theming/icons.js +22 -18
  51. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  52. package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +1 -1
  53. package/dist/dist-esm/react-components/src/theming/icons.styles.js +1 -1
  54. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -1
  55. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +7 -6
  56. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +1 -1
  57. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  58. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +0 -5
  59. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +6 -2
  60. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  61. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +0 -26
  62. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  63. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +0 -2
  64. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  65. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +15 -14
  66. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  67. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +12 -12
  68. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -1
  69. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +17 -0
  70. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageCameraDropdown.js → ConfigurationPageCameraDropdown.js} +2 -2
  71. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -0
  72. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageErrorBar.d.ts → ConfigurationPageErrorBar.d.ts} +3 -3
  73. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageErrorBar.js → ConfigurationPageErrorBar.js} +2 -2
  74. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageErrorBar.js.map → ConfigurationPageErrorBar.js.map} +1 -1
  75. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +17 -0
  76. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageMicDropdown.js → ConfigurationPageMicDropdown.js} +2 -2
  77. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -0
  78. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +6 -6
  79. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  80. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +1 -1
  81. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  82. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +1 -2
  83. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  84. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +2 -2
  85. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +8 -8
  86. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  87. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +3 -12
  88. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -1
  89. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.d.ts +4 -0
  90. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js +8 -0
  91. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  92. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +2 -4
  93. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +45 -25
  94. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  95. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +18 -4
  96. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +26 -8
  97. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  98. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +2 -0
  99. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -1
  100. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +3 -1
  101. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  102. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.d.ts +8 -0
  103. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +40 -0
  104. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -0
  105. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +7 -5
  106. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +1 -0
  107. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  108. package/package.json +8 -8
  109. package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.d.ts +0 -105
  110. package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.js.map +0 -1
  111. package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissionsScaffolding.js.map +0 -1
  112. package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.js.map +0 -1
  113. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageCameraDropdown.d.ts +0 -17
  114. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageCameraDropdown.js.map +0 -1
  115. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageMicDropdown.d.ts +0 -17
  116. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageMicDropdown.js.map +0 -1
@@ -172,7 +172,9 @@
172
172
  "localVideoSelectedDescription": "{cameraName} selected",
173
173
  "displayNamePlaceholder": "Unnamed participant",
174
174
  "fitRemoteParticipantToFrame": "Fit to frame",
175
- "fillRemoteParticipantFrame": "Fill frame"
175
+ "fillRemoteParticipantFrame": "Fill frame",
176
+ "pinParticipantForMe": "Pin for me",
177
+ "unpinParticipantForMe": "Unpin for me"
176
178
  },
177
179
  "dialpad": {
178
180
  "placeholderText": "Enter phone number",
@@ -189,79 +191,79 @@
189
191
  "participantStateRinging": "Calling...",
190
192
  "participantStateHold": "On hold"
191
193
  },
192
- "CameraAndMicrophoneDomainPermissionsRequest": {
194
+ "CameraAndMicrophoneSitePermissionsRequest": {
193
195
  "primaryText": "Allow {appName} to use your camera and microphone",
194
196
  "secondaryText": "This is so participants can see and hear you.",
195
197
  "linkText": "Need help? Get troubleshooting help",
196
198
  "primaryButtonText": "Continue without camera and microphone",
197
199
  "ariaLabel": "Allow camera and microphone access"
198
200
  },
199
- "CameraDomainPermissionsRequest": {
201
+ "CameraSitePermissionsRequest": {
200
202
  "primaryText": "Allow {appName} to use your camera",
201
203
  "secondaryText": "This is so participants can see you.",
202
204
  "linkText": "Need help? Get troubleshooting help",
203
205
  "primaryButtonText": "Continue without camera",
204
206
  "ariaLabel": "Allow camera access"
205
207
  },
206
- "MicrophoneDomainPermissionsRequest": {
208
+ "MicrophoneSitePermissionsRequest": {
207
209
  "primaryText": "Allow {appName} to use your microphone",
208
210
  "secondaryText": "This is so participants can hear you.",
209
211
  "linkText": "Need help? Get troubleshooting help",
210
212
  "primaryButtonText": "Continue without microphone",
211
213
  "ariaLabel": "Allow microphone access"
212
214
  },
213
- "CameraAndMicrophoneDomainPermissionsCheck": {
215
+ "CameraAndMicrophoneSitePermissionsCheck": {
214
216
  "primaryText": "Checking for camera and microphone access",
215
217
  "secondaryText": "Allow access if prompted. This is so participants can see and hear you.",
216
218
  "linkText": "Need help? Get troubleshooting help",
217
219
  "primaryButtonText": "Continue without camera and microphone",
218
220
  "ariaLabel": "Checking for camera and microphone access. Allow access if prompted."
219
221
  },
220
- "CameraDomainPermissionsCheck": {
222
+ "CameraSitePermissionsCheck": {
221
223
  "primaryText": "Checking for camera access",
222
224
  "secondaryText": "Allow access if prompted. This is so participants can see you.",
223
225
  "linkText": "Need help? Get troubleshooting help",
224
226
  "primaryButtonText": "Continue without camera",
225
227
  "ariaLabel": "Checking for camera access. Allow access if prompted."
226
228
  },
227
- "MicrophoneDomainPermissionsCheck": {
229
+ "MicrophoneSitePermissionsCheck": {
228
230
  "primaryText": "Checking for microphone access",
229
231
  "secondaryText": "Allow access if prompted. This is so participants can hear you.",
230
232
  "linkText": "Need help? Get troubleshooting help",
231
233
  "primaryButtonText": "Continue without microphone",
232
234
  "ariaLabel": "Checking for microphone access. Allow access if prompted."
233
235
  },
234
- "CameraAndMicrophoneDomainPermissionsDenied": {
236
+ "CameraAndMicrophoneSitePermissionsDenied": {
235
237
  "primaryText": "Unable to access camera and microphone",
236
238
  "secondaryText": "Click the lock icon in the address bar to grant microphone permissions to this webpage. A page refresh may be required.",
237
239
  "primaryButtonText": "Continue without camera and microphone",
238
240
  "linkText": "Need help? Get troubleshooting help"
239
241
  },
240
- "CameraAndMicrophoneDomainPermissionsDeniedSafari": {
242
+ "CameraAndMicrophoneSitePermissionsDeniedSafari": {
241
243
  "primaryText": "Unable to access camera and microphone",
242
244
  "secondaryText": "Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",
243
245
  "primaryButtonText": "Continue without camera and microphone",
244
246
  "linkText": "Need help? Get troubleshooting help"
245
247
  },
246
- "CameraDomainPermissionsDenied": {
248
+ "CameraSitePermissionsDenied": {
247
249
  "primaryText": "Unable to access camera",
248
250
  "secondaryText": "Click the lock icon in the address bar to grant camera permissions to this webpage. A page refresh may be required.",
249
251
  "primaryButtonText": "Continue without camera",
250
252
  "linkText": "Need help? Get troubleshooting help"
251
253
  },
252
- "MicrophoneDomainPermissionsDenied": {
254
+ "MicrophoneSitePermissionsDenied": {
253
255
  "primaryText": "Unable to access microphone",
254
256
  "secondaryText": "Click the lock icon in the address bar to grant microphone permissions to this webpage. A page refresh may be required.",
255
257
  "primaryButtonText": "Continue without microphone",
256
258
  "linkText": "Need help? Get troubleshooting help"
257
259
  },
258
- "CameraDomainPermissionsDeniedSafari": {
260
+ "CameraSitePermissionsDeniedSafari": {
259
261
  "primaryText": "Unable to access camera",
260
262
  "secondaryText": "Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",
261
263
  "primaryButtonText": "Continue without camera",
262
264
  "linkText": "Need help? Get troubleshooting help"
263
265
  },
264
- "MicrophoneDomainPermissionsDeniedSafari": {
266
+ "MicrophoneSitePermissionsDeniedSafari": {
265
267
  "primaryText": "Unable to access microphone",
266
268
  "secondaryText": "Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",
267
269
  "primaryButtonText": "Continue without microphone",
@@ -184,7 +184,7 @@
184
184
  "participantStateRinging": "Llamando...",
185
185
  "participantStateHold": "En espera"
186
186
  },
187
- "DomainPermissions": {
187
+ "SitePermissions": {
188
188
  "primaryText": "Permitir que {appName} usen la cámara y el micrófono",
189
189
  "secondaryText": "Esto es para que los participantes puedan verle y oírle.",
190
190
  "linkText": "¿Necesitas ayuda? Obtén ayuda para la solución de problemas",
@@ -184,7 +184,7 @@
184
184
  "participantStateRinging": "Appel en cours...",
185
185
  "participantStateHold": "En attente"
186
186
  },
187
- "DomainPermissions": {
187
+ "SitePermissions": {
188
188
  "primaryText": "Autoriser {appName} à utiliser votre caméra et votre microphone",
189
189
  "secondaryText": "Cela permet aux participants de vous voir et de vous entendre.",
190
190
  "linkText": "Besoin d’aide ? Obtenir de l’aide sur la résolution des problèmes",
@@ -184,7 +184,7 @@
184
184
  "participantStateRinging": "Chiamata in corso...",
185
185
  "participantStateHold": "Per l'attesa"
186
186
  },
187
- "DomainPermissions": {
187
+ "SitePermissions": {
188
188
  "primaryText": "Consenti a {appName} di usare la fotocamera e il microfono",
189
189
  "secondaryText": "In questo modo i partecipanti possono vederti e sentirti.",
190
190
  "linkText": "Serve aiuto? Guida alla risoluzione dei problemi",
@@ -184,7 +184,7 @@
184
184
  "participantStateRinging": "呼び出し中...",
185
185
  "participantStateHold": "保留中"
186
186
  },
187
- "DomainPermissions": {
187
+ "SitePermissions": {
188
188
  "primaryText": "{appName}にカメラとマイクの使用を許可する",
189
189
  "secondaryText": "これは、参加者があなたのことを見たり聞いたりできるようにするものです。",
190
190
  "linkText": "ヘルプが必要ですか? トラブルシューティングのヘルプを表示",
@@ -184,7 +184,7 @@
184
184
  "participantStateRinging": "전화 거는 중...",
185
185
  "participantStateHold": "대기 중"
186
186
  },
187
- "DomainPermissions": {
187
+ "SitePermissions": {
188
188
  "primaryText": "{appName} 님이 카메라와 마이크를 사용하도록 허용",
189
189
  "secondaryText": "참가자가 사용자를 보고 들을 수 있도록 합니다.",
190
190
  "linkText": "도움이 필요하신가요? 문제 해결 도움말 보기",
@@ -184,7 +184,7 @@
184
184
  "participantStateRinging": "Bellen...",
185
185
  "participantStateHold": "In de wacht"
186
186
  },
187
- "DomainPermissions": {
187
+ "SitePermissions": {
188
188
  "primaryText": "Toestaan dat {appName} uw camera en microfoon gebruikt",
189
189
  "secondaryText": "Dit is zodat deelnemers u kunnen zien en horen.",
190
190
  "linkText": "Hulp nodig? Hulp bij probleemoplossing",
@@ -184,7 +184,7 @@
184
184
  "participantStateRinging": "Chamando...",
185
185
  "participantStateHold": "Em espera"
186
186
  },
187
- "DomainPermissions": {
187
+ "SitePermissions": {
188
188
  "primaryText": "Permitir {appName} usar a câmera e o microfone",
189
189
  "secondaryText": "Isso é para que os participantes possam ver e ouvir você.",
190
190
  "linkText": "Preciso de ajuda? Obtenha ajuda para solução de problemas",
@@ -184,7 +184,7 @@
184
184
  "participantStateRinging": "Выполняется вызов...",
185
185
  "participantStateHold": "На удержании"
186
186
  },
187
- "DomainPermissions": {
187
+ "SitePermissions": {
188
188
  "primaryText": "Разрешить {appName} использовать камеру и микрофон",
189
189
  "secondaryText": "Это необходимо для того, чтобы участники могли видеть и слышать вас.",
190
190
  "linkText": "Нужна помощь? Получите справку по устранению неполадок",
@@ -184,7 +184,7 @@
184
184
  "participantStateRinging": "Aranıyor...",
185
185
  "participantStateHold": "Beklemede"
186
186
  },
187
- "DomainPermissions": {
187
+ "SitePermissions": {
188
188
  "primaryText": "{appName} uygulamasının kameranızı ve mikrofonunuzu kullanmasına izin verin",
189
189
  "secondaryText": "Bu, katılımcıların sizi görebilmesi ve duyabilmesi içindir.",
190
190
  "linkText": "Yardıma mı ihtiyacınız var? Sorun giderme yardımı alın",
@@ -184,7 +184,7 @@
184
184
  "participantStateRinging": "正在呼叫...",
185
185
  "participantStateHold": "待机音乐"
186
186
  },
187
- "DomainPermissions": {
187
+ "SitePermissions": {
188
188
  "primaryText": "允许{appName}使用你的相机和麦克风",
189
189
  "secondaryText": "这样参与者就可以看到并听到你的声音。",
190
190
  "linkText": "需要帮助? 获取疑难解答帮助",
@@ -184,7 +184,7 @@
184
184
  "participantStateRinging": "撥號中...",
185
185
  "participantStateHold": "電話保留"
186
186
  },
187
- "DomainPermissions": {
187
+ "SitePermissions": {
188
188
  "primaryText": "允許 {appName} 使用您的相機和麥克風",
189
189
  "secondaryText": "這樣參與者才能看到您並聽到您的聲音。",
190
190
  "linkText": "需要協助嗎? 取得疑難排解說明",
@@ -67,16 +67,18 @@ export declare const DEFAULT_COMPONENT_ICONS: {
67
67
  SendBoxSendHovered: JSX.Element;
68
68
  VideoTileMicOff: JSX.Element;
69
69
  DialpadBackspace: JSX.Element;
70
- DomainPermissionsSparkle: JSX.Element;
71
- DomainPermissionCamera: JSX.Element;
72
- DomainPermissionMic: JSX.Element;
73
- DomainPermissionCameraDenied: JSX.Element;
74
- DomainPermissionMicDenied: JSX.Element;
70
+ SitePermissionsSparkle: JSX.Element;
71
+ SitePermissionCamera: JSX.Element;
72
+ SitePermissionMic: JSX.Element;
73
+ SitePermissionCameraDenied: JSX.Element;
74
+ SitePermissionMicDenied: JSX.Element;
75
75
  UnsupportedEnvironmentWarning: JSX.Element;
76
76
  BrowserPermissionDeniedError: JSX.Element;
77
77
  VideoTilePinned: JSX.Element;
78
78
  VideoTileMoreOptions: JSX.Element;
79
79
  VideoTileScaleFit: JSX.Element;
80
80
  VideoTileScaleFill: JSX.Element;
81
+ PinParticipant: JSX.Element;
82
+ UnpinParticipant: JSX.Element;
81
83
  };
82
84
  //# sourceMappingURL=icons.d.ts.map
@@ -7,7 +7,7 @@ import { ArrowClockwise16Regular, CallEnd20Filled, Checkmark20Regular, Checkmark
7
7
  /* @conditional-compile-remove(call-readiness) */
8
8
  import { Important20Filled } from '@fluentui/react-icons';
9
9
  /* @conditional-compile-remove(pinned-participants) */
10
- import { Pin16Filled, ScaleFit20Regular, ScaleFill20Regular } from '@fluentui/react-icons';
10
+ import { Pin16Filled, Pin20Regular, PinOff20Regular, ScaleFit20Regular, ScaleFill20Regular } from '@fluentui/react-icons';
11
11
  /* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */
12
12
  import { Backspace20Regular } from '@fluentui/react-icons';
13
13
  /* @conditional-compile-remove(call-readiness) */
@@ -23,7 +23,7 @@ import React from 'react';
23
23
  /* @conditional-compile-remove(unsupported-browser) */
24
24
  import { useTheme } from './FluentThemeProvider';
25
25
  /* @conditional-compile-remove(call-readiness) */
26
- import { domainPermissionIconBackgroundStyle, scaledIconStyles } from './icons.styles';
26
+ import { sitePermissionIconBackgroundStyle, scaledIconStyles } from './icons.styles';
27
27
  const WifiWarning16Filled = () => (
28
28
  // All ErrorBar icons are 16px x 16px (when 1rem = 16 px).
29
29
  // There is no 16px version of this icon in the fluent icon package, so scale the larger
@@ -35,35 +35,35 @@ const MoreHorizontal18Regular = () => (
35
35
  React.createElement("div", { className: mergeStyles({ transform: 'scale(0.9)' }) },
36
36
  React.createElement(MoreHorizontal20Regular, null)));
37
37
  /* @conditional-compile-remove(call-readiness) */
38
- const DomainPermissionMic20Filled = () => {
38
+ const SitePermissionMic20Filled = () => {
39
39
  const theme = useTheme();
40
- return (React.createElement(Stack, { horizontalAlign: 'center', styles: domainPermissionIconBackgroundStyle(theme) },
40
+ return (React.createElement(Stack, { horizontalAlign: 'center', styles: sitePermissionIconBackgroundStyle(theme) },
41
41
  React.createElement("div", { className: mergeStyles(scaledIconStyles(theme)) },
42
42
  React.createElement(MicOn20Filled, null))));
43
43
  };
44
44
  /* @conditional-compile-remove(call-readiness) */
45
- const DomainPermissionCamera20Filled = () => {
45
+ const SitePermissionCamera20Filled = () => {
46
46
  const theme = useTheme();
47
- return (React.createElement(Stack, { horizontalAlign: 'center', styles: domainPermissionIconBackgroundStyle(theme) },
47
+ return (React.createElement(Stack, { horizontalAlign: 'center', styles: sitePermissionIconBackgroundStyle(theme) },
48
48
  React.createElement("div", { className: mergeStyles(scaledIconStyles(theme)) },
49
49
  React.createElement(Video20Filled, null))));
50
50
  };
51
51
  /* @conditional-compile-remove(call-readiness) */
52
- const DomainPermissionsMicDenied20Filled = () => {
52
+ const SitePermissionsMicDenied20Filled = () => {
53
53
  const theme = useTheme();
54
- return (React.createElement(Stack, { horizontalAlign: 'center', styles: domainPermissionIconBackgroundStyle(theme) },
54
+ return (React.createElement(Stack, { horizontalAlign: 'center', styles: sitePermissionIconBackgroundStyle(theme) },
55
55
  React.createElement("div", { className: mergeStyles(scaledIconStyles(theme)) },
56
56
  React.createElement(MicProhibited20Filled, null))));
57
57
  };
58
58
  /* @conditional-compile-remove(call-readiness) */
59
- const DomainPermissionsCameraDenied20Filled = () => {
59
+ const SitePermissionsCameraDenied20Filled = () => {
60
60
  const theme = useTheme();
61
- return (React.createElement(Stack, { horizontalAlign: 'center', styles: domainPermissionIconBackgroundStyle(theme) },
61
+ return (React.createElement(Stack, { horizontalAlign: 'center', styles: sitePermissionIconBackgroundStyle(theme) },
62
62
  React.createElement("div", { className: mergeStyles(scaledIconStyles(theme)) },
63
63
  React.createElement(VideoProhibited20Filled, null))));
64
64
  };
65
65
  /* @conditional-compile-remove(call-readiness) */
66
- const DomainPermissionSparkle20Filled = () => (React.createElement("div", { className: mergeStyles({ transform: 'scale(2)' }) },
66
+ const SitePermissionSparkle20Filled = () => (React.createElement("div", { className: mergeStyles({ transform: 'scale(2)' }) },
67
67
  React.createElement(Sparkle20Filled, null)));
68
68
  /* @conditional-compile-remove(unsupported-browser) */
69
69
  const UnsupportedEnvironmentWarning = () => {
@@ -83,7 +83,7 @@ const UnsupportedEnvironmentWarning = () => {
83
83
  /* @conditional-compile-remove(call-readiness) */
84
84
  const BrowserPermissionDenied20Filled = () => {
85
85
  const theme = useTheme();
86
- return (React.createElement(Stack, { horizontalAlign: 'center', styles: domainPermissionIconBackgroundStyle(theme) },
86
+ return (React.createElement(Stack, { horizontalAlign: 'center', styles: sitePermissionIconBackgroundStyle(theme) },
87
87
  React.createElement("div", { className: mergeStyles(scaledIconStyles(theme)) },
88
88
  React.createElement(Important20Filled, null))));
89
89
  };
@@ -155,15 +155,15 @@ export const DEFAULT_COMPONENT_ICONS = {
155
155
  /* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */
156
156
  DialpadBackspace: React.createElement(Backspace20Regular, null),
157
157
  /* @conditional-compile-remove(call-readiness) */
158
- DomainPermissionsSparkle: React.createElement(DomainPermissionSparkle20Filled, null),
158
+ SitePermissionsSparkle: React.createElement(SitePermissionSparkle20Filled, null),
159
159
  /* @conditional-compile-remove(call-readiness) */
160
- DomainPermissionCamera: React.createElement(DomainPermissionCamera20Filled, null),
160
+ SitePermissionCamera: React.createElement(SitePermissionCamera20Filled, null),
161
161
  /* @conditional-compile-remove(call-readiness) */
162
- DomainPermissionMic: React.createElement(DomainPermissionMic20Filled, null),
162
+ SitePermissionMic: React.createElement(SitePermissionMic20Filled, null),
163
163
  /* @conditional-compile-remove(call-readiness) */
164
- DomainPermissionCameraDenied: React.createElement(DomainPermissionsCameraDenied20Filled, null),
164
+ SitePermissionCameraDenied: React.createElement(SitePermissionsCameraDenied20Filled, null),
165
165
  /* @conditional-compile-remove(call-readiness) */
166
- DomainPermissionMicDenied: React.createElement(DomainPermissionsMicDenied20Filled, null),
166
+ SitePermissionMicDenied: React.createElement(SitePermissionsMicDenied20Filled, null),
167
167
  /* @conditional-compile-remove(unsupported-browser) */
168
168
  UnsupportedEnvironmentWarning: React.createElement(UnsupportedEnvironmentWarning, null),
169
169
  /* @conditional-compile-remove(call-readiness) */
@@ -175,6 +175,10 @@ export const DEFAULT_COMPONENT_ICONS = {
175
175
  /* @conditional-compile-remove(pinned-participants) */
176
176
  VideoTileScaleFit: React.createElement(ScaleFit20Regular, null),
177
177
  /* @conditional-compile-remove(pinned-participants) */
178
- VideoTileScaleFill: React.createElement(ScaleFill20Regular, null)
178
+ VideoTileScaleFill: React.createElement(ScaleFill20Regular, null),
179
+ /* @conditional-compile-remove(pinned-participants) */
180
+ PinParticipant: React.createElement(Pin20Regular, null),
181
+ /* @conditional-compile-remove(pinned-participants) */
182
+ UnpinParticipant: React.createElement(PinOff20Regular, null)
179
183
  };
180
184
  //# sourceMappingURL=icons.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"icons.js","sourceRoot":"","sources":["../../../../../../react-components/src/theming/icons.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,iDAAiD,CAAC,sDAAsD;AACxG,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EACL,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,wBAAwB,EACxB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,cAAc,EACd,aAAa,EACb,aAAa,EACb,cAAc,EACd,sBAAsB,EACtB,uBAAuB,EACvB,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,wBAAwB,EACxB,uBAAuB,EACvB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,iDAAiD;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,sDAAsD;AACtD,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3F,0CAA0C,CAAC,6CAA6C;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,iDAAiD;AACjD,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAExG,+CAA+C;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,6CAA6C;AAC7C,OAAO,E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AAG;IAC1C,sBAAsB,EAAE,yCAAK;IAC7B,6BAA6B,EAAE,oBAAC,sBAAsB,OAAG;IACzD,+BAA+B,EAAE,oBAAC,wBAAwB,OAAG;IAC7D,6CAA6C;IAC7C,0BAA0B,EAAE,oBAAC,kBAAkB,OAAG;IAClD,6CAA6C;IAC7C,cAAc,EAAE,oBAAC,iBAAiB,OAAG;IACrC,6CAA6C;IAC7C,UAAU,EAAE,oBAAC,aAAa,OAAG;IAC7B,WAAW,EAAE,oBAAC,aAAa,OAAG;IAC9B,kBAAkB,EAAE,oBAAC,YAAY,OAAG;IACpC,eAAe,EAAE,oBAAC,cAAc,OAAG;IACnC,0CAA0C,CAAC,6CAA6C;IACxF,gBAAgB,EAAE,oBAAC,kBAAkB,OAAG;IACxC,iDAAiD;IACjD,wBAAwB,EAAE,oBAAC,+BAA+B,OAAG;IAC7D,iDAAiD;IACjD,sBAAsB,EAAE,oBAAC,8BAA8B,OAAG;IAC1D,iDAAiD;IACjD,mBAAmB,EAAE,oBAAC,2BAA2B,OAAG;IACpD,iDAAiD;IACjD,4BAA4B,EAAE,oBAAC,qCAAqC,OAAG;IACvE,iDAAiD;IACjD,yBAAyB,EAAE,oBAAC,kCAAkC,OAAG;IACjE,sDAAsD;IACtD,6BAA6B,EAAE,oBAAC,6BAA6B,OAAG;IAChE,iDAAiD;IACjD,4BAA4B,EAAE,oBAAC,+BAA+B,OAAG;IACjE,sDAAsD;IACtD,eAAe,EAAE,oBAAC,WAAW,OAAG;IAChC,sDAAsD;IACtD,oBAAoB,EAAE,oBAAC,sBAAsB,OAAG;IAChD,sDAAsD;IACtD,iBAAiB,EAAE,oBAAC,iBAAiB,OAAG;IACxC,sDAAsD;IACtD,kBAAkB,EAAE,oBAAC,kBAAkB,OAAG;CAC3C,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { mergeStyles } from '@fluentui/react';\n/* @conditional-compile-remove(call-readiness) */ /* @conditional-compile-remove(unsupported-browser) */\nimport { Stack } from '@fluentui/react';\nimport {\n ArrowClockwise16Regular,\n CallEnd20Filled,\n Checkmark20Regular,\n CheckmarkCircle16Regular,\n Circle16Regular,\n Delete20Regular,\n Dismiss20Regular,\n Dismiss16Regular,\n Edit20Regular,\n ErrorCircle16Regular,\n EyeShow16Regular,\n MicOff16Filled,\n MicOff16Regular,\n MicOff20Filled,\n MicOn16Filled,\n MicOn20Filled,\n MicOn20Regular,\n MoreHorizontal20Filled,\n MoreHorizontal20Regular,\n People20Filled,\n Settings20Filled,\n Send20Filled,\n Send20Regular,\n ShareScreenStart20Filled,\n ShareScreenStop20Filled,\n Speaker220Regular,\n Video16Filled,\n Video20Filled,\n Video20Regular,\n VideoOff20Filled,\n ChevronLeft20Regular,\n ChevronRight20Regular,\n WifiWarning20Filled,\n SpeakerMute16Filled,\n MicProhibited16Filled,\n VideoProhibited16Filled\n} from '@fluentui/react-icons';\n/* @conditional-compile-remove(call-readiness) */\nimport { Important20Filled } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(pinned-participants) */\nimport { Pin16Filled, ScaleFit20Regular, ScaleFill20Regular } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\nimport { Backspace20Regular } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(call-readiness) */\nimport { Sparkle20Filled, VideoProhibited20Filled, MicProhibited20Filled } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(file-sharing) */\nimport { ArrowDownload16Regular } from '@fluentui/react-icons';\n/* @conditional-compile-remove(PSTN-calls) */\nimport { CallPause20Regular, CallPause20Filled, Play20Regular, People20Regular } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(unsupported-browser) */\nimport { Warning20Filled } from '@fluentui/react-icons';\nimport { _pxToRem } from '@internal/acs-ui-common';\n\nimport React from 'react';\n/* @conditional-compile-remove(unsupported-browser) */\nimport { useTheme } from './FluentThemeProvider';\n/* @conditional-compile-remove(call-readiness) */\nimport { domainPermissionIconBackgroundStyle, scaledIconStyles } from './icons.styles';\n\n/**\n * Icons used by the React components exported from this library.\n *\n * @remark See {@link CompositeIcons} for icons used by composites only.\n *\n * @public\n */\nexport type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS, JSX.Element>;\n\nconst WifiWarning16Filled = (): JSX.Element => (\n // All ErrorBar icons are 16px x 16px (when 1rem = 16 px).\n // There is no 16px version of this icon in the fluent icon package, so scale the larger\n // one down to required size.\n <div className={mergeStyles({ transform: 'scale(0.8)' })}>\n <WifiWarning20Filled />\n </div>\n);\n\nconst MoreHorizontal18Regular = (): JSX.Element => (\n // MoreHorizontal icons are 16px x 16px or 20px x 20px so scaling to get desired size\n <div className={mergeStyles({ transform: 'scale(0.9)' })}>\n <MoreHorizontal20Regular />\n </div>\n);\n\n/* @conditional-compile-remove(call-readiness) */\nconst DomainPermissionMic20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={domainPermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <MicOn20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst DomainPermissionCamera20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={domainPermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <Video20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst DomainPermissionsMicDenied20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={domainPermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <MicProhibited20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst DomainPermissionsCameraDenied20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={domainPermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <VideoProhibited20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst DomainPermissionSparkle20Filled = (): JSX.Element => (\n <div className={mergeStyles({ transform: 'scale(2)' })}>\n <Sparkle20Filled />\n </div>\n);\n\n/* @conditional-compile-remove(unsupported-browser) */\nconst UnsupportedEnvironmentWarning = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack\n horizontalAlign={'center'}\n styles={{\n root: {\n width: _pxToRem(84),\n borderRadius: '100%',\n background: theme.palette.themeLighterAlt,\n padding: '2rem',\n margin: 'auto'\n }\n }}\n >\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <Warning20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst BrowserPermissionDenied20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={domainPermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <Important20Filled />\n </div>\n </Stack>\n );\n};\n\n/**\n * The default set of icons that are available to use in the UI components.\n *\n * @remark Icons used only in the composites are available in {@link DEFAULT_COMPOSITE_ICONS}.\n *\n * @public\n */\nexport const DEFAULT_COMPONENT_ICONS = {\n ChatMessageOptions: <MoreHorizontal18Regular />,\n ControlButtonCameraOff: <VideoOff20Filled />,\n ControlButtonCameraOn: <Video20Filled />,\n ControlButtonEndCall: <CallEnd20Filled />,\n ControlButtonMicOff: <MicOff20Filled />,\n ControlButtonMicOn: <MicOn20Filled />,\n ControlButtonOptions: <Settings20Filled />,\n ControlButtonParticipants: <People20Filled />,\n /* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\n ControlButtonParticipantsContextualMenuItem: <People20Regular />,\n ControlButtonScreenShareStart: <ShareScreenStart20Filled />,\n ControlButtonScreenShareStop: <ShareScreenStop20Filled />,\n /* @conditional-compile-remove(file-sharing) */\n CancelFileUpload: <Dismiss16Regular />,\n /* @conditional-compile-remove(file-sharing) */\n DownloadFile: <ArrowDownload16Regular />,\n EditBoxCancel: <Dismiss20Regular />,\n EditBoxSubmit: <Checkmark20Regular />,\n ErrorBarCallCameraAccessDenied: <VideoProhibited16Filled />,\n ErrorBarCallCameraAlreadyInUse: <VideoProhibited16Filled />,\n ErrorBarCallLocalVideoFreeze: <WifiWarning16Filled />,\n ErrorBarCallMacOsCameraAccessDenied: <VideoProhibited16Filled />,\n ErrorBarCallMacOsMicrophoneAccessDenied: <MicProhibited16Filled />,\n ErrorBarCallMicrophoneAccessDenied: <MicProhibited16Filled />,\n ErrorBarCallMicrophoneMutedBySystem: <MicOff16Filled />,\n ErrorBarCallMicrophoneUnmutedBySystem: <MicOn16Filled />,\n ErrorBarCallNetworkQualityLow: <WifiWarning16Filled />,\n ErrorBarCallNoMicrophoneFound: <MicProhibited16Filled />,\n ErrorBarCallNoSpeakerFound: <SpeakerMute16Filled />,\n ErrorBarClear: <Dismiss16Regular />,\n ErrorBarCallVideoRecoveredBySystem: <Video16Filled />,\n ErrorBarCallVideoStoppedBySystem: <VideoProhibited16Filled />,\n HorizontalGalleryLeftButton: <ChevronLeft20Regular />,\n HorizontalGalleryRightButton: <ChevronRight20Regular />,\n MessageDelivered: <CheckmarkCircle16Regular />,\n MessageEdit: <Edit20Regular />,\n MessageFailed: <ErrorCircle16Regular />,\n MessageRemove: <Delete20Regular />,\n MessageResend: <ArrowClockwise16Regular />,\n MessageSeen: <EyeShow16Regular />,\n MessageSending: <Circle16Regular />,\n OptionsCamera: <Video20Regular />,\n OptionsMic: <MicOn20Regular />,\n OptionsSpeaker: <Speaker220Regular />,\n ParticipantItemMicOff: <MicOff16Regular />,\n ParticipantItemOptions: <></>,\n ParticipantItemOptionsHovered: <MoreHorizontal20Filled />,\n ParticipantItemScreenShareStart: <ShareScreenStart20Filled />,\n /* @conditional-compile-remove(PSTN-calls) */\n HoldCallContextualMenuItem: <CallPause20Regular />,\n /* @conditional-compile-remove(PSTN-calls) */\n HoldCallButton: <CallPause20Filled />,\n /* @conditional-compile-remove(PSTN-calls) */\n ResumeCall: <Play20Regular />,\n SendBoxSend: <Send20Regular />,\n SendBoxSendHovered: <Send20Filled />,\n VideoTileMicOff: <MicOff16Filled />,\n /* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\n DialpadBackspace: <Backspace20Regular />,\n /* @conditional-compile-remove(call-readiness) */\n DomainPermissionsSparkle: <DomainPermissionSparkle20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n DomainPermissionCamera: <DomainPermissionCamera20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n DomainPermissionMic: <DomainPermissionMic20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n DomainPermissionCameraDenied: <DomainPermissionsCameraDenied20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n DomainPermissionMicDenied: <DomainPermissionsMicDenied20Filled />,\n /* @conditional-compile-remove(unsupported-browser) */\n UnsupportedEnvironmentWarning: <UnsupportedEnvironmentWarning />,\n /* @conditional-compile-remove(call-readiness) */\n BrowserPermissionDeniedError: <BrowserPermissionDenied20Filled />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTilePinned: <Pin16Filled />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTileMoreOptions: <MoreHorizontal20Filled />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTileScaleFit: <ScaleFit20Regular />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTileScaleFill: <ScaleFill20Regular />\n};\n\"../../../acs-ui-common/src\""]}
1
+ {"version":3,"file":"icons.js","sourceRoot":"","sources":["../../../../../../react-components/src/theming/icons.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,iDAAiD,CAAC,sDAAsD;AACxG,OAAO,EAAE,KAAK,EAAE,MAA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UAAU,EAAE,oBAAC,aAAa,OAAG;IAC7B,WAAW,EAAE,oBAAC,aAAa,OAAG;IAC9B,kBAAkB,EAAE,oBAAC,YAAY,OAAG;IACpC,eAAe,EAAE,oBAAC,cAAc,OAAG;IACnC,0CAA0C,CAAC,6CAA6C;IACxF,gBAAgB,EAAE,oBAAC,kBAAkB,OAAG;IACxC,iDAAiD;IACjD,sBAAsB,EAAE,oBAAC,6BAA6B,OAAG;IACzD,iDAAiD;IACjD,oBAAoB,EAAE,oBAAC,4BAA4B,OAAG;IACtD,iDAAiD;IACjD,iBAAiB,EAAE,oBAAC,yBAAyB,OAAG;IAChD,iDAAiD;IACjD,0BAA0B,EAAE,oBAAC,mCAAmC,OAAG;IACnE,iDAAiD;IACjD,uBAAuB,EAAE,oBAAC,gCAAgC,OAAG;IAC7D,sDAAsD;IACtD,6BAA6B,EAAE,oBAAC,6BAA6B,OAAG;IAChE,iDAAiD;IACjD,4BAA4B,EAAE,oBAAC,+BAA+B,OAAG;IACjE,sDAAsD;IACtD,eAAe,EAAE,oBAAC,WAAW,OAAG;IAChC,sDAAsD;IACtD,oBAAoB,EAAE,oBAAC,sBAAsB,OAAG;IAChD,sDAAsD;IACtD,iBAAiB,EAAE,oBAAC,iBAAiB,OAAG;IACxC,sDAAsD;IACtD,kBAAkB,EAAE,oBAAC,kBAAkB,OAAG;IAC1C,sDAAsD;IACtD,cAAc,EAAE,oBAAC,YAAY,OAAG;IAChC,sDAAsD;IACtD,gBAAgB,EAAE,oBAAC,eAAe,OAAG;CACtC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { mergeStyles } from '@fluentui/react';\n/* @conditional-compile-remove(call-readiness) */ /* @conditional-compile-remove(unsupported-browser) */\nimport { Stack } from '@fluentui/react';\nimport {\n ArrowClockwise16Regular,\n CallEnd20Filled,\n Checkmark20Regular,\n CheckmarkCircle16Regular,\n Circle16Regular,\n Delete20Regular,\n Dismiss20Regular,\n Dismiss16Regular,\n Edit20Regular,\n ErrorCircle16Regular,\n EyeShow16Regular,\n MicOff16Filled,\n MicOff16Regular,\n MicOff20Filled,\n MicOn16Filled,\n MicOn20Filled,\n MicOn20Regular,\n MoreHorizontal20Filled,\n MoreHorizontal20Regular,\n People20Filled,\n Settings20Filled,\n Send20Filled,\n Send20Regular,\n ShareScreenStart20Filled,\n ShareScreenStop20Filled,\n Speaker220Regular,\n Video16Filled,\n Video20Filled,\n Video20Regular,\n VideoOff20Filled,\n ChevronLeft20Regular,\n ChevronRight20Regular,\n WifiWarning20Filled,\n SpeakerMute16Filled,\n MicProhibited16Filled,\n VideoProhibited16Filled\n} from '@fluentui/react-icons';\n/* @conditional-compile-remove(call-readiness) */\nimport { Important20Filled } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(pinned-participants) */\nimport {\n Pin16Filled,\n Pin20Regular,\n PinOff20Regular,\n ScaleFit20Regular,\n ScaleFill20Regular\n} from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\nimport { Backspace20Regular } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(call-readiness) */\nimport { Sparkle20Filled, VideoProhibited20Filled, MicProhibited20Filled } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(file-sharing) */\nimport { ArrowDownload16Regular } from '@fluentui/react-icons';\n/* @conditional-compile-remove(PSTN-calls) */\nimport { CallPause20Regular, CallPause20Filled, Play20Regular, People20Regular } from '@fluentui/react-icons';\n\n/* @conditional-compile-remove(unsupported-browser) */\nimport { Warning20Filled } from '@fluentui/react-icons';\nimport { _pxToRem } from '@internal/acs-ui-common';\n\nimport React from 'react';\n/* @conditional-compile-remove(unsupported-browser) */\nimport { useTheme } from './FluentThemeProvider';\n/* @conditional-compile-remove(call-readiness) */\nimport { sitePermissionIconBackgroundStyle, scaledIconStyles } from './icons.styles';\n\n/**\n * Icons used by the React components exported from this library.\n *\n * @remark See {@link CompositeIcons} for icons used by composites only.\n *\n * @public\n */\nexport type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS, JSX.Element>;\n\nconst WifiWarning16Filled = (): JSX.Element => (\n // All ErrorBar icons are 16px x 16px (when 1rem = 16 px).\n // There is no 16px version of this icon in the fluent icon package, so scale the larger\n // one down to required size.\n <div className={mergeStyles({ transform: 'scale(0.8)' })}>\n <WifiWarning20Filled />\n </div>\n);\n\nconst MoreHorizontal18Regular = (): JSX.Element => (\n // MoreHorizontal icons are 16px x 16px or 20px x 20px so scaling to get desired size\n <div className={mergeStyles({ transform: 'scale(0.9)' })}>\n <MoreHorizontal20Regular />\n </div>\n);\n\n/* @conditional-compile-remove(call-readiness) */\nconst SitePermissionMic20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={sitePermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <MicOn20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst SitePermissionCamera20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={sitePermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <Video20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst SitePermissionsMicDenied20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={sitePermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <MicProhibited20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst SitePermissionsCameraDenied20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={sitePermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <VideoProhibited20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst SitePermissionSparkle20Filled = (): JSX.Element => (\n <div className={mergeStyles({ transform: 'scale(2)' })}>\n <Sparkle20Filled />\n </div>\n);\n\n/* @conditional-compile-remove(unsupported-browser) */\nconst UnsupportedEnvironmentWarning = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack\n horizontalAlign={'center'}\n styles={{\n root: {\n width: _pxToRem(84),\n borderRadius: '100%',\n background: theme.palette.themeLighterAlt,\n padding: '2rem',\n margin: 'auto'\n }\n }}\n >\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <Warning20Filled />\n </div>\n </Stack>\n );\n};\n\n/* @conditional-compile-remove(call-readiness) */\nconst BrowserPermissionDenied20Filled = (): JSX.Element => {\n const theme = useTheme();\n return (\n <Stack horizontalAlign={'center'} styles={sitePermissionIconBackgroundStyle(theme)}>\n <div className={mergeStyles(scaledIconStyles(theme))}>\n <Important20Filled />\n </div>\n </Stack>\n );\n};\n\n/**\n * The default set of icons that are available to use in the UI components.\n *\n * @remark Icons used only in the composites are available in {@link DEFAULT_COMPOSITE_ICONS}.\n *\n * @public\n */\nexport const DEFAULT_COMPONENT_ICONS = {\n ChatMessageOptions: <MoreHorizontal18Regular />,\n ControlButtonCameraOff: <VideoOff20Filled />,\n ControlButtonCameraOn: <Video20Filled />,\n ControlButtonEndCall: <CallEnd20Filled />,\n ControlButtonMicOff: <MicOff20Filled />,\n ControlButtonMicOn: <MicOn20Filled />,\n ControlButtonOptions: <Settings20Filled />,\n ControlButtonParticipants: <People20Filled />,\n /* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\n ControlButtonParticipantsContextualMenuItem: <People20Regular />,\n ControlButtonScreenShareStart: <ShareScreenStart20Filled />,\n ControlButtonScreenShareStop: <ShareScreenStop20Filled />,\n /* @conditional-compile-remove(file-sharing) */\n CancelFileUpload: <Dismiss16Regular />,\n /* @conditional-compile-remove(file-sharing) */\n DownloadFile: <ArrowDownload16Regular />,\n EditBoxCancel: <Dismiss20Regular />,\n EditBoxSubmit: <Checkmark20Regular />,\n ErrorBarCallCameraAccessDenied: <VideoProhibited16Filled />,\n ErrorBarCallCameraAlreadyInUse: <VideoProhibited16Filled />,\n ErrorBarCallLocalVideoFreeze: <WifiWarning16Filled />,\n ErrorBarCallMacOsCameraAccessDenied: <VideoProhibited16Filled />,\n ErrorBarCallMacOsMicrophoneAccessDenied: <MicProhibited16Filled />,\n ErrorBarCallMicrophoneAccessDenied: <MicProhibited16Filled />,\n ErrorBarCallMicrophoneMutedBySystem: <MicOff16Filled />,\n ErrorBarCallMicrophoneUnmutedBySystem: <MicOn16Filled />,\n ErrorBarCallNetworkQualityLow: <WifiWarning16Filled />,\n ErrorBarCallNoMicrophoneFound: <MicProhibited16Filled />,\n ErrorBarCallNoSpeakerFound: <SpeakerMute16Filled />,\n ErrorBarClear: <Dismiss16Regular />,\n ErrorBarCallVideoRecoveredBySystem: <Video16Filled />,\n ErrorBarCallVideoStoppedBySystem: <VideoProhibited16Filled />,\n HorizontalGalleryLeftButton: <ChevronLeft20Regular />,\n HorizontalGalleryRightButton: <ChevronRight20Regular />,\n MessageDelivered: <CheckmarkCircle16Regular />,\n MessageEdit: <Edit20Regular />,\n MessageFailed: <ErrorCircle16Regular />,\n MessageRemove: <Delete20Regular />,\n MessageResend: <ArrowClockwise16Regular />,\n MessageSeen: <EyeShow16Regular />,\n MessageSending: <Circle16Regular />,\n OptionsCamera: <Video20Regular />,\n OptionsMic: <MicOn20Regular />,\n OptionsSpeaker: <Speaker220Regular />,\n ParticipantItemMicOff: <MicOff16Regular />,\n ParticipantItemOptions: <></>,\n ParticipantItemOptionsHovered: <MoreHorizontal20Filled />,\n ParticipantItemScreenShareStart: <ShareScreenStart20Filled />,\n /* @conditional-compile-remove(PSTN-calls) */\n HoldCallContextualMenuItem: <CallPause20Regular />,\n /* @conditional-compile-remove(PSTN-calls) */\n HoldCallButton: <CallPause20Filled />,\n /* @conditional-compile-remove(PSTN-calls) */\n ResumeCall: <Play20Regular />,\n SendBoxSend: <Send20Regular />,\n SendBoxSendHovered: <Send20Filled />,\n VideoTileMicOff: <MicOff16Filled />,\n /* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\n DialpadBackspace: <Backspace20Regular />,\n /* @conditional-compile-remove(call-readiness) */\n SitePermissionsSparkle: <SitePermissionSparkle20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n SitePermissionCamera: <SitePermissionCamera20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n SitePermissionMic: <SitePermissionMic20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n SitePermissionCameraDenied: <SitePermissionsCameraDenied20Filled />,\n /* @conditional-compile-remove(call-readiness) */\n SitePermissionMicDenied: <SitePermissionsMicDenied20Filled />,\n /* @conditional-compile-remove(unsupported-browser) */\n UnsupportedEnvironmentWarning: <UnsupportedEnvironmentWarning />,\n /* @conditional-compile-remove(call-readiness) */\n BrowserPermissionDeniedError: <BrowserPermissionDenied20Filled />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTilePinned: <Pin16Filled />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTileMoreOptions: <MoreHorizontal20Filled />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTileScaleFit: <ScaleFit20Regular />,\n /* @conditional-compile-remove(pinned-participants) */\n VideoTileScaleFill: <ScaleFill20Regular />,\n /* @conditional-compile-remove(pinned-participants) */\n PinParticipant: <Pin20Regular />,\n /* @conditional-compile-remove(pinned-participants) */\n UnpinParticipant: <PinOff20Regular />\n};\n\"../../../acs-ui-common/src\""]}
@@ -2,5 +2,5 @@ import { IStackStyles, IStyle, Theme } from '@fluentui/react';
2
2
  /** @private */
3
3
  export declare const scaledIconStyles: (theme: Theme) => IStyle;
4
4
  /** @private */
5
- export declare const domainPermissionIconBackgroundStyle: (theme: Theme) => IStackStyles;
5
+ export declare const sitePermissionIconBackgroundStyle: (theme: Theme) => IStackStyles;
6
6
  //# sourceMappingURL=icons.styles.d.ts.map
@@ -13,7 +13,7 @@ export const scaledIconStyles = (theme) => {
13
13
  };
14
14
  };
15
15
  /** @private */
16
- export const domainPermissionIconBackgroundStyle = (theme) => {
16
+ export const sitePermissionIconBackgroundStyle = (theme) => {
17
17
  return {
18
18
  root: {
19
19
  borderRadius: '100%',
@@ -1 +1 @@
1
- {"version":3,"file":"icons.styles.js","sourceRoot":"","sources":["../../../../../../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,mCAAmC,GAAG,CAAC,KAAY,EAAgB,EAAE;IAChF,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 domainPermissionIconBackgroundStyle = (theme: Theme): IStackStyles => {\n return {\n root: {\n borderRadius: '100%',\n background: theme.palette.themeLighterAlt,\n padding: '2rem'\n }\n };\n};\n"]}
1
+ {"version":3,"file":"icons.styles.js","sourceRoot":"","sources":["../../../../../../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};\n"]}
@@ -31,12 +31,12 @@ export interface CallCompositeProps extends BaseCompositeProps<CallCompositeIcon
31
31
  options?: CallCompositeOptions;
32
32
  }
33
33
  /**
34
- * Device Permission restrictions.
35
- * Be able to start a call depending on camera and microphone permission options.
34
+ * Device Checks.
35
+ * Choose whether or not to block starting a call depending on camera and microphone permission options.
36
36
  *
37
37
  * @beta
38
38
  */
39
- export interface DevicePermissionRestrictions {
39
+ export interface DeviceCheckOptions {
40
40
  /**
41
41
  * Camera Permission prompts for your call.
42
42
  * 'required' - requires the permission to be allowed before permitting the user join the call.
@@ -71,10 +71,11 @@ export declare type CallCompositeOptions = {
71
71
  */
72
72
  callControls?: boolean | CallControlOptions;
73
73
  /**
74
- * Device permission restrictions for your call.
75
- * Require device permissions to be set or have them as optional or not required to start a call
74
+ * Device permissions check options for your call.
75
+ * Here you can choose what device permissions you prompt the user for,
76
+ * as well as what device permissions must be accepted before starting a call.
76
77
  */
77
- devicePermissions?: DevicePermissionRestrictions;
78
+ deviceChecks?: DeviceCheckOptions;
78
79
  /**
79
80
  * Opt in call readiness feature for your call
80
81
  * Setting this to `true` will add call readiness features to the call experience
@@ -58,7 +58,7 @@ const MainScreen = (props) => {
58
58
  adapter.joinCall();
59
59
  },
60
60
  /* @conditional-compile-remove(call-readiness) */
61
- devicePermissions: (_a = props.options) === null || _a === void 0 ? void 0 : _a.devicePermissions,
61
+ deviceChecks: (_a = props.options) === null || _a === void 0 ? void 0 : _a.deviceChecks,
62
62
  /* @conditional-compile-remove(call-readiness) */
63
63
  onPermissionsTroubleshootingClick: (_b = props.options) === null || _b === void 0 ? void 0 : _b.onPermissionsTroubleshootingClick,
64
64
  /* @conditional-compile-remove(call-readiness) */