chore: remove some cycles
This commit is contained in:
parent
af5d4c850b
commit
a67d0fbf6c
|
@ -15,7 +15,7 @@ import {
|
||||||
dockToolbox,
|
dockToolbox,
|
||||||
setToolboxEnabled,
|
setToolboxEnabled,
|
||||||
showToolbox
|
showToolbox
|
||||||
} from '../../react/features/toolbox';
|
} from '../../react/features/toolbox/actions.web';
|
||||||
import UIEvents from '../../service/UI/UIEvents';
|
import UIEvents from '../../service/UI/UIEvents';
|
||||||
|
|
||||||
import EtherpadManager from './etherpad/Etherpad';
|
import EtherpadManager from './etherpad/Etherpad';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* global $, APP, interfaceConfig */
|
/* global $, APP, interfaceConfig */
|
||||||
|
|
||||||
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/functions.web';
|
||||||
import Filmstrip from '../videolayout/Filmstrip';
|
import Filmstrip from '../videolayout/Filmstrip';
|
||||||
import LargeContainer from '../videolayout/LargeContainer';
|
import LargeContainer from '../videolayout/LargeContainer';
|
||||||
import VideoLayout from '../videolayout/VideoLayout';
|
import VideoLayout from '../videolayout/VideoLayout';
|
||||||
|
|
|
@ -12,12 +12,9 @@ import {
|
||||||
participantLeft,
|
participantLeft,
|
||||||
pinParticipant
|
pinParticipant
|
||||||
} from '../../../react/features/base/participants';
|
} from '../../../react/features/base/participants';
|
||||||
import {
|
import { dockToolbox, showToolbox } from '../../../react/features/toolbox/actions.web';
|
||||||
dockToolbox,
|
import { getToolboxHeight } from '../../../react/features/toolbox/functions.web';
|
||||||
getToolboxHeight,
|
import { YOUTUBE_PARTICIPANT_NAME } from '../../../react/features/youtube-player/constants';
|
||||||
showToolbox
|
|
||||||
} from '../../../react/features/toolbox';
|
|
||||||
import { YOUTUBE_PARTICIPANT_NAME } from '../../../react/features/youtube-player';
|
|
||||||
import UIEvents from '../../../service/UI/UIEvents';
|
import UIEvents from '../../../service/UI/UIEvents';
|
||||||
import UIUtil from '../util/UIUtil';
|
import UIUtil from '../util/UIUtil';
|
||||||
import Filmstrip from '../videolayout/Filmstrip';
|
import Filmstrip from '../videolayout/Filmstrip';
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { Text, View } from 'react-native';
|
import { Text, View } from 'react-native';
|
||||||
|
|
||||||
import { YoutubeLargeVideo } from '../../../youtube-player';
|
import { YoutubeLargeVideo } from '../../../youtube-player/components';
|
||||||
import { Avatar } from '../../avatar';
|
import { Avatar } from '../../avatar';
|
||||||
import { translate } from '../../i18n';
|
import { translate } from '../../i18n';
|
||||||
import { JitsiParticipantConnectionStatus } from '../../lib-jitsi-meet';
|
import { JitsiParticipantConnectionStatus } from '../../lib-jitsi-meet';
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
import React, { PureComponent } from 'react';
|
import React, { PureComponent } from 'react';
|
||||||
|
|
||||||
import { AudioSettingsButton, VideoSettingsButton } from '../../../../toolbox';
|
import { AudioSettingsButton, VideoSettingsButton } from '../../../../toolbox/components/web';
|
||||||
|
|
||||||
import CopyMeetingUrl from './CopyMeetingUrl';
|
import CopyMeetingUrl from './CopyMeetingUrl';
|
||||||
import Preview from './Preview';
|
import Preview from './Preview';
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
// @flow
|
|
||||||
|
|
||||||
export * from './components';
|
|
|
@ -6,8 +6,8 @@ import { createVideoBlurEvent, sendAnalytics } from '../../analytics';
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
import { IconBlurBackground } from '../../base/icons';
|
import { IconBlurBackground } from '../../base/icons';
|
||||||
import { connect } from '../../base/redux';
|
import { connect } from '../../base/redux';
|
||||||
import { AbstractButton, BetaTag } from '../../base/toolbox';
|
import { AbstractButton, BetaTag } from '../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../base/toolbox';
|
import type { AbstractButtonProps } from '../../base/toolbox/components';
|
||||||
import { toggleBlurEffect } from '../actions';
|
import { toggleBlurEffect } from '../actions';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { translate } from '../../base/i18n';
|
||||||
import { IconMessage, IconReply } from '../../base/icons';
|
import { IconMessage, IconReply } from '../../base/icons';
|
||||||
import { getParticipantById } from '../../base/participants';
|
import { getParticipantById } from '../../base/participants';
|
||||||
import { connect } from '../../base/redux';
|
import { connect } from '../../base/redux';
|
||||||
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
|
||||||
import { setPrivateMessageRecipient } from '../actions';
|
import { setPrivateMessageRecipient } from '../actions';
|
||||||
|
|
||||||
export type Props = AbstractButtonProps & {
|
export type Props = AbstractButtonProps & {
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { connect } from '../../../base/redux';
|
||||||
import {
|
import {
|
||||||
AbstractButton,
|
AbstractButton,
|
||||||
type AbstractButtonProps
|
type AbstractButtonProps
|
||||||
} from '../../../base/toolbox';
|
} from '../../../base/toolbox/components';
|
||||||
import { openDisplayNamePrompt } from '../../../display-name';
|
import { openDisplayNamePrompt } from '../../../display-name';
|
||||||
import { CHAT_VIEW_MODAL_ID } from '../../constants';
|
import { CHAT_VIEW_MODAL_ID } from '../../constants';
|
||||||
import { getUnreadCount } from '../../functions';
|
import { getUnreadCount } from '../../functions';
|
||||||
|
|
|
@ -18,7 +18,8 @@ import {
|
||||||
} from '../base/participants';
|
} from '../base/participants';
|
||||||
import { MiddlewareRegistry, StateListenerRegistry } from '../base/redux';
|
import { MiddlewareRegistry, StateListenerRegistry } from '../base/redux';
|
||||||
import { playSound, registerSound, unregisterSound } from '../base/sounds';
|
import { playSound, registerSound, unregisterSound } from '../base/sounds';
|
||||||
import { isButtonEnabled, showToolbox } from '../toolbox';
|
import { showToolbox } from '../toolbox/actions';
|
||||||
|
import { isButtonEnabled } from '../toolbox/functions';
|
||||||
|
|
||||||
import { SEND_MESSAGE, SET_PRIVATE_MESSAGE_RECIPIENT } from './actionTypes';
|
import { SEND_MESSAGE, SET_PRIVATE_MESSAGE_RECIPIENT } from './actionTypes';
|
||||||
import { addMessage, clearMessages, toggleChat } from './actions';
|
import { addMessage, clearMessages, toggleChat } from './actions';
|
||||||
|
|
|
@ -25,7 +25,9 @@ import { LargeVideo } from '../../../large-video';
|
||||||
import { KnockingParticipantList } from '../../../lobby';
|
import { KnockingParticipantList } from '../../../lobby';
|
||||||
import { BackButtonRegistry } from '../../../mobile/back-button';
|
import { BackButtonRegistry } from '../../../mobile/back-button';
|
||||||
import { Captions } from '../../../subtitles';
|
import { Captions } from '../../../subtitles';
|
||||||
import { isToolboxVisible, setToolboxVisible, Toolbox } from '../../../toolbox';
|
import { setToolboxVisible } from '../../../toolbox/actions';
|
||||||
|
import { Toolbox } from '../../../toolbox/components/native';
|
||||||
|
import { isToolboxVisible } from '../../../toolbox/functions';
|
||||||
import {
|
import {
|
||||||
AbstractConference,
|
AbstractConference,
|
||||||
abstractMapStateToProps
|
abstractMapStateToProps
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { getConferenceName } from '../../../base/conference';
|
||||||
import { getFeatureFlag, CONFERENCE_TIMER_ENABLED, MEETING_NAME_ENABLED } from '../../../base/flags';
|
import { getFeatureFlag, CONFERENCE_TIMER_ENABLED, MEETING_NAME_ENABLED } from '../../../base/flags';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { PictureInPictureButton } from '../../../mobile/picture-in-picture';
|
import { PictureInPictureButton } from '../../../mobile/picture-in-picture';
|
||||||
import { isToolboxVisible } from '../../../toolbox';
|
import { isToolboxVisible } from '../../../toolbox/functions.native';
|
||||||
import ConferenceTimer from '../ConferenceTimer';
|
import ConferenceTimer from '../ConferenceTimer';
|
||||||
|
|
||||||
import styles, { NAVBAR_GRADIENT_COLORS } from './styles';
|
import styles, { NAVBAR_GRADIENT_COLORS } from './styles';
|
||||||
|
|
|
@ -14,12 +14,8 @@ import { CalleeInfoContainer } from '../../../invite';
|
||||||
import { LargeVideo } from '../../../large-video';
|
import { LargeVideo } from '../../../large-video';
|
||||||
import { KnockingParticipantList, LobbyScreen } from '../../../lobby';
|
import { KnockingParticipantList, LobbyScreen } from '../../../lobby';
|
||||||
import { Prejoin, isPrejoinPageVisible } from '../../../prejoin';
|
import { Prejoin, isPrejoinPageVisible } from '../../../prejoin';
|
||||||
import {
|
import { fullScreenChanged, setToolboxAlwaysVisible, showToolbox } from '../../../toolbox/actions.web';
|
||||||
Toolbox,
|
import { Toolbox } from '../../../toolbox/components/web';
|
||||||
fullScreenChanged,
|
|
||||||
setToolboxAlwaysVisible,
|
|
||||||
showToolbox
|
|
||||||
} from '../../../toolbox';
|
|
||||||
import { LAYOUTS, getCurrentLayout } from '../../../video-layout';
|
import { LAYOUTS, getCurrentLayout } from '../../../video-layout';
|
||||||
import { maybeShowSuboptimalExperienceNotification } from '../../functions';
|
import { maybeShowSuboptimalExperienceNotification } from '../../functions';
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -7,10 +7,7 @@ import { Icon, IconInviteMore } from '../../../base/icons';
|
||||||
import { getParticipantCount } from '../../../base/participants';
|
import { getParticipantCount } from '../../../base/participants';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { beginAddPeople } from '../../../invite';
|
import { beginAddPeople } from '../../../invite';
|
||||||
import {
|
import { isButtonEnabled, isToolboxVisible } from '../../../toolbox/functions.web';
|
||||||
isButtonEnabled,
|
|
||||||
isToolboxVisible
|
|
||||||
} from '../../../toolbox';
|
|
||||||
import { shouldDisplayTileView } from '../../../video-layout/functions';
|
import { shouldDisplayTileView } from '../../../video-layout/functions';
|
||||||
|
|
||||||
declare var interfaceConfig: Object;
|
declare var interfaceConfig: Object;
|
||||||
|
|
|
@ -5,7 +5,7 @@ import React, { Component } from 'react';
|
||||||
import { getConferenceName } from '../../../base/conference/functions';
|
import { getConferenceName } from '../../../base/conference/functions';
|
||||||
import { getParticipantCount } from '../../../base/participants/functions';
|
import { getParticipantCount } from '../../../base/participants/functions';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { isToolboxVisible } from '../../../toolbox';
|
import { isToolboxVisible } from '../../../toolbox/functions.web';
|
||||||
import ConferenceTimer from '../ConferenceTimer';
|
import ConferenceTimer from '../ConferenceTimer';
|
||||||
|
|
||||||
import ParticipantsCount from './ParticipantsCount';
|
import ParticipantsCount from './ParticipantsCount';
|
||||||
|
|
|
@ -13,7 +13,7 @@ import { MiddlewareRegistry, StateListenerRegistry } from '../base/redux';
|
||||||
import { SET_REDUCED_UI } from '../base/responsive-ui';
|
import { SET_REDUCED_UI } from '../base/responsive-ui';
|
||||||
import { FeedbackDialog } from '../feedback';
|
import { FeedbackDialog } from '../feedback';
|
||||||
import { setFilmstripEnabled } from '../filmstrip';
|
import { setFilmstripEnabled } from '../filmstrip';
|
||||||
import { setToolboxEnabled } from '../toolbox';
|
import { setToolboxEnabled } from '../toolbox/actions';
|
||||||
|
|
||||||
import { notifyKickedOut } from './actions';
|
import { notifyKickedOut } from './actions';
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { createToolbarEvent, sendAnalytics } from '../../analytics';
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
import { IconShareDoc } from '../../base/icons';
|
import { IconShareDoc } from '../../base/icons';
|
||||||
import { connect } from '../../base/redux';
|
import { connect } from '../../base/redux';
|
||||||
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
|
||||||
import { toggleDocument } from '../actions';
|
import { toggleDocument } from '../actions';
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ import { getTrackByMediaTypeAndParticipant } from '../../../base/tracks';
|
||||||
import { ConnectionIndicator } from '../../../connection-indicator';
|
import { ConnectionIndicator } from '../../../connection-indicator';
|
||||||
import { DisplayNameLabel } from '../../../display-name';
|
import { DisplayNameLabel } from '../../../display-name';
|
||||||
import { RemoteVideoMenu } from '../../../remote-video-menu';
|
import { RemoteVideoMenu } from '../../../remote-video-menu';
|
||||||
import { toggleToolboxVisible } from '../../../toolbox';
|
import { toggleToolboxVisible } from '../../../toolbox/actions.native';
|
||||||
|
|
||||||
import AudioMutedIndicator from './AudioMutedIndicator';
|
import AudioMutedIndicator from './AudioMutedIndicator';
|
||||||
import DominantSpeakerIndicator from './DominantSpeakerIndicator';
|
import DominantSpeakerIndicator from './DominantSpeakerIndicator';
|
||||||
|
|
|
@ -12,7 +12,7 @@ import {
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import { Icon, IconMenuDown, IconMenuUp } from '../../../base/icons';
|
import { Icon, IconMenuDown, IconMenuUp } from '../../../base/icons';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { dockToolbox } from '../../../toolbox';
|
import { dockToolbox } from '../../../toolbox/actions.web';
|
||||||
import { getCurrentLayout, LAYOUTS } from '../../../video-layout';
|
import { getCurrentLayout, LAYOUTS } from '../../../video-layout';
|
||||||
import { setFilmstripHovered, setFilmstripVisible } from '../../actions';
|
import { setFilmstripHovered, setFilmstripVisible } from '../../actions';
|
||||||
import { shouldRemoteVideosBeVisible } from '../../functions';
|
import { shouldRemoteVideosBeVisible } from '../../functions';
|
||||||
|
|
|
@ -8,7 +8,7 @@ import {
|
||||||
AudioMuteButton,
|
AudioMuteButton,
|
||||||
HangupButton,
|
HangupButton,
|
||||||
VideoMuteButton
|
VideoMuteButton
|
||||||
} from '../../../toolbox';
|
} from '../../../toolbox/components';
|
||||||
|
|
||||||
declare var interfaceConfig: Object;
|
declare var interfaceConfig: Object;
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,7 @@ import { getFeatureFlag, INVITE_ENABLED } from '../../../../base/flags';
|
||||||
import { translate } from '../../../../base/i18n';
|
import { translate } from '../../../../base/i18n';
|
||||||
import { IconAddPeople } from '../../../../base/icons';
|
import { IconAddPeople } from '../../../../base/icons';
|
||||||
import { connect } from '../../../../base/redux';
|
import { connect } from '../../../../base/redux';
|
||||||
import { AbstractButton } from '../../../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../../../base/toolbox';
|
|
||||||
import { doInvitePeople } from '../../../actions.native';
|
import { doInvitePeople } from '../../../actions.native';
|
||||||
|
|
||||||
type Props = AbstractButtonProps & {
|
type Props = AbstractButtonProps & {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import React from 'react';
|
||||||
import { Avatar } from '../../../base/avatar';
|
import { Avatar } from '../../../base/avatar';
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { isToolboxVisible } from '../../../toolbox';
|
import { isToolboxVisible } from '../../../toolbox/functions.web';
|
||||||
import AbstractKnockingParticipantList, {
|
import AbstractKnockingParticipantList, {
|
||||||
mapStateToProps as abstractMapStateToProps,
|
mapStateToProps as abstractMapStateToProps,
|
||||||
type Props as AbstractProps
|
type Props as AbstractProps
|
||||||
|
|
|
@ -4,7 +4,7 @@ import React, { Component } from 'react';
|
||||||
|
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
import { IconRec } from '../../base/icons';
|
import { IconRec } from '../../base/icons';
|
||||||
import { ToolbarButton } from '../../toolbox';
|
import { ToolbarButton } from '../../toolbox/components/web';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the React {@code Component} state of
|
* The type of the React {@code Component} state of
|
|
@ -4,8 +4,7 @@ import { openDialog } from '../../../base/dialog';
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import { IconAudioRoute } from '../../../base/icons';
|
import { IconAudioRoute } from '../../../base/icons';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton } from '../../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
|
||||||
|
|
||||||
import AudioRoutePickerDialog from './AudioRoutePickerDialog';
|
import AudioRoutePickerDialog from './AudioRoutePickerDialog';
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import { IconHangup } from '../../../base/icons';
|
import { IconHangup } from '../../../base/icons';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton } from '../../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
|
||||||
import { incomingCallAnswered } from '../actions';
|
import { incomingCallAnswered } from '../actions';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import { IconHangup } from '../../../base/icons';
|
import { IconHangup } from '../../../base/icons';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton } from '../../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
|
||||||
import { incomingCallDeclined } from '../actions';
|
import { incomingCallDeclined } from '../actions';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -6,8 +6,7 @@ import { PIP_ENABLED, getFeatureFlag } from '../../../base/flags';
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import { IconMenuDown } from '../../../base/icons';
|
import { IconMenuDown } from '../../../base/icons';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton } from '../../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
|
||||||
import { enterPictureInPicture } from '../actions';
|
import { enterPictureInPicture } from '../actions';
|
||||||
|
|
||||||
type Props = AbstractButtonProps & {
|
type Props = AbstractButtonProps & {
|
||||||
|
|
|
@ -4,10 +4,7 @@ import { openDialog } from '../../../base/dialog';
|
||||||
import { IconLiveStreaming } from '../../../base/icons';
|
import { IconLiveStreaming } from '../../../base/icons';
|
||||||
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
|
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
|
||||||
import { getLocalParticipant } from '../../../base/participants';
|
import { getLocalParticipant } from '../../../base/participants';
|
||||||
import {
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
AbstractButton,
|
|
||||||
type AbstractButtonProps
|
|
||||||
} from '../../../base/toolbox';
|
|
||||||
import { getActiveSession } from '../../functions';
|
import { getActiveSession } from '../../functions';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -11,10 +11,7 @@ import {
|
||||||
getLocalParticipant,
|
getLocalParticipant,
|
||||||
isLocalParticipantModerator
|
isLocalParticipantModerator
|
||||||
} from '../../../base/participants';
|
} from '../../../base/participants';
|
||||||
import {
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
AbstractButton,
|
|
||||||
type AbstractButtonProps
|
|
||||||
} from '../../../base/toolbox';
|
|
||||||
import { getActiveSession } from '../../functions';
|
import { getActiveSession } from '../../functions';
|
||||||
|
|
||||||
import { StartRecordingDialog, StopRecordingDialog } from './_';
|
import { StartRecordingDialog, StopRecordingDialog } from './_';
|
||||||
|
|
|
@ -8,8 +8,7 @@ import {
|
||||||
isParticipantModerator,
|
isParticipantModerator,
|
||||||
PARTICIPANT_ROLE
|
PARTICIPANT_ROLE
|
||||||
} from '../../base/participants';
|
} from '../../base/participants';
|
||||||
import { AbstractButton } from '../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../base/toolbox';
|
|
||||||
|
|
||||||
import { GrantModeratorDialog } from '.';
|
import { GrantModeratorDialog } from '.';
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
import { openDialog } from '../../base/dialog';
|
import { openDialog } from '../../base/dialog';
|
||||||
import { IconKick } from '../../base/icons';
|
import { IconKick } from '../../base/icons';
|
||||||
import { AbstractButton } from '../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../base/toolbox';
|
|
||||||
|
|
||||||
import { KickRemoteParticipantDialog } from '.';
|
import { KickRemoteParticipantDialog } from '.';
|
||||||
|
|
||||||
|
|
|
@ -7,10 +7,7 @@ import {
|
||||||
import { openDialog } from '../../base/dialog';
|
import { openDialog } from '../../base/dialog';
|
||||||
import { IconMicDisabled } from '../../base/icons';
|
import { IconMicDisabled } from '../../base/icons';
|
||||||
import { MEDIA_TYPE } from '../../base/media';
|
import { MEDIA_TYPE } from '../../base/media';
|
||||||
import {
|
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
|
||||||
AbstractButton,
|
|
||||||
type AbstractButtonProps
|
|
||||||
} from '../../base/toolbox';
|
|
||||||
import { isRemoteTrackMuted } from '../../base/tracks';
|
import { isRemoteTrackMuted } from '../../base/tracks';
|
||||||
|
|
||||||
import { MuteRemoteParticipantDialog } from '.';
|
import { MuteRemoteParticipantDialog } from '.';
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { translate } from '../../../base/i18n';
|
||||||
import { IconPin } from '../../../base/icons';
|
import { IconPin } from '../../../base/icons';
|
||||||
import { pinParticipant } from '../../../base/participants';
|
import { pinParticipant } from '../../../base/participants';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
import { shouldDisplayTileView } from '../../../video-layout/functions';
|
import { shouldDisplayTileView } from '../../../video-layout/functions';
|
||||||
|
|
||||||
export type Props = AbstractButtonProps & {
|
export type Props = AbstractButtonProps & {
|
||||||
|
|
|
@ -10,7 +10,7 @@ import {
|
||||||
_mapStateToProps as _abstractMapStateToProps,
|
_mapStateToProps as _abstractMapStateToProps,
|
||||||
type Props as AbstractProps
|
type Props as AbstractProps
|
||||||
} from '../../../chat/components/PrivateMessageButton';
|
} from '../../../chat/components/PrivateMessageButton';
|
||||||
import { isButtonEnabled } from '../../../toolbox';
|
import { isButtonEnabled } from '../../../toolbox/functions.web';
|
||||||
|
|
||||||
import RemoteVideoMenuButton from './RemoteVideoMenuButton';
|
import RemoteVideoMenuButton from './RemoteVideoMenuButton';
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,7 @@ import { translate } from '../../base/i18n';
|
||||||
import { IconRoomLock, IconRoomUnlock } from '../../base/icons';
|
import { IconRoomLock, IconRoomUnlock } from '../../base/icons';
|
||||||
import { isLocalParticipantModerator } from '../../base/participants';
|
import { isLocalParticipantModerator } from '../../base/participants';
|
||||||
import { connect } from '../../base/redux';
|
import { connect } from '../../base/redux';
|
||||||
import { AbstractButton } from '../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../base/toolbox';
|
|
||||||
import { beginRoomLockRequest, unlockRoom } from '../actions';
|
import { beginRoomLockRequest, unlockRoom } from '../actions';
|
||||||
|
|
||||||
type Props = AbstractButtonProps & {
|
type Props = AbstractButtonProps & {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { createToolbarEvent, sendAnalytics } from '../../../analytics';
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import { IconSecurityOff, IconSecurityOn } from '../../../base/icons';
|
import { IconSecurityOff, IconSecurityOn } from '../../../base/icons';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
import { toggleSecurityDialog } from '../../actions';
|
import { toggleSecurityDialog } from '../../actions';
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,7 @@ import { createToolbarEvent, sendAnalytics } from '../../../analytics';
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import { IconSettings } from '../../../base/icons';
|
import { IconSettings } from '../../../base/icons';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton } from '../../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
|
||||||
import { openDeviceSelectionPopup } from '../../../device-selection';
|
import { openDeviceSelectionPopup } from '../../../device-selection';
|
||||||
import { openSettingsDialog } from '../../actions';
|
import { openSettingsDialog } from '../../actions';
|
||||||
import { SETTINGS_TABS } from '../../constants';
|
import { SETTINGS_TABS } from '../../constants';
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
import { createToolbarEvent, sendAnalytics } from '../../analytics';
|
import { createToolbarEvent, sendAnalytics } from '../../analytics';
|
||||||
import { isLocalParticipantModerator } from '../../base/participants';
|
import { isLocalParticipantModerator } from '../../base/participants';
|
||||||
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
|
||||||
import { toggleRequestingSubtitles } from '../actions';
|
import { toggleRequestingSubtitles } from '../actions';
|
||||||
|
|
||||||
export type AbstractProps = AbstractButtonProps & {
|
export type AbstractProps = AbstractButtonProps & {
|
||||||
|
|
|
@ -9,8 +9,8 @@ import {
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
import { MEDIA_TYPE } from '../../base/media';
|
import { MEDIA_TYPE } from '../../base/media';
|
||||||
import { connect } from '../../base/redux';
|
import { connect } from '../../base/redux';
|
||||||
import { AbstractAudioMuteButton } from '../../base/toolbox';
|
import { AbstractAudioMuteButton } from '../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../base/toolbox';
|
import type { AbstractButtonProps } from '../../base/toolbox/components';
|
||||||
import { isLocalTrackMuted } from '../../base/tracks';
|
import { isLocalTrackMuted } from '../../base/tracks';
|
||||||
import { muteLocal } from '../../remote-video-menu/actions';
|
import { muteLocal } from '../../remote-video-menu/actions';
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { createToolbarEvent, sendAnalytics } from '../../analytics';
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
import { IconDownload } from '../../base/icons';
|
import { IconDownload } from '../../base/icons';
|
||||||
import { connect } from '../../base/redux';
|
import { connect } from '../../base/redux';
|
||||||
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
|
||||||
import { openURLInBrowser } from '../../base/util';
|
import { openURLInBrowser } from '../../base/util';
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,8 @@ import { appNavigate } from '../../app/actions';
|
||||||
import { disconnect } from '../../base/connection';
|
import { disconnect } from '../../base/connection';
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
import { connect } from '../../base/redux';
|
import { connect } from '../../base/redux';
|
||||||
import { AbstractHangupButton } from '../../base/toolbox';
|
import { AbstractHangupButton } from '../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../base/toolbox';
|
import type { AbstractButtonProps } from '../../base/toolbox/components';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the React {@code Component} props of {@link HangupButton}.
|
* The type of the React {@code Component} props of {@link HangupButton}.
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { createToolbarEvent, sendAnalytics } from '../../analytics';
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
import { IconHelp } from '../../base/icons';
|
import { IconHelp } from '../../base/icons';
|
||||||
import { connect } from '../../base/redux';
|
import { connect } from '../../base/redux';
|
||||||
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
|
||||||
import { openURLInBrowser } from '../../base/util';
|
import { openURLInBrowser } from '../../base/util';
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,8 @@ import {
|
||||||
setVideoMuted
|
setVideoMuted
|
||||||
} from '../../base/media';
|
} from '../../base/media';
|
||||||
import { connect } from '../../base/redux';
|
import { connect } from '../../base/redux';
|
||||||
import { AbstractVideoMuteButton } from '../../base/toolbox';
|
import { AbstractVideoMuteButton } from '../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../base/toolbox';
|
import type { AbstractButtonProps } from '../../base/toolbox/components';
|
||||||
import { getLocalVideoType, isLocalVideoTrackMuted } from '../../base/tracks';
|
import { getLocalVideoType, isLocalVideoTrackMuted } from '../../base/tracks';
|
||||||
|
|
||||||
declare var APP: Object;
|
declare var APP: Object;
|
||||||
|
|
|
@ -4,8 +4,7 @@ import { toggleAudioOnly } from '../../../base/audio-only';
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import { IconAudioOnly, IconAudioOnlyOff } from '../../../base/icons';
|
import { IconAudioOnly, IconAudioOnlyOff } from '../../../base/icons';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton } from '../../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the React {@code Component} props of {@link AudioOnlyButton}.
|
* The type of the React {@code Component} props of {@link AudioOnlyButton}.
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import { IconMenu } from '../../../base/icons';
|
import { IconMenu } from '../../../base/icons';
|
||||||
import { AbstractButton } from '../../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
|
||||||
|
|
||||||
|
|
||||||
type Props = AbstractButtonProps;
|
type Props = AbstractButtonProps;
|
||||||
|
|
|
@ -17,7 +17,7 @@ import { LiveStreamButton, RecordButton } from '../../../recording';
|
||||||
import { RoomLockButton } from '../../../room-lock';
|
import { RoomLockButton } from '../../../room-lock';
|
||||||
import { ClosedCaptionButton } from '../../../subtitles';
|
import { ClosedCaptionButton } from '../../../subtitles';
|
||||||
import { TileViewButton } from '../../../video-layout';
|
import { TileViewButton } from '../../../video-layout';
|
||||||
import { VideoShareButton } from '../../../youtube-player';
|
import { VideoShareButton } from '../../../youtube-player/components';
|
||||||
import HelpButton from '../HelpButton';
|
import HelpButton from '../HelpButton';
|
||||||
|
|
||||||
import AudioOnlyButton from './AudioOnlyButton';
|
import AudioOnlyButton from './AudioOnlyButton';
|
||||||
|
|
|
@ -4,8 +4,7 @@ import { openDialog } from '../../../base/dialog';
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import { IconMenuThumb } from '../../../base/icons';
|
import { IconMenuThumb } from '../../../base/icons';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton } from '../../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
|
||||||
|
|
||||||
import OverflowMenu from './OverflowMenu';
|
import OverflowMenu from './OverflowMenu';
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,7 @@ import {
|
||||||
participantUpdated
|
participantUpdated
|
||||||
} from '../../../base/participants';
|
} from '../../../base/participants';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton } from '../../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the React {@code Component} props of {@link RaiseHandButton}.
|
* The type of the React {@code Component} props of {@link RaiseHandButton}.
|
||||||
|
|
|
@ -4,8 +4,7 @@ import { translate } from '../../../base/i18n';
|
||||||
import { IconSwitchCamera } from '../../../base/icons';
|
import { IconSwitchCamera } from '../../../base/icons';
|
||||||
import { MEDIA_TYPE, toggleCameraFacingMode } from '../../../base/media';
|
import { MEDIA_TYPE, toggleCameraFacingMode } from '../../../base/media';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton } from '../../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
|
||||||
import { isLocalTrackMuted } from '../../../base/tracks';
|
import { isLocalTrackMuted } from '../../../base/tracks';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { isMobileBrowser } from '../../../base/environment/utils';
|
||||||
import { IconArrowDown } from '../../../base/icons';
|
import { IconArrowDown } from '../../../base/icons';
|
||||||
import JitsiMeetJS from '../../../base/lib-jitsi-meet/_';
|
import JitsiMeetJS from '../../../base/lib-jitsi-meet/_';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { ToolboxButtonWithIcon } from '../../../base/toolbox';
|
import { ToolboxButtonWithIcon } from '../../../base/toolbox/components';
|
||||||
import { getMediaPermissionPromptVisibility } from '../../../overlay';
|
import { getMediaPermissionPromptVisibility } from '../../../overlay';
|
||||||
import { AudioSettingsPopup, toggleAudioSettings } from '../../../settings';
|
import { AudioSettingsPopup, toggleAudioSettings } from '../../../settings';
|
||||||
import { isAudioSettingsButtonDisabled } from '../../functions';
|
import { isAudioSettingsButtonDisabled } from '../../functions';
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { translate } from '../../../base/i18n';
|
||||||
import { IconMuteEveryone } from '../../../base/icons';
|
import { IconMuteEveryone } from '../../../base/icons';
|
||||||
import { getLocalParticipant, PARTICIPANT_ROLE } from '../../../base/participants';
|
import { getLocalParticipant, PARTICIPANT_ROLE } from '../../../base/participants';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
||||||
import { MuteEveryoneDialog } from '../../../remote-video-menu';
|
import { MuteEveryoneDialog } from '../../../remote-video-menu';
|
||||||
|
|
||||||
type Props = AbstractButtonProps & {
|
type Props = AbstractButtonProps & {
|
||||||
|
|
|
@ -30,7 +30,7 @@ import {
|
||||||
participantUpdated
|
participantUpdated
|
||||||
} from '../../../base/participants';
|
} from '../../../base/participants';
|
||||||
import { connect, equals } from '../../../base/redux';
|
import { connect, equals } from '../../../base/redux';
|
||||||
import { OverflowMenuItem } from '../../../base/toolbox';
|
import { OverflowMenuItem } from '../../../base/toolbox/components';
|
||||||
import { getLocalVideoTrack, toggleScreensharing } from '../../../base/tracks';
|
import { getLocalVideoTrack, toggleScreensharing } from '../../../base/tracks';
|
||||||
import { VideoBlurButton } from '../../../blur';
|
import { VideoBlurButton } from '../../../blur';
|
||||||
import { CHAT_SIZE, ChatCounter, toggleChat } from '../../../chat';
|
import { CHAT_SIZE, ChatCounter, toggleChat } from '../../../chat';
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { isMobileBrowser } from '../../../base/environment/utils';
|
||||||
import { IconArrowDown } from '../../../base/icons';
|
import { IconArrowDown } from '../../../base/icons';
|
||||||
import JitsiMeetJS from '../../../base/lib-jitsi-meet/_';
|
import JitsiMeetJS from '../../../base/lib-jitsi-meet/_';
|
||||||
import { connect } from '../../../base/redux';
|
import { connect } from '../../../base/redux';
|
||||||
import { ToolboxButtonWithIcon } from '../../../base/toolbox';
|
import { ToolboxButtonWithIcon } from '../../../base/toolbox/components';
|
||||||
import { getLocalJitsiVideoTrack } from '../../../base/tracks';
|
import { getLocalJitsiVideoTrack } from '../../../base/tracks';
|
||||||
import { getMediaPermissionPromptVisibility } from '../../../overlay';
|
import { getMediaPermissionPromptVisibility } from '../../../overlay';
|
||||||
import { toggleVideoSettings, VideoSettingsPopup } from '../../../settings';
|
import { toggleVideoSettings, VideoSettingsPopup } from '../../../settings';
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
export * from './actions';
|
|
||||||
export * from './actionTypes';
|
|
||||||
export * from './components';
|
|
||||||
export * from './functions';
|
|
|
@ -11,10 +11,7 @@ import { translate } from '../../base/i18n';
|
||||||
import { IconTileView } from '../../base/icons';
|
import { IconTileView } from '../../base/icons';
|
||||||
import { getParticipantCount } from '../../base/participants';
|
import { getParticipantCount } from '../../base/participants';
|
||||||
import { connect } from '../../base/redux';
|
import { connect } from '../../base/redux';
|
||||||
import {
|
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
|
||||||
AbstractButton,
|
|
||||||
type AbstractButtonProps
|
|
||||||
} from '../../base/toolbox';
|
|
||||||
import { setTileView } from '../actions';
|
import { setTileView } from '../actions';
|
||||||
import { shouldDisplayTileView } from '../functions';
|
import { shouldDisplayTileView } from '../functions';
|
||||||
import logger from '../logger';
|
import logger from '../logger';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import { getPinnedParticipant, getParticipantCount } from '../base/participants';
|
import { getPinnedParticipant, getParticipantCount } from '../base/participants';
|
||||||
import { isYoutubeVideoPlaying } from '../youtube-player';
|
import { isYoutubeVideoPlaying } from '../youtube-player/functions';
|
||||||
|
|
||||||
import { LAYOUTS } from './constants';
|
import { LAYOUTS } from './constants';
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,7 @@ import { translate } from '../../base/i18n';
|
||||||
import { IconShareVideo } from '../../base/icons';
|
import { IconShareVideo } from '../../base/icons';
|
||||||
import { getLocalParticipant } from '../../base/participants';
|
import { getLocalParticipant } from '../../base/participants';
|
||||||
import { connect } from '../../base/redux';
|
import { connect } from '../../base/redux';
|
||||||
import { AbstractButton } from '../../base/toolbox';
|
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
|
||||||
import type { AbstractButtonProps } from '../../base/toolbox';
|
|
||||||
import { toggleSharedVideo } from '../actions';
|
import { toggleSharedVideo } from '../actions';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
// @flow
|
|
||||||
|
|
||||||
export * from './actions';
|
|
||||||
export * from './actionTypes';
|
|
||||||
export * from './components';
|
|
||||||
export * from './constants';
|
|
||||||
export * from './functions';
|
|
Loading…
Reference in New Issue