ref(TS) Remove unnecessary ts-ignores (#12412)
Remove ts-ignores that are no longer needed because of tsconfig.web.json Change ts-ignore to ts-expect-error for files outside react/features
This commit is contained in:
parent
440339dea8
commit
3eecf8063f
|
@ -1,7 +1,5 @@
|
||||||
/* eslint-disable lines-around-comment */
|
// @ts-expect-error
|
||||||
// @ts-ignore
|
|
||||||
import { API_ID } from '../../../modules/API/constants';
|
import { API_ID } from '../../../modules/API/constants';
|
||||||
// @ts-ignore
|
|
||||||
import { getName as getAppName } from '../app/functions';
|
import { getName as getAppName } from '../app/functions';
|
||||||
import { IStore } from '../app/types';
|
import { IStore } from '../app/types';
|
||||||
import { getAnalyticsRoomName } from '../base/conference/functions';
|
import { getAnalyticsRoomName } from '../base/conference/functions';
|
||||||
|
@ -14,10 +12,9 @@ import JitsiMeetJS, {
|
||||||
browser
|
browser
|
||||||
} from '../base/lib-jitsi-meet';
|
} from '../base/lib-jitsi-meet';
|
||||||
import { isAnalyticsEnabled } from '../base/lib-jitsi-meet/functions.any';
|
import { isAnalyticsEnabled } from '../base/lib-jitsi-meet/functions.any';
|
||||||
// @ts-ignore
|
|
||||||
import { loadScript } from '../base/util';
|
|
||||||
import { getJitsiMeetGlobalNS } from '../base/util/helpers';
|
import { getJitsiMeetGlobalNS } from '../base/util/helpers';
|
||||||
import { inIframe } from '../base/util/iframeUtils';
|
import { inIframe } from '../base/util/iframeUtils';
|
||||||
|
import { loadScript } from '../base/util/loadScript';
|
||||||
import { parseURIString } from '../base/util/uri';
|
import { parseURIString } from '../base/util/uri';
|
||||||
|
|
||||||
import AmplitudeHandler from './handlers/AmplitudeHandler';
|
import AmplitudeHandler from './handlers/AmplitudeHandler';
|
||||||
|
@ -258,7 +255,7 @@ function _loadHandlers(scriptURLs: any[] = [], handlerConstructorOptions: Object
|
||||||
|
|
||||||
return Promise.all(promises).then(values => {
|
return Promise.all(promises).then(values => {
|
||||||
for (const el of values) {
|
for (const el of values) {
|
||||||
if (el.type === 'error') {
|
if (el.type === 'error') { // @ts-ignore
|
||||||
logger.warn(`Failed to load ${el.url}: ${el.error}`);
|
logger.warn(`Failed to load ${el.url}: ${el.error}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
/* eslint-disable lines-around-comment */
|
|
||||||
import logger from '../logger';
|
import logger from '../logger';
|
||||||
|
|
||||||
import AbstractHandler, { IEvent } from './AbstractHandler';
|
import AbstractHandler, { IEvent } from './AbstractHandler';
|
||||||
// @ts-ignore
|
|
||||||
import { fixDeviceID } from './amplitude/fixDeviceID';
|
import { fixDeviceID } from './amplitude/fixDeviceID';
|
||||||
// @ts-ignore
|
|
||||||
import amplitude from './amplitude/lib';
|
import amplitude from './amplitude/lib';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -13,6 +10,7 @@ import amplitude from './amplitude/lib';
|
||||||
export default class AmplitudeHandler extends AbstractHandler {
|
export default class AmplitudeHandler extends AbstractHandler {
|
||||||
_deviceId: string;
|
_deviceId: string;
|
||||||
_userId: Object;
|
_userId: Object;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates new instance of the Amplitude analytics handler.
|
* Creates new instance of the Amplitude analytics handler.
|
||||||
*
|
*
|
||||||
|
@ -36,6 +34,7 @@ export default class AmplitudeHandler extends AbstractHandler {
|
||||||
amplitude.getInstance().init(amplitudeAPPKey); // @ts-ignore
|
amplitude.getInstance().init(amplitudeAPPKey); // @ts-ignore
|
||||||
fixDeviceID(amplitude.getInstance()).then(() => {
|
fixDeviceID(amplitude.getInstance()).then(() => {
|
||||||
amplitude.getInstance().getDeviceId()
|
amplitude.getInstance().getDeviceId()
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
.then((deviceId: string) => {
|
.then((deviceId: string) => {
|
||||||
this._deviceId = deviceId;
|
this._deviceId = deviceId;
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
/* eslint-disable lines-around-comment */
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { WithTranslation } from 'react-i18next';
|
import { WithTranslation } from 'react-i18next';
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-expect-error
|
||||||
import { connect } from '../../../../../connection';
|
import { connect } from '../../../../../connection';
|
||||||
import { IState, IStore } from '../../../app/types';
|
import { IState, IStore } from '../../../app/types';
|
||||||
import { IJitsiConference } from '../../../base/conference/reducer';
|
import { IJitsiConference } from '../../../base/conference/reducer';
|
||||||
|
|
|
@ -5,8 +5,6 @@ import { IStore } from '../../../app/types';
|
||||||
import { translate } from '../../../base/i18n/functions';
|
import { translate } from '../../../base/i18n/functions';
|
||||||
import { connect } from '../../../base/redux/functions';
|
import { connect } from '../../../base/redux/functions';
|
||||||
import Dialog from '../../../base/ui/components/web/Dialog';
|
import Dialog from '../../../base/ui/components/web/Dialog';
|
||||||
// eslint-disable-next-line lines-around-comment
|
|
||||||
// @ts-ignore
|
|
||||||
import { cancelWaitForOwner } from '../../actions.web';
|
import { cancelWaitForOwner } from '../../actions.web';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// @ts-ignore
|
// @ts-expect-error
|
||||||
import UIEvents from '../../../../service/UI/UIEvents';
|
import UIEvents from '../../../../service/UI/UIEvents';
|
||||||
import { createAudioOnlyChangedEvent } from '../../analytics/AnalyticsEvents';
|
import { createAudioOnlyChangedEvent } from '../../analytics/AnalyticsEvents';
|
||||||
import { sendAnalytics } from '../../analytics/functions';
|
import { sendAnalytics } from '../../analytics/functions';
|
||||||
|
|
|
@ -1,13 +1,10 @@
|
||||||
/* eslint-disable lines-around-comment */
|
/* eslint-disable lines-around-comment */
|
||||||
import { createStartMutedConfigurationEvent } from '../../analytics/AnalyticsEvents';
|
import { createStartMutedConfigurationEvent } from '../../analytics/AnalyticsEvents';
|
||||||
import { sendAnalytics } from '../../analytics/functions';
|
import { sendAnalytics } from '../../analytics/functions';
|
||||||
// @ts-ignore
|
|
||||||
import { appNavigate } from '../../app/actions';
|
import { appNavigate } from '../../app/actions';
|
||||||
import { IState, IStore } from '../../app/types';
|
import { IState, IStore } from '../../app/types';
|
||||||
import { endpointMessageReceived } from '../../subtitles/actions.any';
|
import { endpointMessageReceived } from '../../subtitles/actions.any';
|
||||||
// @ts-ignore
|
|
||||||
import { getReplaceParticipant } from '../config/functions';
|
import { getReplaceParticipant } from '../config/functions';
|
||||||
// @ts-ignore
|
|
||||||
import { disconnect } from '../connection/actions';
|
import { disconnect } from '../connection/actions';
|
||||||
import { JITSI_CONNECTION_CONFERENCE_KEY } from '../connection/constants';
|
import { JITSI_CONNECTION_CONFERENCE_KEY } from '../connection/constants';
|
||||||
import { JitsiConferenceEvents, JitsiE2ePingEvents } from '../lib-jitsi-meet';
|
import { JitsiConferenceEvents, JitsiE2ePingEvents } from '../lib-jitsi-meet';
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import { sha512_256 as sha512 } from 'js-sha512';
|
import { sha512_256 as sha512 } from 'js-sha512';
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
|
|
||||||
// @ts-ignore
|
|
||||||
import { getName } from '../../app/functions';
|
import { getName } from '../../app/functions';
|
||||||
import { IState, IStore } from '../../app/types';
|
import { IState, IStore } from '../../app/types';
|
||||||
import { determineTranscriptionLanguage } from '../../transcribing/functions';
|
import { determineTranscriptionLanguage } from '../../transcribing/functions';
|
||||||
|
|
|
@ -12,8 +12,6 @@ import {
|
||||||
UPDATE_CONFIG
|
UPDATE_CONFIG
|
||||||
} from './actionTypes';
|
} from './actionTypes';
|
||||||
import { IConfig } from './configType';
|
import { IConfig } from './configType';
|
||||||
// eslint-disable-next-line lines-around-comment
|
|
||||||
// @ts-ignore
|
|
||||||
import { _cleanupConfig } from './functions';
|
import { _cleanupConfig } from './functions';
|
||||||
|
|
||||||
declare let interfaceConfig: any;
|
declare let interfaceConfig: any;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { AnyAction } from 'redux';
|
import { AnyAction } from 'redux';
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-expect-error
|
||||||
import UIEvents from '../../../../service/UI/UIEvents';
|
import UIEvents from '../../../../service/UI/UIEvents';
|
||||||
import { IStore } from '../../app/types';
|
import { IStore } from '../../app/types';
|
||||||
import { processExternalDeviceRequest } from '../../device-selection/functions';
|
import { processExternalDeviceRequest } from '../../device-selection/functions';
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
// @ts-ignore
|
|
||||||
import Platform from '../react/Platform';
|
import Platform from '../react/Platform';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -10,8 +10,6 @@ import MAIN_RESOURCES from '../../../../lang/main.json';
|
||||||
import TRANSLATION_LANGUAGES_RESOURCES from '../../../../lang/translation-languages.json';
|
import TRANSLATION_LANGUAGES_RESOURCES from '../../../../lang/translation-languages.json';
|
||||||
|
|
||||||
import { I18NEXT_INITIALIZED, LANGUAGE_CHANGED } from './actionTypes';
|
import { I18NEXT_INITIALIZED, LANGUAGE_CHANGED } from './actionTypes';
|
||||||
// eslint-disable-next-line lines-around-comment
|
|
||||||
// @ts-ignore
|
|
||||||
import languageDetector from './languageDetector';
|
import languageDetector from './languageDetector';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
// @ts-ignore
|
|
||||||
import { getDefaultURL } from '../../app/functions';
|
import { getDefaultURL } from '../../app/functions';
|
||||||
import { IStore } from '../../app/types';
|
import { IStore } from '../../app/types';
|
||||||
import { APP_WILL_MOUNT } from '../app/actionTypes';
|
import { APP_WILL_MOUNT } from '../app/actionTypes';
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
export default {};
|
|
@ -2,7 +2,6 @@
|
||||||
import Logger, { getLogger as _getLogger } from '@jitsi/logger';
|
import Logger, { getLogger as _getLogger } from '@jitsi/logger';
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
|
|
||||||
// @ts-ignore
|
|
||||||
import LogTransport from './LogTransport';
|
import LogTransport from './LogTransport';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import i18n from 'i18next';
|
import i18n from 'i18next';
|
||||||
import { batch } from 'react-redux';
|
import { batch } from 'react-redux';
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-expect-error
|
||||||
import UIEvents from '../../../../service/UI/UIEvents';
|
import UIEvents from '../../../../service/UI/UIEvents';
|
||||||
import { IStore } from '../../app/types';
|
import { IStore } from '../../app/types';
|
||||||
import { approveParticipant } from '../../av-moderation/actions';
|
import { approveParticipant } from '../../av-moderation/actions';
|
||||||
|
|
|
@ -16,7 +16,6 @@ import { parseURLParams } from '../util/parseURLParams';
|
||||||
|
|
||||||
import { SETTINGS_UPDATED } from './actionTypes';
|
import { SETTINGS_UPDATED } from './actionTypes';
|
||||||
import { updateSettings } from './actions';
|
import { updateSettings } from './actions';
|
||||||
// @ts-ignore
|
|
||||||
import { handleCallIntegrationChange, handleCrashReportingChange } from './functions';
|
import { handleCallIntegrationChange, handleCrashReportingChange } from './functions';
|
||||||
import { ISettingsState } from './reducer';
|
import { ISettingsState } from './reducer';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* eslint-disable lines-around-comment */
|
|
||||||
import { Sounds } from '../config/configType';
|
import { Sounds } from '../config/configType';
|
||||||
|
// eslint-disable-next-line lines-around-comment
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import type { AudioElement } from '../media';
|
import type { AudioElement } from '../media';
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@ import {
|
||||||
_ADD_AUDIO_ELEMENT,
|
_ADD_AUDIO_ELEMENT,
|
||||||
_REMOVE_AUDIO_ELEMENT
|
_REMOVE_AUDIO_ELEMENT
|
||||||
} from './actionTypes';
|
} from './actionTypes';
|
||||||
// @ts-ignore
|
|
||||||
import { getSoundsPath } from './functions';
|
import { getSoundsPath } from './functions';
|
||||||
import { getDisabledSounds } from './functions.any';
|
import { getDisabledSounds } from './functions.any';
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,7 @@ import { getCurrentConference } from '../conference/functions';
|
||||||
import { IJitsiConference } from '../conference/reducer';
|
import { IJitsiConference } from '../conference/reducer';
|
||||||
import { getMultipleVideoSendingSupportFeatureFlag, getMultipleVideoSupportFeatureFlag } from '../config/functions.any';
|
import { getMultipleVideoSendingSupportFeatureFlag, getMultipleVideoSupportFeatureFlag } from '../config/functions.any';
|
||||||
import { JitsiTrackErrors, JitsiTrackEvents } from '../lib-jitsi-meet';
|
import { JitsiTrackErrors, JitsiTrackEvents } from '../lib-jitsi-meet';
|
||||||
// eslint-disable-next-line lines-around-comment
|
import { createLocalTrack } from '../lib-jitsi-meet/functions.any';
|
||||||
// @ts-ignore
|
|
||||||
import { createLocalTrack } from '../lib-jitsi-meet/functions';
|
|
||||||
import { setAudioMuted, setScreenshareMuted, setVideoMuted } from '../media/actions';
|
import { setAudioMuted, setScreenshareMuted, setVideoMuted } from '../media/actions';
|
||||||
import {
|
import {
|
||||||
CAMERA_FACING_MODE,
|
CAMERA_FACING_MODE,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* eslint-disable lines-around-comment */
|
/* eslint-disable lines-around-comment */
|
||||||
// @ts-ignore
|
// @ts-expect-error
|
||||||
import { AUDIO_ONLY_SCREEN_SHARE_NO_TRACK } from '../../../../modules/UI/UIErrors';
|
import { AUDIO_ONLY_SCREEN_SHARE_NO_TRACK } from '../../../../modules/UI/UIErrors';
|
||||||
import { IState, IStore } from '../../app/types';
|
import { IState, IStore } from '../../app/types';
|
||||||
import { showModeratedNotification } from '../../av-moderation/actions';
|
import { showModeratedNotification } from '../../av-moderation/actions';
|
||||||
|
|
|
@ -42,8 +42,6 @@ import {
|
||||||
trackMuteUnmuteFailed,
|
trackMuteUnmuteFailed,
|
||||||
trackNoDataFromSourceNotificationInfoChanged,
|
trackNoDataFromSourceNotificationInfoChanged,
|
||||||
trackRemoved
|
trackRemoved
|
||||||
|
|
||||||
// @ts-ignore
|
|
||||||
} from './actions';
|
} from './actions';
|
||||||
import {
|
import {
|
||||||
getLocalTrack,
|
getLocalTrack,
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
import { parseURLParams } from './parseURLParams';
|
import { parseURLParams } from './parseURLParams';
|
||||||
// eslint-disable-next-line lines-around-comment
|
|
||||||
// @ts-ignore
|
|
||||||
import { normalizeNFKC } from './strings';
|
import { normalizeNFKC } from './strings';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* eslint-disable lines-around-comment */
|
|
||||||
import i18next from 'i18next';
|
import i18next from 'i18next';
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
|
|
||||||
|
@ -15,14 +14,12 @@ import { getCurrentConference } from '../base/conference/functions';
|
||||||
import { setAudioMuted, setVideoMuted } from '../base/media/actions';
|
import { setAudioMuted, setVideoMuted } from '../base/media/actions';
|
||||||
import { MEDIA_TYPE } from '../base/media/constants';
|
import { MEDIA_TYPE } from '../base/media/constants';
|
||||||
import { getRemoteParticipants } from '../base/participants/functions';
|
import { getRemoteParticipants } from '../base/participants/functions';
|
||||||
|
import { createDesiredLocalTracks } from '../base/tracks/actions';
|
||||||
import {
|
import {
|
||||||
getLocalTracks,
|
getLocalTracks,
|
||||||
isLocalCameraTrackMuted,
|
isLocalCameraTrackMuted,
|
||||||
isLocalTrackMuted
|
isLocalTrackMuted
|
||||||
// @ts-ignore
|
} from '../base/tracks/functions';
|
||||||
} from '../base/tracks';
|
|
||||||
// @ts-ignore
|
|
||||||
import { createDesiredLocalTracks } from '../base/tracks/actions';
|
|
||||||
import { clearNotifications, showNotification } from '../notifications/actions';
|
import { clearNotifications, showNotification } from '../notifications/actions';
|
||||||
import { NOTIFICATION_TIMEOUT_TYPE } from '../notifications/constants';
|
import { NOTIFICATION_TIMEOUT_TYPE } from '../notifications/constants';
|
||||||
|
|
||||||
|
@ -186,6 +183,7 @@ export function moveToRoom(roomId?: string) {
|
||||||
|
|
||||||
// eslint-disable-next-line no-new-wrappers
|
// eslint-disable-next-line no-new-wrappers
|
||||||
_roomId = new String(id);
|
_roomId = new String(id);
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
_roomId.domain = domainParts.join('@');
|
_roomId.domain = domainParts.join('@');
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// @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 { getParticipantById } from '../base/participants/functions';
|
||||||
|
|
|
@ -4,8 +4,6 @@ import { WithTranslation } from 'react-i18next';
|
||||||
import { IState, IStore } from '../../app/types';
|
import { IState, IStore } from '../../app/types';
|
||||||
import { getParticipantById } from '../../base/participants/functions';
|
import { getParticipantById } from '../../base/participants/functions';
|
||||||
import { Participant } from '../../base/participants/types';
|
import { Participant } from '../../base/participants/types';
|
||||||
// eslint-disable-next-line lines-around-comment
|
|
||||||
// @ts-ignore
|
|
||||||
import { sendMessage, setPrivateMessageRecipient } from '../actions';
|
import { sendMessage, setPrivateMessageRecipient } from '../actions';
|
||||||
|
|
||||||
interface Props extends WithTranslation {
|
interface Props extends WithTranslation {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
/* eslint-disable lines-around-comment */
|
|
||||||
|
|
||||||
import { Theme } from '@mui/material';
|
import { Theme } from '@mui/material';
|
||||||
import React, { useCallback } from 'react';
|
import React, { useCallback } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
|
@ -9,9 +7,9 @@ import { makeStyles } from 'tss-react/mui';
|
||||||
import { IState } from '../../../app/types';
|
import { IState } from '../../../app/types';
|
||||||
import { IconRaisedHand } from '../../../base/icons/svg';
|
import { IconRaisedHand } from '../../../base/icons/svg';
|
||||||
import Label from '../../../base/label/components/web/Label';
|
import Label from '../../../base/label/components/web/Label';
|
||||||
|
// eslint-disable-next-line lines-around-comment
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { Tooltip } from '../../../base/tooltip';
|
import { Tooltip } from '../../../base/tooltip';
|
||||||
// @ts-ignore
|
|
||||||
import { open as openParticipantsPane } from '../../../participants-pane/actions';
|
import { open as openParticipantsPane } from '../../../participants-pane/actions';
|
||||||
|
|
||||||
const useStyles = makeStyles()((theme: Theme) => {
|
const useStyles = makeStyles()((theme: Theme) => {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// @ts-ignore
|
// @ts-expect-error
|
||||||
import { FEEDBACK_REQUEST_IN_PROGRESS } from '../../../modules/UI/UIErrors';
|
import { FEEDBACK_REQUEST_IN_PROGRESS } from '../../../modules/UI/UIErrors';
|
||||||
import { IStore } from '../app/types';
|
import { IStore } from '../app/types';
|
||||||
import { IJitsiConference } from '../base/conference/reducer';
|
import { IJitsiConference } from '../base/conference/reducer';
|
||||||
|
|
|
@ -51,7 +51,6 @@ import {
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import AudioTracksContainer from './AudioTracksContainer';
|
import AudioTracksContainer from './AudioTracksContainer';
|
||||||
// @ts-ignore
|
|
||||||
import Thumbnail from './Thumbnail';
|
import Thumbnail from './Thumbnail';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import ThumbnailWrapper from './ThumbnailWrapper';
|
import ThumbnailWrapper from './ThumbnailWrapper';
|
||||||
|
|
|
@ -32,7 +32,6 @@ import {
|
||||||
import { Participant } from '../../../base/participants/types';
|
import { Participant } from '../../../base/participants/types';
|
||||||
import { ASPECT_RATIO_NARROW } from '../../../base/responsive-ui/constants';
|
import { ASPECT_RATIO_NARROW } from '../../../base/responsive-ui/constants';
|
||||||
import { isTestModeEnabled } from '../../../base/testing/functions';
|
import { isTestModeEnabled } from '../../../base/testing/functions';
|
||||||
// @ts-ignore
|
|
||||||
import { trackStreamingStatusChanged, updateLastTrackVideoMediaEvent } from '../../../base/tracks/actions';
|
import { trackStreamingStatusChanged, updateLastTrackVideoMediaEvent } from '../../../base/tracks/actions';
|
||||||
import {
|
import {
|
||||||
getLocalAudioTrack,
|
getLocalAudioTrack,
|
||||||
|
|
|
@ -11,7 +11,6 @@ import {
|
||||||
isNameReadOnly
|
isNameReadOnly
|
||||||
} from '../../../base/config/functions.any';
|
} from '../../../base/config/functions.any';
|
||||||
import { isScreenShareParticipantById } from '../../../base/participants/functions';
|
import { isScreenShareParticipantById } from '../../../base/participants/functions';
|
||||||
// @ts-ignore
|
|
||||||
import DisplayName from '../../../display-name/components/web/DisplayName';
|
import DisplayName from '../../../display-name/components/web/DisplayName';
|
||||||
import { THUMBNAIL_TYPE } from '../../constants';
|
import { THUMBNAIL_TYPE } from '../../constants';
|
||||||
|
|
||||||
|
|
|
@ -8,15 +8,12 @@ import { IState } from '../../../app/types';
|
||||||
import { getMultipleVideoSupportFeatureFlag } from '../../../base/config/functions.any';
|
import { getMultipleVideoSupportFeatureFlag } from '../../../base/config/functions.any';
|
||||||
import { isMobileBrowser } from '../../../base/environment/utils';
|
import { isMobileBrowser } from '../../../base/environment/utils';
|
||||||
import { isScreenShareParticipantById } from '../../../base/participants/functions';
|
import { isScreenShareParticipantById } from '../../../base/participants/functions';
|
||||||
// @ts-ignore
|
|
||||||
import ConnectionIndicator from '../../../connection-indicator/components/web/ConnectionIndicator';
|
import ConnectionIndicator from '../../../connection-indicator/components/web/ConnectionIndicator';
|
||||||
import { STATS_POPOVER_POSITION, THUMBNAIL_TYPE } from '../../constants';
|
import { STATS_POPOVER_POSITION, THUMBNAIL_TYPE } from '../../constants';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { getIndicatorsTooltipPosition } from '../../functions.web';
|
import { getIndicatorsTooltipPosition } from '../../functions.web';
|
||||||
|
|
||||||
// @ts-ignore
|
|
||||||
import PinnedIndicator from './PinnedIndicator';
|
import PinnedIndicator from './PinnedIndicator';
|
||||||
// @ts-ignore
|
|
||||||
import RaisedHandIndicator from './RaisedHandIndicator';
|
import RaisedHandIndicator from './RaisedHandIndicator';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import StatusIndicators from './StatusIndicators';
|
import StatusIndicators from './StatusIndicators';
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
/* eslint-disable lines-around-comment */
|
|
||||||
|
|
||||||
import { Theme } from '@mui/material';
|
import { Theme } from '@mui/material';
|
||||||
import React, { useCallback, useRef, useState } from 'react';
|
import React, { useCallback, useRef, useState } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
|
@ -13,10 +11,10 @@ import Button from '../../../base/ui/components/web/Button';
|
||||||
import ContextMenu from '../../../base/ui/components/web/ContextMenu';
|
import ContextMenu from '../../../base/ui/components/web/ContextMenu';
|
||||||
import ContextMenuItemGroup from '../../../base/ui/components/web/ContextMenuItemGroup';
|
import ContextMenuItemGroup from '../../../base/ui/components/web/ContextMenuItemGroup';
|
||||||
import { BUTTON_TYPES } from '../../../base/ui/constants';
|
import { BUTTON_TYPES } from '../../../base/ui/constants';
|
||||||
|
// eslint-disable-next-line lines-around-comment
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { showLobbyChatButton } from '../../../lobby/functions';
|
import { showLobbyChatButton } from '../../../lobby/functions';
|
||||||
import { ACTION_TRIGGER, MEDIA_STATE } from '../../constants';
|
import { ACTION_TRIGGER, MEDIA_STATE } from '../../constants';
|
||||||
// @ts-ignore
|
|
||||||
import { useLobbyActions } from '../../hooks';
|
import { useLobbyActions } from '../../hooks';
|
||||||
|
|
||||||
import ParticipantItem from './ParticipantItem';
|
import ParticipantItem from './ParticipantItem';
|
||||||
|
|
|
@ -17,7 +17,6 @@ import { getKnockingParticipants, getLobbyEnabled } from '../../../lobby/functio
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { Drawer, JitsiPortal } from '../../../toolbox/components/web';
|
import { Drawer, JitsiPortal } from '../../../toolbox/components/web';
|
||||||
import { showOverflowDrawer } from '../../../toolbox/functions.web';
|
import { showOverflowDrawer } from '../../../toolbox/functions.web';
|
||||||
// @ts-ignore
|
|
||||||
import { useLobbyActions, useParticipantDrawer } from '../../hooks';
|
import { useLobbyActions, useParticipantDrawer } from '../../hooks';
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
|
@ -22,7 +22,6 @@ import { showOverflowDrawer } from '../../../toolbox/functions.web';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { muteRemote } from '../../../video-menu/actions.any';
|
import { muteRemote } from '../../../video-menu/actions.any';
|
||||||
import { getSortedParticipantIds, shouldRenderInviteButton } from '../../functions';
|
import { getSortedParticipantIds, shouldRenderInviteButton } from '../../functions';
|
||||||
// @ts-ignore
|
|
||||||
import { useParticipantDrawer } from '../../hooks';
|
import { useParticipantDrawer } from '../../hooks';
|
||||||
|
|
||||||
import { InviteButton } from './InviteButton';
|
import { InviteButton } from './InviteButton';
|
||||||
|
|
|
@ -17,7 +17,6 @@ import { BUTTON_TYPES } from '../../../base/ui/constants';
|
||||||
import { isAddBreakoutRoomButtonVisible } from '../../../breakout-rooms/functions';
|
import { isAddBreakoutRoomButtonVisible } from '../../../breakout-rooms/functions';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { MuteEveryoneDialog } from '../../../video-menu/components/';
|
import { MuteEveryoneDialog } from '../../../video-menu/components/';
|
||||||
// @ts-ignore
|
|
||||||
import { close } from '../../actions';
|
import { close } from '../../actions';
|
||||||
import {
|
import {
|
||||||
findAncestorByClass,
|
findAncestorByClass,
|
||||||
|
|
|
@ -19,8 +19,6 @@ import {
|
||||||
} from '../base/participants/functions';
|
} from '../base/participants/functions';
|
||||||
import { Participant } from '../base/participants/types';
|
import { Participant } from '../base/participants/types';
|
||||||
import { toState } from '../base/redux/functions';
|
import { toState } from '../base/redux/functions';
|
||||||
// eslint-disable-next-line lines-around-comment
|
|
||||||
// @ts-ignore
|
|
||||||
import { normalizeAccents } from '../base/util/strings';
|
import { normalizeAccents } from '../base/util/strings';
|
||||||
import { isInBreakoutRoom } from '../breakout-rooms/functions';
|
import { isInBreakoutRoom } from '../breakout-rooms/functions';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// @ts-ignore
|
// @ts-expect-error
|
||||||
import { Transport } from '../../../modules/transport';
|
import { Transport } from '../../../modules/transport';
|
||||||
import ReducerRegistry from '../base/redux/ReducerRegistry';
|
import ReducerRegistry from '../base/redux/ReducerRegistry';
|
||||||
import { set } from '../base/redux/functions';
|
import { set } from '../base/redux/functions';
|
||||||
|
|
|
@ -3,25 +3,20 @@ import { v4 as uuidv4 } from 'uuid';
|
||||||
|
|
||||||
import { IStore } from '../app/types';
|
import { IStore } from '../app/types';
|
||||||
import { updateConfig } from '../base/config/actions';
|
import { updateConfig } from '../base/config/actions';
|
||||||
// @ts-ignore
|
|
||||||
import { getDialOutStatusUrl, getDialOutUrl } from '../base/config/functions';
|
import { getDialOutStatusUrl, getDialOutUrl } from '../base/config/functions';
|
||||||
import { browser } from '../base/lib-jitsi-meet';
|
import { browser } from '../base/lib-jitsi-meet';
|
||||||
// @ts-ignore
|
|
||||||
import { createLocalTrack } from '../base/lib-jitsi-meet/functions';
|
import { createLocalTrack } from '../base/lib-jitsi-meet/functions';
|
||||||
import { MEDIA_TYPE } from '../base/media/constants';
|
import { MEDIA_TYPE } from '../base/media/constants';
|
||||||
import { isVideoMutedByUser } from '../base/media/functions';
|
import { isVideoMutedByUser } from '../base/media/functions';
|
||||||
import { updateSettings } from '../base/settings/actions';
|
import { updateSettings } from '../base/settings/actions';
|
||||||
|
import { replaceLocalTrack, trackAdded } from '../base/tracks/actions';
|
||||||
import {
|
import {
|
||||||
createLocalTracksF,
|
createLocalTracksF,
|
||||||
getLocalAudioTrack,
|
getLocalAudioTrack,
|
||||||
getLocalTracks,
|
getLocalTracks,
|
||||||
getLocalVideoTrack,
|
getLocalVideoTrack
|
||||||
replaceLocalTrack,
|
} from '../base/tracks/functions';
|
||||||
trackAdded
|
import { openURLInBrowser } from '../base/util/openURLInBrowser';
|
||||||
// @ts-ignore
|
|
||||||
} from '../base/tracks';
|
|
||||||
// @ts-ignore
|
|
||||||
import { openURLInBrowser } from '../base/util';
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { executeDialOutRequest, executeDialOutStatusRequest, getDialInfoPageURL } from '../invite/functions';
|
import { executeDialOutRequest, executeDialOutStatusRequest, getDialInfoPageURL } from '../invite/functions';
|
||||||
import { showErrorNotification } from '../notifications/actions';
|
import { showErrorNotification } from '../notifications/actions';
|
||||||
|
@ -386,7 +381,7 @@ export function replaceAudioTrackById(deviceId: string) {
|
||||||
* @param {string} deviceId - The deviceId of the camera.
|
* @param {string} deviceId - The deviceId of the camera.
|
||||||
* @returns {Function}
|
* @returns {Function}
|
||||||
*/
|
*/
|
||||||
export function replaceVideoTrackById(deviceId: Object) {
|
export function replaceVideoTrackById(deviceId: string) {
|
||||||
return async (dispatch: IStore['dispatch'], getState: IStore['getState']) => {
|
return async (dispatch: IStore['dispatch'], getState: IStore['getState']) => {
|
||||||
try {
|
try {
|
||||||
const tracks = getState()['features/base/tracks'];
|
const tracks = getState()['features/base/tracks'];
|
||||||
|
|
|
@ -5,8 +5,6 @@ import { sendAnalytics } from '../analytics/functions';
|
||||||
import { IStore } from '../app/types';
|
import { IStore } from '../app/types';
|
||||||
import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../base/app/actionTypes';
|
import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../base/app/actionTypes';
|
||||||
import { CONFERENCE_JOIN_IN_PROGRESS, SET_START_REACTIONS_MUTED } from '../base/conference/actionTypes';
|
import { CONFERENCE_JOIN_IN_PROGRESS, SET_START_REACTIONS_MUTED } from '../base/conference/actionTypes';
|
||||||
// eslint-disable-next-line lines-around-comment
|
|
||||||
// @ts-ignore
|
|
||||||
import { setStartReactionsMuted } from '../base/conference/actions';
|
import { setStartReactionsMuted } from '../base/conference/actions';
|
||||||
import {
|
import {
|
||||||
getParticipantById,
|
getParticipantById,
|
||||||
|
|
|
@ -6,8 +6,6 @@ import { translate } from '../../base/i18n/functions';
|
||||||
import { connect } from '../../base/redux/functions';
|
import { connect } from '../../base/redux/functions';
|
||||||
import { updateSettings } from '../../base/settings/actions';
|
import { updateSettings } from '../../base/settings/actions';
|
||||||
import { shouldHideShareAudioHelper } from '../../base/settings/functions.any';
|
import { shouldHideShareAudioHelper } from '../../base/settings/functions.any';
|
||||||
// eslint-disable-next-line lines-around-comment
|
|
||||||
// @ts-ignore
|
|
||||||
import { toggleScreensharing } from '../../base/tracks/actions';
|
import { toggleScreensharing } from '../../base/tracks/actions';
|
||||||
import Checkbox from '../../base/ui/components/web/Checkbox';
|
import Checkbox from '../../base/ui/components/web/Checkbox';
|
||||||
import Dialog from '../../base/ui/components/web/Dialog';
|
import Dialog from '../../base/ui/components/web/Dialog';
|
||||||
|
|
|
@ -4,8 +4,6 @@ import { WithTranslation } from 'react-i18next';
|
||||||
import { IStore } from '../../app/types';
|
import { IStore } from '../../app/types';
|
||||||
import { translate } from '../../base/i18n/functions';
|
import { translate } from '../../base/i18n/functions';
|
||||||
import { connect } from '../../base/redux/functions';
|
import { connect } from '../../base/redux/functions';
|
||||||
// eslint-disable-next-line lines-around-comment
|
|
||||||
// @ts-ignore
|
|
||||||
import { toggleScreensharing } from '../../base/tracks/actions';
|
import { toggleScreensharing } from '../../base/tracks/actions';
|
||||||
import Dialog from '../../base/ui/components/web/Dialog';
|
import Dialog from '../../base/ui/components/web/Dialog';
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
import React, { useEffect, useState } from 'react';
|
import React, { useEffect, useState } from 'react';
|
||||||
|
|
||||||
import { IState } from '../../../../app/types';
|
import { IState } from '../../../../app/types';
|
||||||
// @ts-ignore
|
import { setPassword as setPass } from '../../../../base/conference/actions';
|
||||||
import { setPassword as setPass } from '../../../../base/conference';
|
|
||||||
import { isLocalParticipantModerator } from '../../../../base/participants/functions';
|
import { isLocalParticipantModerator } from '../../../../base/participants/functions';
|
||||||
import { connect } from '../../../../base/redux/functions';
|
import { connect } from '../../../../base/redux/functions';
|
||||||
import Dialog from '../../../../base/ui/components/web/Dialog';
|
import Dialog from '../../../../base/ui/components/web/Dialog';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { WithTranslation } from 'react-i18next';
|
import { WithTranslation } from 'react-i18next';
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-expect-error
|
||||||
import keyboardShortcut from '../../../../../modules/keyboardshortcut/keyboardshortcut';
|
import keyboardShortcut from '../../../../../modules/keyboardshortcut/keyboardshortcut';
|
||||||
import AbstractDialogTab, {
|
import AbstractDialogTab, {
|
||||||
Props as AbstractDialogTabProps
|
Props as AbstractDialogTabProps
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { WithTranslation } from 'react-i18next';
|
import { WithTranslation } from 'react-i18next';
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-expect-error
|
||||||
import UIEvents from '../../../../../service/UI/UIEvents';
|
import UIEvents from '../../../../../service/UI/UIEvents';
|
||||||
import { createProfilePanelButtonEvent } from '../../../analytics/AnalyticsEvents';
|
import { createProfilePanelButtonEvent } from '../../../analytics/AnalyticsEvents';
|
||||||
import { sendAnalytics } from '../../../analytics/functions';
|
import { sendAnalytics } from '../../../analytics/functions';
|
||||||
|
|
|
@ -6,7 +6,8 @@ import React, { Component } from 'react';
|
||||||
import { IState } from '../../../app/types';
|
import { IState } from '../../../app/types';
|
||||||
import { getAvailableDevices } from '../../../base/devices/actions';
|
import { getAvailableDevices } from '../../../base/devices/actions';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { DialogWithTabs, hideDialog } from '../../../base/dialog';
|
import { DialogWithTabs } from '../../../base/dialog';
|
||||||
|
import { hideDialog } from '../../../base/dialog/actions';
|
||||||
import { connect } from '../../../base/redux/functions';
|
import { connect } from '../../../base/redux/functions';
|
||||||
import { withPixelLineHeight } from '../../../base/styles/functions.web';
|
import { withPixelLineHeight } from '../../../base/styles/functions.web';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
|
@ -7,8 +7,7 @@ import { makeStyles } from 'tss-react/mui';
|
||||||
|
|
||||||
import Icon from '../../../base/icons/components/Icon';
|
import Icon from '../../../base/icons/components/Icon';
|
||||||
import { IconSearch } from '../../../base/icons/svg';
|
import { IconSearch } from '../../../base/icons/svg';
|
||||||
// @ts-ignore
|
import { getFieldValue } from '../../../base/react/functions';
|
||||||
import { getFieldValue } from '../../../base/react';
|
|
||||||
import { withPixelLineHeight } from '../../../base/styles/functions.web';
|
import { withPixelLineHeight } from '../../../base/styles/functions.web';
|
||||||
import { MOBILE_BREAKPOINT } from '../../constants';
|
import { MOBILE_BREAKPOINT } from '../../constants';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
|
@ -14,7 +14,6 @@ import { connect } from '../../base/redux/functions';
|
||||||
import Dialog from '../../base/ui/components/web/Dialog';
|
import Dialog from '../../base/ui/components/web/Dialog';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { openSettingsDialog } from '../../settings/actions';
|
import { openSettingsDialog } from '../../settings/actions';
|
||||||
// @ts-ignore
|
|
||||||
import { SETTINGS_TABS } from '../../settings/constants';
|
import { SETTINGS_TABS } from '../../settings/constants';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { setRequestingSubtitles, toggleLanguageSelectorDialog, updateTranslationLanguage } from '../actions';
|
import { setRequestingSubtitles, toggleLanguageSelectorDialog, updateTranslationLanguage } from '../actions';
|
||||||
|
|
|
@ -2,8 +2,7 @@ import React, { useCallback } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { useDispatch, useSelector } from 'react-redux';
|
import { useDispatch, useSelector } from 'react-redux';
|
||||||
|
|
||||||
// @ts-ignore
|
import { endConference } from '../../../base/conference/actions';
|
||||||
import { endConference } from '../../../base/conference';
|
|
||||||
import { isLocalParticipantModerator } from '../../../base/participants/functions';
|
import { isLocalParticipantModerator } from '../../../base/participants/functions';
|
||||||
import Button from '../../../base/ui/components/web/Button';
|
import Button from '../../../base/ui/components/web/Button';
|
||||||
import { BUTTON_TYPES } from '../../../base/ui/constants';
|
import { BUTTON_TYPES } from '../../../base/ui/constants';
|
||||||
|
|
|
@ -4,8 +4,6 @@ import { useDispatch } from 'react-redux';
|
||||||
|
|
||||||
import { createToolbarEvent } from '../../../analytics/AnalyticsEvents';
|
import { createToolbarEvent } from '../../../analytics/AnalyticsEvents';
|
||||||
import { sendAnalytics } from '../../../analytics/functions';
|
import { sendAnalytics } from '../../../analytics/functions';
|
||||||
// eslint-disable-next-line lines-around-comment
|
|
||||||
// @ts-ignore
|
|
||||||
import { leaveConference } from '../../../base/conference/actions';
|
import { leaveConference } from '../../../base/conference/actions';
|
||||||
import Button from '../../../base/ui/components/web/Button';
|
import Button from '../../../base/ui/components/web/Button';
|
||||||
import { BUTTON_TYPES } from '../../../base/ui/constants';
|
import { BUTTON_TYPES } from '../../../base/ui/constants';
|
||||||
|
|
|
@ -4,7 +4,7 @@ import React, { Component } from 'react';
|
||||||
import { WithTranslation } from 'react-i18next';
|
import { WithTranslation } from 'react-i18next';
|
||||||
import { batch } from 'react-redux';
|
import { batch } from 'react-redux';
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-expect-error
|
||||||
import keyboardShortcut from '../../../../../modules/keyboardshortcut/keyboardshortcut';
|
import keyboardShortcut from '../../../../../modules/keyboardshortcut/keyboardshortcut';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { isSpeakerStatsDisabled } from '../../../../features/speaker-stats/functions';
|
import { isSpeakerStatsDisabled } from '../../../../features/speaker-stats/functions';
|
||||||
|
@ -51,7 +51,6 @@ import { NoiseSuppressionButton } from '../../../noise-suppression/components';
|
||||||
import {
|
import {
|
||||||
close as closeParticipantsPane,
|
close as closeParticipantsPane,
|
||||||
open as openParticipantsPane
|
open as openParticipantsPane
|
||||||
// @ts-ignore
|
|
||||||
} from '../../../participants-pane/actions';
|
} from '../../../participants-pane/actions';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { ParticipantsPaneButton } from '../../../participants-pane/components/web';
|
import { ParticipantsPaneButton } from '../../../participants-pane/components/web';
|
||||||
|
@ -109,7 +108,6 @@ import {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
} from '../../actions';
|
} from '../../actions';
|
||||||
import { NOTIFY_CLICK_MODE, NOT_APPLICABLE, THRESHOLDS } from '../../constants';
|
import { NOTIFY_CLICK_MODE, NOT_APPLICABLE, THRESHOLDS } from '../../constants';
|
||||||
// @ts-ignore
|
|
||||||
import { isDesktopShareButtonDisabled, isToolboxVisible } from '../../functions';
|
import { isDesktopShareButtonDisabled, isToolboxVisible } from '../../functions';
|
||||||
import { getJwtDisabledButtons } from '../../functions.any';
|
import { getJwtDisabledButtons } from '../../functions.any';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { IconEventNote, IconRestore, IconSettings } from '../base/icons/svg';
|
import { IconEventNote, IconRestore, IconSettings } from '../base/icons/svg';
|
||||||
// @ts-ignore
|
|
||||||
import BaseTheme from '../base/ui/components/BaseTheme';
|
import BaseTheme from '../base/ui/components/BaseTheme';
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
|
@ -4,13 +4,12 @@ import clsx from 'clsx';
|
||||||
import React, { useCallback, useEffect, useRef } from 'react';
|
import React, { useCallback, useEffect, useRef } from 'react';
|
||||||
import { useSelector } from 'react-redux';
|
import { useSelector } from 'react-redux';
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-expect-error
|
||||||
import Filmstrip from '../../../../../modules/UI/videolayout/Filmstrip';
|
import Filmstrip from '../../../../../modules/UI/videolayout/Filmstrip';
|
||||||
import { IState } from '../../../app/types';
|
import { IState } from '../../../app/types';
|
||||||
import { getLocalParticipant } from '../../../base/participants/functions';
|
import { getLocalParticipant } from '../../../base/participants/functions';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { getVerticalViewMaxWidth } from '../../../filmstrip/functions.web';
|
import { getVerticalViewMaxWidth } from '../../../filmstrip/functions.web';
|
||||||
// @ts-ignore
|
|
||||||
import { getToolboxHeight } from '../../../toolbox/functions.web';
|
import { getToolboxHeight } from '../../../toolbox/functions.web';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { shouldDisplayTileView } from '../../../video-layout/functions.any';
|
import { shouldDisplayTileView } from '../../../video-layout/functions.any';
|
||||||
|
|
Loading…
Reference in New Issue