Remove some Flow annotations
This commit is contained in:
parent
19e8e8710a
commit
2a5adfc601
|
@ -1,11 +1,11 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import { ConfirmDialog } from '../../base/dialog';
|
import { ConfirmDialog } from '../../base/dialog';
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import { cancelWaitForOwner, _openLoginDialog } from '../actions';
|
import { cancelWaitForOwner, _openLoginDialog } from '../actions';
|
||||||
|
|
||||||
|
|
|
@ -55,8 +55,6 @@ export default class BaseApp extends Component<*, State> {
|
||||||
|
|
||||||
this.state = {
|
this.state = {
|
||||||
route: {},
|
route: {},
|
||||||
|
|
||||||
// $FlowFixMe
|
|
||||||
store: undefined
|
store: undefined
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
import React, { Component, type Node } from 'react';
|
import React, { Component, type Node } from 'react';
|
||||||
import { TouchableWithoutFeedback, View } from 'react-native';
|
import { TouchableWithoutFeedback, View } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { ColorSchemeRegistry } from '../../../color-scheme';
|
import { ColorSchemeRegistry } from '../../../color-scheme';
|
||||||
import { Modal } from '../../../react';
|
import { Modal } from '../../../react';
|
||||||
|
import { connect } from '../../../redux';
|
||||||
import { StyleType } from '../../../styles';
|
import { StyleType } from '../../../styles';
|
||||||
|
|
||||||
import { bottomSheetStyles as styles } from './styles';
|
import { bottomSheetStyles as styles } from './styles';
|
||||||
|
@ -107,5 +107,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(BottomSheet);
|
export default connect(_mapStateToProps)(BottomSheet);
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Text, TouchableOpacity } from 'react-native';
|
import { Text, TouchableOpacity } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate } from '../../../i18n';
|
import { translate } from '../../../i18n';
|
||||||
|
import { connect } from '../../../redux';
|
||||||
import { StyleType } from '../../../styles';
|
import { StyleType } from '../../../styles';
|
||||||
|
|
||||||
import { _abstractMapStateToProps } from '../../functions';
|
import { _abstractMapStateToProps } from '../../functions';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import { connect } from 'react-redux';
|
import { connect } from '../../../redux';
|
||||||
|
|
||||||
import { _abstractMapStateToProps } from '../../functions';
|
import { _abstractMapStateToProps } from '../../functions';
|
||||||
|
|
||||||
|
@ -21,5 +21,4 @@ class CustomDialog extends BaseDialog<Props, *> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_abstractMapStateToProps)(CustomDialog);
|
export default connect(_abstractMapStateToProps)(CustomDialog);
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate } from '../../../i18n';
|
import { translate } from '../../../i18n';
|
||||||
|
import { connect } from '../../../redux';
|
||||||
|
|
||||||
import { _abstractMapStateToProps } from '../../functions';
|
import { _abstractMapStateToProps } from '../../functions';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { connect } from 'react-redux';
|
import { connect } from '../../../redux';
|
||||||
|
|
||||||
import AbstractDialogContainer, {
|
import AbstractDialogContainer, {
|
||||||
abstractMapStateToProps
|
abstractMapStateToProps
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { View, Text, TextInput, TouchableOpacity } from 'react-native';
|
import { View, Text, TextInput, TouchableOpacity } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate } from '../../../i18n';
|
import { translate } from '../../../i18n';
|
||||||
|
import { connect } from '../../../redux';
|
||||||
import { StyleType } from '../../../styles';
|
import { StyleType } from '../../../styles';
|
||||||
|
|
||||||
import { _abstractMapStateToProps } from '../../functions';
|
import { _abstractMapStateToProps } from '../../functions';
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
import { connect } from '../../../redux';
|
||||||
|
|
||||||
import AbstractDialog from '../AbstractDialog';
|
import AbstractDialog from '../AbstractDialog';
|
||||||
import type { Props as AbstractDialogProps, State } from '../AbstractDialog';
|
import type { Props as AbstractDialogProps, State } from '../AbstractDialog';
|
||||||
|
@ -84,5 +85,4 @@ class Dialog extends AbstractDialog<Props, State> {
|
||||||
_onSubmit: (?string) => void;
|
_onSubmit: (?string) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect()(Dialog);
|
export default connect()(Dialog);
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import { ModalTransition } from '@atlaskit/modal-dialog';
|
import { ModalTransition } from '@atlaskit/modal-dialog';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
import { connect } from '../../../redux';
|
||||||
|
|
||||||
import AbstractDialogContainer, {
|
import AbstractDialogContainer, {
|
||||||
abstractMapStateToProps
|
abstractMapStateToProps
|
||||||
|
|
|
@ -63,13 +63,10 @@ export function getLocalizedDurationFormatter(duration: number) {
|
||||||
// showing the hour and we want to include the hour if the conference is
|
// showing the hour and we want to include the hour if the conference is
|
||||||
// more than an hour long
|
// more than an hour long
|
||||||
|
|
||||||
// $FlowFixMe
|
|
||||||
if (moment.duration(duration).format('h') !== '0') {
|
if (moment.duration(duration).format('h') !== '0') {
|
||||||
// $FlowFixMe
|
|
||||||
return moment.duration(duration).format('h:mm:ss');
|
return moment.duration(duration).format('h:mm:ss');
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowFixMe
|
|
||||||
return moment.duration(duration).format('mm:ss', { trim: false });
|
return moment.duration(duration).format('mm:ss', { trim: false });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -97,8 +94,6 @@ function _getSupportedLocale() {
|
||||||
// FIXME The flow-type definition of moment is v2.3 while our
|
// FIXME The flow-type definition of moment is v2.3 while our
|
||||||
// package.json states v2.19 so maybe locales on moment was
|
// package.json states v2.19 so maybe locales on moment was
|
||||||
// introduced in between?
|
// introduced in between?
|
||||||
//
|
|
||||||
// $FlowFixMe
|
|
||||||
= moment.locales().find(lang => currentLocaleRegexp.exec(lang));
|
= moment.locales().find(lang => currentLocaleRegexp.exec(lang));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { Component } from 'react';
|
||||||
* playback.
|
* playback.
|
||||||
*/
|
*/
|
||||||
export type AudioElement = {
|
export type AudioElement = {
|
||||||
currentTime?: number,
|
currentTime: number,
|
||||||
pause: () => void,
|
pause: () => void,
|
||||||
play: () => void,
|
play: () => void,
|
||||||
setSinkId?: string => void,
|
setSinkId?: string => void,
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { View } from 'react-native';
|
import { View } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
import { connect } from '../../../redux';
|
||||||
|
|
||||||
import AbstractVideoTrack from '../AbstractVideoTrack';
|
import AbstractVideoTrack from '../AbstractVideoTrack';
|
||||||
import type { Props } from '../AbstractVideoTrack';
|
import type { Props } from '../AbstractVideoTrack';
|
||||||
|
@ -29,5 +30,4 @@ class VideoTrack extends AbstractVideoTrack<Props> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect()(VideoTrack);
|
export default connect()(VideoTrack);
|
||||||
|
|
|
@ -2,9 +2,10 @@
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { PanResponder, PixelRatio, View } from 'react-native';
|
import { PanResponder, PixelRatio, View } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import { type Dispatch } from 'redux';
|
import { type Dispatch } from 'redux';
|
||||||
|
|
||||||
|
import { connect } from '../../../redux';
|
||||||
|
|
||||||
import type { PanResponderInstance } from 'PanResponder';
|
import type { PanResponderInstance } from 'PanResponder';
|
||||||
|
|
||||||
import { storeVideoTransform } from '../../actions';
|
import { storeVideoTransform } from '../../actions';
|
||||||
|
@ -727,5 +728,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps, _mapDispatchToProps)(VideoTransform);
|
export default connect(_mapStateToProps, _mapDispatchToProps)(VideoTransform);
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
/* @flow */
|
/* @flow */
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
import { connect } from '../../../redux';
|
||||||
|
|
||||||
import AbstractVideoTrack from '../AbstractVideoTrack';
|
import AbstractVideoTrack from '../AbstractVideoTrack';
|
||||||
import type { Props as AbstractVideoTrackProps } from '../AbstractVideoTrack';
|
import type { Props as AbstractVideoTrackProps } from '../AbstractVideoTrack';
|
||||||
|
@ -63,5 +64,4 @@ class VideoTrack extends AbstractVideoTrack<Props> {
|
||||||
_onVideoPlaying: () => void;
|
_onVideoPlaying: () => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect()(VideoTrack);
|
export default connect()(VideoTrack);
|
||||||
|
|
|
@ -2,7 +2,10 @@
|
||||||
|
|
||||||
import React, { Component, Fragment, PureComponent } from 'react';
|
import React, { Component, Fragment, PureComponent } from 'react';
|
||||||
import { Dimensions, Image, Platform, View } from 'react-native';
|
import { Dimensions, Image, Platform, View } from 'react-native';
|
||||||
import FastImage from 'react-native-fast-image';
|
import FastImage, {
|
||||||
|
type CacheControls,
|
||||||
|
type Priorities
|
||||||
|
} from 'react-native-fast-image';
|
||||||
|
|
||||||
import { ColorPalette } from '../../styles';
|
import { ColorPalette } from '../../styles';
|
||||||
|
|
||||||
|
@ -63,7 +66,12 @@ type State = {
|
||||||
/**
|
/**
|
||||||
* Source for the non-local avatar.
|
* Source for the non-local avatar.
|
||||||
*/
|
*/
|
||||||
source: { uri: ?string }
|
source: {
|
||||||
|
uri?: string,
|
||||||
|
headers?: Object,
|
||||||
|
priority?: Priorities,
|
||||||
|
cache?: CacheControls,
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -261,7 +269,7 @@ class AvatarContent extends Component<Props, State> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return (// $FlowFixMe
|
return (
|
||||||
<FastImage
|
<FastImage
|
||||||
onError = { this._onAvatarLoadError }
|
onError = { this._onAvatarLoadError }
|
||||||
onLoadEnd = { this._onAvatarLoaded }
|
onLoadEnd = { this._onAvatarLoaded }
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { Text, View } from 'react-native';
|
import { Text, View } from 'react-native';
|
||||||
import FastImage from 'react-native-fast-image';
|
import FastImage from 'react-native-fast-image';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate } from '../../i18n';
|
import { translate } from '../../i18n';
|
||||||
import { JitsiParticipantConnectionStatus } from '../../lib-jitsi-meet';
|
import { JitsiParticipantConnectionStatus } from '../../lib-jitsi-meet';
|
||||||
|
@ -12,6 +11,7 @@ import {
|
||||||
VideoTrack
|
VideoTrack
|
||||||
} from '../../media';
|
} from '../../media';
|
||||||
import { Container, TintedView } from '../../react';
|
import { Container, TintedView } from '../../react';
|
||||||
|
import { connect } from '../../redux';
|
||||||
import { StyleType } from '../../styles';
|
import { StyleType } from '../../styles';
|
||||||
import { TestHint } from '../../testing/components';
|
import { TestHint } from '../../testing/components';
|
||||||
import { getTrackByMediaTypeAndParticipant } from '../../tracks';
|
import { getTrackByMediaTypeAndParticipant } from '../../tracks';
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { TouchableOpacity } from 'react-native';
|
import { TouchableOpacity } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { ColorSchemeRegistry } from '../../../color-scheme';
|
import { ColorSchemeRegistry } from '../../../color-scheme';
|
||||||
import { Icon } from '../../../font-icons';
|
import { Icon } from '../../../font-icons';
|
||||||
|
import { connect } from '../../../redux';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the React {@code Component} props of {@link BackButton}
|
* The type of the React {@code Component} props of {@link BackButton}
|
||||||
|
@ -68,5 +68,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(BackButton);
|
export default connect(_mapStateToProps)(BackButton);
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { Text, TouchableOpacity } from 'react-native';
|
import { Text, TouchableOpacity } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { ColorSchemeRegistry } from '../../../color-scheme';
|
import { ColorSchemeRegistry } from '../../../color-scheme';
|
||||||
import { translate } from '../../../i18n';
|
import { translate } from '../../../i18n';
|
||||||
|
import { connect } from '../../../redux';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the React {@code Component} props of {@link ForwardButton}
|
* The type of the React {@code Component} props of {@link ForwardButton}
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
import React, { Component, type Node } from 'react';
|
import React, { Component, type Node } from 'react';
|
||||||
import { Platform, SafeAreaView, StatusBar, View } from 'react-native';
|
import { Platform, SafeAreaView, StatusBar, View } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { ColorSchemeRegistry } from '../../../color-scheme';
|
import { ColorSchemeRegistry } from '../../../color-scheme';
|
||||||
|
import { connect } from '../../../redux';
|
||||||
import { isDarkColor } from '../../../styles';
|
import { isDarkColor } from '../../../styles';
|
||||||
|
|
||||||
import { HEADER_PADDING } from './headerstyles';
|
import { HEADER_PADDING } from './headerstyles';
|
||||||
|
@ -165,5 +165,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(Header);
|
export default connect(_mapStateToProps)(Header);
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { Text, View } from 'react-native';
|
import { Text, View } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { ColorSchemeRegistry } from '../../../color-scheme';
|
import { ColorSchemeRegistry } from '../../../color-scheme';
|
||||||
import { translate } from '../../../i18n';
|
import { translate } from '../../../i18n';
|
||||||
|
import { connect } from '../../../redux';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the React {@code Component} props of {@link HeaderLabel}
|
* The type of the React {@code Component} props of {@link HeaderLabel}
|
||||||
|
|
|
@ -11,7 +11,7 @@ type Props = {
|
||||||
* Prop to set the size of the indicator. This is the same as the
|
* Prop to set the size of the indicator. This is the same as the
|
||||||
* prop of the native component.
|
* prop of the native component.
|
||||||
*/
|
*/
|
||||||
size: 'large' | 'medium' | 'small'
|
size: 'large' | 'small'
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -40,7 +40,7 @@ export default class LoadingIndicator extends Component<Props> {
|
||||||
size
|
size
|
||||||
};
|
};
|
||||||
|
|
||||||
return (// $FlowFixMe
|
return (
|
||||||
<ActivityIndicator
|
<ActivityIndicator
|
||||||
animating = { true }
|
animating = { true }
|
||||||
color = { ColorPalette.white }
|
color = { ColorPalette.white }
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { SafeAreaView, Text, TouchableOpacity, View } from 'react-native';
|
import { SafeAreaView, Text, TouchableOpacity, View } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { Icon } from '../../../font-icons';
|
import { Icon } from '../../../font-icons';
|
||||||
|
import { connect } from '../../../redux';
|
||||||
|
|
||||||
import styles from './styles';
|
import styles from './styles';
|
||||||
|
|
||||||
|
@ -283,5 +283,4 @@ class PagedList extends Component<Props, State> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect()(PagedList);
|
export default connect()(PagedList);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/* @flow */
|
/* @flow */
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate } from '../../../i18n';
|
import { translate } from '../../../i18n';
|
||||||
|
import { connect } from '../../../redux';
|
||||||
|
|
||||||
declare var interfaceConfig: Object;
|
declare var interfaceConfig: Object;
|
||||||
|
|
||||||
|
@ -242,5 +242,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(translate(Watermarks));
|
export default connect(_mapStateToProps)(translate(Watermarks));
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
|
import { connect as reduxConnect } from 'react-redux';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets specific properties of a specific state to specific values and prevents
|
* Sets specific properties of a specific state to specific values and prevents
|
||||||
|
@ -25,6 +26,19 @@ export function assign(target: Object, source: Object) {
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Wrapper function for the react-redux connect function to avoid having to
|
||||||
|
* declare function types for flow, but still let flow warn for other errors.
|
||||||
|
*
|
||||||
|
* @param {Function?} mapStateToProps - Redux mapStateToProps function.
|
||||||
|
* @param {Function?} mapDispatchToProps - Redux mapDispatchToProps function.
|
||||||
|
* @returns {Connector}
|
||||||
|
*/
|
||||||
|
export function connect(
|
||||||
|
mapStateToProps?: Function, mapDispatchToProps?: Function) {
|
||||||
|
return reduxConnect<*, *, *, *, *, *>(mapStateToProps, mapDispatchToProps);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether {@code a} equals {@code b} according to deep comparison
|
* Determines whether {@code a} equals {@code b} according to deep comparison
|
||||||
* (which makes sense for Redux and its state definition).
|
* (which makes sense for Redux and its state definition).
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
import { connect } from '../../redux';
|
||||||
|
|
||||||
import { ASPECT_RATIO_NARROW, ASPECT_RATIO_WIDE } from '../constants';
|
import { ASPECT_RATIO_NARROW, ASPECT_RATIO_WIDE } from '../constants';
|
||||||
|
|
||||||
|
@ -51,7 +52,6 @@ export function makeAspectRatioAware(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowFixMe
|
|
||||||
return connect(_mapStateToProps)(AspectRatioAware);
|
return connect(_mapStateToProps)(AspectRatioAware);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component, type Node } from 'react';
|
import React, { Component, type Node } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import { type Dispatch } from 'redux';
|
import { type Dispatch } from 'redux';
|
||||||
|
|
||||||
|
import { connect } from '../../redux';
|
||||||
|
|
||||||
import { setAspectRatio } from '../actions';
|
import { setAspectRatio } from '../actions';
|
||||||
import DimensionsDetector from './DimensionsDetector';
|
import DimensionsDetector from './DimensionsDetector';
|
||||||
|
|
||||||
|
@ -69,5 +70,4 @@ function _mapDispatchToProps(dispatch: Dispatch<any>) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(undefined, _mapDispatchToProps)(AspectRatioDetector);
|
export default connect(undefined, _mapDispatchToProps)(AspectRatioDetector);
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component, type Node } from 'react';
|
import React, { Component, type Node } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import { type Dispatch } from 'redux';
|
import { type Dispatch } from 'redux';
|
||||||
|
|
||||||
|
import { connect } from '../../redux';
|
||||||
|
|
||||||
import { setReducedUI } from '../actions';
|
import { setReducedUI } from '../actions';
|
||||||
import DimensionsDetector from './DimensionsDetector';
|
import DimensionsDetector from './DimensionsDetector';
|
||||||
|
|
||||||
|
@ -70,5 +71,4 @@ function _mapDispatchToProps(dispatch: Dispatch<any>) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(undefined, _mapDispatchToProps)(ReducedUIDetector);
|
export default connect(undefined, _mapDispatchToProps)(ReducedUIDetector);
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { Audio } from '../../media';
|
import { Audio } from '../../media';
|
||||||
import type { AudioElement } from '../../media';
|
import type { AudioElement } from '../../media';
|
||||||
|
import { connect } from '../../redux';
|
||||||
|
|
||||||
import { _addAudioElement, _removeAudioElement } from '../actions';
|
import { _addAudioElement, _removeAudioElement } from '../actions';
|
||||||
import type { Sound } from '../reducer';
|
import type { Sound } from '../reducer';
|
||||||
|
@ -153,5 +153,4 @@ export function _mapDispatchToProps(dispatch: Function) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps, _mapDispatchToProps)(SoundCollection);
|
export default connect(_mapStateToProps, _mapDispatchToProps)(SoundCollection);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component, Fragment } from 'react';
|
import React, { Component, Fragment } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { getLocalParticipant } from '../../participants';
|
import { getLocalParticipant } from '../../participants';
|
||||||
|
import { connect } from '../../redux';
|
||||||
|
|
||||||
// FIXME this imports feature to 'base'
|
// FIXME this imports feature to 'base'
|
||||||
import { statsEmitter } from '../../../connection-indicator';
|
import { statsEmitter } from '../../../connection-indicator';
|
||||||
|
@ -215,5 +215,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(TestConnectionInfo);
|
export default connect(_mapStateToProps)(TestConnectionInfo);
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
/* @flow */
|
/* @flow */
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import { Text } from 'react-native';
|
import { Text } from 'react-native';
|
||||||
|
|
||||||
|
import { connect } from '../../redux';
|
||||||
|
|
||||||
import type { TestHintProps } from './AbstractTestHint';
|
import type { TestHintProps } from './AbstractTestHint';
|
||||||
import { _mapStateToProps } from './AbstractTestHint';
|
import { _mapStateToProps } from './AbstractTestHint';
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
/* @flow */
|
/* @flow */
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import { Text } from 'react-native';
|
import { Text } from 'react-native';
|
||||||
|
|
||||||
|
import { connect } from '../../redux';
|
||||||
|
|
||||||
import type { TestHintProps } from './AbstractTestHint';
|
import type { TestHintProps } from './AbstractTestHint';
|
||||||
import { _mapStateToProps } from './AbstractTestHint';
|
import { _mapStateToProps } from './AbstractTestHint';
|
||||||
|
|
||||||
|
@ -34,5 +35,4 @@ class TestHint extends Component<TestHintProps> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(TestHint);
|
export default connect(_mapStateToProps)(TestHint);
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
import Tooltip from '@atlaskit/tooltip';
|
import Tooltip from '@atlaskit/tooltip';
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
@ -10,6 +9,7 @@ import {
|
||||||
sendAnalytics
|
sendAnalytics
|
||||||
} from '../../analytics';
|
} from '../../analytics';
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import { updateCalendarEvent } from '../actions';
|
import { updateCalendarEvent } from '../actions';
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Text, TouchableOpacity, View } from 'react-native';
|
import { Text, TouchableOpacity, View } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { openSettings } from '../../mobile/permissions';
|
import { openSettings } from '../../mobile/permissions';
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
import { AbstractPage } from '../../base/react';
|
import { AbstractPage } from '../../base/react';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import { refreshCalendar } from '../actions';
|
import { refreshCalendar } from '../actions';
|
||||||
import { isCalendarEnabled } from '../functions';
|
import { isCalendarEnabled } from '../functions';
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
import Spinner from '@atlaskit/spinner';
|
import Spinner from '@atlaskit/spinner';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
import { AbstractPage } from '../../base/react';
|
import { AbstractPage } from '../../base/react';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
import { openSettingsDialog, SETTINGS_TABS } from '../../settings';
|
import { openSettingsDialog, SETTINGS_TABS } from '../../settings';
|
||||||
import {
|
import {
|
||||||
createCalendarClickedEvent,
|
createCalendarClickedEvent,
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { appNavigate } from '../../app';
|
import { appNavigate } from '../../app';
|
||||||
import {
|
import {
|
||||||
|
@ -11,6 +10,7 @@ import {
|
||||||
} from '../../analytics';
|
} from '../../analytics';
|
||||||
import { getLocalizedDateFormatter, translate } from '../../base/i18n';
|
import { getLocalizedDateFormatter, translate } from '../../base/i18n';
|
||||||
import { NavigateSectionList } from '../../base/react';
|
import { NavigateSectionList } from '../../base/react';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import { refreshCalendar, openUpdateCalendarEventDialog } from '../actions';
|
import { refreshCalendar, openUpdateCalendarEventDialog } from '../actions';
|
||||||
import { isCalendarEnabled } from '../functions';
|
import { isCalendarEnabled } from '../functions';
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { appNavigate } from '../../app';
|
import { appNavigate } from '../../app';
|
||||||
import {
|
import {
|
||||||
|
@ -10,6 +9,7 @@ import {
|
||||||
sendAnalytics
|
sendAnalytics
|
||||||
} from '../../analytics';
|
} from '../../analytics';
|
||||||
import { MeetingsList } from '../../base/react';
|
import { MeetingsList } from '../../base/react';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import { isCalendarEnabled } from '../functions';
|
import { isCalendarEnabled } from '../functions';
|
||||||
|
|
||||||
|
@ -173,7 +173,5 @@ function _mapStateToProps(state: Object) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export default isCalendarEnabled()
|
export default isCalendarEnabled()
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
? connect(_mapStateToProps)(CalendarListContent)
|
? connect(_mapStateToProps)(CalendarListContent)
|
||||||
: undefined;
|
: undefined;
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { Text, TouchableOpacity, View } from 'react-native';
|
import { Text, TouchableOpacity, View } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { appNavigate } from '../../app';
|
import { appNavigate } from '../../app';
|
||||||
import { getURLWithoutParamsNormalized } from '../../base/connection';
|
import { getURLWithoutParamsNormalized } from '../../base/connection';
|
||||||
import { Icon } from '../../base/font-icons';
|
import { Icon } from '../../base/font-icons';
|
||||||
import { getLocalizedDateFormatter, translate } from '../../base/i18n';
|
import { getLocalizedDateFormatter, translate } from '../../base/i18n';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
import { ASPECT_RATIO_NARROW } from '../../base/responsive-ui';
|
import { ASPECT_RATIO_NARROW } from '../../base/responsive-ui';
|
||||||
|
|
||||||
import { isCalendarEnabled } from '../functions';
|
import { isCalendarEnabled } from '../functions';
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { ConfirmDialog } from '../../base/dialog';
|
import { ConfirmDialog } from '../../base/dialog';
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import { updateCalendarEvent } from '../actions';
|
import { updateCalendarEvent } from '../actions';
|
||||||
|
|
||||||
|
|
|
@ -107,15 +107,16 @@ export function _updateCalendarEntries(events: Array<Object>) {
|
||||||
*/
|
*/
|
||||||
function _checkPattern(str, positivePattern, negativePattern) {
|
function _checkPattern(str, positivePattern, negativePattern) {
|
||||||
const positiveRegExp = new RegExp(positivePattern, 'gi');
|
const positiveRegExp = new RegExp(positivePattern, 'gi');
|
||||||
let positiveMatch;
|
let positiveMatch = positiveRegExp.exec(str);
|
||||||
|
|
||||||
while ((positiveMatch = positiveRegExp.exec(str)) !== null) {
|
while (positiveMatch !== null) {
|
||||||
// $FlowFixMe
|
|
||||||
const url = positiveMatch[0];
|
const url = positiveMatch[0];
|
||||||
|
|
||||||
if (!new RegExp(negativePattern, 'gi').exec(url)) {
|
if (!new RegExp(negativePattern, 'gi').exec(url)) {
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
positiveMatch = positiveRegExp.exec(str);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,6 @@ isCalendarEnabled()
|
||||||
// knownDomains. At this point, it should have already been
|
// knownDomains. At this point, it should have already been
|
||||||
// translated into the new state format (namely, base/known-domains)
|
// translated into the new state format (namely, base/known-domains)
|
||||||
// and the app no longer needs it.
|
// and the app no longer needs it.
|
||||||
// $FlowFixMe
|
|
||||||
if (typeof state.knownDomains !== 'undefined') {
|
if (typeof state.knownDomains !== 'undefined') {
|
||||||
return set(state, 'knownDomains', undefined);
|
return set(state, 'knownDomains', undefined);
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { SafeAreaView } from 'react-native';
|
import { SafeAreaView } from 'react-native';
|
||||||
import { GiftedChat } from 'react-native-gifted-chat';
|
import { GiftedChat } from 'react-native-gifted-chat';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import { BackButton, Header, HeaderLabel, Modal } from '../../../base/react';
|
import { BackButton, Header, HeaderLabel, Modal } from '../../../base/react';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
|
|
||||||
import AbstractChat, {
|
import AbstractChat, {
|
||||||
_mapDispatchToProps,
|
_mapDispatchToProps,
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { getLocalParticipant } from '../../../base/participants';
|
import { getLocalParticipant } from '../../../base/participants';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import {
|
import {
|
||||||
AbstractButton,
|
AbstractButton,
|
||||||
type AbstractButtonProps
|
type AbstractButtonProps
|
||||||
|
@ -126,5 +125,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps, _mapDispatchToProps)(ChatButton);
|
export default connect(_mapStateToProps, _mapDispatchToProps)(ChatButton);
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Text, View } from 'react-native';
|
import { Text, View } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { getLocalizedDateFormatter, translate } from '../../../base/i18n';
|
import { getLocalizedDateFormatter, translate } from '../../../base/i18n';
|
||||||
import { Avatar } from '../../../base/participants';
|
import { Avatar } from '../../../base/participants';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
|
|
||||||
import AbstractChatMessage, {
|
import AbstractChatMessage, {
|
||||||
_mapStateToProps as _abstractMapStateToProps,
|
_mapStateToProps as _abstractMapStateToProps,
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import Transition from 'react-transition-group/Transition';
|
import Transition from 'react-transition-group/Transition';
|
||||||
|
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
|
|
||||||
import AbstractChat, {
|
import AbstractChat, {
|
||||||
_mapDispatchToProps,
|
_mapDispatchToProps,
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
|
|
||||||
import { getUnreadCount } from '../../functions';
|
import { getUnreadCount } from '../../functions';
|
||||||
|
|
||||||
|
@ -57,5 +58,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(ChatCounter);
|
export default connect(_mapStateToProps)(ChatCounter);
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import Emoji from 'react-emoji-render';
|
import Emoji from 'react-emoji-render';
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
|
|
||||||
import { sendMessage } from '../../actions';
|
import { sendMessage } from '../../actions';
|
||||||
|
|
||||||
import SmileysPanel from './SmileysPanel';
|
import SmileysPanel from './SmileysPanel';
|
||||||
|
@ -232,5 +233,4 @@ class ChatInput extends Component<Props, State> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect()(ChatInput);
|
export default connect()(ChatInput);
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
import { FieldTextStateless } from '@atlaskit/field-text';
|
import { FieldTextStateless } from '@atlaskit/field-text';
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import { updateSettings } from '../../../base/settings';
|
import { updateSettings } from '../../../base/settings';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { BackHandler, SafeAreaView, StatusBar, View } from 'react-native';
|
import { BackHandler, SafeAreaView, StatusBar, View } from 'react-native';
|
||||||
import { connect as reactReduxConnect } from 'react-redux';
|
|
||||||
|
|
||||||
import { appNavigate } from '../../../app';
|
import { appNavigate } from '../../../app';
|
||||||
import { connect, disconnect } from '../../../base/connection';
|
import { connect, disconnect } from '../../../base/connection';
|
||||||
import { getParticipantCount } from '../../../base/participants';
|
import { getParticipantCount } from '../../../base/participants';
|
||||||
import { Container, LoadingIndicator, TintedView } from '../../../base/react';
|
import { Container, LoadingIndicator, TintedView } from '../../../base/react';
|
||||||
|
import { connect as reactReduxConnect } from '../../../base/redux';
|
||||||
import {
|
import {
|
||||||
isNarrowAspectRatio,
|
isNarrowAspectRatio,
|
||||||
makeAspectRatioAware
|
makeAspectRatioAware
|
||||||
|
@ -540,6 +540,5 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowFixMe
|
|
||||||
export default reactReduxConnect(_mapStateToProps, _mapDispatchToProps)(
|
export default reactReduxConnect(_mapStateToProps, _mapDispatchToProps)(
|
||||||
makeAspectRatioAware(Conference));
|
makeAspectRatioAware(Conference));
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { Text, View } from 'react-native';
|
import { Text, View } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
getLocalParticipant,
|
getLocalParticipant,
|
||||||
getParticipantDisplayName,
|
getParticipantDisplayName,
|
||||||
shouldRenderParticipantVideo
|
shouldRenderParticipantVideo
|
||||||
} from '../../../base/participants';
|
} from '../../../base/participants';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
|
|
||||||
import { shouldDisplayTileView } from '../../../video-layout';
|
import { shouldDisplayTileView } from '../../../video-layout';
|
||||||
|
|
||||||
|
@ -76,5 +76,4 @@ function _mapStateToProps(state: Object) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(DisplayNameLabel);
|
export default connect(_mapStateToProps)(DisplayNameLabel);
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { TouchableOpacity, View } from 'react-native';
|
import { TouchableOpacity, View } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
|
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import {
|
import {
|
||||||
isNarrowAspectRatio,
|
isNarrowAspectRatio,
|
||||||
makeAspectRatioAware
|
makeAspectRatioAware
|
||||||
|
@ -370,5 +370,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(makeAspectRatioAware(Labels));
|
export default connect(_mapStateToProps)(makeAspectRatioAware(Labels));
|
||||||
|
|
|
@ -4,9 +4,9 @@ import _ from 'lodash';
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { SafeAreaView, Text, View } from 'react-native';
|
import { SafeAreaView, Text, View } from 'react-native';
|
||||||
import LinearGradient from 'react-native-linear-gradient';
|
import LinearGradient from 'react-native-linear-gradient';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { getConferenceName } from '../../../base/conference';
|
import { getConferenceName } from '../../../base/conference';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import { PictureInPictureButton } from '../../../mobile/picture-in-picture';
|
import { PictureInPictureButton } from '../../../mobile/picture-in-picture';
|
||||||
import { isToolboxVisible } from '../../../toolbox';
|
import { isToolboxVisible } from '../../../toolbox';
|
||||||
|
|
||||||
|
@ -87,5 +87,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(NavigationBar);
|
export default connect(_mapStateToProps)(NavigationBar);
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect as reactReduxConnect } from 'react-redux';
|
|
||||||
|
|
||||||
import VideoLayout from '../../../../../modules/UI/videolayout/VideoLayout';
|
import VideoLayout from '../../../../../modules/UI/videolayout/VideoLayout';
|
||||||
|
|
||||||
import { obtainConfig } from '../../../base/config';
|
import { obtainConfig } from '../../../base/config';
|
||||||
import { connect, disconnect } from '../../../base/connection';
|
import { connect, disconnect } from '../../../base/connection';
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
|
import { connect as reactReduxConnect } from '../../../base/redux';
|
||||||
import { Chat } from '../../../chat';
|
import { Chat } from '../../../chat';
|
||||||
import { Filmstrip } from '../../../filmstrip';
|
import { Filmstrip } from '../../../filmstrip';
|
||||||
import { CalleeInfoContainer } from '../../../invite';
|
import { CalleeInfoContainer } from '../../../invite';
|
||||||
|
@ -293,5 +293,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default reactReduxConnect(_mapStateToProps)(translate(Conference));
|
export default reactReduxConnect(_mapStateToProps)(translate(Conference));
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
|
import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
|
|
||||||
import AbstractLabels, {
|
import AbstractLabels, {
|
||||||
_abstractMapStateToProps as _mapStateToProps,
|
_abstractMapStateToProps as _mapStateToProps,
|
||||||
|
@ -105,5 +105,4 @@ class Labels extends AbstractLabels<Props, State> {
|
||||||
_renderVideoQualityLabel: () => React$Element<*>;
|
_renderVideoQualityLabel: () => React$Element<*>;
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(Labels);
|
export default connect(_mapStateToProps)(Labels);
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/* @flow */
|
/* @flow */
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
|
|
||||||
declare var config: Object;
|
declare var config: Object;
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/* @flow */
|
/* @flow */
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import { isToolboxVisible } from '../../../toolbox';
|
import { isToolboxVisible } from '../../../toolbox';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -65,5 +65,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(Subject);
|
export default connect(_mapStateToProps)(Subject);
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
import Button, { ButtonGroup } from '@atlaskit/button';
|
import Button, { ButtonGroup } from '@atlaskit/button';
|
||||||
import { AtlasKitThemeProvider } from '@atlaskit/theme';
|
import { AtlasKitThemeProvider } from '@atlaskit/theme';
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from '../../base/redux';
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics';
|
import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics';
|
import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics';
|
||||||
import { translate, translateToHTML } from '../../base/i18n';
|
import { translate, translateToHTML } from '../../base/i18n';
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
import Tabs from '@atlaskit/tabs';
|
import Tabs from '@atlaskit/tabs';
|
||||||
import React, { PureComponent } from 'react';
|
import React, { PureComponent } from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from '../../base/redux';
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import { Dialog, hideDialog } from '../../base/dialog';
|
import { Dialog, hideDialog } from '../../base/dialog';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* @flow */
|
/* @flow */
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from '../../base/redux';
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import { appendSuffix } from '../functions';
|
import { appendSuffix } from '../functions';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import { InputDialog } from '../../base/dialog';
|
import { InputDialog } from '../../base/dialog';
|
||||||
|
|
||||||
|
@ -27,5 +27,4 @@ class DisplayNamePrompt extends AbstractDisplayNamePrompt<*> {
|
||||||
_onSetDisplayName: string => boolean;
|
_onSetDisplayName: string => boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect()(DisplayNamePrompt);
|
export default connect()(DisplayNamePrompt);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* @flow */
|
/* @flow */
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from '../../base/redux';
|
||||||
import { FieldTextStateless as TextField } from '@atlaskit/field-text';
|
import { FieldTextStateless as TextField } from '@atlaskit/field-text';
|
||||||
|
|
||||||
import { Dialog } from '../../base/dialog';
|
import { Dialog } from '../../base/dialog';
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { FieldTextAreaStateless } from '@atlaskit/field-text-area';
|
||||||
import StarIcon from '@atlaskit/icon/glyph/star';
|
import StarIcon from '@atlaskit/icon/glyph/star';
|
||||||
import StarFilledIcon from '@atlaskit/icon/glyph/star-filled';
|
import StarFilledIcon from '@atlaskit/icon/glyph/star-filled';
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from '../../base/redux';
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { ScrollView } from 'react-native';
|
import { ScrollView } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { Container, Platform } from '../../../base/react';
|
import { Container, Platform } from '../../../base/react';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import {
|
import {
|
||||||
isNarrowAspectRatio,
|
isNarrowAspectRatio,
|
||||||
makeAspectRatioAware
|
makeAspectRatioAware
|
||||||
|
@ -219,5 +219,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(makeAspectRatioAware(Filmstrip));
|
export default connect(_mapStateToProps)(makeAspectRatioAware(Filmstrip));
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { View } from 'react-native';
|
import { View } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { getLocalParticipant } from '../../../base/participants';
|
import { getLocalParticipant } from '../../../base/participants';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
|
|
||||||
import styles from '../styles';
|
import styles from '../styles';
|
||||||
import Thumbnail from './Thumbnail';
|
import Thumbnail from './Thumbnail';
|
||||||
|
@ -60,5 +60,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(LocalThumbnail);
|
export default connect(_mapStateToProps)(LocalThumbnail);
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import { ColorSchemeRegistry } from '../../../base/color-scheme';
|
import { ColorSchemeRegistry } from '../../../base/color-scheme';
|
||||||
|
@ -14,6 +13,7 @@ import {
|
||||||
pinParticipant
|
pinParticipant
|
||||||
} from '../../../base/participants';
|
} from '../../../base/participants';
|
||||||
import { Container } from '../../../base/react';
|
import { Container } from '../../../base/react';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import { StyleType } from '../../../base/styles';
|
import { StyleType } from '../../../base/styles';
|
||||||
import { getTrackByMediaTypeAndParticipant } from '../../../base/tracks';
|
import { getTrackByMediaTypeAndParticipant } from '../../../base/tracks';
|
||||||
|
|
||||||
|
@ -255,5 +255,4 @@ function _mapStateToProps(state, ownProps) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps, _mapDispatchToProps)(Thumbnail);
|
export default connect(_mapStateToProps, _mapDispatchToProps)(Thumbnail);
|
||||||
|
|
|
@ -6,13 +6,13 @@ import {
|
||||||
TouchableWithoutFeedback,
|
TouchableWithoutFeedback,
|
||||||
View
|
View
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
getNearestReceiverVideoQualityLevel,
|
getNearestReceiverVideoQualityLevel,
|
||||||
setMaxReceiverVideoQuality
|
setMaxReceiverVideoQuality
|
||||||
} from '../../../base/conference';
|
} from '../../../base/conference';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import {
|
import {
|
||||||
DimensionsDetector,
|
DimensionsDetector,
|
||||||
isNarrowAspectRatio,
|
isNarrowAspectRatio,
|
||||||
|
@ -335,5 +335,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(makeAspectRatioAware(TileView));
|
export default connect(_mapStateToProps)(makeAspectRatioAware(TileView));
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
@ -10,6 +9,7 @@ import {
|
||||||
createToolbarEvent,
|
createToolbarEvent,
|
||||||
sendAnalytics
|
sendAnalytics
|
||||||
} from '../../../analytics';
|
} from '../../../analytics';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import { dockToolbox } from '../../../toolbox';
|
import { dockToolbox } from '../../../toolbox';
|
||||||
|
|
||||||
import { setFilmstripHovered, setFilmstripVisible } from '../../actions';
|
import { setFilmstripHovered, setFilmstripVisible } from '../../actions';
|
||||||
|
@ -319,5 +319,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(Filmstrip);
|
export default connect(_mapStateToProps)(Filmstrip);
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import { SettingsButton } from '../../../settings';
|
import { SettingsButton } from '../../../settings';
|
||||||
import {
|
import {
|
||||||
AudioMuteButton,
|
AudioMuteButton,
|
||||||
|
@ -90,5 +90,4 @@ function _mapStateToProps(state): Object { // eslint-disable-line no-unused-vars
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(Toolbar);
|
export default connect(_mapStateToProps)(Toolbar);
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
import InlineDialog from '@atlaskit/inline-dialog';
|
import InlineDialog from '@atlaskit/inline-dialog';
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import { createToolbarEvent, sendAnalytics } from '../../analytics';
|
import { createToolbarEvent, sendAnalytics } from '../../analytics';
|
||||||
|
@ -11,6 +10,7 @@ import { translate } from '../../base/i18n';
|
||||||
import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';
|
import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';
|
||||||
import { getParticipantCount } from '../../base/participants';
|
import { getParticipantCount } from '../../base/participants';
|
||||||
import { OverflowMenuItem } from '../../base/toolbox';
|
import { OverflowMenuItem } from '../../base/toolbox';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
import { getActiveSession } from '../../recording';
|
import { getActiveSession } from '../../recording';
|
||||||
import { ToolbarButton } from '../../toolbox';
|
import { ToolbarButton } from '../../toolbox';
|
||||||
import { updateDialInNumbers } from '../actions';
|
import { updateDialInNumbers } from '../actions';
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
import { AbstractButton } from '../../base/toolbox';
|
import { AbstractButton } from '../../base/toolbox';
|
||||||
import type { AbstractButtonProps } from '../../base/toolbox';
|
import type { AbstractButtonProps } from '../../base/toolbox';
|
||||||
import { beginShareRoom } from '../../share-room';
|
import { beginShareRoom } from '../../share-room';
|
||||||
|
|
|
@ -11,7 +11,6 @@ import {
|
||||||
TouchableOpacity,
|
TouchableOpacity,
|
||||||
View
|
View
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { Icon } from '../../../../base/font-icons';
|
import { Icon } from '../../../../base/font-icons';
|
||||||
import { translate } from '../../../../base/i18n';
|
import { translate } from '../../../../base/i18n';
|
||||||
|
@ -24,6 +23,7 @@ import {
|
||||||
Modal,
|
Modal,
|
||||||
type Item
|
type Item
|
||||||
} from '../../../../base/react';
|
} from '../../../../base/react';
|
||||||
|
import { connect } from '../../../../base/redux';
|
||||||
|
|
||||||
import { setAddPeopleDialogVisible } from '../../../actions';
|
import { setAddPeopleDialogVisible } from '../../../actions';
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
import Avatar from '@atlaskit/avatar';
|
import Avatar from '@atlaskit/avatar';
|
||||||
import InlineMessage from '@atlaskit/inline-message';
|
import InlineMessage from '@atlaskit/inline-message';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import { createInviteDialogEvent, sendAnalytics } from '../../../../analytics';
|
import { createInviteDialogEvent, sendAnalytics } from '../../../../analytics';
|
||||||
|
@ -11,6 +10,7 @@ import { Dialog, hideDialog } from '../../../../base/dialog';
|
||||||
import { translate, translateToHTML } from '../../../../base/i18n';
|
import { translate, translateToHTML } from '../../../../base/i18n';
|
||||||
import { getLocalParticipant } from '../../../../base/participants';
|
import { getLocalParticipant } from '../../../../base/participants';
|
||||||
import { MultiSelectAutocomplete } from '../../../../base/react';
|
import { MultiSelectAutocomplete } from '../../../../base/react';
|
||||||
|
import { connect } from '../../../../base/redux';
|
||||||
|
|
||||||
import AbstractAddPeopleDialog, {
|
import AbstractAddPeopleDialog, {
|
||||||
type Props as AbstractProps,
|
type Props as AbstractProps,
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { MEDIA_TYPE } from '../../../base/media';
|
import { MEDIA_TYPE } from '../../../base/media';
|
||||||
import {
|
import {
|
||||||
|
@ -12,6 +11,7 @@ import {
|
||||||
getParticipantPresenceStatus
|
getParticipantPresenceStatus
|
||||||
} from '../../../base/participants';
|
} from '../../../base/participants';
|
||||||
import { Container, Text } from '../../../base/react';
|
import { Container, Text } from '../../../base/react';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import { isLocalTrackMuted } from '../../../base/tracks';
|
import { isLocalTrackMuted } from '../../../base/tracks';
|
||||||
import { CALLING, PresenceLabel } from '../../../presence-status';
|
import { CALLING, PresenceLabel } from '../../../presence-status';
|
||||||
|
|
||||||
|
@ -158,5 +158,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(CalleeInfo);
|
export default connect(_mapStateToProps)(CalleeInfo);
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
|
|
||||||
import CalleeInfo from './CalleeInfo';
|
import CalleeInfo from './CalleeInfo';
|
||||||
|
|
||||||
|
@ -61,5 +62,4 @@ function _mapStateToProps(state: Object): Object {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(CalleeInfoContainer);
|
export default connect(_mapStateToProps)(CalleeInfoContainer);
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
/* @flow */
|
/* @flow */
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import { setPassword } from '../../../base/conference';
|
import { setPassword } from '../../../base/conference';
|
||||||
import { getInviteURL } from '../../../base/connection';
|
import { getInviteURL } from '../../../base/connection';
|
||||||
import { Dialog } from '../../../base/dialog';
|
import { Dialog } from '../../../base/dialog';
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import { isLocalParticipantModerator } from '../../../base/participants';
|
import { isLocalParticipantModerator } from '../../../base/participants';
|
||||||
|
|
||||||
import { _getDefaultPhoneNumber, getDialInfoPageURL } from '../../functions';
|
import { _getDefaultPhoneNumber, getDialInfoPageURL } from '../../functions';
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { ColorSchemeRegistry } from '../../base/color-scheme';
|
import { ColorSchemeRegistry } from '../../base/color-scheme';
|
||||||
import { ParticipantView } from '../../base/participants';
|
import { ParticipantView } from '../../base/participants';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
import { DimensionsDetector } from '../../base/responsive-ui';
|
import { DimensionsDetector } from '../../base/responsive-ui';
|
||||||
import { StyleType } from '../../base/styles';
|
import { StyleType } from '../../base/styles';
|
||||||
|
|
||||||
|
@ -159,5 +159,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(LargeVideo);
|
export default connect(_mapStateToProps)(LargeVideo);
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import { Dialog } from '../../base/dialog';
|
import { Dialog } from '../../base/dialog';
|
||||||
|
@ -11,6 +10,7 @@ import {
|
||||||
PARTICIPANT_ROLE,
|
PARTICIPANT_ROLE,
|
||||||
getLocalParticipant
|
getLocalParticipant
|
||||||
} from '../../base/participants';
|
} from '../../base/participants';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import { statsUpdate } from '../actions';
|
import { statsUpdate } from '../actions';
|
||||||
import { recordingController } from '../controller';
|
import { recordingController } from '../controller';
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
import Tooltip from '@atlaskit/tooltip';
|
import Tooltip from '@atlaskit/tooltip';
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate } from '../../base/i18n/index';
|
import { translate } from '../../base/i18n/index';
|
||||||
import { CircularLabel } from '../../base/label/index';
|
import { CircularLabel } from '../../base/label/index';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -7,10 +7,10 @@ import {
|
||||||
requireNativeComponent,
|
requireNativeComponent,
|
||||||
View
|
View
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { openDialog } from '../../../base/dialog';
|
import { openDialog } from '../../../base/dialog';
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton } from '../../../base/toolbox';
|
import { AbstractButton } from '../../../base/toolbox';
|
||||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
import type { AbstractButtonProps } from '../../../base/toolbox';
|
||||||
|
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { NativeModules, Text, TouchableHighlight, View } from 'react-native';
|
import { NativeModules, Text, TouchableHighlight, View } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { hideDialog, BottomSheet } from '../../../base/dialog';
|
import { hideDialog, BottomSheet } from '../../../base/dialog';
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import { Icon } from '../../../base/font-icons';
|
import { Icon } from '../../../base/font-icons';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import { ColorPalette } from '../../../base/styles';
|
import { ColorPalette } from '../../../base/styles';
|
||||||
|
|
||||||
import styles from './styles';
|
import styles from './styles';
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton } from '../../../base/toolbox';
|
import { AbstractButton } from '../../../base/toolbox';
|
||||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
import type { AbstractButtonProps } from '../../../base/toolbox';
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton } from '../../../base/toolbox';
|
import { AbstractButton } from '../../../base/toolbox';
|
||||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
import type { AbstractButtonProps } from '../../../base/toolbox';
|
||||||
|
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { Image, Text, View } from 'react-native';
|
import { Image, Text, View } from 'react-native';
|
||||||
import LinearGradient from 'react-native-linear-gradient';
|
import LinearGradient from 'react-native-linear-gradient';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import { Avatar } from '../../../base/participants';
|
import { Avatar } from '../../../base/participants';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
|
|
||||||
import AnswerButton from './AnswerButton';
|
import AnswerButton from './AnswerButton';
|
||||||
import DeclineButton from './DeclineButton';
|
import DeclineButton from './DeclineButton';
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { LoadingIndicator } from '../../../base/react';
|
import { LoadingIndicator } from '../../../base/react';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the React {@code Component} props of
|
* The type of the React {@code Component} props of
|
||||||
|
@ -52,5 +52,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(NetworkActivityIndicator);
|
export default connect(_mapStateToProps)(NetworkActivityIndicator);
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { getAppProp } from '../../../base/app';
|
import { getAppProp } from '../../../base/app';
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
|
import { connect } from '../../../base/redux';
|
||||||
import { AbstractButton } from '../../../base/toolbox';
|
import { AbstractButton } from '../../../base/toolbox';
|
||||||
import type { AbstractButtonProps } from '../../../base/toolbox';
|
import type { AbstractButtonProps } from '../../../base/toolbox';
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { View } from 'react-native';
|
import { View } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import AbstractNotificationsContainer, {
|
import AbstractNotificationsContainer, {
|
||||||
_abstractMapStateToProps,
|
_abstractMapStateToProps,
|
||||||
|
@ -63,5 +64,4 @@ class NotificationsContainer
|
||||||
_onDismissed: number => void;
|
_onDismissed: number => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_abstractMapStateToProps)(NotificationsContainer);
|
export default connect(_abstractMapStateToProps)(NotificationsContainer);
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
import { FlagGroup } from '@atlaskit/flag';
|
import { FlagGroup } from '@atlaskit/flag';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import AbstractNotificationsContainer, {
|
import AbstractNotificationsContainer, {
|
||||||
_abstractMapStateToProps as _mapStateToProps,
|
_abstractMapStateToProps as _mapStateToProps,
|
||||||
|
@ -63,5 +64,4 @@ class NotificationsContainer extends AbstractNotificationsContainer<Props> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(NotificationsContainer);
|
export default connect(_mapStateToProps)(NotificationsContainer);
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
Avatar,
|
Avatar,
|
||||||
getAvatarURL,
|
getAvatarURL,
|
||||||
getLocalParticipant
|
getLocalParticipant
|
||||||
} from '../../base/participants';
|
} from '../../base/participants';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import OverlayFrame from './OverlayFrame';
|
import OverlayFrame from './OverlayFrame';
|
||||||
|
|
||||||
|
@ -112,5 +112,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(FilmstripOnlyOverlayFrame);
|
export default connect(_mapStateToProps)(FilmstripOnlyOverlayFrame);
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import { getOverlayToRender } from '../functions';
|
import { getOverlayToRender } from '../functions';
|
||||||
|
|
||||||
|
@ -58,5 +59,4 @@ function _mapStateToProps(state) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// $FlowExpectedError
|
|
||||||
export default connect(_mapStateToProps)(OverlayContainer);
|
export default connect(_mapStateToProps)(OverlayContainer);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import AbstractPageReloadOverlay, { abstractMapStateToProps }
|
import AbstractPageReloadOverlay, { abstractMapStateToProps }
|
||||||
from './AbstractPageReloadOverlay';
|
from './AbstractPageReloadOverlay';
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Text } from 'react-native';
|
import { Text } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { appNavigate, reloadNow } from '../../app';
|
import { appNavigate, reloadNow } from '../../app';
|
||||||
import { ColorSchemeRegistry } from '../../base/color-scheme';
|
import { ColorSchemeRegistry } from '../../base/color-scheme';
|
||||||
import { ConfirmDialog } from '../../base/dialog';
|
import { ConfirmDialog } from '../../base/dialog';
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
import { StyleType } from '../../base/styles';
|
import { StyleType } from '../../base/styles';
|
||||||
|
|
||||||
import AbstractPageReloadOverlay, {
|
import AbstractPageReloadOverlay, {
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import AbstractPageReloadOverlay, {
|
import AbstractPageReloadOverlay, {
|
||||||
abstractMapStateToProps,
|
abstractMapStateToProps,
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
/* @flow */
|
/* @flow */
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { reloadNow } from '../../app';
|
import { reloadNow } from '../../app';
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the React {@code Component} props of {@link ReloadButton}.
|
* The type of the React {@code Component} props of {@link ReloadButton}.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate, translateToHTML } from '../../base/i18n';
|
import { translate, translateToHTML } from '../../base/i18n';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import AbstractUserMediaPermissionsOverlay, { abstractMapStateToProps }
|
import AbstractUserMediaPermissionsOverlay, { abstractMapStateToProps }
|
||||||
from './AbstractUserMediaPermissionsOverlay';
|
from './AbstractUserMediaPermissionsOverlay';
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/* global interfaceConfig */
|
/* global interfaceConfig */
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate, translateToHTML } from '../../base/i18n';
|
import { translate, translateToHTML } from '../../base/i18n';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import AbstractUserMediaPermissionsOverlay, { abstractMapStateToProps }
|
import AbstractUserMediaPermissionsOverlay, { abstractMapStateToProps }
|
||||||
from './AbstractUserMediaPermissionsOverlay';
|
from './AbstractUserMediaPermissionsOverlay';
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
/* @flow */
|
/* @flow */
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
import { getParticipantById } from '../../base/participants';
|
import { getParticipantById } from '../../base/participants';
|
||||||
import { Text } from '../../base/react';
|
import { Text } from '../../base/react';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import { STATUS_TO_I18N_KEY } from '../constants';
|
import { STATUS_TO_I18N_KEY } from '../constants';
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import { getDefaultURL } from '../../app';
|
import { getDefaultURL } from '../../app';
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
import { NavigateSectionList } from '../../base/react';
|
import { NavigateSectionList, type Section } from '../../base/react';
|
||||||
import type { Section } from '../../base/react';
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import { deleteRecentListEntry } from '../actions';
|
import { deleteRecentListEntry } from '../actions';
|
||||||
import { isRecentListEnabled, toDisplayableList } from '../functions';
|
import { isRecentListEnabled, toDisplayableList } from '../functions';
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import type { Dispatch } from 'redux';
|
import type { Dispatch } from 'redux';
|
||||||
|
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
import { MeetingsList } from '../../base/react';
|
import { MeetingsList } from '../../base/react';
|
||||||
|
import { connect } from '../../base/redux';
|
||||||
|
|
||||||
import AbstractRecentList from './AbstractRecentList';
|
import AbstractRecentList from './AbstractRecentList';
|
||||||
import { isRecentListEnabled, toDisplayableList } from '../functions';
|
import { isRecentListEnabled, toDisplayableList } from '../functions';
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { Text, View } from 'react-native';
|
import { Text, View } from 'react-native';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
|
|
||||||
import { _abstractMapStateToProps } from '../../../../base/dialog';
|
import { _abstractMapStateToProps } from '../../../../base/dialog';
|
||||||
import { translate } from '../../../../base/i18n';
|
import { translate } from '../../../../base/i18n';
|
||||||
|
import { connect } from '../../../../base/redux';
|
||||||
import { StyleType } from '../../../../base/styles';
|
import { StyleType } from '../../../../base/styles';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue