chore: remove some cycles

pull/7420/head jitsi-meet_4896
Saúl Ibarra Corretgé 5 years ago committed by Saúl Ibarra Corretgé
parent af5d4c850b
commit a67d0fbf6c
  1. 2
      modules/UI/UI.js
  2. 2
      modules/UI/etherpad/Etherpad.js
  3. 9
      modules/UI/shared_video/SharedVideo.js
  4. 2
      react/features/base/participants/components/ParticipantView.native.js
  5. 2
      react/features/base/premeeting/components/web/PreMeetingScreen.js
  6. 3
      react/features/base/toolbox/index.js
  7. 4
      react/features/blur/components/VideoBlurButton.js
  8. 2
      react/features/chat/components/PrivateMessageButton.js
  9. 2
      react/features/chat/components/native/ChatButton.js
  10. 3
      react/features/chat/middleware.js
  11. 4
      react/features/conference/components/native/Conference.js
  12. 2
      react/features/conference/components/native/NavigationBar.js
  13. 8
      react/features/conference/components/web/Conference.js
  14. 5
      react/features/conference/components/web/InviteMore.js
  15. 2
      react/features/conference/components/web/Subject.js
  16. 2
      react/features/conference/middleware.js
  17. 2
      react/features/etherpad/components/SharedDocumentButton.js
  18. 2
      react/features/filmstrip/components/native/Thumbnail.js
  19. 2
      react/features/filmstrip/components/web/Filmstrip.js
  20. 2
      react/features/filmstrip/components/web/Toolbar.js
  21. 3
      react/features/invite/components/add-people-dialog/native/InviteButton.js
  22. 2
      react/features/lobby/components/web/KnockingParticipantList.js
  23. 0
      react/features/local-recording/components/LocalRecordingButton.native.js
  24. 2
      react/features/local-recording/components/LocalRecordingButton.web.js
  25. 3
      react/features/mobile/audio-mode/components/AudioRouteButton.js
  26. 3
      react/features/mobile/incoming-call/components/AnswerButton.js
  27. 3
      react/features/mobile/incoming-call/components/DeclineButton.js
  28. 3
      react/features/mobile/picture-in-picture/components/PictureInPictureButton.js
  29. 5
      react/features/recording/components/LiveStream/AbstractLiveStreamButton.js
  30. 5
      react/features/recording/components/Recording/AbstractRecordButton.js
  31. 3
      react/features/remote-video-menu/components/AbstractGrantModeratorButton.js
  32. 3
      react/features/remote-video-menu/components/AbstractKickButton.js
  33. 5
      react/features/remote-video-menu/components/AbstractMuteButton.js
  34. 2
      react/features/remote-video-menu/components/native/PinButton.js
  35. 2
      react/features/remote-video-menu/components/web/PrivateMessageMenuButton.js
  36. 3
      react/features/room-lock/components/RoomLockButton.js
  37. 2
      react/features/security/components/security-dialog/SecurityDialogButton.js
  38. 3
      react/features/settings/components/web/SettingsButton.js
  39. 2
      react/features/subtitles/components/AbstractClosedCaptionButton.js
  40. 4
      react/features/toolbox/components/AudioMuteButton.js
  41. 2
      react/features/toolbox/components/DownloadButton.js
  42. 4
      react/features/toolbox/components/HangupButton.js
  43. 2
      react/features/toolbox/components/HelpButton.js
  44. 4
      react/features/toolbox/components/VideoMuteButton.js
  45. 3
      react/features/toolbox/components/native/AudioOnlyButton.js
  46. 3
      react/features/toolbox/components/native/MoreOptionsButton.js
  47. 2
      react/features/toolbox/components/native/OverflowMenu.js
  48. 3
      react/features/toolbox/components/native/OverflowMenuButton.js
  49. 3
      react/features/toolbox/components/native/RaiseHandButton.js
  50. 3
      react/features/toolbox/components/native/ToggleCameraButton.js
  51. 2
      react/features/toolbox/components/web/AudioSettingsButton.js
  52. 2
      react/features/toolbox/components/web/MuteEveryoneButton.js
  53. 2
      react/features/toolbox/components/web/Toolbox.js
  54. 2
      react/features/toolbox/components/web/VideoSettingsButton.js
  55. 4
      react/features/toolbox/index.js
  56. 5
      react/features/video-layout/components/TileViewButton.js
  57. 2
      react/features/video-layout/functions.js
  58. 3
      react/features/youtube-player/components/VideoShareButton.js
  59. 7
      react/features/youtube-player/index.js

@ -15,7 +15,7 @@ import {
dockToolbox,
setToolboxEnabled,
showToolbox
} from '../../react/features/toolbox';
} from '../../react/features/toolbox/actions.web';
import UIEvents from '../../service/UI/UIEvents';
import EtherpadManager from './etherpad/Etherpad';

@ -1,7 +1,7 @@
/* global $, APP, interfaceConfig */
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 LargeContainer from '../videolayout/LargeContainer';
import VideoLayout from '../videolayout/VideoLayout';

@ -12,12 +12,9 @@ import {
participantLeft,
pinParticipant
} from '../../../react/features/base/participants';
import {
dockToolbox,
getToolboxHeight,
showToolbox
} from '../../../react/features/toolbox';
import { YOUTUBE_PARTICIPANT_NAME } from '../../../react/features/youtube-player';
import { dockToolbox, showToolbox } from '../../../react/features/toolbox/actions.web';
import { getToolboxHeight } from '../../../react/features/toolbox/functions.web';
import { YOUTUBE_PARTICIPANT_NAME } from '../../../react/features/youtube-player/constants';
import UIEvents from '../../../service/UI/UIEvents';
import UIUtil from '../util/UIUtil';
import Filmstrip from '../videolayout/Filmstrip';

@ -3,7 +3,7 @@
import React, { Component } from 'react';
import { Text, View } from 'react-native';
import { YoutubeLargeVideo } from '../../../youtube-player';
import { YoutubeLargeVideo } from '../../../youtube-player/components';
import { Avatar } from '../../avatar';
import { translate } from '../../i18n';
import { JitsiParticipantConnectionStatus } from '../../lib-jitsi-meet';

@ -2,7 +2,7 @@
import React, { PureComponent } from 'react';
import { AudioSettingsButton, VideoSettingsButton } from '../../../../toolbox';
import { AudioSettingsButton, VideoSettingsButton } from '../../../../toolbox/components/web';
import CopyMeetingUrl from './CopyMeetingUrl';
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 { IconBlurBackground } from '../../base/icons';
import { connect } from '../../base/redux';
import { AbstractButton, BetaTag } from '../../base/toolbox';
import type { AbstractButtonProps } from '../../base/toolbox';
import { AbstractButton, BetaTag } from '../../base/toolbox/components';
import type { AbstractButtonProps } from '../../base/toolbox/components';
import { toggleBlurEffect } from '../actions';
/**

@ -4,7 +4,7 @@ import { translate } from '../../base/i18n';
import { IconMessage, IconReply } from '../../base/icons';
import { getParticipantById } from '../../base/participants';
import { connect } from '../../base/redux';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
import { setPrivateMessageRecipient } from '../actions';
export type Props = AbstractButtonProps & {

@ -8,7 +8,7 @@ import { connect } from '../../../base/redux';
import {
AbstractButton,
type AbstractButtonProps
} from '../../../base/toolbox';
} from '../../../base/toolbox/components';
import { openDisplayNamePrompt } from '../../../display-name';
import { CHAT_VIEW_MODAL_ID } from '../../constants';
import { getUnreadCount } from '../../functions';

@ -18,7 +18,8 @@ import {
} from '../base/participants';
import { MiddlewareRegistry, StateListenerRegistry } from '../base/redux';
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 { addMessage, clearMessages, toggleChat } from './actions';

@ -25,7 +25,9 @@ import { LargeVideo } from '../../../large-video';
import { KnockingParticipantList } from '../../../lobby';
import { BackButtonRegistry } from '../../../mobile/back-button';
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 {
AbstractConference,
abstractMapStateToProps

@ -8,7 +8,7 @@ import { getConferenceName } from '../../../base/conference';
import { getFeatureFlag, CONFERENCE_TIMER_ENABLED, MEETING_NAME_ENABLED } from '../../../base/flags';
import { connect } from '../../../base/redux';
import { PictureInPictureButton } from '../../../mobile/picture-in-picture';
import { isToolboxVisible } from '../../../toolbox';
import { isToolboxVisible } from '../../../toolbox/functions.native';
import ConferenceTimer from '../ConferenceTimer';
import styles, { NAVBAR_GRADIENT_COLORS } from './styles';

@ -14,12 +14,8 @@ import { CalleeInfoContainer } from '../../../invite';
import { LargeVideo } from '../../../large-video';
import { KnockingParticipantList, LobbyScreen } from '../../../lobby';
import { Prejoin, isPrejoinPageVisible } from '../../../prejoin';
import {
Toolbox,
fullScreenChanged,
setToolboxAlwaysVisible,
showToolbox
} from '../../../toolbox';
import { fullScreenChanged, setToolboxAlwaysVisible, showToolbox } from '../../../toolbox/actions.web';
import { Toolbox } from '../../../toolbox/components/web';
import { LAYOUTS, getCurrentLayout } from '../../../video-layout';
import { maybeShowSuboptimalExperienceNotification } from '../../functions';
import {

@ -7,10 +7,7 @@ import { Icon, IconInviteMore } from '../../../base/icons';
import { getParticipantCount } from '../../../base/participants';
import { connect } from '../../../base/redux';
import { beginAddPeople } from '../../../invite';
import {
isButtonEnabled,
isToolboxVisible
} from '../../../toolbox';
import { isButtonEnabled, isToolboxVisible } from '../../../toolbox/functions.web';
import { shouldDisplayTileView } from '../../../video-layout/functions';
declare var interfaceConfig: Object;

@ -5,7 +5,7 @@ import React, { Component } from 'react';
import { getConferenceName } from '../../../base/conference/functions';
import { getParticipantCount } from '../../../base/participants/functions';
import { connect } from '../../../base/redux';
import { isToolboxVisible } from '../../../toolbox';
import { isToolboxVisible } from '../../../toolbox/functions.web';
import ConferenceTimer from '../ConferenceTimer';
import ParticipantsCount from './ParticipantsCount';

@ -13,7 +13,7 @@ import { MiddlewareRegistry, StateListenerRegistry } from '../base/redux';
import { SET_REDUCED_UI } from '../base/responsive-ui';
import { FeedbackDialog } from '../feedback';
import { setFilmstripEnabled } from '../filmstrip';
import { setToolboxEnabled } from '../toolbox';
import { setToolboxEnabled } from '../toolbox/actions';
import { notifyKickedOut } from './actions';

@ -6,7 +6,7 @@ import { createToolbarEvent, sendAnalytics } from '../../analytics';
import { translate } from '../../base/i18n';
import { IconShareDoc } from '../../base/icons';
import { connect } from '../../base/redux';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
import { toggleDocument } from '../actions';

@ -21,7 +21,7 @@ import { getTrackByMediaTypeAndParticipant } from '../../../base/tracks';
import { ConnectionIndicator } from '../../../connection-indicator';
import { DisplayNameLabel } from '../../../display-name';
import { RemoteVideoMenu } from '../../../remote-video-menu';
import { toggleToolboxVisible } from '../../../toolbox';
import { toggleToolboxVisible } from '../../../toolbox/actions.native';
import AudioMutedIndicator from './AudioMutedIndicator';
import DominantSpeakerIndicator from './DominantSpeakerIndicator';

@ -12,7 +12,7 @@ import {
import { translate } from '../../../base/i18n';
import { Icon, IconMenuDown, IconMenuUp } from '../../../base/icons';
import { connect } from '../../../base/redux';
import { dockToolbox } from '../../../toolbox';
import { dockToolbox } from '../../../toolbox/actions.web';
import { getCurrentLayout, LAYOUTS } from '../../../video-layout';
import { setFilmstripHovered, setFilmstripVisible } from '../../actions';
import { shouldRemoteVideosBeVisible } from '../../functions';

@ -8,7 +8,7 @@ import {
AudioMuteButton,
HangupButton,
VideoMuteButton
} from '../../../toolbox';
} from '../../../toolbox/components';
declare var interfaceConfig: Object;

@ -6,8 +6,7 @@ import { getFeatureFlag, INVITE_ENABLED } from '../../../../base/flags';
import { translate } from '../../../../base/i18n';
import { IconAddPeople } from '../../../../base/icons';
import { connect } from '../../../../base/redux';
import { AbstractButton } from '../../../../base/toolbox';
import type { AbstractButtonProps } from '../../../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../../../base/toolbox/components';
import { doInvitePeople } from '../../../actions.native';
type Props = AbstractButtonProps & {

@ -5,7 +5,7 @@ import React from 'react';
import { Avatar } from '../../../base/avatar';
import { translate } from '../../../base/i18n';
import { connect } from '../../../base/redux';
import { isToolboxVisible } from '../../../toolbox';
import { isToolboxVisible } from '../../../toolbox/functions.web';
import AbstractKnockingParticipantList, {
mapStateToProps as abstractMapStateToProps,
type Props as AbstractProps

@ -4,7 +4,7 @@ import React, { Component } from 'react';
import { translate } from '../../base/i18n';
import { IconRec } from '../../base/icons';
import { ToolbarButton } from '../../toolbox';
import { ToolbarButton } from '../../toolbox/components/web';
/**
* The type of the React {@code Component} state of

@ -4,8 +4,7 @@ import { openDialog } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
import { IconAudioRoute } from '../../../base/icons';
import { connect } from '../../../base/redux';
import { AbstractButton } from '../../../base/toolbox';
import type { AbstractButtonProps } from '../../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
import AudioRoutePickerDialog from './AudioRoutePickerDialog';

@ -3,8 +3,7 @@
import { translate } from '../../../base/i18n';
import { IconHangup } from '../../../base/icons';
import { connect } from '../../../base/redux';
import { AbstractButton } from '../../../base/toolbox';
import type { AbstractButtonProps } from '../../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
import { incomingCallAnswered } from '../actions';
/**

@ -3,8 +3,7 @@
import { translate } from '../../../base/i18n';
import { IconHangup } from '../../../base/icons';
import { connect } from '../../../base/redux';
import { AbstractButton } from '../../../base/toolbox';
import type { AbstractButtonProps } from '../../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
import { incomingCallDeclined } from '../actions';
/**

@ -6,8 +6,7 @@ import { PIP_ENABLED, getFeatureFlag } from '../../../base/flags';
import { translate } from '../../../base/i18n';
import { IconMenuDown } from '../../../base/icons';
import { connect } from '../../../base/redux';
import { AbstractButton } from '../../../base/toolbox';
import type { AbstractButtonProps } from '../../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
import { enterPictureInPicture } from '../actions';
type Props = AbstractButtonProps & {

@ -4,10 +4,7 @@ import { openDialog } from '../../../base/dialog';
import { IconLiveStreaming } from '../../../base/icons';
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
import { getLocalParticipant } from '../../../base/participants';
import {
AbstractButton,
type AbstractButtonProps
} from '../../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
import { getActiveSession } from '../../functions';
import {

@ -11,10 +11,7 @@ import {
getLocalParticipant,
isLocalParticipantModerator
} from '../../../base/participants';
import {
AbstractButton,
type AbstractButtonProps
} from '../../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
import { getActiveSession } from '../../functions';
import { StartRecordingDialog, StopRecordingDialog } from './_';

@ -8,8 +8,7 @@ import {
isParticipantModerator,
PARTICIPANT_ROLE
} from '../../base/participants';
import { AbstractButton } from '../../base/toolbox';
import type { AbstractButtonProps } from '../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
import { GrantModeratorDialog } from '.';

@ -2,8 +2,7 @@
import { openDialog } from '../../base/dialog';
import { IconKick } from '../../base/icons';
import { AbstractButton } from '../../base/toolbox';
import type { AbstractButtonProps } from '../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
import { KickRemoteParticipantDialog } from '.';

@ -7,10 +7,7 @@ import {
import { openDialog } from '../../base/dialog';
import { IconMicDisabled } from '../../base/icons';
import { MEDIA_TYPE } from '../../base/media';
import {
AbstractButton,
type AbstractButtonProps
} from '../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
import { isRemoteTrackMuted } from '../../base/tracks';
import { MuteRemoteParticipantDialog } from '.';

@ -4,7 +4,7 @@ import { translate } from '../../../base/i18n';
import { IconPin } from '../../../base/icons';
import { pinParticipant } from '../../../base/participants';
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';
export type Props = AbstractButtonProps & {

@ -10,7 +10,7 @@ import {
_mapStateToProps as _abstractMapStateToProps,
type Props as AbstractProps
} from '../../../chat/components/PrivateMessageButton';
import { isButtonEnabled } from '../../../toolbox';
import { isButtonEnabled } from '../../../toolbox/functions.web';
import RemoteVideoMenuButton from './RemoteVideoMenuButton';

@ -5,8 +5,7 @@ import { translate } from '../../base/i18n';
import { IconRoomLock, IconRoomUnlock } from '../../base/icons';
import { isLocalParticipantModerator } from '../../base/participants';
import { connect } from '../../base/redux';
import { AbstractButton } from '../../base/toolbox';
import type { AbstractButtonProps } from '../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
import { beginRoomLockRequest, unlockRoom } from '../actions';
type Props = AbstractButtonProps & {

@ -4,7 +4,7 @@ import { createToolbarEvent, sendAnalytics } from '../../../analytics';
import { translate } from '../../../base/i18n';
import { IconSecurityOff, IconSecurityOn } from '../../../base/icons';
import { connect } from '../../../base/redux';
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
import { toggleSecurityDialog } from '../../actions';

@ -4,8 +4,7 @@ import { createToolbarEvent, sendAnalytics } from '../../../analytics';
import { translate } from '../../../base/i18n';
import { IconSettings } from '../../../base/icons';
import { connect } from '../../../base/redux';
import { AbstractButton } from '../../../base/toolbox';
import type { AbstractButtonProps } from '../../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
import { openDeviceSelectionPopup } from '../../../device-selection';
import { openSettingsDialog } from '../../actions';
import { SETTINGS_TABS } from '../../constants';

@ -2,7 +2,7 @@
import { createToolbarEvent, sendAnalytics } from '../../analytics';
import { isLocalParticipantModerator } from '../../base/participants';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
import { toggleRequestingSubtitles } from '../actions';
export type AbstractProps = AbstractButtonProps & {

@ -9,8 +9,8 @@ import {
import { translate } from '../../base/i18n';
import { MEDIA_TYPE } from '../../base/media';
import { connect } from '../../base/redux';
import { AbstractAudioMuteButton } from '../../base/toolbox';
import type { AbstractButtonProps } from '../../base/toolbox';
import { AbstractAudioMuteButton } from '../../base/toolbox/components';
import type { AbstractButtonProps } from '../../base/toolbox/components';
import { isLocalTrackMuted } from '../../base/tracks';
import { muteLocal } from '../../remote-video-menu/actions';

@ -4,7 +4,7 @@ import { createToolbarEvent, sendAnalytics } from '../../analytics';
import { translate } from '../../base/i18n';
import { IconDownload } from '../../base/icons';
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';

@ -7,8 +7,8 @@ import { appNavigate } from '../../app/actions';
import { disconnect } from '../../base/connection';
import { translate } from '../../base/i18n';
import { connect } from '../../base/redux';
import { AbstractHangupButton } from '../../base/toolbox';
import type { AbstractButtonProps } from '../../base/toolbox';
import { AbstractHangupButton } from '../../base/toolbox/components';
import type { AbstractButtonProps } from '../../base/toolbox/components';
/**
* 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 { IconHelp } from '../../base/icons';
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';

@ -16,8 +16,8 @@ import {
setVideoMuted
} from '../../base/media';
import { connect } from '../../base/redux';
import { AbstractVideoMuteButton } from '../../base/toolbox';
import type { AbstractButtonProps } from '../../base/toolbox';
import { AbstractVideoMuteButton } from '../../base/toolbox/components';
import type { AbstractButtonProps } from '../../base/toolbox/components';
import { getLocalVideoType, isLocalVideoTrackMuted } from '../../base/tracks';
declare var APP: Object;

@ -4,8 +4,7 @@ import { toggleAudioOnly } from '../../../base/audio-only';
import { translate } from '../../../base/i18n';
import { IconAudioOnly, IconAudioOnlyOff } from '../../../base/icons';
import { connect } from '../../../base/redux';
import { AbstractButton } from '../../../base/toolbox';
import type { AbstractButtonProps } from '../../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
/**
* The type of the React {@code Component} props of {@link AudioOnlyButton}.

@ -2,8 +2,7 @@
import { translate } from '../../../base/i18n';
import { IconMenu } from '../../../base/icons';
import { AbstractButton } from '../../../base/toolbox';
import type { AbstractButtonProps } from '../../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
type Props = AbstractButtonProps;

@ -17,7 +17,7 @@ import { LiveStreamButton, RecordButton } from '../../../recording';
import { RoomLockButton } from '../../../room-lock';
import { ClosedCaptionButton } from '../../../subtitles';
import { TileViewButton } from '../../../video-layout';
import { VideoShareButton } from '../../../youtube-player';
import { VideoShareButton } from '../../../youtube-player/components';
import HelpButton from '../HelpButton';
import AudioOnlyButton from './AudioOnlyButton';

@ -4,8 +4,7 @@ import { openDialog } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
import { IconMenuThumb } from '../../../base/icons';
import { connect } from '../../../base/redux';
import { AbstractButton } from '../../../base/toolbox';
import type { AbstractButtonProps } from '../../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
import OverflowMenu from './OverflowMenu';

@ -14,8 +14,7 @@ import {
participantUpdated
} from '../../../base/participants';
import { connect } from '../../../base/redux';
import { AbstractButton } from '../../../base/toolbox';
import type { AbstractButtonProps } from '../../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
/**
* 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 { MEDIA_TYPE, toggleCameraFacingMode } from '../../../base/media';
import { connect } from '../../../base/redux';
import { AbstractButton } from '../../../base/toolbox';
import type { AbstractButtonProps } from '../../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
import { isLocalTrackMuted } from '../../../base/tracks';
/**

@ -6,7 +6,7 @@ import { isMobileBrowser } from '../../../base/environment/utils';
import { IconArrowDown } from '../../../base/icons';
import JitsiMeetJS from '../../../base/lib-jitsi-meet/_';
import { connect } from '../../../base/redux';
import { ToolboxButtonWithIcon } from '../../../base/toolbox';
import { ToolboxButtonWithIcon } from '../../../base/toolbox/components';
import { getMediaPermissionPromptVisibility } from '../../../overlay';
import { AudioSettingsPopup, toggleAudioSettings } from '../../../settings';
import { isAudioSettingsButtonDisabled } from '../../functions';

@ -6,7 +6,7 @@ import { translate } from '../../../base/i18n';
import { IconMuteEveryone } from '../../../base/icons';
import { getLocalParticipant, PARTICIPANT_ROLE } from '../../../base/participants';
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';
type Props = AbstractButtonProps & {

@ -30,7 +30,7 @@ import {
participantUpdated
} from '../../../base/participants';
import { connect, equals } from '../../../base/redux';
import { OverflowMenuItem } from '../../../base/toolbox';
import { OverflowMenuItem } from '../../../base/toolbox/components';
import { getLocalVideoTrack, toggleScreensharing } from '../../../base/tracks';
import { VideoBlurButton } from '../../../blur';
import { CHAT_SIZE, ChatCounter, toggleChat } from '../../../chat';

@ -6,7 +6,7 @@ import { isMobileBrowser } from '../../../base/environment/utils';
import { IconArrowDown } from '../../../base/icons';
import JitsiMeetJS from '../../../base/lib-jitsi-meet/_';
import { connect } from '../../../base/redux';
import { ToolboxButtonWithIcon } from '../../../base/toolbox';
import { ToolboxButtonWithIcon } from '../../../base/toolbox/components';
import { getLocalJitsiVideoTrack } from '../../../base/tracks';
import { getMediaPermissionPromptVisibility } from '../../../overlay';
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 { getParticipantCount } from '../../base/participants';
import { connect } from '../../base/redux';
import {
AbstractButton,
type AbstractButtonProps
} from '../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
import { setTileView } from '../actions';
import { shouldDisplayTileView } from '../functions';
import logger from '../logger';

@ -1,7 +1,7 @@
// @flow
import { getPinnedParticipant, getParticipantCount } from '../base/participants';
import { isYoutubeVideoPlaying } from '../youtube-player';
import { isYoutubeVideoPlaying } from '../youtube-player/functions';
import { LAYOUTS } from './constants';

@ -7,8 +7,7 @@ import { translate } from '../../base/i18n';
import { IconShareVideo } from '../../base/icons';
import { getLocalParticipant } from '../../base/participants';
import { connect } from '../../base/redux';
import { AbstractButton } from '../../base/toolbox';
import type { AbstractButtonProps } from '../../base/toolbox';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
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…
Cancel
Save