Compare commits
1 Commits
jitihouse/
...
hmuresan/s
Author | SHA1 | Date |
---|---|---|
Horatiu Muresan | 64126c3640 |
7
Makefile
|
@ -44,8 +44,12 @@ deploy-appbundle:
|
||||||
cp \
|
cp \
|
||||||
$(BUILD_DIR)/app.bundle.min.js \
|
$(BUILD_DIR)/app.bundle.min.js \
|
||||||
$(BUILD_DIR)/app.bundle.min.js.map \
|
$(BUILD_DIR)/app.bundle.min.js.map \
|
||||||
|
$(BUILD_DIR)/do_external_connect.min.js \
|
||||||
|
$(BUILD_DIR)/do_external_connect.min.js.map \
|
||||||
$(BUILD_DIR)/external_api.min.js \
|
$(BUILD_DIR)/external_api.min.js \
|
||||||
$(BUILD_DIR)/external_api.min.js.map \
|
$(BUILD_DIR)/external_api.min.js.map \
|
||||||
|
$(BUILD_DIR)/dial_in_info_bundle.min.js \
|
||||||
|
$(BUILD_DIR)/dial_in_info_bundle.min.js.map \
|
||||||
$(BUILD_DIR)/alwaysontop.min.js \
|
$(BUILD_DIR)/alwaysontop.min.js \
|
||||||
$(BUILD_DIR)/alwaysontop.min.js.map \
|
$(BUILD_DIR)/alwaysontop.min.js.map \
|
||||||
$(OUTPUT_DIR)/analytics-ga.js \
|
$(OUTPUT_DIR)/analytics-ga.js \
|
||||||
|
@ -66,6 +70,7 @@ deploy-lib-jitsi-meet:
|
||||||
$(LIBJITSIMEET_DIR)/dist/umd/lib-jitsi-meet.min.js \
|
$(LIBJITSIMEET_DIR)/dist/umd/lib-jitsi-meet.min.js \
|
||||||
$(LIBJITSIMEET_DIR)/dist/umd/lib-jitsi-meet.min.map \
|
$(LIBJITSIMEET_DIR)/dist/umd/lib-jitsi-meet.min.map \
|
||||||
$(LIBJITSIMEET_DIR)/dist/umd/lib-jitsi-meet.e2ee-worker.js \
|
$(LIBJITSIMEET_DIR)/dist/umd/lib-jitsi-meet.e2ee-worker.js \
|
||||||
|
$(LIBJITSIMEET_DIR)/connection_optimization/external_connect.js \
|
||||||
$(LIBJITSIMEET_DIR)/modules/browser/capabilities.json \
|
$(LIBJITSIMEET_DIR)/modules/browser/capabilities.json \
|
||||||
$(DEPLOY_DIR)
|
$(DEPLOY_DIR)
|
||||||
|
|
||||||
|
@ -126,7 +131,7 @@ dev: deploy-init deploy-css deploy-rnnoise-binary deploy-tflite deploy-meet-mode
|
||||||
|
|
||||||
source-package:
|
source-package:
|
||||||
mkdir -p source_package/jitsi-meet/css && \
|
mkdir -p source_package/jitsi-meet/css && \
|
||||||
cp -r *.js *.html resources/*.txt favicon.ico fonts images libs static sounds LICENSE lang source_package/jitsi-meet && \
|
cp -r *.js *.html resources/*.txt connection_optimization favicon.ico fonts images libs static sounds LICENSE lang source_package/jitsi-meet && \
|
||||||
cp css/all.css source_package/jitsi-meet/css && \
|
cp css/all.css source_package/jitsi-meet/css && \
|
||||||
(cd source_package ; tar cjf ../jitsi-meet.tar.bz2 jitsi-meet) && \
|
(cd source_package ; tar cjf ../jitsi-meet.tar.bz2 jitsi-meet) && \
|
||||||
rm -rf source_package
|
rm -rf source_package
|
||||||
|
|
11
app.js
|
@ -33,6 +33,17 @@ window.APP = {
|
||||||
API,
|
API,
|
||||||
conference,
|
conference,
|
||||||
|
|
||||||
|
// Used by do_external_connect.js if we receive the attach data after
|
||||||
|
// connect was already executed. status property can be 'initialized',
|
||||||
|
// 'ready', or 'connecting'. We are interested in 'ready' status only which
|
||||||
|
// means that connect was executed but we have to wait for the attach data.
|
||||||
|
// In status 'ready' handler property will be set to a function that will
|
||||||
|
// finish the connect process when the attach data or error is received.
|
||||||
|
connect: {
|
||||||
|
handler: null,
|
||||||
|
status: 'initialized'
|
||||||
|
},
|
||||||
|
|
||||||
// Used for automated performance tests.
|
// Used for automated performance tests.
|
||||||
connectionTimes: {
|
connectionTimes: {
|
||||||
'index.loaded': window.indexLoadedTime
|
'index.loaded': window.indexLoadedTime
|
||||||
|
|
|
@ -153,7 +153,6 @@ import { createRnnoiseProcessor } from './react/features/stream-effects/rnnoise'
|
||||||
import { endpointMessageReceived } from './react/features/subtitles';
|
import { endpointMessageReceived } from './react/features/subtitles';
|
||||||
import { handleToggleVideoMuted } from './react/features/toolbox/actions.any';
|
import { handleToggleVideoMuted } from './react/features/toolbox/actions.any';
|
||||||
import { muteLocal } from './react/features/video-menu/actions.any';
|
import { muteLocal } from './react/features/video-menu/actions.any';
|
||||||
import { setIAmVisitor } from './react/features/visitors/actions';
|
|
||||||
import UIEvents from './service/UI/UIEvents';
|
import UIEvents from './service/UI/UIEvents';
|
||||||
|
|
||||||
const logger = Logger.getLogger(__filename);
|
const logger = Logger.getLogger(__filename);
|
||||||
|
@ -343,8 +342,6 @@ class ConferenceConnector {
|
||||||
case JitsiConferenceErrors.REDIRECTED: {
|
case JitsiConferenceErrors.REDIRECTED: {
|
||||||
generateVisitorConfig(APP.store.getState(), params);
|
generateVisitorConfig(APP.store.getState(), params);
|
||||||
|
|
||||||
APP.store.dispatch(setIAmVisitor(true));
|
|
||||||
|
|
||||||
connection.disconnect().then(() => {
|
connection.disconnect().then(() => {
|
||||||
connect(this._conference.roomName).then(con => {
|
connect(this._conference.roomName).then(con => {
|
||||||
const localTracks = getLocalTracks(APP.store.getState()['features/base/tracks']);
|
const localTracks = getLocalTracks(APP.store.getState()['features/base/tracks']);
|
||||||
|
|
25
config.js
|
@ -46,9 +46,9 @@ var config = {
|
||||||
},
|
},
|
||||||
|
|
||||||
// BOSH URL. FIXME: use XEP-0156 to discover it.
|
// BOSH URL. FIXME: use XEP-0156 to discover it.
|
||||||
bosh: 'https://jitsi-meet.example.com/' + subdir + 'http-bind',
|
bosh: '//jitsi-meet.example.com/' + subdir + 'http-bind',
|
||||||
|
|
||||||
// Websocket URL (XMPP)
|
// Websocket URL
|
||||||
// websocket: 'wss://jitsi-meet.example.com/' + subdir + 'xmpp-websocket',
|
// websocket: 'wss://jitsi-meet.example.com/' + subdir + 'xmpp-websocket',
|
||||||
|
|
||||||
// The real JID of focus participant - can be overridden here
|
// The real JID of focus participant - can be overridden here
|
||||||
|
@ -56,19 +56,6 @@ var config = {
|
||||||
// https://github.com/jitsi/jitsi-meet/issues/7376
|
// https://github.com/jitsi/jitsi-meet/issues/7376
|
||||||
// focusUserJid: 'focus@auth.jitsi-meet.example.com',
|
// focusUserJid: 'focus@auth.jitsi-meet.example.com',
|
||||||
|
|
||||||
// Options related to the bridge (colibri) data channel
|
|
||||||
bridgeChannel: {
|
|
||||||
// If the backend advertises multiple colibri websockets, this options allows
|
|
||||||
// to filter some of them out based on the domain name. We use the first URL
|
|
||||||
// which does not match ignoreDomain, falling back to the first one that matches
|
|
||||||
// ignoreDomain. Has no effect if undefined.
|
|
||||||
// ignoreDomain: 'example.com',
|
|
||||||
|
|
||||||
// Prefer SCTP (WebRTC data channels over the media path) over a colibri websocket.
|
|
||||||
// If SCTP is available in the backend it will be used instead of a WS. Defaults to
|
|
||||||
// false (SCTP is used only if available and no WS are available).
|
|
||||||
// preferSctp: false
|
|
||||||
},
|
|
||||||
|
|
||||||
// Testing / experimental features.
|
// Testing / experimental features.
|
||||||
//
|
//
|
||||||
|
@ -1159,13 +1146,6 @@ var config = {
|
||||||
// }
|
// }
|
||||||
// },
|
// },
|
||||||
|
|
||||||
// // The terms, privacy and help centre URL's.
|
|
||||||
// legalUrls: {
|
|
||||||
// helpCentre: 'https://web-cdn.jitsi.net/faq/meet-faq.html',
|
|
||||||
// privacy: 'https://jitsi.org/meet/privacy',
|
|
||||||
// terms: 'https://jitsi.org/meet/terms'
|
|
||||||
// },
|
|
||||||
|
|
||||||
// A property to disable the right click context menu for localVideo
|
// A property to disable the right click context menu for localVideo
|
||||||
// the menu has option to flip the locally seen video for local presentations
|
// the menu has option to flip the locally seen video for local presentations
|
||||||
// disableLocalVideoFlip: false,
|
// disableLocalVideoFlip: false,
|
||||||
|
@ -1385,6 +1365,7 @@ var config = {
|
||||||
dialOutRegionUrl
|
dialOutRegionUrl
|
||||||
disableRemoteControl
|
disableRemoteControl
|
||||||
displayJids
|
displayJids
|
||||||
|
externalConnectUrl
|
||||||
e2eeLabels
|
e2eeLabels
|
||||||
firefox_fake_device
|
firefox_fake_device
|
||||||
googleApiApplicationClientID
|
googleApiApplicationClientID
|
||||||
|
|
|
@ -32,6 +32,54 @@ const logger = Logger.getLogger(__filename);
|
||||||
*/
|
*/
|
||||||
export const DISCO_JIBRI_FEATURE = 'http://jitsi.org/protocol/jibri';
|
export const DISCO_JIBRI_FEATURE = 'http://jitsi.org/protocol/jibri';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if we have data to use attach instead of connect. If we have the data
|
||||||
|
* executes attach otherwise check if we have to wait for the data. If we have
|
||||||
|
* to wait for the attach data we are setting handler to APP.connect.handler
|
||||||
|
* which is going to be called when the attach data is received otherwise
|
||||||
|
* executes connect.
|
||||||
|
*
|
||||||
|
* @param {string} [id] user id
|
||||||
|
* @param {string} [password] password
|
||||||
|
* @param {string} [roomName] the name of the conference.
|
||||||
|
*/
|
||||||
|
function checkForAttachParametersAndConnect(id, password, connection) {
|
||||||
|
if (window.XMPPAttachInfo) {
|
||||||
|
APP.connect.status = 'connecting';
|
||||||
|
|
||||||
|
// When connection optimization is not deployed or enabled the default
|
||||||
|
// value will be window.XMPPAttachInfo.status = "error"
|
||||||
|
// If the connection optimization is deployed and enabled and there is
|
||||||
|
// a failure the value will be window.XMPPAttachInfo.status = "error"
|
||||||
|
if (window.XMPPAttachInfo.status === 'error') {
|
||||||
|
connection.connect({
|
||||||
|
id,
|
||||||
|
password
|
||||||
|
});
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const attachOptions = window.XMPPAttachInfo.data;
|
||||||
|
|
||||||
|
if (attachOptions) {
|
||||||
|
connection.attach(attachOptions);
|
||||||
|
delete window.XMPPAttachInfo.data;
|
||||||
|
} else {
|
||||||
|
connection.connect({
|
||||||
|
id,
|
||||||
|
password
|
||||||
|
});
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
APP.connect.status = 'ready';
|
||||||
|
APP.connect.handler
|
||||||
|
= checkForAttachParametersAndConnect.bind(
|
||||||
|
null,
|
||||||
|
id, password, connection);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Try to open connection using provided credentials.
|
* Try to open connection using provided credentials.
|
||||||
* @param {string} [id]
|
* @param {string} [id]
|
||||||
|
@ -134,10 +182,7 @@ export async function connect(id, password) {
|
||||||
APP.store.dispatch(setPrejoinDisplayNameRequired());
|
APP.store.dispatch(setPrejoinDisplayNameRequired());
|
||||||
}
|
}
|
||||||
|
|
||||||
connection.connect({
|
checkForAttachParametersAndConnect(id, password, connection);
|
||||||
id,
|
|
||||||
password
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
module.exports = {
|
||||||
|
'extends': '../react/.eslintrc.js'
|
||||||
|
};
|
|
@ -0,0 +1,86 @@
|
||||||
|
/* global config, createConnectionExternally */
|
||||||
|
|
||||||
|
import getRoomName from '../react/features/base/config/getRoomName';
|
||||||
|
import { parseURLParams } from '../react/features/base/util/parseURLParams';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements external connect using createConnectionExternally function defined
|
||||||
|
* in external_connect.js for Jitsi Meet. Parses the room name and JSON Web
|
||||||
|
* Token (JWT) from the URL and executes createConnectionExternally.
|
||||||
|
*
|
||||||
|
* NOTE: If you are using lib-jitsi-meet without Jitsi Meet, you should use this
|
||||||
|
* file as reference only because the implementation is Jitsi Meet-specific.
|
||||||
|
*
|
||||||
|
* NOTE: For optimal results this file should be included right after
|
||||||
|
* external_connect.js.
|
||||||
|
*/
|
||||||
|
|
||||||
|
if (typeof createConnectionExternally === 'function') {
|
||||||
|
// URL params have higher priority than config params.
|
||||||
|
// Do not use external connect if websocket is enabled.
|
||||||
|
let url
|
||||||
|
= parseURLParams(window.location, true, 'hash')[
|
||||||
|
'config.externalConnectUrl']
|
||||||
|
|| config.websocket ? undefined : config.externalConnectUrl;
|
||||||
|
const isRecorder
|
||||||
|
= parseURLParams(window.location, true, 'hash')['config.iAmRecorder'];
|
||||||
|
|
||||||
|
let roomName;
|
||||||
|
|
||||||
|
if (url && (roomName = getRoomName()) && !isRecorder) {
|
||||||
|
url += `?room=${roomName}`;
|
||||||
|
|
||||||
|
const token = parseURLParams(window.location, true, 'search').jwt;
|
||||||
|
|
||||||
|
if (token) {
|
||||||
|
url += `&token=${token}`;
|
||||||
|
}
|
||||||
|
|
||||||
|
createConnectionExternally(
|
||||||
|
url,
|
||||||
|
connectionInfo => {
|
||||||
|
// Sets that global variable to be used later by connect method
|
||||||
|
// in connection.js.
|
||||||
|
window.XMPPAttachInfo = {
|
||||||
|
status: 'success',
|
||||||
|
data: connectionInfo
|
||||||
|
};
|
||||||
|
checkForConnectHandlerAndConnect();
|
||||||
|
},
|
||||||
|
errorCallback);
|
||||||
|
} else {
|
||||||
|
errorCallback();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
errorCallback();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if connect from connection.js was executed and executes the handler
|
||||||
|
* that is going to finish the connect work.
|
||||||
|
*
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
function checkForConnectHandlerAndConnect() {
|
||||||
|
window.APP
|
||||||
|
&& window.APP.connect.status === 'ready'
|
||||||
|
&& window.APP.connect.handler();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements a callback to be invoked if anything goes wrong.
|
||||||
|
*
|
||||||
|
* @param {Error} error - The specifics of what went wrong.
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
function errorCallback(error) {
|
||||||
|
// The value of error is undefined if external connect is disabled.
|
||||||
|
error && console.warn(error);
|
||||||
|
|
||||||
|
// Sets that global variable to be used later by connect method in
|
||||||
|
// connection.js.
|
||||||
|
window.XMPPAttachInfo = {
|
||||||
|
status: 'error'
|
||||||
|
};
|
||||||
|
checkForConnectHandlerAndConnect();
|
||||||
|
}
|
|
@ -22,7 +22,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&-entry-text {
|
&-entry-text {
|
||||||
|
display: inline-block;
|
||||||
|
text-overflow: ellipsis;
|
||||||
max-width: 213px;
|
max-width: 213px;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
&.left-margin {
|
&.left-margin {
|
||||||
margin-left: 36px;
|
margin-left: 36px;
|
||||||
|
|
|
@ -1,67 +0,0 @@
|
||||||
@keyframes rotateAroundY {
|
|
||||||
from { transform: rotateY(0deg); }
|
|
||||||
to { transform: rotateY(360deg); }
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes rainbowRoad {
|
|
||||||
to {
|
|
||||||
background-position: 400% 0 !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-family: "Comic Sans MS", "Comic Sans", sans-serif !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
background: linear-gradient(90deg, rgba(255,0,0,1) 0%, rgba(255,154,0,1) 10%, rgba(208,222,33,1) 20%, rgba(79,220,74,1) 30%, rgba(63,218,216,1) 40%, rgba(47,201,226,1) 50%, rgba(28,127,238,1) 60%, rgba(95,21,242,1) 70%, rgba(186,12,248,1) 80%, rgba(251,7,217,1) 90%, rgba(255,0,0,1) 100%) !important;
|
|
||||||
-webkit-background-clip: text !important;
|
|
||||||
-webkit-text-fill-color: transparent !important;
|
|
||||||
-moz-background-clip: text !important;
|
|
||||||
-moz-text-fill-color: transparent !important;
|
|
||||||
animation: rainbowRoad 8s linear infinite !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.dominant-speaker {
|
|
||||||
box-shadow: inset 0px 0px 0px 4px rgba(255,0,255,0.33) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.display-avatar-only {
|
|
||||||
background-image: url("");
|
|
||||||
}
|
|
||||||
|
|
||||||
.videocontainer:nth-child(odd) {
|
|
||||||
transform: rotate(1.5deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.videocontainer:nth-child(even) {
|
|
||||||
transform: rotate(-1.3deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
#largeVideoContainer.videocontainer {
|
|
||||||
transform: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sideToolbarContainer {
|
|
||||||
transform: rotate(-1.1deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.displayname:before {
|
|
||||||
content: "♡︎ ";
|
|
||||||
}
|
|
||||||
|
|
||||||
.displayname:after {
|
|
||||||
content: " ♡︎";
|
|
||||||
}
|
|
||||||
|
|
||||||
.avatar, .userAvatar {
|
|
||||||
transform: rotateY(0deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.avatar:hover, .userAvatar:hover {
|
|
||||||
animation: rotateAroundY 3.6s linear infinite;
|
|
||||||
}
|
|
|
@ -82,7 +82,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.left-column {
|
.left-column {
|
||||||
order: -1;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
|
@ -93,7 +92,6 @@
|
||||||
.right-column {
|
.right-column {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-start;
|
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
padding-left: 16px;
|
padding-left: 16px;
|
||||||
padding-top: 13px;
|
padding-top: 13px;
|
||||||
|
@ -101,11 +99,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
margin-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.subtitle {
|
.subtitle {
|
||||||
color: #5E6D7A;
|
color: #5E6D7A;
|
||||||
|
@ -127,7 +125,8 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.with-click-handler:hover {
|
&.with-click-handler:hover,
|
||||||
|
&.with-click-handler:focus {
|
||||||
background-color: #c7ddff;
|
background-color: #c7ddff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
.polls-panel {
|
#polls-panel {
|
||||||
height: calc(100% - 119px);
|
height: calc(100% - 119px);
|
||||||
}
|
}
|
||||||
|
|
|
@ -201,6 +201,11 @@ $deepLinkingDialInConferenceIdPadding: inherit;
|
||||||
$deepLinkingDialInConferenceIdBackgroundColor: inherit;
|
$deepLinkingDialInConferenceIdBackgroundColor: inherit;
|
||||||
$deepLinkingDialInConferenceIdBorderRadius: inherit;
|
$deepLinkingDialInConferenceIdBorderRadius: inherit;
|
||||||
|
|
||||||
|
$deepLinkingDialInConferenceNameFontSize: inherit;
|
||||||
|
$deepLinkingDialInConferenceNameLineHeight: inherit;
|
||||||
|
$deepLinkingDialInConferenceNameMarginBottom: none;
|
||||||
|
$deepLinkingDialInConferenceNameFontWeight: inherit;
|
||||||
|
|
||||||
$deepLinkingDialInConferenceDescriptionFontSize: 0.8em;
|
$deepLinkingDialInConferenceDescriptionFontSize: 0.8em;
|
||||||
$deepLinkingDialInConferenceDescriptionLineHeight: inherit;
|
$deepLinkingDialInConferenceDescriptionLineHeight: inherit;
|
||||||
$deepLinkingDialInConferenceDescriptionMarginBottom: none;
|
$deepLinkingDialInConferenceDescriptionMarginBottom: none;
|
||||||
|
|
|
@ -90,7 +90,7 @@ body.welcome-page {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
|
|
||||||
&.focus-visible {
|
&:focus {
|
||||||
outline: auto 2px #005fcc;
|
outline: auto 2px #005fcc;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -167,7 +167,7 @@ body.welcome-page {
|
||||||
margin: 4px;
|
margin: 4px;
|
||||||
display: $welcomePageTabButtonsDisplay;
|
display: $welcomePageTabButtonsDisplay;
|
||||||
|
|
||||||
[role="tab"] {
|
.tab {
|
||||||
background-color: #c7ddff;
|
background-color: #c7ddff;
|
||||||
border-radius: 7px;
|
border-radius: 7px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
@ -176,10 +176,8 @@ body.welcome-page {
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
padding: 7px 0;
|
padding: 7px 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: inherit;
|
|
||||||
border: 0;
|
|
||||||
|
|
||||||
&[aria-selected="true"] {
|
&.selected {
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,13 +67,6 @@
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.dial-in-conference-id {
|
|
||||||
text-align: center;
|
|
||||||
min-width: 200px;
|
|
||||||
margin-top: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dial-in-conference-id {
|
.dial-in-conference-id {
|
||||||
margin: $deepLinkingDialInConferenceIdMargin;
|
margin: $deepLinkingDialInConferenceIdMargin;
|
||||||
padding: $deepLinkingDialInConferenceIdPadding;
|
padding: $deepLinkingDialInConferenceIdPadding;
|
||||||
|
@ -81,12 +74,24 @@
|
||||||
border-radius: $deepLinkingDialInConferenceIdBorderRadius;
|
border-radius: $deepLinkingDialInConferenceIdBorderRadius;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dial-in-conference-name {
|
||||||
|
font-size: $deepLinkingDialInConferenceNameFontSize;
|
||||||
|
line-height: $deepLinkingDialInConferenceNameLineHeight;
|
||||||
|
margin-bottom: $deepLinkingDialInConferenceNameMarginBottom;
|
||||||
|
font-weight: $deepLinkingDialInConferenceNameFontWeight;
|
||||||
|
}
|
||||||
|
|
||||||
.dial-in-conference-description {
|
.dial-in-conference-description {
|
||||||
font-size: $deepLinkingDialInConferenceDescriptionFontSize;
|
font-size: $deepLinkingDialInConferenceDescriptionFontSize;
|
||||||
line-height: $deepLinkingDialInConferenceDescriptionLineHeight;
|
line-height: $deepLinkingDialInConferenceDescriptionLineHeight;
|
||||||
margin-bottom: $deepLinkingDialInConferenceDescriptionMarginBottom;
|
margin-bottom: $deepLinkingDialInConferenceDescriptionMarginBottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dial-in-conference-pin {
|
||||||
|
font-size: $deepLinkingDialInConferencePinFontSize;
|
||||||
|
line-height: $deepLinkingDialInConferencePinLineHeight;
|
||||||
|
}
|
||||||
|
|
||||||
.toll-free-list {
|
.toll-free-list {
|
||||||
min-width: 80px;
|
min-width: 80px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,7 @@ $flagsImagePath: "../images/";
|
||||||
@import 'reload_overlay/reload_overlay';
|
@import 'reload_overlay/reload_overlay';
|
||||||
@import 'mini_toolbox';
|
@import 'mini_toolbox';
|
||||||
@import 'modals/desktop-picker/desktop-picker';
|
@import 'modals/desktop-picker/desktop-picker';
|
||||||
|
@import 'modals/device-selection/device-selection';
|
||||||
@import 'modals/dialog';
|
@import 'modals/dialog';
|
||||||
@import 'modals/embed-meeting/embed-meeting';
|
@import 'modals/embed-meeting/embed-meeting';
|
||||||
@import 'modals/feedback/feedback';
|
@import 'modals/feedback/feedback';
|
||||||
|
@ -94,9 +95,3 @@ $flagsImagePath: "../images/";
|
||||||
@import 'notifications';
|
@import 'notifications';
|
||||||
|
|
||||||
/* Modules END */
|
/* Modules END */
|
||||||
|
|
||||||
/* Jeet crew BEGIN */
|
|
||||||
|
|
||||||
@import 'jiti';
|
|
||||||
|
|
||||||
/* Jeet crew END */
|
|
||||||
|
|
|
@ -0,0 +1,148 @@
|
||||||
|
.device-selection {
|
||||||
|
.device-selectors {
|
||||||
|
font-size: 14px;
|
||||||
|
|
||||||
|
> div {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.device-selector-icon {
|
||||||
|
align-self: center;
|
||||||
|
color: inherit;
|
||||||
|
font-size: 20px;
|
||||||
|
margin-left: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.device-selector-label {
|
||||||
|
margin-bottom: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* device-selector-trigger stylings attempt to mimic AtlasKit button */
|
||||||
|
.device-selector-trigger {
|
||||||
|
background-color: #0E1624;
|
||||||
|
border: 1px solid #455166;
|
||||||
|
border-radius: 5px;
|
||||||
|
display: flex;
|
||||||
|
height: 2.3em;
|
||||||
|
justify-content: space-between;
|
||||||
|
line-height: 2.3em;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0 8px;
|
||||||
|
}
|
||||||
|
.device-selector-trigger-disabled {
|
||||||
|
.device-selector-trigger {
|
||||||
|
color: #a5adba;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.device-selector-trigger-text {
|
||||||
|
overflow: hidden;
|
||||||
|
text-align: center;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.device-selection-column {
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: top;
|
||||||
|
|
||||||
|
&.column-selectors {
|
||||||
|
margin-left: 15px;
|
||||||
|
width: 45%;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.column-video {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.device-selection-video-container {
|
||||||
|
border-radius: 3px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
|
||||||
|
.video-input-preview {
|
||||||
|
margin-top: 2px;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
> video {
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.video-input-preview-error {
|
||||||
|
color: $participantNameColor;
|
||||||
|
display: none;
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
text-align: center;
|
||||||
|
top: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.video-preview-has-error {
|
||||||
|
background: black;
|
||||||
|
|
||||||
|
.video-input-preview-error {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.video-input-preview-display {
|
||||||
|
height: auto;
|
||||||
|
overflow: hidden;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.audio-output-preview {
|
||||||
|
font-size: 14px;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #6FB1EA;
|
||||||
|
cursor: pointer;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #B3D4FF;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.audio-input-preview {
|
||||||
|
background: #1B2638;
|
||||||
|
border-radius: 5px;
|
||||||
|
height: 8px;
|
||||||
|
|
||||||
|
.audio-input-preview-level {
|
||||||
|
background: #75B1FF;
|
||||||
|
border-radius: 5px;
|
||||||
|
height: 100%;
|
||||||
|
-webkit-transition: width .1s ease-in-out;
|
||||||
|
-moz-transition: width .1s ease-in-out;
|
||||||
|
-o-transition: width .1s ease-in-out;
|
||||||
|
transition: width .1s ease-in-out;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.device-selection.video-hidden {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.column-selectors {
|
||||||
|
width: 100%;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.column-video {
|
||||||
|
order: 1;
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 8px;
|
||||||
|
}
|
||||||
|
}
|
|
@ -44,3 +44,61 @@
|
||||||
-webkit-animation-timing-function: ease-in-out;
|
-webkit-animation-timing-function: ease-in-out;
|
||||||
animation-timing-function: ease-in-out
|
animation-timing-function: ease-in-out
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.feedback-dialog {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
|
||||||
|
.details {
|
||||||
|
textarea {
|
||||||
|
min-height: 100px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-control {
|
||||||
|
background-color: $feedbackInputBg;
|
||||||
|
color: $feedbackInputTextColor;
|
||||||
|
|
||||||
|
&::-webkit-input-placeholder {
|
||||||
|
color: $feedbackInputPlaceholderColor;
|
||||||
|
}
|
||||||
|
&::-moz-placeholder { /* Firefox 19+ */
|
||||||
|
color: $feedbackInputPlaceholderColor;
|
||||||
|
}
|
||||||
|
&:-ms-input-placeholder {
|
||||||
|
color: $feedbackInputPlaceholderColor;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.rating {
|
||||||
|
line-height: 1.2;
|
||||||
|
margin-top: 10px;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
.star-label {
|
||||||
|
font-size: 14px;
|
||||||
|
height: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.star-btn {
|
||||||
|
color: inherit;
|
||||||
|
cursor: pointer;
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 34px;
|
||||||
|
outline: none;
|
||||||
|
position: relative;
|
||||||
|
text-decoration: none;
|
||||||
|
@include transition(all .2s ease);
|
||||||
|
|
||||||
|
&.active,
|
||||||
|
&:hover,
|
||||||
|
&.starHover {
|
||||||
|
color: #36B37E;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
.star-btn:focus,
|
||||||
|
.star-btn:active {
|
||||||
|
outline: 1px solid #B8C7E0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -50,8 +50,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.dial-in-numbers-list {
|
.dial-in-numbers-list {
|
||||||
max-width: 334px;
|
|
||||||
width: 100%;
|
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
|
@ -61,6 +59,10 @@
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tr {
|
||||||
|
border-bottom: 1px solid #d1dbe8;
|
||||||
|
}
|
||||||
|
|
||||||
.flag-cell {
|
.flag-cell {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
width: 30px;
|
width: 30px;
|
||||||
|
@ -89,7 +91,6 @@
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
text-align: right;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
li.toll-free:empty:before {
|
li.toll-free:empty:before {
|
||||||
|
@ -118,6 +119,11 @@
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dial-in-conference-name,
|
||||||
|
.dial-in-conference-pin {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
.dial-in-conference-description {
|
.dial-in-conference-description {
|
||||||
margin: 12px;
|
margin: 12px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,6 @@
|
||||||
|
|
||||||
.prejoin-input {
|
.prejoin-input {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
& input {
|
& input {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
@ -8,6 +8,7 @@ sounds /usr/share/jitsi-meet/
|
||||||
fonts /usr/share/jitsi-meet/
|
fonts /usr/share/jitsi-meet/
|
||||||
images /usr/share/jitsi-meet/
|
images /usr/share/jitsi-meet/
|
||||||
lang /usr/share/jitsi-meet/
|
lang /usr/share/jitsi-meet/
|
||||||
|
connection_optimization /usr/share/jitsi-meet/
|
||||||
resources/robots.txt /usr/share/jitsi-meet/
|
resources/robots.txt /usr/share/jitsi-meet/
|
||||||
resources/*.sh /usr/share/jitsi-meet/scripts/
|
resources/*.sh /usr/share/jitsi-meet/scripts/
|
||||||
pwa-worker.js /usr/share/jitsi-meet/
|
pwa-worker.js /usr/share/jitsi-meet/
|
||||||
|
|
|
@ -93,7 +93,7 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
# ensure all static content can always be found first
|
# ensure all static content can always be found first
|
||||||
location ~ ^/(libs|css|static|images|fonts|lang|sounds|.well-known)/(.*)$
|
location ~ ^/(libs|css|static|images|fonts|lang|sounds|connection_optimization|.well-known)/(.*)$
|
||||||
{
|
{
|
||||||
add_header 'Access-Control-Allow-Origin' '*';
|
add_header 'Access-Control-Allow-Origin' '*';
|
||||||
alias /usr/share/jitsi-meet/$1/$2;
|
alias /usr/share/jitsi-meet/$1/$2;
|
||||||
|
|
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 18 KiB |
|
@ -182,6 +182,8 @@
|
||||||
'error', loadErrHandler, true /* capture phase type of listener */);
|
'error', loadErrHandler, true /* capture phase type of listener */);
|
||||||
</script>
|
</script>
|
||||||
<script><!--#include virtual="/config.js" --></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
|
<script><!--#include virtual="/config.js" --></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
|
||||||
|
<!--#include virtual="connection_optimization/connection_optimization.html" -->
|
||||||
|
<script src="libs/do_external_connect.min.js?v=1"></script>
|
||||||
<script><!--#include virtual="/interface_config.js" --></script>
|
<script><!--#include virtual="/interface_config.js" --></script>
|
||||||
<script src="libs/lib-jitsi-meet.min.js?v=139"></script>
|
<script src="libs/lib-jitsi-meet.min.js?v=139"></script>
|
||||||
<script src="libs/app.bundle.min.js?v=139"></script>
|
<script src="libs/app.bundle.min.js?v=139"></script>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var interfaceConfig = {
|
var interfaceConfig = {
|
||||||
APP_NAME: 'JitSea 🏴☠️',
|
APP_NAME: 'Jitsi Meet',
|
||||||
AUDIO_LEVEL_PRIMARY_COLOR: 'rgba(255,255,255,0.4)',
|
AUDIO_LEVEL_PRIMARY_COLOR: 'rgba(255,255,255,0.4)',
|
||||||
AUDIO_LEVEL_SECONDARY_COLOR: 'rgba(255,255,255,0.2)',
|
AUDIO_LEVEL_SECONDARY_COLOR: 'rgba(255,255,255,0.2)',
|
||||||
|
|
||||||
|
|
|
@ -389,7 +389,7 @@ PODS:
|
||||||
- react-native-video/Video (6.0.0-alpha.1):
|
- react-native-video/Video (6.0.0-alpha.1):
|
||||||
- PromisesSwift
|
- PromisesSwift
|
||||||
- React-Core
|
- React-Core
|
||||||
- react-native-webrtc (106.0.6):
|
- react-native-webrtc (106.0.5):
|
||||||
- JitsiWebRTC (~> 106.0.0)
|
- JitsiWebRTC (~> 106.0.0)
|
||||||
- React-Core
|
- React-Core
|
||||||
- react-native-webview (11.15.1):
|
- react-native-webview (11.15.1):
|
||||||
|
@ -754,7 +754,7 @@ SPEC CHECKSUMS:
|
||||||
react-native-slider: 6e9b86e76cce4b9e35b3403193a6432ed07e0c81
|
react-native-slider: 6e9b86e76cce4b9e35b3403193a6432ed07e0c81
|
||||||
react-native-splash-screen: 4312f786b13a81b5169ef346d76d33bc0c6dc457
|
react-native-splash-screen: 4312f786b13a81b5169ef346d76d33bc0c6dc457
|
||||||
react-native-video: bb6f12a7198db53b261fefb5d609dc77417acc8b
|
react-native-video: bb6f12a7198db53b261fefb5d609dc77417acc8b
|
||||||
react-native-webrtc: 22ac6c64a1e38552bb173dde81ffea6979a58ef3
|
react-native-webrtc: ef315d8adb68e78298b22100377d12ef168efdb5
|
||||||
react-native-webview: ea4899a1056c782afa96dd082179a66cbebf5504
|
react-native-webview: ea4899a1056c782afa96dd082179a66cbebf5504
|
||||||
React-perflogger: 0458a87ea9a7342079e7a31b0d32b3734fb8415f
|
React-perflogger: 0458a87ea9a7342079e7a31b0d32b3734fb8415f
|
||||||
React-RCTActionSheet: 22538001ea2926dea001111dd2846c13a0730bc9
|
React-RCTActionSheet: 22538001ea2926dea001111dd2846c13a0730bc9
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
"cs": "Čeština",
|
"cs": "Čeština",
|
||||||
"da": "Dansk",
|
"da": "Dansk",
|
||||||
"de": "Deutsch",
|
"de": "Deutsch",
|
||||||
"dsb": "Dolnoserbšćina",
|
|
||||||
"el": "Ελληνικά",
|
"el": "Ελληνικά",
|
||||||
"en": "English",
|
"en": "English",
|
||||||
"enGB": "English (United Kingdom)",
|
"enGB": "English (United Kingdom)",
|
||||||
|
|
|
@ -184,21 +184,13 @@
|
||||||
"deepLinking": {
|
"deepLinking": {
|
||||||
"appNotInstalled": "Sie benötigen die „{{app}}“-App, um der Konferenz auf dem Smartphone beizutreten.",
|
"appNotInstalled": "Sie benötigen die „{{app}}“-App, um der Konferenz auf dem Smartphone beizutreten.",
|
||||||
"description": "Nichts passiert? Wir haben versucht, die Konferenz in {{app}} zu öffnen. Versuchen Sie es erneut oder treten Sie der Konferenz in {{app}} im Web bei.",
|
"description": "Nichts passiert? Wir haben versucht, die Konferenz in {{app}} zu öffnen. Versuchen Sie es erneut oder treten Sie der Konferenz in {{app}} im Web bei.",
|
||||||
"descriptionNew": "Nichts passiert? Wir haben versucht, die Konferenz in {{app}} zu öffnen. <br /><br /> Versuchen Sie es erneut oder treten Sie der Konferenz im Web bei.",
|
|
||||||
"descriptionWithoutWeb": "Ist nichts passiert? Wir haben versucht, Ihre Besprechung in der „{{app}}“-Desktop-App zu starten.",
|
"descriptionWithoutWeb": "Ist nichts passiert? Wir haben versucht, Ihre Besprechung in der „{{app}}“-Desktop-App zu starten.",
|
||||||
"downloadApp": "App herunterladen",
|
"downloadApp": "App herunterladen",
|
||||||
"downloadMobileApp": "Aus dem App Store herunterladen",
|
|
||||||
"ifDoNotHaveApp": "Wenn Sie die App noch nicht haben:",
|
"ifDoNotHaveApp": "Wenn Sie die App noch nicht haben:",
|
||||||
"ifHaveApp": "Wenn Sie die App bereits haben:",
|
"ifHaveApp": "Wenn Sie die App bereits haben:",
|
||||||
"joinInApp": "Mit der App am Meeting teilnehmen",
|
"joinInApp": "Mit der App am Meeting teilnehmen",
|
||||||
"joinInAppNew": "Mit der App",
|
|
||||||
"joinInBrowser": "Im Browser",
|
|
||||||
"launchMeetingLabel": "Wie möchten Sie an der Konferenz teilnehmen?",
|
|
||||||
"launchWebButton": "Im Web öffnen",
|
"launchWebButton": "Im Web öffnen",
|
||||||
"noMobileApp": "Sie haben die App noch nicht installiert?",
|
|
||||||
"termsAndConditions": "Indem Sie fortfahren, stimmen Sie underen<a href='{{termsAndConditionsLink}}' rel='noopener noreferrer' target='_blank'>Nutzungsbedingungen</a> zu.",
|
|
||||||
"title": "Die Konferenz wird in {{app}} geöffnet …",
|
"title": "Die Konferenz wird in {{app}} geöffnet …",
|
||||||
"titleNew": "Konferenz starten ...",
|
|
||||||
"tryAgainButton": "Erneut mit der nativen Applikation versuchen",
|
"tryAgainButton": "Erneut mit der nativen Applikation versuchen",
|
||||||
"unsupportedBrowser": "Sie verwenden einen Browser, der noch nicht unterstützt wird."
|
"unsupportedBrowser": "Sie verwenden einen Browser, der noch nicht unterstützt wird."
|
||||||
},
|
},
|
||||||
|
@ -211,12 +203,6 @@
|
||||||
"microphonePermission": "Fehler beim Bezug der Mikrofon-Zugriffsberechtigungen"
|
"microphonePermission": "Fehler beim Bezug der Mikrofon-Zugriffsberechtigungen"
|
||||||
},
|
},
|
||||||
"deviceSelection": {
|
"deviceSelection": {
|
||||||
"hid": {
|
|
||||||
"callControl": "Anrufsteuerung",
|
|
||||||
"connectedDevices": "Verbundene Geräte:",
|
|
||||||
"deleteDevice": "Gerät löschen",
|
|
||||||
"pairDevice": "Gerät verbinden"
|
|
||||||
},
|
|
||||||
"noPermission": "Berechtigungen nicht erteilt",
|
"noPermission": "Berechtigungen nicht erteilt",
|
||||||
"previewUnavailable": "Keine Vorschau verfügbar",
|
"previewUnavailable": "Keine Vorschau verfügbar",
|
||||||
"selectADevice": "Ein Gerät wählen",
|
"selectADevice": "Ein Gerät wählen",
|
||||||
|
@ -240,9 +226,7 @@
|
||||||
"WaitingForHostTitle": "Warten auf den Beginn der Konferenz …",
|
"WaitingForHostTitle": "Warten auf den Beginn der Konferenz …",
|
||||||
"Yes": "Ja",
|
"Yes": "Ja",
|
||||||
"accessibilityLabel": {
|
"accessibilityLabel": {
|
||||||
"close": "Popup schließen",
|
"liveStreaming": "Livestream"
|
||||||
"liveStreaming": "Livestream",
|
|
||||||
"sharingTabs": "Optionen zum Teilen"
|
|
||||||
},
|
},
|
||||||
"add": "Hinzufügen",
|
"add": "Hinzufügen",
|
||||||
"addMeetingNote": "Notiz zu dieser Konferenz hinzufügen",
|
"addMeetingNote": "Notiz zu dieser Konferenz hinzufügen",
|
||||||
|
@ -454,11 +438,6 @@
|
||||||
"veryBad": "Sehr schlecht",
|
"veryBad": "Sehr schlecht",
|
||||||
"veryGood": "Sehr gut"
|
"veryGood": "Sehr gut"
|
||||||
},
|
},
|
||||||
"filmstrip": {
|
|
||||||
"accessibilityLabel": {
|
|
||||||
"heading": "Videominiaturen"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"giphy": {
|
"giphy": {
|
||||||
"noResults": "Keine Ergebnisse :(",
|
"noResults": "Keine Ergebnisse :(",
|
||||||
"search": "GIPHY durchsuchen"
|
"search": "GIPHY durchsuchen"
|
||||||
|
@ -772,7 +751,6 @@
|
||||||
"headings": {
|
"headings": {
|
||||||
"lobby": "Lobby ({{count}})",
|
"lobby": "Lobby ({{count}})",
|
||||||
"participantsList": "Anwesende ({{count}})",
|
"participantsList": "Anwesende ({{count}})",
|
||||||
"visitors": "Gäste ({{count}})",
|
|
||||||
"waitingLobby": "In der Lobby ({{count}})"
|
"waitingLobby": "In der Lobby ({{count}})"
|
||||||
},
|
},
|
||||||
"search": "Suche Anwesende",
|
"search": "Suche Anwesende",
|
||||||
|
@ -780,7 +758,6 @@
|
||||||
},
|
},
|
||||||
"passwordDigitsOnly": "Bis zu {{number}} Ziffern",
|
"passwordDigitsOnly": "Bis zu {{number}} Ziffern",
|
||||||
"passwordSetRemotely": "von einer anderen Person gesetzt",
|
"passwordSetRemotely": "von einer anderen Person gesetzt",
|
||||||
"pinParticipant": "{{participantName}} - anheften",
|
|
||||||
"pinnedParticipant": "Die Person ist angeheftet",
|
"pinnedParticipant": "Die Person ist angeheftet",
|
||||||
"polls": {
|
"polls": {
|
||||||
"answer": {
|
"answer": {
|
||||||
|
@ -973,7 +950,6 @@
|
||||||
"title": "Sicherheitsoptionen"
|
"title": "Sicherheitsoptionen"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"audio": "Audio",
|
|
||||||
"buttonLabel": "Einstellungen",
|
"buttonLabel": "Einstellungen",
|
||||||
"calendar": {
|
"calendar": {
|
||||||
"about": "Die Kalenderintegration von {{appName}} wird verwendet, um ein sicheres Zugreifen auf Ihren Kalender und Auslesen der bevorstehenden Termine zu ermöglichen.",
|
"about": "Die Kalenderintegration von {{appName}} wird verwendet, um ein sicheres Zugreifen auf Ihren Kalender und Auslesen der bevorstehenden Termine zu ermöglichen.",
|
||||||
|
@ -994,11 +970,9 @@
|
||||||
"maxStageParticipants": "Maximale Anzahl an Personen, die zur Hauptansicht angeheftet werden können",
|
"maxStageParticipants": "Maximale Anzahl an Personen, die zur Hauptansicht angeheftet werden können",
|
||||||
"microphones": "Mikrofon",
|
"microphones": "Mikrofon",
|
||||||
"moderator": "Moderation",
|
"moderator": "Moderation",
|
||||||
"moderatorOptions": "Moderationseinstellungen",
|
|
||||||
"more": "Mehr",
|
"more": "Mehr",
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
"noDevice": "Kein",
|
"noDevice": "Kein",
|
||||||
"notifications": "Benachrichtigungen",
|
|
||||||
"participantJoined": "Neue Person nimmt teil",
|
"participantJoined": "Neue Person nimmt teil",
|
||||||
"participantKnocking": "Person hat Lobby betreten",
|
"participantKnocking": "Person hat Lobby betreten",
|
||||||
"participantLeft": "Person verlässt die Konferenz",
|
"participantLeft": "Person verlässt die Konferenz",
|
||||||
|
@ -1009,14 +983,13 @@
|
||||||
"selectCamera": "Kamera",
|
"selectCamera": "Kamera",
|
||||||
"selectMic": "Mikrofon",
|
"selectMic": "Mikrofon",
|
||||||
"selfView": "Eigene Ansicht",
|
"selfView": "Eigene Ansicht",
|
||||||
"shortcuts": "Tastaturkürzel",
|
"sounds": "Hinweistöne",
|
||||||
"speakers": "Lautsprecher",
|
"speakers": "Lautsprecher",
|
||||||
"startAudioMuted": "Alle Personen treten stummgeschaltet bei",
|
"startAudioMuted": "Alle Personen treten stummgeschaltet bei",
|
||||||
"startReactionsMuted": "Interaktionstöne für alle deaktivieren",
|
"startReactionsMuted": "Interaktionstöne für alle deaktivieren",
|
||||||
"startVideoMuted": "Alle Personen treten ohne Video bei",
|
"startVideoMuted": "Alle Personen treten ohne Video bei",
|
||||||
"talkWhileMuted": "Wenn bei Stummschaltung gesprochen wird",
|
"talkWhileMuted": "Wenn bei Stummschaltung gesprochen wird",
|
||||||
"title": "Einstellungen",
|
"title": "Einstellungen"
|
||||||
"video": "Kamera"
|
|
||||||
},
|
},
|
||||||
"settingsView": {
|
"settingsView": {
|
||||||
"advanced": "Erweitert",
|
"advanced": "Erweitert",
|
||||||
|
@ -1108,7 +1081,6 @@
|
||||||
"giphy": "GIPHY ein-/ausschalten",
|
"giphy": "GIPHY ein-/ausschalten",
|
||||||
"grantModerator": "Moderationsrechte vergeben",
|
"grantModerator": "Moderationsrechte vergeben",
|
||||||
"hangup": "Konferenz verlassen",
|
"hangup": "Konferenz verlassen",
|
||||||
"heading": "Toolbar",
|
|
||||||
"help": "Hilfe",
|
"help": "Hilfe",
|
||||||
"invite": "Person einladen",
|
"invite": "Person einladen",
|
||||||
"kick": "Person entfernen",
|
"kick": "Person entfernen",
|
||||||
|
@ -1175,7 +1147,6 @@
|
||||||
"download": "Unsere Apps herunterladen",
|
"download": "Unsere Apps herunterladen",
|
||||||
"e2ee": "Ende-zu-Ende-Verschlüsselung",
|
"e2ee": "Ende-zu-Ende-Verschlüsselung",
|
||||||
"embedMeeting": "Konferenz einbetten",
|
"embedMeeting": "Konferenz einbetten",
|
||||||
"enableNoiseSuppression": "Rauschunterdrückung einschalten",
|
|
||||||
"endConference": "Konferenz für alle beenden",
|
"endConference": "Konferenz für alle beenden",
|
||||||
"enterFullScreen": "Vollbildmodus",
|
"enterFullScreen": "Vollbildmodus",
|
||||||
"enterTileView": "Kachelansicht einschalten",
|
"enterTileView": "Kachelansicht einschalten",
|
||||||
|
@ -1263,7 +1234,6 @@
|
||||||
"subtitlesOff": "Ausschalten",
|
"subtitlesOff": "Ausschalten",
|
||||||
"tr": "TR"
|
"tr": "TR"
|
||||||
},
|
},
|
||||||
"unpinParticipant": "{{participantName}} - Nicht mehr anheften",
|
|
||||||
"userMedia": {
|
"userMedia": {
|
||||||
"androidGrantPermissions": "Wählen Sie <b><i>Zulassen</i></b>, wenn der Browser um Berechtigungen bittet.",
|
"androidGrantPermissions": "Wählen Sie <b><i>Zulassen</i></b>, wenn der Browser um Berechtigungen bittet.",
|
||||||
"chromeGrantPermissions": "Wählen Sie <b><i>Zulassen</i></b>, wenn der Browser um Berechtigungen bittet.",
|
"chromeGrantPermissions": "Wählen Sie <b><i>Zulassen</i></b>, wenn der Browser um Berechtigungen bittet.",
|
||||||
|
@ -1302,11 +1272,9 @@
|
||||||
"ldTooltip": "Video wird in niedriger Auflösung angezeigt",
|
"ldTooltip": "Video wird in niedriger Auflösung angezeigt",
|
||||||
"lowDefinition": "Niedrige Auflösung",
|
"lowDefinition": "Niedrige Auflösung",
|
||||||
"performanceSettings": "Qualitätseinstellungen",
|
"performanceSettings": "Qualitätseinstellungen",
|
||||||
"recording": "Aufnahme läuft",
|
|
||||||
"sd": "SD",
|
"sd": "SD",
|
||||||
"sdTooltip": "Video wird in Standardauflösung angezeigt",
|
"sdTooltip": "Video wird in Standardauflösung angezeigt",
|
||||||
"standardDefinition": "Standardauflösung",
|
"standardDefinition": "Standardauflösung"
|
||||||
"streaming": "Streaming läuft"
|
|
||||||
},
|
},
|
||||||
"videothumbnail": {
|
"videothumbnail": {
|
||||||
"connectionInfo": "Verbindungsinformationen",
|
"connectionInfo": "Verbindungsinformationen",
|
||||||
|
@ -1356,7 +1324,6 @@
|
||||||
"webAssemblyWarning": "WebAssembly wird nicht unterstützt",
|
"webAssemblyWarning": "WebAssembly wird nicht unterstützt",
|
||||||
"webAssemblyWarningDescription": "WebAssembly ist deaktiviert oder wird in diesem Browser nicht unterstützt"
|
"webAssemblyWarningDescription": "WebAssembly ist deaktiviert oder wird in diesem Browser nicht unterstützt"
|
||||||
},
|
},
|
||||||
"visitorsLabel": "Anzahl Gäste: {{count}}",
|
|
||||||
"volumeSlider": "Lautstärkeregler",
|
"volumeSlider": "Lautstärkeregler",
|
||||||
"welcomepage": {
|
"welcomepage": {
|
||||||
"accessibilityLabel": {
|
"accessibilityLabel": {
|
||||||
|
@ -1389,7 +1356,6 @@
|
||||||
"microsoftLogo": "Microsoft Logo",
|
"microsoftLogo": "Microsoft Logo",
|
||||||
"policyLogo": "Richtlinienlogo"
|
"policyLogo": "Richtlinienlogo"
|
||||||
},
|
},
|
||||||
"meetingsAccessibilityLabel": "Konferenzen",
|
|
||||||
"mobileDownLoadLinkAndroid": "Android App Download",
|
"mobileDownLoadLinkAndroid": "Android App Download",
|
||||||
"mobileDownLoadLinkFDroid": "F-Droid App Download",
|
"mobileDownLoadLinkFDroid": "F-Droid App Download",
|
||||||
"mobileDownLoadLinkIos": "iOS App Download",
|
"mobileDownLoadLinkIos": "iOS App Download",
|
||||||
|
@ -1409,10 +1375,5 @@
|
||||||
"terms": "AGB",
|
"terms": "AGB",
|
||||||
"title": "Sichere, voll funktionale und komplett kostenlose Videokonferenzen",
|
"title": "Sichere, voll funktionale und komplett kostenlose Videokonferenzen",
|
||||||
"upcomingMeetings": "Ihre zukünftigen Konferenzen"
|
"upcomingMeetings": "Ihre zukünftigen Konferenzen"
|
||||||
},
|
|
||||||
"whiteboard": {
|
|
||||||
"accessibilityLabel": {
|
|
||||||
"heading": "Whiteboard"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1379
lang/main-dsb.json
|
@ -838,7 +838,7 @@
|
||||||
"selectCamera": "Cámara",
|
"selectCamera": "Cámara",
|
||||||
"selectMic": "Micrófono",
|
"selectMic": "Micrófono",
|
||||||
"sounds": "Sonidos",
|
"sounds": "Sonidos",
|
||||||
"speakers": "Altavoces",
|
"speakers": "Parlantes",
|
||||||
"startAudioMuted": "Todos inician silenciados",
|
"startAudioMuted": "Todos inician silenciados",
|
||||||
"startVideoMuted": "Todos inician con cámara desactivada",
|
"startVideoMuted": "Todos inician con cámara desactivada",
|
||||||
"talkWhileMuted": "Hablar en silencio",
|
"talkWhileMuted": "Hablar en silencio",
|
||||||
|
|
|
@ -184,21 +184,13 @@
|
||||||
"deepLinking": {
|
"deepLinking": {
|
||||||
"appNotInstalled": "You need the {{app}} mobile app to join this meeting on your phone.",
|
"appNotInstalled": "You need the {{app}} mobile app to join this meeting on your phone.",
|
||||||
"description": "Nothing happened? We tried launching your meeting in the {{app}} desktop app. Try again or launch it in the {{app}} web app.",
|
"description": "Nothing happened? We tried launching your meeting in the {{app}} desktop app. Try again or launch it in the {{app}} web app.",
|
||||||
"descriptionNew": "Nothing happened? We tried launching your meeting in the {{app}} desktop app. <br /><br /> You can try again or launch it on web.",
|
|
||||||
"descriptionWithoutWeb": "Nothing happened? We tried launching your meeting in the {{app}} desktop app.",
|
"descriptionWithoutWeb": "Nothing happened? We tried launching your meeting in the {{app}} desktop app.",
|
||||||
"downloadApp": "Download the app",
|
"downloadApp": "Download the app",
|
||||||
"downloadMobileApp": "Download from App Store",
|
|
||||||
"ifDoNotHaveApp": "If you don't have the app yet:",
|
"ifDoNotHaveApp": "If you don't have the app yet:",
|
||||||
"ifHaveApp": "If you already have the app:",
|
"ifHaveApp": "If you already have the app:",
|
||||||
"joinInApp": "Join this meeting using the app",
|
"joinInApp": "Join this meeting using the app",
|
||||||
"joinInAppNew": "Join in app",
|
|
||||||
"joinInBrowser": "Join in browser",
|
|
||||||
"launchMeetingLabel": "How do you want to join this meeting?",
|
|
||||||
"launchWebButton": "Launch in web",
|
"launchWebButton": "Launch in web",
|
||||||
"noMobileApp": "You don’t have the app?",
|
|
||||||
"termsAndConditions": "By continuing you agree to our <a href='{{termsAndConditionsLink}}' rel='noopener noreferrer' target='_blank'>terms & conditions.</a>",
|
|
||||||
"title": "Launching your meeting in {{app}}...",
|
"title": "Launching your meeting in {{app}}...",
|
||||||
"titleNew": "Launching your meeting ...",
|
|
||||||
"tryAgainButton": "Try again in desktop",
|
"tryAgainButton": "Try again in desktop",
|
||||||
"unsupportedBrowser": "It looks like you're using a browser we don't support."
|
"unsupportedBrowser": "It looks like you're using a browser we don't support."
|
||||||
},
|
},
|
||||||
|
@ -211,16 +203,10 @@
|
||||||
"microphonePermission": "Error obtaining microphone permission"
|
"microphonePermission": "Error obtaining microphone permission"
|
||||||
},
|
},
|
||||||
"deviceSelection": {
|
"deviceSelection": {
|
||||||
"hid": {
|
|
||||||
"callControl": "Call control",
|
|
||||||
"connectedDevices": "Connected devices:",
|
|
||||||
"deleteDevice": "Delete device",
|
|
||||||
"pairDevice": "Pair device"
|
|
||||||
},
|
|
||||||
"noPermission": "Permission not granted",
|
"noPermission": "Permission not granted",
|
||||||
"previewUnavailable": "Preview unavailable",
|
"previewUnavailable": "Preview unavailable",
|
||||||
"selectADevice": "Select a device",
|
"selectADevice": "Select a device",
|
||||||
"testAudio": "Test"
|
"testAudio": "Play a test sound"
|
||||||
},
|
},
|
||||||
"dialIn": {
|
"dialIn": {
|
||||||
"screenTitle": "Dial-in summary"
|
"screenTitle": "Dial-in summary"
|
||||||
|
@ -240,9 +226,7 @@
|
||||||
"WaitingForHostTitle": "Waiting for the host ...",
|
"WaitingForHostTitle": "Waiting for the host ...",
|
||||||
"Yes": "Yes",
|
"Yes": "Yes",
|
||||||
"accessibilityLabel": {
|
"accessibilityLabel": {
|
||||||
"close": "Close dialog",
|
"liveStreaming": "Live Stream"
|
||||||
"liveStreaming": "Live Stream",
|
|
||||||
"sharingTabs": "Sharing options"
|
|
||||||
},
|
},
|
||||||
"add": "Add",
|
"add": "Add",
|
||||||
"addMeetingNote": "Add a note about this meeting",
|
"addMeetingNote": "Add a note about this meeting",
|
||||||
|
@ -454,11 +438,6 @@
|
||||||
"veryBad": "Very Bad",
|
"veryBad": "Very Bad",
|
||||||
"veryGood": "Very Good"
|
"veryGood": "Very Good"
|
||||||
},
|
},
|
||||||
"filmstrip": {
|
|
||||||
"accessibilityLabel": {
|
|
||||||
"heading": "Video thumbnails"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"giphy": {
|
"giphy": {
|
||||||
"noResults": "No results found :(",
|
"noResults": "No results found :(",
|
||||||
"search": "Search GIPHY"
|
"search": "Search GIPHY"
|
||||||
|
@ -772,7 +751,6 @@
|
||||||
"headings": {
|
"headings": {
|
||||||
"lobby": "Lobby ({{count}})",
|
"lobby": "Lobby ({{count}})",
|
||||||
"participantsList": "Meeting participants ({{count}})",
|
"participantsList": "Meeting participants ({{count}})",
|
||||||
"visitors": "Visitors ({{count}})",
|
|
||||||
"waitingLobby": "Waiting in lobby ({{count}})"
|
"waitingLobby": "Waiting in lobby ({{count}})"
|
||||||
},
|
},
|
||||||
"search": "Search participants",
|
"search": "Search participants",
|
||||||
|
@ -780,7 +758,6 @@
|
||||||
},
|
},
|
||||||
"passwordDigitsOnly": "Up to {{number}} digits",
|
"passwordDigitsOnly": "Up to {{number}} digits",
|
||||||
"passwordSetRemotely": "Set by another participant",
|
"passwordSetRemotely": "Set by another participant",
|
||||||
"pinParticipant": "{{participantName}} - Pin",
|
|
||||||
"pinnedParticipant": "The participant is pinned",
|
"pinnedParticipant": "The participant is pinned",
|
||||||
"polls": {
|
"polls": {
|
||||||
"answer": {
|
"answer": {
|
||||||
|
@ -888,9 +865,9 @@
|
||||||
},
|
},
|
||||||
"profile": {
|
"profile": {
|
||||||
"avatar": "avatar",
|
"avatar": "avatar",
|
||||||
"setDisplayNameLabel": "Name",
|
"setDisplayNameLabel": "Set your display name",
|
||||||
"setEmailInput": "Enter email",
|
"setEmailInput": "Enter email",
|
||||||
"setEmailLabel": "Gravatar email",
|
"setEmailLabel": "Set your gravatar email",
|
||||||
"title": "Profile"
|
"title": "Profile"
|
||||||
},
|
},
|
||||||
"raisedHand": "Would like to speak",
|
"raisedHand": "Would like to speak",
|
||||||
|
@ -973,7 +950,6 @@
|
||||||
"title": "Security Options"
|
"title": "Security Options"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"audio": "Audio",
|
|
||||||
"buttonLabel": "Settings",
|
"buttonLabel": "Settings",
|
||||||
"calendar": {
|
"calendar": {
|
||||||
"about": "The {{appName}} calendar integration is used to securely access your calendar so it can read upcoming events.",
|
"about": "The {{appName}} calendar integration is used to securely access your calendar so it can read upcoming events.",
|
||||||
|
@ -994,11 +970,9 @@
|
||||||
"maxStageParticipants": "Maximum number of participants who can be pinned to the main stage (EXPERIMENTAL)",
|
"maxStageParticipants": "Maximum number of participants who can be pinned to the main stage (EXPERIMENTAL)",
|
||||||
"microphones": "Microphones",
|
"microphones": "Microphones",
|
||||||
"moderator": "Moderator",
|
"moderator": "Moderator",
|
||||||
"moderatorOptions": "Moderator options",
|
"more": "More",
|
||||||
"more": "General",
|
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
"noDevice": "None",
|
"noDevice": "None",
|
||||||
"notifications": "Notifications",
|
|
||||||
"participantJoined": "Participant Joined",
|
"participantJoined": "Participant Joined",
|
||||||
"participantKnocking": "Participant entered lobby",
|
"participantKnocking": "Participant entered lobby",
|
||||||
"participantLeft": "Participant Left",
|
"participantLeft": "Participant Left",
|
||||||
|
@ -1009,14 +983,13 @@
|
||||||
"selectCamera": "Camera",
|
"selectCamera": "Camera",
|
||||||
"selectMic": "Microphone",
|
"selectMic": "Microphone",
|
||||||
"selfView": "Self view",
|
"selfView": "Self view",
|
||||||
"shortcuts": "Shortcuts",
|
"sounds": "Sounds",
|
||||||
"speakers": "Speakers",
|
"speakers": "Speakers",
|
||||||
"startAudioMuted": "Everyone starts muted",
|
"startAudioMuted": "Everyone starts muted",
|
||||||
"startReactionsMuted": "Mute reaction sounds for everyone",
|
"startReactionsMuted": "Mute reaction sounds for everyone",
|
||||||
"startVideoMuted": "Everyone starts hidden",
|
"startVideoMuted": "Everyone starts hidden",
|
||||||
"talkWhileMuted": "Talk while muted",
|
"talkWhileMuted": "Talk while muted",
|
||||||
"title": "Settings",
|
"title": "Settings"
|
||||||
"video": "Video"
|
|
||||||
},
|
},
|
||||||
"settingsView": {
|
"settingsView": {
|
||||||
"advanced": "Advanced",
|
"advanced": "Advanced",
|
||||||
|
@ -1108,7 +1081,6 @@
|
||||||
"giphy": "Toggle GIPHY menu",
|
"giphy": "Toggle GIPHY menu",
|
||||||
"grantModerator": "Grant Moderator Rights",
|
"grantModerator": "Grant Moderator Rights",
|
||||||
"hangup": "Leave the meeting",
|
"hangup": "Leave the meeting",
|
||||||
"heading": "Toolbar",
|
|
||||||
"help": "Help",
|
"help": "Help",
|
||||||
"invite": "Invite people",
|
"invite": "Invite people",
|
||||||
"kick": "Kick participant",
|
"kick": "Kick participant",
|
||||||
|
@ -1175,7 +1147,6 @@
|
||||||
"download": "Download our apps",
|
"download": "Download our apps",
|
||||||
"e2ee": "End-to-End Encryption",
|
"e2ee": "End-to-End Encryption",
|
||||||
"embedMeeting": "Embed meeting",
|
"embedMeeting": "Embed meeting",
|
||||||
"enableNoiseSuppression": "Enable noise suppression",
|
|
||||||
"endConference": "End meeting for all",
|
"endConference": "End meeting for all",
|
||||||
"enterFullScreen": "View full screen",
|
"enterFullScreen": "View full screen",
|
||||||
"enterTileView": "Enter tile view",
|
"enterTileView": "Enter tile view",
|
||||||
|
@ -1263,7 +1234,6 @@
|
||||||
"subtitlesOff": "Off",
|
"subtitlesOff": "Off",
|
||||||
"tr": "TR"
|
"tr": "TR"
|
||||||
},
|
},
|
||||||
"unpinParticipant": "{{participantName}} - Unpin",
|
|
||||||
"userMedia": {
|
"userMedia": {
|
||||||
"androidGrantPermissions": "Select <b><i>Allow</i></b> when your browser asks for permissions.",
|
"androidGrantPermissions": "Select <b><i>Allow</i></b> when your browser asks for permissions.",
|
||||||
"chromeGrantPermissions": "Select <b><i>Allow</i></b> when your browser asks for permissions.",
|
"chromeGrantPermissions": "Select <b><i>Allow</i></b> when your browser asks for permissions.",
|
||||||
|
@ -1302,11 +1272,9 @@
|
||||||
"ldTooltip": "Viewing low definition video",
|
"ldTooltip": "Viewing low definition video",
|
||||||
"lowDefinition": "Low definition",
|
"lowDefinition": "Low definition",
|
||||||
"performanceSettings": "Performance settings",
|
"performanceSettings": "Performance settings",
|
||||||
"recording": "Recording in progress",
|
|
||||||
"sd": "SD",
|
"sd": "SD",
|
||||||
"sdTooltip": "Viewing standard definition video",
|
"sdTooltip": "Viewing standard definition video",
|
||||||
"standardDefinition": "Standard definition",
|
"standardDefinition": "Standard definition"
|
||||||
"streaming": "Streaming in progress"
|
|
||||||
},
|
},
|
||||||
"videothumbnail": {
|
"videothumbnail": {
|
||||||
"connectionInfo": "Connection Info",
|
"connectionInfo": "Connection Info",
|
||||||
|
@ -1350,13 +1318,12 @@
|
||||||
"none": "None",
|
"none": "None",
|
||||||
"pleaseWait": "Please wait...",
|
"pleaseWait": "Please wait...",
|
||||||
"removeBackground": "Remove background",
|
"removeBackground": "Remove background",
|
||||||
"slightBlur": "Half Blur",
|
"slightBlur": "Slight Blur",
|
||||||
"title": "Virtual backgrounds",
|
"title": "Virtual backgrounds",
|
||||||
"uploadedImage": "Uploaded image {{index}}",
|
"uploadedImage": "Uploaded image {{index}}",
|
||||||
"webAssemblyWarning": "WebAssembly not supported",
|
"webAssemblyWarning": "WebAssembly not supported",
|
||||||
"webAssemblyWarningDescription": "WebAssembly disabled or not supported by this browser"
|
"webAssemblyWarningDescription": "WebAssembly disabled or not supported by this browser"
|
||||||
},
|
},
|
||||||
"visitorsLabel": "Number of visitors: {{count}}",
|
|
||||||
"volumeSlider": "Volume slider",
|
"volumeSlider": "Volume slider",
|
||||||
"welcomepage": {
|
"welcomepage": {
|
||||||
"accessibilityLabel": {
|
"accessibilityLabel": {
|
||||||
|
@ -1389,7 +1356,6 @@
|
||||||
"microsoftLogo": "Microsoft logo",
|
"microsoftLogo": "Microsoft logo",
|
||||||
"policyLogo": "Policy logo"
|
"policyLogo": "Policy logo"
|
||||||
},
|
},
|
||||||
"meetingsAccessibilityLabel": "Meetings",
|
|
||||||
"mobileDownLoadLinkAndroid": "Download mobile app for Android",
|
"mobileDownLoadLinkAndroid": "Download mobile app for Android",
|
||||||
"mobileDownLoadLinkFDroid": "Download mobile app for F-Droid",
|
"mobileDownLoadLinkFDroid": "Download mobile app for F-Droid",
|
||||||
"mobileDownLoadLinkIos": "Download mobile app for iOS",
|
"mobileDownLoadLinkIos": "Download mobile app for iOS",
|
||||||
|
@ -1409,10 +1375,5 @@
|
||||||
"terms": "Terms",
|
"terms": "Terms",
|
||||||
"title": "Secure, fully featured, and completely free video conferencing",
|
"title": "Secure, fully featured, and completely free video conferencing",
|
||||||
"upcomingMeetings": "Your upcoming meetings"
|
"upcomingMeetings": "Your upcoming meetings"
|
||||||
},
|
|
||||||
"whiteboard": {
|
|
||||||
"accessibilityLabel": {
|
|
||||||
"heading": "Whiteboard"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,8 +106,6 @@ import { startAudioScreenShareFlow, startScreenShareFlow } from '../../react/fea
|
||||||
import { isScreenAudioSupported } from '../../react/features/screen-share/functions';
|
import { isScreenAudioSupported } from '../../react/features/screen-share/functions';
|
||||||
import { toggleScreenshotCaptureSummary } from '../../react/features/screenshot-capture';
|
import { toggleScreenshotCaptureSummary } from '../../react/features/screenshot-capture';
|
||||||
import { isScreenshotCaptureEnabled } from '../../react/features/screenshot-capture/functions';
|
import { isScreenshotCaptureEnabled } from '../../react/features/screenshot-capture/functions';
|
||||||
import SettingsDialog from '../../react/features/settings/components/web/SettingsDialog';
|
|
||||||
import { SETTINGS_TABS } from '../../react/features/settings/constants';
|
|
||||||
import { playSharedVideo, stopSharedVideo } from '../../react/features/shared-video/actions.any';
|
import { playSharedVideo, stopSharedVideo } from '../../react/features/shared-video/actions.any';
|
||||||
import { extractYoutubeIdOrURL } from '../../react/features/shared-video/functions';
|
import { extractYoutubeIdOrURL } from '../../react/features/shared-video/functions';
|
||||||
import { setRequestingSubtitles, toggleRequestingSubtitles } from '../../react/features/subtitles/actions';
|
import { setRequestingSubtitles, toggleRequestingSubtitles } from '../../react/features/subtitles/actions';
|
||||||
|
@ -115,6 +113,7 @@ import { isAudioMuteButtonDisabled } from '../../react/features/toolbox/function
|
||||||
import { setTileView, toggleTileView } from '../../react/features/video-layout';
|
import { setTileView, toggleTileView } from '../../react/features/video-layout';
|
||||||
import { muteAllParticipants } from '../../react/features/video-menu/actions';
|
import { muteAllParticipants } from '../../react/features/video-menu/actions';
|
||||||
import { setVideoQuality } from '../../react/features/video-quality';
|
import { setVideoQuality } from '../../react/features/video-quality';
|
||||||
|
import VirtualBackgroundDialog from '../../react/features/virtual-background/components/VirtualBackgroundDialog';
|
||||||
import { getJitsiMeetTransport } from '../transport';
|
import { getJitsiMeetTransport } from '../transport';
|
||||||
|
|
||||||
import { API_ID, ENDPOINT_TEXT_MESSAGE_NAME } from './constants';
|
import { API_ID, ENDPOINT_TEXT_MESSAGE_NAME } from './constants';
|
||||||
|
@ -799,8 +798,7 @@ function initCommands() {
|
||||||
APP.store.dispatch(overwriteConfig(whitelistedConfig));
|
APP.store.dispatch(overwriteConfig(whitelistedConfig));
|
||||||
},
|
},
|
||||||
'toggle-virtual-background': () => {
|
'toggle-virtual-background': () => {
|
||||||
APP.store.dispatch(toggleDialog(SettingsDialog, {
|
APP.store.dispatch(toggleDialog(VirtualBackgroundDialog));
|
||||||
defaultTab: SETTINGS_TABS.VIRTUAL_BACKGROUND }));
|
|
||||||
},
|
},
|
||||||
'end-conference': () => {
|
'end-conference': () => {
|
||||||
APP.store.dispatch(endConference());
|
APP.store.dispatch(endConference());
|
||||||
|
@ -1231,22 +1229,6 @@ class API {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Notify the external app that a notification has been triggered.
|
|
||||||
*
|
|
||||||
* @param {string} title - The notification title.
|
|
||||||
* @param {string} description - The notification description.
|
|
||||||
*
|
|
||||||
* @returns {void}
|
|
||||||
*/
|
|
||||||
notifyNotificationTriggered(title: string, description: string) {
|
|
||||||
this._sendEvent({
|
|
||||||
description,
|
|
||||||
name: 'notification-triggered',
|
|
||||||
title
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notify external application that the video quality setting has changed.
|
* Notify external application that the video quality setting has changed.
|
||||||
*
|
*
|
||||||
|
|
|
@ -127,7 +127,6 @@ const events = {
|
||||||
'mouse-enter': 'mouseEnter',
|
'mouse-enter': 'mouseEnter',
|
||||||
'mouse-leave': 'mouseLeave',
|
'mouse-leave': 'mouseLeave',
|
||||||
'mouse-move': 'mouseMove',
|
'mouse-move': 'mouseMove',
|
||||||
'notification-triggered': 'notificationTriggered',
|
|
||||||
'outgoing-message': 'outgoingMessage',
|
'outgoing-message': 'outgoingMessage',
|
||||||
'participant-joined': 'participantJoined',
|
'participant-joined': 'participantJoined',
|
||||||
'participant-kicked-out': 'participantKickedOut',
|
'participant-kicked-out': 'participantKickedOut',
|
||||||
|
|
|
@ -292,6 +292,17 @@ UI.showToolbar = timeout => APP.store.dispatch(showToolbox(timeout));
|
||||||
// Used by torture.
|
// Used by torture.
|
||||||
UI.dockToolbar = dock => APP.store.dispatch(dockToolbox(dock));
|
UI.dockToolbar = dock => APP.store.dispatch(dockToolbox(dock));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Updates the displayed avatar for participant.
|
||||||
|
*
|
||||||
|
* @param {string} id - User id whose avatar should be updated.
|
||||||
|
* @param {string} avatarURL - The URL to avatar image to display.
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
UI.refreshAvatarDisplay = function(id) {
|
||||||
|
VideoLayout.changeUserAvatar(id);
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notify user that connection failed.
|
* Notify user that connection failed.
|
||||||
* @param {string} stropheErrorMsg raw Strophe error message
|
* @param {string} stropheErrorMsg raw Strophe error message
|
||||||
|
|
|
@ -139,6 +139,12 @@ const VideoLayout = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
changeUserAvatar(id, avatarUrl) {
|
||||||
|
if (this.isCurrentlyOnLarge(id)) {
|
||||||
|
largeVideo.updateAvatar(avatarUrl);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
isLargeVideoVisible() {
|
isLargeVideoVisible() {
|
||||||
return this.isLargeContainerTypeVisible(VIDEO_CONTAINER_TYPE);
|
return this.isLargeContainerTypeVisible(VIDEO_CONTAINER_TYPE);
|
||||||
},
|
},
|
||||||
|
|
|
@ -8,9 +8,10 @@ import {
|
||||||
createShortcutEvent,
|
createShortcutEvent,
|
||||||
sendAnalytics
|
sendAnalytics
|
||||||
} from '../../react/features/analytics';
|
} from '../../react/features/analytics';
|
||||||
|
import { toggleDialog } from '../../react/features/base/dialog';
|
||||||
import { clickOnVideo } from '../../react/features/filmstrip/actions';
|
import { clickOnVideo } from '../../react/features/filmstrip/actions';
|
||||||
import { openSettingsDialog } from '../../react/features/settings/actions';
|
import { KeyboardShortcutsDialog }
|
||||||
import { SETTINGS_TABS } from '../../react/features/settings/constants';
|
from '../../react/features/keyboard-shortcuts';
|
||||||
|
|
||||||
const logger = Logger.getLogger(__filename);
|
const logger = Logger.getLogger(__filename);
|
||||||
|
|
||||||
|
@ -119,17 +120,15 @@ const KeyboardShortcut = {
|
||||||
return jitsiLocalStorage.getItem(_enableShortcutsKey) === 'false' ? false : true;
|
return jitsiLocalStorage.getItem(_enableShortcutsKey) === 'false' ? false : true;
|
||||||
},
|
},
|
||||||
|
|
||||||
getShortcutsDescriptions() {
|
|
||||||
return _shortcutsHelp;
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Opens the {@SettingsDialog} dialog on the Shortcuts page.
|
* Opens the {@KeyboardShortcutsDialog} dialog.
|
||||||
*
|
*
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
openDialog() {
|
openDialog() {
|
||||||
APP.store.dispatch(openSettingsDialog(SETTINGS_TABS.SHORTCUTS, false));
|
APP.store.dispatch(toggleDialog(KeyboardShortcutsDialog, {
|
||||||
|
shortcutDescriptions: _shortcutsHelp
|
||||||
|
}));
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
"@atlaskit/inline-message": "11.0.8",
|
"@atlaskit/inline-message": "11.0.8",
|
||||||
"@atlaskit/multi-select": "15.0.5",
|
"@atlaskit/multi-select": "15.0.5",
|
||||||
"@atlaskit/spinner": "15.0.6",
|
"@atlaskit/spinner": "15.0.6",
|
||||||
|
"@atlaskit/tabs": "12.1.2",
|
||||||
"@atlaskit/theme": "11.0.2",
|
"@atlaskit/theme": "11.0.2",
|
||||||
"@atlaskit/tooltip": "17.1.2",
|
"@atlaskit/tooltip": "17.1.2",
|
||||||
"@emotion/react": "11.10.0",
|
"@emotion/react": "11.10.0",
|
||||||
|
@ -50,7 +51,6 @@
|
||||||
"@types/amplitude-js": "8.16.2",
|
"@types/amplitude-js": "8.16.2",
|
||||||
"@types/audioworklet": "0.0.29",
|
"@types/audioworklet": "0.0.29",
|
||||||
"@types/w3c-image-capture": "1.0.6",
|
"@types/w3c-image-capture": "1.0.6",
|
||||||
"@types/w3c-web-hid": "1.0.3",
|
|
||||||
"@vladmandic/human": "2.6.5",
|
"@vladmandic/human": "2.6.5",
|
||||||
"@vladmandic/human-models": "2.5.9",
|
"@vladmandic/human-models": "2.5.9",
|
||||||
"@xmldom/xmldom": "0.7.9",
|
"@xmldom/xmldom": "0.7.9",
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
"js-md5": "0.6.1",
|
"js-md5": "0.6.1",
|
||||||
"js-sha512": "0.8.0",
|
"js-sha512": "0.8.0",
|
||||||
"jwt-decode": "2.2.0",
|
"jwt-decode": "2.2.0",
|
||||||
"lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1589.0.0+d43c349d/lib-jitsi-meet.tgz",
|
"lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1583.0.0+931ca368/lib-jitsi-meet.tgz",
|
||||||
"lodash": "4.17.21",
|
"lodash": "4.17.21",
|
||||||
"moment": "2.29.4",
|
"moment": "2.29.4",
|
||||||
"moment-duration-format": "2.2.2",
|
"moment-duration-format": "2.2.2",
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
"react-native-url-polyfill": "1.3.0",
|
"react-native-url-polyfill": "1.3.0",
|
||||||
"react-native-video": "https://git@github.com/react-native-video/react-native-video#7c48ae7c8544b2b537fb60194e9620b9fcceae52",
|
"react-native-video": "https://git@github.com/react-native-video/react-native-video#7c48ae7c8544b2b537fb60194e9620b9fcceae52",
|
||||||
"react-native-watch-connectivity": "1.0.11",
|
"react-native-watch-connectivity": "1.0.11",
|
||||||
"react-native-webrtc": "106.0.6",
|
"react-native-webrtc": "106.0.5",
|
||||||
"react-native-webview": "11.15.1",
|
"react-native-webview": "11.15.1",
|
||||||
"react-native-youtube-iframe": "2.2.1",
|
"react-native-youtube-iframe": "2.2.1",
|
||||||
"react-redux": "7.1.0",
|
"react-redux": "7.1.0",
|
||||||
|
@ -139,6 +139,7 @@
|
||||||
"@babel/preset-env": "7.16.0",
|
"@babel/preset-env": "7.16.0",
|
||||||
"@babel/preset-flow": "7.16.0",
|
"@babel/preset-flow": "7.16.0",
|
||||||
"@babel/preset-react": "7.16.0",
|
"@babel/preset-react": "7.16.0",
|
||||||
|
"@babel/runtime": "7.16.0",
|
||||||
"@jitsi/eslint-config": "4.1.5",
|
"@jitsi/eslint-config": "4.1.5",
|
||||||
"@types/js-md5": "0.4.3",
|
"@types/js-md5": "0.4.3",
|
||||||
"@types/lodash": "4.14.182",
|
"@types/lodash": "4.14.182",
|
||||||
|
@ -158,18 +159,20 @@
|
||||||
"circular-dependency-plugin": "5.2.0",
|
"circular-dependency-plugin": "5.2.0",
|
||||||
"clean-css-cli": "4.3.0",
|
"clean-css-cli": "4.3.0",
|
||||||
"css-loader": "3.6.0",
|
"css-loader": "3.6.0",
|
||||||
"eslint": "8.35.0",
|
"eslint": "8.25.0",
|
||||||
"eslint-plugin-flowtype": "8.0.3",
|
"eslint-plugin-flowtype": "8.0.3",
|
||||||
"eslint-plugin-import": "2.25.2",
|
"eslint-plugin-import": "2.25.2",
|
||||||
"eslint-plugin-jsdoc": "37.0.3",
|
"eslint-plugin-jsdoc": "37.0.3",
|
||||||
"eslint-plugin-react": "7.26.1",
|
"eslint-plugin-react": "7.26.1",
|
||||||
"eslint-plugin-react-native": "3.11.0",
|
"eslint-plugin-react-native": "3.11.0",
|
||||||
"eslint-plugin-typescript-sort-keys": "2.1.0",
|
"eslint-plugin-typescript-sort-keys": "2.1.0",
|
||||||
|
"imports-loader": "0.7.1",
|
||||||
"jetifier": "1.6.4",
|
"jetifier": "1.6.4",
|
||||||
"metro-react-native-babel-preset": "0.67.0",
|
"metro-react-native-babel-preset": "0.67.0",
|
||||||
"patch-package": "6.4.7",
|
"patch-package": "6.4.7",
|
||||||
"process": "0.11.10",
|
"process": "0.11.10",
|
||||||
"sass": "1.26.8",
|
"sass": "1.26.8",
|
||||||
|
"string-replace-loader": "3.0.3",
|
||||||
"style-loader": "3.3.1",
|
"style-loader": "3.3.1",
|
||||||
"traverse": "0.6.6",
|
"traverse": "0.6.6",
|
||||||
"ts-loader": "9.4.1",
|
"ts-loader": "9.4.1",
|
||||||
|
@ -716,6 +719,20 @@
|
||||||
"react": "^16.8.0"
|
"react": "^16.8.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@atlaskit/tabs": {
|
||||||
|
"version": "12.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@atlaskit/tabs/-/tabs-12.1.2.tgz",
|
||||||
|
"integrity": "sha512-/PbNIwXh0YMoo8pUjLwJfZEe+vtHENhBWuQc1pK4rW7JNBAD0VYrAJ+JLiZ+ZWGFCOoCSneoJguDBH0I2FMrqA==",
|
||||||
|
"dependencies": {
|
||||||
|
"@atlaskit/analytics-next": "^8.0.0",
|
||||||
|
"@atlaskit/theme": "^11.0.0",
|
||||||
|
"@babel/runtime": "^7.0.0",
|
||||||
|
"@emotion/core": "^10.0.9"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"react": "^16.8.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@atlaskit/tag": {
|
"node_modules/@atlaskit/tag": {
|
||||||
"version": "11.2.5",
|
"version": "11.2.5",
|
||||||
"resolved": "https://registry.npmjs.org/@atlaskit/tag/-/tag-11.2.5.tgz",
|
"resolved": "https://registry.npmjs.org/@atlaskit/tag/-/tag-11.2.5.tgz",
|
||||||
|
@ -3250,15 +3267,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/eslintrc": {
|
"node_modules/@eslint/eslintrc": {
|
||||||
"version": "2.0.0",
|
"version": "1.3.3",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz",
|
||||||
"integrity": "sha512-fluIaaV+GyV24CCu/ggiHdV+j4RNh85yQnAYS/G2mZODZgGmmlrgCydjUcV3YvxCm9x8nMAfThsqTni4KiXT4A==",
|
"integrity": "sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ajv": "^6.12.4",
|
"ajv": "^6.12.4",
|
||||||
"debug": "^4.3.2",
|
"debug": "^4.3.2",
|
||||||
"espree": "^9.4.0",
|
"espree": "^9.4.0",
|
||||||
"globals": "^13.19.0",
|
"globals": "^13.15.0",
|
||||||
"ignore": "^5.2.0",
|
"ignore": "^5.2.0",
|
||||||
"import-fresh": "^3.2.1",
|
"import-fresh": "^3.2.1",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
|
@ -3279,9 +3296,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/eslintrc/node_modules/globals": {
|
"node_modules/@eslint/eslintrc/node_modules/globals": {
|
||||||
"version": "13.20.0",
|
"version": "13.17.0",
|
||||||
"resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz",
|
||||||
"integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==",
|
"integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"type-fest": "^0.20.2"
|
"type-fest": "^0.20.2"
|
||||||
|
@ -3333,15 +3350,6 @@
|
||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/js": {
|
|
||||||
"version": "8.35.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.35.0.tgz",
|
|
||||||
"integrity": "sha512-JXdzbRiWclLVoD8sNUjR443VVlYqiYmDVT6rGUEIEHU5YJW0gaVZwV2xgM7D4arkvASqD0IlLUVjHiFuxaftRw==",
|
|
||||||
"dev": true,
|
|
||||||
"engines": {
|
|
||||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@giphy/js-analytics": {
|
"node_modules/@giphy/js-analytics": {
|
||||||
"version": "4.0.7",
|
"version": "4.0.7",
|
||||||
"resolved": "https://registry.npmjs.org/@giphy/js-analytics/-/js-analytics-4.0.7.tgz",
|
"resolved": "https://registry.npmjs.org/@giphy/js-analytics/-/js-analytics-4.0.7.tgz",
|
||||||
|
@ -3479,14 +3487,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@humanwhocodes/config-array": {
|
"node_modules/@humanwhocodes/config-array": {
|
||||||
"version": "0.11.8",
|
"version": "0.10.7",
|
||||||
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz",
|
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.7.tgz",
|
||||||
"integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==",
|
"integrity": "sha512-MDl6D6sBsaV452/QSdX+4CXIjZhIcI0PELsxUjk4U828yd58vk3bTIvk/6w5FY+4hIy9sLW0sfrV7K7Kc++j/w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@humanwhocodes/object-schema": "^1.2.1",
|
"@humanwhocodes/object-schema": "^1.2.1",
|
||||||
"debug": "^4.1.1",
|
"debug": "^4.1.1",
|
||||||
"minimatch": "^3.0.5"
|
"minimatch": "^3.0.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.10.0"
|
"node": ">=10.10.0"
|
||||||
|
@ -6516,11 +6524,6 @@
|
||||||
"@types/webrtc": "*"
|
"@types/webrtc": "*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@types/w3c-web-hid": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/w3c-web-hid/-/w3c-web-hid-1.0.3.tgz",
|
|
||||||
"integrity": "sha512-eTQRkPd2JukZfS9+kRtrBAaTCCb6waGh5X8BJHmH1MiVQPLMYwm4+EvhwFfOo9SDna15o9dFAwmWwN6r/YM53A=="
|
|
||||||
},
|
|
||||||
"node_modules/@types/webgl-ext": {
|
"node_modules/@types/webgl-ext": {
|
||||||
"version": "0.0.30",
|
"version": "0.0.30",
|
||||||
"resolved": "https://registry.npmjs.org/@types/webgl-ext/-/webgl-ext-0.0.30.tgz",
|
"resolved": "https://registry.npmjs.org/@types/webgl-ext/-/webgl-ext-0.0.30.tgz",
|
||||||
|
@ -9894,16 +9897,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint": {
|
"node_modules/eslint": {
|
||||||
"version": "8.35.0",
|
"version": "8.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.35.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.25.0.tgz",
|
||||||
"integrity": "sha512-BxAf1fVL7w+JLRQhWl2pzGeSiGqbWumV4WNvc9Rhp6tiCtm4oHnyPBSEtMGZwrQgudFQ+otqzWoPB7x+hxoWsw==",
|
"integrity": "sha512-DVlJOZ4Pn50zcKW5bYH7GQK/9MsoQG2d5eDH0ebEkE8PbgzTTmtt/VTH9GGJ4BfeZCpBLqFfvsjX35UacUL83A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint/eslintrc": "^2.0.0",
|
"@eslint/eslintrc": "^1.3.3",
|
||||||
"@eslint/js": "8.35.0",
|
"@humanwhocodes/config-array": "^0.10.5",
|
||||||
"@humanwhocodes/config-array": "^0.11.8",
|
|
||||||
"@humanwhocodes/module-importer": "^1.0.1",
|
"@humanwhocodes/module-importer": "^1.0.1",
|
||||||
"@nodelib/fs.walk": "^1.2.8",
|
|
||||||
"ajv": "^6.10.0",
|
"ajv": "^6.10.0",
|
||||||
"chalk": "^4.0.0",
|
"chalk": "^4.0.0",
|
||||||
"cross-spawn": "^7.0.2",
|
"cross-spawn": "^7.0.2",
|
||||||
|
@ -9914,19 +9915,19 @@
|
||||||
"eslint-utils": "^3.0.0",
|
"eslint-utils": "^3.0.0",
|
||||||
"eslint-visitor-keys": "^3.3.0",
|
"eslint-visitor-keys": "^3.3.0",
|
||||||
"espree": "^9.4.0",
|
"espree": "^9.4.0",
|
||||||
"esquery": "^1.4.2",
|
"esquery": "^1.4.0",
|
||||||
"esutils": "^2.0.2",
|
"esutils": "^2.0.2",
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"file-entry-cache": "^6.0.1",
|
"file-entry-cache": "^6.0.1",
|
||||||
"find-up": "^5.0.0",
|
"find-up": "^5.0.0",
|
||||||
"glob-parent": "^6.0.2",
|
"glob-parent": "^6.0.1",
|
||||||
"globals": "^13.19.0",
|
"globals": "^13.15.0",
|
||||||
|
"globby": "^11.1.0",
|
||||||
"grapheme-splitter": "^1.0.4",
|
"grapheme-splitter": "^1.0.4",
|
||||||
"ignore": "^5.2.0",
|
"ignore": "^5.2.0",
|
||||||
"import-fresh": "^3.0.0",
|
"import-fresh": "^3.0.0",
|
||||||
"imurmurhash": "^0.1.4",
|
"imurmurhash": "^0.1.4",
|
||||||
"is-glob": "^4.0.0",
|
"is-glob": "^4.0.0",
|
||||||
"is-path-inside": "^3.0.3",
|
|
||||||
"js-sdsl": "^4.1.4",
|
"js-sdsl": "^4.1.4",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"json-stable-stringify-without-jsonify": "^1.0.1",
|
"json-stable-stringify-without-jsonify": "^1.0.1",
|
||||||
|
@ -10335,9 +10336,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint/node_modules/globals": {
|
"node_modules/eslint/node_modules/globals": {
|
||||||
"version": "13.20.0",
|
"version": "13.17.0",
|
||||||
"resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz",
|
||||||
"integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==",
|
"integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"type-fest": "^0.20.2"
|
"type-fest": "^0.20.2"
|
||||||
|
@ -10465,9 +10466,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/espree": {
|
"node_modules/espree": {
|
||||||
"version": "9.4.1",
|
"version": "9.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/espree/-/espree-9.4.0.tgz",
|
||||||
"integrity": "sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==",
|
"integrity": "sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"acorn": "^8.8.0",
|
"acorn": "^8.8.0",
|
||||||
|
@ -10503,9 +10504,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/esquery": {
|
"node_modules/esquery": {
|
||||||
"version": "1.4.2",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.2.tgz",
|
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz",
|
||||||
"integrity": "sha512-JVSoLdTlTDkmjFmab7H/9SL9qGSyjElT3myyKp7krqjVFQCDLmj1QFaCLRFBszBKI0XVZaiiXvuPIX3ZwHe1Ng==",
|
"integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"estraverse": "^5.1.0"
|
"estraverse": "^5.1.0"
|
||||||
|
@ -11961,6 +11962,16 @@
|
||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/imports-loader": {
|
||||||
|
"version": "0.7.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/imports-loader/-/imports-loader-0.7.1.tgz",
|
||||||
|
"integrity": "sha1-8gS180cCoywdt9SNidXoZ6BEElM=",
|
||||||
|
"dev": true,
|
||||||
|
"dependencies": {
|
||||||
|
"loader-utils": "^1.0.2",
|
||||||
|
"source-map": "^0.5.6"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/imurmurhash": {
|
"node_modules/imurmurhash": {
|
||||||
"version": "0.1.4",
|
"version": "0.1.4",
|
||||||
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
|
||||||
|
@ -13416,8 +13427,8 @@
|
||||||
},
|
},
|
||||||
"node_modules/lib-jitsi-meet": {
|
"node_modules/lib-jitsi-meet": {
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"resolved": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1589.0.0+d43c349d/lib-jitsi-meet.tgz",
|
"resolved": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1583.0.0+931ca368/lib-jitsi-meet.tgz",
|
||||||
"integrity": "sha512-6QuR109o4sq24c9EU73NGLWAdJO+piiEylsqtmOL/B+I2GMTFeIras0tMOl6eQpncpZS5nD9gqiJmTNDnZqWbw==",
|
"integrity": "sha512-lzgRkJtdlZ7bfq2seBuONRM6UND8NJVjMOZPlVoq7uP4UuxffBztsoHGc0g5Y5zEqi1AnfYLwVZZvXkpd82iew==",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@jitsi/js-utils": "2.0.0",
|
"@jitsi/js-utils": "2.0.0",
|
||||||
|
@ -16408,9 +16419,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/react-native-webrtc": {
|
"node_modules/react-native-webrtc": {
|
||||||
"version": "106.0.6",
|
"version": "106.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/react-native-webrtc/-/react-native-webrtc-106.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/react-native-webrtc/-/react-native-webrtc-106.0.5.tgz",
|
||||||
"integrity": "sha512-mxRqR/sNZfVnbTM8cd90Y+A23H53jvZ/j0W7MSSFAbsQrj9Jdew1+7tJVTcBieF1S4ytTLI/R95scOQ4+qeE2Q==",
|
"integrity": "sha512-EINzYpTZh6zXb2lcGH13Ieli1ur3M1FaT8R8WMqfUZEW8/y0WV6yBeQQVz55OA4LtWnBUX0RZyaYQ4aZN4e1Sw==",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"adm-zip": "0.5.9",
|
"adm-zip": "0.5.9",
|
||||||
|
@ -18070,6 +18081,51 @@
|
||||||
"integrity": "sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw==",
|
"integrity": "sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/string-replace-loader": {
|
||||||
|
"version": "3.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/string-replace-loader/-/string-replace-loader-3.0.3.tgz",
|
||||||
|
"integrity": "sha512-8c26Dl6H9XmKNj3mFBvaUYR7ImOxQ4YRBFuUju78wXpa1cDpyDYvKmqGg8mfkxdYexQ/BBogB7PELlLnmR08nw==",
|
||||||
|
"dev": true,
|
||||||
|
"dependencies": {
|
||||||
|
"loader-utils": "^2.0.0",
|
||||||
|
"schema-utils": "^3.0.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"webpack": "^5"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/string-replace-loader/node_modules/loader-utils": {
|
||||||
|
"version": "2.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz",
|
||||||
|
"integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==",
|
||||||
|
"dev": true,
|
||||||
|
"dependencies": {
|
||||||
|
"big.js": "^5.2.2",
|
||||||
|
"emojis-list": "^3.0.0",
|
||||||
|
"json5": "^2.1.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=8.9.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/string-replace-loader/node_modules/schema-utils": {
|
||||||
|
"version": "3.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz",
|
||||||
|
"integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==",
|
||||||
|
"dev": true,
|
||||||
|
"dependencies": {
|
||||||
|
"@types/json-schema": "^7.0.8",
|
||||||
|
"ajv": "^6.12.5",
|
||||||
|
"ajv-keywords": "^3.5.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10.13.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/webpack"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/string-replace-to-array": {
|
"node_modules/string-replace-to-array": {
|
||||||
"version": "1.0.3",
|
"version": "1.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/string-replace-to-array/-/string-replace-to-array-1.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/string-replace-to-array/-/string-replace-to-array-1.0.3.tgz",
|
||||||
|
@ -20844,6 +20900,17 @@
|
||||||
"@emotion/core": "^10.0.9"
|
"@emotion/core": "^10.0.9"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@atlaskit/tabs": {
|
||||||
|
"version": "12.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@atlaskit/tabs/-/tabs-12.1.2.tgz",
|
||||||
|
"integrity": "sha512-/PbNIwXh0YMoo8pUjLwJfZEe+vtHENhBWuQc1pK4rW7JNBAD0VYrAJ+JLiZ+ZWGFCOoCSneoJguDBH0I2FMrqA==",
|
||||||
|
"requires": {
|
||||||
|
"@atlaskit/analytics-next": "^8.0.0",
|
||||||
|
"@atlaskit/theme": "^11.0.0",
|
||||||
|
"@babel/runtime": "^7.0.0",
|
||||||
|
"@emotion/core": "^10.0.9"
|
||||||
|
}
|
||||||
|
},
|
||||||
"@atlaskit/tag": {
|
"@atlaskit/tag": {
|
||||||
"version": "11.2.5",
|
"version": "11.2.5",
|
||||||
"resolved": "https://registry.npmjs.org/@atlaskit/tag/-/tag-11.2.5.tgz",
|
"resolved": "https://registry.npmjs.org/@atlaskit/tag/-/tag-11.2.5.tgz",
|
||||||
|
@ -22642,15 +22709,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@eslint/eslintrc": {
|
"@eslint/eslintrc": {
|
||||||
"version": "2.0.0",
|
"version": "1.3.3",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz",
|
||||||
"integrity": "sha512-fluIaaV+GyV24CCu/ggiHdV+j4RNh85yQnAYS/G2mZODZgGmmlrgCydjUcV3YvxCm9x8nMAfThsqTni4KiXT4A==",
|
"integrity": "sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"ajv": "^6.12.4",
|
"ajv": "^6.12.4",
|
||||||
"debug": "^4.3.2",
|
"debug": "^4.3.2",
|
||||||
"espree": "^9.4.0",
|
"espree": "^9.4.0",
|
||||||
"globals": "^13.19.0",
|
"globals": "^13.15.0",
|
||||||
"ignore": "^5.2.0",
|
"ignore": "^5.2.0",
|
||||||
"import-fresh": "^3.2.1",
|
"import-fresh": "^3.2.1",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
|
@ -22665,9 +22732,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"globals": {
|
"globals": {
|
||||||
"version": "13.20.0",
|
"version": "13.17.0",
|
||||||
"resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz",
|
||||||
"integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==",
|
"integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"type-fest": "^0.20.2"
|
"type-fest": "^0.20.2"
|
||||||
|
@ -22700,12 +22767,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@eslint/js": {
|
|
||||||
"version": "8.35.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.35.0.tgz",
|
|
||||||
"integrity": "sha512-JXdzbRiWclLVoD8sNUjR443VVlYqiYmDVT6rGUEIEHU5YJW0gaVZwV2xgM7D4arkvASqD0IlLUVjHiFuxaftRw==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"@giphy/js-analytics": {
|
"@giphy/js-analytics": {
|
||||||
"version": "4.0.7",
|
"version": "4.0.7",
|
||||||
"resolved": "https://registry.npmjs.org/@giphy/js-analytics/-/js-analytics-4.0.7.tgz",
|
"resolved": "https://registry.npmjs.org/@giphy/js-analytics/-/js-analytics-4.0.7.tgz",
|
||||||
|
@ -22827,14 +22888,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@humanwhocodes/config-array": {
|
"@humanwhocodes/config-array": {
|
||||||
"version": "0.11.8",
|
"version": "0.10.7",
|
||||||
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz",
|
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.7.tgz",
|
||||||
"integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==",
|
"integrity": "sha512-MDl6D6sBsaV452/QSdX+4CXIjZhIcI0PELsxUjk4U828yd58vk3bTIvk/6w5FY+4hIy9sLW0sfrV7K7Kc++j/w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@humanwhocodes/object-schema": "^1.2.1",
|
"@humanwhocodes/object-schema": "^1.2.1",
|
||||||
"debug": "^4.1.1",
|
"debug": "^4.1.1",
|
||||||
"minimatch": "^3.0.5"
|
"minimatch": "^3.0.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@humanwhocodes/module-importer": {
|
"@humanwhocodes/module-importer": {
|
||||||
|
@ -25080,11 +25141,6 @@
|
||||||
"@types/webrtc": "*"
|
"@types/webrtc": "*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@types/w3c-web-hid": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/w3c-web-hid/-/w3c-web-hid-1.0.3.tgz",
|
|
||||||
"integrity": "sha512-eTQRkPd2JukZfS9+kRtrBAaTCCb6waGh5X8BJHmH1MiVQPLMYwm4+EvhwFfOo9SDna15o9dFAwmWwN6r/YM53A=="
|
|
||||||
},
|
|
||||||
"@types/webgl-ext": {
|
"@types/webgl-ext": {
|
||||||
"version": "0.0.30",
|
"version": "0.0.30",
|
||||||
"resolved": "https://registry.npmjs.org/@types/webgl-ext/-/webgl-ext-0.0.30.tgz",
|
"resolved": "https://registry.npmjs.org/@types/webgl-ext/-/webgl-ext-0.0.30.tgz",
|
||||||
|
@ -27621,16 +27677,14 @@
|
||||||
"integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="
|
"integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="
|
||||||
},
|
},
|
||||||
"eslint": {
|
"eslint": {
|
||||||
"version": "8.35.0",
|
"version": "8.25.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.35.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.25.0.tgz",
|
||||||
"integrity": "sha512-BxAf1fVL7w+JLRQhWl2pzGeSiGqbWumV4WNvc9Rhp6tiCtm4oHnyPBSEtMGZwrQgudFQ+otqzWoPB7x+hxoWsw==",
|
"integrity": "sha512-DVlJOZ4Pn50zcKW5bYH7GQK/9MsoQG2d5eDH0ebEkE8PbgzTTmtt/VTH9GGJ4BfeZCpBLqFfvsjX35UacUL83A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@eslint/eslintrc": "^2.0.0",
|
"@eslint/eslintrc": "^1.3.3",
|
||||||
"@eslint/js": "8.35.0",
|
"@humanwhocodes/config-array": "^0.10.5",
|
||||||
"@humanwhocodes/config-array": "^0.11.8",
|
|
||||||
"@humanwhocodes/module-importer": "^1.0.1",
|
"@humanwhocodes/module-importer": "^1.0.1",
|
||||||
"@nodelib/fs.walk": "^1.2.8",
|
|
||||||
"ajv": "^6.10.0",
|
"ajv": "^6.10.0",
|
||||||
"chalk": "^4.0.0",
|
"chalk": "^4.0.0",
|
||||||
"cross-spawn": "^7.0.2",
|
"cross-spawn": "^7.0.2",
|
||||||
|
@ -27641,19 +27695,19 @@
|
||||||
"eslint-utils": "^3.0.0",
|
"eslint-utils": "^3.0.0",
|
||||||
"eslint-visitor-keys": "^3.3.0",
|
"eslint-visitor-keys": "^3.3.0",
|
||||||
"espree": "^9.4.0",
|
"espree": "^9.4.0",
|
||||||
"esquery": "^1.4.2",
|
"esquery": "^1.4.0",
|
||||||
"esutils": "^2.0.2",
|
"esutils": "^2.0.2",
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"file-entry-cache": "^6.0.1",
|
"file-entry-cache": "^6.0.1",
|
||||||
"find-up": "^5.0.0",
|
"find-up": "^5.0.0",
|
||||||
"glob-parent": "^6.0.2",
|
"glob-parent": "^6.0.1",
|
||||||
"globals": "^13.19.0",
|
"globals": "^13.15.0",
|
||||||
|
"globby": "^11.1.0",
|
||||||
"grapheme-splitter": "^1.0.4",
|
"grapheme-splitter": "^1.0.4",
|
||||||
"ignore": "^5.2.0",
|
"ignore": "^5.2.0",
|
||||||
"import-fresh": "^3.0.0",
|
"import-fresh": "^3.0.0",
|
||||||
"imurmurhash": "^0.1.4",
|
"imurmurhash": "^0.1.4",
|
||||||
"is-glob": "^4.0.0",
|
"is-glob": "^4.0.0",
|
||||||
"is-path-inside": "^3.0.3",
|
|
||||||
"js-sdsl": "^4.1.4",
|
"js-sdsl": "^4.1.4",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"json-stable-stringify-without-jsonify": "^1.0.1",
|
"json-stable-stringify-without-jsonify": "^1.0.1",
|
||||||
|
@ -27735,9 +27789,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"globals": {
|
"globals": {
|
||||||
"version": "13.20.0",
|
"version": "13.17.0",
|
||||||
"resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz",
|
||||||
"integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==",
|
"integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"type-fest": "^0.20.2"
|
"type-fest": "^0.20.2"
|
||||||
|
@ -28049,9 +28103,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"espree": {
|
"espree": {
|
||||||
"version": "9.4.1",
|
"version": "9.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/espree/-/espree-9.4.0.tgz",
|
||||||
"integrity": "sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==",
|
"integrity": "sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"acorn": "^8.8.0",
|
"acorn": "^8.8.0",
|
||||||
|
@ -28073,9 +28127,9 @@
|
||||||
"integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A=="
|
"integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A=="
|
||||||
},
|
},
|
||||||
"esquery": {
|
"esquery": {
|
||||||
"version": "1.4.2",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.2.tgz",
|
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz",
|
||||||
"integrity": "sha512-JVSoLdTlTDkmjFmab7H/9SL9qGSyjElT3myyKp7krqjVFQCDLmj1QFaCLRFBszBKI0XVZaiiXvuPIX3ZwHe1Ng==",
|
"integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"estraverse": "^5.1.0"
|
"estraverse": "^5.1.0"
|
||||||
|
@ -29213,6 +29267,16 @@
|
||||||
"resolve-cwd": "^3.0.0"
|
"resolve-cwd": "^3.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"imports-loader": {
|
||||||
|
"version": "0.7.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/imports-loader/-/imports-loader-0.7.1.tgz",
|
||||||
|
"integrity": "sha1-8gS180cCoywdt9SNidXoZ6BEElM=",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"loader-utils": "^1.0.2",
|
||||||
|
"source-map": "^0.5.6"
|
||||||
|
}
|
||||||
|
},
|
||||||
"imurmurhash": {
|
"imurmurhash": {
|
||||||
"version": "0.1.4",
|
"version": "0.1.4",
|
||||||
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
|
||||||
|
@ -30308,8 +30372,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lib-jitsi-meet": {
|
"lib-jitsi-meet": {
|
||||||
"version": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1589.0.0+d43c349d/lib-jitsi-meet.tgz",
|
"version": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1583.0.0+931ca368/lib-jitsi-meet.tgz",
|
||||||
"integrity": "sha512-6QuR109o4sq24c9EU73NGLWAdJO+piiEylsqtmOL/B+I2GMTFeIras0tMOl6eQpncpZS5nD9gqiJmTNDnZqWbw==",
|
"integrity": "sha512-lzgRkJtdlZ7bfq2seBuONRM6UND8NJVjMOZPlVoq7uP4UuxffBztsoHGc0g5Y5zEqi1AnfYLwVZZvXkpd82iew==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@jitsi/js-utils": "2.0.0",
|
"@jitsi/js-utils": "2.0.0",
|
||||||
"@jitsi/logger": "2.0.0",
|
"@jitsi/logger": "2.0.0",
|
||||||
|
@ -32592,9 +32656,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"react-native-webrtc": {
|
"react-native-webrtc": {
|
||||||
"version": "106.0.6",
|
"version": "106.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/react-native-webrtc/-/react-native-webrtc-106.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/react-native-webrtc/-/react-native-webrtc-106.0.5.tgz",
|
||||||
"integrity": "sha512-mxRqR/sNZfVnbTM8cd90Y+A23H53jvZ/j0W7MSSFAbsQrj9Jdew1+7tJVTcBieF1S4ytTLI/R95scOQ4+qeE2Q==",
|
"integrity": "sha512-EINzYpTZh6zXb2lcGH13Ieli1ur3M1FaT8R8WMqfUZEW8/y0WV6yBeQQVz55OA4LtWnBUX0RZyaYQ4aZN4e1Sw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"adm-zip": "0.5.9",
|
"adm-zip": "0.5.9",
|
||||||
"base64-js": "1.5.1",
|
"base64-js": "1.5.1",
|
||||||
|
@ -33877,6 +33941,40 @@
|
||||||
"integrity": "sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw==",
|
"integrity": "sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"string-replace-loader": {
|
||||||
|
"version": "3.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/string-replace-loader/-/string-replace-loader-3.0.3.tgz",
|
||||||
|
"integrity": "sha512-8c26Dl6H9XmKNj3mFBvaUYR7ImOxQ4YRBFuUju78wXpa1cDpyDYvKmqGg8mfkxdYexQ/BBogB7PELlLnmR08nw==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"loader-utils": "^2.0.0",
|
||||||
|
"schema-utils": "^3.0.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"loader-utils": {
|
||||||
|
"version": "2.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz",
|
||||||
|
"integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"big.js": "^5.2.2",
|
||||||
|
"emojis-list": "^3.0.0",
|
||||||
|
"json5": "^2.1.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"schema-utils": {
|
||||||
|
"version": "3.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz",
|
||||||
|
"integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"@types/json-schema": "^7.0.8",
|
||||||
|
"ajv": "^6.12.5",
|
||||||
|
"ajv-keywords": "^3.5.2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"string-replace-to-array": {
|
"string-replace-to-array": {
|
||||||
"version": "1.0.3",
|
"version": "1.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/string-replace-to-array/-/string-replace-to-array-1.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/string-replace-to-array/-/string-replace-to-array-1.0.3.tgz",
|
||||||
|
|
11
package.json
|
@ -22,6 +22,7 @@
|
||||||
"@atlaskit/inline-message": "11.0.8",
|
"@atlaskit/inline-message": "11.0.8",
|
||||||
"@atlaskit/multi-select": "15.0.5",
|
"@atlaskit/multi-select": "15.0.5",
|
||||||
"@atlaskit/spinner": "15.0.6",
|
"@atlaskit/spinner": "15.0.6",
|
||||||
|
"@atlaskit/tabs": "12.1.2",
|
||||||
"@atlaskit/theme": "11.0.2",
|
"@atlaskit/theme": "11.0.2",
|
||||||
"@atlaskit/tooltip": "17.1.2",
|
"@atlaskit/tooltip": "17.1.2",
|
||||||
"@emotion/react": "11.10.0",
|
"@emotion/react": "11.10.0",
|
||||||
|
@ -55,7 +56,6 @@
|
||||||
"@types/amplitude-js": "8.16.2",
|
"@types/amplitude-js": "8.16.2",
|
||||||
"@types/audioworklet": "0.0.29",
|
"@types/audioworklet": "0.0.29",
|
||||||
"@types/w3c-image-capture": "1.0.6",
|
"@types/w3c-image-capture": "1.0.6",
|
||||||
"@types/w3c-web-hid": "1.0.3",
|
|
||||||
"@vladmandic/human": "2.6.5",
|
"@vladmandic/human": "2.6.5",
|
||||||
"@vladmandic/human-models": "2.5.9",
|
"@vladmandic/human-models": "2.5.9",
|
||||||
"@xmldom/xmldom": "0.7.9",
|
"@xmldom/xmldom": "0.7.9",
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
"js-md5": "0.6.1",
|
"js-md5": "0.6.1",
|
||||||
"js-sha512": "0.8.0",
|
"js-sha512": "0.8.0",
|
||||||
"jwt-decode": "2.2.0",
|
"jwt-decode": "2.2.0",
|
||||||
"lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1589.0.0+d43c349d/lib-jitsi-meet.tgz",
|
"lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1583.0.0+931ca368/lib-jitsi-meet.tgz",
|
||||||
"lodash": "4.17.21",
|
"lodash": "4.17.21",
|
||||||
"moment": "2.29.4",
|
"moment": "2.29.4",
|
||||||
"moment-duration-format": "2.2.2",
|
"moment-duration-format": "2.2.2",
|
||||||
|
@ -116,7 +116,7 @@
|
||||||
"react-native-url-polyfill": "1.3.0",
|
"react-native-url-polyfill": "1.3.0",
|
||||||
"react-native-video": "https://git@github.com/react-native-video/react-native-video#7c48ae7c8544b2b537fb60194e9620b9fcceae52",
|
"react-native-video": "https://git@github.com/react-native-video/react-native-video#7c48ae7c8544b2b537fb60194e9620b9fcceae52",
|
||||||
"react-native-watch-connectivity": "1.0.11",
|
"react-native-watch-connectivity": "1.0.11",
|
||||||
"react-native-webrtc": "106.0.6",
|
"react-native-webrtc": "106.0.5",
|
||||||
"react-native-webview": "11.15.1",
|
"react-native-webview": "11.15.1",
|
||||||
"react-native-youtube-iframe": "2.2.1",
|
"react-native-youtube-iframe": "2.2.1",
|
||||||
"react-redux": "7.1.0",
|
"react-redux": "7.1.0",
|
||||||
|
@ -144,6 +144,7 @@
|
||||||
"@babel/preset-env": "7.16.0",
|
"@babel/preset-env": "7.16.0",
|
||||||
"@babel/preset-flow": "7.16.0",
|
"@babel/preset-flow": "7.16.0",
|
||||||
"@babel/preset-react": "7.16.0",
|
"@babel/preset-react": "7.16.0",
|
||||||
|
"@babel/runtime": "7.16.0",
|
||||||
"@jitsi/eslint-config": "4.1.5",
|
"@jitsi/eslint-config": "4.1.5",
|
||||||
"@types/js-md5": "0.4.3",
|
"@types/js-md5": "0.4.3",
|
||||||
"@types/lodash": "4.14.182",
|
"@types/lodash": "4.14.182",
|
||||||
|
@ -163,18 +164,20 @@
|
||||||
"circular-dependency-plugin": "5.2.0",
|
"circular-dependency-plugin": "5.2.0",
|
||||||
"clean-css-cli": "4.3.0",
|
"clean-css-cli": "4.3.0",
|
||||||
"css-loader": "3.6.0",
|
"css-loader": "3.6.0",
|
||||||
"eslint": "8.35.0",
|
"eslint": "8.25.0",
|
||||||
"eslint-plugin-flowtype": "8.0.3",
|
"eslint-plugin-flowtype": "8.0.3",
|
||||||
"eslint-plugin-import": "2.25.2",
|
"eslint-plugin-import": "2.25.2",
|
||||||
"eslint-plugin-jsdoc": "37.0.3",
|
"eslint-plugin-jsdoc": "37.0.3",
|
||||||
"eslint-plugin-react": "7.26.1",
|
"eslint-plugin-react": "7.26.1",
|
||||||
"eslint-plugin-react-native": "3.11.0",
|
"eslint-plugin-react-native": "3.11.0",
|
||||||
"eslint-plugin-typescript-sort-keys": "2.1.0",
|
"eslint-plugin-typescript-sort-keys": "2.1.0",
|
||||||
|
"imports-loader": "0.7.1",
|
||||||
"jetifier": "1.6.4",
|
"jetifier": "1.6.4",
|
||||||
"metro-react-native-babel-preset": "0.67.0",
|
"metro-react-native-babel-preset": "0.67.0",
|
||||||
"patch-package": "6.4.7",
|
"patch-package": "6.4.7",
|
||||||
"process": "0.11.10",
|
"process": "0.11.10",
|
||||||
"sass": "1.26.8",
|
"sass": "1.26.8",
|
||||||
|
"string-replace-loader": "3.0.3",
|
||||||
"style-loader": "3.3.1",
|
"style-loader": "3.3.1",
|
||||||
"traverse": "0.6.6",
|
"traverse": "0.6.6",
|
||||||
"ts-loader": "9.4.1",
|
"ts-loader": "9.4.1",
|
||||||
|
|
|
@ -199,7 +199,7 @@ export default class AlwaysOnTop extends Component<*, State> {
|
||||||
color = { getAvatarColor(displayName, customAvatarBackgrounds) }
|
color = { getAvatarColor(displayName, customAvatarBackgrounds) }
|
||||||
id = 'avatar'
|
id = 'avatar'
|
||||||
initials = { getInitials(displayName) }
|
initials = { getInitials(displayName) }
|
||||||
url = { avatarURL } />)
|
url = { displayName ? null : avatarURL } />)
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className = 'displayname'
|
className = 'displayname'
|
||||||
|
|
|
@ -33,7 +33,7 @@ import { clearNotifications } from '../notifications/actions';
|
||||||
|
|
||||||
import { addTrackStateToURL, getDefaultURL } from './functions.native';
|
import { addTrackStateToURL, getDefaultURL } from './functions.native';
|
||||||
import logger from './logger';
|
import logger from './logger';
|
||||||
import { IReloadNowOptions, IStore } from './types';
|
import { IStore } from './types';
|
||||||
|
|
||||||
export * from './actions.any';
|
export * from './actions.any';
|
||||||
|
|
||||||
|
@ -44,10 +44,9 @@ export * from './actions.any';
|
||||||
* @param {string|undefined} uri - The URI to which to navigate. It may be a
|
* @param {string|undefined} uri - The URI to which to navigate. It may be a
|
||||||
* full URL with an HTTP(S) scheme, a full or partial URI with the app-specific
|
* full URL with an HTTP(S) scheme, a full or partial URI with the app-specific
|
||||||
* scheme, or a mere room name.
|
* scheme, or a mere room name.
|
||||||
* @param {Object} [options] - Options.
|
|
||||||
* @returns {Function}
|
* @returns {Function}
|
||||||
*/
|
*/
|
||||||
export function appNavigate(uri?: string, options: IReloadNowOptions = {}) {
|
export function appNavigate(uri?: string) {
|
||||||
logger.info(`appNavigate to ${uri}`);
|
logger.info(`appNavigate to ${uri}`);
|
||||||
|
|
||||||
return async (dispatch: IStore['dispatch'], getState: IStore['getState']) => {
|
return async (dispatch: IStore['dispatch'], getState: IStore['getState']) => {
|
||||||
|
@ -143,10 +142,7 @@ export function appNavigate(uri?: string, options: IReloadNowOptions = {}) {
|
||||||
dispatch(createDesiredLocalTracks());
|
dispatch(createDesiredLocalTracks());
|
||||||
dispatch(clearNotifications());
|
dispatch(clearNotifications());
|
||||||
|
|
||||||
// @ts-ignore
|
if (isPrejoinPageEnabled(getState())) {
|
||||||
const { hidePrejoin } = options;
|
|
||||||
|
|
||||||
if (!hidePrejoin && isPrejoinPageEnabled(getState())) {
|
|
||||||
navigateRoot(screen.preJoin);
|
navigateRoot(screen.preJoin);
|
||||||
} else {
|
} else {
|
||||||
dispatch(connect());
|
dispatch(connect());
|
||||||
|
@ -189,8 +185,6 @@ export function reloadNow() {
|
||||||
|
|
||||||
logger.info(`Reloading the conference using URL: ${locationURL}`);
|
logger.info(`Reloading the conference using URL: ${locationURL}`);
|
||||||
|
|
||||||
dispatch(appNavigate(toURLString(newURL), {
|
dispatch(appNavigate(toURLString(newURL)));
|
||||||
hidePrejoin: true
|
|
||||||
}));
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,6 +48,5 @@ import '../transcribing/middleware';
|
||||||
import '../video-layout/middleware';
|
import '../video-layout/middleware';
|
||||||
import '../video-quality/middleware';
|
import '../video-quality/middleware';
|
||||||
import '../videosipgw/middleware';
|
import '../videosipgw/middleware';
|
||||||
import '../visitors/middleware';
|
|
||||||
|
|
||||||
import './middleware';
|
import './middleware';
|
||||||
|
|
|
@ -5,6 +5,7 @@ import '../base/media/middleware';
|
||||||
import '../dynamic-branding/middleware';
|
import '../dynamic-branding/middleware';
|
||||||
import '../e2ee/middleware';
|
import '../e2ee/middleware';
|
||||||
import '../external-api/middleware';
|
import '../external-api/middleware';
|
||||||
|
import '../keyboard-shortcuts/middleware';
|
||||||
import '../no-audio-signal/middleware';
|
import '../no-audio-signal/middleware';
|
||||||
import '../notifications/middleware';
|
import '../notifications/middleware';
|
||||||
import '../noise-detection/middleware';
|
import '../noise-detection/middleware';
|
||||||
|
@ -14,7 +15,6 @@ import '../prejoin/middleware';
|
||||||
import '../remote-control/middleware';
|
import '../remote-control/middleware';
|
||||||
import '../screen-share/middleware';
|
import '../screen-share/middleware';
|
||||||
import '../shared-video/middleware';
|
import '../shared-video/middleware';
|
||||||
import '../web-hid/middleware';
|
|
||||||
import '../settings/middleware';
|
import '../settings/middleware';
|
||||||
import '../talk-while-muted/middleware';
|
import '../talk-while-muted/middleware';
|
||||||
import '../toolbox/middleware';
|
import '../toolbox/middleware';
|
||||||
|
|
|
@ -56,4 +56,3 @@ import '../transcribing/reducer';
|
||||||
import '../video-layout/reducer';
|
import '../video-layout/reducer';
|
||||||
import '../video-quality/reducer';
|
import '../video-quality/reducer';
|
||||||
import '../videosipgw/reducer';
|
import '../videosipgw/reducer';
|
||||||
import '../visitors/reducer';
|
|
||||||
|
|
|
@ -16,6 +16,5 @@ import '../screenshot-capture/reducer';
|
||||||
import '../talk-while-muted/reducer';
|
import '../talk-while-muted/reducer';
|
||||||
import '../virtual-background/reducer';
|
import '../virtual-background/reducer';
|
||||||
import '../whiteboard/reducer';
|
import '../whiteboard/reducer';
|
||||||
import '../web-hid/reducer';
|
|
||||||
|
|
||||||
import './reducers.any';
|
import './reducers.any';
|
||||||
|
|
|
@ -76,8 +76,6 @@ import { IVideoLayoutState } from '../video-layout/reducer';
|
||||||
import { IVideoQualityPersistedState, IVideoQualityState } from '../video-quality/reducer';
|
import { IVideoQualityPersistedState, IVideoQualityState } from '../video-quality/reducer';
|
||||||
import { IVideoSipGW } from '../videosipgw/reducer';
|
import { IVideoSipGW } from '../videosipgw/reducer';
|
||||||
import { IVirtualBackground } from '../virtual-background/reducer';
|
import { IVirtualBackground } from '../virtual-background/reducer';
|
||||||
import { IVisitorsState } from '../visitors/reducer';
|
|
||||||
import { IWebHid } from '../web-hid/reducer';
|
|
||||||
import { IWhiteboardState } from '../whiteboard/reducer';
|
import { IWhiteboardState } from '../whiteboard/reducer';
|
||||||
|
|
||||||
export interface IStore {
|
export interface IStore {
|
||||||
|
@ -165,11 +163,5 @@ export interface IReduxState {
|
||||||
'features/video-quality-persistent-storage': IVideoQualityPersistedState;
|
'features/video-quality-persistent-storage': IVideoQualityPersistedState;
|
||||||
'features/videosipgw': IVideoSipGW;
|
'features/videosipgw': IVideoSipGW;
|
||||||
'features/virtual-background': IVirtualBackground;
|
'features/virtual-background': IVirtualBackground;
|
||||||
'features/visitors': IVisitorsState;
|
|
||||||
'features/web-hid': IWebHid;
|
|
||||||
'features/whiteboard': IWhiteboardState;
|
'features/whiteboard': IWhiteboardState;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IReloadNowOptions {
|
|
||||||
hidePrejoin?: boolean;
|
|
||||||
}
|
|
||||||
|
|
|
@ -98,7 +98,7 @@ function _upgradeRoleFinished(
|
||||||
name: authenticationError || connectionError,
|
name: authenticationError || connectionError,
|
||||||
...other
|
...other
|
||||||
};
|
};
|
||||||
progress = 0;
|
progress = authenticationError ? 0.5 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -207,7 +207,7 @@ class LoginDialog extends Component<IProps, IState> {
|
||||||
let messageKey;
|
let messageKey;
|
||||||
|
|
||||||
if (progress && progress < 1) {
|
if (progress && progress < 1) {
|
||||||
messageKey = 'connection.FETCH_SESSION_ID';
|
messageKey = t('connection.FETCH_SESSION_ID');
|
||||||
} else if (error) {
|
} else if (error) {
|
||||||
const { name } = error;
|
const { name } = error;
|
||||||
|
|
||||||
|
@ -218,14 +218,14 @@ class LoginDialog extends Component<IProps, IState> {
|
||||||
&& credentials.jid === toJid(username, configHosts ?? { authdomain: '',
|
&& credentials.jid === toJid(username, configHosts ?? { authdomain: '',
|
||||||
domain: '' })
|
domain: '' })
|
||||||
&& credentials.password === password) {
|
&& credentials.password === password) {
|
||||||
messageKey = 'dialog.incorrectPassword';
|
messageKey = t('dialog.incorrectPassword');
|
||||||
}
|
}
|
||||||
} else if (name) {
|
} else if (name) {
|
||||||
messageKey = 'dialog.connectErrorWithMsg';
|
messageKey = t('dialog.connectErrorWithMsg');
|
||||||
messageOptions.msg = `${name} ${error.message}`;
|
messageOptions.msg = `${name} ${error.message}`;
|
||||||
}
|
}
|
||||||
} else if (connecting) {
|
} else if (connecting) {
|
||||||
messageKey = 'connection.CONNECTING';
|
messageKey = t('connection.CONNECTING');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (messageKey) {
|
if (messageKey) {
|
||||||
|
|
|
@ -88,7 +88,7 @@ const useStyles = makeStyles()(theme => {
|
||||||
boxShadow: 'inset 0px -1px 0px rgba(255, 255, 255, 0.15)',
|
boxShadow: 'inset 0px -1px 0px rgba(255, 255, 255, 0.15)',
|
||||||
minHeight: '40px',
|
minHeight: '40px',
|
||||||
|
|
||||||
'&:hover, &:focus-within': {
|
'&:hover': {
|
||||||
backgroundColor: theme.palette.ui02,
|
backgroundColor: theme.palette.ui02,
|
||||||
|
|
||||||
'& .indicators': {
|
'& .indicators': {
|
||||||
|
@ -97,8 +97,6 @@ const useStyles = makeStyles()(theme => {
|
||||||
|
|
||||||
'& .actions': {
|
'& .actions': {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
position: 'relative',
|
|
||||||
top: 'auto',
|
|
||||||
boxShadow: `-15px 0px 10px -5px ${theme.palette.ui02}`,
|
boxShadow: `-15px 0px 10px -5px ${theme.palette.ui02}`,
|
||||||
backgroundColor: theme.palette.ui02
|
backgroundColor: theme.palette.ui02
|
||||||
}
|
}
|
||||||
|
@ -156,8 +154,7 @@ const useStyles = makeStyles()(theme => {
|
||||||
},
|
},
|
||||||
|
|
||||||
actionsContainer: {
|
actionsContainer: {
|
||||||
position: 'absolute',
|
display: 'none',
|
||||||
top: '-1000px',
|
|
||||||
boxShadow: `-15px 0px 10px -5px ${theme.palette.ui02}`,
|
boxShadow: `-15px 0px 10px -5px ${theme.palette.ui02}`,
|
||||||
backgroundColor: theme.palette.ui02
|
backgroundColor: theme.palette.ui02
|
||||||
},
|
},
|
||||||
|
|
|
@ -98,7 +98,7 @@ export function overwriteConfig(config: Object) {
|
||||||
* base/config.
|
* base/config.
|
||||||
* @returns {Function}
|
* @returns {Function}
|
||||||
*/
|
*/
|
||||||
export function setConfig(config: IConfig = {}) {
|
export function setConfig(config: Object = {}) {
|
||||||
return (dispatch: IStore['dispatch'], getState: IStore['getState']) => {
|
return (dispatch: IStore['dispatch'], getState: IStore['getState']) => {
|
||||||
const { locationURL } = getState()['features/base/connection'];
|
const { locationURL } = getState()['features/base/connection'];
|
||||||
|
|
||||||
|
@ -119,26 +119,6 @@ export function setConfig(config: IConfig = {}) {
|
||||||
window.interfaceConfig,
|
window.interfaceConfig,
|
||||||
locationURL);
|
locationURL);
|
||||||
|
|
||||||
let { bosh } = config;
|
|
||||||
|
|
||||||
if (bosh) {
|
|
||||||
// Normalize the BOSH URL.
|
|
||||||
if (bosh.startsWith('//')) {
|
|
||||||
// By default our config.js doesn't include the protocol.
|
|
||||||
bosh = `${locationURL?.protocol}${bosh}`;
|
|
||||||
} else if (bosh.startsWith('/')) {
|
|
||||||
// Handle relative URLs, which won't work on mobile.
|
|
||||||
const {
|
|
||||||
protocol,
|
|
||||||
host,
|
|
||||||
contextRoot
|
|
||||||
} = parseURIString(locationURL?.href);
|
|
||||||
|
|
||||||
bosh = `${protocol}//${host}${contextRoot || '/'}${bosh.substr(1)}`;
|
|
||||||
}
|
|
||||||
config.bosh = bosh;
|
|
||||||
}
|
|
||||||
|
|
||||||
dispatch({
|
dispatch({
|
||||||
type: SET_CONFIG,
|
type: SET_CONFIG,
|
||||||
config
|
config
|
||||||
|
|
|
@ -388,11 +388,6 @@ export interface IConfig {
|
||||||
lastNLimits?: {
|
lastNLimits?: {
|
||||||
[key: number]: number;
|
[key: number]: number;
|
||||||
};
|
};
|
||||||
legalUrls?: {
|
|
||||||
helpCentre: string;
|
|
||||||
privacy: string;
|
|
||||||
terms: string;
|
|
||||||
};
|
|
||||||
liveStreaming?: {
|
liveStreaming?: {
|
||||||
dataPrivacyLink?: string;
|
dataPrivacyLink?: string;
|
||||||
enabled?: boolean;
|
enabled?: boolean;
|
||||||
|
|
|
@ -61,11 +61,6 @@ export const PREMEETING_BUTTONS = [ 'microphone', 'camera', 'select-background',
|
||||||
*/
|
*/
|
||||||
export const THIRD_PARTY_PREJOIN_BUTTONS = [ 'microphone', 'camera', 'select-background' ];
|
export const THIRD_PARTY_PREJOIN_BUTTONS = [ 'microphone', 'camera', 'select-background' ];
|
||||||
|
|
||||||
/**
|
|
||||||
* The toolbar buttons to show when in visitors mode.
|
|
||||||
*/
|
|
||||||
export const VISITORS_MODE_BUTTONS = [ 'hangup', 'tileview' ];
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The set of feature flags.
|
* The set of feature flags.
|
||||||
*
|
*
|
||||||
|
@ -75,18 +70,3 @@ export const VISITORS_MODE_BUTTONS = [ 'hangup', 'tileview' ];
|
||||||
export const FEATURE_FLAGS = {
|
export const FEATURE_FLAGS = {
|
||||||
SSRC_REWRITING: 'ssrcRewritingEnabled'
|
SSRC_REWRITING: 'ssrcRewritingEnabled'
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* The URL at which the terms (of service/use) are available to the user.
|
|
||||||
*/
|
|
||||||
export const DEFAULT_TERMS_URL = 'https://jitsi.org/meet/terms';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The URL at which the privacy policy is available to the user.
|
|
||||||
*/
|
|
||||||
export const DEFAULT_PRIVACY_URL = 'https://jitsi.org/meet/privacy';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The URL at which the help centre is available to the user.
|
|
||||||
*/
|
|
||||||
export const DEFAULT_HELP_CENTRE_URL = 'https://web-cdn.jitsi.net/faq/meet-faq.html';
|
|
||||||
|
|
|
@ -11,13 +11,7 @@ import { parseURLParams } from '../util/parseURLParams';
|
||||||
|
|
||||||
import { IConfig } from './configType';
|
import { IConfig } from './configType';
|
||||||
import CONFIG_WHITELIST from './configWhitelist';
|
import CONFIG_WHITELIST from './configWhitelist';
|
||||||
import {
|
import { FEATURE_FLAGS, _CONFIG_STORE_PREFIX } from './constants';
|
||||||
DEFAULT_HELP_CENTRE_URL,
|
|
||||||
DEFAULT_PRIVACY_URL,
|
|
||||||
DEFAULT_TERMS_URL,
|
|
||||||
FEATURE_FLAGS,
|
|
||||||
_CONFIG_STORE_PREFIX
|
|
||||||
} from './constants';
|
|
||||||
import INTERFACE_CONFIG_WHITELIST from './interfaceConfigWhitelist';
|
import INTERFACE_CONFIG_WHITELIST from './interfaceConfigWhitelist';
|
||||||
import logger from './logger';
|
import logger from './logger';
|
||||||
|
|
||||||
|
@ -332,24 +326,3 @@ export function getDialOutUrl(state: IReduxState) {
|
||||||
export function getSecurityUiConfig(state: IReduxState) {
|
export function getSecurityUiConfig(state: IReduxState) {
|
||||||
return state['features/base/config']?.securityUi || {};
|
return state['features/base/config']?.securityUi || {};
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the terms, privacy and help centre URL's.
|
|
||||||
*
|
|
||||||
* @param {IReduxState} state - The state of the application.
|
|
||||||
* @returns {{
|
|
||||||
* privacy: string,
|
|
||||||
* helpCentre: string,
|
|
||||||
* terms: string
|
|
||||||
* }}
|
|
||||||
*/
|
|
||||||
export function getLegalUrls(state: IReduxState) {
|
|
||||||
const helpCentreURL = state['features/base/config']?.helpCentreURL;
|
|
||||||
const configLegalUrls = state['features/base/config']?.legalUrls;
|
|
||||||
|
|
||||||
return {
|
|
||||||
privacy: configLegalUrls?.privacy || DEFAULT_PRIVACY_URL,
|
|
||||||
helpCentre: helpCentreURL || configLegalUrls?.helpCentre || DEFAULT_HELP_CENTRE_URL,
|
|
||||||
terms: configLegalUrls?.terms || DEFAULT_TERMS_URL
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
|
@ -3,7 +3,8 @@ import _ from 'lodash';
|
||||||
import { IReduxState } from '../../app/types';
|
import { IReduxState } from '../../app/types';
|
||||||
import {
|
import {
|
||||||
appendURLParam,
|
appendURLParam,
|
||||||
getBackendSafeRoomName
|
getBackendSafeRoomName,
|
||||||
|
parseURIString
|
||||||
} from '../util/uri';
|
} from '../util/uri';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
@ -144,8 +145,7 @@ export function constructOptions(state: IReduxState) {
|
||||||
// redux store.
|
// redux store.
|
||||||
const options = _.cloneDeep(state['features/base/config']);
|
const options = _.cloneDeep(state['features/base/config']);
|
||||||
|
|
||||||
const { bosh } = options;
|
let { bosh, websocket } = options;
|
||||||
let { websocket } = options;
|
|
||||||
|
|
||||||
// TESTING: Only enable WebSocket for some percentage of users.
|
// TESTING: Only enable WebSocket for some percentage of users.
|
||||||
if (websocket && navigator.product === 'ReactNative') {
|
if (websocket && navigator.product === 'ReactNative') {
|
||||||
|
@ -154,6 +154,25 @@ export function constructOptions(state: IReduxState) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Normalize the BOSH URL.
|
||||||
|
if (bosh && !websocket) {
|
||||||
|
const { locationURL } = state['features/base/connection'];
|
||||||
|
|
||||||
|
if (bosh.startsWith('//')) {
|
||||||
|
// By default our config.js doesn't include the protocol.
|
||||||
|
bosh = `${locationURL?.protocol}${bosh}`;
|
||||||
|
} else if (bosh.startsWith('/')) {
|
||||||
|
// Handle relative URLs, which won't work on mobile.
|
||||||
|
const {
|
||||||
|
protocol,
|
||||||
|
host,
|
||||||
|
contextRoot
|
||||||
|
} = parseURIString(locationURL?.href);
|
||||||
|
|
||||||
|
bosh = `${protocol}//${host}${contextRoot || '/'}${bosh.substr(1)}`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// WebSocket is preferred over BOSH.
|
// WebSocket is preferred over BOSH.
|
||||||
const serviceUrl = websocket || bosh;
|
const serviceUrl = websocket || bosh;
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ type Props = {
|
||||||
/**
|
/**
|
||||||
* Dialog title.
|
* Dialog title.
|
||||||
*/
|
*/
|
||||||
title?: string
|
title?: string,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -11,7 +11,6 @@ import { IReduxState } from '../../../../app/types';
|
||||||
import { translate } from '../../../i18n/functions';
|
import { translate } from '../../../i18n/functions';
|
||||||
import { isFatalJitsiConnectionError } from '../../../lib-jitsi-meet/functions.native';
|
import { isFatalJitsiConnectionError } from '../../../lib-jitsi-meet/functions.native';
|
||||||
import { connect } from '../../../redux/functions';
|
import { connect } from '../../../redux/functions';
|
||||||
import { hideDialog } from '../../actions';
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import logger from '../../logger';
|
import logger from '../../logger';
|
||||||
|
|
||||||
|
@ -34,7 +33,10 @@ interface IPageReloadDialogProps extends WithTranslation {
|
||||||
* {@link PageReloadDialog}.
|
* {@link PageReloadDialog}.
|
||||||
*/
|
*/
|
||||||
interface IPageReloadDialogState {
|
interface IPageReloadDialogState {
|
||||||
|
message: string;
|
||||||
timeLeft: number;
|
timeLeft: number;
|
||||||
|
timeoutSeconds: number;
|
||||||
|
title: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -46,7 +48,6 @@ class PageReloadDialog extends Component<IPageReloadDialogProps, IPageReloadDial
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
_interval: IntervalID;
|
_interval: IntervalID;
|
||||||
_timeoutSeconds: number;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes a new PageReloadOverlay instance.
|
* Initializes a new PageReloadOverlay instance.
|
||||||
|
@ -58,15 +59,27 @@ class PageReloadDialog extends Component<IPageReloadDialogProps, IPageReloadDial
|
||||||
constructor(props: IPageReloadDialogProps) {
|
constructor(props: IPageReloadDialogProps) {
|
||||||
super(props);
|
super(props);
|
||||||
|
|
||||||
this._timeoutSeconds = 10 + randomInt(0, 20);
|
const timeoutSeconds = 10 + randomInt(0, 20);
|
||||||
|
|
||||||
|
let message, title;
|
||||||
|
|
||||||
|
if (this.props.isNetworkFailure) {
|
||||||
|
title = 'dialog.conferenceDisconnectTitle';
|
||||||
|
message = 'dialog.conferenceDisconnectMsg';
|
||||||
|
} else {
|
||||||
|
title = 'dialog.conferenceReloadTitle';
|
||||||
|
message = 'dialog.conferenceReloadMsg';
|
||||||
|
}
|
||||||
|
|
||||||
this.state = {
|
this.state = {
|
||||||
timeLeft: this._timeoutSeconds
|
message,
|
||||||
|
timeLeft: timeoutSeconds,
|
||||||
|
timeoutSeconds,
|
||||||
|
title
|
||||||
};
|
};
|
||||||
|
|
||||||
this._onCancel = this._onCancel.bind(this);
|
this._onCancel = this._onCancel.bind(this);
|
||||||
this._onReloadNow = this._onReloadNow.bind(this);
|
this._onReloadNow = this._onReloadNow.bind(this);
|
||||||
this._onReconnecting = this._onReconnecting.bind(this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -76,14 +89,32 @@ class PageReloadDialog extends Component<IPageReloadDialogProps, IPageReloadDial
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
const { dispatch } = this.props;
|
||||||
const { timeLeft } = this.state;
|
const { timeLeft } = this.state;
|
||||||
|
|
||||||
logger.info(
|
logger.info(
|
||||||
`The conference will be reloaded after ${timeLeft} seconds.`
|
`The conference will be reloaded after ${
|
||||||
);
|
this.state.timeoutSeconds} seconds.`);
|
||||||
|
|
||||||
this._interval = setInterval(() =>
|
this._interval
|
||||||
this._onReconnecting(), 1000);
|
= setInterval(
|
||||||
|
() => {
|
||||||
|
if (timeLeft === 0) {
|
||||||
|
if (this._interval) {
|
||||||
|
clearInterval(this._interval);
|
||||||
|
this._interval = undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
dispatch(reloadNow());
|
||||||
|
} else {
|
||||||
|
this.setState(prevState => {
|
||||||
|
return {
|
||||||
|
timeLeft: prevState.timeLeft - 1
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -107,37 +138,12 @@ class PageReloadDialog extends Component<IPageReloadDialogProps, IPageReloadDial
|
||||||
* @returns {boolean}
|
* @returns {boolean}
|
||||||
*/
|
*/
|
||||||
_onCancel() {
|
_onCancel() {
|
||||||
const { dispatch } = this.props;
|
|
||||||
|
|
||||||
clearInterval(this._interval);
|
clearInterval(this._interval);
|
||||||
dispatch(appNavigate(undefined));
|
this.props.dispatch(appNavigate(undefined));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Handles automatic reconnection.
|
|
||||||
*
|
|
||||||
* @private
|
|
||||||
* @returns {void}
|
|
||||||
*/
|
|
||||||
_onReconnecting() {
|
|
||||||
const { dispatch } = this.props;
|
|
||||||
const { timeLeft } = this.state;
|
|
||||||
|
|
||||||
if (timeLeft === 0) {
|
|
||||||
if (this._interval) {
|
|
||||||
dispatch(hideDialog());
|
|
||||||
this._onReloadNow();
|
|
||||||
this._interval = undefined;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
this.setState({
|
|
||||||
timeLeft: timeLeft - 1
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle clicking on the "Reload Now" button. It will navigate to the same
|
* Handle clicking on the "Reload Now" button. It will navigate to the same
|
||||||
* conference URL as before immediately, without waiting for the timer to
|
* conference URL as before immediately, without waiting for the timer to
|
||||||
|
@ -147,10 +153,8 @@ class PageReloadDialog extends Component<IPageReloadDialogProps, IPageReloadDial
|
||||||
* @returns {boolean}
|
* @returns {boolean}
|
||||||
*/
|
*/
|
||||||
_onReloadNow() {
|
_onReloadNow() {
|
||||||
const { dispatch } = this.props;
|
|
||||||
|
|
||||||
clearInterval(this._interval);
|
clearInterval(this._interval);
|
||||||
dispatch(reloadNow());
|
this.props.dispatch(reloadNow());
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -162,18 +166,8 @@ class PageReloadDialog extends Component<IPageReloadDialogProps, IPageReloadDial
|
||||||
* @returns {ReactElement}
|
* @returns {ReactElement}
|
||||||
*/
|
*/
|
||||||
render() {
|
render() {
|
||||||
const { isNetworkFailure, t } = this.props;
|
const { t } = this.props;
|
||||||
const { timeLeft } = this.state;
|
const { message, timeLeft, title } = this.state;
|
||||||
|
|
||||||
let message, title;
|
|
||||||
|
|
||||||
if (isNetworkFailure) {
|
|
||||||
title = 'dialog.conferenceDisconnectTitle';
|
|
||||||
message = 'dialog.conferenceDisconnectMsg';
|
|
||||||
} else {
|
|
||||||
title = 'dialog.conferenceReloadTitle';
|
|
||||||
message = 'dialog.conferenceReloadMsg';
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ConfirmDialog
|
<ConfirmDialog
|
||||||
|
@ -193,8 +187,9 @@ class PageReloadDialog extends Component<IPageReloadDialogProps, IPageReloadDial
|
||||||
* @param {Object} state - The redux state.
|
* @param {Object} state - The redux state.
|
||||||
* @protected
|
* @protected
|
||||||
* @returns {{
|
* @returns {{
|
||||||
* isNetworkFailure: boolean,
|
* message: string,
|
||||||
* reason: string
|
* reason: string,
|
||||||
|
* title: string
|
||||||
* }}
|
* }}
|
||||||
*/
|
*/
|
||||||
function mapStateToProps(state: IReduxState) {
|
function mapStateToProps(state: IReduxState) {
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.7158 3.03843C12.4964 2.33696 11.5037 2.33696 11.2842 3.03843L9.54263 8.60636C9.44381 8.92229 9.14957 9.13606 8.81858 9.13242L2.98497 9.0682C2.25003 9.06011 1.94325 10.0043 2.54258 10.4297L7.29982 13.8067C7.56974 13.9983 7.68213 14.3442 7.57638 14.6579L5.71262 20.1861C5.47782 20.8826 6.28099 21.4661 6.87081 21.0276L11.5525 17.5467C11.8182 17.3492 12.1819 17.3492 12.4475 17.5467L17.1293 21.0276C17.7191 21.4661 18.5223 20.8826 18.2875 20.1861L16.4237 14.6579C16.3179 14.3442 16.4303 13.9983 16.7003 13.8067L21.4575 10.4297C22.0568 10.0043 21.75 9.06011 21.0151 9.0682L15.1815 9.13242C14.8505 9.13606 14.5563 8.92228 14.4574 8.60636L12.7158 3.03843Z" />
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 814 B |
|
@ -1,3 +0,0 @@
|
||||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 5.77465L10.9742 9.05416C10.6778 10.0019 9.79505 10.6433 8.80206 10.6323L5.36607 10.5945L8.16808 12.5835C8.97785 13.1583 9.31502 14.1961 8.99778 15.1371L7.90002 18.3932L10.6576 16.343C11.4545 15.7505 12.5456 15.7505 13.3425 16.343L16.1001 18.3932L15.0023 15.1371C14.6851 14.1961 15.0222 13.1583 15.832 12.5835L18.634 10.5945L15.198 10.6323C14.205 10.6433 13.3223 10.0019 13.0258 9.05416L12 5.77465ZM12.7158 3.03843C12.4964 2.33696 11.5037 2.33696 11.2842 3.03843L9.54263 8.60636C9.44381 8.92229 9.14957 9.13606 8.81858 9.13242L2.98497 9.0682C2.25003 9.06011 1.94325 10.0043 2.54258 10.4297L7.29982 13.8067C7.56974 13.9983 7.68213 14.3442 7.57638 14.6579L5.71262 20.1861C5.47782 20.8826 6.28099 21.4661 6.87081 21.0276L11.5525 17.5467C11.8182 17.3492 12.1819 17.3492 12.4475 17.5467L17.1293 21.0276C17.7191 21.4661 18.5223 20.8826 18.2875 20.1861L16.4237 14.6579C16.3179 14.3442 16.4303 13.9983 16.7003 13.8067L21.4575 10.4297C22.0568 10.0043 21.75 9.06011 21.0151 9.0682L15.1815 9.13242C14.8505 9.13606 14.5563 8.92228 14.4574 8.60636L12.7158 3.03843Z" fill="white"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.2 KiB |
|
@ -1,6 +0,0 @@
|
||||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.1602 8.24439C13.3281 8.16225 14.25 7.18879 14.25 6C14.25 4.75736 13.2426 3.75 12 3.75C10.7574 3.75 9.75 4.75736 9.75 6C9.75 7.18151 10.6607 8.15032 11.8184 8.24278C11.5197 8.21896 11.2375 8.13687 10.9831 8.00775C9.85816 9.83693 8.19346 10.3318 6.74461 10.3424C6.66364 9.17333 5.68961 8.25 4.5 8.25C3.25736 8.25 2.25 9.25736 2.25 10.5C2.25 11.7426 3.25736 12.75 4.5 12.75C5.32135 12.75 6.03995 12.31 6.43279 11.6528C6.39557 11.715 6.35542 11.7754 6.31253 11.8336C6.67901 11.8506 7.06503 11.8447 7.4618 11.805C8.64456 11.6868 9.95784 11.2623 11.0918 10.2228C11.4736 9.87283 11.8205 9.46641 12.1289 9.0006C12.4727 9.47803 12.8468 9.89069 13.2474 10.2432C14.3929 11.2513 15.6592 11.6829 16.8118 11.8042C17.1152 11.8362 17.4101 11.8467 17.6932 11.8412C17.6739 11.8152 17.6551 11.7887 17.6369 11.7619C18.0415 12.3582 18.725 12.75 19.5 12.75C20.7426 12.75 21.75 11.7426 21.75 10.5C21.75 9.25736 20.7426 8.25 19.5 8.25C18.3129 8.25 17.3405 9.16938 17.256 10.335C15.9245 10.2658 14.3912 9.7053 13.1957 7.90649C12.8918 8.09752 12.5389 8.21778 12.1602 8.24439ZM12 6.75C12.4142 6.75 12.75 6.41421 12.75 6C12.75 5.58579 12.4142 5.25 12 5.25C11.5858 5.25 11.25 5.58579 11.25 6C11.25 6.41421 11.5858 6.75 12 6.75ZM20.25 10.5C20.25 10.9142 19.9142 11.25 19.5 11.25C19.0858 11.25 18.75 10.9142 18.75 10.5C18.75 10.0858 19.0858 9.75 19.5 9.75C19.9142 9.75 20.25 10.0858 20.25 10.5ZM4.5 11.25C4.91421 11.25 5.25 10.9142 5.25 10.5C5.25 10.0858 4.91421 9.75 4.5 9.75C4.08579 9.75 3.75 10.0858 3.75 10.5C3.75 10.9142 4.08579 11.25 4.5 11.25Z" fill="white"/>
|
|
||||||
<path d="M17.9485 12.1296C18.3135 12.4773 18.7952 12.7036 19.3289 12.7437L19.2591 12.9706C19.1623 13.2853 18.8715 13.5 18.5423 13.5C18.0377 13.5 17.677 13.0117 17.8254 12.5294L17.9485 12.1296Z" fill="white"/>
|
|
||||||
<path d="M12.75 18.0001C13.1642 18.0001 13.5 18.3359 13.5 18.7501C13.5 19.1643 13.1642 19.5001 12.75 19.5001H7.85792C7.19941 19.5001 6.61791 19.0706 6.42425 18.4412L4.6712 12.7437C5.20487 12.7036 5.6866 12.4773 6.05164 12.1296L7.85792 18.0001H12.75Z" fill="white"/>
|
|
||||||
<path d="M11.25 18.0002C10.8358 18.0002 10.5 18.336 10.5 18.7502C10.5 19.1644 10.8358 19.5002 11.25 19.5002H16.1421C16.8006 19.5002 17.3821 19.0707 17.5757 18.4413L19.3289 12.7437C18.7952 12.7036 18.3135 12.4773 17.9485 12.1296L16.1421 18.0002H11.25Z" fill="white"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 2.4 KiB |
|
@ -39,13 +39,10 @@ export { default as IconExclamationSolid } from './exclamation-solid.svg';
|
||||||
export { default as IconExclamationTriangle } from './exclamation-triangle.svg';
|
export { default as IconExclamationTriangle } from './exclamation-triangle.svg';
|
||||||
export { default as IconExitFullscreen } from './exit-fullscreen.svg';
|
export { default as IconExitFullscreen } from './exit-fullscreen.svg';
|
||||||
export { default as IconFaceSmile } from './face-smile.svg';
|
export { default as IconFaceSmile } from './face-smile.svg';
|
||||||
export { default as IconFavorite } from './favorite.svg';
|
|
||||||
export { default as IconFavoriteSolid } from './favorite-solid.svg';
|
|
||||||
export { default as IconFeedback } from './feedback.svg';
|
export { default as IconFeedback } from './feedback.svg';
|
||||||
export { default as IconGear } from './gear.svg';
|
export { default as IconGear } from './gear.svg';
|
||||||
export { default as IconGoogle } from './google.svg';
|
export { default as IconGoogle } from './google.svg';
|
||||||
export { default as IconHangup } from './hangup.svg';
|
export { default as IconHangup } from './hangup.svg';
|
||||||
export { default as IconHost } from './host.svg';
|
|
||||||
export { default as IconHelp } from './help.svg';
|
export { default as IconHelp } from './help.svg';
|
||||||
export { default as IconHighlight } from './highlight.svg';
|
export { default as IconHighlight } from './highlight.svg';
|
||||||
export { default as IconImage } from './image.svg';
|
export { default as IconImage } from './image.svg';
|
||||||
|
@ -84,7 +81,6 @@ export { default as IconSend } from './send.svg';
|
||||||
export { default as IconShare } from './share.svg';
|
export { default as IconShare } from './share.svg';
|
||||||
export { default as IconShareDoc } from './share-doc.svg';
|
export { default as IconShareDoc } from './share-doc.svg';
|
||||||
export { default as IconShortcuts } from './shortcuts.svg';
|
export { default as IconShortcuts } from './shortcuts.svg';
|
||||||
export { default as IconSip } from './sip.svg';
|
|
||||||
export { default as IconSites } from './sites.svg';
|
export { default as IconSites } from './sites.svg';
|
||||||
export { default as IconStop } from './stop.svg';
|
export { default as IconStop } from './stop.svg';
|
||||||
export { default as IconStopScreenshare } from './stop-screenshare.svg';
|
export { default as IconStopScreenshare } from './stop-screenshare.svg';
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
<svg width="20" height="14" viewBox="0 0 20 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.41201 1.90767C3.50689 3.37865 5.24438 7.52348 7.36096 9.64007C7.36096 9.64004 7.36175 9.63923 7.36329 9.63765C9.48 11.7541 13.6215 13.4932 15.0923 12.5882C16.1022 11.9668 16.0078 9.51337 15.2427 8.76783C14.7369 8.2749 13.1882 8.01994 12.5497 8.14762C12.3496 8.18763 11.7907 8.76515 11.4793 9.08696C11.4184 9.14994 11.3669 9.20313 11.3295 9.24058C11.1007 9.46937 9.63912 8.22168 9.20588 7.78845L7.60102 9.39838C8.10053 8.89635 9.2057 7.78701 9.2057 7.78701C8.77247 7.35377 7.53081 5.89935 7.7596 5.67056C7.79705 5.63311 7.85024 5.58164 7.91322 5.5207C8.23503 5.20928 8.81255 4.65041 8.85256 4.45033C8.98024 3.81178 8.72528 2.26311 8.23236 1.75727C7.48681 0.992193 5.03342 0.897765 4.41201 1.90767Z" fill="white"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 868 B |
|
@ -1,4 +1,4 @@
|
||||||
import React, { useCallback } from 'react';
|
import React from 'react';
|
||||||
import { makeStyles } from 'tss-react/mui';
|
import { makeStyles } from 'tss-react/mui';
|
||||||
|
|
||||||
import Icon from '../../../icons/components/Icon';
|
import Icon from '../../../icons/components/Icon';
|
||||||
|
@ -92,27 +92,13 @@ const Label = ({
|
||||||
}: IProps) => {
|
}: IProps) => {
|
||||||
const { classes, cx } = useStyles();
|
const { classes, cx } = useStyles();
|
||||||
|
|
||||||
const onKeyPress = useCallback(event => {
|
|
||||||
if (!onClick) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (event.key === 'Enter' || event.key === ' ') {
|
|
||||||
event.preventDefault();
|
|
||||||
onClick();
|
|
||||||
}
|
|
||||||
}, [ onClick ]);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className = { cx(classes.label, onClick && classes.clickable,
|
className = { cx(classes.label, onClick && classes.clickable,
|
||||||
color && classes[color], className
|
color && classes[color], className
|
||||||
) }
|
) }
|
||||||
id = { id }
|
id = { id }
|
||||||
onClick = { onClick }
|
onClick = { onClick }>
|
||||||
onKeyPress = { onKeyPress }
|
|
||||||
role = { onClick ? 'button' : undefined }
|
|
||||||
tabIndex = { onClick ? 0 : undefined }>
|
|
||||||
{icon && <Icon
|
{icon && <Icon
|
||||||
color = { iconColor }
|
color = { iconColor }
|
||||||
size = '16'
|
size = '16'
|
||||||
|
|
|
@ -88,11 +88,7 @@ const _updateLastN = debounce(({ dispatch, getState }: IStore) => {
|
||||||
lastNSelected = 1;
|
lastNSelected = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
const { lastN } = state['features/base/lastn'];
|
dispatch(setLastN(lastNSelected));
|
||||||
|
|
||||||
if (lastN !== lastNSelected) {
|
|
||||||
dispatch(setLastN(lastNSelected));
|
|
||||||
}
|
|
||||||
}, 1000); /* Don't send this more often than once a second. */
|
}, 1000); /* Don't send this more often than once a second. */
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,15 +15,11 @@ export type MediaType = 'audio' | 'video' | 'screenshare';
|
||||||
*
|
*
|
||||||
* @enum {string}
|
* @enum {string}
|
||||||
*/
|
*/
|
||||||
export const MEDIA_TYPE: {
|
export const MEDIA_TYPE: { [key: string]: MediaType; } = {
|
||||||
AUDIO: MediaType;
|
AUDIO: 'audio',
|
||||||
SCREENSHARE: MediaType;
|
SCREENSHARE: 'screenshare',
|
||||||
VIDEO: MediaType;
|
VIDEO: 'video'
|
||||||
} = {
|
};
|
||||||
AUDIO: 'audio',
|
|
||||||
SCREENSHARE: 'screenshare',
|
|
||||||
VIDEO: 'video'
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/* eslint-disable no-bitwise */
|
/* eslint-disable no-bitwise */
|
||||||
|
|
|
@ -601,7 +601,7 @@ export function getDominantSpeakerParticipant(stateful: IStateful) {
|
||||||
export function isEveryoneModerator(stateful: IStateful) {
|
export function isEveryoneModerator(stateful: IStateful) {
|
||||||
const state = toState(stateful)['features/base/participants'];
|
const state = toState(stateful)['features/base/participants'];
|
||||||
|
|
||||||
return state.numberOfNonModeratorParticipants === 0;
|
return state.everyoneIsModerator === true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -429,12 +429,11 @@ StateListenerRegistry.register(
|
||||||
'e2ee.enabled': (participant: IJitsiParticipant, value: string) =>
|
'e2ee.enabled': (participant: IJitsiParticipant, value: string) =>
|
||||||
_e2eeUpdated(store, conference, participant.getId(), value),
|
_e2eeUpdated(store, conference, participant.getId(), value),
|
||||||
'features_e2ee': (participant: IJitsiParticipant, value: boolean) =>
|
'features_e2ee': (participant: IJitsiParticipant, value: boolean) =>
|
||||||
getParticipantById(store.getState(), participant.getId())?.e2eeSupported !== value
|
store.dispatch(participantUpdated({
|
||||||
&& store.dispatch(participantUpdated({
|
conference,
|
||||||
conference,
|
id: participant.getId(),
|
||||||
id: participant.getId(),
|
e2eeSupported: value
|
||||||
e2eeSupported: value
|
})),
|
||||||
})),
|
|
||||||
'features_jigasi': (participant: IJitsiParticipant, value: boolean) =>
|
'features_jigasi': (participant: IJitsiParticipant, value: boolean) =>
|
||||||
store.dispatch(participantUpdated({
|
store.dispatch(participantUpdated({
|
||||||
conference,
|
conference,
|
||||||
|
@ -507,12 +506,7 @@ StateListenerRegistry.register(
|
||||||
function _e2eeUpdated({ getState, dispatch }: IStore, conference: IJitsiConference,
|
function _e2eeUpdated({ getState, dispatch }: IStore, conference: IJitsiConference,
|
||||||
participantId: string, newValue: string | boolean) {
|
participantId: string, newValue: string | boolean) {
|
||||||
const e2eeEnabled = newValue === 'true';
|
const e2eeEnabled = newValue === 'true';
|
||||||
const state = getState();
|
const { e2ee = {} } = getState()['features/base/config'];
|
||||||
const { e2ee = {} } = state['features/base/config'];
|
|
||||||
|
|
||||||
if (e2eeEnabled === getParticipantById(state, participantId)?.e2eeEnabled) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
dispatch(participantUpdated({
|
dispatch(participantUpdated({
|
||||||
conference,
|
conference,
|
||||||
|
@ -647,6 +641,7 @@ function _participantJoinedOrUpdated(store: IStore, next: Function, action: any)
|
||||||
// Send an external update of the local participant's raised hand state
|
// Send an external update of the local participant's raised hand state
|
||||||
// if a new raised hand state is defined in the action.
|
// if a new raised hand state is defined in the action.
|
||||||
if (typeof raisedHandTimestamp !== 'undefined') {
|
if (typeof raisedHandTimestamp !== 'undefined') {
|
||||||
|
|
||||||
if (local) {
|
if (local) {
|
||||||
const { conference } = getState()['features/base/conference'];
|
const { conference } = getState()['features/base/conference'];
|
||||||
const rHand = parseInt(raisedHandTimestamp, 10);
|
const rHand = parseInt(raisedHandTimestamp, 10);
|
||||||
|
@ -696,6 +691,14 @@ function _participantJoinedOrUpdated(store: IStore, next: Function, action: any)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Notify external listeners of potential avatarURL changes.
|
||||||
|
if (typeof APP === 'object') {
|
||||||
|
const currentKnownId = local ? APP.conference.getMyUserId() : id;
|
||||||
|
|
||||||
|
// Force update of local video getting a new id.
|
||||||
|
APP.UI.refreshAvatarDisplay(currentKnownId);
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -63,12 +63,10 @@ const PARTICIPANT_PROPS_TO_OMIT_WHEN_UPDATE = [
|
||||||
|
|
||||||
const DEFAULT_STATE = {
|
const DEFAULT_STATE = {
|
||||||
dominantSpeaker: undefined,
|
dominantSpeaker: undefined,
|
||||||
|
everyoneIsModerator: false,
|
||||||
fakeParticipants: new Map(),
|
fakeParticipants: new Map(),
|
||||||
local: undefined,
|
local: undefined,
|
||||||
localScreenShare: undefined,
|
localScreenShare: undefined,
|
||||||
numberOfNonModeratorParticipants: 0,
|
|
||||||
numberOfParticipantsDisabledE2EE: 0,
|
|
||||||
numberOfParticipantsNotSupportingE2EE: 0,
|
|
||||||
overwrittenNameList: {},
|
overwrittenNameList: {},
|
||||||
pinnedParticipant: undefined,
|
pinnedParticipant: undefined,
|
||||||
raisedHandsQueue: [],
|
raisedHandsQueue: [],
|
||||||
|
@ -81,12 +79,10 @@ const DEFAULT_STATE = {
|
||||||
|
|
||||||
export interface IParticipantsState {
|
export interface IParticipantsState {
|
||||||
dominantSpeaker?: string;
|
dominantSpeaker?: string;
|
||||||
|
everyoneIsModerator: boolean;
|
||||||
fakeParticipants: Map<string, IParticipant>;
|
fakeParticipants: Map<string, IParticipant>;
|
||||||
local?: ILocalParticipant;
|
local?: ILocalParticipant;
|
||||||
localScreenShare?: IParticipant;
|
localScreenShare?: IParticipant;
|
||||||
numberOfNonModeratorParticipants: number;
|
|
||||||
numberOfParticipantsDisabledE2EE: number;
|
|
||||||
numberOfParticipantsNotSupportingE2EE: number;
|
|
||||||
overwrittenNameList: { [id: string]: string; };
|
overwrittenNameList: { [id: string]: string; };
|
||||||
pinnedParticipant?: string;
|
pinnedParticipant?: string;
|
||||||
raisedHandsQueue: Array<{ id: string; raisedHandTimestamp: number; }>;
|
raisedHandsQueue: Array<{ id: string; raisedHandTimestamp: number; }>;
|
||||||
|
@ -204,30 +200,23 @@ ReducerRegistry.register<IParticipantsState>('features/base/participants',
|
||||||
}
|
}
|
||||||
|
|
||||||
let newParticipant: IParticipant | null = null;
|
let newParticipant: IParticipant | null = null;
|
||||||
const oldParticipant = local || state.local?.id === id ? state.local : state.remote.get(id);
|
|
||||||
|
|
||||||
if (state.remote.has(id)) {
|
if (state.remote.has(id)) {
|
||||||
newParticipant = _participant(oldParticipant, action);
|
newParticipant = _participant(state.remote.get(id), action);
|
||||||
state.remote.set(id, newParticipant);
|
state.remote.set(id, newParticipant);
|
||||||
} else if (id === state.local?.id) {
|
} else if (id === state.local?.id) {
|
||||||
newParticipant = state.local = _participant(state.local, action);
|
newParticipant = state.local = _participant(state.local, action);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (oldParticipant && newParticipant && !newParticipant.fakeParticipant) {
|
if (newParticipant) {
|
||||||
|
|
||||||
|
// everyoneIsModerator calculation:
|
||||||
const isModerator = isParticipantModerator(newParticipant);
|
const isModerator = isParticipantModerator(newParticipant);
|
||||||
|
|
||||||
if (isParticipantModerator(oldParticipant) !== isModerator) {
|
if (state.everyoneIsModerator && !isModerator) {
|
||||||
state.numberOfNonModeratorParticipants += isModerator ? -1 : 1;
|
state.everyoneIsModerator = false;
|
||||||
}
|
} else if (!state.everyoneIsModerator && isModerator) {
|
||||||
|
state.everyoneIsModerator = _isEveryoneModerator(state);
|
||||||
const e2eeEnabled = Boolean(newParticipant.e2eeEnabled);
|
|
||||||
const e2eeSupported = Boolean(newParticipant.e2eeSupported);
|
|
||||||
|
|
||||||
if (Boolean(oldParticipant.e2eeEnabled) !== e2eeEnabled) {
|
|
||||||
state.numberOfParticipantsDisabledE2EE += e2eeEnabled ? -1 : 1;
|
|
||||||
}
|
|
||||||
if (!local && Boolean(oldParticipant.e2eeSupported) !== e2eeSupported) {
|
|
||||||
state.numberOfParticipantsNotSupportingE2EE += e2eeSupported ? -1 : 1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -278,22 +267,13 @@ ReducerRegistry.register<IParticipantsState>('features/base/participants',
|
||||||
state.dominantSpeaker = id;
|
state.dominantSpeaker = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!fakeParticipant) {
|
const isModerator = isParticipantModerator(participant);
|
||||||
const isModerator = isParticipantModerator(participant);
|
const { local, remote } = state;
|
||||||
|
|
||||||
if (!isModerator) {
|
if (state.everyoneIsModerator && !isModerator) {
|
||||||
state.numberOfNonModeratorParticipants += 1;
|
state.everyoneIsModerator = false;
|
||||||
}
|
} else if (!local && remote.size === 0 && isModerator) {
|
||||||
|
state.everyoneIsModerator = true;
|
||||||
const { e2eeEnabled, e2eeSupported } = participant as IParticipant;
|
|
||||||
|
|
||||||
if (!e2eeEnabled) {
|
|
||||||
state.numberOfParticipantsDisabledE2EE += 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!participant.local && !e2eeSupported) {
|
|
||||||
state.numberOfParticipantsNotSupportingE2EE += 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (participant.local) {
|
if (participant.local) {
|
||||||
|
@ -369,7 +349,6 @@ ReducerRegistry.register<IParticipantsState>('features/base/participants',
|
||||||
pinnedParticipant
|
pinnedParticipant
|
||||||
} = state;
|
} = state;
|
||||||
let oldParticipant = remote.get(id);
|
let oldParticipant = remote.get(id);
|
||||||
let isLocalScreenShare = false;
|
|
||||||
|
|
||||||
if (oldParticipant?.sources?.size) {
|
if (oldParticipant?.sources?.size) {
|
||||||
const videoSources: Map<string, ISourceInfo> | undefined = oldParticipant.sources.get(MEDIA_TYPE.VIDEO);
|
const videoSources: Map<string, ISourceInfo> | undefined = oldParticipant.sources.get(MEDIA_TYPE.VIDEO);
|
||||||
|
@ -394,7 +373,6 @@ ReducerRegistry.register<IParticipantsState>('features/base/participants',
|
||||||
oldParticipant = state.local;
|
oldParticipant = state.local;
|
||||||
delete state.local;
|
delete state.local;
|
||||||
} else if (localScreenShare?.id === id) {
|
} else if (localScreenShare?.id === id) {
|
||||||
isLocalScreenShare = true;
|
|
||||||
oldParticipant = state.local;
|
oldParticipant = state.local;
|
||||||
delete state.localScreenShare;
|
delete state.localScreenShare;
|
||||||
} else {
|
} else {
|
||||||
|
@ -405,6 +383,10 @@ ReducerRegistry.register<IParticipantsState>('features/base/participants',
|
||||||
state.sortedRemoteParticipants.delete(id);
|
state.sortedRemoteParticipants.delete(id);
|
||||||
state.raisedHandsQueue = state.raisedHandsQueue.filter(pid => pid.id !== id);
|
state.raisedHandsQueue = state.raisedHandsQueue.filter(pid => pid.id !== id);
|
||||||
|
|
||||||
|
if (!state.everyoneIsModerator && !isParticipantModerator(oldParticipant)) {
|
||||||
|
state.everyoneIsModerator = _isEveryoneModerator(state);
|
||||||
|
}
|
||||||
|
|
||||||
if (dominantSpeaker === id) {
|
if (dominantSpeaker === id) {
|
||||||
state.dominantSpeaker = undefined;
|
state.dominantSpeaker = undefined;
|
||||||
}
|
}
|
||||||
|
@ -425,22 +407,6 @@ ReducerRegistry.register<IParticipantsState>('features/base/participants',
|
||||||
state.sortedRemoteVirtualScreenshareParticipants = new Map(sortedRemoteVirtualScreenshareParticipants);
|
state.sortedRemoteVirtualScreenshareParticipants = new Map(sortedRemoteVirtualScreenshareParticipants);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (oldParticipant && !oldParticipant.fakeParticipant && !isLocalScreenShare) {
|
|
||||||
const { e2eeEnabled, e2eeSupported } = oldParticipant;
|
|
||||||
|
|
||||||
if (!isParticipantModerator(oldParticipant)) {
|
|
||||||
state.numberOfNonModeratorParticipants -= 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!e2eeEnabled) {
|
|
||||||
state.numberOfParticipantsDisabledE2EE -= 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!oldParticipant.local && !e2eeSupported) {
|
|
||||||
state.numberOfParticipantsNotSupportingE2EE -= 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return { ...state };
|
return { ...state };
|
||||||
}
|
}
|
||||||
case PARTICIPANT_SOURCES_UPDATED: {
|
case PARTICIPANT_SOURCES_UPDATED: {
|
||||||
|
@ -499,6 +465,27 @@ function _getDisplayName(state: Object, name?: string): string {
|
||||||
return name ?? (config?.defaultRemoteDisplayName || 'Fellow Jitster');
|
return name ?? (config?.defaultRemoteDisplayName || 'Fellow Jitster');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Loops through the participants in the state in order to check if all participants are moderators.
|
||||||
|
*
|
||||||
|
* @param {Object} state - The local participant redux state.
|
||||||
|
* @returns {boolean}
|
||||||
|
*/
|
||||||
|
function _isEveryoneModerator(state: IParticipantsState) {
|
||||||
|
if (isParticipantModerator(state.local)) {
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
|
for (const [ k, p ] of state.remote) {
|
||||||
|
if (!isParticipantModerator(p)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reducer function for a single participant.
|
* Reducer function for a single participant.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import React, { Component, ReactNode } from 'react';
|
import React, { Component, ReactNode } from 'react';
|
||||||
import ReactFocusLock from 'react-focus-lock';
|
|
||||||
|
|
||||||
import { IReduxState } from '../../../app/types';
|
import { IReduxState } from '../../../app/types';
|
||||||
import DialogPortal from '../../../toolbox/components/web/DialogPortal';
|
import DialogPortal from '../../../toolbox/components/web/DialogPortal';
|
||||||
|
@ -35,18 +34,6 @@ interface IProps {
|
||||||
*/
|
*/
|
||||||
disablePopover?: boolean;
|
disablePopover?: boolean;
|
||||||
|
|
||||||
/**
|
|
||||||
* The id of the dom element acting as the Popover label (matches aria-labelledby).
|
|
||||||
*/
|
|
||||||
headingId?: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* String acting as the Popover label (matches aria-label).
|
|
||||||
*
|
|
||||||
* If headingId is set, this will not be used.
|
|
||||||
*/
|
|
||||||
headingLabel?: string;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An id attribute to apply to the root of the {@code Popover}
|
* An id attribute to apply to the root of the {@code Popover}
|
||||||
* component.
|
* component.
|
||||||
|
@ -199,16 +186,7 @@ class Popover extends Component<IProps, IState> {
|
||||||
* @returns {ReactElement}
|
* @returns {ReactElement}
|
||||||
*/
|
*/
|
||||||
render() {
|
render() {
|
||||||
const { children,
|
const { children, className, content, id, overflowDrawer, visible, trigger } = this.props;
|
||||||
className,
|
|
||||||
content,
|
|
||||||
headingId,
|
|
||||||
headingLabel,
|
|
||||||
id,
|
|
||||||
overflowDrawer,
|
|
||||||
visible,
|
|
||||||
trigger
|
|
||||||
} = this.props;
|
|
||||||
|
|
||||||
if (overflowDrawer) {
|
if (overflowDrawer) {
|
||||||
return (
|
return (
|
||||||
|
@ -219,7 +197,6 @@ class Popover extends Component<IProps, IState> {
|
||||||
{ children }
|
{ children }
|
||||||
<JitsiPortal>
|
<JitsiPortal>
|
||||||
<Drawer
|
<Drawer
|
||||||
headingId = { headingId }
|
|
||||||
isOpen = { visible }
|
isOpen = { visible }
|
||||||
onClose = { this._onHideDialog }>
|
onClose = { this._onHideDialog }>
|
||||||
{ content }
|
{ content }
|
||||||
|
@ -237,8 +214,7 @@ class Popover extends Component<IProps, IState> {
|
||||||
onKeyPress = { this._onKeyPress }
|
onKeyPress = { this._onKeyPress }
|
||||||
{ ...(trigger === 'hover' ? {
|
{ ...(trigger === 'hover' ? {
|
||||||
onMouseEnter: this._onShowDialog,
|
onMouseEnter: this._onShowDialog,
|
||||||
onMouseLeave: this._onHideDialog,
|
onMouseLeave: this._onHideDialog
|
||||||
tabIndex: 0
|
|
||||||
} : {}) }
|
} : {}) }
|
||||||
ref = { this._containerRef }>
|
ref = { this._containerRef }>
|
||||||
{ visible && (
|
{ visible && (
|
||||||
|
@ -246,16 +222,7 @@ class Popover extends Component<IProps, IState> {
|
||||||
getRef = { this._setContextMenuRef }
|
getRef = { this._setContextMenuRef }
|
||||||
setSize = { this._setContextMenuStyle }
|
setSize = { this._setContextMenuStyle }
|
||||||
style = { this.state.contextMenuStyle }>
|
style = { this.state.contextMenuStyle }>
|
||||||
<ReactFocusLock
|
{this._renderContent()}
|
||||||
lockProps = {{
|
|
||||||
role: 'dialog',
|
|
||||||
'aria-modal': true,
|
|
||||||
'aria-labelledby': headingId,
|
|
||||||
'aria-label': !headingId && headingLabel ? headingLabel : undefined
|
|
||||||
}}
|
|
||||||
returnFocus = { true }>
|
|
||||||
{this._renderContent()}
|
|
||||||
</ReactFocusLock>
|
|
||||||
</DialogPortal>
|
</DialogPortal>
|
||||||
)}
|
)}
|
||||||
{ children }
|
{ children }
|
||||||
|
|
|
@ -0,0 +1,210 @@
|
||||||
|
// @flow
|
||||||
|
|
||||||
|
import React, { PureComponent } from 'react';
|
||||||
|
|
||||||
|
import { getFieldValue } from '../../../react';
|
||||||
|
|
||||||
|
type Props = {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If the input should be focused on display.
|
||||||
|
*/
|
||||||
|
autoFocus?: boolean,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class name to be appended to the default class list.
|
||||||
|
*/
|
||||||
|
className?: string,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TestId of the button. Can be used to locate element when testing UI.
|
||||||
|
*/
|
||||||
|
testId?: string,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Callback for the onChange event of the field.
|
||||||
|
*/
|
||||||
|
onChange: Function,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Callback to be used when the user hits Enter in the field.
|
||||||
|
*/
|
||||||
|
onSubmit?: Function,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Placeholder text for the field.
|
||||||
|
*/
|
||||||
|
placeHolder: string,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether the input is read only or not.
|
||||||
|
*/
|
||||||
|
readOnly?: boolean,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The field type (e.g. Text, password...etc).
|
||||||
|
*/
|
||||||
|
type: string,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Externally provided value.
|
||||||
|
*/
|
||||||
|
value?: string,
|
||||||
|
id?: string,
|
||||||
|
autoComplete?: string
|
||||||
|
};
|
||||||
|
|
||||||
|
type State = {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* True if the field is focused, false otherwise.
|
||||||
|
*/
|
||||||
|
focused: boolean,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The current value of the field.
|
||||||
|
*/
|
||||||
|
value: string
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements a pre-styled input field to be used on pre-meeting screens.
|
||||||
|
*/
|
||||||
|
export default class InputField extends PureComponent<Props, State> {
|
||||||
|
static defaultProps: {
|
||||||
|
className: '',
|
||||||
|
type: 'text'
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Instantiates a new component.
|
||||||
|
*
|
||||||
|
* @inheritdoc
|
||||||
|
*/
|
||||||
|
constructor(props: Props) {
|
||||||
|
super(props);
|
||||||
|
|
||||||
|
this.state = {
|
||||||
|
focused: false,
|
||||||
|
value: props.value || ''
|
||||||
|
};
|
||||||
|
|
||||||
|
this._onBlur = this._onBlur.bind(this);
|
||||||
|
this._onChange = this._onChange.bind(this);
|
||||||
|
this._onFocus = this._onFocus.bind(this);
|
||||||
|
this._onKeyDown = this._onKeyDown.bind(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements {@code PureComponent.getDerivedStateFromProps}.
|
||||||
|
*
|
||||||
|
* @inheritdoc
|
||||||
|
*/
|
||||||
|
static getDerivedStateFromProps(props: Props, state: State) {
|
||||||
|
const { value } = props;
|
||||||
|
|
||||||
|
if (state.value !== value) {
|
||||||
|
return {
|
||||||
|
...state,
|
||||||
|
value
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements {@code PureComponent#render}.
|
||||||
|
*
|
||||||
|
* @inheritdoc
|
||||||
|
*/
|
||||||
|
render() {
|
||||||
|
return (
|
||||||
|
<input
|
||||||
|
autoComplete = { this.props.autoComplete }
|
||||||
|
autoFocus = { this.props.autoFocus }
|
||||||
|
className = { `field ${this.state.focused ? 'focused' : ''} ${this.props.className || ''}` }
|
||||||
|
data-testid = { this.props.testId ? this.props.testId : undefined }
|
||||||
|
id = { this.props.id }
|
||||||
|
onBlur = { this._onBlur }
|
||||||
|
onChange = { this._onChange }
|
||||||
|
onFocus = { this._onFocus }
|
||||||
|
onKeyDown = { this._onKeyDown }
|
||||||
|
onKeyPress = { this._onKeyPress }
|
||||||
|
placeholder = { this.props.placeHolder }
|
||||||
|
readOnly = { this.props.readOnly }
|
||||||
|
type = { this.props.type }
|
||||||
|
value = { this.state.value } />
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
_onBlur: () => void;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Callback for the onBlur event of the field.
|
||||||
|
*
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
_onBlur() {
|
||||||
|
this.setState({
|
||||||
|
focused: false
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
_onChange: Object => void;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Callback for the onChange event of the field.
|
||||||
|
*
|
||||||
|
* @param {Object} evt - The static event.
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
_onChange(evt) {
|
||||||
|
const value = getFieldValue(evt);
|
||||||
|
|
||||||
|
this.setState({
|
||||||
|
value
|
||||||
|
});
|
||||||
|
|
||||||
|
const { onChange } = this.props;
|
||||||
|
|
||||||
|
onChange && onChange(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
_onFocus: () => void;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Callback for the onFocus event of the field.
|
||||||
|
*
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
_onFocus() {
|
||||||
|
this.setState({
|
||||||
|
focused: true
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
_onKeyDown: Object => void;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Joins the conference on 'Enter'.
|
||||||
|
*
|
||||||
|
* @param {Event} event - Key down event object.
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
_onKeyDown(event) {
|
||||||
|
const { onSubmit } = this.props;
|
||||||
|
|
||||||
|
onSubmit && event.key === 'Enter' && onSubmit();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stop event propagation on key press.
|
||||||
|
*
|
||||||
|
* @param {Event} event - Key press event object.
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
_onKeyPress(event) {
|
||||||
|
event.stopPropagation();
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,4 +1,5 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
export { default as ActionButton } from './ActionButton';
|
export { default as ActionButton } from './ActionButton';
|
||||||
|
export { default as InputField } from './InputField';
|
||||||
export { default as PreMeetingScreen } from './PreMeetingScreen';
|
export { default as PreMeetingScreen } from './PreMeetingScreen';
|
||||||
|
|
|
@ -105,14 +105,18 @@ class MeetingsList extends Component<Props> {
|
||||||
* @returns {React.ReactNode}
|
* @returns {React.ReactNode}
|
||||||
*/
|
*/
|
||||||
render() {
|
render() {
|
||||||
const { listEmptyComponent, meetings } = this.props;
|
const { listEmptyComponent, meetings, t } = this.props;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If there are no recent meetings we don't want to display anything.
|
* If there are no recent meetings we don't want to display anything.
|
||||||
*/
|
*/
|
||||||
if (meetings) {
|
if (meetings) {
|
||||||
return (
|
return (
|
||||||
<Container className = 'meetings-list'>
|
<Container
|
||||||
|
aria-label = { t('welcomepage.recentList') }
|
||||||
|
className = 'meetings-list'
|
||||||
|
role = 'menu'
|
||||||
|
tabIndex = '-1'>
|
||||||
{
|
{
|
||||||
meetings.length === 0
|
meetings.length === 0
|
||||||
? listEmptyComponent
|
? listEmptyComponent
|
||||||
|
@ -234,16 +238,23 @@ class MeetingsList extends Component<Props> {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Container
|
<Container
|
||||||
|
aria-label = { title }
|
||||||
className = { rootClassName }
|
className = { rootClassName }
|
||||||
key = { index }
|
key = { index }
|
||||||
onClick = { onPress }>
|
onClick = { onPress }
|
||||||
|
onKeyPress = { onKeyPress }
|
||||||
|
role = 'menuitem'
|
||||||
|
tabIndex = { 0 }>
|
||||||
|
<Container className = 'left-column'>
|
||||||
|
<Text className = 'title'>
|
||||||
|
{ _toDateString(date) }
|
||||||
|
</Text>
|
||||||
|
<Text className = 'subtitle'>
|
||||||
|
{ _toTimeString(time) }
|
||||||
|
</Text>
|
||||||
|
</Container>
|
||||||
<Container className = 'right-column'>
|
<Container className = 'right-column'>
|
||||||
<Text
|
<Text className = 'title'>
|
||||||
className = 'title'
|
|
||||||
onClick = { onPress }
|
|
||||||
onKeyPress = { onKeyPress }
|
|
||||||
role = 'button'
|
|
||||||
tabIndex = { 0 }>
|
|
||||||
{ title }
|
{ title }
|
||||||
</Text>
|
</Text>
|
||||||
{
|
{
|
||||||
|
@ -259,14 +270,6 @@ class MeetingsList extends Component<Props> {
|
||||||
</Text>) : null
|
</Text>) : null
|
||||||
}
|
}
|
||||||
</Container>
|
</Container>
|
||||||
<Container className = 'left-column'>
|
|
||||||
<Text className = 'title'>
|
|
||||||
{ _toDateString(date) }
|
|
||||||
</Text>
|
|
||||||
<Text className = 'subtitle'>
|
|
||||||
{ _toTimeString(time) }
|
|
||||||
</Text>
|
|
||||||
</Container>
|
|
||||||
<Container className = 'actions'>
|
<Container className = 'actions'>
|
||||||
{ elementAfter || null }
|
{ elementAfter || null }
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { IReduxState } from '../../app/types';
|
import { IReduxState } from '../../app/types';
|
||||||
import { iAmVisitor } from '../../visitors/functions';
|
|
||||||
import { IStateful } from '../app/types';
|
import { IStateful } from '../app/types';
|
||||||
import CONFIG_WHITELIST from '../config/configWhitelist';
|
import CONFIG_WHITELIST from '../config/configWhitelist';
|
||||||
import { IConfigState } from '../config/reducer';
|
import { IConfigState } from '../config/reducer';
|
||||||
|
@ -115,12 +114,11 @@ export function shouldHideShareAudioHelper(state: IReduxState): boolean | undefi
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the disabled self view setting.
|
* Gets the disable self view setting.
|
||||||
*
|
*
|
||||||
* @param {Object} state - Redux state.
|
* @param {Object} state - Redux state.
|
||||||
* @returns {boolean}
|
* @returns {boolean}
|
||||||
*/
|
*/
|
||||||
export function getHideSelfView(state: IReduxState) {
|
export function getHideSelfView(state: IReduxState) {
|
||||||
return state['features/base/config'].disableSelfView || state['features/base/settings'].disableSelfView
|
return state['features/base/config'].disableSelfView || state['features/base/settings'].disableSelfView;
|
||||||
|| iAmVisitor(state);
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ export default class ToolboxItem extends AbstractToolboxItem<Props> {
|
||||||
onKeyDown: disabled ? undefined : onKeyDown,
|
onKeyDown: disabled ? undefined : onKeyDown,
|
||||||
onKeyPress: this._onKeyPress,
|
onKeyPress: this._onKeyPress,
|
||||||
tabIndex: 0,
|
tabIndex: 0,
|
||||||
role: 'button'
|
role: showLabel ? 'menuitem' : 'button'
|
||||||
};
|
};
|
||||||
|
|
||||||
const elementType = showLabel ? 'li' : 'div';
|
const elementType = showLabel ? 'li' : 'div';
|
||||||
|
|
|
@ -123,7 +123,7 @@ class OverflowMenuItem extends Component<Props> {
|
||||||
className = { className }
|
className = { className }
|
||||||
onClick = { disabled ? null : onClick }
|
onClick = { disabled ? null : onClick }
|
||||||
onKeyPress = { this._onKeyPress }
|
onKeyPress = { this._onKeyPress }
|
||||||
role = 'button'
|
role = 'menuitem'
|
||||||
tabIndex = { 0 }>
|
tabIndex = { 0 }>
|
||||||
<span className = 'overflow-menu-item-icon'>
|
<span className = 'overflow-menu-item-icon'>
|
||||||
<Icon
|
<Icon
|
||||||
|
|
|
@ -121,7 +121,6 @@ export default function ToolboxButtonWithIconPopup(props: Props) {
|
||||||
<div className = 'settings-button-small-icon-container'>
|
<div className = 'settings-button-small-icon-container'>
|
||||||
<Popover
|
<Popover
|
||||||
content = { popoverContent }
|
content = { popoverContent }
|
||||||
headingLabel = { ariaLabel }
|
|
||||||
onPopoverClose = { onPopoverClose }
|
onPopoverClose = { onPopoverClose }
|
||||||
onPopoverOpen = { onPopoverOpen }
|
onPopoverOpen = { onPopoverOpen }
|
||||||
position = 'top'
|
position = 'top'
|
||||||
|
|
|
@ -65,7 +65,7 @@ export default class ToolboxItem extends AbstractToolboxItem<Props> {
|
||||||
onClick: disabled ? undefined : onClick,
|
onClick: disabled ? undefined : onClick,
|
||||||
onKeyPress: this._onKeyPress,
|
onKeyPress: this._onKeyPress,
|
||||||
tabIndex: 0,
|
tabIndex: 0,
|
||||||
role: 'button'
|
role: showLabel ? 'menuitem' : 'button'
|
||||||
};
|
};
|
||||||
|
|
||||||
const elementType = showLabel ? 'li' : 'div';
|
const elementType = showLabel ? 'li' : 'div';
|
||||||
|
|
|
@ -13,12 +13,10 @@ import { IButtonProps } from '../types';
|
||||||
import styles from './buttonStyles';
|
import styles from './buttonStyles';
|
||||||
|
|
||||||
export interface IProps extends IButtonProps {
|
export interface IProps extends IButtonProps {
|
||||||
color?: string | undefined;
|
color?: string;
|
||||||
contentStyle?: Object | undefined;
|
contentStyle?: Object | undefined;
|
||||||
labelStyle?: Object | undefined;
|
labelStyle?: Object | undefined;
|
||||||
mode?: any;
|
|
||||||
style?: Object | undefined;
|
style?: Object | undefined;
|
||||||
useRippleColor?: boolean;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const Button: React.FC<IProps> = ({
|
const Button: React.FC<IProps> = ({
|
||||||
|
@ -29,36 +27,31 @@ const Button: React.FC<IProps> = ({
|
||||||
icon,
|
icon,
|
||||||
labelKey,
|
labelKey,
|
||||||
labelStyle,
|
labelStyle,
|
||||||
mode = BUTTON_MODES.CONTAINED,
|
|
||||||
onClick: onPress,
|
onClick: onPress,
|
||||||
style,
|
style,
|
||||||
type,
|
type
|
||||||
useRippleColor = true
|
|
||||||
}: IProps) => {
|
}: IProps) => {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
const { CONTAINED } = BUTTON_MODES;
|
||||||
const { DESTRUCTIVE, PRIMARY, SECONDARY, TERTIARY } = BUTTON_TYPES;
|
const { DESTRUCTIVE, PRIMARY, SECONDARY, TERTIARY } = BUTTON_TYPES;
|
||||||
const { CONTAINED, TEXT } = BUTTON_MODES;
|
|
||||||
|
|
||||||
const rippleColor
|
|
||||||
= useRippleColor ? BaseTheme.palette.action03Active : 'transparent';
|
|
||||||
|
|
||||||
let buttonLabelStyles;
|
let buttonLabelStyles;
|
||||||
let buttonStyles;
|
let buttonStyles;
|
||||||
let color;
|
let color;
|
||||||
|
let mode;
|
||||||
|
|
||||||
if (type === PRIMARY) {
|
if (type === PRIMARY) {
|
||||||
buttonLabelStyles = mode === TEXT
|
buttonLabelStyles = styles.buttonLabelPrimary;
|
||||||
? styles.buttonLabelPrimaryText
|
color = BaseTheme.palette.action01;
|
||||||
: styles.buttonLabelPrimary;
|
mode = CONTAINED;
|
||||||
color = mode === CONTAINED && BaseTheme.palette.action01;
|
|
||||||
} else if (type === SECONDARY) {
|
} else if (type === SECONDARY) {
|
||||||
buttonLabelStyles = styles.buttonLabelSecondary;
|
buttonLabelStyles = styles.buttonLabelSecondary;
|
||||||
color = mode === CONTAINED && BaseTheme.palette.action02;
|
color = BaseTheme.palette.action02;
|
||||||
|
mode = CONTAINED;
|
||||||
} else if (type === DESTRUCTIVE) {
|
} else if (type === DESTRUCTIVE) {
|
||||||
buttonLabelStyles = mode === TEXT
|
color = BaseTheme.palette.actionDanger;
|
||||||
? styles.buttonLabelDestructiveText
|
buttonLabelStyles = styles.buttonLabelDestructive;
|
||||||
: styles.buttonLabelDestructive;
|
mode = CONTAINED;
|
||||||
color = mode === CONTAINED && BaseTheme.palette.actionDanger;
|
|
||||||
} else {
|
} else {
|
||||||
color = buttonColor;
|
color = buttonColor;
|
||||||
buttonLabelStyles = styles.buttonLabel;
|
buttonLabelStyles = styles.buttonLabel;
|
||||||
|
@ -72,17 +65,15 @@ const Button: React.FC<IProps> = ({
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type === TERTIARY) {
|
if (type === TERTIARY) {
|
||||||
if (useRippleColor && disabled) {
|
buttonLabelStyles
|
||||||
buttonLabelStyles = styles.buttonLabelTertiaryDisabled;
|
= disabled ? styles.buttonLabelTertiaryDisabled : styles.buttonLabelTertiary;
|
||||||
}
|
|
||||||
buttonLabelStyles = styles.buttonLabelTertiary;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TouchableRipple
|
<TouchableRipple
|
||||||
accessibilityLabel = { accessibilityLabel }
|
accessibilityLabel = { accessibilityLabel }
|
||||||
disabled = { disabled }
|
disabled = { disabled }
|
||||||
onPress = { onPress }
|
onPress = { onPress }
|
||||||
rippleColor = { rippleColor }
|
rippleColor = { BaseTheme.palette.action03Active }
|
||||||
style = { [
|
style = { [
|
||||||
buttonStyles,
|
buttonStyles,
|
||||||
style
|
style
|
||||||
|
|
|
@ -36,7 +36,7 @@ const IconButton: React.FC<IIconButtonProps> = ({
|
||||||
iconButtonContainerStyles = styles.iconButtonContainerSecondary;
|
iconButtonContainerStyles = styles.iconButtonContainerSecondary;
|
||||||
rippleColor = BaseTheme.palette.action02;
|
rippleColor = BaseTheme.palette.action02;
|
||||||
} else if (type === TERTIARY) {
|
} else if (type === TERTIARY) {
|
||||||
color = iconColor;
|
color = BaseTheme.palette.icon01;
|
||||||
iconButtonContainerStyles = styles.iconButtonContainer;
|
iconButtonContainerStyles = styles.iconButtonContainer;
|
||||||
rippleColor = BaseTheme.palette.action03;
|
rippleColor = BaseTheme.palette.action03;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -42,11 +42,6 @@ export default {
|
||||||
color: BaseTheme.palette.text01
|
color: BaseTheme.palette.text01
|
||||||
},
|
},
|
||||||
|
|
||||||
buttonLabelPrimaryText: {
|
|
||||||
...buttonLabel,
|
|
||||||
color: BaseTheme.palette.action01
|
|
||||||
},
|
|
||||||
|
|
||||||
buttonLabelSecondary: {
|
buttonLabelSecondary: {
|
||||||
...buttonLabel,
|
...buttonLabel,
|
||||||
color: BaseTheme.palette.text04
|
color: BaseTheme.palette.text04
|
||||||
|
@ -57,11 +52,6 @@ export default {
|
||||||
color: BaseTheme.palette.text01
|
color: BaseTheme.palette.text01
|
||||||
},
|
},
|
||||||
|
|
||||||
buttonLabelDestructiveText: {
|
|
||||||
...buttonLabel,
|
|
||||||
color: BaseTheme.palette.actionDanger
|
|
||||||
},
|
|
||||||
|
|
||||||
buttonLabelTertiary: {
|
buttonLabelTertiary: {
|
||||||
...buttonLabel,
|
...buttonLabel,
|
||||||
color: BaseTheme.palette.text01,
|
color: BaseTheme.palette.text01,
|
||||||
|
|
|
@ -182,9 +182,7 @@ const BaseDialog = ({
|
||||||
<div
|
<div
|
||||||
className = { classes.backdrop }
|
className = { classes.backdrop }
|
||||||
onClick = { onBackdropClick } />
|
onClick = { onBackdropClick } />
|
||||||
<FocusLock
|
<FocusLock className = { classes.focusLock }>
|
||||||
className = { classes.focusLock }
|
|
||||||
returnFocus = { true }>
|
|
||||||
<div
|
<div
|
||||||
aria-describedby = { description }
|
aria-describedby = { description }
|
||||||
aria-labelledby = { title ?? t(titleKey ?? '') }
|
aria-labelledby = { title ?? t(titleKey ?? '') }
|
||||||
|
|
|
@ -69,7 +69,7 @@ const useStyles = makeStyles()(theme => {
|
||||||
backgroundColor: theme.palette.action01Active
|
backgroundColor: theme.palette.action01Active
|
||||||
},
|
},
|
||||||
|
|
||||||
'&.focus-visible': {
|
'&:focus': {
|
||||||
outline: 0,
|
outline: 0,
|
||||||
boxShadow: `0px 0px 0px 2px ${theme.palette.focus01}`
|
boxShadow: `0px 0px 0px 2px ${theme.palette.focus01}`
|
||||||
},
|
},
|
||||||
|
|
|
@ -53,10 +53,6 @@ const useStyles = makeStyles()(theme => {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
disabled: {
|
|
||||||
cursor: 'not-allowed'
|
|
||||||
},
|
|
||||||
|
|
||||||
activeArea: {
|
activeArea: {
|
||||||
display: 'grid',
|
display: 'grid',
|
||||||
placeContent: 'center',
|
placeContent: 'center',
|
||||||
|
@ -77,6 +73,7 @@ const useStyles = makeStyles()(theme => {
|
||||||
height: '18px',
|
height: '18px',
|
||||||
border: `2px solid ${theme.palette.icon03}`,
|
border: `2px solid ${theme.palette.icon03}`,
|
||||||
borderRadius: '3px',
|
borderRadius: '3px',
|
||||||
|
cursor: 'pointer',
|
||||||
|
|
||||||
display: 'grid',
|
display: 'grid',
|
||||||
placeContent: 'center',
|
placeContent: 'center',
|
||||||
|
@ -157,7 +154,7 @@ const Checkbox = ({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className = { cx(styles.formControl, isMobile && 'is-mobile', className) }>
|
<div className = { cx(styles.formControl, isMobile && 'is-mobile', className) }>
|
||||||
<label className = { cx(styles.activeArea, isMobile && 'is-mobile', disabled && styles.disabled) }>
|
<label className = { cx(styles.activeArea, isMobile && 'is-mobile') }>
|
||||||
<input
|
<input
|
||||||
checked = { checked }
|
checked = { checked }
|
||||||
disabled = { disabled }
|
disabled = { disabled }
|
||||||
|
|
|
@ -25,7 +25,7 @@ const useStyles = makeStyles()(theme => {
|
||||||
backgroundColor: theme.palette.ui02
|
backgroundColor: theme.palette.ui02
|
||||||
},
|
},
|
||||||
|
|
||||||
'&.focus-visible': {
|
'&:focus': {
|
||||||
outline: 0,
|
outline: 0,
|
||||||
boxShadow: `0px 0px 0px 2px ${theme.palette.focus01}`
|
boxShadow: `0px 0px 0px 2px ${theme.palette.focus01}`
|
||||||
},
|
},
|
||||||
|
|
|
@ -262,7 +262,7 @@ const ContextMenu = ({
|
||||||
onMouseEnter = { onMouseEnter }
|
onMouseEnter = { onMouseEnter }
|
||||||
onMouseLeave = { onMouseLeave }
|
onMouseLeave = { onMouseLeave }
|
||||||
ref = { containerRef }
|
ref = { containerRef }
|
||||||
role = { role }
|
role = { role ?? 'menu' }
|
||||||
tabIndex = { tabIndex }>
|
tabIndex = { tabIndex }>
|
||||||
{children}
|
{children}
|
||||||
</div>;
|
</div>;
|
||||||
|
|
|
@ -5,9 +5,6 @@ import { makeStyles } from 'tss-react/mui';
|
||||||
import { showOverflowDrawer } from '../../../../toolbox/functions.web';
|
import { showOverflowDrawer } from '../../../../toolbox/functions.web';
|
||||||
import Icon from '../../../icons/components/Icon';
|
import Icon from '../../../icons/components/Icon';
|
||||||
import { withPixelLineHeight } from '../../../styles/functions.web';
|
import { withPixelLineHeight } from '../../../styles/functions.web';
|
||||||
import { TEXT_OVERFLOW_TYPES } from '../../constants.any';
|
|
||||||
|
|
||||||
import TextWithOverflow from './TextWithOverflow';
|
|
||||||
|
|
||||||
export interface IProps {
|
export interface IProps {
|
||||||
|
|
||||||
|
@ -26,13 +23,6 @@ export interface IProps {
|
||||||
*/
|
*/
|
||||||
className?: string;
|
className?: string;
|
||||||
|
|
||||||
/**
|
|
||||||
* Id of dom element controlled by this item. Matches aria-controls.
|
|
||||||
* Useful if you need this item as a tab element.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
controls?: string;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom icon. If used, the icon prop is ignored.
|
* Custom icon. If used, the icon prop is ignored.
|
||||||
* Used to allow custom children instead of just the default icons.
|
* Used to allow custom children instead of just the default icons.
|
||||||
|
@ -62,23 +52,13 @@ export interface IProps {
|
||||||
/**
|
/**
|
||||||
* Keydown handler.
|
* Keydown handler.
|
||||||
*/
|
*/
|
||||||
onKeyDown?: (e: React.KeyboardEvent<HTMLDivElement>) => void;
|
onKeyDown?: (e?: React.KeyboardEvent) => void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Keypress handler.
|
* Keypress handler.
|
||||||
*/
|
*/
|
||||||
onKeyPress?: (e?: React.KeyboardEvent) => void;
|
onKeyPress?: (e?: React.KeyboardEvent) => void;
|
||||||
|
|
||||||
/**
|
|
||||||
* Overflow type for item text.
|
|
||||||
*/
|
|
||||||
overflowType?: TEXT_OVERFLOW_TYPES;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* You can use this item as a tab. Defaults to button if not set.
|
|
||||||
*/
|
|
||||||
role?: 'tab' | 'button';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether the item is marked as selected.
|
* Whether the item is marked as selected.
|
||||||
*/
|
*/
|
||||||
|
@ -122,7 +102,7 @@ const useStyles = makeStyles()(theme => {
|
||||||
backgroundColor: theme.palette.ui03
|
backgroundColor: theme.palette.ui03
|
||||||
},
|
},
|
||||||
|
|
||||||
'&.focus-visible': {
|
'&:focus': {
|
||||||
boxShadow: `inset 0 0 0 2px ${theme.palette.action01Hover}`
|
boxShadow: `inset 0 0 0 2px ${theme.palette.action01Hover}`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -162,7 +142,6 @@ const ContextMenuItem = ({
|
||||||
accessibilityLabel,
|
accessibilityLabel,
|
||||||
children,
|
children,
|
||||||
className,
|
className,
|
||||||
controls,
|
|
||||||
customIcon,
|
customIcon,
|
||||||
disabled,
|
disabled,
|
||||||
id,
|
id,
|
||||||
|
@ -170,8 +149,6 @@ const ContextMenuItem = ({
|
||||||
onClick,
|
onClick,
|
||||||
onKeyDown,
|
onKeyDown,
|
||||||
onKeyPress,
|
onKeyPress,
|
||||||
overflowType,
|
|
||||||
role = 'button',
|
|
||||||
selected,
|
selected,
|
||||||
testId,
|
testId,
|
||||||
text,
|
text,
|
||||||
|
@ -181,10 +158,8 @@ const ContextMenuItem = ({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
aria-controls = { controls }
|
|
||||||
aria-disabled = { disabled }
|
aria-disabled = { disabled }
|
||||||
aria-label = { accessibilityLabel }
|
aria-label = { accessibilityLabel }
|
||||||
aria-selected = { role === 'tab' ? selected : undefined }
|
|
||||||
className = { cx(styles.contextMenuItem,
|
className = { cx(styles.contextMenuItem,
|
||||||
_overflowDrawer && styles.contextMenuItemDrawer,
|
_overflowDrawer && styles.contextMenuItemDrawer,
|
||||||
disabled && styles.contextMenuItemDisabled,
|
disabled && styles.contextMenuItemDisabled,
|
||||||
|
@ -197,24 +172,19 @@ const ContextMenuItem = ({
|
||||||
onClick = { disabled ? undefined : onClick }
|
onClick = { disabled ? undefined : onClick }
|
||||||
onKeyDown = { disabled ? undefined : onKeyDown }
|
onKeyDown = { disabled ? undefined : onKeyDown }
|
||||||
onKeyPress = { disabled ? undefined : onKeyPress }
|
onKeyPress = { disabled ? undefined : onKeyPress }
|
||||||
role = { role }
|
role = 'menuitem'>
|
||||||
tabIndex = { role === 'tab'
|
|
||||||
? selected ? 0 : -1
|
|
||||||
: disabled ? undefined : 0
|
|
||||||
}>
|
|
||||||
{customIcon ? customIcon
|
{customIcon ? customIcon
|
||||||
: icon && <Icon
|
: icon && <Icon
|
||||||
className = { styles.contextMenuItemIcon }
|
className = { styles.contextMenuItemIcon }
|
||||||
size = { 20 }
|
size = { 20 }
|
||||||
src = { icon } />}
|
src = { icon } />}
|
||||||
{text && (
|
{text && (
|
||||||
<TextWithOverflow
|
<span
|
||||||
className = { cx(styles.text,
|
className = { cx(styles.text,
|
||||||
_overflowDrawer && styles.drawerText,
|
_overflowDrawer && styles.drawerText,
|
||||||
textClassName) }
|
textClassName) }>
|
||||||
overflowType = { overflowType } >
|
|
||||||
{text}
|
{text}
|
||||||
</TextWithOverflow>
|
</span>
|
||||||
)}
|
)}
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -23,6 +23,12 @@ const useStyles = makeStyles()(theme => {
|
||||||
justifyContent: 'space-between'
|
justifyContent: 'space-between'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
closeIcon: {
|
||||||
|
'&:focus': {
|
||||||
|
boxShadow: 'none'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
title: {
|
title: {
|
||||||
color: theme.palette.text01,
|
color: theme.palette.text01,
|
||||||
...withPixelLineHeight(theme.typography.heading5),
|
...withPixelLineHeight(theme.typography.heading5),
|
||||||
|
@ -131,7 +137,8 @@ const Dialog = ({
|
||||||
</p>
|
</p>
|
||||||
{!hideCloseButton && (
|
{!hideCloseButton && (
|
||||||
<ClickableIcon
|
<ClickableIcon
|
||||||
accessibilityLabel = { t('dialog.accessibilityLabel.close') }
|
accessibilityLabel = { t('dialog.close') }
|
||||||
|
className = { classes.closeIcon }
|
||||||
icon = { IconCloseLarge }
|
icon = { IconCloseLarge }
|
||||||
id = 'modal-header-close-button'
|
id = 'modal-header-close-button'
|
||||||
onClick = { onClose } />
|
onClick = { onClose } />
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import React, { ComponentType, useCallback, useEffect, useMemo, useState } from 'react';
|
import React, { ComponentType, useCallback, useEffect, useMemo, useState } from 'react';
|
||||||
import { MoveFocusInside } from 'react-focus-lock';
|
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { useDispatch, useSelector } from 'react-redux';
|
import { useDispatch, useSelector } from 'react-redux';
|
||||||
import { makeStyles } from 'tss-react/mui';
|
import { makeStyles } from 'tss-react/mui';
|
||||||
|
@ -106,7 +105,6 @@ const useStyles = makeStyles()(theme => {
|
||||||
|
|
||||||
backContainer: {
|
backContainer: {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'row-reverse',
|
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
|
|
||||||
'& > button': {
|
'& > button': {
|
||||||
|
@ -114,6 +112,12 @@ const useStyles = makeStyles()(theme => {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
closeIcon: {
|
||||||
|
'&:focus': {
|
||||||
|
boxShadow: 'none'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
content: {
|
content: {
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
overflowY: 'auto',
|
overflowY: 'auto',
|
||||||
|
@ -125,14 +129,8 @@ const useStyles = makeStyles()(theme => {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
header: {
|
|
||||||
order: -1,
|
|
||||||
paddingBottom: theme.spacing(4)
|
|
||||||
},
|
|
||||||
|
|
||||||
footer: {
|
footer: {
|
||||||
justifyContent: 'flex-end',
|
justifyContent: 'flex-end',
|
||||||
paddingTop: theme.spacing(4),
|
|
||||||
|
|
||||||
'& button:last-child': {
|
'& button:last-child': {
|
||||||
marginLeft: '16px'
|
marginLeft: '16px'
|
||||||
|
@ -145,21 +143,20 @@ interface IObject {
|
||||||
[key: string]: string | string[] | boolean | number | number[] | {} | undefined;
|
[key: string]: string | string[] | boolean | number | number[] | {} | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IDialogTab<P> {
|
export interface IDialogTab {
|
||||||
cancel?: Function;
|
|
||||||
className?: string;
|
className?: string;
|
||||||
component: ComponentType<any>;
|
component: ComponentType<any>;
|
||||||
icon: Function;
|
icon: Function;
|
||||||
labelKey: string;
|
labelKey: string;
|
||||||
name: string;
|
name: string;
|
||||||
props?: IObject;
|
props?: IObject;
|
||||||
propsUpdateFunction?: (tabState: IObject, newProps: P) => P;
|
propsUpdateFunction?: (tabState: IObject, newProps: IObject) => IObject;
|
||||||
submit?: Function;
|
submit?: Function;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IProps extends IBaseProps {
|
interface IProps extends IBaseProps {
|
||||||
defaultTab?: string;
|
defaultTab?: string;
|
||||||
tabs: IDialogTab<any>[];
|
tabs: IDialogTab[];
|
||||||
}
|
}
|
||||||
|
|
||||||
const DialogWithTabs = ({
|
const DialogWithTabs = ({
|
||||||
|
@ -172,7 +169,6 @@ const DialogWithTabs = ({
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const [ selectedTab, setSelectedTab ] = useState<string | undefined>(defaultTab ?? tabs[0].name);
|
const [ selectedTab, setSelectedTab ] = useState<string | undefined>(defaultTab ?? tabs[0].name);
|
||||||
const [ userSelected, setUserSelected ] = useState(false);
|
|
||||||
const [ tabStates, setTabStates ] = useState(tabs.map(tab => tab.props));
|
const [ tabStates, setTabStates ] = useState(tabs.map(tab => tab.props));
|
||||||
const clientWidth = useSelector((state: IReduxState) => state['features/base/responsive-ui'].clientWidth);
|
const clientWidth = useSelector((state: IReduxState) => state['features/base/responsive-ui'].clientWidth);
|
||||||
const [ isMobile, setIsMobile ] = useState(false);
|
const [ isMobile, setIsMobile ] = useState(false);
|
||||||
|
@ -193,63 +189,18 @@ const DialogWithTabs = ({
|
||||||
}
|
}
|
||||||
}, [ isMobile ]);
|
}, [ isMobile ]);
|
||||||
|
|
||||||
const onUserSelection = useCallback((tabName?: string) => {
|
|
||||||
setUserSelected(true);
|
|
||||||
setSelectedTab(tabName);
|
|
||||||
}, []);
|
|
||||||
|
|
||||||
const back = useCallback(() => {
|
const back = useCallback(() => {
|
||||||
onUserSelection(undefined);
|
setSelectedTab(undefined);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
const onClose = useCallback(() => {
|
||||||
// the userSelected state is used to prevent setting focus when the user
|
|
||||||
// didn't actually interact (for the first rendering for example)
|
|
||||||
useEffect(() => {
|
|
||||||
if (userSelected) {
|
|
||||||
document.querySelector<HTMLElement>(isMobile
|
|
||||||
? `.${classes.title}`
|
|
||||||
: `#${`dialogtab-button-${selectedTab}`}`
|
|
||||||
)?.focus();
|
|
||||||
setUserSelected(false);
|
|
||||||
}
|
|
||||||
}, [ isMobile, userSelected, selectedTab ]);
|
|
||||||
|
|
||||||
const onClose = useCallback((isCancel = true) => {
|
|
||||||
if (isCancel) {
|
|
||||||
tabs.forEach(({ cancel }) => {
|
|
||||||
cancel && dispatch(cancel());
|
|
||||||
});
|
|
||||||
}
|
|
||||||
dispatch(hideDialog());
|
dispatch(hideDialog());
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const onClick = useCallback((tabName: string) => () => {
|
const onClick = useCallback((tabName: string) => () => {
|
||||||
onUserSelection(tabName);
|
setSelectedTab(tabName);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const onTabKeyDown = useCallback((index: number) => (event: React.KeyboardEvent<HTMLDivElement>) => {
|
|
||||||
let newTab: IDialogTab<any> | null = null;
|
|
||||||
|
|
||||||
if (event.key === 'ArrowUp') {
|
|
||||||
newTab = index === 0 ? tabs[tabs.length - 1] : tabs[index - 1];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (event.key === 'ArrowDown') {
|
|
||||||
newTab = index === tabs.length - 1 ? tabs[0] : tabs[index + 1];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (newTab !== null) {
|
|
||||||
onUserSelection(newTab.name);
|
|
||||||
}
|
|
||||||
}, [ tabs.length ]);
|
|
||||||
|
|
||||||
const onMobileKeyDown = useCallback((tabName: string) => (event: React.KeyboardEvent<HTMLDivElement>) => {
|
|
||||||
if (event.key === ' ' || event.key === 'Enter') {
|
|
||||||
onUserSelection(tabName);
|
|
||||||
}
|
|
||||||
}, [ classes.contentContainer ]);
|
|
||||||
|
|
||||||
const getTabProps = (tabId: number) => {
|
const getTabProps = (tabId: number) => {
|
||||||
const tabConfiguration = tabs[tabId];
|
const tabConfiguration = tabs[tabId];
|
||||||
const currentTabState = tabStates[tabId];
|
const currentTabState = tabStates[tabId];
|
||||||
|
@ -274,7 +225,7 @@ const DialogWithTabs = ({
|
||||||
tabs.forEach(({ submit }, idx) => {
|
tabs.forEach(({ submit }, idx) => {
|
||||||
submit?.(tabStates[idx]);
|
submit?.(tabStates[idx]);
|
||||||
});
|
});
|
||||||
onClose(false);
|
onClose();
|
||||||
}, [ tabs, tabStates ]);
|
}, [ tabs, tabStates ]);
|
||||||
|
|
||||||
const selectedTabIndex = useMemo(() => {
|
const selectedTabIndex = useMemo(() => {
|
||||||
|
@ -306,7 +257,8 @@ const DialogWithTabs = ({
|
||||||
|
|
||||||
const closeIcon = useMemo(() => (
|
const closeIcon = useMemo(() => (
|
||||||
<ClickableIcon
|
<ClickableIcon
|
||||||
accessibilityLabel = { t('dialog.accessibilityLabel.close') }
|
accessibilityLabel = { t('dialog.close') }
|
||||||
|
className = { classes.closeIcon }
|
||||||
icon = { IconCloseLarge }
|
icon = { IconCloseLarge }
|
||||||
id = 'modal-header-close-button'
|
id = 'modal-header-close-button'
|
||||||
onClick = { onClose } />
|
onClick = { onClose } />
|
||||||
|
@ -318,39 +270,21 @@ const DialogWithTabs = ({
|
||||||
onClose = { onClose }
|
onClose = { onClose }
|
||||||
size = 'large'>
|
size = 'large'>
|
||||||
{(!isMobile || !selectedTab) && (
|
{(!isMobile || !selectedTab) && (
|
||||||
<div
|
<div className = { classes.sidebar }>
|
||||||
aria-orientation = 'vertical'
|
|
||||||
className = { classes.sidebar }
|
|
||||||
role = { isMobile ? undefined : 'tablist' }>
|
|
||||||
<div className = { classes.titleContainer }>
|
<div className = { classes.titleContainer }>
|
||||||
<MoveFocusInside>
|
<h2 className = { classes.title }>{t(titleKey ?? '')}</h2>
|
||||||
<h2
|
|
||||||
className = { classes.title }
|
|
||||||
tabIndex = { -1 }>
|
|
||||||
{t(titleKey ?? '')}
|
|
||||||
</h2>
|
|
||||||
</MoveFocusInside>
|
|
||||||
{isMobile && closeIcon}
|
{isMobile && closeIcon}
|
||||||
</div>
|
</div>
|
||||||
{tabs.map((tab, index) => {
|
{tabs.map(tab => {
|
||||||
const label = t(tab.labelKey);
|
const label = t(tab.labelKey);
|
||||||
|
|
||||||
/**
|
|
||||||
* When not on mobile, the items behave as tabs,
|
|
||||||
* that's why we set `controls`, `role` and `selected` attributes
|
|
||||||
* only when not on mobile, they are useful only for the tab behavior.
|
|
||||||
*/
|
|
||||||
return (
|
return (
|
||||||
<ContextMenuItem
|
<ContextMenuItem
|
||||||
accessibilityLabel = { label }
|
accessibilityLabel = { label }
|
||||||
className = { cx(isMobile && classes.menuItemMobile) }
|
className = { cx(isMobile && classes.menuItemMobile) }
|
||||||
controls = { isMobile ? undefined : `dialogtab-content-${tab.name}` }
|
|
||||||
icon = { tab.icon }
|
icon = { tab.icon }
|
||||||
id = { `dialogtab-button-${tab.name}` }
|
|
||||||
key = { tab.name }
|
key = { tab.name }
|
||||||
onClick = { onClick(tab.name) }
|
onClick = { onClick(tab.name) }
|
||||||
onKeyDown = { isMobile ? onMobileKeyDown(tab.name) : onTabKeyDown(index) }
|
|
||||||
role = { isMobile ? undefined : 'tab' }
|
|
||||||
selected = { tab.name === selectedTab }
|
selected = { tab.name === selectedTab }
|
||||||
text = { label } />
|
text = { label } />
|
||||||
);
|
);
|
||||||
|
@ -358,45 +292,26 @@ const DialogWithTabs = ({
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{(!isMobile || selectedTab) && (
|
{(!isMobile || selectedTab) && (
|
||||||
<div
|
<div className = { classes.contentContainer }>
|
||||||
className = { classes.contentContainer }
|
<div className = { classes.buttonContainer }>
|
||||||
tabIndex = { isMobile ? -1 : undefined }>
|
{isMobile && (
|
||||||
{/* DOM order is important for keyboard users: show whole heading first when on mobile… */}
|
|
||||||
{isMobile && (
|
|
||||||
<div className = { cx(classes.buttonContainer, classes.header) }>
|
|
||||||
<span className = { classes.backContainer }>
|
<span className = { classes.backContainer }>
|
||||||
<h2
|
|
||||||
className = { classes.title }
|
|
||||||
tabIndex = { -1 }>
|
|
||||||
{(selectedTabIndex !== null) && t(tabs[selectedTabIndex].labelKey)}
|
|
||||||
</h2>
|
|
||||||
<ClickableIcon
|
<ClickableIcon
|
||||||
accessibilityLabel = { t('dialog.Back') }
|
accessibilityLabel = { t('dialog.Back') }
|
||||||
|
className = { classes.closeIcon }
|
||||||
icon = { IconArrowBack }
|
icon = { IconArrowBack }
|
||||||
id = 'modal-header-back-button'
|
id = 'modal-header-back-button'
|
||||||
onClick = { back } />
|
onClick = { back } />
|
||||||
|
<h2 className = { classes.title }>
|
||||||
|
{(selectedTabIndex !== null) && t(tabs[selectedTabIndex].labelKey)}
|
||||||
|
</h2>
|
||||||
</span>
|
</span>
|
||||||
{closeIcon}
|
)}
|
||||||
</div>
|
{closeIcon}
|
||||||
)}
|
</div>
|
||||||
{tabs.map(tab => (
|
<div className = { classes.content }>
|
||||||
<div
|
{selectedTabComponent}
|
||||||
aria-labelledby = { isMobile ? undefined : `${tab.name}-button` }
|
</div>
|
||||||
className = { cx(classes.content, tab.name !== selectedTab && 'hide') }
|
|
||||||
id = { `dialogtab-content-${tab.name}` }
|
|
||||||
key = { tab.name }
|
|
||||||
role = { isMobile ? undefined : 'tabpanel' }
|
|
||||||
tabIndex = { isMobile ? -1 : 0 }>
|
|
||||||
{ tab.name === selectedTab && selectedTabComponent }
|
|
||||||
</div>
|
|
||||||
))}
|
|
||||||
{/* But show the close button *after* tab panels when not on mobile (using tabs).
|
|
||||||
This is so that we can tab back and forth tab buttons and tab panels easily. */}
|
|
||||||
{!isMobile && (
|
|
||||||
<div className = { cx(classes.buttonContainer, classes.header) }>
|
|
||||||
{closeIcon}
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
<div
|
<div
|
||||||
className = { cx(classes.buttonContainer, classes.footer) }>
|
className = { cx(classes.buttonContainer, classes.footer) }>
|
||||||
<Button
|
<Button
|
||||||
|
|
|
@ -23,7 +23,6 @@ interface IProps extends IInputProps {
|
||||||
onKeyPress?: (e: React.KeyboardEvent) => void;
|
onKeyPress?: (e: React.KeyboardEvent) => void;
|
||||||
readOnly?: boolean;
|
readOnly?: boolean;
|
||||||
required?: boolean;
|
required?: boolean;
|
||||||
testId?: string;
|
|
||||||
textarea?: boolean;
|
textarea?: boolean;
|
||||||
type?: 'text' | 'email' | 'number' | 'password';
|
type?: 'text' | 'email' | 'number' | 'password';
|
||||||
}
|
}
|
||||||
|
@ -153,7 +152,6 @@ const Input = React.forwardRef<any, IProps>(({
|
||||||
placeholder,
|
placeholder,
|
||||||
readOnly = false,
|
readOnly = false,
|
||||||
required,
|
required,
|
||||||
testId,
|
|
||||||
textarea = false,
|
textarea = false,
|
||||||
type = 'text',
|
type = 'text',
|
||||||
value
|
value
|
||||||
|
@ -203,7 +201,6 @@ const Input = React.forwardRef<any, IProps>(({
|
||||||
autoFocus = { autoFocus }
|
autoFocus = { autoFocus }
|
||||||
className = { cx(styles.input, isMobile && 'is-mobile',
|
className = { cx(styles.input, isMobile && 'is-mobile',
|
||||||
error && 'error', clearable && styles.clearableInput, icon && 'icon-input') }
|
error && 'error', clearable && styles.clearableInput, icon && 'icon-input') }
|
||||||
data-testid = { testId }
|
|
||||||
disabled = { disabled }
|
disabled = { disabled }
|
||||||
{ ...(id ? { id } : {}) }
|
{ ...(id ? { id } : {}) }
|
||||||
maxLength = { maxLength }
|
maxLength = { maxLength }
|
||||||
|
|
|
@ -79,7 +79,7 @@ const useStyles = makeStyles()(theme => {
|
||||||
width: '100%',
|
width: '100%',
|
||||||
...withPixelLineHeight(theme.typography.bodyShortRegular),
|
...withPixelLineHeight(theme.typography.bodyShortRegular),
|
||||||
color: theme.palette.text01,
|
color: theme.palette.text01,
|
||||||
padding: '10px 16px',
|
padding: '8px 16px',
|
||||||
paddingRight: '42px',
|
paddingRight: '42px',
|
||||||
border: 0,
|
border: 0,
|
||||||
appearance: 'none',
|
appearance: 'none',
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import React, { useCallback, useEffect } from 'react';
|
import React, { useCallback } from 'react';
|
||||||
import { makeStyles } from 'tss-react/mui';
|
import { makeStyles } from 'tss-react/mui';
|
||||||
|
|
||||||
import { isMobileBrowser } from '../../../environment/utils';
|
import { isMobileBrowser } from '../../../environment/utils';
|
||||||
|
@ -11,7 +11,6 @@ interface ITabProps {
|
||||||
selected: string;
|
selected: string;
|
||||||
tabs: Array<{
|
tabs: Array<{
|
||||||
accessibilityLabel: string;
|
accessibilityLabel: string;
|
||||||
controlsId: string;
|
|
||||||
countBadge?: number;
|
countBadge?: number;
|
||||||
disabled?: boolean;
|
disabled?: boolean;
|
||||||
id: string;
|
id: string;
|
||||||
|
@ -45,7 +44,7 @@ const useStyles = makeStyles()(theme => {
|
||||||
borderColor: theme.palette.ui10
|
borderColor: theme.palette.ui10
|
||||||
},
|
},
|
||||||
|
|
||||||
'&.focus-visible': {
|
'&:focus': {
|
||||||
outline: 0,
|
outline: 0,
|
||||||
boxShadow: `0px 0px 0px 2px ${theme.palette.focus01}`,
|
boxShadow: `0px 0px 0px 2px ${theme.palette.focus01}`,
|
||||||
border: 0,
|
border: 0,
|
||||||
|
@ -88,52 +87,26 @@ const Tabs = ({
|
||||||
}: ITabProps) => {
|
}: ITabProps) => {
|
||||||
const { classes, cx } = useStyles();
|
const { classes, cx } = useStyles();
|
||||||
const isMobile = isMobileBrowser();
|
const isMobile = isMobileBrowser();
|
||||||
const onClick = useCallback(id => () => {
|
|
||||||
onChange(id);
|
const handleChange = useCallback((e: React.MouseEvent<HTMLButtonElement>) => {
|
||||||
|
onChange(e.currentTarget.id);
|
||||||
}, []);
|
}, []);
|
||||||
const onKeyDown = useCallback((index: number) => (event: React.KeyboardEvent<HTMLButtonElement>) => {
|
|
||||||
let newIndex: number | null = null;
|
|
||||||
|
|
||||||
if (event.key === 'ArrowLeft') {
|
|
||||||
event.preventDefault();
|
|
||||||
newIndex = index === 0 ? tabs.length - 1 : index - 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (event.key === 'ArrowRight') {
|
|
||||||
event.preventDefault();
|
|
||||||
newIndex = index === tabs.length - 1 ? 0 : index + 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (newIndex !== null) {
|
|
||||||
onChange(tabs[newIndex].id);
|
|
||||||
}
|
|
||||||
}, [ tabs ]);
|
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
// this test is needed to make sure the effect is triggered because of user actually changing tab
|
|
||||||
if (document.activeElement?.getAttribute('role') === 'tab') {
|
|
||||||
document.querySelector<HTMLButtonElement>(`#${selected}`)?.focus();
|
|
||||||
}
|
|
||||||
}, [ selected ]);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
aria-label = { accessibilityLabel }
|
aria-label = { accessibilityLabel }
|
||||||
className = { cx(classes.container, className) }
|
className = { cx(classes.container, className) }
|
||||||
role = 'tablist'>
|
role = 'tablist'>
|
||||||
{tabs.map((tab, index) => (
|
{tabs.map(tab => (
|
||||||
<button
|
<button
|
||||||
aria-controls = { tab.controlsId }
|
|
||||||
aria-label = { tab.accessibilityLabel }
|
aria-label = { tab.accessibilityLabel }
|
||||||
aria-selected = { selected === tab.id }
|
aria-selected = { selected === tab.id }
|
||||||
className = { cx(classes.tab, selected === tab.id && 'selected', isMobile && 'is-mobile') }
|
className = { cx(classes.tab, selected === tab.id && 'selected', isMobile && 'is-mobile') }
|
||||||
disabled = { tab.disabled }
|
disabled = { tab.disabled }
|
||||||
id = { tab.id }
|
id = { tab.id }
|
||||||
key = { tab.id }
|
key = { tab.id }
|
||||||
onClick = { onClick(tab.id) }
|
onClick = { handleChange }
|
||||||
onKeyDown = { onKeyDown(index) }
|
role = 'tab'>
|
||||||
role = 'tab'
|
|
||||||
tabIndex = { selected === tab.id ? undefined : -1 }>
|
|
||||||
{tab.label}
|
{tab.label}
|
||||||
{tab.countBadge && <span className = { classes.badge }>{tab.countBadge}</span>}
|
{tab.countBadge && <span className = { classes.badge }>{tab.countBadge}</span>}
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -1,74 +0,0 @@
|
||||||
import React, { ReactNode, useRef } from 'react';
|
|
||||||
import { keyframes } from 'styled-components';
|
|
||||||
import { makeStyles } from 'tss-react/mui';
|
|
||||||
|
|
||||||
import { TEXT_OVERFLOW_TYPES } from '../../constants.web';
|
|
||||||
|
|
||||||
interface ITextWithOverflowProps {
|
|
||||||
children: ReactNode;
|
|
||||||
className?: string;
|
|
||||||
overflowType?: TEXT_OVERFLOW_TYPES;
|
|
||||||
}
|
|
||||||
|
|
||||||
const useStyles = makeStyles<{ translateDiff: number; }>()((_, { translateDiff }) => {
|
|
||||||
return {
|
|
||||||
animation: {
|
|
||||||
'&:hover': {
|
|
||||||
animation: `${keyframes`
|
|
||||||
0%, 20% {
|
|
||||||
transform: translateX(0%);
|
|
||||||
left: 0%;
|
|
||||||
}
|
|
||||||
80%, 100% {
|
|
||||||
transform: translateX(-${translateDiff}px);
|
|
||||||
left: 100%;
|
|
||||||
}
|
|
||||||
`} ${Math.max(translateDiff * 50, 2000)}ms infinite alternate linear;`
|
|
||||||
}
|
|
||||||
},
|
|
||||||
textContainer: {
|
|
||||||
overflow: 'hidden'
|
|
||||||
},
|
|
||||||
[TEXT_OVERFLOW_TYPES.ELLIPSIS]: {
|
|
||||||
display: 'block',
|
|
||||||
overflow: 'hidden',
|
|
||||||
textOverflow: 'ellipsis',
|
|
||||||
whiteSpace: 'nowrap'
|
|
||||||
},
|
|
||||||
[TEXT_OVERFLOW_TYPES.SCROLL_ON_HOVER]: {
|
|
||||||
display: 'inline-block',
|
|
||||||
overflow: 'visible',
|
|
||||||
whiteSpace: 'nowrap'
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
const TextWithOverflow = ({
|
|
||||||
className,
|
|
||||||
overflowType = TEXT_OVERFLOW_TYPES.ELLIPSIS,
|
|
||||||
children
|
|
||||||
}: ITextWithOverflowProps) => {
|
|
||||||
const containerRef = useRef<HTMLDivElement>(null);
|
|
||||||
const contentRef = useRef<HTMLSpanElement>(null);
|
|
||||||
const shouldAnimateOnHover = overflowType === TEXT_OVERFLOW_TYPES.SCROLL_ON_HOVER
|
|
||||||
&& containerRef.current
|
|
||||||
&& contentRef.current
|
|
||||||
&& containerRef.current.clientWidth < contentRef.current.clientWidth;
|
|
||||||
|
|
||||||
const translateDiff = shouldAnimateOnHover ? contentRef.current.clientWidth - containerRef.current.clientWidth : 0;
|
|
||||||
const { classes: styles, cx } = useStyles({ translateDiff });
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div
|
|
||||||
className = { cx(className, styles.textContainer) }
|
|
||||||
ref = { containerRef }>
|
|
||||||
<span
|
|
||||||
className = { cx(styles[overflowType], shouldAnimateOnHover && styles.animation) }
|
|
||||||
ref = { contentRef }>
|
|
||||||
{children}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default TextWithOverflow;
|
|
|
@ -8,21 +8,11 @@ export enum BUTTON_TYPES {
|
||||||
TERTIARY = 'tertiary'
|
TERTIARY = 'tertiary'
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Behaviour types for showing overflow text content.
|
|
||||||
*/
|
|
||||||
export enum TEXT_OVERFLOW_TYPES {
|
|
||||||
ELLIPSIS = 'ellipsis',
|
|
||||||
SCROLL_ON_HOVER = 'scroll-on-hover'
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The modes of the buttons.
|
* The modes of the buttons.
|
||||||
*/
|
*/
|
||||||
export const BUTTON_MODES: {
|
export const BUTTON_MODES: {
|
||||||
CONTAINED: 'contained';
|
CONTAINED: 'contained';
|
||||||
TEXT: 'text';
|
|
||||||
} = {
|
} = {
|
||||||
CONTAINED: 'contained',
|
CONTAINED: 'contained'
|
||||||
TEXT: 'text'
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -202,8 +202,7 @@ class CalendarList extends AbstractPage<Props> {
|
||||||
className = 'meetings-list-empty-button'
|
className = 'meetings-list-empty-button'
|
||||||
onClick = { this._onOpenSettings }
|
onClick = { this._onOpenSettings }
|
||||||
onKeyPress = { this._onKeyPressOpenSettings }
|
onKeyPress = { this._onKeyPressOpenSettings }
|
||||||
role = 'button'
|
role = 'button'>
|
||||||
tabIndex = { 0 }>
|
|
||||||
<Icon
|
<Icon
|
||||||
className = 'meetings-list-empty-icon'
|
className = 'meetings-list-empty-icon'
|
||||||
src = { IconCalendar } />
|
src = { IconCalendar } />
|
||||||
|
|
|
@ -1,11 +1,3 @@
|
||||||
/* eslint-disable lines-around-comment, max-len */
|
|
||||||
|
|
||||||
import { navigate }
|
|
||||||
// @ts-ignore
|
|
||||||
from '../mobile/navigation/components/conference/ConferenceNavigationContainerRef';
|
|
||||||
// @ts-ignore
|
|
||||||
import { screen } from '../mobile/navigation/routes';
|
|
||||||
|
|
||||||
import { OPEN_CHAT } from './actionTypes';
|
import { OPEN_CHAT } from './actionTypes';
|
||||||
|
|
||||||
export * from './actions.any';
|
export * from './actions.any';
|
||||||
|
@ -14,19 +6,13 @@ export * from './actions.any';
|
||||||
* Displays the chat panel.
|
* Displays the chat panel.
|
||||||
*
|
*
|
||||||
* @param {Object} participant - The recipient for the private chat.
|
* @param {Object} participant - The recipient for the private chat.
|
||||||
* @param {boolean} disablePolls - Checks if polls are disabled.
|
|
||||||
*
|
*
|
||||||
* @returns {{
|
* @returns {{
|
||||||
* participant: participant,
|
* participant: Participant,
|
||||||
* type: OPEN_CHAT
|
* type: OPEN_CHAT
|
||||||
* }}
|
* }}
|
||||||
*/
|
*/
|
||||||
export function openChat(participant: Object, disablePolls: boolean) {
|
export function openChat(participant: Object) {
|
||||||
if (disablePolls) {
|
|
||||||
navigate(screen.conference.chat);
|
|
||||||
}
|
|
||||||
navigate(screen.conference.chatandpolls.main);
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
participant,
|
participant,
|
||||||
type: OPEN_CHAT
|
type: OPEN_CHAT
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
// @ts-ignore
|
// @ts-expect-error
|
||||||
import VideoLayout from '../../../modules/UI/videolayout/VideoLayout';
|
import VideoLayout from '../../../modules/UI/videolayout/VideoLayout';
|
||||||
import { IStore } from '../app/types';
|
import { IStore } from '../app/types';
|
||||||
|
import { getParticipantById } from '../base/participants/functions';
|
||||||
|
|
||||||
import { OPEN_CHAT } from './actionTypes';
|
import { OPEN_CHAT } from './actionTypes';
|
||||||
import { closeChat } from './actions.any';
|
import { closeChat } from './actions.any';
|
||||||
|
@ -25,6 +26,27 @@ export function openChat(participant?: Object) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Displays the chat panel for a participant identified by an id.
|
||||||
|
*
|
||||||
|
* @param {string} id - The id of the participant.
|
||||||
|
* @returns {{
|
||||||
|
* participant: Participant,
|
||||||
|
* type: OPEN_CHAT
|
||||||
|
* }}
|
||||||
|
*/
|
||||||
|
export function openChatById(id: string) {
|
||||||
|
return function(dispatch: IStore['dispatch'], getState: IStore['getState']) {
|
||||||
|
const participant = getParticipantById(getState(), id);
|
||||||
|
|
||||||
|
return dispatch({
|
||||||
|
participant,
|
||||||
|
type: OPEN_CHAT
|
||||||
|
});
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Toggles display of the chat panel.
|
* Toggles display of the chat panel.
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { IconMessage, IconReply } from '../../../base/icons';
|
||||||
import { getParticipantById } from '../../../base/participants';
|
import { getParticipantById } from '../../../base/participants';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
import { handleLobbyChatInitialized, openChat } from '../../../chat/actions.native';
|
import { handleLobbyChatInitialized, openChat } from '../../../chat/actions';
|
||||||
import { navigate } from '../../../mobile/navigation/components/conference/ConferenceNavigationContainerRef';
|
import { navigate } from '../../../mobile/navigation/components/conference/ConferenceNavigationContainerRef';
|
||||||
import { screen } from '../../../mobile/navigation/routes';
|
import { screen } from '../../../mobile/navigation/routes';
|
||||||
|
|
||||||
|
|
|
@ -134,38 +134,35 @@ class Chat extends AbstractChat<Props> {
|
||||||
_renderChat() {
|
_renderChat() {
|
||||||
const { _isPollsEnabled, _isPollsTabFocused } = this.props;
|
const { _isPollsEnabled, _isPollsTabFocused } = this.props;
|
||||||
|
|
||||||
|
if (_isPollsTabFocused) {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
{ _isPollsEnabled && this._renderTabs() }
|
||||||
|
<div
|
||||||
|
aria-labelledby = { CHAT_TABS.POLLS }
|
||||||
|
id = 'polls-panel'
|
||||||
|
role = 'tabpanel'>
|
||||||
|
<PollsPane />
|
||||||
|
</div>
|
||||||
|
<KeyboardAvoider />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{ _isPollsEnabled && this._renderTabs() }
|
{ _isPollsEnabled && this._renderTabs() }
|
||||||
<div
|
<div
|
||||||
aria-labelledby = { CHAT_TABS.CHAT }
|
aria-labelledby = { CHAT_TABS.CHAT }
|
||||||
className = { clsx(
|
className = { clsx('chat-panel', !_isPollsEnabled && 'chat-panel-no-tabs') }
|
||||||
'chat-panel',
|
id = 'chat-panel'
|
||||||
!_isPollsEnabled && 'chat-panel-no-tabs',
|
role = 'tabpanel'>
|
||||||
_isPollsTabFocused && 'hide'
|
|
||||||
) }
|
|
||||||
id = { `${CHAT_TABS.CHAT}-panel` }
|
|
||||||
role = 'tabpanel'
|
|
||||||
tabIndex = { 0 }>
|
|
||||||
<MessageContainer
|
<MessageContainer
|
||||||
messages = { this.props._messages } />
|
messages = { this.props._messages } />
|
||||||
<MessageRecipient />
|
<MessageRecipient />
|
||||||
<ChatInput
|
<ChatInput
|
||||||
onSend = { this._onSendMessage } />
|
onSend = { this._onSendMessage } />
|
||||||
</div>
|
</div>
|
||||||
{ _isPollsEnabled && (
|
|
||||||
<>
|
|
||||||
<div
|
|
||||||
aria-labelledby = { CHAT_TABS.POLLS }
|
|
||||||
className = { clsx('polls-panel', !_isPollsTabFocused && 'hide') }
|
|
||||||
id = { `${CHAT_TABS.POLLS}-panel` }
|
|
||||||
role = 'tabpanel'
|
|
||||||
tabIndex = { 0 }>
|
|
||||||
<PollsPane />
|
|
||||||
</div>
|
|
||||||
<KeyboardAvoider />
|
|
||||||
</>
|
|
||||||
)}
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -188,13 +185,11 @@ class Chat extends AbstractChat<Props> {
|
||||||
accessibilityLabel: t('chat.tabs.chat'),
|
accessibilityLabel: t('chat.tabs.chat'),
|
||||||
countBadge: _isPollsTabFocused && _nbUnreadMessages > 0 ? _nbUnreadMessages : undefined,
|
countBadge: _isPollsTabFocused && _nbUnreadMessages > 0 ? _nbUnreadMessages : undefined,
|
||||||
id: CHAT_TABS.CHAT,
|
id: CHAT_TABS.CHAT,
|
||||||
controlsId: `${CHAT_TABS.CHAT}-panel`,
|
|
||||||
label: t('chat.tabs.chat')
|
label: t('chat.tabs.chat')
|
||||||
}, {
|
}, {
|
||||||
accessibilityLabel: t('chat.tabs.polls'),
|
accessibilityLabel: t('chat.tabs.polls'),
|
||||||
countBadge: !_isPollsTabFocused && _nbUnreadPolls > 0 ? _nbUnreadPolls : undefined,
|
countBadge: !_isPollsTabFocused && _nbUnreadPolls > 0 ? _nbUnreadPolls : undefined,
|
||||||
id: CHAT_TABS.POLLS,
|
id: CHAT_TABS.POLLS,
|
||||||
controlsId: `${CHAT_TABS.POLLS}-panel`,
|
|
||||||
label: t('chat.tabs.polls')
|
label: t('chat.tabs.polls')
|
||||||
}
|
}
|
||||||
] } />
|
] } />
|
||||||
|
|
|
@ -46,12 +46,9 @@ function Header({ onCancel, className, isPollsEnabled, t }: Props) {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className = { className || 'chat-dialog-header' }>
|
className = { className || 'chat-dialog-header' }
|
||||||
<span
|
role = 'heading'>
|
||||||
aria-level = { 1 }
|
{ t(isPollsEnabled ? 'chat.titleWithPolls' : 'chat.title') }
|
||||||
role = 'heading'>
|
|
||||||
{ t(isPollsEnabled ? 'chat.titleWithPolls' : 'chat.title') }
|
|
||||||
</span>
|
|
||||||
<Icon
|
<Icon
|
||||||
ariaLabel = { t('toolbar.closeChat') }
|
ariaLabel = { t('toolbar.closeChat') }
|
||||||
onClick = { onCancel }
|
onClick = { onCancel }
|
||||||
|
|
|
@ -115,6 +115,7 @@ class ChatInput extends Component<IProps, IState> {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<Input
|
<Input
|
||||||
|
autoFocus = { true }
|
||||||
className = 'chat-input'
|
className = 'chat-input'
|
||||||
icon = { this.props._areSmileysDisabled ? undefined : IconFaceSmile }
|
icon = { this.props._areSmileysDisabled ? undefined : IconFaceSmile }
|
||||||
iconClick = { this._toggleSmileysPanel }
|
iconClick = { this._toggleSmileysPanel }
|
||||||
|
|
|
@ -8,7 +8,6 @@ export const CONFERENCE_INFO = {
|
||||||
'e2ee',
|
'e2ee',
|
||||||
'transcribing',
|
'transcribing',
|
||||||
'video-quality',
|
'video-quality',
|
||||||
'visitors-count',
|
|
||||||
'insecure-room',
|
'insecure-room',
|
||||||
'top-panel-toggle'
|
'top-panel-toggle'
|
||||||
]
|
]
|
||||||
|
|