Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
ref: Remove some index files (#13140)
Robert Pintilii9ac039a4089d
diff --git a/conference.js b/conference.jsindex 2fce22953a..6c777c007d 100644--- a/conference.js+++ b/conference.js@@ -28,13 +28,8 @@ import {import { showModeratedNotification } from './react/features/av-moderation/actions';import { shouldShowModeratedNotification } from './react/features/av-moderation/functions';import {- AVATAR_URL_COMMAND,- CONFERENCE_LEAVE_REASONS,- EMAIL_COMMAND,_conferenceWillJoin,authStatusChanged,- commonUserJoinedHandling,- commonUserLeftHandling,conferenceFailed,conferenceJoinInProgress,conferenceJoined,@@ -47,15 +42,24 @@ import {dataChannelClosed,dataChannelOpened,e2eRttChanged,- getConferenceOptions,- getVisitorOptions,kickedOut,lockStateChanged,nonParticipantMessageReceived,onStartMutedPolicyChanged,- p2pStatusChanged,+ p2pStatusChanged+} from './react/features/base/conference/actions';+import {+ AVATAR_URL_COMMAND,+ CONFERENCE_LEAVE_REASONS,+ EMAIL_COMMAND+} from './react/features/base/conference/constants';+import {+ commonUserJoinedHandling,+ commonUserLeftHandling,+ getConferenceOptions,+ getVisitorOptions,sendLocalParticipant-} from './react/features/base/conference';+} from './react/features/base/conference/functions';import { overwriteConfig } from './react/features/base/config/actions';import { getReplaceParticipant } from './react/features/base/config/functions';import {@@ -126,32 +130,28 @@ import {trackRemoved} from './react/features/base/tracks';import { downloadJSON } from './react/features/base/util/downloadJSON';-import { showDesktopPicker } from './react/features/desktop-picker';-import { appendSuffix } from './react/features/display-name';-import {- maybeOpenFeedbackDialog,- submitFeedback-} from './react/features/feedback';+import { showDesktopPicker } from './react/features/desktop-picker/actions';+import { appendSuffix } from './react/features/display-name/functions';+import { maybeOpenFeedbackDialog, submitFeedback } from './react/features/feedback/actions';import { maybeSetLobbyChatMessageListener } from './react/features/lobby/actions.any';import { setNoiseSuppressionEnabled } from './react/features/noise-suppression/actions';+import { hideNotification, showNotification, showWarningNotification } from './react/features/notifications/actions';import {DATA_CHANNEL_CLOSED_NOTIFICATION_ID,- NOTIFICATION_TIMEOUT_TYPE,- hideNotification,- isModerationNotificationDisplayed,- showNotification,- showWarningNotification-} from './react/features/notifications';+ NOTIFICATION_TIMEOUT_TYPE+} from './react/features/notifications/constants';+import { isModerationNotificationDisplayed } from './react/features/notifications/functions';import { mediaPermissionPromptVisibilityChanged } from './react/features/overlay/actions';-import { suspendDetected } from './react/features/power-monitor';+import { suspendDetected } from './react/features/power-monitor/actions';import { initPrejoin, makePrecallTest, setJoiningInProgress } from './react/features/prejoin/actions';import { isPrejoinPageVisible } from './react/features/prejoin/functions';import { disableReceiver, stopReceiver } from './react/features/remote-control';-import { isScreenAudioShared, setScreenAudioShareState } from './react/features/screen-share/';-import { toggleScreenshotCaptureSummary } from './react/features/screenshot-capture';+import { setScreenAudioShareState } from './react/features/screen-share/actions.web';+import { isScreenAudioShared } from './react/features/screen-share/functions';+import { toggleScreenshotCaptureSummary } from './react/features/screenshot-capture/actions';import { AudioMixerEffect } from './react/features/stream-effects/audio-mixer/AudioMixerEffect';import { createRnnoiseProcessor } from './react/features/stream-effects/rnnoise';-import { endpointMessageReceived } from './react/features/subtitles';+import { endpointMessageReceived } from './react/features/subtitles/actions.any';import { handleToggleVideoMuted } from './react/features/toolbox/actions.any';import { muteLocal } from './react/features/video-menu/actions.any';import { setIAmVisitor } from './react/features/visitors/actions';diff --git a/modules/API/API.js b/modules/API/API.jsindex 27525ec4f6..c9ca5f8ca5 100644--- a/modules/API/API.js+++ b/modules/API/API.js@@ -19,16 +19,17 @@ import {import { isEnabledFromState } from '../../react/features/av-moderation/functions';import {endConference,- getCurrentConference,sendTones,setFollowMe,setLocalSubject,setPassword,setSubject-} from '../../react/features/base/conference';-import { getWhitelistedJSON, overwriteConfig } from '../../react/features/base/config';+} from '../../react/features/base/conference/actions';+import { getCurrentConference } from '../../react/features/base/conference/functions';+import { overwriteConfig } from '../../react/features/base/config/actions';+import { getWhitelistedJSON } from '../../react/features/base/config/functions.any';import { toggleDialog } from '../../react/features/base/dialog/actions';-import { isSupportedBrowser } from '../../react/features/base/environment';+import { isSupportedBrowser } from '../../react/features/base/environment/environment';import { parseJWTFromURLParams } from '../../react/features/base/jwt';import JitsiMeetJS, { JitsiRecordingConstants } from '../../react/features/base/lib-jitsi-meet';import { MEDIA_TYPE, VIDEO_TYPE } from '../../react/features/base/media';@@ -68,8 +69,8 @@ import { openChat } from '../../react/features/chat/actions.web';import {processExternalDeviceRequest} from '../../react/features/device-selection/functions';-import { appendSuffix } from '../../react/features/display-name';-import { isEnabled as isDropboxEnabled } from '../../react/features/dropbox';+import { appendSuffix } from '../../react/features/display-name/functions';+import { isEnabled as isDropboxEnabled } from '../../react/features/dropbox/functions';import { setMediaEncryptionKey, toggleE2EE } from '../../react/features/e2ee/actions';import {addStageParticipant,@@ -78,7 +79,7 @@ import {togglePinStageParticipant} from '../../react/features/filmstrip/actions.web';import { getPinnedActiveParticipants, isStageFilmstripAvailable } from '../../react/features/filmstrip/functions.web';-import { invite } from '../../react/features/invite';+import { invite } from '../../react/features/invite/actions.any';import {selectParticipantInLargeVideo} from '../../react/features/large-video/actions.any';@@ -88,23 +89,19 @@ import {} from '../../react/features/large-video/actions.web';import { answerKnockingParticipant, toggleLobbyMode } from '../../react/features/lobby/actions';import { setNoiseSuppressionEnabled } from '../../react/features/noise-suppression/actions';-import {- NOTIFICATION_TIMEOUT_TYPE,- NOTIFICATION_TYPE,- hideNotification,- showNotification-} from '../../react/features/notifications';+import { hideNotification, showNotification } from '../../react/features/notifications/actions';+import { NOTIFICATION_TIMEOUT_TYPE, NOTIFICATION_TYPE } from '../../react/features/notifications/constants';import {close as closeParticipantsPane,open as openParticipantsPane} from '../../react/features/participants-pane/actions';import { getParticipantsPaneOpen, isForceMuted } from '../../react/features/participants-pane/functions';-import { startLocalVideoRecording, stopLocalVideoRecording } from '../../react/features/recording';+import { startLocalVideoRecording, stopLocalVideoRecording } from '../../react/features/recording/actions.any';import { RECORDING_TYPES } from '../../react/features/recording/constants';import { getActiveSession, supportsLocalRecording } from '../../react/features/recording/functions';import { startAudioScreenShareFlow, startScreenShareFlow } from '../../react/features/screen-share/actions';import { isScreenAudioSupported } from '../../react/features/screen-share/functions';-import { toggleScreenshotCaptureSummary } from '../../react/features/screenshot-capture';+import { toggleScreenshotCaptureSummary } from '../../react/features/screenshot-capture/actions';import { isScreenshotCaptureEnabled } from '../../react/features/screenshot-capture/functions';import SettingsDialog from '../../react/features/settings/components/web/SettingsDialog';import { SETTINGS_TABS } from '../../react/features/settings/constants';@@ -112,9 +109,9 @@ import { playSharedVideo, stopSharedVideo } from '../../react/features/shared-viimport { extractYoutubeIdOrURL } from '../../react/features/shared-video/functions';import { setRequestingSubtitles, toggleRequestingSubtitles } from '../../react/features/subtitles/actions';import { isAudioMuteButtonDisabled } from '../../react/features/toolbox/functions';-import { setTileView, toggleTileView } from '../../react/features/video-layout';+import { setTileView, toggleTileView } from '../../react/features/video-layout/actions.any';import { muteAllParticipants } from '../../react/features/video-menu/actions';-import { setVideoQuality } from '../../react/features/video-quality';+import { setVideoQuality } from '../../react/features/video-quality/actions';import { getJitsiMeetTransport } from '../transport';import { API_ID, ENDPOINT_TEXT_MESSAGE_NAME } from './constants';diff --git a/modules/UI/UI.js b/modules/UI/UI.jsindex df96ff5b48..50eaca73a2 100644--- a/modules/UI/UI.js+++ b/modules/UI/UI.js@@ -8,14 +8,14 @@ import EventEmitter from 'events';import { isMobileBrowser } from '../../react/features/base/environment/utils';import { setColorAlpha } from '../../react/features/base/util';-import { setDocumentUrl } from '../../react/features/etherpad';-import { setFilmstripVisible } from '../../react/features/filmstrip';+import { setDocumentUrl } from '../../react/features/etherpad/actions';+import { setFilmstripVisible } from '../../react/features/filmstrip/actions.any';import {- NOTIFICATION_TIMEOUT_TYPE,joinLeaveNotificationsDisabled,setNotificationsEnabled,showNotification-} from '../../react/features/notifications';+} from '../../react/features/notifications/actions';+import { NOTIFICATION_TIMEOUT_TYPE } from '../../react/features/notifications/constants';import {dockToolbox,setToolboxEnabled,diff --git a/modules/UI/authentication/AuthHandler.js b/modules/UI/authentication/AuthHandler.jsindex 053e9ea8f3..b19e4f71f0 100644--- a/modules/UI/authentication/AuthHandler.js+++ b/modules/UI/authentication/AuthHandler.js@@ -15,7 +15,7 @@ import {isTokenAuthEnabled} from '../../../react/features/authentication/functions';import { getReplaceParticipant } from '../../../react/features/base/config/functions';-import { isDialogOpen } from '../../../react/features/base/dialog';+import { isDialogOpen } from '../../../react/features/base/dialog/functions';import { setJWT } from '../../../react/features/base/jwt';import UIUtil from '../util/UIUtil';diff --git a/modules/UI/etherpad/Etherpad.js b/modules/UI/etherpad/Etherpad.jsindex 6cb205bd11..a11014d536 100644--- a/modules/UI/etherpad/Etherpad.js+++ b/modules/UI/etherpad/Etherpad.js@@ -2,7 +2,8 @@import $ from 'jquery';-import { getSharedDocumentUrl, setDocumentEditingState } from '../../../react/features/etherpad';+import { setDocumentEditingState } from '../../../react/features/etherpad/actions';+import { getSharedDocumentUrl } from '../../../react/features/etherpad/functions';import { getToolboxHeight } from '../../../react/features/toolbox/functions.web';import Filmstrip from '../videolayout/Filmstrip';import LargeContainer from '../videolayout/LargeContainer';diff --git a/modules/UI/util/MessageHandler.js b/modules/UI/util/MessageHandler.jsindex edf1759594..cb221e6dcb 100644--- a/modules/UI/util/MessageHandler.js+++ b/modules/UI/util/MessageHandler.js@@ -1,10 +1,7 @@/* global APP */-import {- NOTIFICATION_TIMEOUT_TYPE,- showErrorNotification,- showWarningNotification-} from '../../../react/features/notifications';+import { showErrorNotification, showWarningNotification } from '../../../react/features/notifications/actions';+import { NOTIFICATION_TIMEOUT_TYPE } from '../../../react/features/notifications/constants';const messageHandler = {/**diff --git a/modules/UI/videolayout/Filmstrip.js b/modules/UI/videolayout/Filmstrip.jsindex 9db29a1b8f..96c2c78028 100644--- a/modules/UI/videolayout/Filmstrip.js+++ b/modules/UI/videolayout/Filmstrip.js@@ -1,6 +1,9 @@/* global APP, interfaceConfig */-import { getVerticalFilmstripVisibleAreaWidth, isFilmstripVisible } from '../../../react/features/filmstrip';+import {+ getVerticalFilmstripVisibleAreaWidth,+ isFilmstripVisible+} from '../../../react/features/filmstrip/functions';const Filmstrip = {/**diff --git a/modules/UI/videolayout/LargeVideoManager.js b/modules/UI/videolayout/LargeVideoManager.jsindex f13335d947..6b7236a36f 100644--- a/modules/UI/videolayout/LargeVideoManager.js+++ b/modules/UI/videolayout/LargeVideoManager.js@@ -8,7 +8,7 @@ import { I18nextProvider } from 'react-i18next';import { Provider } from 'react-redux';import { createScreenSharingIssueEvent, sendAnalytics } from '../../../react/features/analytics';-import { Avatar } from '../../../react/features/base/avatar';+import Avatar from '../../../react/features/base/avatar/components/Avatar';import theme from '../../../react/features/base/components/themes/participantsPaneTheme.json';import { i18next } from '../../../react/features/base/i18n';import { JitsiTrackEvents } from '../../../react/features/base/lib-jitsi-meet';@@ -25,7 +25,7 @@ import {getVideoTrackByParticipant,trackStreamingStatusChanged} from '../../../react/features/base/tracks';-import { CHAT_SIZE } from '../../../react/features/chat';+import { CHAT_SIZE } from '../../../react/features/chat/constants';import {isTrackStreamingStatusActive,isTrackStreamingStatusInactive,@@ -37,8 +37,8 @@ import {updateKnownLargeVideoResolution} from '../../../react/features/large-video/actions';import { getParticipantsPaneOpen } from '../../../react/features/participants-pane/functions';-import { PresenceLabel } from '../../../react/features/presence-status';-import { shouldDisplayTileView } from '../../../react/features/video-layout';+import PresenceLabel from '../../../react/features/presence-status/components/PresenceLabel';+import { shouldDisplayTileView } from '../../../react/features/video-layout/functions.any';/* eslint-enable no-unused-vars */import { createDeferred } from '../../util/helpers';import AudioLevels from '../audio_levels/AudioLevels';diff --git a/modules/UI/videolayout/VideoContainer.js b/modules/UI/videolayout/VideoContainer.jsindex aacfbd2dd2..45d55fb00e 100644--- a/modules/UI/videolayout/VideoContainer.js+++ b/modules/UI/videolayout/VideoContainer.js@@ -6,10 +6,11 @@ import React from 'react';import ReactDOM from 'react-dom';import { browser } from '../../../react/features/base/lib-jitsi-meet';-import { FILMSTRIP_BREAKPOINT } from '../../../react/features/filmstrip';-import { LargeVideoBackground, ORIENTATION } from '../../../react/features/large-video';+import { FILMSTRIP_BREAKPOINT } from '../../../react/features/filmstrip/constants';import { setLargeVideoDimensions } from '../../../react/features/large-video/actions.any';-import { LAYOUTS, getCurrentLayout } from '../../../react/features/video-layout';+import { LargeVideoBackground, ORIENTATION } from '../../../react/features/large-video/components/LargeVideoBackground';+import { LAYOUTS } from '../../../react/features/video-layout/constants';+import { getCurrentLayout } from '../../../react/features/video-layout/functions.any';/* eslint-enable no-unused-vars */import UIUtil from '../util/UIUtil';diff --git a/react/features/app/components/App.native.js b/react/features/app/components/App.native.jsindex 15897a0ed4..7eefb1d0c9 100644--- a/react/features/app/components/App.native.js+++ b/react/features/app/components/App.native.js@@ -3,8 +3,8 @@ import { NativeModules, Platform, StyleSheet, View } from 'react-native';import { SafeAreaProvider } from 'react-native-safe-area-context';import SplashScreen from 'react-native-splash-screen';-import { DialogContainer } from '../../base/dialog';import BottomSheetContainer from '../../base/dialog/components/native/BottomSheetContainer';+import DialogContainer from '../../base/dialog/components/native/DialogContainer';import { updateFlags } from '../../base/flags/actions';import { CALL_INTEGRATION_ENABLED, SERVER_URL_CHANGE_ENABLED } from '../../base/flags/constants';import { getFeatureFlag } from '../../base/flags/functions';diff --git a/react/features/app/components/App.web.js b/react/features/app/components/App.web.jsindex 347ae7d91e..ba03db6faa 100644--- a/react/features/app/components/App.web.js+++ b/react/features/app/components/App.web.js@@ -4,7 +4,7 @@ import React, { Fragment } from 'react';import GlobalStyles from '../../base/ui/components/GlobalStyles.web';import JitsiThemeProvider from '../../base/ui/components/JitsiThemeProvider.web';import DialogContainer from '../../base/ui/components/web/DialogContainer';-import { ChromeExtensionBanner } from '../../chrome-extension-banner';+import ChromeExtensionBanner from '../../chrome-extension-banner/components/ChromeExtensionBanner.web';import OverlayContainer from '../../overlay/components/web/OverlayContainer';import { AbstractApp } from './AbstractApp';diff --git a/react/features/app/getRouteToRender.web.js b/react/features/app/getRouteToRender.web.jsindex 7c8b45e5f8..a459c3bdee 100644--- a/react/features/app/getRouteToRender.web.js+++ b/react/features/app/getRouteToRender.web.js@@ -1,13 +1,14 @@import { generateRoomWithoutSeparator } from '@jitsi/js-utils/random';-import { isRoomValid } from '../base/conference';-import { isSupportedBrowser } from '../base/environment';+import { isRoomValid } from '../base/conference/functions';+import { isSupportedBrowser } from '../base/environment/environment';import { toState } from '../base/redux';-import { Conference } from '../conference';-import { getDeepLinkingPage } from '../deep-linking';-import { UnsupportedDesktopBrowser } from '../unsupported-browser';-import { BlankPage, WelcomePage } from '../welcome';+import Conference from '../conference/components/web/Conference';+import { getDeepLinkingPage } from '../deep-linking/functions';+import UnsupportedDesktopBrowser from '../unsupported-browser/components/UnsupportedDesktopBrowser';+import BlankPage from '../welcome/components/BlankPage';+import WelcomePage from '../welcome/components/WelcomePage';import { getCustomLandingPageURL, isWelcomePageEnabled } from '../welcome/functions';/**diff --git a/react/features/app/middleware.js b/react/features/app/middleware.jsindex 2ec41286bd..5a50e9f4d7 100644--- a/react/features/app/middleware.js+++ b/react/features/app/middleware.js@@ -4,12 +4,9 @@ import {createConnectionEvent,sendAnalytics} from '../analytics';-import { SET_ROOM } from '../base/conference';-import {- CONNECTION_ESTABLISHED,- CONNECTION_FAILED,- getURLWithoutParams-} from '../base/connection';+import { SET_ROOM } from '../base/conference/actionTypes';+import { CONNECTION_ESTABLISHED, CONNECTION_FAILED } from '../base/connection/actionTypes';+import { getURLWithoutParams } from '../base/connection/utils';import { MiddlewareRegistry } from '../base/redux';import { inIframe } from '../base/util/iframeUtils';diff --git a/react/features/authentication/components/native/LoginDialog.js b/react/features/authentication/components/native/LoginDialog.jsindex cf05b20e42..9e627d894a 100644--- a/react/features/authentication/components/native/LoginDialog.js+++ b/react/features/authentication/components/native/LoginDialog.js@@ -3,9 +3,9 @@ import Dialog from 'react-native-dialog';import { connect as reduxConnect } from 'react-redux';import type { Dispatch } from 'redux';-import { toJid } from '../../../base/connection';import { connect } from '../../../base/connection/actions.native';-import { _abstractMapStateToProps } from '../../../base/dialog';+import { toJid } from '../../../base/connection/functions';+import { _abstractMapStateToProps } from '../../../base/dialog/functions';import { translate } from '../../../base/i18n';import { JitsiConnectionErrors } from '../../../base/lib-jitsi-meet';import { authenticateAndUpgradeRole, cancelLogin } from '../../actions.native';diff --git a/react/features/authentication/components/native/WaitForOwnerDialog.js b/react/features/authentication/components/native/WaitForOwnerDialog.jsindex bb7e6ca6ae..bce11b03bc 100644--- a/react/features/authentication/components/native/WaitForOwnerDialog.js+++ b/react/features/authentication/components/native/WaitForOwnerDialog.js@@ -2,7 +2,7 @@ import React, { Component } from 'react';import { connect } from 'react-redux';import type { Dispatch } from 'redux';-import { ConfirmDialog } from '../../../base/dialog';+import ConfirmDialog from '../../../base/dialog/components/native/ConfirmDialog';import { translate } from '../../../base/i18n';import { cancelWaitForOwner, openLoginDialog } from '../../actions.native';diff --git a/react/features/base/app/components/index.js b/react/features/base/app/components/index.jsdeleted file mode 100644index 76921fb758..0000000000--- a/react/features/base/app/components/index.js+++ /dev/null@@ -1 +0,0 @@-export { default as BaseApp } from './BaseApp';diff --git a/react/features/base/app/index.js b/react/features/base/app/index.jsdeleted file mode 100644index b845e8859c..0000000000--- a/react/features/base/app/index.js+++ /dev/null@@ -1,4 +0,0 @@-export * from './actions';-export * from './actionTypes';-export * from './components';-export * from './functions';diff --git a/react/features/base/audio-only/index.js b/react/features/base/audio-only/index.jsdeleted file mode 100644index 3d915f1aad..0000000000--- a/react/features/base/audio-only/index.js+++ /dev/null@@ -1,4 +0,0 @@-// @flow--export * from './actions';-export * from './actionTypes';diff --git a/react/features/base/avatar/components/index.native.ts b/react/features/base/avatar/components/index.native.tsindex f7e728d1fc..d49642ded6 100644--- a/react/features/base/avatar/components/index.native.ts+++ b/react/features/base/avatar/components/index.native.ts@@ -1,2 +1 @@export { default as StatelessAvatar } from './native/StatelessAvatar';-export { default as Avatar } from './Avatar';diff --git a/react/features/base/avatar/components/index.web.ts b/react/features/base/avatar/components/index.web.tsindex 3d4eaeeead..732c33dfd5 100644--- a/react/features/base/avatar/components/index.web.ts+++ b/react/features/base/avatar/components/index.web.ts@@ -1,2 +1 @@export { default as StatelessAvatar } from './web/StatelessAvatar';-export { default as Avatar } from './Avatar';diff --git a/react/features/base/avatar/index.js b/react/features/base/avatar/index.jsdeleted file mode 100644index 2e2602267f..0000000000--- a/react/features/base/avatar/index.js+++ /dev/null@@ -1,5 +0,0 @@-// @flow--export * from './components';-export * from './constants';-export * from './functions';diff --git a/react/features/base/color-scheme/index.js b/react/features/base/color-scheme/index.jsdeleted file mode 100644index 92bb93f781..0000000000--- a/react/features/base/color-scheme/index.js+++ /dev/null@@ -1,4 +0,0 @@-// @flow--export * from './functions';-export { default as ColorSchemeRegistry } from './ColorSchemeRegistry';diff --git a/react/features/base/components/index.js b/react/features/base/components/index.jsdeleted file mode 100644index 1460748d90..0000000000--- a/react/features/base/components/index.js+++ /dev/null@@ -1 +0,0 @@-export { default as ListItem } from './participants-pane-list/ListItem';diff --git a/react/features/base/conference/index.js b/react/features/base/conference/index.jsdeleted file mode 100644index a60a814b1e..0000000000--- a/react/features/base/conference/index.js+++ /dev/null@@ -1,4 +0,0 @@-export * from './actions';-export * from './actionTypes';-export * from './constants';-export * from './functions';diff --git a/react/features/base/conference/middleware.any.js b/react/features/base/conference/middleware.any.jsindex f1035cd7ce..7fadbe8825 100644--- a/react/features/base/conference/middleware.any.js+++ b/react/features/base/conference/middleware.any.js@@ -10,17 +10,13 @@ import {} from '../../analytics';import { reloadNow } from '../../app/actions';import { removeLobbyChatParticipant } from '../../chat/actions.any';-import { openDisplayNamePrompt } from '../../display-name';-import { NOTIFICATION_TIMEOUT_TYPE, showErrorNotification, showWarningNotification } from '../../notifications';+import { openDisplayNamePrompt } from '../../display-name/actions';+import { showErrorNotification, showWarningNotification } from '../../notifications/actions';+import { NOTIFICATION_TIMEOUT_TYPE } from '../../notifications/constants';import { setIAmVisitor } from '../../visitors/actions';-import { overwriteConfig } from '../config';-import {- CONNECTION_ESTABLISHED,- CONNECTION_FAILED,- connectionDisconnected,- disconnect-} from '../connection';-import { connect } from '../connection/actions';+import { overwriteConfig } from '../config/actions';+import { CONNECTION_ESTABLISHED, CONNECTION_FAILED } from '../connection/actionTypes';+import { connect, connectionDisconnected, disconnect } from '../connection/actions';import { validateJwt } from '../jwt';import { JitsiConferenceErrors } from '../lib-jitsi-meet';import {diff --git a/react/features/base/config/index.js b/react/features/base/config/index.jsdeleted file mode 100644index 1148cc5929..0000000000--- a/react/features/base/config/index.js+++ /dev/null@@ -1,5 +0,0 @@-export * from './actions';-export * from './actionTypes';-export { default as CONFIG_WHITELIST } from './configWhitelist';-export * from './constants';-export * from './functions';diff --git a/react/features/base/connection/index.js b/react/features/base/connection/index.jsdeleted file mode 100644index 12caa6abdf..0000000000--- a/react/features/base/connection/index.js+++ /dev/null@@ -1,7 +0,0 @@-// @flow--export * from './actions';-export * from './actionTypes';-export * from './constants';-export * from './functions';-export * from './utils';diff --git a/react/features/base/dialog/components/_.native.js b/react/features/base/dialog/components/_.native.jsdeleted file mode 100644index a32ec60612..0000000000--- a/react/features/base/dialog/components/_.native.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './native';diff --git a/react/features/base/dialog/components/_.web.js b/react/features/base/dialog/components/_.web.jsdeleted file mode 100644index 40d5f46528..0000000000--- a/react/features/base/dialog/components/_.web.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './web';diff --git a/react/features/base/dialog/components/functions.native.js b/react/features/base/dialog/components/functions.native.jsindex 4780af1886..7f68ebb904 100644--- a/react/features/base/dialog/components/functions.native.js+++ b/react/features/base/dialog/components/functions.native.js@@ -1,7 +1,7 @@import React from 'react';import { Text } from 'react-native';-import { brandedDialog as styles } from './native';+import { brandedDialog as styles } from './native/styles';/*** Renders a specific {@code string} which may contain HTML.diff --git a/react/features/base/dialog/components/index.js b/react/features/base/dialog/components/index.jsdeleted file mode 100644index bf0c7deb0e..0000000000--- a/react/features/base/dialog/components/index.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './_';diff --git a/react/features/base/dialog/components/native/DialogContainer.js b/react/features/base/dialog/components/native/DialogContainer.jsindex 053f0d6c94..a037284fa4 100644--- a/react/features/base/dialog/components/native/DialogContainer.js+++ b/react/features/base/dialog/components/native/DialogContainer.js@@ -1,8 +1,8 @@import React, { Fragment } from 'react';import { connect } from 'react-redux';-import { ReactionEmoji } from '../../../../reactions/components';-import { getReactionsQueue } from '../../../../reactions/functions.any';+import ReactionEmoji from '../../../../reactions/components/native/ReactionEmoji';+import { getReactionsQueue } from '../../../../reactions/functions.native';import AbstractDialogContainer, {abstractMapStateToProps} from '../AbstractDialogContainer';diff --git a/react/features/base/dialog/components/native/index.js b/react/features/base/dialog/components/native/index.jsdeleted file mode 100644index 074e2cf15b..0000000000--- a/react/features/base/dialog/components/native/index.js+++ /dev/null@@ -1,12 +0,0 @@-// @flow--export { default as BottomSheet } from './BottomSheet';-export { default as ConfirmDialog } from './ConfirmDialog';-export { default as DialogContainer } from './DialogContainer';-export { default as AlertDialog } from './AlertDialog';-export { default as InputDialog } from './InputDialog';-export { default as PageReloadDialog } from './PageReloadDialog';--// NOTE: Some dialogs reuse the style of these base classes for consistency-// and as we're in a /native namespace, it's safe to export the styles.-export * from './styles';diff --git a/react/features/base/dialog/components/native/styles.js b/react/features/base/dialog/components/native/styles.jsindex ab67e95249..bbf06482de 100644--- a/react/features/base/dialog/components/native/styles.js+++ b/react/features/base/dialog/components/native/styles.js@@ -1,7 +1,8 @@import { StyleSheet } from 'react-native';import BaseTheme from '../../../../base/ui/components/BaseTheme.native';-import { ColorSchemeRegistry, schemeColor } from '../../../color-scheme';+import ColorSchemeRegistry from '../../../color-scheme/ColorSchemeRegistry';+import { schemeColor } from '../../../color-scheme/functions';import { BoxModel } from '../../../styles';import { PREFERRED_DIALOG_SIZE } from '../../constants';diff --git a/react/features/base/dialog/components/web/index.js b/react/features/base/dialog/components/web/index.jsdeleted file mode 100644index 5f8c7074ea..0000000000--- a/react/features/base/dialog/components/web/index.js+++ /dev/null@@ -1,5 +0,0 @@-// @flow--export { default as AbstractDialogTab } from './AbstractDialogTab';-export type { Props as AbstractDialogTabProps } from './AbstractDialogTab';-export { default as DialogContainer } from '../../../ui/components/web/DialogContainer';diff --git a/react/features/base/dialog/index.js b/react/features/base/dialog/index.jsdeleted file mode 100644index b845e8859c..0000000000--- a/react/features/base/dialog/index.js+++ /dev/null@@ -1,4 +0,0 @@-export * from './actions';-export * from './actionTypes';-export * from './components';-export * from './functions';diff --git a/react/features/base/environment/index.js b/react/features/base/environment/index.jsdeleted file mode 100644index 5d04aebd17..0000000000--- a/react/features/base/environment/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './environment';diff --git a/react/features/base/flags/index.js b/react/features/base/flags/index.jsdeleted file mode 100644index a60a814b1e..0000000000--- a/react/features/base/flags/index.js+++ /dev/null@@ -1,4 +0,0 @@-export * from './actions';-export * from './actionTypes';-export * from './constants';-export * from './functions';diff --git a/react/features/base/media/middleware.any.js b/react/features/base/media/middleware.any.jsindex 23b2d6f706..28004e6eee 100644--- a/react/features/base/media/middleware.any.js+++ b/react/features/base/media/middleware.any.js@@ -8,15 +8,15 @@ import {sendAnalytics} from '../../analytics';import { APP_STATE_CHANGED } from '../../mobile/background';-import {- NOTIFICATION_TIMEOUT_TYPE,- showWarningNotification-} from '../../notifications';+import { showWarningNotification } from '../../notifications/actions';+import { NOTIFICATION_TIMEOUT_TYPE } from '../../notifications/constants';import { isForceMuted } from '../../participants-pane/functions';import { isScreenMediaShared } from '../../screen-share/functions';-import { SET_AUDIO_ONLY, setAudioOnly } from '../audio-only';-import { SET_ROOM, isRoomValid } from '../conference';-import { getMultipleVideoSendingSupportFeatureFlag } from '../config';+import { SET_AUDIO_ONLY } from '../audio-only/actionTypes';+import { setAudioOnly } from '../audio-only/actions';+import { SET_ROOM } from '../conference/actionTypes';+import { isRoomValid } from '../conference/functions';+import { getMultipleVideoSendingSupportFeatureFlag } from '../config/functions.any';import { getLocalParticipant } from '../participants';import { MiddlewareRegistry } from '../redux';import { getPropertyValue } from '../settings';diff --git a/react/features/base/premeeting/components/web/Preview.js b/react/features/base/premeeting/components/web/Preview.jsindex c8ea43e1af..d3ec5c3251 100644--- a/react/features/base/premeeting/components/web/Preview.js+++ b/react/features/base/premeeting/components/web/Preview.js@@ -4,7 +4,7 @@ import React, { useEffect } from 'react';import { connect } from 'react-redux';import { getDisplayName } from '../../../../base/settings';-import { Avatar } from '../../../avatar';+import Avatar from '../../../avatar/components/Avatar';import { Video } from '../../../media';import { getLocalParticipant } from '../../../participants';import { getLocalVideoTrack } from '../../../tracks';diff --git a/react/features/base/react/components/native/AvatarListItem.js b/react/features/base/react/components/native/AvatarListItem.jsindex f6c27ec968..dcafe51dc1 100644--- a/react/features/base/react/components/native/AvatarListItem.js+++ b/react/features/base/react/components/native/AvatarListItem.js@@ -3,7 +3,7 @@import React, { Component } from 'react';import { Text } from 'react-native';-import { Avatar } from '../../../avatar';+import Avatar from '../../../avatar/components/Avatar';import { StyleType } from '../../../styles';import { type Item } from '../../Types';diff --git a/react/features/base/tracks/actions.web.ts b/react/features/base/tracks/actions.web.tsindex ef69ad8403..577cce1830 100644--- a/react/features/base/tracks/actions.web.ts+++ b/react/features/base/tracks/actions.web.ts@@ -9,8 +9,8 @@ import { NOTIFICATION_TIMEOUT_TYPE } from '../../notifications/constants';import { stopReceiver } from '../../remote-control/actions';import { setScreenAudioShareState, setScreenshareAudioTrack } from '../../screen-share/actions';import { isAudioOnlySharing, isScreenVideoShared } from '../../screen-share/functions';-// @ts-ignore-import { isScreenshotCaptureEnabled, toggleScreenshotCaptureSummary } from '../../screenshot-capture';+import { toggleScreenshotCaptureSummary } from '../../screenshot-capture/actions';+import { isScreenshotCaptureEnabled } from '../../screenshot-capture/functions';// @ts-ignoreimport { AudioMixerEffect } from '../../stream-effects/audio-mixer/AudioMixerEffect';import { getCurrentConference } from '../conference/functions';diff --git a/react/features/calendar-sync/actions.native.ts b/react/features/calendar-sync/actions.native.tsindex 4fba82c2b5..03a7c698af 100644--- a/react/features/calendar-sync/actions.native.ts+++ b/react/features/calendar-sync/actions.native.ts@@ -6,11 +6,9 @@ import { IStore } from '../app/types';import { openDialog } from '../base/dialog/actions';import { refreshCalendar } from './actions';-import {- UpdateCalendarEventDialog-- // @ts-ignore-} from './components';+// eslint-disable-next-line lines-around-comment+// @ts-ignore+import UpdateCalendarEventDialog from './components/UpdateCalendarEventDialog.native';import { addLinkToCalendarEntry } from './functions.native';export * from './actions.any';diff --git a/react/features/calendar-sync/components/CalendarList.web.js b/react/features/calendar-sync/components/CalendarList.web.jsindex 23fb060113..7082cb6dde 100644--- a/react/features/calendar-sync/components/CalendarList.web.js+++ b/react/features/calendar-sync/components/CalendarList.web.js@@ -11,7 +11,8 @@ import { translate } from '../../base/i18n';import { Icon, IconCalendar } from '../../base/icons';import { AbstractPage } from '../../base/react';import Spinner from '../../base/ui/components/web/Spinner';-import { SETTINGS_TABS, openSettingsDialog } from '../../settings';+import { openSettingsDialog } from '../../settings/actions';+import { SETTINGS_TABS } from '../../settings/constants';import { refreshCalendar } from '../actions';import { ERRORS } from '../constants';diff --git a/react/features/calendar-sync/components/UpdateCalendarEventDialog.native.js b/react/features/calendar-sync/components/UpdateCalendarEventDialog.native.jsindex f8534f1b9d..4b00f7ec88 100644--- a/react/features/calendar-sync/components/UpdateCalendarEventDialog.native.js+++ b/react/features/calendar-sync/components/UpdateCalendarEventDialog.native.js@@ -3,7 +3,7 @@import React, { Component } from 'react';import { connect } from 'react-redux';-import { ConfirmDialog } from '../../base/dialog';+import ConfirmDialog from '../../base/dialog/components/native/ConfirmDialog';import { translate } from '../../base/i18n';import { updateCalendarEvent } from '../actions';diff --git a/react/features/calendar-sync/components/index.js b/react/features/calendar-sync/components/index.jsdeleted file mode 100644index 1059c066f5..0000000000--- a/react/features/calendar-sync/components/index.js+++ /dev/null@@ -1,5 +0,0 @@-export { default as CalendarList } from './CalendarList';-export { default as MicrosoftSignInButton } from './MicrosoftSignInButton';-export {- default as UpdateCalendarEventDialog-} from './UpdateCalendarEventDialog';diff --git a/react/features/calendar-sync/functions.native.ts b/react/features/calendar-sync/functions.native.tsindex 30a06f0e78..814d33d60c 100644--- a/react/features/calendar-sync/functions.native.ts+++ b/react/features/calendar-sync/functions.native.ts@@ -5,9 +5,7 @@ import { IReduxState, IStore } from '../app/types';import { IStateful } from '../base/app/types';import { CALENDAR_ENABLED } from '../base/flags/constants';import { getFeatureFlag } from '../base/flags/functions';-// eslint-disable-next-line lines-around-comment-// @ts-ignore-import { getShareInfoText } from '../invite';+import { getShareInfoText } from '../invite/functions';import { setCalendarAuthorization } from './actions.native';import { FETCH_END_DAYS, FETCH_START_DAYS } from './constants';diff --git a/react/features/calendar-sync/index.js b/react/features/calendar-sync/index.jsdeleted file mode 100644index 5d78a5f0de..0000000000--- a/react/features/calendar-sync/index.js+++ /dev/null@@ -1,4 +0,0 @@-export * from './actions';-export * from './components';-export * from './constants';-export { isCalendarEnabled } from './functions';diff --git a/react/features/calendar-sync/web/microsoftCalendar.js b/react/features/calendar-sync/web/microsoftCalendar.jsindex 797f5f0d4e..e7b47b1391 100644--- a/react/features/calendar-sync/web/microsoftCalendar.js+++ b/react/features/calendar-sync/web/microsoftCalendar.js@@ -8,7 +8,7 @@ import { findWindows } from 'windows-iana';import { createDeferred } from '../../../../modules/util/helpers';import { parseStandardURIString, parseURLParams } from '../../base/util';-import { getShareInfoText } from '../../invite';+import { getShareInfoText } from '../../invite/functions';import { setCalendarAPIAuthState } from '../actions';diff --git a/react/features/chat/components/native/ChatButton.js b/react/features/chat/components/native/ChatButton.jsindex 431c672457..9583b15d71 100644--- a/react/features/chat/components/native/ChatButton.js+++ b/react/features/chat/components/native/ChatButton.js@@ -1,6 +1,7 @@import { connect } from 'react-redux';-import { CHAT_ENABLED, getFeatureFlag } from '../../../base/flags';+import { CHAT_ENABLED } from '../../../base/flags/constants';+import { getFeatureFlag } from '../../../base/flags/functions';import { translate } from '../../../base/i18n';import { IconChatUnread, IconMessage } from '../../../base/icons';import {diff --git a/react/features/chat/components/native/ChatMessage.js b/react/features/chat/components/native/ChatMessage.jsindex 2797af0c9a..1f1bb049d3 100644--- a/react/features/chat/components/native/ChatMessage.js+++ b/react/features/chat/components/native/ChatMessage.js@@ -2,7 +2,7 @@ import React from 'react';import { Text, View } from 'react-native';import { connect } from 'react-redux';-import { Avatar } from '../../../base/avatar';+import Avatar from '../../../base/avatar/components/Avatar';import { translate } from '../../../base/i18n';import { Linkify } from '../../../base/react';import { isGifMessage } from '../../../gifs/functions';diff --git a/react/features/chat/components/native/ChatPrivacyDialog.js b/react/features/chat/components/native/ChatPrivacyDialog.jsindex 3fd3ce510d..4eb99c780b 100644--- a/react/features/chat/components/native/ChatPrivacyDialog.js+++ b/react/features/chat/components/native/ChatPrivacyDialog.js@@ -1,7 +1,7 @@import React from 'react';import { connect } from 'react-redux';-import { ConfirmDialog } from '../../../base/dialog';+import ConfirmDialog from '../../../base/dialog/components/native/ConfirmDialog';import { translate } from '../../../base/i18n';import { AbstractChatPrivacyDialog, _mapDispatchToProps, _mapStateToProps } from '../AbstractChatPrivacyDialog';diff --git a/react/features/chat/components/native/PrivateMessageButton.js b/react/features/chat/components/native/PrivateMessageButton.jsindex b1ca6502fc..6dc273f44a 100644--- a/react/features/chat/components/native/PrivateMessageButton.js+++ b/react/features/chat/components/native/PrivateMessageButton.js@@ -1,6 +1,7 @@import { connect } from 'react-redux';-import { CHAT_ENABLED, getFeatureFlag } from '../../../base/flags';+import { CHAT_ENABLED } from '../../../base/flags/constants';+import { getFeatureFlag } from '../../../base/flags/functions';import { translate } from '../../../base/i18n';import { IconMessage, IconReply } from '../../../base/icons';import { getParticipantById } from '../../../base/participants';diff --git a/react/features/chat/components/web/Chat.js b/react/features/chat/components/web/Chat.jsindex 92ffcd52b7..e6d7414767 100644--- a/react/features/chat/components/web/Chat.js+++ b/react/features/chat/components/web/Chat.js@@ -4,7 +4,7 @@ import { connect } from 'react-redux';import { translate } from '../../../base/i18n';import Tabs from '../../../base/ui/components/web/Tabs';-import { PollsPane } from '../../../polls/components';+import PollsPane from '../../../polls/components/web/PollsPane';import { toggleChat } from '../../actions.web';import { CHAT_TABS } from '../../constants';import AbstractChat, {diff --git a/react/features/chat/index.js b/react/features/chat/index.jsdeleted file mode 100644index 291539e5c2..0000000000--- a/react/features/chat/index.js+++ /dev/null@@ -1,4 +0,0 @@-export * from './actions';-export * from './actionTypes';-export * from './components';-export * from './constants';diff --git a/react/features/chrome-extension-banner/components/index.js b/react/features/chrome-extension-banner/components/index.jsdeleted file mode 100644index ea1a43eabc..0000000000--- a/react/features/chrome-extension-banner/components/index.js+++ /dev/null@@ -1,2 +0,0 @@-export { default as ChromeExtensionBanner }- from './ChromeExtensionBanner';diff --git a/react/features/chrome-extension-banner/index.js b/react/features/chrome-extension-banner/index.jsdeleted file mode 100644index 07635cbbc8..0000000000--- a/react/features/chrome-extension-banner/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './components';diff --git a/react/features/conference/actions.native.ts b/react/features/conference/actions.native.tsindex 87985b9b93..241a3c0a7f 100644--- a/react/features/conference/actions.native.ts+++ b/react/features/conference/actions.native.ts@@ -2,7 +2,7 @@ import { IStore } from '../app/types';import { openDialog } from '../base/dialog/actions';// eslint-disable-next-line lines-around-comment// @ts-ignore-import { AlertDialog } from '../base/dialog/components/native';+import AlertDialog from '../base/dialog/components/native/AlertDialog';import { getParticipantDisplayName } from '../base/participants/functions';import { DISMISS_CALENDAR_NOTIFICATION } from './actionTypes';diff --git a/react/features/conference/components/ConferenceTimer.tsx b/react/features/conference/components/ConferenceTimer.tsxindex 269fea93f5..acb67846de 100644--- a/react/features/conference/components/ConferenceTimer.tsx+++ b/react/features/conference/components/ConferenceTimer.tsx@@ -1,11 +1,11 @@import React, { useCallback, useEffect, useRef, useState } from 'react';import { useSelector } from 'react-redux';-// @ts-ignore-import { ConferenceTimerDisplay } from '..';import { getConferenceTimestamp } from '../../base/conference/functions';import { getLocalizedDurationFormatter } from '../../base/i18n/dateUtil';+import { ConferenceTimerDisplay } from './index';+/*** The type of the React {@code Component} props of {@link ConferenceTimer}.*/@@ -22,7 +22,7 @@ export interface IDisplayProps {/*** Style to be applied to text (native only).*/- textStyle: Object;+ textStyle?: Object;/*** String to display as time.diff --git a/react/features/conference/components/index.native.js b/react/features/conference/components/index.native.jsdeleted file mode 100644index a32ec60612..0000000000--- a/react/features/conference/components/index.native.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './native';diff --git a/react/features/conference/components/index.native.ts b/react/features/conference/components/index.native.tsnew file mode 100644index 0000000000..4603263089--- /dev/null+++ b/react/features/conference/components/index.native.ts@@ -0,0 +1 @@+export { default as ConferenceTimerDisplay } from './native/ConferenceTimerDisplay';diff --git a/react/features/conference/components/index.web.js b/react/features/conference/components/index.web.jsdeleted file mode 100644index 40d5f46528..0000000000--- a/react/features/conference/components/index.web.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './web';diff --git a/react/features/conference/components/index.web.ts b/react/features/conference/components/index.web.tsnew file mode 100644index 0000000000..8caf964ecf--- /dev/null+++ b/react/features/conference/components/index.web.ts@@ -0,0 +1 @@+export { default as ConferenceTimerDisplay } from './web/ConferenceTimerDisplay';diff --git a/react/features/conference/components/native/AlwaysOnLabels.js b/react/features/conference/components/native/AlwaysOnLabels.jsindex ca9cb30145..3b254ef716 100644--- a/react/features/conference/components/native/AlwaysOnLabels.js+++ b/react/features/conference/components/native/AlwaysOnLabels.js@@ -5,9 +5,9 @@ import { TouchableOpacity } from 'react-native';import { useDispatch } from 'react-redux';import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';-import { RecordingLabel } from '../../../recording';import { openHighlightDialog } from '../../../recording/actions.native';import HighlightButton from '../../../recording/components/Recording/native/HighlightButton';+import RecordingLabel from '../../../recording/components/native/RecordingLabel';import VisitorsCountLabel from '../../../visitors/components/native/VisitorsCountLabel';import RaisedHandsCountLabel from './RaisedHandsCountLabel';diff --git a/react/features/conference/components/native/Conference.js b/react/features/conference/components/native/Conference.jsindex 36bfe9a683..41c1def6d1 100644--- a/react/features/conference/components/native/Conference.js+++ b/react/features/conference/components/native/Conference.js@@ -14,22 +14,21 @@ import { withSafeAreaInsets } from 'react-native-safe-area-context';import { connect } from 'react-redux';import { appNavigate } from '../../../app/actions';-import { FULLSCREEN_ENABLED, PIP_ENABLED, getFeatureFlag } from '../../../base/flags';+import { FULLSCREEN_ENABLED, PIP_ENABLED } from '../../../base/flags/constants';+import { getFeatureFlag } from '../../../base/flags/functions';import { getParticipantCount } from '../../../base/participants';import { Container, LoadingIndicator, TintedView } from '../../../base/react';import { ASPECT_RATIO_NARROW } from '../../../base/responsive-ui/constants';import { TestConnectionInfo } from '../../../base/testing';import { isCalendarEnabled } from '../../../calendar-sync/functions.native';-import { DisplayNameLabel } from '../../../display-name';+import DisplayNameLabel from '../../../display-name/components/native/DisplayNameLabel';import { BrandingImageBackground } from '../../../dynamic-branding/components/native';-import {- FILMSTRIP_SIZE,- Filmstrip,- TileView,- isFilmstripVisible-} from '../../../filmstrip';-import { CalleeInfoContainer } from '../../../invite';-import { LargeVideo } from '../../../large-video';+import Filmstrip from '../../../filmstrip/components/native/Filmstrip';+import TileView from '../../../filmstrip/components/native/TileView';+import { FILMSTRIP_SIZE } from '../../../filmstrip/constants';+import { isFilmstripVisible } from '../../../filmstrip/functions.native';+import CalleeInfoContainer from '../../../invite/components/callee-info/CalleeInfoContainer';+import LargeVideo from '../../../large-video/components/LargeVideo.native';import { startKnocking } from '../../../lobby/actions.any';import { getIsLobbyVisible } from '../../../lobby/functions';import { navigate }@@ -37,9 +36,9 @@ import { navigate }import { shouldEnableAutoKnock } from '../../../mobile/navigation/functions';import { screen } from '../../../mobile/navigation/routes';import { setPictureInPictureEnabled } from '../../../mobile/picture-in-picture';-import { Captions } from '../../../subtitles/components';+import Captions from '../../../subtitles/components/Captions.native';import { setToolboxVisible } from '../../../toolbox/actions';-import { Toolbox } from '../../../toolbox/components/native';+import Toolbox from '../../../toolbox/components/native/Toolbox';import { isToolboxVisible } from '../../../toolbox/functions';import {AbstractConference,diff --git a/react/features/conference/components/native/Labels.js b/react/features/conference/components/native/Labels.jsindex 8d07f77722..0f6719b6bc 100644--- a/react/features/conference/components/native/Labels.js+++ b/react/features/conference/components/native/Labels.js@@ -1,14 +1,13 @@import React, { Component } from 'react';import { TouchableOpacity, View } from 'react-native';-import { TranscribingLabel } from '../../../transcribing';-import { VideoQualityLabel } from '../../../video-quality';+import TranscribingLabel from '../../../transcribing/components/TranscribingLabel.native';+import VideoQualityLabel from '../../../video-quality/components/VideoQualityLabel.native';+import InsecureRoomNameLabel from './InsecureRoomNameLabel';import { LABEL_ID_INSECURE_ROOM_NAME, LABEL_ID_QUALITY, LABEL_ID_TRANSCRIBING, LabelHitSlop } from './constants';import styles from './styles';-import { InsecureRoomNameLabel } from './';-type Props = {/**diff --git a/react/features/conference/components/native/TitleBar.js b/react/features/conference/components/native/TitleBar.jsindex dc7ce1143c..aa86ddf72d 100644--- a/react/features/conference/components/native/TitleBar.js+++ b/react/features/conference/components/native/TitleBar.js@@ -5,10 +5,11 @@ import { Text, View } from 'react-native';import { connect } from 'react-redux';import { getConferenceName, getConferenceTimestamp } from '../../../base/conference/functions';-import { CONFERENCE_TIMER_ENABLED, MEETING_NAME_ENABLED, getFeatureFlag } from '../../../base/flags';+import { CONFERENCE_TIMER_ENABLED, MEETING_NAME_ENABLED } from '../../../base/flags/constants';+import { getFeatureFlag } from '../../../base/flags/functions';import AudioDeviceToggleButton from '../../../mobile/audio-mode/components/AudioDeviceToggleButton';import { PictureInPictureButton } from '../../../mobile/picture-in-picture';-import { ParticipantsPaneButton } from '../../../participants-pane/components/native';+import ParticipantsPaneButton from '../../../participants-pane/components/native/ParticipantsPaneButton';import ToggleCameraButton from '../../../toolbox/components/native/ToggleCameraButton';import { isToolboxVisible } from '../../../toolbox/functions.native';import ConferenceTimer from '../ConferenceTimer';diff --git a/react/features/conference/components/native/carmode/TitleBar.tsx b/react/features/conference/components/native/carmode/TitleBar.tsxindex d0a282bec3..85216aa724 100644--- a/react/features/conference/components/native/carmode/TitleBar.tsx+++ b/react/features/conference/components/native/carmode/TitleBar.tsx@@ -15,7 +15,7 @@ import ConnectionIndicator from '../../../../connection-indicator/components/nat// @ts-ignoreimport RecordingLabel from '../../../../recording/components/native/RecordingLabel';// @ts-ignore-import { VideoQualityLabel } from '../../../../video-quality';+import VideoQualityLabel from '../../../../video-quality/components/VideoQualityLabel.native';// @ts-ignoreimport styles from './styles';diff --git a/react/features/conference/components/native/constants.js b/react/features/conference/components/native/constants.jsindex aebf53276e..eafd40064c 100644--- a/react/features/conference/components/native/constants.js+++ b/react/features/conference/components/native/constants.js@@ -1,9 +1,9 @@// @flowimport { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';-import { RecordingExpandedLabel } from '../../../recording';-import { TranscribingExpandedLabel } from '../../../transcribing';-import { VideoQualityExpandedLabel } from '../../../video-quality';+import RecordingExpandedLabel from '../../../recording/components/native/RecordingExpandedLabel';+import TranscribingExpandedLabel from '../../../transcribing/components/TranscribingExpandedLabel.native';+import VideoQualityExpandedLabel from '../../../video-quality/components/VideoQualityExpandedLabel.native';import InsecureRoomNameExpandedLabel from './InsecureRoomNameExpandedLabel';import RaisedHandsCountExpandedLabel from './RaisedHandsCountExpandedLabel';diff --git a/react/features/conference/components/native/index.js b/react/features/conference/components/native/index.jsdeleted file mode 100644index 22660d3f0f..0000000000--- a/react/features/conference/components/native/index.js+++ /dev/null@@ -1,5 +0,0 @@-// @flow--export { default as Conference } from './Conference';-export { default as ConferenceTimerDisplay } from './ConferenceTimerDisplay';-export { default as InsecureRoomNameLabel } from './InsecureRoomNameLabel';diff --git a/react/features/conference/components/web/Conference.js b/react/features/conference/components/web/Conference.jsindex c6db64e70e..8a856d38a4 100644--- a/react/features/conference/components/web/Conference.js+++ b/react/features/conference/components/web/Conference.js@@ -5,25 +5,29 @@ import React from 'react';import { connect as reactReduxConnect } from 'react-redux';import VideoLayout from '../../../../../modules/UI/videolayout/VideoLayout';-import { getConferenceNameForTitle } from '../../../base/conference';-import { connect, disconnect } from '../../../base/connection';+import { getConferenceNameForTitle } from '../../../base/conference/functions';+import { connect, disconnect } from '../../../base/connection/actions.web';import { isMobileBrowser } from '../../../base/environment/utils';import { translate } from '../../../base/i18n';import { setColorAlpha } from '../../../base/util';-import { Chat } from '../../../chat';-import { MainFilmstrip, ScreenshareFilmstrip, StageFilmstrip } from '../../../filmstrip';-import { CalleeInfoContainer } from '../../../invite';-import { LargeVideo } from '../../../large-video';-import { LobbyScreen } from '../../../lobby';+import Chat from '../../../chat/components/web/Chat';+import MainFilmstrip from '../../../filmstrip/components/web/MainFilmstrip';+import ScreenshareFilmstrip from '../../../filmstrip/components/web/ScreenshareFilmstrip';+import StageFilmstrip from '../../../filmstrip/components/web/StageFilmstrip';+import CalleeInfoContainer from '../../../invite/components/callee-info/CalleeInfoContainer';+import LargeVideo from '../../../large-video/components/LargeVideo.web';+import LobbyScreen from '../../../lobby/components/web/LobbyScreen';import { getIsLobbyVisible } from '../../../lobby/functions';import { getOverlayToRender } from '../../../overlay/functions.web';-import { ParticipantsPane } from '../../../participants-pane/components/web';+import ParticipantsPane from '../../../participants-pane/components/web/ParticipantsPane';import Prejoin from '../../../prejoin/components/web/Prejoin';import { isPrejoinPageVisible } from '../../../prejoin/functions';import { toggleToolboxVisible } from '../../../toolbox/actions.any';import { fullScreenChanged, showToolbox } from '../../../toolbox/actions.web';-import { JitsiPortal, Toolbox } from '../../../toolbox/components/web';-import { LAYOUT_CLASSNAMES, getCurrentLayout } from '../../../video-layout';+import JitsiPortal from '../../../toolbox/components/web/JitsiPortal';+import Toolbox from '../../../toolbox/components/web/Toolbox';+import { LAYOUT_CLASSNAMES } from '../../../video-layout/constants';+import { getCurrentLayout } from '../../../video-layout/functions.any';import { maybeShowSuboptimalExperienceNotification } from '../../functions';import {AbstractConference,diff --git a/react/features/conference/components/web/index.js b/react/features/conference/components/web/index.jsdeleted file mode 100644index 432b18b495..0000000000--- a/react/features/conference/components/web/index.js+++ /dev/null@@ -1,7 +0,0 @@-// @flow--export { default as Conference } from './Conference';-export { default as ConferenceTimerDisplay } from './ConferenceTimerDisplay';-export { default as InsecureRoomNameLabel } from './InsecureRoomNameLabel';-export { default as ConferenceInfo } from './ConferenceInfo';-export { default as SubjectText } from './SubjectText';diff --git a/react/features/conference/index.js b/react/features/conference/index.jsdeleted file mode 100644index 7cd20acdfd..0000000000--- a/react/features/conference/index.js+++ /dev/null@@ -1,4 +0,0 @@-// @flow--export * from './actions';-export * from './components';diff --git a/react/features/conference/middleware.ts b/react/features/conference/middleware.tsindex 02d095bf29..7706397ddf 100644--- a/react/features/conference/middleware.ts+++ b/react/features/conference/middleware.ts@@ -23,7 +23,7 @@ import { BUTTON_TYPES } from '../base/ui/constants.any';import { isCalendarEnabled } from '../calendar-sync/functions';// eslint-disable-next-line lines-around-comment// @ts-ignore-import { FeedbackDialog } from '../feedback';+import FeedbackDialog from '../feedback/components/FeedbackDialog';import { setFilmstripEnabled } from '../filmstrip/actions.any';import { hideNotification, showNotification } from '../notifications/actions';import {diff --git a/react/features/connection-indicator/components/web/index.js b/react/features/connection-indicator/components/web/index.jsdeleted file mode 100644index 8038d84597..0000000000--- a/react/features/connection-indicator/components/web/index.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export { default as ConnectionIndicator } from './ConnectionIndicator';diff --git a/react/features/connection-stats/components/index.js b/react/features/connection-stats/components/index.jsdeleted file mode 100644index 06a8d051fe..0000000000--- a/react/features/connection-stats/components/index.js+++ /dev/null@@ -1 +0,0 @@-export { default as ConnectionStatsTable } from './ConnectionStatsTable';diff --git a/react/features/connection-stats/index.js b/react/features/connection-stats/index.jsdeleted file mode 100644index 07635cbbc8..0000000000--- a/react/features/connection-stats/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './components';diff --git a/react/features/deep-linking/components/index.js b/react/features/deep-linking/components/index.jsdeleted file mode 100644index 45fcc430f4..0000000000--- a/react/features/deep-linking/components/index.js+++ /dev/null@@ -1,3 +0,0 @@-export { default as DeepLinkingDesktopPage } from './DeepLinkingDesktopPage';-export { default as DeepLinkingMobilePage } from './DeepLinkingMobilePage';-export { default as NoMobileApp } from './NoMobileApp';diff --git a/react/features/deep-linking/functions.js b/react/features/deep-linking/functions.jsindex e773ecf2fe..e42fabbaed 100644--- a/react/features/deep-linking/functions.js+++ b/react/features/deep-linking/functions.js@@ -5,11 +5,9 @@ import { Platform } from '../base/react';import { URI_PROTOCOL_PATTERN } from '../base/util';import { isVpaasMeeting } from '../jaas/functions';-import {- DeepLinkingDesktopPage,- DeepLinkingMobilePage,- NoMobileApp-} from './components';+import DeepLinkingDesktopPage from './components/DeepLinkingDesktopPage';+import DeepLinkingMobilePage from './components/DeepLinkingMobilePage';+import NoMobileApp from './components/NoMobileApp';import { _openDesktopApp } from './openDesktopApp';/**diff --git a/react/features/deep-linking/index.js b/react/features/deep-linking/index.jsdeleted file mode 100644index 484b71595f..0000000000--- a/react/features/deep-linking/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './functions';diff --git a/react/features/desktop-picker/actions.ts b/react/features/desktop-picker/actions.tsindex 34d1a2cc60..6bb2e763c0 100644--- a/react/features/desktop-picker/actions.ts+++ b/react/features/desktop-picker/actions.ts@@ -1,7 +1,7 @@import { openDialog } from '../base/dialog/actions';// @ts-ignore-import { DesktopPicker } from './components';+import DesktopPicker from './components/DesktopPicker';/*** Signals to open a dialog with the DesktopPicker component.diff --git a/react/features/desktop-picker/components/index.js b/react/features/desktop-picker/components/index.jsdeleted file mode 100644index 12a0635bfc..0000000000--- a/react/features/desktop-picker/components/index.js+++ /dev/null@@ -1 +0,0 @@-export { default as DesktopPicker } from './DesktopPicker';diff --git a/react/features/desktop-picker/index.js b/react/features/desktop-picker/index.jsdeleted file mode 100644index 3c46ed49d1..0000000000--- a/react/features/desktop-picker/index.js+++ /dev/null@@ -1,2 +0,0 @@-export * from './actions';-export * from './components';diff --git a/react/features/device-selection/index.js b/react/features/device-selection/index.jsdeleted file mode 100644index cc25e46aa0..0000000000--- a/react/features/device-selection/index.js+++ /dev/null@@ -1,3 +0,0 @@-export * from './actions';-export * from './components';-export * from './functions';diff --git a/react/features/display-name/components/native/DisplayNamePrompt.js b/react/features/display-name/components/native/DisplayNamePrompt.jsindex 3282762e54..1b11b1532c 100644--- a/react/features/display-name/components/native/DisplayNamePrompt.js+++ b/react/features/display-name/components/native/DisplayNamePrompt.js@@ -3,7 +3,7 @@import React from 'react';import { connect } from 'react-redux';-import { InputDialog } from '../../../base/dialog';+import InputDialog from '../../../base/dialog/components/native/InputDialog';import AbstractDisplayNamePrompt from '../AbstractDisplayNamePrompt';/**diff --git a/react/features/display-name/index.js b/react/features/display-name/index.jsdeleted file mode 100644index c13d3e017d..0000000000--- a/react/features/display-name/index.js+++ /dev/null@@ -1,5 +0,0 @@-// @flow--export * from './actions';-export * from './components';-export * from './functions';diff --git a/react/features/e2ee/components/index.native.js b/react/features/e2ee/components/index.native.jsdeleted file mode 100644index f2a937042b..0000000000--- a/react/features/e2ee/components/index.native.js+++ /dev/null@@ -1,2 +0,0 @@-// TODO: implement later.-export const E2EELabel = undefined;diff --git a/react/features/e2ee/components/index.web.js b/react/features/e2ee/components/index.web.jsdeleted file mode 100644index 743c617998..0000000000--- a/react/features/e2ee/components/index.web.js+++ /dev/null@@ -1,2 +0,0 @@-export { default as E2EESection } from './E2EESection';-export { default as E2EELabel } from './E2EELabel';diff --git a/react/features/e2ee/index.js b/react/features/e2ee/index.jsdeleted file mode 100644index 803dacd06c..0000000000--- a/react/features/e2ee/index.js+++ /dev/null@@ -1,3 +0,0 @@-export * from './actions';-export * from './actionTypes';-export * from './components';diff --git a/react/features/embed-meeting/components/index.js b/react/features/embed-meeting/components/index.jsdeleted file mode 100644index 7dbfb06891..0000000000--- a/react/features/embed-meeting/components/index.js+++ /dev/null@@ -1,2 +0,0 @@-export { default as EmbedMeetingButton } from './EmbedMeetingButton';-export { default as EmbedMeetingDialog } from './EmbedMeetingDialog';diff --git a/react/features/embed-meeting/index.js b/react/features/embed-meeting/index.jsdeleted file mode 100644index 07635cbbc8..0000000000--- a/react/features/embed-meeting/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './components';diff --git a/react/features/etherpad/components/index.native.js b/react/features/etherpad/components/index.native.jsdeleted file mode 100644index fae33d1975..0000000000--- a/react/features/etherpad/components/index.native.js+++ /dev/null@@ -1,2 +0,0 @@-export { default as SharedDocument } from './native/SharedDocument';-export { default as SharedDocumentButton } from './SharedDocumentButton.native';diff --git a/react/features/etherpad/components/index.web.js b/react/features/etherpad/components/index.web.jsdeleted file mode 100644index 48fcd57be9..0000000000--- a/react/features/etherpad/components/index.web.js+++ /dev/null@@ -1 +0,0 @@-export { default as SharedDocumentButton } from './SharedDocumentButton.web';diff --git a/react/features/etherpad/index.js b/react/features/etherpad/index.jsdeleted file mode 100644index b845e8859c..0000000000--- a/react/features/etherpad/index.js+++ /dev/null@@ -1,4 +0,0 @@-export * from './actions';-export * from './actionTypes';-export * from './components';-export * from './functions';diff --git a/react/features/feedback/actions.ts b/react/features/feedback/actions.tsindex e684fadf4f..151c302314 100644--- a/react/features/feedback/actions.ts+++ b/react/features/feedback/actions.ts@@ -13,7 +13,7 @@ import {} from './actionTypes';// eslint-disable-next-line lines-around-comment// @ts-ignore-import { FeedbackDialog } from './components';+import FeedbackDialog from './components/FeedbackDialog';import { sendFeedbackToJaaSRequest } from './functions';/**diff --git a/react/features/feedback/components/index.js b/react/features/feedback/components/index.jsdeleted file mode 100644index bea3d61b69..0000000000--- a/react/features/feedback/components/index.js+++ /dev/null@@ -1,2 +0,0 @@-export { default as FeedbackButton } from './FeedbackButton';-export { default as FeedbackDialog } from './FeedbackDialog';diff --git a/react/features/feedback/index.js b/react/features/feedback/index.jsdeleted file mode 100644index 803dacd06c..0000000000--- a/react/features/feedback/index.js+++ /dev/null@@ -1,3 +0,0 @@-export * from './actions';-export * from './actionTypes';-export * from './components';diff --git a/react/features/filmstrip/actions.native.ts b/react/features/filmstrip/actions.native.tsindex 9037aa5f3f..0fa74080e0 100644--- a/react/features/filmstrip/actions.native.ts+++ b/react/features/filmstrip/actions.native.ts@@ -4,7 +4,7 @@ import conferenceStyles from '../conference/components/native/styles';import { SET_TILE_VIEW_DIMENSIONS } from './actionTypes';// eslint-disable-next-line lines-around-comment// @ts-ignore-import { styles } from './components';+import styles from './components/native/styles';import { SQUARE_TILE_ASPECT_RATIO, TILE_MARGIN } from './constants';import { getColumnCount, getTileViewParticipantCount } from './functions.native';diff --git a/react/features/filmstrip/components/_.native.js b/react/features/filmstrip/components/_.native.jsdeleted file mode 100644index a32ec60612..0000000000--- a/react/features/filmstrip/components/_.native.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './native';diff --git a/react/features/filmstrip/components/_.web.js b/react/features/filmstrip/components/_.web.jsdeleted file mode 100644index 40d5f46528..0000000000--- a/react/features/filmstrip/components/_.web.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './web';diff --git a/react/features/filmstrip/components/index.js b/react/features/filmstrip/components/index.jsdeleted file mode 100644index bf0c7deb0e..0000000000--- a/react/features/filmstrip/components/index.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './_';diff --git a/react/features/filmstrip/components/native/Thumbnail.js b/react/features/filmstrip/components/native/Thumbnail.jsindex 96f4bd9eaa..275ab4c0af 100644--- a/react/features/filmstrip/components/native/Thumbnail.js+++ b/react/features/filmstrip/components/native/Thumbnail.js@@ -24,7 +24,7 @@ import {trackStreamingStatusChanged} from '../../../base/tracks';import ConnectionIndicator from '../../../connection-indicator/components/native/ConnectionIndicator';-import { DisplayNameLabel } from '../../../display-name';+import DisplayNameLabel from '../../../display-name/components/native/DisplayNameLabel';import { getGifDisplayMode, getGifForParticipant } from '../../../gifs/functions';import {showContextMenuDetails,diff --git a/react/features/filmstrip/components/native/index.js b/react/features/filmstrip/components/native/index.jsdeleted file mode 100644index d0b5eb45de..0000000000--- a/react/features/filmstrip/components/native/index.js+++ /dev/null@@ -1,5 +0,0 @@-// @flow--export { default as Filmstrip } from './Filmstrip';-export { default as TileView } from './TileView';-export { default as styles } from './styles';diff --git a/react/features/filmstrip/components/web/MainFilmstrip.js b/react/features/filmstrip/components/web/MainFilmstrip.jsindex 46e70b4f96..2ef35d7bb3 100644--- a/react/features/filmstrip/components/web/MainFilmstrip.js+++ b/react/features/filmstrip/components/web/MainFilmstrip.js@@ -2,9 +2,10 @@import React from 'react';import { connect } from 'react-redux';-import { getToolbarButtons } from '../../../base/config';+import { getToolbarButtons } from '../../../base/config/functions.web';import { isMobileBrowser } from '../../../base/environment/utils';-import { LAYOUTS, getCurrentLayout } from '../../../video-layout';+import { LAYOUTS } from '../../../video-layout/constants';+import { getCurrentLayout } from '../../../video-layout/functions.web';import {ASPECT_RATIO_BREAKPOINT,FILMSTRIP_BREAKPOINT,diff --git a/react/features/filmstrip/components/web/ScreenshareFilmstrip.js b/react/features/filmstrip/components/web/ScreenshareFilmstrip.jsindex ffee8ccf3a..0dbc3c06ef 100644--- a/react/features/filmstrip/components/web/ScreenshareFilmstrip.js+++ b/react/features/filmstrip/components/web/ScreenshareFilmstrip.js@@ -2,7 +2,8 @@import React from 'react';import { connect } from 'react-redux';-import { LAYOUTS, LAYOUT_CLASSNAMES, getCurrentLayout } from '../../../video-layout';+import { LAYOUTS, LAYOUT_CLASSNAMES } from '../../../video-layout/constants';+import { getCurrentLayout } from '../../../video-layout/functions.web';import {FILMSTRIP_TYPE} from '../../constants';diff --git a/react/features/filmstrip/components/web/StageFilmstrip.js b/react/features/filmstrip/components/web/StageFilmstrip.jsindex 9e12fcc174..1ced187db4 100644--- a/react/features/filmstrip/components/web/StageFilmstrip.js+++ b/react/features/filmstrip/components/web/StageFilmstrip.js@@ -2,9 +2,10 @@import React from 'react';import { connect } from 'react-redux';-import { getToolbarButtons } from '../../../base/config';+import { getToolbarButtons } from '../../../base/config/functions.web';import { isMobileBrowser } from '../../../base/environment/utils';-import { LAYOUTS, LAYOUT_CLASSNAMES, getCurrentLayout } from '../../../video-layout';+import { LAYOUTS, LAYOUT_CLASSNAMES } from '../../../video-layout/constants';+import { getCurrentLayout } from '../../../video-layout/functions.web';import {ASPECT_RATIO_BREAKPOINT,FILMSTRIP_TYPE,diff --git a/react/features/filmstrip/components/web/Thumbnail.tsx b/react/features/filmstrip/components/web/Thumbnail.tsxindex a12b7daa50..a53fa48454 100644--- a/react/features/filmstrip/components/web/Thumbnail.tsx+++ b/react/features/filmstrip/components/web/Thumbnail.tsx@@ -40,7 +40,7 @@ import { getVideoObjectPosition } from '../../../face-landmarks/functions';import { hideGif, showGif } from '../../../gifs/actions';import { getGifDisplayMode, getGifForParticipant } from '../../../gifs/functions';// @ts-ignore-import { PresenceLabel } from '../../../presence-status';+import PresenceLabel from '../../../presence-status/components/PresenceLabel';import { LAYOUTS } from '../../../video-layout/constants';import { getCurrentLayout } from '../../../video-layout/functions.web';import { togglePinStageParticipant } from '../../actions';diff --git a/react/features/filmstrip/components/web/VirtualScreenshareParticipant.js b/react/features/filmstrip/components/web/VirtualScreenshareParticipant.jsindex 0325074c1b..f49bfd1ad4 100644--- a/react/features/filmstrip/components/web/VirtualScreenshareParticipant.js+++ b/react/features/filmstrip/components/web/VirtualScreenshareParticipant.js@@ -5,7 +5,8 @@ import React from 'react';import { useSelector } from 'react-redux';import { VideoTrack } from '../../../base/media';-import { LAYOUTS, getCurrentLayout } from '../../../video-layout';+import { LAYOUTS } from '../../../video-layout/constants';+import { getCurrentLayout } from '../../../video-layout/functions.web';import ThumbnailBottomIndicators from './ThumbnailBottomIndicators';import ThumbnailTopIndicators from './ThumbnailTopIndicators';diff --git a/react/features/filmstrip/components/web/index.js b/react/features/filmstrip/components/web/index.jsdeleted file mode 100644index 5d78656b2b..0000000000--- a/react/features/filmstrip/components/web/index.js+++ /dev/null@@ -1,11 +0,0 @@-// @flow--export { default as AudioMutedIndicator } from './AudioMutedIndicator';-export { default as Filmstrip } from './Filmstrip';-export { default as MainFilmstrip } from './MainFilmstrip';-export { default as ModeratorIndicator } from './ModeratorIndicator';-export { default as RaisedHandIndicator } from './RaisedHandIndicator';-export { default as ScreenshareFilmstrip } from './ScreenshareFilmstrip';-export { default as StageFilmstrip } from './StageFilmstrip';-export { default as StatusIndicators } from './StatusIndicators';-export { default as Thumbnail } from './Thumbnail';diff --git a/react/features/filmstrip/functions.native.ts b/react/features/filmstrip/functions.native.tsindex fdeba98890..e01f9ec883 100644--- a/react/features/filmstrip/functions.native.ts+++ b/react/features/filmstrip/functions.native.ts@@ -17,7 +17,7 @@ import conferenceStyles from '../conference/components/native/styles';import { shouldDisplayTileView } from '../video-layout/functions.native';// @ts-ignore-import { styles } from './components';+import styles from './components/native/styles';export * from './functions.any';diff --git a/react/features/filmstrip/index.js b/react/features/filmstrip/index.jsdeleted file mode 100644index b826983c44..0000000000--- a/react/features/filmstrip/index.js+++ /dev/null@@ -1,5 +0,0 @@-export * from './actions';-export * from './actionTypes';-export * from './components';-export * from './constants';-export * from './functions';diff --git a/react/features/follow-me/index.js b/react/features/follow-me/index.jsdeleted file mode 100644index 484b71595f..0000000000--- a/react/features/follow-me/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './functions';diff --git a/react/features/gifs/components/_.native.js b/react/features/gifs/components/_.native.jsdeleted file mode 100644index 738c4d2b8a..0000000000--- a/react/features/gifs/components/_.native.js+++ /dev/null@@ -1 +0,0 @@-export * from './native';diff --git a/react/features/gifs/components/_.web.js b/react/features/gifs/components/_.web.jsdeleted file mode 100644index b80c83af34..0000000000--- a/react/features/gifs/components/_.web.js+++ /dev/null@@ -1 +0,0 @@-export * from './web';diff --git a/react/features/gifs/components/index.js b/react/features/gifs/components/index.jsdeleted file mode 100644index cda61441e4..0000000000--- a/react/features/gifs/components/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './_';diff --git a/react/features/gifs/components/native/index.js b/react/features/gifs/components/native/index.jsdeleted file mode 100644index 0aa3081273..0000000000--- a/react/features/gifs/components/native/index.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export { default as GifsMenu } from './GifsMenu';diff --git a/react/features/gifs/components/web/index.js b/react/features/gifs/components/web/index.jsdeleted file mode 100644index 18b114f875..0000000000--- a/react/features/gifs/components/web/index.js+++ /dev/null@@ -1,4 +0,0 @@-// @flow--export { default as GifsMenuButton } from './GifsMenuButton';-export { default as GifsMenu } from './GifsMenu';diff --git a/react/features/google-api/actions.js b/react/features/google-api/actions.jsindex 67592ad917..b00554a922 100644--- a/react/features/google-api/actions.js+++ b/react/features/google-api/actions.js@@ -2,7 +2,7 @@import type { Dispatch } from 'redux';-import { getShareInfoText } from '../invite';+import { getShareInfoText } from '../invite/functions';import { getLiveStreaming } from '../recording/components/LiveStream/functions';import {diff --git a/react/features/invite/components/add-people-dialog/index.native.js b/react/features/invite/components/add-people-dialog/index.native.jsdeleted file mode 100644index a32ec60612..0000000000--- a/react/features/invite/components/add-people-dialog/index.native.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './native';diff --git a/react/features/invite/components/add-people-dialog/index.web.js b/react/features/invite/components/add-people-dialog/index.web.jsdeleted file mode 100644index 40d5f46528..0000000000--- a/react/features/invite/components/add-people-dialog/index.web.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './web';diff --git a/react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js b/react/features/invite/components/add-people-dialog/native/AddPeopleDialog.jsindex addcca3b93..64208a4c91 100644--- a/react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js+++ b/react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js@@ -8,7 +8,8 @@ import {} from 'react-native';import { connect } from 'react-redux';-import { AlertDialog, openDialog } from '../../../../base/dialog';+import { openDialog } from '../../../../base/dialog/actions';+import AlertDialog from '../../../../base/dialog/components/native/AlertDialog';import { translate } from '../../../../base/i18n';import {Icon,@@ -24,7 +25,7 @@ import BaseTheme from '../../../../base/ui/components/BaseTheme.native';import Input from '../../../../base/ui/components/native/Input';import HeaderNavigationButtonfrom '../../../../mobile/navigation/components/HeaderNavigationButton';-import { beginShareRoom } from '../../../../share-room';+import { beginShareRoom } from '../../../../share-room/actions';import { INVITE_TYPES } from '../../../constants';import AbstractAddPeopleDialog, {type Props as AbstractProps,diff --git a/react/features/invite/components/add-people-dialog/native/index.js b/react/features/invite/components/add-people-dialog/native/index.jsdeleted file mode 100644index f2e67e6310..0000000000--- a/react/features/invite/components/add-people-dialog/native/index.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export { default as AddPeopleDialog } from './AddPeopleDialog';diff --git a/react/features/invite/components/add-people-dialog/web/InviteContactsForm.js b/react/features/invite/components/add-people-dialog/web/InviteContactsForm.jsindex 3bf90dc060..0749eca884 100644--- a/react/features/invite/components/add-people-dialog/web/InviteContactsForm.js+++ b/react/features/invite/components/add-people-dialog/web/InviteContactsForm.js@@ -5,7 +5,7 @@ import React from 'react';import { connect } from 'react-redux';import type { Dispatch } from 'redux';-import { Avatar } from '../../../../base/avatar';+import Avatar from '../../../../base/avatar/components/Avatar';import { translate } from '../../../../base/i18n';import { Icon, IconPhoneRinging } from '../../../../base/icons';import { MultiSelectAutocomplete } from '../../../../base/react';diff --git a/react/features/invite/components/add-people-dialog/web/index.js b/react/features/invite/components/add-people-dialog/web/index.jsdeleted file mode 100644index 1aedf86dc1..0000000000--- a/react/features/invite/components/add-people-dialog/web/index.js+++ /dev/null@@ -1,4 +0,0 @@-// @flow--export { default as AddPeopleDialog } from './AddPeopleDialog';-export { default as InviteButton } from './InviteButton';diff --git a/react/features/invite/components/callee-info/CalleeInfo.js b/react/features/invite/components/callee-info/CalleeInfo.jsindex 15f368475e..6acdc5dd77 100644--- a/react/features/invite/components/callee-info/CalleeInfo.js+++ b/react/features/invite/components/callee-info/CalleeInfo.js@@ -3,7 +3,7 @@import React, { Component } from 'react';import { connect } from 'react-redux';-import { Avatar } from '../../../base/avatar';+import Avatar from '../../../base/avatar/components/Avatar';import { MEDIA_TYPE } from '../../../base/media';import {getParticipantDisplayName,@@ -12,7 +12,8 @@ import {} from '../../../base/participants';import { Container, Text } from '../../../base/react';import { isLocalTrackMuted } from '../../../base/tracks';-import { CALLING, PresenceLabel } from '../../../presence-status';+import PresenceLabel from '../../../presence-status/components/PresenceLabel';+import { CALLING } from '../../../presence-status/constants';import styles from './styles';diff --git a/react/features/invite/components/callee-info/index.js b/react/features/invite/components/callee-info/index.jsdeleted file mode 100644index 46a3cd9bde..0000000000--- a/react/features/invite/components/callee-info/index.js+++ /dev/null@@ -1 +0,0 @@-export { default as CalleeInfoContainer } from './CalleeInfoContainer';diff --git a/react/features/invite/components/dial-in-info-page/index.js b/react/features/invite/components/dial-in-info-page/index.jsdeleted file mode 100644index 2e6c3e4d9d..0000000000--- a/react/features/invite/components/dial-in-info-page/index.js+++ /dev/null@@ -1,3 +0,0 @@-// We need the import for its side effects alone.--import './DialInInfoApp';diff --git a/react/features/invite/components/dial-in-summary/index.native.js b/react/features/invite/components/dial-in-summary/index.native.jsdeleted file mode 100644index a32ec60612..0000000000--- a/react/features/invite/components/dial-in-summary/index.native.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './native';diff --git a/react/features/invite/components/dial-in-summary/index.web.js b/react/features/invite/components/dial-in-summary/index.web.jsdeleted file mode 100644index 40d5f46528..0000000000--- a/react/features/invite/components/dial-in-summary/index.web.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './web';diff --git a/react/features/invite/components/dial-in-summary/native/DialInSummary.js b/react/features/invite/components/dial-in-summary/native/DialInSummary.jsindex bcb621fea2..1367e6d714 100644--- a/react/features/invite/components/dial-in-summary/native/DialInSummary.js+++ b/react/features/invite/components/dial-in-summary/native/DialInSummary.js@@ -6,7 +6,7 @@ import { WebView } from 'react-native-webview';import { connect } from 'react-redux';import { type Dispatch } from 'redux';-import { openDialog } from '../../../../base/dialog';+import { openDialog } from '../../../../base/dialog/actions';import { translate } from '../../../../base/i18n';import JitsiScreen from '../../../../base/modal/components/JitsiScreen';import { LoadingIndicator } from '../../../../base/react';diff --git a/react/features/invite/components/dial-in-summary/native/DialInSummaryErrorDialog.js b/react/features/invite/components/dial-in-summary/native/DialInSummaryErrorDialog.jsindex eb5c5d9889..ff293c72af 100644--- a/react/features/invite/components/dial-in-summary/native/DialInSummaryErrorDialog.js+++ b/react/features/invite/components/dial-in-summary/native/DialInSummaryErrorDialog.js@@ -3,7 +3,7 @@import React, { Component } from 'react';import { connect } from 'react-redux';-import { AlertDialog } from '../../../../base/dialog';+import AlertDialog from '../../../../base/dialog/components/native/AlertDialog';import { translate } from '../../../../base/i18n';/**diff --git a/react/features/invite/components/dial-in-summary/native/index.js b/react/features/invite/components/dial-in-summary/native/index.jsdeleted file mode 100644index 60396a03fb..0000000000--- a/react/features/invite/components/dial-in-summary/native/index.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export { default as DialInSummary } from './DialInSummary';diff --git a/react/features/invite/components/dial-in-summary/web/DialInSummaryApp.js b/react/features/invite/components/dial-in-summary/web/DialInSummaryApp.jsindex 2339059de0..fac24b109a 100644--- a/react/features/invite/components/dial-in-summary/web/DialInSummaryApp.js+++ b/react/features/invite/components/dial-in-summary/web/DialInSummaryApp.js@@ -3,7 +3,7 @@import { AtlasKitThemeProvider } from '@atlaskit/theme';import React from 'react';-import { BaseApp } from '../../../../base/app';+import BaseApp from '../../../../base/app/components/BaseApp';import { isMobileBrowser } from '../../../../base/environment/utils';import GlobalStyles from '../../../../base/ui/components/GlobalStyles.web';import JitsiThemeProvider from '../../../../base/ui/components/JitsiThemeProvider.web';diff --git a/react/features/invite/components/dial-in-summary/web/index.js b/react/features/invite/components/dial-in-summary/web/index.jsdeleted file mode 100644index 60396a03fb..0000000000--- a/react/features/invite/components/dial-in-summary/web/index.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export { default as DialInSummary } from './DialInSummary';diff --git a/react/features/invite/components/index.js b/react/features/invite/components/index.jsdeleted file mode 100644index b232f573a5..0000000000--- a/react/features/invite/components/index.js+++ /dev/null@@ -1,5 +0,0 @@-// @flow--export * from './add-people-dialog';-export * from './dial-in-summary';-export * from './callee-info';diff --git a/react/features/invite/index.js b/react/features/invite/index.jsdeleted file mode 100644index cc25e46aa0..0000000000--- a/react/features/invite/index.js+++ /dev/null@@ -1,3 +0,0 @@-export * from './actions';-export * from './components';-export * from './functions';diff --git a/react/features/jaas/components/index.web.js b/react/features/jaas/components/index.web.jsdeleted file mode 100644index 40d5f46528..0000000000--- a/react/features/jaas/components/index.web.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './web';diff --git a/react/features/jaas/components/web/index.js b/react/features/jaas/components/web/index.jsdeleted file mode 100644index 4ca5355d72..0000000000--- a/react/features/jaas/components/web/index.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export { default as PremiumFeatureDialog } from './PremiumFeatureDialog';diff --git a/react/features/keyboard-shortcuts/components/_.native.js b/react/features/keyboard-shortcuts/components/_.native.jsdeleted file mode 100644index 738c4d2b8a..0000000000--- a/react/features/keyboard-shortcuts/components/_.native.js+++ /dev/null@@ -1 +0,0 @@-export * from './native';diff --git a/react/features/keyboard-shortcuts/components/_.web.js b/react/features/keyboard-shortcuts/components/_.web.jsdeleted file mode 100644index b80c83af34..0000000000--- a/react/features/keyboard-shortcuts/components/_.web.js+++ /dev/null@@ -1 +0,0 @@-export * from './web';diff --git a/react/features/keyboard-shortcuts/components/index.js b/react/features/keyboard-shortcuts/components/index.jsdeleted file mode 100644index cda61441e4..0000000000--- a/react/features/keyboard-shortcuts/components/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './_';diff --git a/react/features/keyboard-shortcuts/components/native/index.js b/react/features/keyboard-shortcuts/components/native/index.jsdeleted file mode 100644index e69de29bb2..0000000000diff --git a/react/features/keyboard-shortcuts/components/web/index.js b/react/features/keyboard-shortcuts/components/web/index.jsdeleted file mode 100644index 79228ddf1e..0000000000--- a/react/features/keyboard-shortcuts/components/web/index.js+++ /dev/null@@ -1 +0,0 @@-export { default as KeyboardShortcutsButton } from './KeyboardShortcutsButton';diff --git a/react/features/keyboard-shortcuts/index.js b/react/features/keyboard-shortcuts/index.jsdeleted file mode 100644index 07635cbbc8..0000000000--- a/react/features/keyboard-shortcuts/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './components';diff --git a/react/features/large-video/components/LargeVideo.web.js b/react/features/large-video/components/LargeVideo.web.jsindex 1a331cbb37..622f99dcdf 100644--- a/react/features/large-video/components/LargeVideo.web.js+++ b/react/features/large-video/components/LargeVideo.web.js@@ -10,12 +10,12 @@ import { Watermarks } from '../../base/react';import { getHideSelfView } from '../../base/settings/functions.any';import { getVideoTrackByParticipant } from '../../base/tracks';import { setColorAlpha } from '../../base/util';-import { StageParticipantNameLabel } from '../../display-name';-import { FILMSTRIP_BREAKPOINT, isFilmstripResizable } from '../../filmstrip';-import { getVerticalViewMaxWidth } from '../../filmstrip/functions.web';+import StageParticipantNameLabel from '../../display-name/components/web/StageParticipantNameLabel';+import { FILMSTRIP_BREAKPOINT } from '../../filmstrip/constants';+import { getVerticalViewMaxWidth, isFilmstripResizable } from '../../filmstrip/functions.web';import { getLargeVideoParticipant } from '../../large-video/functions';import { SharedVideo } from '../../shared-video/components/web';-import { Captions } from '../../subtitles/';+import Captions from '../../subtitles/components/Captions.web';import { setTileView } from '../../video-layout/actions';import Whiteboard from '../../whiteboard/components/web/Whiteboard';import { isWhiteboardEnabled } from '../../whiteboard/functions';diff --git a/react/features/large-video/components/LargeVideoBackground.web.js b/react/features/large-video/components/LargeVideoBackground.web.jsindex ba7a9b40e9..c54f99a925 100644--- a/react/features/large-video/components/LargeVideoBackground.web.js+++ b/react/features/large-video/components/LargeVideoBackground.web.js@@ -3,7 +3,7 @@import React, { Component } from 'react';import { connect } from 'react-redux';-import { shouldDisplayTileView } from '../../video-layout';+import { shouldDisplayTileView } from '../../video-layout/functions.web';/*** Constants to describe the dimensions of the video. Landscape videosdiff --git a/react/features/large-video/components/index.js b/react/features/large-video/components/index.jsdeleted file mode 100644index 248352f5fa..0000000000--- a/react/features/large-video/components/index.js+++ /dev/null@@ -1,2 +0,0 @@-export { default as LargeVideo } from './LargeVideo';-export * from './LargeVideoBackground';diff --git a/react/features/large-video/index.js b/react/features/large-video/index.jsdeleted file mode 100644index 3c46ed49d1..0000000000--- a/react/features/large-video/index.js+++ /dev/null@@ -1,2 +0,0 @@-export * from './actions';-export * from './components';diff --git a/react/features/lobby/components/index.native.js b/react/features/lobby/components/index.native.jsdeleted file mode 100644index a32ec60612..0000000000--- a/react/features/lobby/components/index.native.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './native';diff --git a/react/features/lobby/components/index.web.js b/react/features/lobby/components/index.web.jsdeleted file mode 100644index 40d5f46528..0000000000--- a/react/features/lobby/components/index.web.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './web';diff --git a/react/features/lobby/components/native/LobbyScreen.js b/react/features/lobby/components/native/LobbyScreen.jsindex 3191c34c5f..387cb205a1 100644--- a/react/features/lobby/components/native/LobbyScreen.js+++ b/react/features/lobby/components/native/LobbyScreen.js@@ -12,7 +12,7 @@ import Button from '../../../base/ui/components/native/Button';import Input from '../../../base/ui/components/native/Input';import { BUTTON_TYPES } from '../../../base/ui/constants.native';import { BrandingImageBackground } from '../../../dynamic-branding/components/native';-import { LargeVideo } from '../../../large-video/components';+import LargeVideo from '../../../large-video/components/LargeVideo.native';import { navigate }from '../../../mobile/navigation/components/lobby/LobbyNavigationContainerRef';import { screen } from '../../../mobile/navigation/routes';diff --git a/react/features/lobby/components/native/index.js b/react/features/lobby/components/native/index.jsdeleted file mode 100644index fd13dea925..0000000000--- a/react/features/lobby/components/native/index.js+++ /dev/null@@ -1,4 +0,0 @@-// @flow--export { default as LobbyScreen } from './LobbyScreen';-export { default as LobbyChatScreen } from './LobbyChatScreen';diff --git a/react/features/lobby/components/web/index.js b/react/features/lobby/components/web/index.jsdeleted file mode 100644index c863f7f325..0000000000--- a/react/features/lobby/components/web/index.js+++ /dev/null@@ -1,4 +0,0 @@-// @flow--export { default as LobbySection } from './LobbySection';-export { default as LobbyScreen } from './LobbyScreen';diff --git a/react/features/lobby/index.js b/react/features/lobby/index.jsdeleted file mode 100644index 68ddef9ba1..0000000000--- a/react/features/lobby/index.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './components';diff --git a/react/features/mobile/audio-mode/components/AudioDeviceToggleButton.js b/react/features/mobile/audio-mode/components/AudioDeviceToggleButton.jsindex 8a10f41739..606413c56f 100644--- a/react/features/mobile/audio-mode/components/AudioDeviceToggleButton.js+++ b/react/features/mobile/audio-mode/components/AudioDeviceToggleButton.js@@ -1,7 +1,7 @@import { connect } from 'react-redux';import type { Dispatch } from 'redux';-import { openSheet } from '../../../base/dialog';+import { openSheet } from '../../../base/dialog/actions';import { translate } from '../../../base/i18n';import { IconVolumeUp } from '../../../base/icons';import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';diff --git a/react/features/mobile/audio-mode/components/AudioRoutePickerDialog.js b/react/features/mobile/audio-mode/components/AudioRoutePickerDialog.jsindex 2057061b6e..76fe2c0b54 100644--- a/react/features/mobile/audio-mode/components/AudioRoutePickerDialog.js+++ b/react/features/mobile/audio-mode/components/AudioRoutePickerDialog.js@@ -3,7 +3,8 @@ import React, { Component } from 'react';import { NativeModules, Text, TouchableHighlight, View } from 'react-native';import { connect } from 'react-redux';-import { BottomSheet, hideSheet } from '../../../base/dialog';+import { hideSheet } from '../../../base/dialog/actions';+import BottomSheet from '../../../base/dialog/components/native/BottomSheet';import { bottomSheetStyles } from '../../../base/dialog/components/native/styles';import { translate } from '../../../base/i18n';import {diff --git a/react/features/mobile/audio-mode/components/styles.js b/react/features/mobile/audio-mode/components/styles.jsindex 62a9546eb2..02793b41fe 100644--- a/react/features/mobile/audio-mode/components/styles.js+++ b/react/features/mobile/audio-mode/components/styles.js@@ -1,6 +1,6 @@// @flow-import { MD_ITEM_HEIGHT } from '../../../base/dialog';+import { MD_ITEM_HEIGHT } from '../../../base/dialog/components/native/styles';import { createStyleSheet } from '../../../base/styles';import BaseTheme from '../../../base/ui/components/BaseTheme.native';diff --git a/react/features/mobile/audio-mode/middleware.js b/react/features/mobile/audio-mode/middleware.jsindex b67e619489..b659722aef 100644--- a/react/features/mobile/audio-mode/middleware.js+++ b/react/features/mobile/audio-mode/middleware.js@@ -1,15 +1,16 @@// @flowimport { NativeEventEmitter, NativeModules } from 'react-native';-import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../../base/app';-import { SET_AUDIO_ONLY } from '../../base/audio-only';+import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../../base/app/actionTypes';+import { SET_AUDIO_ONLY } from '../../base/audio-only/actionTypes';import {CONFERENCE_FAILED,CONFERENCE_JOINED,- CONFERENCE_LEFT,- getCurrentConference-} from '../../base/conference';-import { AUDIO_FOCUS_DISABLED, getFeatureFlag } from '../../base/flags';+ CONFERENCE_LEFT+} from '../../base/conference/actionTypes';+import { getCurrentConference } from '../../base/conference/functions';+import { AUDIO_FOCUS_DISABLED } from '../../base/flags/constants';+import { getFeatureFlag } from '../../base/flags/functions';import { MiddlewareRegistry } from '../../base/redux';import { _SET_AUDIOMODE_DEVICES, _SET_AUDIOMODE_SUBSCRIPTIONS } from './actionTypes';diff --git a/react/features/mobile/background/middleware.native.js b/react/features/mobile/background/middleware.native.jsindex 1d787e33f6..8114721470 100644--- a/react/features/mobile/background/middleware.native.js+++ b/react/features/mobile/background/middleware.native.js@@ -3,7 +3,7 @@import { AppState } from 'react-native';import type { Dispatch } from 'redux';-import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../../base/app';+import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../../base/app/actionTypes';import { MiddlewareRegistry } from '../../base/redux';import { _SET_APP_STATE_LISTENER } from './actionTypes';diff --git a/react/features/mobile/call-integration/functions.js b/react/features/mobile/call-integration/functions.jsindex 6602c031f5..00741c9257 100644--- a/react/features/mobile/call-integration/functions.js+++ b/react/features/mobile/call-integration/functions.js@@ -1,6 +1,7 @@// @flow-import { CALL_INTEGRATION_ENABLED, getFeatureFlag } from '../../base/flags';+import { CALL_INTEGRATION_ENABLED } from '../../base/flags/constants';+import { getFeatureFlag } from '../../base/flags/functions';import { toState } from '../../base/redux';/**diff --git a/react/features/mobile/call-integration/middleware.js b/react/features/mobile/call-integration/middleware.jsindex 196bde546c..468dc8dc48 100644--- a/react/features/mobile/call-integration/middleware.js+++ b/react/features/mobile/call-integration/middleware.js@@ -5,18 +5,20 @@ import { v4 as uuidv4 } from 'uuid';import { createTrackMutedEvent, sendAnalytics } from '../../analytics';import { appNavigate } from '../../app/actions';-import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../../base/app';-import { SET_AUDIO_ONLY } from '../../base/audio-only';+import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../../base/app/actionTypes';+import { SET_AUDIO_ONLY } from '../../base/audio-only/actionTypes';import {CONFERENCE_FAILED,CONFERENCE_JOINED,CONFERENCE_LEFT,CONFERENCE_WILL_JOIN,- CONFERENCE_WILL_LEAVE,+ CONFERENCE_WILL_LEAVE+} from '../../base/conference/actionTypes';+import {getConferenceName,getCurrentConference-} from '../../base/conference';-import { getInviteURL } from '../../base/connection';+} from '../../base/conference/functions';+import { getInviteURL } from '../../base/connection/functions';import {MEDIA_TYPE,isVideoMutedByAudioOnly,diff --git a/react/features/mobile/external-api/middleware.js b/react/features/mobile/external-api/middleware.jsindex 83926aedec..7c4c1d1bbf 100644--- a/react/features/mobile/external-api/middleware.js+++ b/react/features/mobile/external-api/middleware.js@@ -11,18 +11,20 @@ import {CONFERENCE_JOINED,CONFERENCE_LEFT,CONFERENCE_WILL_JOIN,- JITSI_CONFERENCE_URL_KEY,- SET_ROOM,+ SET_ROOM+} from '../../base/conference/actionTypes';+import { JITSI_CONFERENCE_URL_KEY } from '../../base/conference/constants';+import {forEachConference,getCurrentConference,isRoomValid-} from '../../base/conference';+} from '../../base/conference/functions';+import { CONNECTION_DISCONNECTED } from '../../base/connection/actionTypes';import {- CONNECTION_DISCONNECTED,JITSI_CONNECTION_CONFERENCE_KEY,- JITSI_CONNECTION_URL_KEY,- getURLWithoutParams-} from '../../base/connection';+ JITSI_CONNECTION_URL_KEY+} from '../../base/connection/constants';+import { getURLWithoutParams } from '../../base/connection/utils';import {JitsiConferenceEvents } from '../../base/lib-jitsi-meet';import { MEDIA_TYPE } from '../../base/media';@@ -37,10 +39,10 @@ import {} from '../../base/participants';import { MiddlewareRegistry, StateListenerRegistry } from '../../base/redux';import { getLocalTracks, isLocalTrackMuted, toggleScreensharing } from '../../base/tracks';-import { CLOSE_CHAT, OPEN_CHAT } from '../../chat';+import { CLOSE_CHAT, OPEN_CHAT } from '../../chat/actionTypes';import { openChat } from '../../chat/actions';import { closeChat, sendMessage, setPrivateMessageRecipient } from '../../chat/actions.any';-import { setRequestingSubtitles } from '../../subtitles';+import { setRequestingSubtitles } from '../../subtitles/actions.any';import { muteLocal } from '../../video-menu/actions';import { ENTER_PICTURE_IN_PICTURE } from '../picture-in-picture';diff --git a/react/features/mobile/full-screen/middleware.js b/react/features/mobile/full-screen/middleware.jsindex ea5fbf21cc..3f80c6510c 100644--- a/react/features/mobile/full-screen/middleware.js+++ b/react/features/mobile/full-screen/middleware.js@@ -2,10 +2,11 @@import { Immersive } from 'react-native-immersive';-import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../../base/app';-import { getCurrentConference } from '../../base/conference';+import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../../base/app/actionTypes';+import { getCurrentConference } from '../../base/conference/functions';import { isAnyDialogOpen } from '../../base/dialog/functions';-import { FULLSCREEN_ENABLED, getFeatureFlag } from '../../base/flags';+import { FULLSCREEN_ENABLED } from '../../base/flags/constants';+import { getFeatureFlag } from '../../base/flags/functions';import { Platform } from '../../base/react';import { MiddlewareRegistry, StateListenerRegistry } from '../../base/redux';diff --git a/react/features/mobile/navigation/components/chat/components/ChatAndPollsNavigator.tsx b/react/features/mobile/navigation/components/chat/components/ChatAndPollsNavigator.tsxindex e22161dead..026db1b00d 100644--- a/react/features/mobile/navigation/components/chat/components/ChatAndPollsNavigator.tsx+++ b/react/features/mobile/navigation/components/chat/components/ChatAndPollsNavigator.tsx@@ -12,11 +12,12 @@ import {// @ts-ignore} from '../../../../../base/modal/components/functions';// @ts-ignore-import { Chat } from '../../../../../chat';import { setIsPollsTabFocused } from '../../../../../chat/actions.native';+// @ts-ignore+import Chat from '../../../../../chat/components/native/Chat';import { resetNbUnreadPollsMessages } from '../../../../../polls/actions';// @ts-ignore-import { PollsPane } from '../../../../../polls/components';+import PollsPane from '../../../../../polls/components/native/PollsPane';// @ts-ignoreimport { screen } from '../../../routes';// @ts-ignorediff --git a/react/features/mobile/navigation/components/conference/components/ConferenceNavigationContainer.tsx b/react/features/mobile/navigation/components/conference/components/ConferenceNavigationContainer.tsxindex 5a06f872a9..fd62c8483c 100644--- a/react/features/mobile/navigation/components/conference/components/ConferenceNavigationContainer.tsx+++ b/react/features/mobile/navigation/components/conference/components/ConferenceNavigationContainer.tsx@@ -7,7 +7,7 @@ import { useTranslation } from 'react-i18next';import { useSelector } from 'react-redux';// @ts-ignore-import { Chat } from '../../../../../chat';+import Chat from '../../../../../chat/components/native/Chat';// @ts-ignoreimport Conference from '../../../../../conference/components/native/Conference';// @ts-ignore@@ -15,19 +15,19 @@ import CarMode from '../../../../../conference/components/native/carmode/CarMode// @ts-ignoreimport { getDisablePolls } from '../../../../../conference/functions';// @ts-ignore-import { SharedDocument } from '../../../../../etherpad';+import SharedDocument from '../../../../../etherpad/components/native/SharedDocument';// @ts-ignore-import { GifsMenu } from '../../../../../gifs/components';+import GifsMenu from '../../../../../gifs/components/native/GifsMenu';import AddPeopleDialog// @ts-ignorefrom '../../../../../invite/components/add-people-dialog/native/AddPeopleDialog';// @ts-ignore-import { ParticipantsPane } from '../../../../../participants-pane/components/native';+import ParticipantsPane from '../../../../../participants-pane/components/native/ParticipantsPane';// @ts-ignore-import { StartLiveStreamDialog } from '../../../../../recording';-import { StartRecordingDialog }+import StartLiveStreamDialog from '../../../../../recording/components/LiveStream/native/StartLiveStreamDialog';+import StartRecordingDialog// @ts-ignore- from '../../../../../recording/components/Recording/native';+ from '../../../../../recording/components/Recording/native/StartRecordingDialog';import SalesforceLinkDialog// @ts-ignorefrom '../../../../../salesforce/components/native/SalesforceLinkDialog';diff --git a/react/features/mobile/navigation/components/lobby/components/LobbyNavigationContainer.js b/react/features/mobile/navigation/components/lobby/components/LobbyNavigationContainer.jsindex 12c66898ba..00d218971d 100644--- a/react/features/mobile/navigation/components/lobby/components/LobbyNavigationContainer.js+++ b/react/features/mobile/navigation/components/lobby/components/LobbyNavigationContainer.js@@ -3,7 +3,8 @@ import { createStackNavigator } from '@react-navigation/stack';import React from 'react';import { useSelector } from 'react-redux';-import { LobbyChatScreen, LobbyScreen } from '../../../../../lobby';+import LobbyChatScreen from '../../../../../lobby/components/native/LobbyChatScreen';+import LobbyScreen from '../../../../../lobby/components/native/LobbyScreen';import { screen } from '../../../routes';import {lobbyChatScreenOptions,diff --git a/react/features/mobile/navigation/components/welcome/components/WelcomePageTabs.js b/react/features/mobile/navigation/components/welcome/components/WelcomePageTabs.jsindex 5f2d1cdb13..743ea4f140 100644--- a/react/features/mobile/navigation/components/welcome/components/WelcomePageTabs.js+++ b/react/features/mobile/navigation/components/welcome/components/WelcomePageTabs.js@@ -3,8 +3,9 @@ import React, { useCallback } from 'react';import { useTranslation } from 'react-i18next';import { useSelector } from 'react-redux';-import { CalendarList, isCalendarEnabled } from '../../../../../calendar-sync';-import { RecentList } from '../../../../../recent-list';+import CalendarList from '../../../../../calendar-sync/components/CalendarList.native';+import { isCalendarEnabled } from '../../../../../calendar-sync/functions.native';+import RecentList from '../../../../../recent-list/components/RecentList.native';import {calendarListTabBarOptions,recentListTabBarOptions,diff --git a/react/features/mobile/navigation/functions.js b/react/features/mobile/navigation/functions.jsindex 084202b08a..6b0fa94f06 100644--- a/react/features/mobile/navigation/functions.js+++ b/react/features/mobile/navigation/functions.js@@ -5,10 +5,8 @@ import { useDispatch } from 'react-redux';import { appNavigate } from '../../app/actions';-import {- PREJOIN_PAGE_ENABLED,- getFeatureFlag-} from '../../base/flags';+import { PREJOIN_PAGE_ENABLED } from '../../base/flags/constants';+import { getFeatureFlag } from '../../base/flags/functions';import { IconCloseLarge } from '../../base/icons';import { toState } from '../../base/redux';import { cancelKnocking } from '../../lobby/actions.native';diff --git a/react/features/mobile/permissions/middleware.js b/react/features/mobile/permissions/middleware.jsindex 735efb7aba..33e601a3f2 100644--- a/react/features/mobile/permissions/middleware.js+++ b/react/features/mobile/permissions/middleware.js@@ -2,7 +2,7 @@import { Alert } from 'react-native';-import { isRoomValid } from '../../base/conference';+import { isRoomValid } from '../../base/conference/functions';import { i18next } from '../../base/i18n';import { MiddlewareRegistry } from '../../base/redux';import { TRACK_CREATE_ERROR } from '../../base/tracks';diff --git a/react/features/mobile/picture-in-picture/actions.js b/react/features/mobile/picture-in-picture/actions.jsindex 35bb1d3647..b75b975d53 100644--- a/react/features/mobile/picture-in-picture/actions.js+++ b/react/features/mobile/picture-in-picture/actions.js@@ -3,7 +3,8 @@import { NativeModules } from 'react-native';import type { Dispatch } from 'redux';-import { PIP_ENABLED, getFeatureFlag } from '../../base/flags';+import { PIP_ENABLED } from '../../base/flags/constants';+import { getFeatureFlag } from '../../base/flags/functions';import { Platform } from '../../base/react';import { ENTER_PICTURE_IN_PICTURE } from './actionTypes';diff --git a/react/features/mobile/picture-in-picture/components/PictureInPictureButton.js b/react/features/mobile/picture-in-picture/components/PictureInPictureButton.jsindex 2199200d6b..7aaa76245c 100644--- a/react/features/mobile/picture-in-picture/components/PictureInPictureButton.js+++ b/react/features/mobile/picture-in-picture/components/PictureInPictureButton.js@@ -3,7 +3,8 @@import { NativeModules, Platform } from 'react-native';import { connect } from 'react-redux';-import { PIP_ENABLED, PIP_WHILE_SCREEN_SHARING_ENABLED, getFeatureFlag } from '../../../base/flags';+import { PIP_ENABLED, PIP_WHILE_SCREEN_SHARING_ENABLED } from '../../../base/flags/constants';+import { getFeatureFlag } from '../../../base/flags/functions';import { translate } from '../../../base/i18n';import { IconArrowDown } from '../../../base/icons';import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';diff --git a/react/features/mobile/proximity/middleware.js b/react/features/mobile/proximity/middleware.jsindex 28dbd642ac..6fa4e7c4a0 100644--- a/react/features/mobile/proximity/middleware.js+++ b/react/features/mobile/proximity/middleware.js@@ -1,6 +1,6 @@import { NativeModules } from 'react-native';-import { getCurrentConference } from '../../base/conference';+import { getCurrentConference } from '../../base/conference/functions';import { StateListenerRegistry } from '../../base/redux';/**diff --git a/react/features/mobile/wake-lock/middleware.js b/react/features/mobile/wake-lock/middleware.jsindex 2a56864e8f..45e082d51d 100644--- a/react/features/mobile/wake-lock/middleware.js+++ b/react/features/mobile/wake-lock/middleware.js@@ -1,6 +1,6 @@import KeepAwake from 'react-native-keep-awake';-import { getCurrentConference } from '../../base/conference';+import { getCurrentConference } from '../../base/conference/functions';import { StateListenerRegistry } from '../../base/redux';/**diff --git a/react/features/mobile/watchos/middleware.js b/react/features/mobile/watchos/middleware.jsindex cc047c30fe..f7f4e36bda 100644--- a/react/features/mobile/watchos/middleware.js+++ b/react/features/mobile/watchos/middleware.js@@ -4,9 +4,9 @@ import { NativeModules, Platform } from 'react-native';import { updateApplicationContext, watchEvents } from 'react-native-watch-connectivity';import { appNavigate } from '../../app/actions';-import { APP_WILL_MOUNT } from '../../base/app';-import { CONFERENCE_JOINED } from '../../base/conference';-import { getCurrentConferenceUrl } from '../../base/connection';+import { APP_WILL_MOUNT } from '../../base/app/actionTypes';+import { CONFERENCE_JOINED } from '../../base/conference/actionTypes';+import { getCurrentConferenceUrl } from '../../base/connection/functions';import { setAudioMuted } from '../../base/media';import {MiddlewareRegistry,diff --git a/react/features/no-audio-signal/components/DialInLink.js b/react/features/no-audio-signal/components/DialInLink.jsindex 1f733e4dac..3f09c20dce 100644--- a/react/features/no-audio-signal/components/DialInLink.js+++ b/react/features/no-audio-signal/components/DialInLink.js@@ -4,7 +4,7 @@ import React, { Component } from 'react';import { connect } from 'react-redux';import { translate } from '../../base/i18n';-import { getDialInfoPageURL, shouldDisplayDialIn } from '../../invite';+import { getDialInfoPageURL, shouldDisplayDialIn } from '../../invite/functions';/*** The type of the React {@code Component} props of {@link DialInLink}.diff --git a/react/features/notifications/index.js b/react/features/notifications/index.jsdeleted file mode 100644index 8a597c6ea5..0000000000--- a/react/features/notifications/index.js+++ /dev/null@@ -1,7 +0,0 @@-// @flow--export * from './actions';-export * from './actionTypes';-export * from './components';-export * from './constants';-export * from './functions';diff --git a/react/features/old-client-notification/components/index.js b/react/features/old-client-notification/components/index.jsdeleted file mode 100644index cbc72ce6a9..0000000000--- a/react/features/old-client-notification/components/index.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export { default as OldElectronAPPNotificationDescription } from './OldElectronAPPNotificationDescription';diff --git a/react/features/old-client-notification/middleware.tsx b/react/features/old-client-notification/middleware.tsxindex 9906d9720a..c812f37d51 100644--- a/react/features/old-client-notification/middleware.tsx+++ b/react/features/old-client-notification/middleware.tsx@@ -8,7 +8,7 @@ import { showErrorNotification } from '../notifications/actions';import { NOTIFICATION_TIMEOUT_TYPE } from '../notifications/constants';// @ts-ignore-import { OldElectronAPPNotificationDescription } from './components';+import OldElectronAPPNotificationDescription from './components/OldElectronAPPNotificationDescription';import { isOldJitsiMeetElectronApp } from './functions';MiddlewareRegistry.register(store => next => action => {diff --git a/react/features/overlay/actions.native.ts b/react/features/overlay/actions.native.tsindex 21c6ad88c5..0cb176e9c1 100644--- a/react/features/overlay/actions.native.ts+++ b/react/features/overlay/actions.native.ts@@ -1,8 +1,5 @@-/* eslint-disable max-len */--// @ts-ignore-import { PageReloadDialog } from '../base/dialog';import { openDialog } from '../base/dialog/actions';+import PageReloadDialog from '../base/dialog/components/native/PageReloadDialog';/**diff --git a/react/features/participants-pane/actions.native.ts b/react/features/participants-pane/actions.native.tsindex 57b55bb03b..f7a08f78e4 100644--- a/react/features/participants-pane/actions.native.ts+++ b/react/features/participants-pane/actions.native.ts@@ -7,14 +7,14 @@ import { navigate }// @ts-ignoreimport { screen } from '../mobile/navigation/routes';// @ts-ignore-import { SharedVideoMenu } from '../video-menu';-// @ts-ignoreimport { LocalVideoMenu } from '../video-menu/components/native';import ConnectionStatusComponent// @ts-ignorefrom '../video-menu/components/native/ConnectionStatusComponent';// @ts-ignoreimport RemoteVideoMenu from '../video-menu/components/native/RemoteVideoMenu';+// @ts-ignore+import SharedVideoMenu from '../video-menu/components/native/SharedVideoMenu';import { PARTICIPANTS_PANE_OPEN, SET_VOLUME } from './actionTypes';import RoomParticipantMenu from './components/native/RoomParticipantMenu';diff --git a/react/features/participants-pane/components/breakout-rooms/components/_.native.js b/react/features/participants-pane/components/breakout-rooms/components/_.native.jsdeleted file mode 100644index a32ec60612..0000000000--- a/react/features/participants-pane/components/breakout-rooms/components/_.native.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './native';diff --git a/react/features/participants-pane/components/breakout-rooms/components/_.web.js b/react/features/participants-pane/components/breakout-rooms/components/_.web.jsdeleted file mode 100644index 40d5f46528..0000000000--- a/react/features/participants-pane/components/breakout-rooms/components/_.web.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './web';diff --git a/react/features/participants-pane/components/breakout-rooms/components/index.js b/react/features/participants-pane/components/breakout-rooms/components/index.jsdeleted file mode 100644index bf0c7deb0e..0000000000--- a/react/features/participants-pane/components/breakout-rooms/components/index.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './_';diff --git a/react/features/participants-pane/components/breakout-rooms/components/native/CollapsibleRoom.js b/react/features/participants-pane/components/breakout-rooms/components/native/CollapsibleRoom.jsindex aaaf9805af..34c74c872a 100644--- a/react/features/participants-pane/components/breakout-rooms/components/native/CollapsibleRoom.js+++ b/react/features/participants-pane/components/breakout-rooms/components/native/CollapsibleRoom.js@@ -3,7 +3,7 @@ import { useTranslation } from 'react-i18next';import { FlatList } from 'react-native';import { useDispatch } from 'react-redux';-import { openSheet } from '../../../../../base/dialog';+import { openSheet } from '../../../../../base/dialog/actions';import { participantMatchesSearch } from '../../../../functions';import CollapsibleList from '../../../native/CollapsibleList';import styles from '../../../native/styles';diff --git a/react/features/participants-pane/components/breakout-rooms/components/native/index.js b/react/features/participants-pane/components/breakout-rooms/components/native/index.jsdeleted file mode 100644index 33e6693b77..0000000000--- a/react/features/participants-pane/components/breakout-rooms/components/native/index.js+++ /dev/null@@ -1,5 +0,0 @@-// @flow--export { default as AddBreakoutRoomButton } from './AddBreakoutRoomButton';-export { default as AutoAssignButton } from './AutoAssignButton';-export { default as LeaveBreakoutRoomButton } from './LeaveBreakoutRoomButton';diff --git a/react/features/participants-pane/components/breakout-rooms/components/web/index.js b/react/features/participants-pane/components/breakout-rooms/components/web/index.jsdeleted file mode 100644index 186823b96b..0000000000--- a/react/features/participants-pane/components/breakout-rooms/components/web/index.js+++ /dev/null@@ -1,4 +0,0 @@-// @flow--export * from './LeaveButton';-export * from './RoomList';diff --git a/react/features/participants-pane/components/native/ParticipantItem.js b/react/features/participants-pane/components/native/ParticipantItem.jsindex 5922a86dd7..21b0bdc770 100644--- a/react/features/participants-pane/components/native/ParticipantItem.js+++ b/react/features/participants-pane/components/native/ParticipantItem.js@@ -4,7 +4,7 @@ import { useTranslation } from 'react-i18next';import { TouchableOpacity, View } from 'react-native';import { Text } from 'react-native-paper';-import { Avatar } from '../../../base/avatar';+import Avatar from '../../../base/avatar/components/Avatar';import { AudioStateIcons, MEDIA_STATE, type MediaState, VideoStateIcons } from '../../constants';import { RaisedHandIndicator } from './RaisedHandIndicator';diff --git a/react/features/participants-pane/components/native/ParticipantsPane.js b/react/features/participants-pane/components/native/ParticipantsPane.jsindex 9dca43a916..bbbd1d2488 100644--- a/react/features/participants-pane/components/native/ParticipantsPane.js+++ b/react/features/participants-pane/components/native/ParticipantsPane.js@@ -14,12 +14,10 @@ import {isInBreakoutRoom} from '../../../breakout-rooms/functions';import { getKnockingParticipants } from '../../../lobby/functions';-import {- AddBreakoutRoomButton,- AutoAssignButton,- LeaveBreakoutRoomButton-} from '../breakout-rooms/components/native';+import AddBreakoutRoomButton from '../breakout-rooms/components/native/AddBreakoutRoomButton';+import AutoAssignButton from '../breakout-rooms/components/native/AutoAssignButton';import { CollapsibleRoom } from '../breakout-rooms/components/native/CollapsibleRoom';+import LeaveBreakoutRoomButton from '../breakout-rooms/components/native/LeaveBreakoutRoomButton';import LobbyParticipantList from './LobbyParticipantList';import MeetingParticipantList from './MeetingParticipantList';diff --git a/react/features/participants-pane/components/native/RoomParticipantMenu.tsx b/react/features/participants-pane/components/native/RoomParticipantMenu.tsxindex 48f997d8a9..5ac689830d 100644--- a/react/features/participants-pane/components/native/RoomParticipantMenu.tsx+++ b/react/features/participants-pane/components/native/RoomParticipantMenu.tsx@@ -6,8 +6,9 @@ import { connect } from 'react-redux';import { IReduxState } from '../../../app/types';import Avatar from '../../../base/avatar/components/Avatar';+import { hideSheet } from '../../../base/dialog/actions';// @ts-ignore-import { BottomSheet, hideSheet } from '../../../base/dialog';+import BottomSheet from '../../../base/dialog/components/native/BottomSheet';// @ts-ignoreimport { bottomSheetStyles } from '../../../base/dialog/components/native/styles';import { translate } from '../../../base/i18n/functions';diff --git a/react/features/participants-pane/components/native/index.js b/react/features/participants-pane/components/native/index.jsdeleted file mode 100644index 6d03bb8ae5..0000000000--- a/react/features/participants-pane/components/native/index.js+++ /dev/null@@ -1,6 +0,0 @@-// @flow--export { default as MeetingParticipantList } from './MeetingParticipantList';-export { default as ParticipantsPane } from './ParticipantsPane';-export { default as ParticipantsPaneButton } from './ParticipantsPaneButton';-export { default as ContextMenuLobbyParticipantReject } from './ContextMenuLobbyParticipantReject';diff --git a/react/features/participants-pane/components/web/index.js b/react/features/participants-pane/components/web/index.jsdeleted file mode 100644index 9b96a1d96e..0000000000--- a/react/features/participants-pane/components/web/index.js+++ /dev/null@@ -1,5 +0,0 @@-export * from './InviteButton';-export * from './LobbyParticipantItem';-export { default as ParticipantsPane } from './ParticipantsPane';-export { default as ParticipantsPaneButton } from './ParticipantsPaneButton';-export * from './RaisedHandIndicator';diff --git a/react/features/polls/components/_.native.js b/react/features/polls/components/_.native.jsdeleted file mode 100644index a32ec60612..0000000000--- a/react/features/polls/components/_.native.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './native';diff --git a/react/features/polls/components/_.web.js b/react/features/polls/components/_.web.jsdeleted file mode 100644index 40d5f46528..0000000000--- a/react/features/polls/components/_.web.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './web';diff --git a/react/features/polls/components/index.js b/react/features/polls/components/index.jsdeleted file mode 100644index bf0c7deb0e..0000000000--- a/react/features/polls/components/index.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './_';diff --git a/react/features/polls/components/native/index.js b/react/features/polls/components/native/index.jsdeleted file mode 100644index 81b3874007..0000000000--- a/react/features/polls/components/native/index.js+++ /dev/null@@ -1,7 +0,0 @@-// @flow--export { default as PollResults } from './PollResults';-export { default as PollsPane } from './PollsPane';-export { default as PollItem } from './PollItem';-export { default as PollAnswer } from './PollAnswer';-export { default as PollCreate } from './PollCreate';diff --git a/react/features/polls/components/web/index.js b/react/features/polls/components/web/index.jsdeleted file mode 100644index 6726984331..0000000000--- a/react/features/polls/components/web/index.js+++ /dev/null@@ -1,6 +0,0 @@-// @flow-export { default as PollAnswer } from './PollAnswer';-export { default as PollCreate } from './PollCreate';-export { default as PollResults } from './PollResults';-export { default as PollsPane } from './PollsPane';-export { default as PollItem } from './PollItem';diff --git a/react/features/power-monitor/index.js b/react/features/power-monitor/index.jsdeleted file mode 100644index 3d915f1aad..0000000000--- a/react/features/power-monitor/index.js+++ /dev/null@@ -1,4 +0,0 @@-// @flow--export * from './actions';-export * from './actionTypes';diff --git a/react/features/prejoin/components/web/PrejoinApp.js b/react/features/prejoin/components/web/PrejoinApp.jsindex 63ebd08020..947e560c89 100644--- a/react/features/prejoin/components/web/PrejoinApp.js+++ b/react/features/prejoin/components/web/PrejoinApp.js@@ -4,13 +4,13 @@ import { AtlasKitThemeProvider } from '@atlaskit/theme';import React from 'react';import { batch } from 'react-redux';-import { BaseApp } from '../../../base/app';+import BaseApp from '../../../base/app/components/BaseApp';import { getConferenceOptions } from '../../../base/conference/functions';-import { setConfig } from '../../../base/config';-import { DialogContainer } from '../../../base/dialog';+import { setConfig } from '../../../base/config/actions';import { createPrejoinTracks } from '../../../base/tracks';import GlobalStyles from '../../../base/ui/components/GlobalStyles.web';import JitsiThemeProvider from '../../../base/ui/components/JitsiThemeProvider.web';+import DialogContainer from '../../../base/ui/components/web/DialogContainer';import { initPrejoin, makePrecallTest } from '../../actions';import PrejoinThirdParty from './PrejoinThirdParty';diff --git a/react/features/prejoin/components/web/dialogs/JoinByPhoneDialog.js b/react/features/prejoin/components/web/dialogs/JoinByPhoneDialog.jsindex 6707889684..a08c782181 100644--- a/react/features/prejoin/components/web/dialogs/JoinByPhoneDialog.js+++ b/react/features/prejoin/components/web/dialogs/JoinByPhoneDialog.js@@ -3,11 +3,8 @@import React, { PureComponent } from 'react';import { connect } from 'react-redux';-import {- getConferenceId,- getDefaultDialInNumber,- updateDialInNumbers-} from '../../../../invite';+import { updateDialInNumbers } from '../../../../invite/actions.web';+import { getConferenceId, getDefaultDialInNumber } from '../../../../invite/functions';import {dialOut as dialOutAction,joinConferenceWithoutAudio as joinConferenceWithoutAudioAction,diff --git a/react/features/presence-status/components/index.js b/react/features/presence-status/components/index.jsdeleted file mode 100644index 53f31247a1..0000000000--- a/react/features/presence-status/components/index.js+++ /dev/null@@ -1 +0,0 @@-export { default as PresenceLabel } from './PresenceLabel';diff --git a/react/features/presence-status/index.js b/react/features/presence-status/index.jsdeleted file mode 100644index b6ad3a8a4b..0000000000--- a/react/features/presence-status/index.js+++ /dev/null@@ -1,2 +0,0 @@-export * from './components';-export * from './constants';diff --git a/react/features/reactions/components/_.native.js b/react/features/reactions/components/_.native.jsdeleted file mode 100644index 738c4d2b8a..0000000000--- a/react/features/reactions/components/_.native.js+++ /dev/null@@ -1 +0,0 @@-export * from './native';diff --git a/react/features/reactions/components/_.web.js b/react/features/reactions/components/_.web.jsdeleted file mode 100644index b80c83af34..0000000000--- a/react/features/reactions/components/_.web.js+++ /dev/null@@ -1 +0,0 @@-export * from './web';diff --git a/react/features/reactions/components/index.js b/react/features/reactions/components/index.jsdeleted file mode 100644index cda61441e4..0000000000--- a/react/features/reactions/components/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './_';diff --git a/react/features/reactions/components/native/RaiseHandButton.js b/react/features/reactions/components/native/RaiseHandButton.jsindex 08c857631b..344c94cbc8 100644--- a/react/features/reactions/components/native/RaiseHandButton.js+++ b/react/features/reactions/components/native/RaiseHandButton.js@@ -9,7 +9,8 @@ import {createToolbarEvent,sendAnalytics} from '../../../analytics';-import { RAISE_HAND_ENABLED, getFeatureFlag } from '../../../base/flags';+import { RAISE_HAND_ENABLED } from '../../../base/flags/constants';+import { getFeatureFlag } from '../../../base/flags/functions';import { translate } from '../../../base/i18n';import {getLocalParticipant,diff --git a/react/features/reactions/components/native/ReactionEmoji.js b/react/features/reactions/components/native/ReactionEmoji.jsindex 2f61908d0c..0109b01a17 100644--- a/react/features/reactions/components/native/ReactionEmoji.js+++ b/react/features/reactions/components/native/ReactionEmoji.js@@ -4,7 +4,7 @@ import React, { useEffect, useMemo, useRef, useState } from 'react';import { Animated } from 'react-native';import { useDispatch, useSelector } from 'react-redux';-import { ColorSchemeRegistry } from '../../../base/color-scheme';+import ColorSchemeRegistry from '../../../base/color-scheme/ColorSchemeRegistry';import { removeReaction } from '../../actions.any';import { REACTIONS, type ReactionEmojiProps } from '../../constants';diff --git a/react/features/reactions/components/native/ReactionMenu.js b/react/features/reactions/components/native/ReactionMenu.jsindex cc88ce4371..5f86045c44 100644--- a/react/features/reactions/components/native/ReactionMenu.js+++ b/react/features/reactions/components/native/ReactionMenu.js@@ -4,7 +4,7 @@ import React, { useCallback } from 'react';import { Image, View } from 'react-native';import { useSelector } from 'react-redux';-import { ColorSchemeRegistry } from '../../../base/color-scheme';+import ColorSchemeRegistry from '../../../base/color-scheme/ColorSchemeRegistry';import { isGifEnabled } from '../../../gifs/functions';import { navigate } from '../../../mobile/navigation/components/conference/ConferenceNavigationContainerRef';import { screen } from '../../../mobile/navigation/routes';diff --git a/react/features/reactions/components/native/ReactionMenuDialog.js b/react/features/reactions/components/native/ReactionMenuDialog.jsindex 96f7c46db1..5b4eb469d9 100644--- a/react/features/reactions/components/native/ReactionMenuDialog.js+++ b/react/features/reactions/components/native/ReactionMenuDialog.js@@ -4,8 +4,9 @@ import React, { PureComponent } from 'react';import { SafeAreaView, TouchableWithoutFeedback, View } from 'react-native';import { connect } from 'react-redux';-import { ColorSchemeRegistry } from '../../../base/color-scheme';-import { hideDialog, isDialogOpen } from '../../../base/dialog';+import ColorSchemeRegistry from '../../../base/color-scheme/ColorSchemeRegistry';+import { hideDialog } from '../../../base/dialog/actions';+import { isDialogOpen } from '../../../base/dialog/functions';import { getParticipantCount } from '../../../base/participants';import type { StyleType } from '../../../base/styles';diff --git a/react/features/reactions/components/native/ReactionsMenuButton.js b/react/features/reactions/components/native/ReactionsMenuButton.jsindex 206efdfc58..069842d78a 100644--- a/react/features/reactions/components/native/ReactionsMenuButton.js+++ b/react/features/reactions/components/native/ReactionsMenuButton.js@@ -3,8 +3,10 @@import { connect } from 'react-redux';import { type Dispatch } from 'redux';-import { isDialogOpen, openDialog } from '../../../base/dialog';-import { RAISE_HAND_ENABLED, getFeatureFlag } from '../../../base/flags';+import { openDialog } from '../../../base/dialog/actions';+import { isDialogOpen } from '../../../base/dialog/functions';+import { RAISE_HAND_ENABLED } from '../../../base/flags/constants';+import { getFeatureFlag } from '../../../base/flags/functions';import { translate } from '../../../base/i18n';import { IconRaiseHand } from '../../../base/icons';import {diff --git a/react/features/reactions/components/native/index.js b/react/features/reactions/components/native/index.jsdeleted file mode 100644index 4a2bef9102..0000000000--- a/react/features/reactions/components/native/index.js+++ /dev/null@@ -1,3 +0,0 @@-export { default as ReactionsMenuButton } from './ReactionsMenuButton';-export { default as ReactionEmoji } from './ReactionEmoji';-export { default as ReactionMenu } from './ReactionMenu';diff --git a/react/features/reactions/components/web/index.js b/react/features/reactions/components/web/index.jsdeleted file mode 100644index 86ac96a8c7..0000000000--- a/react/features/reactions/components/web/index.js+++ /dev/null@@ -1,6 +0,0 @@-// @flow--export { default as ReactionButton } from './ReactionButton';-export { default as ReactionEmoji } from './ReactionEmoji';-export { default as ReactionsMenu } from './ReactionsMenu';-export { default as ReactionsMenuButton } from './ReactionsMenuButton';diff --git a/react/features/dropbox/index.js b/react/features/reactions/functions.native.tssimilarity index 55%rename from react/features/dropbox/index.jsrename to react/features/reactions/functions.native.tsindex b780791827..fb2a6bc39a 100644--- a/react/features/dropbox/index.js+++ b/react/features/reactions/functions.native.ts@@ -1,2 +1 @@-export * from './actions';export * from './functions.any';diff --git a/react/features/reactions/functions.web.ts b/react/features/reactions/functions.web.tsindex 8e8be33a3e..21151ade86 100644--- a/react/features/reactions/functions.web.ts+++ b/react/features/reactions/functions.web.ts@@ -1,5 +1,7 @@import { IReduxState } from '../app/types';+export * from './functions.any';+/*** Returns the visibility state of the reactions menu.*diff --git a/react/features/recent-list/components/RecentListItemMenu.native.js b/react/features/recent-list/components/RecentListItemMenu.native.jsindex 1e6e546427..a0bede4971 100644--- a/react/features/recent-list/components/RecentListItemMenu.native.js+++ b/react/features/recent-list/components/RecentListItemMenu.native.js@@ -2,7 +2,8 @@ import React, { PureComponent } from 'react';import { Text, View } from 'react-native';import { connect } from 'react-redux';-import { BottomSheet, hideSheet } from '../../base/dialog';+import { hideSheet } from '../../base/dialog/actions';+import BottomSheet from '../../base/dialog/components/native/BottomSheet';import { bottomSheetStyles } from '../../base/dialog/components/native/styles';import { type Item } from '../../base/react/Types';diff --git a/react/features/recent-list/components/index.js b/react/features/recent-list/components/index.jsdeleted file mode 100644index 03545a486f..0000000000--- a/react/features/recent-list/components/index.js+++ /dev/null@@ -1 +0,0 @@-export { default as RecentList } from './RecentList';diff --git a/react/features/recent-list/index.js b/react/features/recent-list/index.jsdeleted file mode 100644index 07635cbbc8..0000000000--- a/react/features/recent-list/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './components';diff --git a/react/features/recording/components/LiveStream/native/GoogleSigninForm.js b/react/features/recording/components/LiveStream/native/GoogleSigninForm.jsindex 9d4b9dc13e..1b6639f1d2 100644--- a/react/features/recording/components/LiveStream/native/GoogleSigninForm.js+++ b/react/features/recording/components/LiveStream/native/GoogleSigninForm.js@@ -4,7 +4,7 @@ import React, { Component } from 'react';import { Text, View } from 'react-native';import { connect } from 'react-redux';-import { _abstractMapStateToProps } from '../../../../base/dialog';+import { _abstractMapStateToProps } from '../../../../base/dialog/functions';import { translate } from '../../../../base/i18n';import { StyleType } from '../../../../base/styles';import {diff --git a/react/features/recording/components/LiveStream/native/LiveStreamButton.js b/react/features/recording/components/LiveStream/native/LiveStreamButton.jsindex ff797f836d..f83e919339 100644--- a/react/features/recording/components/LiveStream/native/LiveStreamButton.js+++ b/react/features/recording/components/LiveStream/native/LiveStreamButton.js@@ -2,8 +2,9 @@import { connect } from 'react-redux';-import { openDialog } from '../../../../base/dialog';-import { LIVE_STREAMING_ENABLED, getFeatureFlag } from '../../../../base/flags';+import { openDialog } from '../../../../base/dialog/actions';+import { LIVE_STREAMING_ENABLED } from '../../../../base/flags/constants';+import { getFeatureFlag } from '../../../../base/flags/functions';import { translate } from '../../../../base/i18n';import { navigate }from '../../../../mobile/navigation/components/conference/ConferenceNavigationContainerRef';diff --git a/react/features/recording/components/LiveStream/native/StopLiveStreamDialog.js b/react/features/recording/components/LiveStream/native/StopLiveStreamDialog.jsindex 95be6ab046..fa4dd1beb1 100644--- a/react/features/recording/components/LiveStream/native/StopLiveStreamDialog.js+++ b/react/features/recording/components/LiveStream/native/StopLiveStreamDialog.js@@ -3,7 +3,7 @@import React from 'react';import { connect } from 'react-redux';-import { ConfirmDialog } from '../../../../base/dialog';+import ConfirmDialog from '../../../../base/dialog/components/native/ConfirmDialog';import { translate } from '../../../../base/i18n';import AbstractStopLiveStreamDialog, {_mapStateToPropsdiff --git a/react/features/recording/components/LiveStream/native/StreamKeyForm.js b/react/features/recording/components/LiveStream/native/StreamKeyForm.jsindex 72c282705d..465deea977 100644--- a/react/features/recording/components/LiveStream/native/StreamKeyForm.js+++ b/react/features/recording/components/LiveStream/native/StreamKeyForm.js@@ -2,7 +2,7 @@ import React from 'react';import { Linking, Text, View } from 'react-native';import { connect } from 'react-redux';-import { _abstractMapStateToProps } from '../../../../base/dialog';+import { _abstractMapStateToProps } from '../../../../base/dialog/functions';import { translate } from '../../../../base/i18n';import { StyleType } from '../../../../base/styles';import Button from '../../../../base/ui/components/native/Button';diff --git a/react/features/recording/components/LiveStream/native/StreamKeyPicker.js b/react/features/recording/components/LiveStream/native/StreamKeyPicker.jsindex efd40b6e30..f189e7a9cb 100644--- a/react/features/recording/components/LiveStream/native/StreamKeyPicker.js+++ b/react/features/recording/components/LiveStream/native/StreamKeyPicker.js@@ -10,7 +10,7 @@ import {} from 'react-native';import { connect } from 'react-redux';-import { _abstractMapStateToProps } from '../../../../base/dialog';+import { _abstractMapStateToProps } from '../../../../base/dialog/functions';import { translate } from '../../../../base/i18n';import { StyleType } from '../../../../base/styles';import { YOUTUBE_LIVE_DASHBOARD_URL } from '../constants';diff --git a/react/features/recording/components/Recording/native/HighlightDialog.js b/react/features/recording/components/Recording/native/HighlightDialog.jsindex ead59a29fe..205ae8967e 100644--- a/react/features/recording/components/Recording/native/HighlightDialog.js+++ b/react/features/recording/components/Recording/native/HighlightDialog.js@@ -3,7 +3,8 @@ import { useTranslation } from 'react-i18next';import { Text, View } from 'react-native';import { batch, useDispatch } from 'react-redux';-import { BottomSheet, hideSheet } from '../../../../base/dialog';+import { hideSheet } from '../../../../base/dialog/actions';+import BottomSheet from '../../../../base/dialog/components/native/BottomSheet';import Button from '../../../../base/ui/components/native/Button';import { BUTTON_TYPES } from '../../../../base/ui/constants.native';import { highlightMeetingMoment } from '../../../actions.any';diff --git a/react/features/recording/components/Recording/native/RecordButton.js b/react/features/recording/components/Recording/native/RecordButton.jsindex 269ddd2c43..51e2e585c5 100644--- a/react/features/recording/components/Recording/native/RecordButton.js+++ b/react/features/recording/components/Recording/native/RecordButton.js@@ -3,8 +3,9 @@import { Platform } from 'react-native';import { connect } from 'react-redux';-import { openDialog } from '../../../../base/dialog';-import { IOS_RECORDING_ENABLED, RECORDING_ENABLED, getFeatureFlag } from '../../../../base/flags';+import { openDialog } from '../../../../base/dialog/actions';+import { IOS_RECORDING_ENABLED, RECORDING_ENABLED } from '../../../../base/flags/constants';+import { getFeatureFlag } from '../../../../base/flags/functions';import { translate } from '../../../../base/i18n';import { navigate }from '../../../../mobile/navigation/components/conference/ConferenceNavigationContainerRef';diff --git a/react/features/recording/components/Recording/native/StopRecordingDialog.js b/react/features/recording/components/Recording/native/StopRecordingDialog.jsindex 72cf3d5f43..2d799cd4d9 100644--- a/react/features/recording/components/Recording/native/StopRecordingDialog.js+++ b/react/features/recording/components/Recording/native/StopRecordingDialog.js@@ -3,7 +3,7 @@import React from 'react';import { connect } from 'react-redux';-import { ConfirmDialog } from '../../../../base/dialog';+import ConfirmDialog from '../../../../base/dialog/components/native/ConfirmDialog';import { translate } from '../../../../base/i18n';import AbstractStopRecordingDialog, {type Props,diff --git a/react/features/recording/components/Recording/styles.native.js b/react/features/recording/components/Recording/styles.native.jsindex 00491a657e..060bfcfd9f 100644--- a/react/features/recording/components/Recording/styles.native.js+++ b/react/features/recording/components/Recording/styles.native.js@@ -1,6 +1,7 @@// @flow-import { ColorSchemeRegistry, schemeColor } from '../../../base/color-scheme';+import ColorSchemeRegistry from '../../../base/color-scheme/ColorSchemeRegistry';+import { schemeColor } from '../../../base/color-scheme/functions';import { BoxModel } from '../../../base/styles';import BaseTheme from '../../../base/ui/components/BaseTheme.native';diff --git a/react/features/recording/index.js b/react/features/recording/index.jsdeleted file mode 100644index 286c5342fa..0000000000--- a/react/features/recording/index.js+++ /dev/null@@ -1,4 +0,0 @@-export * from './actions';-export * from './components';-export * from './constants';-export * from './functions';diff --git a/react/features/room-lock/actions.ts b/react/features/room-lock/actions.tsindex c29c257079..0586e1f430 100644--- a/react/features/room-lock/actions.ts+++ b/react/features/room-lock/actions.ts@@ -12,7 +12,7 @@ import { hideDialog, openDialog } from '../base/dialog/actions';import { SecurityDialog } from '../security/components/security-dialog';// @ts-ignore-import { PasswordRequiredPrompt } from './components';+import PasswordRequiredPrompt from './components/PasswordRequiredPrompt';/*** Cancels a prompt for a password to join a specific conference/room.diff --git a/react/features/room-lock/components/PasswordRequiredPrompt.native.js b/react/features/room-lock/components/PasswordRequiredPrompt.native.jsindex dcb6c3ca1d..f1fd600e6f 100644--- a/react/features/room-lock/components/PasswordRequiredPrompt.native.js+++ b/react/features/room-lock/components/PasswordRequiredPrompt.native.js@@ -4,8 +4,8 @@ import React, { Component } from 'react';import { connect } from 'react-redux';import type { Dispatch } from 'redux';-import { setPassword } from '../../base/conference';-import { InputDialog } from '../../base/dialog';+import { setPassword } from '../../base/conference/actions';+import InputDialog from '../../base/dialog/components/native/InputDialog';import { _cancelPasswordRequiredPrompt } from '../actions';/**diff --git a/react/features/room-lock/components/index.js b/react/features/room-lock/components/index.jsdeleted file mode 100644index 88f804a971..0000000000--- a/react/features/room-lock/components/index.js+++ /dev/null@@ -1 +0,0 @@-export { default as PasswordRequiredPrompt } from './PasswordRequiredPrompt';diff --git a/react/features/room-lock/index.js b/react/features/room-lock/index.jsdeleted file mode 100644index 7279934d83..0000000000--- a/react/features/room-lock/index.js+++ /dev/null@@ -1,3 +0,0 @@-export * from './actions';-export * from './components';-export * from './constants';diff --git a/react/features/room-lock/middleware.ts b/react/features/room-lock/middleware.tsindex 0d3aef24b1..6591a8bae5 100644--- a/react/features/room-lock/middleware.ts+++ b/react/features/room-lock/middleware.ts@@ -18,7 +18,7 @@ import { NOTIFICATION_TIMEOUT_TYPE } from '../notifications/constants';import { _openPasswordRequiredPrompt } from './actions';// eslint-disable-next-line lines-around-comment// @ts-ignore-import { PasswordRequiredPrompt } from './components';+import PasswordRequiredPrompt from './components/PasswordRequiredPrompt';import { LOCKED_REMOTELY } from './constants';import logger from './logger';diff --git a/react/features/screen-share/index.js b/react/features/screen-share/index.jsdeleted file mode 100644index 18f6963c1a..0000000000--- a/react/features/screen-share/index.js+++ /dev/null@@ -1,4 +0,0 @@--export * from './actions';-export * from './actionTypes';-export * from './functions';diff --git a/react/features/screenshot-capture/index.js b/react/features/screenshot-capture/index.jsdeleted file mode 100644index abee882188..0000000000--- a/react/features/screenshot-capture/index.js+++ /dev/null@@ -1,2 +0,0 @@-export * from './actions';-export * from './functions';diff --git a/react/features/security/components/index.js b/react/features/security/components/index.jsdeleted file mode 100644index 32ba38c52f..0000000000--- a/react/features/security/components/index.js+++ /dev/null@@ -1,3 +0,0 @@-// @flow--export * from './security-dialog';diff --git a/react/features/security/components/security-dialog/native/SecurityDialog.js b/react/features/security/components/security-dialog/native/SecurityDialog.jsindex 99260ecb13..3611572eb6 100644--- a/react/features/security/components/security-dialog/native/SecurityDialog.js+++ b/react/features/security/components/security-dialog/native/SecurityDialog.js@@ -7,7 +7,8 @@ import { connect } from 'react-redux';import type { Dispatch } from 'redux';import { getSecurityUiConfig } from '../../../../base/config/functions.any';-import { MEETING_PASSWORD_ENABLED, getFeatureFlag } from '../../../../base/flags';+import { MEETING_PASSWORD_ENABLED } from '../../../../base/flags/constants';+import { getFeatureFlag } from '../../../../base/flags/functions';import { translate } from '../../../../base/i18n';import JitsiScreen from '../../../../base/modal/components/JitsiScreen';import { isLocalParticipantModerator } from '../../../../base/participants';@@ -18,11 +19,11 @@ import { BUTTON_TYPES } from '../../../../base/ui/constants.native';import { copyText } from '../../../../base/util/copyText.native';import { isInBreakoutRoom } from '../../../../breakout-rooms/functions';import { toggleLobbyMode } from '../../../../lobby/actions.any';-import { LOCKED_LOCALLY, LOCKED_REMOTELY } from '../../../../room-lock';import {endRoomLockRequest,unlockRoom} from '../../../../room-lock/actions';+import { LOCKED_LOCALLY, LOCKED_REMOTELY } from '../../../../room-lock/constants';import styles from './styles';diff --git a/react/features/security/index.js b/react/features/security/index.jsdeleted file mode 100644index 7cd20acdfd..0000000000--- a/react/features/security/index.js+++ /dev/null@@ -1,4 +0,0 @@-// @flow--export * from './actions';-export * from './components';diff --git a/react/features/settings/actions.ts b/react/features/settings/actions.web.tssimilarity index 98%rename from react/features/settings/actions.tsrename to react/features/settings/actions.web.tsindex 80a6a127e1..e453666d23 100644--- a/react/features/settings/actions.ts+++ b/react/features/settings/actions.web.ts@@ -18,9 +18,8 @@ import {SET_AUDIO_SETTINGS_VISIBILITY,SET_VIDEO_SETTINGS_VISIBILITY} from './actionTypes';-// eslint-disable-next-line lines-around-comment-// @ts-ignore-import { LogoutDialog, SettingsDialog } from './components';+import LogoutDialog from './components/web/LogoutDialog';+import SettingsDialog from './components/web/SettingsDialog';import {getModeratorTabProps,getMoreTabProps,@@ -28,7 +27,7 @@ import {getProfileTabProps,getShortcutsTabProps,getVirtualBackgroundTabProps-} from './functions';+} from './functions.web';/*** Opens {@code LogoutDialog}.diff --git a/react/features/settings/components/_.web.js b/react/features/settings/components/_.web.jsdeleted file mode 100644index b80c83af34..0000000000--- a/react/features/settings/components/_.web.js+++ /dev/null@@ -1 +0,0 @@-export * from './web';diff --git a/react/features/settings/components/index.js b/react/features/settings/components/index.jsdeleted file mode 100644index cda61441e4..0000000000--- a/react/features/settings/components/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './_';diff --git a/react/features/settings/components/web/index.js b/react/features/settings/components/web/index.jsdeleted file mode 100644index ed523a1484..0000000000--- a/react/features/settings/components/web/index.js+++ /dev/null@@ -1,5 +0,0 @@-export { default as LogoutDialog } from './LogoutDialog';-export { default as SettingsButton } from './SettingsButton';-export { default as SettingsDialog } from './SettingsDialog';-export { default as AudioSettingsPopup } from './audio/AudioSettingsPopup';-export { default as VideoSettingsPopup } from './video/VideoSettingsPopup';diff --git a/react/features/settings/index.js b/react/features/settings/index.jsdeleted file mode 100644index b826983c44..0000000000--- a/react/features/settings/index.js+++ /dev/null@@ -1,5 +0,0 @@-export * from './actions';-export * from './actionTypes';-export * from './components';-export * from './constants';-export * from './functions';diff --git a/react/features/share-room/index.js b/react/features/share-room/index.jsdeleted file mode 100644index e40f04336c..0000000000--- a/react/features/share-room/index.js+++ /dev/null@@ -1,2 +0,0 @@-export * from './actions';-export * from './actionTypes';diff --git a/react/features/shared-video/components/native/SharedVideoButton.js b/react/features/shared-video/components/native/SharedVideoButton.jsindex d4ba52dbf2..c45be65a3d 100644--- a/react/features/shared-video/components/native/SharedVideoButton.js+++ b/react/features/shared-video/components/native/SharedVideoButton.js@@ -3,7 +3,8 @@import { connect } from 'react-redux';import type { Dispatch } from 'redux';-import { VIDEO_SHARE_BUTTON_ENABLED, getFeatureFlag } from '../../../base/flags';+import { VIDEO_SHARE_BUTTON_ENABLED } from '../../../base/flags/constants';+import { getFeatureFlag } from '../../../base/flags/functions';import { translate } from '../../../base/i18n';import { IconPlay } from '../../../base/icons';import { getLocalParticipant } from '../../../base/participants';diff --git a/react/features/shared-video/components/native/SharedVideoDialog.js b/react/features/shared-video/components/native/SharedVideoDialog.jsindex 3ad4ed32a1..ecd55d363e 100644--- a/react/features/shared-video/components/native/SharedVideoDialog.js+++ b/react/features/shared-video/components/native/SharedVideoDialog.js@@ -3,7 +3,7 @@import React from 'react';import { connect } from 'react-redux';-import { InputDialog } from '../../../base/dialog';+import InputDialog from '../../../base/dialog/components/native/InputDialog';import { translate } from '../../../base/i18n';import AbstractSharedVideoDialog from '../AbstractSharedVideoDialog';diff --git a/react/features/speaker-stats/components/native/SpeakerStatsButton.js b/react/features/speaker-stats/components/native/SpeakerStatsButton.jsindex 824d7fbd91..741cd2d8d1 100644--- a/react/features/speaker-stats/components/native/SpeakerStatsButton.js+++ b/react/features/speaker-stats/components/native/SpeakerStatsButton.js@@ -3,7 +3,8 @@import { connect } from 'react-redux';import { createToolbarEvent, sendAnalytics } from '../../../analytics';-import { SPEAKERSTATS_ENABLED, getFeatureFlag } from '../../../base/flags';+import { SPEAKERSTATS_ENABLED } from '../../../base/flags/constants';+import { getFeatureFlag } from '../../../base/flags/functions';import { translate } from '../../../base/i18n';import { navigate } from '../../../mobile/navigation/components/conference/ConferenceNavigationContainerRef';import { screen } from '../../../mobile/navigation/routes';diff --git a/react/features/speaker-stats/components/native/SpeakerStatsItem.js b/react/features/speaker-stats/components/native/SpeakerStatsItem.jsindex 8c83820ee2..86bb4aa7ba 100644--- a/react/features/speaker-stats/components/native/SpeakerStatsItem.js+++ b/react/features/speaker-stats/components/native/SpeakerStatsItem.js@@ -3,7 +3,8 @@import React from 'react';import { Text, View } from 'react-native';-import { Avatar, StatelessAvatar } from '../../../base/avatar';+import Avatar from '../../../base/avatar/components/Avatar';+import StatelessAvatar from '../../../base/avatar/components/native/StatelessAvatar';import { getInitials } from '../../../base/avatar/functions';import BaseTheme from '../../../base/ui/components/BaseTheme.native';diff --git a/react/features/stream-effects/virtual-background/index.js b/react/features/stream-effects/virtual-background/index.jsindex 13edb6ce9e..de1fae8e96 100644--- a/react/features/stream-effects/virtual-background/index.js+++ b/react/features/stream-effects/virtual-background/index.js@@ -1,5 +1,5 @@-import { NOTIFICATION_TIMEOUT_TYPE } from '../../notifications';import { showWarningNotification } from '../../notifications/actions';+import { NOTIFICATION_TIMEOUT_TYPE } from '../../notifications/constants';import { timeout } from '../../virtual-background/functions';import logger from '../../virtual-background/logger';diff --git a/react/features/subtitles/components/Captions.web.js b/react/features/subtitles/components/Captions.web.jsindex b65a7500b0..e79019b807 100644--- a/react/features/subtitles/components/Captions.web.js+++ b/react/features/subtitles/components/Captions.web.js@@ -5,7 +5,7 @@ import { connect } from 'react-redux';import { getLocalParticipant } from '../../base/participants';import { getLargeVideoParticipant } from '../../large-video/functions';-import { isLayoutTileView } from '../../video-layout';+import { isLayoutTileView } from '../../video-layout/functions.web';import {AbstractCaptions,diff --git a/react/features/subtitles/components/ClosedCaptionButton.native.js b/react/features/subtitles/components/ClosedCaptionButton.native.jsindex b547d70ae6..a4c08daada 100644--- a/react/features/subtitles/components/ClosedCaptionButton.native.js+++ b/react/features/subtitles/components/ClosedCaptionButton.native.js@@ -2,7 +2,8 @@import { connect } from 'react-redux';-import { CLOSE_CAPTIONS_ENABLED, getFeatureFlag } from '../../base/flags';+import { CLOSE_CAPTIONS_ENABLED } from '../../base/flags/constants';+import { getFeatureFlag } from '../../base/flags/functions';import { translate } from '../../base/i18n';import { IconSubtitles } from '../../base/icons';diff --git a/react/features/subtitles/components/index.js b/react/features/subtitles/components/index.jsdeleted file mode 100644index 3b265460a9..0000000000--- a/react/features/subtitles/components/index.js+++ /dev/null@@ -1,2 +0,0 @@-export { default as Captions } from './Captions';-export { default as ClosedCaptionButton } from './ClosedCaptionButton';diff --git a/react/features/subtitles/index.js b/react/features/subtitles/index.jsdeleted file mode 100644index 803dacd06c..0000000000--- a/react/features/subtitles/index.js+++ /dev/null@@ -1,3 +0,0 @@-export * from './actions';-export * from './actionTypes';-export * from './components';diff --git a/react/features/toolbox/components/_.native.js b/react/features/toolbox/components/_.native.jsdeleted file mode 100644index 738c4d2b8a..0000000000--- a/react/features/toolbox/components/_.native.js+++ /dev/null@@ -1 +0,0 @@-export * from './native';diff --git a/react/features/toolbox/components/_.web.js b/react/features/toolbox/components/_.web.jsdeleted file mode 100644index b80c83af34..0000000000--- a/react/features/toolbox/components/_.web.js+++ /dev/null@@ -1 +0,0 @@-export * from './web';diff --git a/react/features/toolbox/components/index.js b/react/features/toolbox/components/index.jsdeleted file mode 100644index 14c7b14621..0000000000--- a/react/features/toolbox/components/index.js+++ /dev/null@@ -1,6 +0,0 @@-// @flow--export * from './_';-export { default as AudioMuteButton } from './AudioMuteButton';-export { default as HangupButton } from './HangupButton';-export { default as VideoMuteButton } from './VideoMuteButton';diff --git a/react/features/toolbox/components/native/AudioOnlyButton.js b/react/features/toolbox/components/native/AudioOnlyButton.jsindex 5ae4cb7daa..c586d9f13d 100644--- a/react/features/toolbox/components/native/AudioOnlyButton.js+++ b/react/features/toolbox/components/native/AudioOnlyButton.js@@ -2,8 +2,9 @@import { connect } from 'react-redux';-import { setAudioOnly, toggleAudioOnly } from '../../../base/audio-only';-import { AUDIO_ONLY_BUTTON_ENABLED, getFeatureFlag } from '../../../base/flags';+import { setAudioOnly, toggleAudioOnly } from '../../../base/audio-only/actions';+import { AUDIO_ONLY_BUTTON_ENABLED } from '../../../base/flags/constants';+import { getFeatureFlag } from '../../../base/flags/functions';import { translate } from '../../../base/i18n';import { IconAudioOnly, IconAudioOnlyOff } from '../../../base/icons';import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';diff --git a/react/features/toolbox/components/native/HangupMenu.tsx b/react/features/toolbox/components/native/HangupMenu.tsxindex f0a941b615..5fd98b2c29 100644--- a/react/features/toolbox/components/native/HangupMenu.tsx+++ b/react/features/toolbox/components/native/HangupMenu.tsx@@ -8,10 +8,8 @@ import { sendAnalytics } from '../../../analytics/functions';// @ts-ignoreimport { appNavigate } from '../../../app/actions';import { IReduxState } from '../../../app/types';-// @ts-ignore-import { ColorSchemeRegistry } from '../../../base/color-scheme';-// @ts-ignore-import { endConference } from '../../../base/conference';+import ColorSchemeRegistry from '../../../base/color-scheme/ColorSchemeRegistry';+import { endConference } from '../../../base/conference/actions';import { hideSheet } from '../../../base/dialog/actions';// @ts-ignoreimport BottomSheet from '../../../base/dialog/components/native/BottomSheet';@@ -29,7 +27,7 @@ import { isInBreakoutRoom } from '../../../breakout-rooms/functions';*/function HangupMenu() {const dispatch = useDispatch();- const _styles = useSelector(state => ColorSchemeRegistry.get(state, 'Toolbox'));+ const _styles: any = useSelector(state => ColorSchemeRegistry.get(state, 'Toolbox'));const inBreakoutRoom = useSelector(isInBreakoutRoom);const isModerator = useSelector((state: IReduxState) =>getLocalParticipant(state)?.role === PARTICIPANT_ROLE.MODERATOR);diff --git a/react/features/toolbox/components/native/OverflowMenu.js b/react/features/toolbox/components/native/OverflowMenu.jsindex 7fb27be2e9..729a552d4c 100644--- a/react/features/toolbox/components/native/OverflowMenu.js+++ b/react/features/toolbox/components/native/OverflowMenu.js@@ -4,20 +4,22 @@ import React, { PureComponent } from 'react';import { Divider } from 'react-native-paper';import { connect } from 'react-redux';-import { BottomSheet, hideSheet } from '../../../base/dialog';+import { hideSheet } from '../../../base/dialog/actions';+import BottomSheet from '../../../base/dialog/components/native/BottomSheet';import { bottomSheetStyles } from '../../../base/dialog/components/native/styles';import SettingsButton from '../../../base/settings/components/native/SettingsButton';-import { SharedDocumentButton } from '../../../etherpad';-import { ReactionMenu } from '../../../reactions/components';+import SharedDocumentButton from '../../../etherpad/components/SharedDocumentButton.native';+import ReactionMenu from '../../../reactions/components/native/ReactionMenu';import { isReactionsEnabled } from '../../../reactions/functions.any';-import { LiveStreamButton, RecordButton } from '../../../recording';+import LiveStreamButton from '../../../recording/components/LiveStream/native/LiveStreamButton';+import RecordButton from '../../../recording/components/Recording/native/RecordButton';import SecurityDialogButtonfrom '../../../security/components/security-dialog/native/SecurityDialogButton';import { SharedVideoButton } from '../../../shared-video/components';import SpeakerStatsButton from '../../../speaker-stats/components/native/SpeakerStatsButton';import { isSpeakerStatsDisabled } from '../../../speaker-stats/functions';-import { ClosedCaptionButton } from '../../../subtitles';-import { TileViewButton } from '../../../video-layout';+import ClosedCaptionButton from '../../../subtitles/components/ClosedCaptionButton.native';+import TileViewButton from '../../../video-layout/components/TileViewButton';import styles from '../../../video-menu/components/native/styles';import { getMovableButtons } from '../../functions.native';diff --git a/react/features/toolbox/components/native/OverflowMenuButton.js b/react/features/toolbox/components/native/OverflowMenuButton.jsindex 7d2b604f74..99d0ae7fb1 100644--- a/react/features/toolbox/components/native/OverflowMenuButton.js+++ b/react/features/toolbox/components/native/OverflowMenuButton.js@@ -1,7 +1,8 @@import { connect } from 'react-redux';-import { openSheet } from '../../../base/dialog';-import { OVERFLOW_MENU_ENABLED, getFeatureFlag } from '../../../base/flags';+import { openSheet } from '../../../base/dialog/actions';+import { OVERFLOW_MENU_ENABLED } from '../../../base/flags/constants';+import { getFeatureFlag } from '../../../base/flags/functions';import { translate } from '../../../base/i18n';import { IconDotsHorizontal } from '../../../base/icons';import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';diff --git a/react/features/toolbox/components/native/RaiseHandButton.js b/react/features/toolbox/components/native/RaiseHandButton.jsindex 2ff6128b60..a41c222d45 100644--- a/react/features/toolbox/components/native/RaiseHandButton.js+++ b/react/features/toolbox/components/native/RaiseHandButton.js@@ -7,7 +7,8 @@ import {createToolbarEvent,sendAnalytics} from '../../../analytics';-import { RAISE_HAND_ENABLED, getFeatureFlag } from '../../../base/flags';+import { RAISE_HAND_ENABLED } from '../../../base/flags/constants';+import { getFeatureFlag } from '../../../base/flags/functions';import { translate } from '../../../base/i18n';import { IconRaiseHand } from '../../../base/icons';import {diff --git a/react/features/toolbox/components/native/ScreenSharingAndroidButton.js b/react/features/toolbox/components/native/ScreenSharingAndroidButton.jsindex b6eab13b20..f6d6418eef 100644--- a/react/features/toolbox/components/native/ScreenSharingAndroidButton.js+++ b/react/features/toolbox/components/native/ScreenSharingAndroidButton.js@@ -2,10 +2,8 @@import { connect } from 'react-redux';-import {- ANDROID_SCREENSHARING_ENABLED,- getFeatureFlag-} from '../../../base/flags';+import { ANDROID_SCREENSHARING_ENABLED } from '../../../base/flags/constants';+import { getFeatureFlag } from '../../../base/flags/functions';import { translate } from '../../../base/i18n';import { IconScreenshare } from '../../../base/icons';import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';diff --git a/react/features/toolbox/components/native/ScreenSharingIosButton.js b/react/features/toolbox/components/native/ScreenSharingIosButton.jsindex 6955da485e..3812d56e00 100644--- a/react/features/toolbox/components/native/ScreenSharingIosButton.js+++ b/react/features/toolbox/components/native/ScreenSharingIosButton.js@@ -5,7 +5,8 @@ import { NativeModules, Platform, findNodeHandle } from 'react-native';import { ScreenCapturePickerView } from 'react-native-webrtc';import { connect } from 'react-redux';-import { IOS_SCREENSHARING_ENABLED, getFeatureFlag } from '../../../base/flags';+import { IOS_SCREENSHARING_ENABLED } from '../../../base/flags/constants';+import { getFeatureFlag } from '../../../base/flags/functions';import { translate } from '../../../base/i18n';import { IconScreenshare } from '../../../base/icons';import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';diff --git a/react/features/toolbox/components/native/Toolbox.js b/react/features/toolbox/components/native/Toolbox.jsindex 03d805c0a7..14f8d77af6 100644--- a/react/features/toolbox/components/native/Toolbox.js+++ b/react/features/toolbox/components/native/Toolbox.js@@ -5,13 +5,13 @@ import { View } from 'react-native';import { SafeAreaView } from 'react-native-safe-area-context';import { connect } from 'react-redux';-import { ColorSchemeRegistry } from '../../../base/color-scheme';+import ColorSchemeRegistry from '../../../base/color-scheme/ColorSchemeRegistry';import { Platform } from '../../../base/react';import { StyleType } from '../../../base/styles';-import { ChatButton } from '../../../chat';-import { ReactionsMenuButton } from '../../../reactions/components';+import ChatButton from '../../../chat/components/native/ChatButton';+import ReactionsMenuButton from '../../../reactions/components/native/ReactionsMenuButton';import { isReactionsEnabled } from '../../../reactions/functions.any';-import { TileViewButton } from '../../../video-layout';+import TileViewButton from '../../../video-layout/components/TileViewButton';import { iAmVisitor } from '../../../visitors/functions';import { getMovableButtons, isToolboxVisible } from '../../functions.native';import AudioMuteButton from '../AudioMuteButton';diff --git a/react/features/toolbox/components/native/index.js b/react/features/toolbox/components/native/index.jsdeleted file mode 100644index 70fb4807a3..0000000000--- a/react/features/toolbox/components/native/index.js+++ /dev/null@@ -1 +0,0 @@-export { default as Toolbox } from './Toolbox';diff --git a/react/features/toolbox/components/native/styles.js b/react/features/toolbox/components/native/styles.jsindex deeb7dbd36..f70ec13a7f 100644--- a/react/features/toolbox/components/native/styles.js+++ b/react/features/toolbox/components/native/styles.js@@ -1,4 +1,5 @@-import { ColorSchemeRegistry, schemeColor } from '../../../base/color-scheme';+import ColorSchemeRegistry from '../../../base/color-scheme/ColorSchemeRegistry';+import { schemeColor } from '../../../base/color-scheme/functions';import BaseTheme from '../../../base/ui/components/BaseTheme.native';const BUTTON_SIZE = 48;diff --git a/react/features/toolbox/components/web/index.js b/react/features/toolbox/components/web/index.jsdeleted file mode 100644index debcba37a2..0000000000--- a/react/features/toolbox/components/web/index.js+++ /dev/null@@ -1,6 +0,0 @@-export { default as AudioSettingsButton } from './AudioSettingsButton';-export { default as VideoSettingsButton } from './VideoSettingsButton';-export { default as Toolbox } from './Toolbox';-export { default as Drawer } from './Drawer';-export { default as JitsiPortal } from './JitsiPortal';-export { default as DialogPortal } from './DialogPortal';diff --git a/react/features/transcribing/components/index.js b/react/features/transcribing/components/index.jsdeleted file mode 100644index 48286f0fab..0000000000--- a/react/features/transcribing/components/index.js+++ /dev/null@@ -1,4 +0,0 @@-export { default as TranscribingLabel } from './TranscribingLabel';-export {- default as TranscribingExpandedLabel-} from './TranscribingExpandedLabel';diff --git a/react/features/transcribing/index.js b/react/features/transcribing/index.jsdeleted file mode 100644index 3c46ed49d1..0000000000--- a/react/features/transcribing/index.js+++ /dev/null@@ -1,2 +0,0 @@-export * from './actions';-export * from './components';diff --git a/react/features/unsupported-browser/components/index.js b/react/features/unsupported-browser/components/index.jsdeleted file mode 100644index 9c688ddfc5..0000000000--- a/react/features/unsupported-browser/components/index.js+++ /dev/null@@ -1 +0,0 @@-export { default as UnsupportedDesktopBrowser } from './PageSelector';diff --git a/react/features/unsupported-browser/index.js b/react/features/unsupported-browser/index.jsdeleted file mode 100644index 07635cbbc8..0000000000--- a/react/features/unsupported-browser/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './components';diff --git a/react/features/video-layout/components/index.js b/react/features/video-layout/components/index.jsdeleted file mode 100644index baaeb408cb..0000000000--- a/react/features/video-layout/components/index.js+++ /dev/null@@ -1 +0,0 @@-export { default as TileViewButton } from './TileViewButton';diff --git a/react/features/video-layout/index.js b/react/features/video-layout/index.jsdeleted file mode 100644index b826983c44..0000000000--- a/react/features/video-layout/index.js+++ /dev/null@@ -1,5 +0,0 @@-export * from './actions';-export * from './actionTypes';-export * from './components';-export * from './constants';-export * from './functions';diff --git a/react/features/video-menu/components/native/ConnectionStatusButton.js b/react/features/video-menu/components/native/ConnectionStatusButton.jsindex ebc8c95a9f..5900b90b8f 100644--- a/react/features/video-menu/components/native/ConnectionStatusButton.js+++ b/react/features/video-menu/components/native/ConnectionStatusButton.js@@ -1,6 +1,6 @@import { connect } from 'react-redux';-import { openSheet } from '../../../base/dialog';+import { openSheet } from '../../../base/dialog/actions';import { translate } from '../../../base/i18n';import { IconInfoCircle } from '../../../base/icons';import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';diff --git a/react/features/video-menu/components/native/GrantModeratorDialog.js b/react/features/video-menu/components/native/GrantModeratorDialog.jsindex 87aa3bde0c..c3a6bee7de 100644--- a/react/features/video-menu/components/native/GrantModeratorDialog.js+++ b/react/features/video-menu/components/native/GrantModeratorDialog.js@@ -3,7 +3,7 @@import React from 'react';import { connect } from 'react-redux';-import { ConfirmDialog } from '../../../base/dialog';+import ConfirmDialog from '../../../base/dialog/components/native/ConfirmDialog';import { translate } from '../../../base/i18n';import AbstractGrantModeratorDialog, { abstractMapStateToProps }from '../AbstractGrantModeratorDialog';diff --git a/react/features/video-menu/components/native/KickRemoteParticipantDialog.js b/react/features/video-menu/components/native/KickRemoteParticipantDialog.jsindex bdd2f5da35..3fd11beeea 100644--- a/react/features/video-menu/components/native/KickRemoteParticipantDialog.js+++ b/react/features/video-menu/components/native/KickRemoteParticipantDialog.js@@ -3,7 +3,7 @@import React from 'react';import { connect } from 'react-redux';-import { ConfirmDialog } from '../../../base/dialog';+import ConfirmDialog from '../../../base/dialog/components/native/ConfirmDialog';import { translate } from '../../../base/i18n';import AbstractKickRemoteParticipantDialogfrom '../AbstractKickRemoteParticipantDialog';diff --git a/react/features/video-menu/components/native/LocalVideoMenu.js b/react/features/video-menu/components/native/LocalVideoMenu.jsindex b944dcf458..f57b5dcc5d 100644--- a/react/features/video-menu/components/native/LocalVideoMenu.js+++ b/react/features/video-menu/components/native/LocalVideoMenu.js@@ -2,8 +2,8 @@ import React, { PureComponent } from 'react';import { Text, View } from 'react-native';import { connect } from 'react-redux';-import { Avatar } from '../../../base/avatar';-import { BottomSheet } from '../../../base/dialog';+import Avatar from '../../../base/avatar/components/Avatar';+import BottomSheet from '../../../base/dialog/components/native/BottomSheet';import { bottomSheetStyles } from '../../../base/dialog/components/native/styles';import { translate } from '../../../base/i18n';import {diff --git a/react/features/video-menu/components/native/MuteEveryoneDialog.js b/react/features/video-menu/components/native/MuteEveryoneDialog.jsindex b619b95214..1bc2956fe7 100644--- a/react/features/video-menu/components/native/MuteEveryoneDialog.js+++ b/react/features/video-menu/components/native/MuteEveryoneDialog.js@@ -3,7 +3,7 @@ import Dialog from 'react-native-dialog';import { Divider } from 'react-native-paper';import { connect } from 'react-redux';-import { ConfirmDialog } from '../../../base/dialog';+import ConfirmDialog from '../../../base/dialog/components/native/ConfirmDialog';import { translate } from '../../../base/i18n';import AbstractMuteEveryoneDialog, {type Props,diff --git a/react/features/video-menu/components/native/MuteEveryonesVideoDialog.js b/react/features/video-menu/components/native/MuteEveryonesVideoDialog.jsindex 0c198c39fe..efaefc7f48 100644--- a/react/features/video-menu/components/native/MuteEveryonesVideoDialog.js+++ b/react/features/video-menu/components/native/MuteEveryonesVideoDialog.js@@ -3,7 +3,7 @@ import Dialog from 'react-native-dialog';import { Divider } from 'react-native-paper';import { connect } from 'react-redux';-import { ConfirmDialog } from '../../../base/dialog';+import ConfirmDialog from '../../../base/dialog/components/native/ConfirmDialog';import { translate } from '../../../base/i18n';import AbstractMuteEveryonesVideoDialog, {type Props,diff --git a/react/features/video-menu/components/native/MuteRemoteParticipantsVideoDialog.js b/react/features/video-menu/components/native/MuteRemoteParticipantsVideoDialog.jsindex d659616dbd..b3601257f4 100644--- a/react/features/video-menu/components/native/MuteRemoteParticipantsVideoDialog.js+++ b/react/features/video-menu/components/native/MuteRemoteParticipantsVideoDialog.js@@ -3,7 +3,7 @@import React from 'react';import { connect } from 'react-redux';-import { ConfirmDialog } from '../../../base/dialog';+import ConfirmDialog from '../../../base/dialog/components/native/ConfirmDialog';import { translate } from '../../../base/i18n';import AbstractMuteRemoteParticipantsVideoDialog, {abstractMapStateToPropsdiff --git a/react/features/video-menu/components/native/RemoteVideoMenu.js b/react/features/video-menu/components/native/RemoteVideoMenu.jsindex 9d45319cc1..e30a202014 100644--- a/react/features/video-menu/components/native/RemoteVideoMenu.js+++ b/react/features/video-menu/components/native/RemoteVideoMenu.js@@ -3,10 +3,12 @@ import { Text, View } from 'react-native';import { Divider } from 'react-native-paper';import { connect } from 'react-redux';-import { Avatar } from '../../../base/avatar';-import { BottomSheet, hideSheet } from '../../../base/dialog';+import Avatar from '../../../base/avatar/components/Avatar';+import { hideSheet } from '../../../base/dialog/actions';+import BottomSheet from '../../../base/dialog/components/native/BottomSheet';import { bottomSheetStyles } from '../../../base/dialog/components/native/styles';-import { KICK_OUT_ENABLED, getFeatureFlag } from '../../../base/flags';+import { KICK_OUT_ENABLED } from '../../../base/flags/constants';+import { getFeatureFlag } from '../../../base/flags/functions';import { translate } from '../../../base/i18n';import {getParticipantById,diff --git a/react/features/video-menu/components/native/SharedVideoMenu.js b/react/features/video-menu/components/native/SharedVideoMenu.jsindex 756e9d1577..235f432791 100644--- a/react/features/video-menu/components/native/SharedVideoMenu.js+++ b/react/features/video-menu/components/native/SharedVideoMenu.js@@ -5,8 +5,9 @@ import { Text, View } from 'react-native';import { Divider } from 'react-native-paper';import { connect } from 'react-redux';-import { Avatar } from '../../../base/avatar';-import { BottomSheet, hideSheet } from '../../../base/dialog';+import Avatar from '../../../base/avatar/components/Avatar';+import { hideSheet } from '../../../base/dialog/actions';+import BottomSheet from '../../../base/dialog/components/native/BottomSheet';import { bottomSheetStyles } from '../../../base/dialog/components/native/styles';import {getParticipantById,diff --git a/react/features/video-menu/components/native/styles.js b/react/features/video-menu/components/native/styles.jsindex 2875921ae0..4156cad9e2 100644--- a/react/features/video-menu/components/native/styles.js+++ b/react/features/video-menu/components/native/styles.js@@ -4,7 +4,7 @@ import {MD_FONT_SIZE,MD_ITEM_HEIGHT,MD_ITEM_MARGIN_PADDING-} from '../../../base/dialog';+} from '../../../base/dialog/components/native/styles';import { ColorPalette, createStyleSheet } from '../../../base/styles';import BaseTheme from '../../../base/ui/components/BaseTheme.native';diff --git a/react/features/video-menu/index.js b/react/features/video-menu/index.jsdeleted file mode 100644index 07635cbbc8..0000000000--- a/react/features/video-menu/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './components';diff --git a/react/features/video-quality/components/VideoQualityLabel.web.js b/react/features/video-quality/components/VideoQualityLabel.web.jsindex b57dd1d69a..3517b31298 100644--- a/react/features/video-quality/components/VideoQualityLabel.web.js+++ b/react/features/video-quality/components/VideoQualityLabel.web.js@@ -3,13 +3,13 @@import React from 'react';import { connect } from 'react-redux';-import { openDialog } from '../../base/dialog';+import { openDialog } from '../../base/dialog/actions';import { translate } from '../../base/i18n';import { IconPerformance } from '../../base/icons';import { Label } from '../../base/label';import { COLORS } from '../../base/label/constants';import Tooltip from '../../base/tooltip/components/Tooltip';-import { shouldDisplayTileView } from '../../video-layout';+import { shouldDisplayTileView } from '../../video-layout/functions.web';import AbstractVideoQualityLabel, {IProps as AbstractProps,diff --git a/react/features/video-quality/components/index.js b/react/features/video-quality/components/index.jsdeleted file mode 100644index 6f188e6448..0000000000--- a/react/features/video-quality/components/index.js+++ /dev/null@@ -1,6 +0,0 @@-export { default as VideoQualityButton } from './VideoQualityButton.web';-export { default as VideoQualityDialog } from './VideoQualityDialog';-export { default as VideoQualityLabel } from './VideoQualityLabel';-export {- default as VideoQualityExpandedLabel-} from './VideoQualityExpandedLabel';diff --git a/react/features/video-quality/index.js b/react/features/video-quality/index.jsdeleted file mode 100644index d51b440236..0000000000--- a/react/features/video-quality/index.js+++ /dev/null@@ -1,3 +0,0 @@-export * from './components';-export * from './actions';-export * from './actionTypes';diff --git a/react/features/videosipgw/index.js b/react/features/videosipgw/index.jsdeleted file mode 100644index 485f1b10af..0000000000--- a/react/features/videosipgw/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './actions';diff --git a/react/features/virtual-background/components/index.js b/react/features/virtual-background/components/index.jsdeleted file mode 100644index a6cb1e2b57..0000000000--- a/react/features/virtual-background/components/index.js+++ /dev/null@@ -1 +0,0 @@-export { default as VideoBackgroundButton } from './VideoBackgroundButton';diff --git a/react/features/virtual-background/index.js b/react/features/virtual-background/index.jsdeleted file mode 100644index cc25e46aa0..0000000000--- a/react/features/virtual-background/index.js+++ /dev/null@@ -1,3 +0,0 @@-export * from './actions';-export * from './components';-export * from './functions';diff --git a/react/features/welcome/components/WelcomePage.web.js b/react/features/welcome/components/WelcomePage.web.jsindex 22b940f599..15d57a8405 100644--- a/react/features/welcome/components/WelcomePage.web.js+++ b/react/features/welcome/components/WelcomePage.web.js@@ -7,9 +7,10 @@ import { isMobileBrowser } from '../../base/environment/utils';import { translate, translateToHTML } from '../../base/i18n';import { Icon, IconWarning } from '../../base/icons';import { Watermarks } from '../../base/react';-import { CalendarList } from '../../calendar-sync';-import { RecentList } from '../../recent-list';-import { SETTINGS_TABS, SettingsButton } from '../../settings';+import CalendarList from '../../calendar-sync/components/CalendarList.web';+import RecentList from '../../recent-list/components/RecentList.web';+import SettingsButton from '../../settings/components/web/SettingsButton';+import { SETTINGS_TABS } from '../../settings/constants';import { AbstractWelcomePage, _mapStateToProps } from './AbstractWelcomePage';import Tabs from './Tabs';diff --git a/react/features/welcome/components/index.js b/react/features/welcome/components/index.jsdeleted file mode 100644index 037ef83deb..0000000000--- a/react/features/welcome/components/index.js+++ /dev/null@@ -1,2 +0,0 @@-export { default as BlankPage } from './BlankPage';-export { default as WelcomePage } from './WelcomePage';diff --git a/react/features/welcome/index.js b/react/features/welcome/index.jsdeleted file mode 100644index 07635cbbc8..0000000000--- a/react/features/welcome/index.js+++ /dev/null@@ -1 +0,0 @@-export * from './components';