Просмотр исходного кода

Rearrange recording feature files

j8
Bettenbuk Zoltan 7 лет назад
Родитель
Сommit
71edea8aac
40 измененных файлов: 115 добавлений и 69 удалений
  1. 4
    2
      react/features/recording/components/LiveStream/AbstractLiveStreamButton.js
  2. 0
    0
      react/features/recording/components/LiveStream/GoogleSigninForm.web.js
  3. 3
    0
      react/features/recording/components/LiveStream/_.native.js
  4. 3
    0
      react/features/recording/components/LiveStream/_.web.js
  5. 3
    3
      react/features/recording/components/LiveStream/index.js
  6. 2
    2
      react/features/recording/components/LiveStream/native/GoogleSigninForm.js
  7. 2
    2
      react/features/recording/components/LiveStream/native/LiveStreamButton.js
  8. 5
    4
      react/features/recording/components/LiveStream/native/StartLiveStreamDialog.js
  9. 3
    3
      react/features/recording/components/LiveStream/native/StopLiveStreamDialog.js
  10. 3
    2
      react/features/recording/components/LiveStream/native/StreamKeyForm.js
  11. 1
    1
      react/features/recording/components/LiveStream/native/StreamKeyPicker.js
  12. 5
    0
      react/features/recording/components/LiveStream/native/index.js
  13. 5
    1
      react/features/recording/components/LiveStream/native/styles.js
  14. 0
    0
      react/features/recording/components/LiveStream/styles.web.js
  15. 3
    3
      react/features/recording/components/LiveStream/web/LiveStreamButton.js
  16. 4
    3
      react/features/recording/components/LiveStream/web/StartLiveStreamDialog.js
  17. 2
    2
      react/features/recording/components/LiveStream/web/StopLiveStreamDialog.js
  18. 2
    2
      react/features/recording/components/LiveStream/web/StreamKeyForm.js
  19. 1
    1
      react/features/recording/components/LiveStream/web/StreamKeyPicker.js
  20. 5
    0
      react/features/recording/components/LiveStream/web/index.js
  21. 1
    1
      react/features/recording/components/Recording/AbstractRecordButton.js
  22. 3
    0
      react/features/recording/components/Recording/_.native.js
  23. 3
    0
      react/features/recording/components/Recording/_.web.js
  24. 3
    3
      react/features/recording/components/Recording/index.js
  25. 2
    2
      react/features/recording/components/Recording/native/RecordButton.js
  26. 3
    3
      react/features/recording/components/Recording/native/StopRecordingDialog.js
  27. 4
    0
      react/features/recording/components/Recording/native/index.js
  28. 2
    2
      react/features/recording/components/Recording/web/RecordButton.js
  29. 2
    2
      react/features/recording/components/Recording/web/StopRecordingDialog.js
  30. 4
    0
      react/features/recording/components/Recording/web/index.js
  31. 0
    0
      react/features/recording/components/RecordingExpandedLabel.web.js
  32. 3
    0
      react/features/recording/components/_.native.js
  33. 3
    0
      react/features/recording/components/_.web.js
  34. 5
    12
      react/features/recording/components/index.js
  35. 4
    4
      react/features/recording/components/native/RecordingExpandedLabel.js
  36. 5
    4
      react/features/recording/components/native/RecordingLabel.js
  37. 4
    0
      react/features/recording/components/native/index.js
  38. 1
    1
      react/features/recording/components/native/styles.js
  39. 4
    4
      react/features/recording/components/web/RecordingLabel.js
  40. 3
    0
      react/features/recording/components/web/index.js

+ 4
- 2
react/features/recording/components/LiveStream/AbstractLiveStreamButton.js Просмотреть файл

10
 
10
 
11
 import { getActiveSession } from '../../functions';
11
 import { getActiveSession } from '../../functions';
12
 
12
 
13
-import StartLiveStreamDialog from './StartLiveStreamDialog';
14
-import StopLiveStreamDialog from './StopLiveStreamDialog';
13
+import {
14
+    StartLiveStreamDialog,
15
+    StopLiveStreamDialog
16
+} from './_';
15
 
17
 
16
 /**
18
 /**
17
  * The type of the React {@code Component} props of
19
  * The type of the React {@code Component} props of

+ 0
- 0
react/features/recording/components/LiveStream/GoogleSigninForm.web.js Просмотреть файл


+ 3
- 0
react/features/recording/components/LiveStream/_.native.js Просмотреть файл

1
+// @flow
2
+
3
+export * from './native';

+ 3
- 0
react/features/recording/components/LiveStream/_.web.js Просмотреть файл

1
+// @flow
2
+
3
+export * from './web';

+ 3
- 3
react/features/recording/components/LiveStream/index.js Просмотреть файл

1
-export { default as LiveStreamButton } from './LiveStreamButton';
2
-export { default as StartLiveStreamDialog } from './StartLiveStreamDialog';
3
-export { default as StopLiveStreamDialog } from './StopLiveStreamDialog';
1
+// @flow
2
+
3
+export * from './_';

react/features/recording/components/LiveStream/GoogleSigninForm.native.js → react/features/recording/components/LiveStream/native/GoogleSigninForm.js Просмотреть файл

4
 import { Platform, Text, View } from 'react-native';
4
 import { Platform, Text, View } from 'react-native';
5
 import { connect } from 'react-redux';
5
 import { connect } from 'react-redux';
6
 
6
 
7
-import { translate } from '../../../base/i18n';
7
+import { translate } from '../../../../base/i18n';
8
 
8
 
9
 import {
9
 import {
10
     GOOGLE_API_STATES,
10
     GOOGLE_API_STATES,
12
     googleApi,
12
     googleApi,
13
     GoogleSignInButton,
13
     GoogleSignInButton,
14
     setGoogleAPIState
14
     setGoogleAPIState
15
-} from '../../../google-api';
15
+} from '../../../../google-api';
16
 
16
 
17
 import styles from './styles';
17
 import styles from './styles';
18
 
18
 

react/features/recording/components/LiveStream/LiveStreamButton.native.js → react/features/recording/components/LiveStream/native/LiveStreamButton.js Просмотреть файл

2
 
2
 
3
 import { connect } from 'react-redux';
3
 import { connect } from 'react-redux';
4
 
4
 
5
-import { translate } from '../../../base/i18n';
5
+import { translate } from '../../../../base/i18n';
6
 
6
 
7
 import AbstractLiveStreamButton, {
7
 import AbstractLiveStreamButton, {
8
     _mapStateToProps,
8
     _mapStateToProps,
9
     type Props
9
     type Props
10
-} from './AbstractLiveStreamButton';
10
+} from '../AbstractLiveStreamButton';
11
 
11
 
12
 /**
12
 /**
13
  * An implementation of a button for starting and stopping live streaming.
13
  * An implementation of a button for starting and stopping live streaming.

react/features/recording/components/LiveStream/StartLiveStreamDialog.native.js → react/features/recording/components/LiveStream/native/StartLiveStreamDialog.js Просмотреть файл

4
 import { View } from 'react-native';
4
 import { View } from 'react-native';
5
 import { connect } from 'react-redux';
5
 import { connect } from 'react-redux';
6
 
6
 
7
-import { translate } from '../../../base/i18n';
8
-import { googleApi } from '../../../google-api';
7
+import { translate } from '../../../../base/i18n';
8
+import { googleApi } from '../../../../google-api';
9
 
9
 
10
 
10
 
11
-import { setLiveStreamKey } from '../../actions';
11
+import { setLiveStreamKey } from '../../../actions';
12
 
12
 
13
 import AbstractStartLiveStreamDialog,
13
 import AbstractStartLiveStreamDialog,
14
-{ _mapStateToProps, type Props } from './AbstractStartLiveStreamDialog';
14
+{ _mapStateToProps, type Props } from '../AbstractStartLiveStreamDialog';
15
+
15
 import GoogleSigninForm from './GoogleSigninForm';
16
 import GoogleSigninForm from './GoogleSigninForm';
16
 import StreamKeyForm from './StreamKeyForm';
17
 import StreamKeyForm from './StreamKeyForm';
17
 import StreamKeyPicker from './StreamKeyPicker';
18
 import StreamKeyPicker from './StreamKeyPicker';

react/features/recording/components/LiveStream/StopLiveStreamDialog.native.js → react/features/recording/components/LiveStream/native/StopLiveStreamDialog.js Просмотреть файл

3
 import React from 'react';
3
 import React from 'react';
4
 import { connect } from 'react-redux';
4
 import { connect } from 'react-redux';
5
 
5
 
6
-import { DialogContent } from '../../../base/dialog';
7
-import { translate } from '../../../base/i18n';
6
+import { DialogContent } from '../../../../base/dialog';
7
+import { translate } from '../../../../base/i18n';
8
 
8
 
9
 import AbstractStopLiveStreamDialog, {
9
 import AbstractStopLiveStreamDialog, {
10
     _mapStateToProps
10
     _mapStateToProps
11
-} from './AbstractStopLiveStreamDialog';
11
+} from '../AbstractStopLiveStreamDialog';
12
 
12
 
13
 /**
13
 /**
14
  * A React Component for confirming the participant wishes to stop the currently
14
  * A React Component for confirming the participant wishes to stop the currently

react/features/recording/components/LiveStream/StreamKeyForm.native.js → react/features/recording/components/LiveStream/native/StreamKeyForm.js Просмотреть файл

3
 import React from 'react';
3
 import React from 'react';
4
 import { Linking, Text, TextInput, TouchableOpacity, View } from 'react-native';
4
 import { Linking, Text, TextInput, TouchableOpacity, View } from 'react-native';
5
 
5
 
6
-import { translate } from '../../../base/i18n';
6
+import { translate } from '../../../../base/i18n';
7
 
7
 
8
 import AbstractStreamKeyForm, {
8
 import AbstractStreamKeyForm, {
9
     type Props
9
     type Props
10
-} from './AbstractStreamKeyForm';
10
+} from '../AbstractStreamKeyForm';
11
+
11
 import styles from './styles';
12
 import styles from './styles';
12
 
13
 
13
 /**
14
 /**

react/features/recording/components/LiveStream/StreamKeyPicker.native.js → react/features/recording/components/LiveStream/native/StreamKeyPicker.js Просмотреть файл

3
 import React, { Component } from 'react';
3
 import React, { Component } from 'react';
4
 import { Text, TouchableHighlight, View } from 'react-native';
4
 import { Text, TouchableHighlight, View } from 'react-native';
5
 
5
 
6
-import { translate } from '../../../base/i18n';
6
+import { translate } from '../../../../base/i18n';
7
 
7
 
8
 import styles, { ACTIVE_OPACITY, TOUCHABLE_UNDERLAY } from './styles';
8
 import styles, { ACTIVE_OPACITY, TOUCHABLE_UNDERLAY } from './styles';
9
 
9
 

+ 5
- 0
react/features/recording/components/LiveStream/native/index.js Просмотреть файл

1
+// @flow
2
+
3
+export { default as LiveStreamButton } from './LiveStreamButton';
4
+export { default as StartLiveStreamDialog } from './StartLiveStreamDialog';
5
+export { default as StopLiveStreamDialog } from './StopLiveStreamDialog';

react/features/recording/components/LiveStream/styles.native.js → react/features/recording/components/LiveStream/native/styles.js Просмотреть файл

1
 // @flow
1
 // @flow
2
 
2
 
3
-import { BoxModel, ColorPalette, createStyleSheet } from '../../../base/styles';
3
+import {
4
+    BoxModel,
5
+    ColorPalette,
6
+    createStyleSheet
7
+} from '../../../../base/styles';
4
 
8
 
5
 /**
9
 /**
6
  * Opacity of the TouchableHighlight.
10
  * Opacity of the TouchableHighlight.

+ 0
- 0
react/features/recording/components/LiveStream/styles.web.js Просмотреть файл


react/features/recording/components/LiveStream/LiveStreamButton.web.js → react/features/recording/components/LiveStream/web/LiveStreamButton.js Просмотреть файл

3
 import React from 'react';
3
 import React from 'react';
4
 import { connect } from 'react-redux';
4
 import { connect } from 'react-redux';
5
 
5
 
6
-import { translate } from '../../../base/i18n';
7
-import { Container, Text } from '../../../base/react';
6
+import { translate } from '../../../../base/i18n';
7
+import { Container, Text } from '../../../../base/react';
8
 
8
 
9
 import AbstractLiveStreamButton, {
9
 import AbstractLiveStreamButton, {
10
     _mapStateToProps as _abstractMapStateToProps,
10
     _mapStateToProps as _abstractMapStateToProps,
11
     type Props as AbstractProps
11
     type Props as AbstractProps
12
-} from './AbstractLiveStreamButton';
12
+} from '../AbstractLiveStreamButton';
13
 
13
 
14
 declare var interfaceConfig: Object;
14
 declare var interfaceConfig: Object;
15
 
15
 

react/features/recording/components/LiveStream/StartLiveStreamDialog.web.js → react/features/recording/components/LiveStream/web/StartLiveStreamDialog.js Просмотреть файл

4
 import React from 'react';
4
 import React from 'react';
5
 import { connect } from 'react-redux';
5
 import { connect } from 'react-redux';
6
 
6
 
7
-import { translate } from '../../../base/i18n';
7
+import { translate } from '../../../../base/i18n';
8
 
8
 
9
 import {
9
 import {
10
     GOOGLE_API_STATES,
10
     GOOGLE_API_STATES,
15
     showAccountSelection,
15
     showAccountSelection,
16
     signIn,
16
     signIn,
17
     updateProfile
17
     updateProfile
18
-} from '../../../google-api';
18
+} from '../../../../google-api';
19
 
19
 
20
 import AbstractStartLiveStreamDialog, {
20
 import AbstractStartLiveStreamDialog, {
21
     _mapStateToProps as _abstractMapStateToProps,
21
     _mapStateToProps as _abstractMapStateToProps,
22
     type Props as AbstractProps
22
     type Props as AbstractProps
23
-} from './AbstractStartLiveStreamDialog';
23
+} from '../AbstractStartLiveStreamDialog';
24
+
24
 import StreamKeyPicker from './StreamKeyPicker';
25
 import StreamKeyPicker from './StreamKeyPicker';
25
 import StreamKeyForm from './StreamKeyForm';
26
 import StreamKeyForm from './StreamKeyForm';
26
 
27
 

react/features/recording/components/LiveStream/StopLiveStreamDialog.web.js → react/features/recording/components/LiveStream/web/StopLiveStreamDialog.js Просмотреть файл

2
 
2
 
3
 import { connect } from 'react-redux';
3
 import { connect } from 'react-redux';
4
 
4
 
5
-import { translate } from '../../../base/i18n';
5
+import { translate } from '../../../../base/i18n';
6
 
6
 
7
 import AbstractStopLiveStreamDialog, {
7
 import AbstractStopLiveStreamDialog, {
8
     _mapStateToProps
8
     _mapStateToProps
9
-} from './AbstractStopLiveStreamDialog';
9
+} from '../AbstractStopLiveStreamDialog';
10
 
10
 
11
 /**
11
 /**
12
  * A React Component for confirming the participant wishes to stop the currently
12
  * A React Component for confirming the participant wishes to stop the currently

react/features/recording/components/LiveStream/StreamKeyForm.web.js → react/features/recording/components/LiveStream/web/StreamKeyForm.js Просмотреть файл

3
 import { FieldTextStateless } from '@atlaskit/field-text';
3
 import { FieldTextStateless } from '@atlaskit/field-text';
4
 import React from 'react';
4
 import React from 'react';
5
 
5
 
6
-import { translate } from '../../../base/i18n';
6
+import { translate } from '../../../../base/i18n';
7
 
7
 
8
 import AbstractStreamKeyForm, {
8
 import AbstractStreamKeyForm, {
9
     type Props
9
     type Props
10
-} from './AbstractStreamKeyForm';
10
+} from '../AbstractStreamKeyForm';
11
 
11
 
12
 /**
12
 /**
13
  * A React Component for entering a key for starting a YouTube live stream.
13
  * A React Component for entering a key for starting a YouTube live stream.

react/features/recording/components/LiveStream/StreamKeyPicker.web.js → react/features/recording/components/LiveStream/web/StreamKeyPicker.js Просмотреть файл

7
 } from '@atlaskit/dropdown-menu';
7
 } from '@atlaskit/dropdown-menu';
8
 import React, { PureComponent } from 'react';
8
 import React, { PureComponent } from 'react';
9
 
9
 
10
-import { translate } from '../../../base/i18n';
10
+import { translate } from '../../../../base/i18n';
11
 
11
 
12
 /**
12
 /**
13
  * The type of the React {@code Component} props of {@link StreamKeyPicker}.
13
  * The type of the React {@code Component} props of {@link StreamKeyPicker}.

+ 5
- 0
react/features/recording/components/LiveStream/web/index.js Просмотреть файл

1
+// @flow
2
+
3
+export { default as LiveStreamButton } from './LiveStreamButton';
4
+export { default as StartLiveStreamDialog } from './StartLiveStreamDialog';
5
+export { default as StopLiveStreamDialog } from './StopLiveStreamDialog';

+ 1
- 1
react/features/recording/components/Recording/AbstractRecordButton.js Просмотреть файл

19
 import { getActiveSession } from '../../functions';
19
 import { getActiveSession } from '../../functions';
20
 
20
 
21
 import StartRecordingDialog from './StartRecordingDialog';
21
 import StartRecordingDialog from './StartRecordingDialog';
22
-import StopRecordingDialog from './StopRecordingDialog';
22
+import { StopRecordingDialog } from './_';
23
 
23
 
24
 /**
24
 /**
25
  * The type of the React {@code Component} props of
25
  * The type of the React {@code Component} props of

+ 3
- 0
react/features/recording/components/Recording/_.native.js Просмотреть файл

1
+// @flow
2
+
3
+export * from './native';

+ 3
- 0
react/features/recording/components/Recording/_.web.js Просмотреть файл

1
+// @flow
2
+
3
+export * from './web';

+ 3
- 3
react/features/recording/components/Recording/index.js Просмотреть файл

1
-export { default as RecordButton } from './RecordButton';
2
-export { default as StartRecordingDialog } from './StartRecordingDialog';
3
-export { default as StopRecordingDialog } from './StopRecordingDialog';
1
+// @flow
2
+
3
+export * from './_';

react/features/recording/components/Recording/RecordButton.native.js → react/features/recording/components/Recording/native/RecordButton.js Просмотреть файл

2
 
2
 
3
 import { connect } from 'react-redux';
3
 import { connect } from 'react-redux';
4
 
4
 
5
-import { translate } from '../../../base/i18n';
5
+import { translate } from '../../../../base/i18n';
6
 
6
 
7
 import AbstractRecordButton, {
7
 import AbstractRecordButton, {
8
     _mapStateToProps,
8
     _mapStateToProps,
9
     type Props
9
     type Props
10
-} from './AbstractRecordButton';
10
+} from '../AbstractRecordButton';
11
 
11
 
12
 /**
12
 /**
13
  * An implementation of a button for starting and stopping recording.
13
  * An implementation of a button for starting and stopping recording.

react/features/recording/components/Recording/StopRecordingDialog.native.js → react/features/recording/components/Recording/native/StopRecordingDialog.js Просмотреть файл

3
 import React from 'react';
3
 import React from 'react';
4
 import { connect } from 'react-redux';
4
 import { connect } from 'react-redux';
5
 
5
 
6
-import { DialogContent } from '../../../base/dialog';
7
-import { translate } from '../../../base/i18n';
6
+import { DialogContent } from '../../../../base/dialog';
7
+import { translate } from '../../../../base/i18n';
8
 
8
 
9
 import AbstractStopRecordingDialog, {
9
 import AbstractStopRecordingDialog, {
10
     type Props,
10
     type Props,
11
     _mapStateToProps
11
     _mapStateToProps
12
-} from './AbstractStopRecordingDialog';
12
+} from '../AbstractStopRecordingDialog';
13
 
13
 
14
 /**
14
 /**
15
  * React Component for getting confirmation to stop a file recording session in
15
  * React Component for getting confirmation to stop a file recording session in

+ 4
- 0
react/features/recording/components/Recording/native/index.js Просмотреть файл

1
+// @flow
2
+
3
+export { default as RecordButton } from './RecordButton';
4
+export { default as StopRecordingDialog } from './StopRecordingDialog';

react/features/recording/components/Recording/RecordButton.web.js → react/features/recording/components/Recording/web/RecordButton.js Просмотреть файл

2
 
2
 
3
 import { connect } from 'react-redux';
3
 import { connect } from 'react-redux';
4
 
4
 
5
-import { translate } from '../../../base/i18n';
5
+import { translate } from '../../../../base/i18n';
6
 
6
 
7
 import AbstractRecordButton, {
7
 import AbstractRecordButton, {
8
     _mapStateToProps as _abstractMapStateToProps,
8
     _mapStateToProps as _abstractMapStateToProps,
9
     type Props as AbstractProps
9
     type Props as AbstractProps
10
-} from './AbstractRecordButton';
10
+} from '../AbstractRecordButton';
11
 
11
 
12
 declare var interfaceConfig: Object;
12
 declare var interfaceConfig: Object;
13
 
13
 

react/features/recording/components/Recording/StopRecordingDialog.web.js → react/features/recording/components/Recording/web/StopRecordingDialog.js Просмотреть файл

2
 
2
 
3
 import { connect } from 'react-redux';
3
 import { connect } from 'react-redux';
4
 
4
 
5
-import { translate } from '../../../base/i18n';
5
+import { translate } from '../../../../base/i18n';
6
 
6
 
7
 import AbstractStopRecordingDialog, {
7
 import AbstractStopRecordingDialog, {
8
     type Props,
8
     type Props,
9
     _mapStateToProps
9
     _mapStateToProps
10
-} from './AbstractStopRecordingDialog';
10
+} from '../AbstractStopRecordingDialog';
11
 
11
 
12
 /**
12
 /**
13
  * React Component for getting confirmation to stop a file recording session in
13
  * React Component for getting confirmation to stop a file recording session in

+ 4
- 0
react/features/recording/components/Recording/web/index.js Просмотреть файл

1
+// @flow
2
+
3
+export { default as RecordButton } from './RecordButton';
4
+export { default as StopRecordingDialog } from './StopRecordingDialog';

+ 0
- 0
react/features/recording/components/RecordingExpandedLabel.web.js Просмотреть файл


+ 3
- 0
react/features/recording/components/_.native.js Просмотреть файл

1
+// @flow
2
+
3
+export * from './native';

+ 3
- 0
react/features/recording/components/_.web.js Просмотреть файл

1
+// @flow
2
+
3
+export * from './web';

+ 5
- 12
react/features/recording/components/index.js Просмотреть файл

1
-export {
2
-    LiveStreamButton,
3
-    StartLiveStreamDialog,
4
-    StopLiveStreamDialog
5
-} from './LiveStream';
6
-export {
7
-    RecordButton,
8
-    StartRecordingDialog,
9
-    StopRecordingDialog
10
-} from './Recording';
11
-export { default as RecordingLabel } from './RecordingLabel';
12
-export { default as RecordingExpandedLabel } from './RecordingExpandedLabel';
1
+// @flow
2
+
3
+export * from './_';
4
+export * from './LiveStream';
5
+export * from './Recording';

react/features/recording/components/RecordingExpandedLabel.native.js → react/features/recording/components/native/RecordingExpandedLabel.js Просмотреть файл

2
 
2
 
3
 import { connect } from 'react-redux';
3
 import { connect } from 'react-redux';
4
 
4
 
5
-import { translate } from '../../base/i18n';
6
-import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';
5
+import { translate } from '../../../base/i18n';
6
+import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
7
 import {
7
 import {
8
     ExpandedLabel,
8
     ExpandedLabel,
9
     type Props as AbstractProps
9
     type Props as AbstractProps
10
-} from '../../base/label';
10
+} from '../../../base/label';
11
 
11
 
12
-import { getSessionStatusToShow } from '../functions';
12
+import { getSessionStatusToShow } from '../../functions';
13
 
13
 
14
 import { LIVE_LABEL_COLOR, REC_LABEL_COLOR } from './styles';
14
 import { LIVE_LABEL_COLOR, REC_LABEL_COLOR } from './styles';
15
 
15
 

react/features/recording/components/RecordingLabel.native.js → react/features/recording/components/native/RecordingLabel.js Просмотреть файл

3
 import React from 'react';
3
 import React from 'react';
4
 import { connect } from 'react-redux';
4
 import { connect } from 'react-redux';
5
 
5
 
6
-import { translate } from '../../base/i18n';
7
-import { CircularLabel } from '../../base/label';
8
-import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';
6
+import { translate } from '../../../base/i18n';
7
+import { CircularLabel } from '../../../base/label';
8
+import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
9
 
9
 
10
 import AbstractRecordingLabel, {
10
 import AbstractRecordingLabel, {
11
     _mapStateToProps
11
     _mapStateToProps
12
-} from './AbstractRecordingLabel';
12
+} from '../AbstractRecordingLabel';
13
+
13
 import styles from './styles';
14
 import styles from './styles';
14
 
15
 
15
 /**
16
 /**

+ 4
- 0
react/features/recording/components/native/index.js Просмотреть файл

1
+// @flow
2
+
3
+export { default as RecordingExpandedLabel } from './RecordingExpandedLabel';
4
+export { default as RecordingLabel } from './RecordingLabel';

react/features/recording/components/styles.js → react/features/recording/components/native/styles.js Просмотреть файл

1
 // @flow
1
 // @flow
2
 
2
 
3
-import { ColorPalette, createStyleSheet } from '../../base/styles';
3
+import { ColorPalette, createStyleSheet } from '../../../base/styles';
4
 
4
 
5
 export const LIVE_LABEL_COLOR = ColorPalette.blue;
5
 export const LIVE_LABEL_COLOR = ColorPalette.blue;
6
 export const REC_LABEL_COLOR = ColorPalette.red;
6
 export const REC_LABEL_COLOR = ColorPalette.red;

react/features/recording/components/RecordingLabel.web.js → react/features/recording/components/web/RecordingLabel.js Просмотреть файл

3
 import React from 'react';
3
 import React from 'react';
4
 import { connect } from 'react-redux';
4
 import { connect } from 'react-redux';
5
 
5
 
6
-import { CircularLabel } from '../../base/label';
7
-import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';
8
-import { translate } from '../../base/i18n';
6
+import { CircularLabel } from '../../../base/label';
7
+import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
8
+import { translate } from '../../../base/i18n';
9
 
9
 
10
 import AbstractRecordingLabel, {
10
 import AbstractRecordingLabel, {
11
     _mapStateToProps
11
     _mapStateToProps
12
-} from './AbstractRecordingLabel';
12
+} from '../AbstractRecordingLabel';
13
 
13
 
14
 /**
14
 /**
15
  * Implements a React {@link Component} which displays the current state of
15
  * Implements a React {@link Component} which displays the current state of

+ 3
- 0
react/features/recording/components/web/index.js Просмотреть файл

1
+// @flow
2
+
3
+export { default as RecordingLabel } from './RecordingLabel';

Загрузка…
Отмена
Сохранить