@eohjsc/react-native-smart-city 0.3.84 → 0.3.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/commons/Dashboard/MyUnit/index.js +2 -3
- package/src/screens/AllCamera/__test__/index.test.js +1 -1
- package/src/screens/AllCamera/index.js +2 -2
- package/src/screens/AllGateway/components/TabPaneCT/__test__/index.test.js +1 -1
- package/src/screens/AllGateway/components/TabPaneCT/index.js +1 -1
package/package.json
CHANGED
|
@@ -14,10 +14,11 @@ import {
|
|
|
14
14
|
} from '@react-navigation/native';
|
|
15
15
|
import NetInfo from '@react-native-community/netinfo';
|
|
16
16
|
import { BleManager } from 'react-native-ble-plx';
|
|
17
|
+
import Carousel from 'react-native-snap-carousel';
|
|
18
|
+
|
|
17
19
|
import { API, Colors, Images } from '../../../configs';
|
|
18
20
|
import Text from '../../Text';
|
|
19
21
|
import { fetchWithCache } from '../../../utils/Apis/axios';
|
|
20
|
-
|
|
21
22
|
import styles from './styles';
|
|
22
23
|
import { Section } from '../../Section';
|
|
23
24
|
import { useTranslations } from '../../../hooks/Common/useTranslations';
|
|
@@ -25,8 +26,6 @@ import { useUnitConnectRemoteDevices } from '../../../screens/Unit/hook/useUnitC
|
|
|
25
26
|
import { useWatchConfigs, useBluetoothConnection } from '../../../hooks/IoT';
|
|
26
27
|
import { SCContext } from '../../../context';
|
|
27
28
|
import { Action } from '../../../context/actionType';
|
|
28
|
-
|
|
29
|
-
import Carousel from 'react-native-new-snap-carousel';
|
|
30
29
|
import { AccessibilityLabel, DEVICE_TYPE } from '../../../configs/Constants';
|
|
31
30
|
import Routes from '../../../utils/Route';
|
|
32
31
|
import MyUnitDevice from '../../../screens/Unit/components/MyUnitDevice';
|
|
@@ -4,7 +4,7 @@ import AllCamera from '..';
|
|
|
4
4
|
import { act, create } from 'react-test-renderer';
|
|
5
5
|
import { SCProvider } from '../../../context';
|
|
6
6
|
import { mockSCStore } from '../../../context/mockStore';
|
|
7
|
-
import Carousel from 'react-native-
|
|
7
|
+
import Carousel from 'react-native-snap-carousel';
|
|
8
8
|
|
|
9
9
|
const arrCameras = [
|
|
10
10
|
{
|
|
@@ -8,9 +8,9 @@ import React, {
|
|
|
8
8
|
import { View, Text, TouchableOpacity, Platform, Image } from 'react-native';
|
|
9
9
|
import { useRoute, useNavigation } from '@react-navigation/native';
|
|
10
10
|
import { chunk } from 'lodash';
|
|
11
|
-
import Carousel from 'react-native-
|
|
12
|
-
import { useTranslations } from '../../hooks/Common/useTranslations';
|
|
11
|
+
import Carousel from 'react-native-snap-carousel';
|
|
13
12
|
|
|
13
|
+
import { useTranslations } from '../../hooks/Common/useTranslations';
|
|
14
14
|
import { Images, Colors } from '../../configs';
|
|
15
15
|
import { useHiddenStatusBar } from '../../hooks/Common/useStatusBar';
|
|
16
16
|
import { HeaderCustom } from '../../commons/Header';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { create, act } from 'react-test-renderer';
|
|
3
3
|
import SegmentedControl from '@react-native-community/segmented-control';
|
|
4
|
-
import Carousel from 'react-native-
|
|
4
|
+
import Carousel from 'react-native-snap-carousel';
|
|
5
5
|
|
|
6
6
|
import { SCProvider } from '../../../../../context';
|
|
7
7
|
import { mockSCStore } from '../../../../../context/mockStore';
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
RefreshControl,
|
|
8
8
|
} from 'react-native';
|
|
9
9
|
import SegmentedControl from '@react-native-community/segmented-control';
|
|
10
|
-
import Carousel from 'react-native-
|
|
10
|
+
import Carousel from 'react-native-snap-carousel';
|
|
11
11
|
|
|
12
12
|
import { Text, StatusBox } from '../../../../commons';
|
|
13
13
|
import { Constants } from '../../../../configs';
|