ref: eslint-config-jitsi@1.0.3

This commit is contained in:
Bettenbuk Zoltan 2020-05-20 12:57:03 +02:00 committed by Zoltan Bettenbuk
parent 8c30e43b5f
commit 0598e7369b
359 changed files with 1025 additions and 680 deletions

2
app.js
View File

@ -6,10 +6,10 @@ import 'jQuery-Impromptu';
import conference from './conference'; import conference from './conference';
import API from './modules/API'; import API from './modules/API';
import UI from './modules/UI/UI';
import keyboardshortcut from './modules/keyboardshortcut/keyboardshortcut'; import keyboardshortcut from './modules/keyboardshortcut/keyboardshortcut';
import remoteControl from './modules/remotecontrol/RemoteControl'; import remoteControl from './modules/remotecontrol/RemoteControl';
import translation from './modules/translation/translation'; import translation from './modules/translation/translation';
import UI from './modules/UI/UI';
window.APP = { window.APP = {
API, API,

View File

@ -1,20 +1,16 @@
/* global $, APP, JitsiMeetJS, config, interfaceConfig */ /* global $, APP, JitsiMeetJS, config, interfaceConfig */
import { openConnection } from './connection'; import EventEmitter from 'events';
import Logger from 'jitsi-meet-logger';
import * as JitsiMeetConferenceEvents from './ConferenceEvents';
import { openConnection } from './connection';
import { ENDPOINT_TEXT_MESSAGE_NAME } from './modules/API/constants'; import { ENDPOINT_TEXT_MESSAGE_NAME } from './modules/API/constants';
import AuthHandler from './modules/UI/authentication/AuthHandler'; import AuthHandler from './modules/UI/authentication/AuthHandler';
import Recorder from './modules/recorder/Recorder';
import mediaDeviceHelper from './modules/devices/mediaDeviceHelper';
import * as RemoteControlEvents
from './service/remotecontrol/RemoteControlEvents';
import UIEvents from './service/UI/UIEvents';
import UIUtil from './modules/UI/util/UIUtil'; import UIUtil from './modules/UI/util/UIUtil';
import mediaDeviceHelper from './modules/devices/mediaDeviceHelper';
import Recorder from './modules/recorder/Recorder';
import { createTaskQueue } from './modules/util/helpers'; import { createTaskQueue } from './modules/util/helpers';
import * as JitsiMeetConferenceEvents from './ConferenceEvents';
import { import {
createDeviceChangedEvent, createDeviceChangedEvent,
createStartSilentEvent, createStartSilentEvent,
@ -27,16 +23,6 @@ import {
redirectToStaticPage, redirectToStaticPage,
reloadWithStoredParams reloadWithStoredParams
} from './react/features/app'; } from './react/features/app';
import {
initPrejoin,
isPrejoinPageEnabled,
isPrejoinPageVisible,
replacePrejoinAudioTrack,
replacePrejoinVideoTrack
} from './react/features/prejoin';
import EventEmitter from 'events';
import { import {
AVATAR_ID_COMMAND, AVATAR_ID_COMMAND,
AVATAR_URL_COMMAND, AVATAR_URL_COMMAND,
@ -86,7 +72,6 @@ import {
setVideoAvailable, setVideoAvailable,
setVideoMuted setVideoMuted
} from './react/features/base/media'; } from './react/features/base/media';
import { showNotification } from './react/features/notifications';
import { import {
dominantSpeakerChanged, dominantSpeakerChanged,
getLocalParticipant, getLocalParticipant,
@ -124,16 +109,27 @@ import {
maybeOpenFeedbackDialog, maybeOpenFeedbackDialog,
submitFeedback submitFeedback
} from './react/features/feedback'; } from './react/features/feedback';
import { showNotification } from './react/features/notifications';
import { mediaPermissionPromptVisibilityChanged } from './react/features/overlay'; import { mediaPermissionPromptVisibilityChanged } from './react/features/overlay';
import { suspendDetected } from './react/features/power-monitor'; import { suspendDetected } from './react/features/power-monitor';
import {
initPrejoin,
isPrejoinPageEnabled,
isPrejoinPageVisible,
replacePrejoinAudioTrack,
replacePrejoinVideoTrack
} from './react/features/prejoin';
import { createRnnoiseProcessorPromise } from './react/features/rnnoise';
import { toggleScreenshotCaptureEffect } from './react/features/screenshot-capture';
import { setSharedVideoStatus } from './react/features/shared-video'; import { setSharedVideoStatus } from './react/features/shared-video';
import { AudioMixerEffect } from './react/features/stream-effects/audio-mixer/AudioMixerEffect'; import { AudioMixerEffect } from './react/features/stream-effects/audio-mixer/AudioMixerEffect';
import { createPresenterEffect } from './react/features/stream-effects/presenter'; import { createPresenterEffect } from './react/features/stream-effects/presenter';
import { endpointMessageReceived } from './react/features/subtitles'; import { endpointMessageReceived } from './react/features/subtitles';
import { createRnnoiseProcessorPromise } from './react/features/rnnoise'; import UIEvents from './service/UI/UIEvents';
import { toggleScreenshotCaptureEffect } from './react/features/screenshot-capture'; import * as RemoteControlEvents
from './service/remotecontrol/RemoteControlEvents';
const logger = require('jitsi-meet-logger').getLogger(__filename); const logger = Logger.getLogger(__filename);
const eventEmitter = new EventEmitter(); const eventEmitter = new EventEmitter();

View File

@ -1,9 +1,9 @@
/* global APP, JitsiMeetJS, config */ /* global APP, JitsiMeetJS, config */
import Logger from 'jitsi-meet-logger';
import { jitsiLocalStorage } from 'js-utils'; import { jitsiLocalStorage } from 'js-utils';
import AuthHandler from './modules/UI/authentication/AuthHandler'; import AuthHandler from './modules/UI/authentication/AuthHandler';
import { import {
connectionEstablished, connectionEstablished,
connectionFailed connectionFailed
@ -14,7 +14,7 @@ import {
JitsiConnectionEvents JitsiConnectionEvents
} from './react/features/base/lib-jitsi-meet'; } from './react/features/base/lib-jitsi-meet';
const logger = require('jitsi-meet-logger').getLogger(__filename); const logger = Logger.getLogger(__filename);
/** /**
* The feature announced so we can distinguish jibri participants. * The feature announced so we can distinguish jibri participants.

View File

@ -1,5 +1,7 @@
// @flow // @flow
import Logger from 'jitsi-meet-logger';
import * as JitsiMeetConferenceEvents from '../../ConferenceEvents'; import * as JitsiMeetConferenceEvents from '../../ConferenceEvents';
import { import {
createApiEvent, createApiEvent,
@ -11,18 +13,19 @@ import {
setSubject setSubject
} from '../../react/features/base/conference'; } from '../../react/features/base/conference';
import { parseJWTFromURLParams } from '../../react/features/base/jwt'; import { parseJWTFromURLParams } from '../../react/features/base/jwt';
import { setE2EEKey } from '../../react/features/e2ee';
import { invite } from '../../react/features/invite';
import { toggleTileView } from '../../react/features/video-layout';
import { setVideoQuality } from '../../react/features/video-quality';
import { getJitsiMeetTransport } from '../transport';
import { muteAllParticipants } from '../../react/features/remote-video-menu/actions';
import { API_ID, ENDPOINT_TEXT_MESSAGE_NAME } from './constants';
import { import {
processExternalDeviceRequest processExternalDeviceRequest
} from '../../react/features/device-selection/functions'; } from '../../react/features/device-selection/functions';
import { setE2EEKey } from '../../react/features/e2ee';
import { invite } from '../../react/features/invite';
import { muteAllParticipants } from '../../react/features/remote-video-menu/actions';
import { toggleTileView } from '../../react/features/video-layout';
import { setVideoQuality } from '../../react/features/video-quality';
import { getJitsiMeetTransport } from '../transport';
const logger = require('jitsi-meet-logger').getLogger(__filename); import { API_ID, ENDPOINT_TEXT_MESSAGE_NAME } from './constants';
const logger = Logger.getLogger(__filename);
declare var APP: Object; declare var APP: Object;

View File

@ -1,16 +1,10 @@
/* global APP, $, config, interfaceConfig */ /* global APP, $, config, interfaceConfig */
const logger = require('jitsi-meet-logger').getLogger(__filename);
const UI = {}; const UI = {};
import messageHandler from './util/MessageHandler'; import EventEmitter from 'events';
import UIUtil from './util/UIUtil'; import Logger from 'jitsi-meet-logger';
import UIEvents from '../../service/UI/UIEvents';
import EtherpadManager from './etherpad/Etherpad';
import SharedVideoManager from './shared_video/SharedVideo';
import VideoLayout from './videolayout/VideoLayout';
import { getLocalParticipant } from '../../react/features/base/participants'; import { getLocalParticipant } from '../../react/features/base/participants';
import { toggleChat } from '../../react/features/chat'; import { toggleChat } from '../../react/features/chat';
@ -22,8 +16,15 @@ import {
setToolboxEnabled, setToolboxEnabled,
showToolbox showToolbox
} from '../../react/features/toolbox'; } from '../../react/features/toolbox';
import UIEvents from '../../service/UI/UIEvents';
const EventEmitter = require('events'); import EtherpadManager from './etherpad/Etherpad';
import SharedVideoManager from './shared_video/SharedVideo';
import messageHandler from './util/MessageHandler';
import UIUtil from './util/UIUtil';
import VideoLayout from './videolayout/VideoLayout';
const logger = Logger.getLogger(__filename);
UI.messageHandler = messageHandler; UI.messageHandler = messageHandler;

View File

@ -1,5 +1,7 @@
/* global APP, config, JitsiMeetJS, Promise */ /* global APP, config, JitsiMeetJS, Promise */
import Logger from 'jitsi-meet-logger';
import { openConnection } from '../../../connection'; import { openConnection } from '../../../connection';
import { setJWT } from '../../../react/features/base/jwt'; import { setJWT } from '../../../react/features/base/jwt';
import { import {
@ -9,7 +11,7 @@ import UIUtil from '../util/UIUtil';
import LoginDialog from './LoginDialog'; import LoginDialog from './LoginDialog';
const logger = require('jitsi-meet-logger').getLogger(__filename); const logger = Logger.getLogger(__filename);
let externalAuthWindow; let externalAuthWindow;
let authRequiredDialog; let authRequiredDialog;

View File

@ -2,10 +2,9 @@
import { getSharedDocumentUrl, setDocumentEditingState } from '../../../react/features/etherpad'; import { getSharedDocumentUrl, setDocumentEditingState } from '../../../react/features/etherpad';
import { getToolboxHeight } from '../../../react/features/toolbox'; import { getToolboxHeight } from '../../../react/features/toolbox';
import VideoLayout from '../videolayout/VideoLayout';
import LargeContainer from '../videolayout/LargeContainer';
import Filmstrip from '../videolayout/Filmstrip'; import Filmstrip from '../videolayout/Filmstrip';
import LargeContainer from '../videolayout/LargeContainer';
import VideoLayout from '../videolayout/VideoLayout';
/** /**
* *

View File

@ -1,14 +1,7 @@
/* global $, APP, YT, interfaceConfig, onPlayerReady, onPlayerStateChange, /* global $, APP, YT, interfaceConfig, onPlayerReady, onPlayerStateChange,
onPlayerError */ onPlayerError */
const logger = require('jitsi-meet-logger').getLogger(__filename); import Logger from 'jitsi-meet-logger';
import UIUtil from '../util/UIUtil';
import UIEvents from '../../../service/UI/UIEvents';
import VideoLayout from '../videolayout/VideoLayout';
import LargeContainer from '../videolayout/LargeContainer';
import Filmstrip from '../videolayout/Filmstrip';
import { import {
createSharedVideoEvent as createEvent, createSharedVideoEvent as createEvent,
@ -24,6 +17,13 @@ import {
getToolboxHeight, getToolboxHeight,
showToolbox showToolbox
} from '../../../react/features/toolbox'; } from '../../../react/features/toolbox';
import UIEvents from '../../../service/UI/UIEvents';
import UIUtil from '../util/UIUtil';
import Filmstrip from '../videolayout/Filmstrip';
import LargeContainer from '../videolayout/LargeContainer';
import VideoLayout from '../videolayout/VideoLayout';
const logger = Logger.getLogger(__filename);
export const SHARED_VIDEO_CONTAINER_TYPE = 'sharedvideo'; export const SHARED_VIDEO_CONTAINER_TYPE = 'sharedvideo';

View File

@ -1,8 +1,10 @@
/* global $ */ /* global $ */
import Logger from 'jitsi-meet-logger';
import SmallVideo from '../videolayout/SmallVideo'; import SmallVideo from '../videolayout/SmallVideo';
const logger = require('jitsi-meet-logger').getLogger(__filename); const logger = Logger.getLogger(__filename);
/** /**
* *

View File

@ -1,6 +1,6 @@
/* global $, APP */ /* global $, APP */
const logger = require('jitsi-meet-logger').getLogger(__filename);
import Logger from 'jitsi-meet-logger';
import { jitsiLocalStorage } from 'js-utils'; import { jitsiLocalStorage } from 'js-utils';
import { import {
@ -10,6 +10,8 @@ import {
showWarningNotification showWarningNotification
} from '../../../react/features/notifications'; } from '../../../react/features/notifications';
const logger = Logger.getLogger(__filename);
/** /**
* Flag for enabling/disabling popups. * Flag for enabling/disabling popups.
* @type {boolean} * @type {boolean}

View File

@ -1,5 +1,6 @@
/* global $, APP */ /* global $, APP */
/* eslint-disable no-unused-vars */ /* eslint-disable no-unused-vars */
import Logger from 'jitsi-meet-logger';
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import { I18nextProvider } from 'react-i18next'; import { I18nextProvider } from 'react-i18next';
@ -7,24 +8,23 @@ import { Provider } from 'react-redux';
import { Avatar } from '../../../react/features/base/avatar'; import { Avatar } from '../../../react/features/base/avatar';
import { i18next } from '../../../react/features/base/i18n'; import { i18next } from '../../../react/features/base/i18n';
import { PresenceLabel } from '../../../react/features/presence-status';
/* eslint-enable no-unused-vars */
const logger = require('jitsi-meet-logger').getLogger(__filename);
import { VIDEO_TYPE } from '../../../react/features/base/media';
import { import {
JitsiParticipantConnectionStatus JitsiParticipantConnectionStatus
} from '../../../react/features/base/lib-jitsi-meet'; } from '../../../react/features/base/lib-jitsi-meet';
import { VIDEO_TYPE } from '../../../react/features/base/media';
import { import {
updateKnownLargeVideoResolution updateKnownLargeVideoResolution
} from '../../../react/features/large-video'; } from '../../../react/features/large-video';
import { createDeferred } from '../../util/helpers'; import { PresenceLabel } from '../../../react/features/presence-status';
/* eslint-enable no-unused-vars */
import UIEvents from '../../../service/UI/UIEvents'; import UIEvents from '../../../service/UI/UIEvents';
import { createDeferred } from '../../util/helpers';
import AudioLevels from '../audio_levels/AudioLevels';
import UIUtil from '../util/UIUtil'; import UIUtil from '../util/UIUtil';
import { VideoContainer, VIDEO_CONTAINER_TYPE } from './VideoContainer'; import { VideoContainer, VIDEO_CONTAINER_TYPE } from './VideoContainer';
import AudioLevels from '../audio_levels/AudioLevels'; const logger = Logger.getLogger(__filename);
const DESKTOP_CONTAINER_TYPE = 'desktop'; const DESKTOP_CONTAINER_TYPE = 'desktop';

View File

@ -1,5 +1,6 @@
/* global $, config, interfaceConfig, APP */ /* global $, config, interfaceConfig, APP */
import Logger from 'jitsi-meet-logger';
/* eslint-disable no-unused-vars */ /* eslint-disable no-unused-vars */
import React, { Component } from 'react'; import React, { Component } from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
@ -11,12 +12,12 @@ import { updateSettings } from '../../../react/features/base/settings';
import { getLocalVideoTrack } from '../../../react/features/base/tracks'; import { getLocalVideoTrack } from '../../../react/features/base/tracks';
import { shouldDisplayTileView } from '../../../react/features/video-layout'; import { shouldDisplayTileView } from '../../../react/features/video-layout';
/* eslint-enable no-unused-vars */ /* eslint-enable no-unused-vars */
const logger = require('jitsi-meet-logger').getLogger(__filename);
import UIEvents from '../../../service/UI/UIEvents'; import UIEvents from '../../../service/UI/UIEvents';
import SmallVideo from './SmallVideo'; import SmallVideo from './SmallVideo';
const logger = Logger.getLogger(__filename);
/** /**
* *
*/ */

View File

@ -1,11 +1,12 @@
/* global $, APP, interfaceConfig */ /* global $, APP, interfaceConfig */
/* eslint-disable no-unused-vars */ /* eslint-disable no-unused-vars */
import { AtlasKitThemeProvider } from '@atlaskit/theme';
import Logger from 'jitsi-meet-logger';
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { I18nextProvider } from 'react-i18next'; import { I18nextProvider } from 'react-i18next';
import { AtlasKitThemeProvider } from '@atlaskit/theme'; import { Provider } from 'react-redux';
import { i18next } from '../../../react/features/base/i18n'; import { i18next } from '../../../react/features/base/i18n';
import { import {
@ -22,12 +23,11 @@ import {
} from '../../../react/features/remote-video-menu'; } from '../../../react/features/remote-video-menu';
import { LAYOUTS, getCurrentLayout } from '../../../react/features/video-layout'; import { LAYOUTS, getCurrentLayout } from '../../../react/features/video-layout';
/* eslint-enable no-unused-vars */ /* eslint-enable no-unused-vars */
import UIUtils from '../util/UIUtil';
const logger = require('jitsi-meet-logger').getLogger(__filename);
import SmallVideo from './SmallVideo'; import SmallVideo from './SmallVideo';
import UIUtils from '../util/UIUtil';
const logger = Logger.getLogger(__filename);
/** /**
* *

View File

@ -1,15 +1,16 @@
/* global $, APP, config, interfaceConfig */ /* global $, APP, config, interfaceConfig */
/* eslint-disable no-unused-vars */ /* eslint-disable no-unused-vars */
import { AtlasKitThemeProvider } from '@atlaskit/theme';
import Logger from 'jitsi-meet-logger';
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import { I18nextProvider } from 'react-i18next'; import { I18nextProvider } from 'react-i18next';
import { AtlasKitThemeProvider } from '@atlaskit/theme';
import { Provider } from 'react-redux'; import { Provider } from 'react-redux';
import { i18next } from '../../../react/features/base/i18n';
import { AudioLevelIndicator } from '../../../react/features/audio-level-indicator'; import { AudioLevelIndicator } from '../../../react/features/audio-level-indicator';
import { Avatar as AvatarDisplay } from '../../../react/features/base/avatar'; import { Avatar as AvatarDisplay } from '../../../react/features/base/avatar';
import { i18next } from '../../../react/features/base/i18n';
import { import {
getParticipantCount, getParticipantCount,
getPinnedParticipant, getPinnedParticipant,
@ -30,7 +31,7 @@ import {
} from '../../../react/features/video-layout'; } from '../../../react/features/video-layout';
/* eslint-enable no-unused-vars */ /* eslint-enable no-unused-vars */
const logger = require('jitsi-meet-logger').getLogger(__filename); const logger = Logger.getLogger(__filename);
/** /**
* Display mode constant used when video is being displayed on the small video. * Display mode constant used when video is being displayed on the small video.

View File

@ -8,11 +8,11 @@ import { browser } from '../../../react/features/base/lib-jitsi-meet';
import { ORIENTATION, LargeVideoBackground } from '../../../react/features/large-video'; import { ORIENTATION, LargeVideoBackground } from '../../../react/features/large-video';
import { LAYOUTS, getCurrentLayout } from '../../../react/features/video-layout'; import { LAYOUTS, getCurrentLayout } from '../../../react/features/video-layout';
/* eslint-enable no-unused-vars */ /* eslint-enable no-unused-vars */
import UIEvents from '../../../service/UI/UIEvents';
import UIUtil from '../util/UIUtil';
import Filmstrip from './Filmstrip'; import Filmstrip from './Filmstrip';
import LargeContainer from './LargeContainer'; import LargeContainer from './LargeContainer';
import UIEvents from '../../../service/UI/UIEvents';
import UIUtil from '../util/UIUtil';
// FIXME should be 'video' // FIXME should be 'video'
export const VIDEO_CONTAINER_TYPE = 'camera'; export const VIDEO_CONTAINER_TYPE = 'camera';

View File

@ -1,5 +1,6 @@
/* global APP, $, interfaceConfig */ /* global APP, $, interfaceConfig */
const logger = require('jitsi-meet-logger').getLogger(__filename);
import Logger from 'jitsi-meet-logger';
import { MEDIA_TYPE, VIDEO_TYPE } from '../../../react/features/base/media'; import { MEDIA_TYPE, VIDEO_TYPE } from '../../../react/features/base/media';
import { import {
@ -9,16 +10,16 @@ import {
pinParticipant pinParticipant
} from '../../../react/features/base/participants'; } from '../../../react/features/base/participants';
import { getTrackByMediaTypeAndParticipant } from '../../../react/features/base/tracks'; import { getTrackByMediaTypeAndParticipant } from '../../../react/features/base/tracks';
import UIEvents from '../../../service/UI/UIEvents';
import { SHARED_VIDEO_CONTAINER_TYPE } from '../shared_video/SharedVideo'; import { SHARED_VIDEO_CONTAINER_TYPE } from '../shared_video/SharedVideo';
import SharedVideoThumb from '../shared_video/SharedVideoThumb'; import SharedVideoThumb from '../shared_video/SharedVideoThumb';
import UIEvents from '../../../service/UI/UIEvents';
import RemoteVideo from './RemoteVideo';
import LargeVideoManager from './LargeVideoManager'; import LargeVideoManager from './LargeVideoManager';
import LocalVideo from './LocalVideo';
import RemoteVideo from './RemoteVideo';
import { VIDEO_CONTAINER_TYPE } from './VideoContainer'; import { VIDEO_CONTAINER_TYPE } from './VideoContainer';
import LocalVideo from './LocalVideo'; const logger = Logger.getLogger(__filename);
const remoteVideos = {}; const remoteVideos = {};
let localVideoThumbnail = null; let localVideoThumbnail = null;

View File

@ -1,17 +1,19 @@
/* global APP, $, interfaceConfig */ /* global APP, $, interfaceConfig */
import { toggleDialog } from '../../react/features/base/dialog'; import Logger from 'jitsi-meet-logger';
import { import {
ACTION_SHORTCUT_PRESSED as PRESSED, ACTION_SHORTCUT_PRESSED as PRESSED,
ACTION_SHORTCUT_RELEASED as RELEASED, ACTION_SHORTCUT_RELEASED as RELEASED,
createShortcutEvent, createShortcutEvent,
sendAnalytics sendAnalytics
} from '../../react/features/analytics'; } from '../../react/features/analytics';
import { toggleDialog } from '../../react/features/base/dialog';
import { KeyboardShortcutsDialog } import { KeyboardShortcutsDialog }
from '../../react/features/keyboard-shortcuts'; from '../../react/features/keyboard-shortcuts';
import { SpeakerStats } from '../../react/features/speaker-stats'; import { SpeakerStats } from '../../react/features/speaker-stats';
const logger = require('jitsi-meet-logger').getLogger(__filename); const logger = Logger.getLogger(__filename);
/** /**
* Map of shortcuts. When a shortcut is registered it enters the mapping. * Map of shortcuts. When a shortcut is registered it enters the mapping.

View File

@ -5,7 +5,7 @@ import { getLogger } from 'jitsi-meet-logger';
import { import {
JitsiConferenceEvents JitsiConferenceEvents
} from '../../react/features/base/lib-jitsi-meet'; } from '../../react/features/base/lib-jitsi-meet';
import * as KeyCodes from '../keycode/keycode'; import UIEvents from '../../service/UI/UIEvents';
import { import {
EVENTS, EVENTS,
PERMISSIONS_ACTIONS, PERMISSIONS_ACTIONS,
@ -13,7 +13,7 @@ import {
} from '../../service/remotecontrol/Constants'; } from '../../service/remotecontrol/Constants';
import * as RemoteControlEvents import * as RemoteControlEvents
from '../../service/remotecontrol/RemoteControlEvents'; from '../../service/remotecontrol/RemoteControlEvents';
import UIEvents from '../../service/UI/UIEvents'; import * as KeyCodes from '../keycode/keycode';
import RemoteControlParticipant from './RemoteControlParticipant'; import RemoteControlParticipant from './RemoteControlParticipant';

View File

@ -1,10 +1,11 @@
// FIXME: change to '../API' when we update to webpack2. If we do this now all // FIXME: change to '../API' when we update to webpack2. If we do this now all
// files from API modules will be included in external_api.js. // files from API modules will be included in external_api.js.
import { API_ID } from '../API/constants';
import { getJitsiMeetGlobalNS } from '../../react/features/base/util';
import { PostMessageTransportBackend, Transport } from 'js-utils/transport'; import { PostMessageTransportBackend, Transport } from 'js-utils/transport';
import { getJitsiMeetGlobalNS } from '../../react/features/base/util';
import { API_ID } from '../API/constants';
export { export {
PostMessageTransportBackend, PostMessageTransportBackend,
Transport Transport

582
package-lock.json generated
View File

@ -4947,6 +4947,102 @@
"resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
"integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=" "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg="
}, },
"array.prototype.flat": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz",
"integrity": "sha512-gBlRZV0VSmfPIeWfuuy56XZMvbVfbEUnOXUvt3F/eUUUSyzlgLxhEX4YAEpxNAogRGehPSnfXyPtYyKAhkzQhQ==",
"dev": true,
"requires": {
"define-properties": "^1.1.3",
"es-abstract": "^1.17.0-next.1"
},
"dependencies": {
"define-properties": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
"integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
"dev": true,
"requires": {
"object-keys": "^1.0.12"
}
},
"es-abstract": {
"version": "1.17.5",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz",
"integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==",
"dev": true,
"requires": {
"es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1",
"is-callable": "^1.1.5",
"is-regex": "^1.0.5",
"object-inspect": "^1.7.0",
"object-keys": "^1.1.1",
"object.assign": "^4.1.0",
"string.prototype.trimleft": "^2.1.1",
"string.prototype.trimright": "^2.1.1"
}
},
"es-to-primitive": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
"integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
"dev": true,
"requires": {
"is-callable": "^1.1.4",
"is-date-object": "^1.0.1",
"is-symbol": "^1.0.2"
}
},
"has": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
"dev": true,
"requires": {
"function-bind": "^1.1.1"
}
},
"has-symbols": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
"integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
"dev": true
},
"is-callable": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz",
"integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==",
"dev": true
},
"is-regex": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
"integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
"dev": true,
"requires": {
"has": "^1.0.3"
}
},
"is-symbol": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
"integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
"dev": true,
"requires": {
"has-symbols": "^1.0.1"
}
},
"object-keys": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
"dev": true
}
}
},
"arrify": { "arrify": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz",
@ -7613,8 +7709,8 @@
} }
}, },
"eslint-config-jitsi": { "eslint-config-jitsi": {
"version": "github:jitsi/eslint-config-jitsi#5f9fe4fd00be471ab6f5d06f77ffc90bba0853e8", "version": "github:jitsi/eslint-config-jitsi#f292fbc07689eb3dbeb81c074accff25b448b074",
"from": "github:jitsi/eslint-config-jitsi#1.0.1", "from": "github:jitsi/eslint-config-jitsi#1.0.3",
"dev": true "dev": true
}, },
"eslint-import-resolver-node": { "eslint-import-resolver-node": {
@ -7627,46 +7723,6 @@
"resolve": "^1.5.0" "resolve": "^1.5.0"
} }
}, },
"eslint-module-utils": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.2.0.tgz",
"integrity": "sha1-snA2LNiLGkitMIl2zn+lTphBF0Y=",
"dev": true,
"requires": {
"debug": "^2.6.8",
"pkg-dir": "^1.0.0"
},
"dependencies": {
"find-up": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
"integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",
"dev": true,
"requires": {
"path-exists": "^2.0.0",
"pinkie-promise": "^2.0.0"
}
},
"path-exists": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
"integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
"dev": true,
"requires": {
"pinkie-promise": "^2.0.0"
}
},
"pkg-dir": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-1.0.0.tgz",
"integrity": "sha1-ektQio1bstYp1EcFb/TpyTFM89Q=",
"dev": true,
"requires": {
"find-up": "^1.0.0"
}
}
}
},
"eslint-plugin-flowtype": { "eslint-plugin-flowtype": {
"version": "2.50.3", "version": "2.50.3",
"resolved": "https://registry.npmjs.org/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.50.3.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.50.3.tgz",
@ -7685,21 +7741,23 @@
} }
}, },
"eslint-plugin-import": { "eslint-plugin-import": {
"version": "2.14.0", "version": "2.20.2",
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.14.0.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.20.2.tgz",
"integrity": "sha512-FpuRtniD/AY6sXByma2Wr0TXvXJ4nA/2/04VPlfpmUDPOpOY264x+ILiwnrk/k4RINgDAyFZByxqPUbSQ5YE7g==", "integrity": "sha512-FObidqpXrR8OnCh4iNsxy+WACztJLXAHBO5hK79T1Hc77PgQZkyDGA5Ag9xAvRpglvLNxhH/zSmZ70/pZ31dHg==",
"dev": true, "dev": true,
"requires": { "requires": {
"array-includes": "^3.0.3",
"array.prototype.flat": "^1.2.1",
"contains-path": "^0.1.0", "contains-path": "^0.1.0",
"debug": "^2.6.8", "debug": "^2.6.9",
"doctrine": "1.5.0", "doctrine": "1.5.0",
"eslint-import-resolver-node": "^0.3.1", "eslint-import-resolver-node": "^0.3.2",
"eslint-module-utils": "^2.2.0", "eslint-module-utils": "^2.4.1",
"has": "^1.0.1", "has": "^1.0.3",
"lodash": "^4.17.4", "minimatch": "^3.0.4",
"minimatch": "^3.0.3", "object.values": "^1.1.0",
"read-pkg-up": "^2.0.0", "read-pkg-up": "^2.0.0",
"resolve": "^1.6.0" "resolve": "^1.12.0"
}, },
"dependencies": { "dependencies": {
"doctrine": { "doctrine": {
@ -7712,11 +7770,39 @@
"isarray": "^1.0.0" "isarray": "^1.0.0"
} }
}, },
"eslint-module-utils": {
"version": "2.6.0",
"resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz",
"integrity": "sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA==",
"dev": true,
"requires": {
"debug": "^2.6.9",
"pkg-dir": "^2.0.0"
}
},
"has": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
"dev": true,
"requires": {
"function-bind": "^1.1.1"
}
},
"isarray": { "isarray": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
"dev": true "dev": true
},
"resolve": {
"version": "1.17.0",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz",
"integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==",
"dev": true,
"requires": {
"path-parse": "^1.0.6"
}
} }
} }
}, },
@ -12598,6 +12684,12 @@
} }
} }
}, },
"object-inspect": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz",
"integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==",
"dev": true
},
"object-is": { "object-is": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/object-is/-/object-is-1.0.1.tgz", "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.0.1.tgz",
@ -16713,6 +16805,392 @@
} }
} }
}, },
"string.prototype.trimend": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz",
"integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==",
"dev": true,
"requires": {
"define-properties": "^1.1.3",
"es-abstract": "^1.17.5"
},
"dependencies": {
"define-properties": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
"integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
"dev": true,
"requires": {
"object-keys": "^1.0.12"
}
},
"es-abstract": {
"version": "1.17.5",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz",
"integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==",
"dev": true,
"requires": {
"es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1",
"is-callable": "^1.1.5",
"is-regex": "^1.0.5",
"object-inspect": "^1.7.0",
"object-keys": "^1.1.1",
"object.assign": "^4.1.0",
"string.prototype.trimleft": "^2.1.1",
"string.prototype.trimright": "^2.1.1"
}
},
"es-to-primitive": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
"integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
"dev": true,
"requires": {
"is-callable": "^1.1.4",
"is-date-object": "^1.0.1",
"is-symbol": "^1.0.2"
}
},
"has": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
"dev": true,
"requires": {
"function-bind": "^1.1.1"
}
},
"has-symbols": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
"integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
"dev": true
},
"is-callable": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz",
"integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==",
"dev": true
},
"is-regex": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
"integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
"dev": true,
"requires": {
"has": "^1.0.3"
}
},
"is-symbol": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
"integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
"dev": true,
"requires": {
"has-symbols": "^1.0.1"
}
},
"object-keys": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
"dev": true
}
}
},
"string.prototype.trimleft": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.2.tgz",
"integrity": "sha512-gCA0tza1JBvqr3bfAIFJGqfdRTyPae82+KTnm3coDXkZN9wnuW3HjGgN386D7hfv5CHQYCI022/rJPVlqXyHSw==",
"dev": true,
"requires": {
"define-properties": "^1.1.3",
"es-abstract": "^1.17.5",
"string.prototype.trimstart": "^1.0.0"
},
"dependencies": {
"define-properties": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
"integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
"dev": true,
"requires": {
"object-keys": "^1.0.12"
}
},
"es-abstract": {
"version": "1.17.5",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz",
"integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==",
"dev": true,
"requires": {
"es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1",
"is-callable": "^1.1.5",
"is-regex": "^1.0.5",
"object-inspect": "^1.7.0",
"object-keys": "^1.1.1",
"object.assign": "^4.1.0",
"string.prototype.trimleft": "^2.1.1",
"string.prototype.trimright": "^2.1.1"
}
},
"es-to-primitive": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
"integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
"dev": true,
"requires": {
"is-callable": "^1.1.4",
"is-date-object": "^1.0.1",
"is-symbol": "^1.0.2"
}
},
"has": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
"dev": true,
"requires": {
"function-bind": "^1.1.1"
}
},
"has-symbols": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
"integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
"dev": true
},
"is-callable": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz",
"integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==",
"dev": true
},
"is-regex": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
"integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
"dev": true,
"requires": {
"has": "^1.0.3"
}
},
"is-symbol": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
"integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
"dev": true,
"requires": {
"has-symbols": "^1.0.1"
}
},
"object-keys": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
"dev": true
}
}
},
"string.prototype.trimright": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.2.tgz",
"integrity": "sha512-ZNRQ7sY3KroTaYjRS6EbNiiHrOkjihL9aQE/8gfQ4DtAC/aEBRHFJa44OmoWxGGqXuJlfKkZW4WcXErGr+9ZFg==",
"dev": true,
"requires": {
"define-properties": "^1.1.3",
"es-abstract": "^1.17.5",
"string.prototype.trimend": "^1.0.0"
},
"dependencies": {
"define-properties": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
"integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
"dev": true,
"requires": {
"object-keys": "^1.0.12"
}
},
"es-abstract": {
"version": "1.17.5",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz",
"integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==",
"dev": true,
"requires": {
"es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1",
"is-callable": "^1.1.5",
"is-regex": "^1.0.5",
"object-inspect": "^1.7.0",
"object-keys": "^1.1.1",
"object.assign": "^4.1.0",
"string.prototype.trimleft": "^2.1.1",
"string.prototype.trimright": "^2.1.1"
}
},
"es-to-primitive": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
"integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
"dev": true,
"requires": {
"is-callable": "^1.1.4",
"is-date-object": "^1.0.1",
"is-symbol": "^1.0.2"
}
},
"has": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
"dev": true,
"requires": {
"function-bind": "^1.1.1"
}
},
"has-symbols": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
"integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
"dev": true
},
"is-callable": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz",
"integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==",
"dev": true
},
"is-regex": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
"integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
"dev": true,
"requires": {
"has": "^1.0.3"
}
},
"is-symbol": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
"integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
"dev": true,
"requires": {
"has-symbols": "^1.0.1"
}
},
"object-keys": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
"dev": true
}
}
},
"string.prototype.trimstart": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz",
"integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==",
"dev": true,
"requires": {
"define-properties": "^1.1.3",
"es-abstract": "^1.17.5"
},
"dependencies": {
"define-properties": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
"integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
"dev": true,
"requires": {
"object-keys": "^1.0.12"
}
},
"es-abstract": {
"version": "1.17.5",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz",
"integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==",
"dev": true,
"requires": {
"es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1",
"is-callable": "^1.1.5",
"is-regex": "^1.0.5",
"object-inspect": "^1.7.0",
"object-keys": "^1.1.1",
"object.assign": "^4.1.0",
"string.prototype.trimleft": "^2.1.1",
"string.prototype.trimright": "^2.1.1"
}
},
"es-to-primitive": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
"integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
"dev": true,
"requires": {
"is-callable": "^1.1.4",
"is-date-object": "^1.0.1",
"is-symbol": "^1.0.2"
}
},
"has": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
"dev": true,
"requires": {
"function-bind": "^1.1.1"
}
},
"has-symbols": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
"integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
"dev": true
},
"is-callable": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz",
"integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==",
"dev": true
},
"is-regex": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
"integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
"dev": true,
"requires": {
"has": "^1.0.3"
}
},
"is-symbol": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
"integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
"dev": true,
"requires": {
"has-symbols": "^1.0.1"
}
},
"object-keys": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
"dev": true
}
}
},
"string_decoder": { "string_decoder": {
"version": "0.10.31", "version": "0.10.31",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",

View File

@ -113,9 +113,9 @@
"clean-css": "3.4.25", "clean-css": "3.4.25",
"css-loader": "0.28.7", "css-loader": "0.28.7",
"eslint": "5.6.1", "eslint": "5.6.1",
"eslint-config-jitsi": "github:jitsi/eslint-config-jitsi#1.0.1", "eslint-config-jitsi": "github:jitsi/eslint-config-jitsi#1.0.3",
"eslint-plugin-flowtype": "2.50.3", "eslint-plugin-flowtype": "2.50.3",
"eslint-plugin-import": "2.14.0", "eslint-plugin-import": "2.20.2",
"eslint-plugin-jsdoc": "3.8.0", "eslint-plugin-jsdoc": "3.8.0",
"eslint-plugin-react": "7.11.1", "eslint-plugin-react": "7.11.1",
"eslint-plugin-react-native": "3.3.0", "eslint-plugin-react-native": "3.3.0",

View File

@ -2,8 +2,8 @@
// We need to reference these files directly to avoid loading things that are not available // We need to reference these files directly to avoid loading things that are not available
// in this environment (e.g. JitsiMeetJS or interfaceConfig) // in this environment (e.g. JitsiMeetJS or interfaceConfig)
import AbstractHangupButton from '../base/toolbox/components/AbstractHangupButton';
import type { Props } from '../base/toolbox/components/AbstractButton'; import type { Props } from '../base/toolbox/components/AbstractButton';
import AbstractHangupButton from '../base/toolbox/components/AbstractHangupButton';
const { api } = window.alwaysOnTop; const { api } = window.alwaysOnTop;

View File

@ -2,8 +2,8 @@
// We need to reference these files directly to avoid loading things that are not available // We need to reference these files directly to avoid loading things that are not available
// in this environment (e.g. JitsiMeetJS or interfaceConfig) // in this environment (e.g. JitsiMeetJS or interfaceConfig)
import AbstractVideoMuteButton from '../base/toolbox/components/AbstractVideoMuteButton';
import type { Props } from '../base/toolbox/components/AbstractButton'; import type { Props } from '../base/toolbox/components/AbstractButton';
import AbstractVideoMuteButton from '../base/toolbox/components/AbstractVideoMuteButton';
const { api } = window.alwaysOnTop; const { api } = window.alwaysOnTop;

View File

@ -1,15 +1,16 @@
// @flow // @flow
import {
checkChromeExtensionsInstalled,
isMobileBrowser
} from '../base/environment/utils';
import JitsiMeetJS, { import JitsiMeetJS, {
analytics, analytics,
browser, browser,
isAnalyticsEnabled isAnalyticsEnabled
} from '../base/lib-jitsi-meet'; } from '../base/lib-jitsi-meet';
import { getJitsiMeetGlobalNS, loadScript } from '../base/util'; import { getJitsiMeetGlobalNS, loadScript } from '../base/util';
import {
checkChromeExtensionsInstalled,
isMobileBrowser
} from '../base/environment/utils';
import { AmplitudeHandler, MatomoHandler } from './handlers'; import { AmplitudeHandler, MatomoHandler } from './handlers';
import logger from './logger'; import logger from './logger';

View File

@ -16,8 +16,8 @@ import {
TRACK_UPDATED TRACK_UPDATED
} from '../base/tracks'; } from '../base/tracks';
import { UPDATE_LOCAL_TRACKS_DURATION } from './actionTypes';
import { createLocalTracksDurationEvent, createNetworkInfoEvent } from './AnalyticsEvents'; import { createLocalTracksDurationEvent, createNetworkInfoEvent } from './AnalyticsEvents';
import { UPDATE_LOCAL_TRACKS_DURATION } from './actionTypes';
import { createHandlers, initAnalytics, resetAnalytics, sendAnalytics } from './functions'; import { createHandlers, initAnalytics, resetAnalytics, sendAnalytics } from './functions';
/** /**

View File

@ -3,13 +3,11 @@
import React, { Fragment } from 'react'; import React, { Fragment } from 'react';
import { BaseApp } from '../../base/app'; import { BaseApp } from '../../base/app';
import '../../base/lastn'; // Register lastN middleware
import { toURLString } from '../../base/util'; import { toURLString } from '../../base/util';
import '../../follow-me'; import '../../follow-me';
import { OverlayContainer } from '../../overlay'; import { OverlayContainer } from '../../overlay';
import '../../base/lastn'; // Register lastN middleware
import '../../rejoin'; // Enable rejoin analytics import '../../rejoin'; // Enable rejoin analytics
import { appNavigate } from '../actions'; import { appNavigate } from '../actions';
import { getDefaultURL } from '../functions'; import { getDefaultURL } from '../functions';

View File

@ -23,8 +23,8 @@ import '../../mobile/picture-in-picture';
import '../../mobile/proximity'; import '../../mobile/proximity';
import '../../mobile/wake-lock'; import '../../mobile/wake-lock';
import '../../mobile/watchos'; import '../../mobile/watchos';
import logger from '../logger'; import logger from '../logger';
import { AbstractApp } from './AbstractApp'; import { AbstractApp } from './AbstractApp';
import type { Props as AbstractAppProps } from './AbstractApp'; import type { Props as AbstractAppProps } from './AbstractApp';

View File

@ -4,8 +4,8 @@ import { generateRoomWithoutSeparator } from 'js-utils/random';
import type { Component } from 'react'; import type { Component } from 'react';
import { isRoomValid } from '../base/conference'; import { isRoomValid } from '../base/conference';
import { toState } from '../base/redux';
import { isSupportedBrowser } from '../base/environment'; import { isSupportedBrowser } from '../base/environment';
import { toState } from '../base/redux';
import { Conference } from '../conference'; import { Conference } from '../conference';
import { getDeepLinkingPage } from '../deep-linking'; import { getDeepLinkingPage } from '../deep-linking';
import { UnsupportedDesktopBrowser } from '../unsupported-browser'; import { UnsupportedDesktopBrowser } from '../unsupported-browser';

View File

@ -4,7 +4,6 @@ import {
createConnectionEvent, createConnectionEvent,
sendAnalytics sendAnalytics
} from '../analytics'; } from '../analytics';
import { SET_ROOM } from '../base/conference'; import { SET_ROOM } from '../base/conference';
import { import {
CONNECTION_ESTABLISHED, CONNECTION_ESTABLISHED,

View File

@ -18,7 +18,6 @@ import {
import { translate } from '../../base/i18n'; import { translate } from '../../base/i18n';
import { JitsiConnectionErrors } from '../../base/lib-jitsi-meet'; import { JitsiConnectionErrors } from '../../base/lib-jitsi-meet';
import type { StyleType } from '../../base/styles'; import type { StyleType } from '../../base/styles';
import { authenticateAndUpgradeRole, cancelLogin } from '../actions'; import { authenticateAndUpgradeRole, cancelLogin } from '../actions';
// Register styles. // Register styles.

View File

@ -6,7 +6,6 @@ import type { Dispatch } from 'redux';
import { ConfirmDialog } from '../../base/dialog'; import { ConfirmDialog } from '../../base/dialog';
import { translate } from '../../base/i18n'; import { translate } from '../../base/i18n';
import { connect } from '../../base/redux'; import { connect } from '../../base/redux';
import { cancelWaitForOwner, _openLoginDialog } from '../actions'; import { cancelWaitForOwner, _openLoginDialog } from '../actions';
/** /**

View File

@ -16,17 +16,17 @@ import {
} from '../base/lib-jitsi-meet'; } from '../base/lib-jitsi-meet';
import { MiddlewareRegistry } from '../base/redux'; import { MiddlewareRegistry } from '../base/redux';
import {
CANCEL_LOGIN,
STOP_WAIT_FOR_OWNER,
WAIT_FOR_OWNER
} from './actionTypes';
import { import {
_openLoginDialog, _openLoginDialog,
_openWaitForOwnerDialog, _openWaitForOwnerDialog,
stopWaitForOwner, stopWaitForOwner,
waitForOwner waitForOwner
} from './actions'; } from './actions';
import {
CANCEL_LOGIN,
STOP_WAIT_FOR_OWNER,
WAIT_FOR_OWNER
} from './actionTypes';
import { LoginDialog, WaitForOwnerDialog } from './components'; import { LoginDialog, WaitForOwnerDialog } from './components';
/** /**

View File

@ -1,13 +1,13 @@
// @flow // @flow
import UIEvents from '../../../../service/UI/UIEvents'; import type { Dispatch } from 'redux';
import UIEvents from '../../../../service/UI/UIEvents';
import { createAudioOnlyChangedEvent, sendAnalytics } from '../../analytics'; import { createAudioOnlyChangedEvent, sendAnalytics } from '../../analytics';
import { SET_AUDIO_ONLY } from './actionTypes'; import { SET_AUDIO_ONLY } from './actionTypes';
import logger from './logger'; import logger from './logger';
import type { Dispatch } from 'redux';
declare var APP: Object; declare var APP: Object;

View File

@ -5,7 +5,6 @@ import React, { PureComponent } from 'react';
import { IconShareDesktop } from '../../icons'; import { IconShareDesktop } from '../../icons';
import { getParticipantById } from '../../participants'; import { getParticipantById } from '../../participants';
import { connect } from '../../redux'; import { connect } from '../../redux';
import { getAvatarColor, getInitials } from '../functions'; import { getAvatarColor, getInitials } from '../functions';
import { StatelessAvatar } from '.'; import { StatelessAvatar } from '.';

View File

@ -5,11 +5,12 @@ import { Image, Text, View } from 'react-native';
import { Icon } from '../../../icons'; import { Icon } from '../../../icons';
import { type StyleType } from '../../../styles'; import { type StyleType } from '../../../styles';
import AbstractStatelessAvatar, { type Props as AbstractProps } from '../AbstractStatelessAvatar'; import AbstractStatelessAvatar, { type Props as AbstractProps } from '../AbstractStatelessAvatar';
import styles from './styles'; import styles from './styles';
const DEFAULT_AVATAR = require('../../../../../../images/avatar.png');
type Props = AbstractProps & { type Props = AbstractProps & {
/** /**
@ -23,8 +24,6 @@ type Props = AbstractProps & {
style?: StyleType style?: StyleType
}; };
const DEFAULT_AVATAR = require('../../../../../../images/avatar.png');
/** /**
* Implements a stateless avatar component that renders an avatar purely from what gets passed through * Implements a stateless avatar component that renders an avatar purely from what gets passed through
* props. * props.

View File

@ -3,7 +3,6 @@
import React from 'react'; import React from 'react';
import { Icon } from '../../../icons'; import { Icon } from '../../../icons';
import AbstractStatelessAvatar, { type Props as AbstractProps } from '../AbstractStatelessAvatar'; import AbstractStatelessAvatar, { type Props as AbstractProps } from '../AbstractStatelessAvatar';
type Props = AbstractProps & { type Props = AbstractProps & {

View File

@ -2,8 +2,8 @@
import { MiddlewareRegistry } from '../redux'; import { MiddlewareRegistry } from '../redux';
import { SET_COLOR_SCHEME } from './actionTypes';
import ColorSchemeRegistry from './ColorSchemeRegistry'; import ColorSchemeRegistry from './ColorSchemeRegistry';
import { SET_COLOR_SCHEME } from './actionTypes';
/** /**
* The middleware of the feature {@code base/color-scheme}. * The middleware of the feature {@code base/color-scheme}.

View File

@ -8,7 +8,6 @@ import {
} from '../../analytics'; } from '../../analytics';
import { getName } from '../../app'; import { getName } from '../../app';
import { endpointMessageReceived } from '../../subtitles'; import { endpointMessageReceived } from '../../subtitles';
import { JITSI_CONNECTION_CONFERENCE_KEY } from '../connection'; import { JITSI_CONNECTION_CONFERENCE_KEY } from '../connection';
import { JitsiConferenceEvents } from '../lib-jitsi-meet'; import { JitsiConferenceEvents } from '../lib-jitsi-meet';
import { setAudioMuted, setVideoMuted } from '../media'; import { setAudioMuted, setVideoMuted } from '../media';

View File

@ -1,7 +1,5 @@
// @flow // @flow
import { openDisplayNamePrompt } from '../../display-name';
import { import {
ACTION_PINNED, ACTION_PINNED,
ACTION_UNPINNED, ACTION_UNPINNED,
@ -9,8 +7,10 @@ import {
createPinnedEvent, createPinnedEvent,
sendAnalytics sendAnalytics
} from '../../analytics'; } from '../../analytics';
import { openDisplayNamePrompt } from '../../display-name';
import { CONNECTION_ESTABLISHED, CONNECTION_FAILED } from '../connection'; import { CONNECTION_ESTABLISHED, CONNECTION_FAILED } from '../connection';
import { JitsiConferenceErrors } from '../lib-jitsi-meet'; import { JitsiConferenceErrors } from '../lib-jitsi-meet';
import { MEDIA_TYPE } from '../media';
import { import {
getLocalParticipant, getLocalParticipant,
getParticipantById, getParticipantById,
@ -21,12 +21,6 @@ import {
import { MiddlewareRegistry, StateListenerRegistry } from '../redux'; import { MiddlewareRegistry, StateListenerRegistry } from '../redux';
import { TRACK_ADDED, TRACK_REMOVED } from '../tracks'; import { TRACK_ADDED, TRACK_REMOVED } from '../tracks';
import {
conferenceFailed,
conferenceWillLeave,
createConference,
setSubject
} from './actions';
import { import {
CONFERENCE_FAILED, CONFERENCE_FAILED,
CONFERENCE_JOINED, CONFERENCE_JOINED,
@ -37,6 +31,12 @@ import {
SET_PENDING_SUBJECT_CHANGE, SET_PENDING_SUBJECT_CHANGE,
SET_ROOM SET_ROOM
} from './actionTypes'; } from './actionTypes';
import {
conferenceFailed,
conferenceWillLeave,
createConference,
setSubject
} from './actions';
import { import {
_addLocalTracksToConference, _addLocalTracksToConference,
_removeLocalTracksFromConference, _removeLocalTracksFromConference,
@ -44,7 +44,6 @@ import {
getCurrentConference getCurrentConference
} from './functions'; } from './functions';
import logger from './logger'; import logger from './logger';
import { MEDIA_TYPE } from '../media';
declare var APP: Object; declare var APP: Object;

View File

@ -1,9 +1,9 @@
// @flow // @flow
import { LOCKED_LOCALLY, LOCKED_REMOTELY } from '../../room-lock';
import { CONNECTION_WILL_CONNECT, SET_LOCATION_URL } from '../connection'; import { CONNECTION_WILL_CONNECT, SET_LOCATION_URL } from '../connection';
import { JitsiConferenceErrors } from '../lib-jitsi-meet'; import { JitsiConferenceErrors } from '../lib-jitsi-meet';
import { assign, ReducerRegistry, set } from '../redux'; import { assign, ReducerRegistry, set } from '../redux';
import { LOCKED_LOCALLY, LOCKED_REMOTELY } from '../../room-lock';
import { import {
AUTH_STATUS_CHANGED, AUTH_STATUS_CHANGED,

View File

@ -3,10 +3,11 @@
import { jitsiLocalStorage } from 'js-utils'; import { jitsiLocalStorage } from 'js-utils';
import _ from 'lodash'; import _ from 'lodash';
import { parseURLParams } from '../util';
import CONFIG_WHITELIST from './configWhitelist'; import CONFIG_WHITELIST from './configWhitelist';
import { _CONFIG_STORE_PREFIX } from './constants'; import { _CONFIG_STORE_PREFIX } from './constants';
import INTERFACE_CONFIG_WHITELIST from './interfaceConfigWhitelist'; import INTERFACE_CONFIG_WHITELIST from './interfaceConfigWhitelist';
import { parseURLParams } from '../util';
import logger from './logger'; import logger from './logger';
// XXX The function getRoomName is split out of // XXX The function getRoomName is split out of

View File

@ -11,7 +11,6 @@ import {
CONNECTION_WILL_CONNECT, CONNECTION_WILL_CONNECT,
SET_LOCATION_URL SET_LOCATION_URL
} from './actionTypes'; } from './actionTypes';
import type { ConnectionFailedError } from './actions.native'; import type { ConnectionFailedError } from './actions.native';
/** /**

View File

@ -1,8 +1,8 @@
// @flow // @flow
import { parseURLParams } from '../util';
import JitsiMeetJS from '../lib-jitsi-meet'; import JitsiMeetJS from '../lib-jitsi-meet';
import { updateSettings } from '../settings'; import { updateSettings } from '../settings';
import { parseURLParams } from '../util';
import logger from './logger'; import logger from './logger';

View File

@ -1,16 +1,15 @@
/* global APP */ /* global APP */
import { CONFERENCE_JOINED } from '../conference';
import { processExternalDeviceRequest } from '../../device-selection';
import { MiddlewareRegistry } from '../redux';
import UIEvents from '../../../../service/UI/UIEvents'; import UIEvents from '../../../../service/UI/UIEvents';
import { processExternalDeviceRequest } from '../../device-selection';
import { showNotification, showWarningNotification } from '../../notifications';
import { replaceAudioTrackById, replaceVideoTrackById, setDeviceStatusWarning } from '../../prejoin/actions';
import { isPrejoinPageVisible } from '../../prejoin/functions';
import { CONFERENCE_JOINED } from '../conference';
import { JitsiTrackErrors } from '../lib-jitsi-meet'; import { JitsiTrackErrors } from '../lib-jitsi-meet';
import { MiddlewareRegistry } from '../redux';
import { updateSettings } from '../settings';
import {
removePendingDeviceRequests,
setAudioInputDevice,
setVideoInputDevice
} from './actions';
import { import {
CHECK_AND_NOTIFY_FOR_NEW_DEVICE, CHECK_AND_NOTIFY_FOR_NEW_DEVICE,
NOTIFY_CAMERA_ERROR, NOTIFY_CAMERA_ERROR,
@ -18,10 +17,11 @@ import {
SET_AUDIO_INPUT_DEVICE, SET_AUDIO_INPUT_DEVICE,
SET_VIDEO_INPUT_DEVICE SET_VIDEO_INPUT_DEVICE
} from './actionTypes'; } from './actionTypes';
import { replaceAudioTrackById, replaceVideoTrackById, setDeviceStatusWarning } from '../../prejoin/actions'; import {
import { isPrejoinPageVisible } from '../../prejoin/functions'; removePendingDeviceRequests,
import { showNotification, showWarningNotification } from '../../notifications'; setAudioInputDevice,
import { updateSettings } from '../settings'; setVideoInputDevice
} from './actions';
import { formatDeviceLabel, setAudioOutputDeviceId } from './functions'; import { formatDeviceLabel, setAudioOutputDeviceId } from './functions';
import logger from './logger'; import logger from './logger';

View File

@ -1,3 +1,5 @@
import { ReducerRegistry } from '../redux';
import { import {
ADD_PENDING_DEVICE_REQUEST, ADD_PENDING_DEVICE_REQUEST,
REMOVE_PENDING_DEVICE_REQUESTS, REMOVE_PENDING_DEVICE_REQUESTS,
@ -6,9 +8,6 @@ import {
UPDATE_DEVICE_LIST UPDATE_DEVICE_LIST
} from './actionTypes'; } from './actionTypes';
import { groupDevicesByKind } from './functions'; import { groupDevicesByKind } from './functions';
import { ReducerRegistry } from '../redux';
import logger from './logger'; import logger from './logger';
const DEFAULT_STATE = { const DEFAULT_STATE = {

View File

@ -5,7 +5,6 @@ import { Text } from 'react-native';
import { translate } from '../../../i18n'; import { translate } from '../../../i18n';
import { connect } from '../../../redux'; import { connect } from '../../../redux';
import { _abstractMapStateToProps } from '../../functions'; import { _abstractMapStateToProps } from '../../functions';
import { type Props as AbstractProps } from './BaseDialog'; import { type Props as AbstractProps } from './BaseDialog';

View File

@ -11,11 +11,11 @@ import {
import { Icon, IconClose } from '../../../icons'; import { Icon, IconClose } from '../../../icons';
import { StyleType } from '../../../styles'; import { StyleType } from '../../../styles';
import AbstractDialog, { import AbstractDialog, {
type Props as AbstractProps, type Props as AbstractProps,
type State type State
} from '../AbstractDialog'; } from '../AbstractDialog';
import { brandedDialog as styles } from './styles'; import { brandedDialog as styles } from './styles';
export type Props = AbstractProps & { export type Props = AbstractProps & {

View File

@ -6,7 +6,6 @@ import { Text, TouchableOpacity } from 'react-native';
import { translate } from '../../../i18n'; import { translate } from '../../../i18n';
import { connect } from '../../../redux'; import { connect } from '../../../redux';
import { StyleType } from '../../../styles'; import { StyleType } from '../../../styles';
import { _abstractMapStateToProps } from '../../functions'; import { _abstractMapStateToProps } from '../../functions';
import { type Props as BaseProps } from './BaseDialog'; import { type Props as BaseProps } from './BaseDialog';

View File

@ -1,7 +1,6 @@
// @flow // @flow
import { connect } from '../../../redux'; import { connect } from '../../../redux';
import { _abstractMapStateToProps } from '../../functions'; import { _abstractMapStateToProps } from '../../functions';
import BaseDialog, { type Props } from './BaseDialog'; import BaseDialog, { type Props } from './BaseDialog';

View File

@ -2,7 +2,6 @@
import { translate } from '../../../i18n'; import { translate } from '../../../i18n';
import { connect } from '../../../redux'; import { connect } from '../../../redux';
import { _abstractMapStateToProps } from '../../functions'; import { _abstractMapStateToProps } from '../../functions';
import { type Props as BaseProps } from './BaseDialog'; import { type Props as BaseProps } from './BaseDialog';

View File

@ -1,5 +1,4 @@
import { connect } from '../../../redux'; import { connect } from '../../../redux';
import AbstractDialogContainer, { import AbstractDialogContainer, {
abstractMapStateToProps abstractMapStateToProps
} from '../AbstractDialogContainer'; } from '../AbstractDialogContainer';

View File

@ -6,9 +6,7 @@ import { View, Text, TextInput, TouchableOpacity } from 'react-native';
import { translate } from '../../../i18n'; import { translate } from '../../../i18n';
import { connect } from '../../../redux'; import { connect } from '../../../redux';
import { StyleType } from '../../../styles'; import { StyleType } from '../../../styles';
import { _abstractMapStateToProps } from '../../functions'; import { _abstractMapStateToProps } from '../../functions';
import { type State as AbstractState } from '../AbstractDialog'; import { type State as AbstractState } from '../AbstractDialog';
import BaseDialog, { type Props as BaseProps } from './BaseDialog'; import BaseDialog, { type Props as BaseProps } from './BaseDialog';

View File

@ -4,7 +4,6 @@ import { StyleSheet } from 'react-native';
import { ColorSchemeRegistry, schemeColor } from '../../../color-scheme'; import { ColorSchemeRegistry, schemeColor } from '../../../color-scheme';
import { BoxModel, ColorPalette } from '../../../styles'; import { BoxModel, ColorPalette } from '../../../styles';
import { PREFERRED_DIALOG_SIZE } from '../../constants'; import { PREFERRED_DIALOG_SIZE } from '../../constants';
const BORDER_RADIUS = 5; const BORDER_RADIUS = 5;

View File

@ -3,9 +3,9 @@
import React from 'react'; import React from 'react';
import { connect } from '../../../redux'; import { connect } from '../../../redux';
import AbstractDialog from '../AbstractDialog'; import AbstractDialog from '../AbstractDialog';
import type { Props as AbstractDialogProps, State } from '../AbstractDialog'; import type { Props as AbstractDialogProps, State } from '../AbstractDialog';
import StatelessDialog from './StatelessDialog'; import StatelessDialog from './StatelessDialog';
/** /**

View File

@ -2,7 +2,6 @@ import { ModalTransition } from '@atlaskit/modal-dialog';
import React from 'react'; import React from 'react';
import { connect } from '../../../redux'; import { connect } from '../../../redux';
import AbstractDialogContainer, { import AbstractDialogContainer, {
abstractMapStateToProps abstractMapStateToProps
} from '../AbstractDialogContainer'; } from '../AbstractDialogContainer';

View File

@ -4,7 +4,6 @@ import Tabs from '@atlaskit/tabs';
import React, { Component } from 'react'; import React, { Component } from 'react';
import { translate } from '../../../i18n/functions'; import { translate } from '../../../i18n/functions';
import logger from '../../logger'; import logger from '../../logger';
import StatelessDialog from './StatelessDialog'; import StatelessDialog from './StatelessDialog';

View File

@ -6,7 +6,6 @@ import _ from 'lodash';
import React, { Component } from 'react'; import React, { Component } from 'react';
import { translate } from '../../../i18n/functions'; import { translate } from '../../../i18n/functions';
import type { DialogProps } from '../../constants'; import type { DialogProps } from '../../constants';
/** /**

View File

@ -1,6 +1,7 @@
// @flow // @flow
import JitsiMeetJS from '../lib-jitsi-meet'; import JitsiMeetJS from '../lib-jitsi-meet';
import { isMobileBrowser } from './utils'; import { isMobileBrowser } from './utils';
const { browser } = JitsiMeetJS.util; const { browser } = JitsiMeetJS.util;

View File

@ -1,9 +1,9 @@
// @flow // @flow
import COUNTRIES_RESOURCES from 'i18n-iso-countries/langs/en.json';
import i18next from 'i18next'; import i18next from 'i18next';
import I18nextXHRBackend from 'i18next-xhr-backend'; import I18nextXHRBackend from 'i18next-xhr-backend';
import COUNTRIES_RESOURCES from 'i18n-iso-countries/langs/en.json';
import LANGUAGES_RESOURCES from '../../../../lang/languages.json'; import LANGUAGES_RESOURCES from '../../../../lang/languages.json';
import MAIN_RESOURCES from '../../../../lang/main.json'; import MAIN_RESOURCES from '../../../../lang/main.json';

View File

@ -2,9 +2,8 @@
import React from 'react'; import React from 'react';
import { styleTypeToObject } from '../../styles';
import { Container } from '../../react/base'; import { Container } from '../../react/base';
import { styleTypeToObject } from '../../styles';
type Props = { type Props = {

View File

@ -10,8 +10,8 @@ import {
} from '../participants'; } from '../participants';
import { MiddlewareRegistry } from '../redux'; import { MiddlewareRegistry } from '../redux';
import { setJWT } from './actions';
import { SET_JWT } from './actionTypes'; import { SET_JWT } from './actionTypes';
import { setJWT } from './actions';
import { parseJWTFromURLParams } from './functions'; import { parseJWTFromURLParams } from './functions';
declare var APP: Object; declare var APP: Object;

View File

@ -1,7 +1,6 @@
// @flow // @flow
import { getDefaultURL } from '../../app'; import { getDefaultURL } from '../../app';
import { APP_WILL_MOUNT } from '../app'; import { APP_WILL_MOUNT } from '../app';
import { SET_ROOM } from '../conference'; import { SET_ROOM } from '../conference';
import { MiddlewareRegistry } from '../redux'; import { MiddlewareRegistry } from '../redux';

View File

@ -4,7 +4,6 @@ import { SET_FILMSTRIP_ENABLED } from '../../filmstrip/actionTypes';
import { SELECT_LARGE_VIDEO_PARTICIPANT } from '../../large-video/actionTypes'; import { SELECT_LARGE_VIDEO_PARTICIPANT } from '../../large-video/actionTypes';
import { APP_STATE_CHANGED } from '../../mobile/background/actionTypes'; import { APP_STATE_CHANGED } from '../../mobile/background/actionTypes';
import { SCREEN_SHARE_PARTICIPANTS_UPDATED, SET_TILE_VIEW } from '../../video-layout/actionTypes'; import { SCREEN_SHARE_PARTICIPANTS_UPDATED, SET_TILE_VIEW } from '../../video-layout/actionTypes';
import { SET_AUDIO_ONLY } from '../audio-only/actionTypes'; import { SET_AUDIO_ONLY } from '../audio-only/actionTypes';
import { CONFERENCE_JOINED } from '../conference/actionTypes'; import { CONFERENCE_JOINED } from '../conference/actionTypes';
import { getParticipantById } from '../participants/functions'; import { getParticipantById } from '../participants/functions';

View File

@ -1,6 +1,7 @@
// @flow // @flow
import { toState } from '../redux'; import { toState } from '../redux';
import JitsiMeetJS from './_'; import JitsiMeetJS from './_';
const JitsiConferenceErrors = JitsiMeetJS.errors.conference; const JitsiConferenceErrors = JitsiMeetJS.errors.conference;

View File

@ -3,6 +3,7 @@
import { NativeModules } from 'react-native'; import { NativeModules } from 'react-native';
import { loadScript } from '../util'; import { loadScript } from '../util';
import logger from './logger'; import logger from './logger';
export * from './functions.any'; export * from './functions.any';

View File

@ -6,8 +6,8 @@ import { PARTICIPANT_LEFT } from '../participants';
import { MiddlewareRegistry } from '../redux'; import { MiddlewareRegistry } from '../redux';
import JitsiMeetJS from './_'; import JitsiMeetJS from './_';
import { disposeLib, initLib } from './actions';
import { LIB_WILL_INIT } from './actionTypes'; import { LIB_WILL_INIT } from './actionTypes';
import { disposeLib, initLib } from './actions';
declare var APP: Object; declare var APP: Object;

View File

@ -1,4 +1,5 @@
import { NativeModules } from 'react-native'; import { NativeModules } from 'react-native';
import { getJitsiMeetGlobalNS } from '../../util'; import { getJitsiMeetGlobalNS } from '../../util';
/** /**

View File

@ -1,7 +1,7 @@
// @flow // @flow
import _ from 'lodash';
import Logger, { getLogger as _getLogger } from 'jitsi-meet-logger'; import Logger, { getLogger as _getLogger } from 'jitsi-meet-logger';
import _ from 'lodash';
import LogTransport from './LogTransport'; import LogTransport from './LogTransport';

View File

@ -9,13 +9,12 @@ import JitsiMeetJS, {
JitsiConferenceEvents JitsiConferenceEvents
} from '../lib-jitsi-meet'; } from '../lib-jitsi-meet';
import { MiddlewareRegistry } from '../redux'; import { MiddlewareRegistry } from '../redux';
import { isTestModeEnabled } from '../testing'; import { isTestModeEnabled } from '../testing';
import { setLogCollector } from './actions';
import { SET_LOGGING_CONFIG } from './actionTypes';
import JitsiMeetLogStorage from './JitsiMeetLogStorage';
import JitsiMeetInMemoryLogStorage from './JitsiMeetInMemoryLogStorage'; import JitsiMeetInMemoryLogStorage from './JitsiMeetInMemoryLogStorage';
import JitsiMeetLogStorage from './JitsiMeetLogStorage';
import { SET_LOGGING_CONFIG } from './actionTypes';
import { setLogCollector } from './actions';
declare var APP: Object; declare var APP: Object;

View File

@ -12,6 +12,7 @@ import { SET_LOG_COLLECTOR, SET_LOGGING_CONFIG } from './actionTypes';
* }} * }}
*/ */
const DEFAULT_STATE = { const DEFAULT_STATE = {
// eslint-disable-next-line
config: require('../../../../logging_config.js'), config: require('../../../../logging_config.js'),
/** /**

View File

@ -4,8 +4,8 @@ import React, { Component } from 'react';
import type { Dispatch } from 'redux'; import type { Dispatch } from 'redux';
import { trackVideoStarted } from '../../tracks'; import { trackVideoStarted } from '../../tracks';
import { shouldRenderVideoTrack } from '../functions'; import { shouldRenderVideoTrack } from '../functions';
import { Video } from './_'; import { Video } from './_';
/** /**

View File

@ -3,7 +3,6 @@
import Sound from 'react-native-sound'; import Sound from 'react-native-sound';
import logger from '../../logger'; import logger from '../../logger';
import AbstractAudio from '../AbstractAudio'; import AbstractAudio from '../AbstractAudio';
/** /**

View File

@ -5,8 +5,8 @@ import { RTCView } from 'react-native-webrtc';
import { Pressable } from '../../../react'; import { Pressable } from '../../../react';
import styles from './styles';
import VideoTransform from './VideoTransform'; import VideoTransform from './VideoTransform';
import styles from './styles';
/** /**
* The type of the React {@code Component} props of {@link Video}. * The type of the React {@code Component} props of {@link Video}.

View File

@ -4,9 +4,9 @@ import React from 'react';
import { View } from 'react-native'; import { View } from 'react-native';
import { connect } from '../../../redux'; import { connect } from '../../../redux';
import AbstractVideoTrack from '../AbstractVideoTrack'; import AbstractVideoTrack from '../AbstractVideoTrack';
import type { Props } from '../AbstractVideoTrack'; import type { Props } from '../AbstractVideoTrack';
import styles from './styles'; import styles from './styles';
/** /**

View File

@ -1,14 +1,13 @@
// @flow // @flow
import type { PanResponderInstance } from 'PanResponder';
import React, { Component } from 'react'; import React, { Component } from 'react';
import { PanResponder, PixelRatio, View } from 'react-native'; import { PanResponder, PixelRatio, View } from 'react-native';
import { type Dispatch } from 'redux'; import { type Dispatch } from 'redux';
import { connect } from '../../../redux'; import { connect } from '../../../redux';
import type { PanResponderInstance } from 'PanResponder';
import { storeVideoTransform } from '../../actions'; import { storeVideoTransform } from '../../actions';
import styles from './styles'; import styles from './styles';
/** /**

View File

@ -3,7 +3,6 @@
import React from 'react'; import React from 'react';
import { connect } from '../../../redux'; import { connect } from '../../../redux';
import AbstractVideoTrack from '../AbstractVideoTrack'; import AbstractVideoTrack from '../AbstractVideoTrack';
import type { Props as AbstractVideoTrackProps } from '../AbstractVideoTrack'; import type { Props as AbstractVideoTrackProps } from '../AbstractVideoTrack';

View File

@ -8,7 +8,6 @@ import {
sendAnalytics sendAnalytics
} from '../../analytics'; } from '../../analytics';
import { APP_STATE_CHANGED } from '../../mobile/background'; import { APP_STATE_CHANGED } from '../../mobile/background';
import { SET_AUDIO_ONLY, setAudioOnly } from '../audio-only'; import { SET_AUDIO_ONLY, setAudioOnly } from '../audio-only';
import { isRoomValid, SET_ROOM } from '../conference'; import { isRoomValid, SET_ROOM } from '../conference';
import JitsiMeetJS from '../lib-jitsi-meet'; import JitsiMeetJS from '../lib-jitsi-meet';

View File

@ -7,7 +7,6 @@ import { ColorSchemeRegistry } from '../../color-scheme';
import { HeaderWithNavigation, SlidingView } from '../../react'; import { HeaderWithNavigation, SlidingView } from '../../react';
import { connect } from '../../redux'; import { connect } from '../../redux';
import { StyleType } from '../../styles'; import { StyleType } from '../../styles';
import { setActiveModalId } from '../actions'; import { setActiveModalId } from '../actions';
import styles from './styles'; import styles from './styles';

View File

@ -1,10 +1,9 @@
// @flow // @flow
import EventEmitter from 'events';
import NetInfo from '@react-native-community/netinfo'; import NetInfo from '@react-native-community/netinfo';
import type { NetInfoState, NetInfoSubscription } from '@react-native-community/netinfo'; import type { NetInfoState, NetInfoSubscription } from '@react-native-community/netinfo';
import EventEmitter from 'events';
import { ONLINE_STATE_CHANGED_EVENT } from './events'; import { ONLINE_STATE_CHANGED_EVENT } from './events';
import type { NetworkInfo } from './types'; import type { NetworkInfo } from './types';
/** /**

View File

@ -1,7 +1,6 @@
// @flow // @flow
import { SET_NETWORK_INFO, _STORE_NETWORK_INFO_CLEANUP } from './actionTypes'; import { SET_NETWORK_INFO, _STORE_NETWORK_INFO_CLEANUP } from './actionTypes';
import type { NetworkInfo } from './types'; import type { NetworkInfo } from './types';
/** /**

View File

@ -3,11 +3,11 @@
import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../app'; import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../app';
import { MiddlewareRegistry } from '../redux'; import { MiddlewareRegistry } from '../redux';
import NetworkInfoService from './NetworkInfoService';
import { _storeNetworkInfoCleanup, setNetworkInfo } from './actions'; import { _storeNetworkInfoCleanup, setNetworkInfo } from './actions';
import { STORE_NAME } from './constants'; import { STORE_NAME } from './constants';
import { ONLINE_STATE_CHANGED_EVENT } from './events'; import { ONLINE_STATE_CHANGED_EVENT } from './events';
import logger from './logger'; import logger from './logger';
import NetworkInfoService from './NetworkInfoService';
import type { NetworkInfo } from './types'; import type { NetworkInfo } from './types';
/** /**

View File

@ -1,5 +1,5 @@
import { set } from '../redux';
import { NOTIFICATION_TIMEOUT, showNotification } from '../../notifications'; import { NOTIFICATION_TIMEOUT, showNotification } from '../../notifications';
import { set } from '../redux';
import { import {
DOMINANT_SPEAKER_CHANGED, DOMINANT_SPEAKER_CHANGED,

View File

@ -15,8 +15,8 @@ import { connect } from '../../redux';
import type { StyleType } from '../../styles'; import type { StyleType } from '../../styles';
import { TestHint } from '../../testing/components'; import { TestHint } from '../../testing/components';
import { getTrackByMediaTypeAndParticipant } from '../../tracks'; import { getTrackByMediaTypeAndParticipant } from '../../tracks';
import { shouldRenderParticipantVideo } from '../functions'; import { shouldRenderParticipantVideo } from '../functions';
import styles from './styles'; import styles from './styles';
/** /**

View File

@ -1,10 +1,9 @@
// @flow // @flow
import { getGravatarURL } from 'js-utils/avatar'; import { getGravatarURL } from 'js-utils/avatar';
import { toState } from '../redux';
import { JitsiParticipantConnectionStatus } from '../lib-jitsi-meet'; import { JitsiParticipantConnectionStatus } from '../lib-jitsi-meet';
import { MEDIA_TYPE, shouldRenderVideoTrack } from '../media'; import { MEDIA_TYPE, shouldRenderVideoTrack } from '../media';
import { toState } from '../redux';
import { getTrackByMediaTypeAndParticipant } from '../tracks'; import { getTrackByMediaTypeAndParticipant } from '../tracks';
import { createDeferred } from '../util'; import { createDeferred } from '../util';

View File

@ -1,10 +1,8 @@
// @flow // @flow
import UIEvents from '../../../../service/UI/UIEvents'; import UIEvents from '../../../../service/UI/UIEvents';
import { NOTIFICATION_TIMEOUT, showNotification } from '../../notifications'; import { NOTIFICATION_TIMEOUT, showNotification } from '../../notifications';
import { CALLING, INVITED } from '../../presence-status'; import { CALLING, INVITED } from '../../presence-status';
import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../app'; import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../app';
import { import {
CONFERENCE_WILL_JOIN, CONFERENCE_WILL_JOIN,
@ -15,14 +13,6 @@ import { JitsiConferenceEvents } from '../lib-jitsi-meet';
import { MiddlewareRegistry, StateListenerRegistry } from '../redux'; import { MiddlewareRegistry, StateListenerRegistry } from '../redux';
import { playSound, registerSound, unregisterSound } from '../sounds'; import { playSound, registerSound, unregisterSound } from '../sounds';
import {
localParticipantIdChanged,
localParticipantJoined,
localParticipantLeft,
participantLeft,
participantUpdated,
setLoadableAvatarUrl
} from './actions';
import { import {
DOMINANT_SPEAKER_CHANGED, DOMINANT_SPEAKER_CHANGED,
KICK_PARTICIPANT, KICK_PARTICIPANT,
@ -32,6 +22,14 @@ import {
PARTICIPANT_LEFT, PARTICIPANT_LEFT,
PARTICIPANT_UPDATED PARTICIPANT_UPDATED
} from './actionTypes'; } from './actionTypes';
import {
localParticipantIdChanged,
localParticipantJoined,
localParticipantLeft,
participantLeft,
participantUpdated,
setLoadableAvatarUrl
} from './actions';
import { import {
LOCAL_PARTICIPANT_DEFAULT_ID, LOCAL_PARTICIPANT_DEFAULT_ID,
PARTICIPANT_JOINED_SOUND_ID, PARTICIPANT_JOINED_SOUND_ID,

View File

@ -4,13 +4,14 @@ import React, { Component } from 'react';
// TODO: Maybe try to make all NavigateSectionList components to work for both // TODO: Maybe try to make all NavigateSectionList components to work for both
// mobile and web, and move them to NavigateSectionList component. // mobile and web, and move them to NavigateSectionList component.
import type { Section } from '../Types';
import { import {
NavigateSectionListEmptyComponent, NavigateSectionListEmptyComponent,
NavigateSectionListItem, NavigateSectionListItem,
NavigateSectionListSectionHeader, NavigateSectionListSectionHeader,
SectionList SectionList
} from './_'; } from './_';
import type { Section } from '../Types';
type Props = { type Props = {

View File

@ -5,7 +5,6 @@ import { Text } from 'react-native';
import { Avatar } from '../../../avatar'; import { Avatar } from '../../../avatar';
import { StyleType } from '../../../styles'; import { StyleType } from '../../../styles';
import { type Item } from '../../Types'; import { type Item } from '../../Types';
import Container from './Container'; import Container from './Container';

View File

@ -1,8 +1,8 @@
// @flow // @flow
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Text } from 'react-native';
import ReactLinkify from 'react-linkify'; import ReactLinkify from 'react-linkify';
import { Text } from 'react-native';
import { type StyleType } from '../../../styles'; import { type StyleType } from '../../../styles';

View File

@ -4,7 +4,6 @@ import React, { Component } from 'react';
import Swipeout from 'react-native-swipeout'; import Swipeout from 'react-native-swipeout';
import { ColorPalette } from '../../../styles'; import { ColorPalette } from '../../../styles';
import type { Item } from '../../Types'; import type { Item } from '../../Types';
import AvatarListItem from './AvatarListItem'; import AvatarListItem from './AvatarListItem';

View File

@ -2,11 +2,12 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import Container from './Container';
import styles from './styles';
import Text from './Text';
import type { SetionListSection } from '../../Types'; import type { SetionListSection } from '../../Types';
import Container from './Container';
import Text from './Text';
import styles from './styles';
type Props = { type Props = {
/** /**

View File

@ -6,9 +6,10 @@ import {
SectionList as ReactNativeSectionList SectionList as ReactNativeSectionList
} from 'react-native'; } from 'react-native';
import styles from './styles';
import type { Section } from '../../Types'; import type { Section } from '../../Types';
import styles from './styles';
/** /**
* The type of the React {@code Component} props of {@link SectionList} * The type of the React {@code Component} props of {@link SectionList}
*/ */

View File

@ -9,7 +9,6 @@ import {
} from 'react-native'; } from 'react-native';
import { BackButtonRegistry } from '../../../../mobile/back-button'; import { BackButtonRegistry } from '../../../../mobile/back-button';
import { type StyleType } from '../../../styles'; import { type StyleType } from '../../../styles';
import styles from './slidingviewstyles'; import styles from './slidingviewstyles';

View File

@ -1,7 +1,7 @@
/* @flow */ /* @flow */
import React, { Component } from 'react';
import Tooltip from '@atlaskit/tooltip'; import Tooltip from '@atlaskit/tooltip';
import React, { Component } from 'react';
import { translate } from '../../../i18n'; import { translate } from '../../../i18n';
import { Icon } from '../../../icons'; import { Icon } from '../../../icons';

View File

@ -1,7 +1,7 @@
// @flow // @flow
import { MultiSelectStateless } from '@atlaskit/multi-select';
import AKInlineDialog from '@atlaskit/inline-dialog'; import AKInlineDialog from '@atlaskit/inline-dialog';
import { MultiSelectStateless } from '@atlaskit/multi-select';
import _debounce from 'lodash/debounce'; import _debounce from 'lodash/debounce';
import React, { Component } from 'react'; import React, { Component } from 'react';

View File

@ -2,9 +2,10 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import type { Item } from '../../Types';
import Container from './Container'; import Container from './Container';
import Text from './Text'; import Text from './Text';
import type { Item } from '../../Types';
/** /**
* The type of the React {@code Component} props of * The type of the React {@code Component} props of

View File

@ -2,9 +2,10 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import Text from './Text';
import type { Section } from '../../Types'; import type { Section } from '../../Types';
import Text from './Text';
type Props = { type Props = {
/** /**

View File

@ -2,9 +2,10 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import Container from './Container';
import type { Section } from '../../Types'; import type { Section } from '../../Types';
import Container from './Container';
type Props = { type Props = {
/** /**

View File

@ -3,7 +3,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { connect } from '../../redux'; import { connect } from '../../redux';
import { ASPECT_RATIO_NARROW, ASPECT_RATIO_WIDE } from '../constants'; import { ASPECT_RATIO_NARROW, ASPECT_RATIO_WIDE } from '../constants';
/** /**

View File

@ -1,7 +1,6 @@
// @flow // @flow
import { NativeModules } from 'react-native'; import { NativeModules } from 'react-native';
import DefaultPreference from 'react-native-default-preference'; import DefaultPreference from 'react-native-default-preference';
export * from './functions.any'; export * from './functions.any';

View File

@ -3,10 +3,10 @@ import _ from 'lodash';
import { APP_WILL_MOUNT } from '../app'; import { APP_WILL_MOUNT } from '../app';
import { setAudioOnly } from '../audio-only'; import { setAudioOnly } from '../audio-only';
import { parseURLParams } from '../util';
import { SET_LOCATION_URL } from '../connection/actionTypes'; // minimize imports to avoid circular imports import { SET_LOCATION_URL } from '../connection/actionTypes'; // minimize imports to avoid circular imports
import { getLocalParticipant, participantUpdated } from '../participants'; import { getLocalParticipant, participantUpdated } from '../participants';
import { MiddlewareRegistry } from '../redux'; import { MiddlewareRegistry } from '../redux';
import { parseURLParams } from '../util';
import { SETTINGS_UPDATED } from './actionTypes'; import { SETTINGS_UPDATED } from './actionTypes';
import { handleCallIntegrationChange, handleCrashReportingChange } from './functions'; import { handleCallIntegrationChange, handleCrashReportingChange } from './functions';

Some files were not shown because too many files have changed in this diff Show More