@eohjsc/react-native-smart-city 0.6.2 → 0.7.3-rc1

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.
Files changed (338) hide show
  1. package/README.md +3 -3
  2. package/android/build.gradle +7 -10
  3. package/assets/images/Automation-fill.svg +85 -0
  4. package/assets/images/Scenario-filled.svg +22 -0
  5. package/assets/images/schedule-fill.svg +48 -0
  6. package/package.json +53 -70
  7. package/src/commons/Action/ItemQuickAction.js +1 -1
  8. package/src/commons/Action/__test__/ItemQuickAction.test.js +2 -2
  9. package/src/commons/ActionGroup/NumberUpDownActionTemplate.js +3 -3
  10. package/src/commons/ActionGroup/OnOffSmartLock/AutoLock/ButtonWrapper.js +3 -3
  11. package/src/commons/ActionGroup/OnOffSmartLock/PasscodeList/__test__/ItemPasscode.test.js +2 -2
  12. package/src/commons/ActionGroup/OnOffSmartLock/PasscodeList/__test__/index.test.js +3 -3
  13. package/src/commons/ActionGroup/OnOffSmartLock/PasscodeList/index.js +3 -3
  14. package/src/commons/ActionGroup/OnOffSmartLock/SetupGeneratePasscode/ButtonWrapper.js +2 -2
  15. package/src/commons/ActionGroup/OnOffSmartLock/SetupGeneratePasscode/__test__/index.test.js +0 -15
  16. package/src/commons/ActionGroup/OnOffTemplate/OnOffSimpleTemplate.js +2 -2
  17. package/src/commons/ActionGroup/OptionsDropdownActionTemplate.js +2 -2
  18. package/src/commons/ActionGroup/SmartTiviActionTemplate/SmartTiviActionTemplate.js +2 -2
  19. package/src/commons/ActionGroup/SmartTiviActionTemplate/component/CircleButton.js +5 -5
  20. package/src/commons/ActionGroup/SmartTiviActionTemplate/component/ControlPlay.js +5 -5
  21. package/src/commons/ActionGroup/TerminalBoxTemplate.js +2 -2
  22. package/src/commons/ActionGroup/TextBoxTemplate.js +2 -2
  23. package/src/commons/ActionGroup/ThreeButtonTemplate/__test__/ThreeButtonTemplate.test.js +4 -4
  24. package/src/commons/ActionGroup/TimerActionTemplate.js +4 -5
  25. package/src/commons/ActionGroup/TwoButtonTemplate/index.js +2 -2
  26. package/src/commons/ActionGroup/__test__/ColorPickerTemplate.test.js +4 -9
  27. package/src/commons/ActionGroup/__test__/NumberUpDownTemplate.test.js +2 -9
  28. package/src/commons/ActionGroup/__test__/OnOffButtonTemplate.test.js +4 -11
  29. package/src/commons/ActionGroup/__test__/OnOffSmartLock.test.js +2 -9
  30. package/src/commons/ActionGroup/__test__/OnOffTemplate.test.js +4 -18
  31. package/src/commons/ActionGroup/__test__/OneBigButtonTemplate.test.js +2 -2
  32. package/src/commons/ActionGroup/__test__/OptionsDropdownTemplate.test.js +1 -8
  33. package/src/commons/ActionGroup/__test__/StatesGridActionTemplate.test.js +0 -7
  34. package/src/commons/ActionGroup/__test__/SwitchButtonTemplate.test.js +4 -15
  35. package/src/commons/ActionGroup/__test__/TerminalBoxTemplate.test.js +0 -7
  36. package/src/commons/ActionGroup/__test__/TextBoxTemplate.test.js +1 -8
  37. package/src/commons/ActionGroup/__test__/TimerActionTemplate.test.js +8 -15
  38. package/src/commons/ActionGroup/__test__/TimerActionTemplateWithutConfigValue.test.js +2 -10
  39. package/src/commons/ActionGroup/__test__/TwoButtonTemplate.test.js +3 -20
  40. package/src/commons/ActionGroup/__test__/index.test.js +15 -23
  41. package/src/commons/ActionTemplate/__test__/index.test.js +2 -0
  42. package/src/commons/ActionTemplate/__test__/utils.js +21 -0
  43. package/src/commons/ActionTemplate/index.js +1 -2
  44. package/src/commons/BackDefault/index.js +2 -2
  45. package/src/commons/ButtonPopup/index.js +2 -2
  46. package/src/commons/Calendar/__test__/Calendar.test.js +0 -7
  47. package/src/commons/CircleButton/__test__/CircleButton.test.js +2 -2
  48. package/src/commons/Dashboard/MyPinnedSharedUnit/__test__/MyPinnedSharedUnit.test.js +11 -25
  49. package/src/commons/Dashboard/MyUnit/__test__/MyUnit.test.js +27 -20
  50. package/src/commons/Dashboard/MyUnit/index.js +0 -1
  51. package/src/commons/DateTimeRangeChange/DateTimeButton.js +2 -2
  52. package/src/commons/DateTimeRangeChange/__test__/DateTimeButton.test.js +4 -4
  53. package/src/commons/DateTimeRangeChange/index.js +3 -3
  54. package/src/commons/Device/ConnectedViewHeader.js +2 -2
  55. package/src/commons/Device/DisconnectedView.js +2 -2
  56. package/src/commons/Device/Emergency/EmergencyDetail.js +3 -3
  57. package/src/commons/Device/Emergency/__test__/EmergencyDetail.test.js +2 -2
  58. package/src/commons/Device/FlatListItems.js +3 -3
  59. package/src/commons/Device/Hanet/ItemHanetDevice.js +3 -3
  60. package/src/commons/Device/Hanet/ItemHanetDevice.test.js +3 -11
  61. package/src/commons/Device/ItemAddNew/index.js +2 -2
  62. package/src/commons/Device/ItemDevice.js +5 -21
  63. package/src/commons/Device/SonosSpeaker/index.js +3 -3
  64. package/src/commons/Device/WaterPurifierStatus/AlertStatusMachine.js +2 -2
  65. package/src/commons/Device/WaterQualitySensor/QualityIndicatorsItem.js +2 -6
  66. package/src/commons/DisplayChecking/index.js +2 -2
  67. package/src/commons/EmergencyButton/AlertSendConfirm.js +2 -2
  68. package/src/commons/EmergencyButton/AlertSent.js +6 -2
  69. package/src/commons/FieldTemplate/ChooseUserField/index.js +2 -2
  70. package/src/commons/FieldTemplate/PasscodeField/__test__/index.test.js +5 -5
  71. package/src/commons/FieldTemplate/ScheduleField/__test__/index.test.js +9 -9
  72. package/src/commons/Form/CurrencyInput.js +1 -15
  73. package/src/commons/GroupCheckBox/__test__/GroupCheckBox.test.js +1 -22
  74. package/src/commons/Header/HeaderCustom.js +8 -3
  75. package/src/commons/HeaderAni/index.js +2 -2
  76. package/src/commons/IconComponent/index.js +3 -3
  77. package/src/commons/MediaPlayerDetail/MediaPlayerFull.js +1 -1
  78. package/src/commons/MediaPlayerDetail/__test__/MediaPlayerFull.test.js +12 -48
  79. package/src/commons/MenuActionAddnew/__test__/MenuActionAddNew.test.js +1 -1
  80. package/src/commons/MenuActionList/__test__/MenuActionList.test.js +1 -0
  81. package/src/commons/MenuActionMore/MenuActionMoreStyles.js +2 -1
  82. package/src/commons/MenuActionMore/index.js +1 -1
  83. package/src/commons/NavBar/NavBarStyles.js +1 -1
  84. package/src/commons/NavBar/index.js +2 -2
  85. package/src/commons/OneTapTemplate/NumberUpDownActionTemplate.js +3 -3
  86. package/src/commons/PreventAccess/__test__/PreventAccess.test.js +1 -13
  87. package/src/commons/Processing/__test__/Connecting.test.js +3 -14
  88. package/src/commons/SearchLocation/index.js +3 -3
  89. package/src/commons/SelectActionCard/index.js +2 -2
  90. package/src/commons/SelectSubUnit/__test__/SelectSubUnit.test.js +1 -18
  91. package/src/commons/SelectSubUnit/index.js +2 -2
  92. package/src/commons/SelectUnit/__test__/SelectUnit.test.js +1 -13
  93. package/src/commons/Sharing/BtnRemoveMember.js +2 -2
  94. package/src/commons/Sharing/StationDevicePermissions.js +2 -2
  95. package/src/commons/Sharing/WrapHeaderScrollable.js +1 -1
  96. package/src/commons/Sharing/__test__/ButtonRemoveMember.test.js +2 -2
  97. package/src/commons/Sharing/__test__/DevicePermissionsCheckbox.test.js +1 -1
  98. package/src/commons/SubUnit/DeviceTemplate/ConfigAndEvaluation/ConfigAndEvaluation.js +2 -2
  99. package/src/commons/SubUnit/DeviceTemplate/ConfigValue/ConfigValue.js +2 -2
  100. package/src/commons/SubUnit/DeviceTemplate/EvaluationOverConfig/EvaluationOverConfig.js +2 -2
  101. package/src/commons/SubUnit/Item/index.js +3 -3
  102. package/src/commons/SubUnit/OneTap/ItemOneTap.js +5 -5
  103. package/src/commons/SubUnit/OneTap/__test__/SubUnitAutomate.test.js +11 -8
  104. package/src/commons/SubUnit/__test__/Favorites.test.js +1 -13
  105. package/src/commons/SubUnit/__test__/ShortDetail.test.js +5 -16
  106. package/src/commons/SummaryItem/index.js +22 -23
  107. package/src/commons/Tabbar/__test__/index.test.js +0 -11
  108. package/src/commons/Unit/HeaderUnit/index.js +93 -85
  109. package/src/commons/Unit/SharedUnit.js +7 -7
  110. package/src/commons/Unit/__test__/HeaderUnit.test.js +29 -52
  111. package/src/commons/Unit/__test__/SharedUnit.test.js +94 -105
  112. package/src/commons/UnitSummary/AirQuality/SegmentedRoundDisplay/index.js +11 -30
  113. package/src/commons/Widgets/IFrameWithConfig/IFrameWithConfig.js +44 -1
  114. package/src/commons/Widgets/IFrameWithConfig/__tests__/IFrameWithConfig.test.js +69 -0
  115. package/src/commons/WrapParallaxScrollView/index.js +20 -50
  116. package/src/configs/API.js +1 -2
  117. package/src/configs/Constants.js +3 -3
  118. package/src/hooks/Common/__test__/useAndroidTranslucentStatusBar.test.js +4 -15
  119. package/src/hooks/Common/useIsOwnerOfUnit.js +1 -1
  120. package/src/hooks/IoT/__test__/useRemoteControl.test.js +1 -1
  121. package/src/hooks/IoT/__test__/useWatchConfigs.test.js +6 -21
  122. package/src/iot/RemoteControl/HomeAssistant.js +1 -1
  123. package/src/iot/RemoteControl/__test__/Bluetooth.test.js +234 -232
  124. package/src/navigations/AddDeviceStack.js +2 -2
  125. package/src/navigations/AddGatewayStack.js +2 -2
  126. package/src/navigations/AddLGDeviceStack.js +2 -2
  127. package/src/navigations/AddMemberStack.js +2 -2
  128. package/src/navigations/AddSubUnitStack.js +2 -2
  129. package/src/navigations/AddUnitStack.js +2 -2
  130. package/src/navigations/AllGatewayStack.js +2 -2
  131. package/src/navigations/AutomateStack.js +4 -4
  132. package/src/navigations/EmergencyContactsStack.js +4 -4
  133. package/src/navigations/GatewayStack.js +2 -2
  134. package/src/navigations/HanetCameraStack.js +2 -2
  135. package/src/navigations/Main.js +2 -2
  136. package/src/navigations/NotificationStack.js +2 -2
  137. package/src/navigations/SharedStack.js +8 -6
  138. package/src/navigations/SmartAccountStack.js +2 -2
  139. package/src/navigations/SmartIrStack.js +2 -2
  140. package/src/navigations/SmartLockStack.js +2 -2
  141. package/src/navigations/SmartStack.js +2 -2
  142. package/src/navigations/TemplateStack.js +2 -2
  143. package/src/navigations/UnitStack.js +4 -12
  144. package/src/navigations/utils.js +1 -4
  145. package/src/screens/ActivityLog/hooks/index.js +7 -4
  146. package/src/screens/ActivityLog/index.js +2 -2
  147. package/src/screens/AddCommon/__test__/SelectSubUnit.test.js +4 -21
  148. package/src/screens/AddCommon/__test__/SelectUnit.test.js +7 -19
  149. package/src/screens/AddLocationMaps/__test__/index.test.js +3 -13
  150. package/src/screens/AddLocationMaps/index.js +11 -6
  151. package/src/screens/AddNewDevice/__test__/AddNewDevice.test.js +3 -20
  152. package/src/screens/AddNewGateway/PlugAndPlay/__test__/FirstWarning.test.js +11 -18
  153. package/src/screens/AddNewGateway/PlugAndPlay/__test__/ZigbeeDeviceConnectGuide.test.js +4 -21
  154. package/src/screens/AddNewGateway/RenameNewDevices.js +2 -2
  155. package/src/screens/AddNewGateway/__test__/AddNewGateway.test.js +3 -3
  156. package/src/screens/AddNewGateway/__test__/ConnectingModbusDevice.test.js +0 -17
  157. package/src/screens/AddNewGateway/__test__/ConnectingWifiDevice.test.js +4 -19
  158. package/src/screens/AddNewGateway/__test__/ConnectingWifiGuide.test.js +3 -15
  159. package/src/screens/AddNewGateway/__test__/ConnectingZigbeeDevice.test.js +31 -51
  160. package/src/screens/AddNewGateway/__test__/RenameNewDevices.test.js +9 -22
  161. package/src/screens/AddNewGateway/__test__/ScanGatewayQR.test.js +12 -19
  162. package/src/screens/AddNewGateway/__test__/ScanModbusQR.test.js +6 -16
  163. package/src/screens/AddNewGateway/__test__/ScanWifiDeviceQR.test.js +4 -15
  164. package/src/screens/AddNewGateway/__test__/SelectDeviceSubUnit.test.js +3 -3
  165. package/src/screens/AddNewGateway/__test__/SelectDeviceType.test.js +18 -10
  166. package/src/screens/AddNewGateway/__test__/SelectDeviceUnit.test.js +1 -1
  167. package/src/screens/AddNewGateway/__test__/SelectModbusGateway.test.js +12 -9
  168. package/src/screens/AddNewGateway/__test__/SelectZigbeeGateway.test.js +12 -9
  169. package/src/screens/AddNewGateway/__test__/ShareWifiPassword.test.js +7 -21
  170. package/src/screens/AllGateway/DetailConfigActionInternal/__test__/index.test.js +0 -20
  171. package/src/screens/AllGateway/DetailConfigActionModbus/__test__/index.test.js +7 -24
  172. package/src/screens/AllGateway/DeviceGatewayInfo/__test__/index.test.js +0 -17
  173. package/src/screens/AllGateway/DeviceInternalDetail/__test__/index.test.js +84 -100
  174. package/src/screens/AllGateway/DeviceModbusDetail/__test__/index.test.js +64 -82
  175. package/src/screens/AllGateway/DeviceZigbeeDetail/__test__/index.test.js +36 -55
  176. package/src/screens/AllGateway/GatewayConnectionMethods/__test__/index.test.js +9 -18
  177. package/src/screens/AllGateway/GatewayDetail/__test__/index.test.js +10 -37
  178. package/src/screens/AllGateway/GatewayInfo/__test__/index.test.js +7 -32
  179. package/src/screens/AllGateway/__test__/index.test.js +1 -14
  180. package/src/screens/AllGateway/components/GatewayItem/__test__/index.test.js +0 -12
  181. package/src/screens/AllGateway/components/TabPaneCT/__test__/index.test.js +1 -13
  182. package/src/screens/AllGateway/components/TabPaneCT/index.js +1 -1
  183. package/src/screens/AllGateway/hooks/__test__/index.test.js +1 -8
  184. package/src/screens/AllGateway/test-utils.js +1 -1
  185. package/src/screens/Automate/AddNewAction/NewActionWrapper.js +2 -2
  186. package/src/screens/Automate/AddNewAction/SetupConfigCondition.js +27 -28
  187. package/src/screens/Automate/AddNewAction/__test__/ChooseAction.test.js +3 -3
  188. package/src/screens/Automate/AddNewAction/__test__/ChooseConfig.test.js +8 -5
  189. package/src/screens/Automate/AddNewAction/__test__/SelectControlDevices.test.js +2 -2
  190. package/src/screens/Automate/AddNewAction/__test__/SelectMonitorDevices.test.js +1 -18
  191. package/src/screens/Automate/AddNewAction/__test__/SetupConfigCondition.test.js +17 -15
  192. package/src/screens/Automate/AddNewAutoSmart/__test__/AddNewAutoSmart.test.js +4 -4
  193. package/src/screens/Automate/EditActionsList/__tests__/UpdateActionScript.test.js +38 -55
  194. package/src/screens/Automate/EditActionsList/__tests__/UpdateDelayScript.test.js +0 -18
  195. package/src/screens/Automate/EditActionsList/__tests__/UpdateNotifyScript.test.js +1 -19
  196. package/src/screens/Automate/EditActionsList/__tests__/index.test.js +14 -11
  197. package/src/screens/Automate/OneTap/__test__/AddNewOneTap.test.js +3 -3
  198. package/src/screens/Automate/Scenario/__test__/AddNewOneTap.test.js +2 -2
  199. package/src/screens/Automate/ScriptDetail/Components/AddActionScript.js +2 -2
  200. package/src/screens/Automate/ScriptDetail/__test__/index.test.js +33 -25
  201. package/src/screens/Automate/ScriptDetail/index.js +6 -6
  202. package/src/screens/Automate/SetSchedule/__test__/index.test.js +4 -4
  203. package/src/screens/Automate/SetSchedule/components/RowItem.js +3 -3
  204. package/src/screens/Automate/Styles/indexStyles.js +6 -0
  205. package/src/screens/Automate/__test__/MultiUnits.test.js +7 -7
  206. package/src/screens/Automate/__test__/index.test.js +9 -34
  207. package/src/screens/Automate/index.js +50 -33
  208. package/src/screens/ChangePosition/__test__/index.test.js +1 -14
  209. package/src/screens/ConfirmUnitDeletion/__test__/ConfirmUnitDeletion.test.js +1 -23
  210. package/src/screens/Device/EditDevice/__test__/EditDevice.test.js +1 -11
  211. package/src/screens/Device/EditDevice/index.js +2 -2
  212. package/src/screens/Device/__test__/detail.test.js +11 -11
  213. package/src/screens/Device/__test__/sensorDisplayItem.test.js +0 -12
  214. package/src/screens/Device/detail.js +14 -12
  215. package/src/screens/Drawer/Drawer.test.js +3 -11
  216. package/src/screens/Drawer/index.js +3 -4
  217. package/src/screens/EmergencyContacts/EmergencyContactsList.js +4 -8
  218. package/src/screens/EmergencyContacts/EmergencyContactsSelectContacts.js +3 -3
  219. package/src/screens/EmergencyContacts/__test__/EmergencyContactAddNew.test.js +4 -17
  220. package/src/screens/EmergencyContacts/__test__/EmergencyContactList.test.js +3 -14
  221. package/src/screens/EmergencyContacts/__test__/EmergencyContactsSelectContacts.test.js +0 -10
  222. package/src/screens/EmergencySetting/components/DropDownItem.js +2 -2
  223. package/src/screens/EnterPassword/__test__/EnterPassword.test.js +4 -17
  224. package/src/screens/GuestInfo/__test__/index.test.js +0 -11
  225. package/src/screens/GuestInfo/components/RowGuestInfo.js +2 -2
  226. package/src/screens/GuestInfo/index.js +2 -2
  227. package/src/screens/HanetCamera/Detail.js +6 -2
  228. package/src/screens/HanetCamera/ManageAccess.js +3 -4
  229. package/src/screens/HanetCamera/MemberInfo.js +4 -4
  230. package/src/screens/HanetCamera/__test__/CaptureFaceID.test.js +2 -16
  231. package/src/screens/HanetCamera/__test__/Detail.test.js +1 -12
  232. package/src/screens/HanetCamera/__test__/ManageAccess.test.js +5 -16
  233. package/src/screens/HanetCamera/__test__/MemberInfo.test.js +5 -18
  234. package/src/screens/HanetCamera/components/RequestFaceIDPopup.js +2 -2
  235. package/src/screens/ManageAccess/__test__/ManageAccess.test.js +3 -19
  236. package/src/screens/ManageAccess/index.js +3 -3
  237. package/src/screens/MoveToAnotherSubUnit/__test__/index.test.js +7 -7
  238. package/src/screens/Notification/__test__/Notification.test.js +5 -15
  239. package/src/screens/Notification/__test__/NotificationItem.test.js +9 -19
  240. package/src/screens/Notification/index.js +5 -5
  241. package/src/screens/PlayBackCamera/__test__/index.test.js +13 -22
  242. package/src/screens/PlayBackCamera/index.js +2 -2
  243. package/src/screens/ScanChipQR/components/QRScan/__test__/QRScan.test.js +0 -11
  244. package/src/screens/ScanChipQR/components/QRScan/index.js +3 -3
  245. package/src/screens/SelectUnit/__test__/index.test.js +9 -29
  246. package/src/screens/SelectUnit/index.js +2 -2
  247. package/src/screens/SharedUnit/TabHeader.js +2 -2
  248. package/src/screens/SharedUnit/index.js +5 -0
  249. package/src/screens/Sharing/Components/EndDevice.js +3 -3
  250. package/src/screens/Sharing/SelectUser.js +5 -4
  251. package/src/screens/Sharing/UnitMemberList.js +7 -6
  252. package/src/screens/Sharing/__test__/InfoMemberUnit.test.js +9 -4
  253. package/src/screens/Sharing/__test__/SelectShareDevice.test.js +2 -15
  254. package/src/screens/Sharing/__test__/SelectUser.test.js +2 -22
  255. package/src/screens/Sharing/__test__/UnitMemberList.test.js +2 -2
  256. package/src/screens/Sharing/__test__/UpdateShareDevice.test.js +4 -17
  257. package/src/screens/Sharing/hooks/__test__/index.test.js +2 -13
  258. package/src/screens/SmartAccount/Connecting/index.js +0 -2
  259. package/src/screens/SmartAccount/ListDevice/__test__/ListDevice.test.js +3 -18
  260. package/src/screens/SmartAccount/SuccessfullyConnected/__test__/SuccessfullyConnected.test.js +11 -21
  261. package/src/screens/SmartAccount/SuccessfullyConnected/index.js +3 -4
  262. package/src/screens/SmartAccount/__test__/Connecting.test.js +30 -36
  263. package/src/screens/SmartAccount/__test__/SmartAccount.test.js +12 -21
  264. package/src/screens/SmartIr/__test__/GroupButtonByType.test.js +8 -17
  265. package/src/screens/SmartIr/__test__/SelectBrand.test.js +1 -11
  266. package/src/screens/SmartIr/__test__/SelectDeviceType.test.js +1 -12
  267. package/src/screens/SmartIr/__test__/SmartIr.test.js +3 -11
  268. package/src/screens/SmartIr/components/GroupButtonByType/GroupButtonByType.js +6 -5
  269. package/src/screens/SmartIr/components/SelectBrand.js +2 -2
  270. package/src/screens/SubUnit/AddSubUnit.js +1 -0
  271. package/src/screens/SubUnit/EditSubUnit.js +3 -2
  272. package/src/screens/SubUnit/ManageSubUnit.js +5 -5
  273. package/src/screens/SubUnit/__test__/AddSubUnit.test.js +9 -31
  274. package/src/screens/SubUnit/__test__/EditSubUnit.test.js +12 -30
  275. package/src/screens/SubUnit/__test__/ManageSubUnit.test.js +2 -2
  276. package/src/screens/SubUnit/hooks/__test__/useManageSubUnit.test.js +0 -12
  277. package/src/screens/SyncLGDevice/__test__/AddLGDevice.test.js +7 -20
  278. package/src/screens/Template/__test__/EditTemplate.test.js +4 -15
  279. package/src/screens/Template/__test__/GatewayList.test.js +0 -9
  280. package/src/screens/Template/__test__/detail.test.js +8 -8
  281. package/src/screens/Template/__test__/index.test.js +3 -14
  282. package/src/screens/Template/detail.js +2 -2
  283. package/src/screens/Unit/Detail.js +10 -55
  284. package/src/screens/Unit/MoreMenu.js +6 -5
  285. package/src/screens/Unit/SelectAddToFavorites.js +2 -2
  286. package/src/screens/Unit/SelectAddress.js +9 -4
  287. package/src/screens/Unit/SmartAccountItem.js +2 -2
  288. package/src/screens/Unit/Station/__test__/index.test.js +2 -2
  289. package/src/screens/Unit/Summaries.js +24 -29
  290. package/src/screens/Unit/__test__/AddMenu.test.js +5 -2
  291. package/src/screens/Unit/__test__/CheckSendEmail.test.js +0 -12
  292. package/src/screens/Unit/__test__/ChooseLocation.test.js +1 -4
  293. package/src/screens/Unit/__test__/Detail.test.js +14 -12
  294. package/src/screens/Unit/__test__/ManageUnit.test.js +2 -17
  295. package/src/screens/Unit/__test__/MoreMenu.test.js +6 -12
  296. package/src/screens/Unit/__test__/SelectAddToFavorites.test.js +3 -14
  297. package/src/screens/Unit/__test__/SelectAddress.test.js +4 -17
  298. package/src/screens/Unit/__test__/SmartAccount.test.js +14 -11
  299. package/src/screens/Unit/__test__/SmartAccountItem.test.js +0 -11
  300. package/src/screens/Unit/__test__/Summaries.test.js +2 -14
  301. package/src/screens/Unit/components/AutomateScript/index.js +5 -5
  302. package/src/screens/Unit/components/ButtonWrapper/index.js +3 -4
  303. package/src/screens/Unit/components/Header/index.js +5 -4
  304. package/src/screens/Unit/components/SharedUnit/index.js +5 -5
  305. package/src/screens/Unit/components/__test__/Header.test.js +1 -14
  306. package/src/screens/Unit/components/__test__/MyUnitDevice.test.js +1 -11
  307. package/src/screens/Unit/components/__test__/SharedUnit.test.js +1 -11
  308. package/src/screens/UnitSummary/__test__/index.test.js +51 -17
  309. package/src/screens/UnitSummary/components/3PPowerConsumption/__test__/3PPowerConsumption.test.js +8 -25
  310. package/src/screens/UnitSummary/components/AirQuality/__test__/index.test.js +1 -7
  311. package/src/screens/UnitSummary/components/AirQuality/index.js +8 -3
  312. package/src/screens/UnitSummary/components/PowerConsumption/__test__/PowerConsumption.test.js +0 -11
  313. package/src/screens/UnitSummary/components/RunningDevices/__test__/index.test.js +1 -16
  314. package/src/screens/UnitSummary/components/Temperature/index.js +5 -1
  315. package/src/screens/UnitSummary/components/UvIndex/__test__/index.test.js +0 -8
  316. package/src/screens/UnitSummary/components/UvIndex/index.js +6 -2
  317. package/src/screens/UnitSummary/components/WaterQuality/Item/index.js +3 -3
  318. package/src/screens/UnitSummary/components/WaterQuality/__test__/index.test.js +14 -18
  319. package/src/screens/UnitSummary/components/__test__/UnitSummary.test.js +8 -8
  320. package/src/screens/UnitSummary/index.js +6 -6
  321. package/src/utils/Apis/axios.js +4 -2
  322. package/src/utils/Converter/__test__/timer.test.js +8 -0
  323. package/src/utils/Functions/preloadImages.js +13 -14
  324. package/src/utils/Monitor.js +2 -3
  325. package/src/utils/Route/index.js +0 -1
  326. package/src/utils/Storage.js +1 -1
  327. package/assets/images/OneTap.svg +0 -14
  328. package/assets/images/Schedule.svg +0 -39
  329. package/assets/images/ValueChange.svg +0 -49
  330. package/src/commons/Device/WindSpeed/LinearChart/__test__/LinearChart.test.js +0 -48
  331. package/src/commons/Device/WindSpeed/LinearChart/index.js +0 -155
  332. package/src/screens/AddNewGateway/hooks/__Tests__/index.test.js +0 -27
  333. package/src/screens/AddNewGateway/hooks/index.js +0 -31
  334. package/src/screens/SubUnit/Detail.js +0 -150
  335. package/src/screens/SubUnit/__test__/Detail.test.js +0 -125
  336. package/src/screens/UnitSummary/components/Temperature/ChartAverage/index.js +0 -62
  337. package/src/screens/UnitSummary/components/Temperature/__test__/ChartAverage.test.js +0 -17
  338. package/src/utils/dateHelper/getTickValues.js +0 -22
package/README.md CHANGED
@@ -38,9 +38,9 @@ import {
38
38
  NotificationStack,
39
39
  } from '@eohjsc/react-native-smart-city';
40
40
  import Config from 'react-native-config';
41
- import { createStackNavigator } from '@react-navigation/stack';
41
+ import { createNativeStackNavigator } from '@react-navigation/native-stack';
42
42
 
43
- const Stack = createStackNavigator();
43
+ const Stack = createNativeStackNavigator();
44
44
 
45
45
  const YourStack = () => {
46
46
  useEffect(() => {
@@ -191,7 +191,7 @@ export const MyFunctionalComponent = () => {
191
191
  command_prefer_over_googlehome: false,
192
192
  command_prefer_over_internet: false,
193
193
  googlehome_actions: [],
194
- icon: 'caret-up',
194
+ icon: 'caretup',
195
195
  icon_kit: null,
196
196
  id: 1,
197
197
  key: '24240de0-5c8e-11ec-bf63-0242ac130002',
@@ -20,7 +20,7 @@ def safeExtGet(prop, fallback) {
20
20
  }
21
21
 
22
22
  apply plugin: 'com.android.library'
23
- apply plugin: 'maven'
23
+ apply plugin: 'maven-publish'
24
24
 
25
25
  buildscript {
26
26
  // The Android Gradle plugin is only required when opening the android folder stand-alone.
@@ -38,9 +38,6 @@ buildscript {
38
38
  }
39
39
  }
40
40
 
41
- apply plugin: 'com.android.library'
42
- apply plugin: 'maven'
43
-
44
41
  android {
45
42
  compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
46
43
  buildToolsVersion safeExtGet('buildToolsVersion', DEFAULT_BUILD_TOOLS_VERSION)
@@ -109,7 +106,7 @@ afterEvaluate { project ->
109
106
  task androidJavadoc(type: Javadoc) {
110
107
  source = android.sourceSets.main.java.srcDirs
111
108
  classpath += files(android.bootClasspath)
112
- classpath += files(project.getConfigurations().getByName('compile').asList())
109
+ // classpath += files(project.getConfigurations().getByName('compile').asList())
113
110
  include '**/*.java'
114
111
  }
115
112
 
@@ -140,10 +137,10 @@ afterEvaluate { project ->
140
137
 
141
138
  task installArchives(type: Upload) {
142
139
  configuration = configurations.archives
143
- repositories.mavenDeployer {
144
- // Deploy to react-native-event-bridge/maven, ready to publish to npm
145
- repository url: "file://${projectDir}/../android/maven"
146
- configureReactNativePom pom
147
- }
140
+ // repositories.mavenDeployer {
141
+ // // Deploy to react-native-event-bridge/maven, ready to publish to npm
142
+ // repository url: "file://${projectDir}/../android/maven"
143
+ // configureReactNativePom pom
144
+ // }
148
145
  }
149
146
  }
@@ -0,0 +1,85 @@
1
+ <svg width="32" height="33" viewBox="0 0 32 33" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M4.47926 19H20.6321L26.7817 19C26.8339 19 26.8887 18.9909 26.9383 18.9746C34.0722 16.6164 30.219 10.7773 27.3552 10.1332C27.0858 10.0726 26.8618 9.84915 26.8495 9.57329C26.5905 3.773 21.8246 2.87754 18.9832 3.55914C18.8157 3.5993 18.6337 3.55517 18.5034 3.44261C11.5699 -2.54669 6.02035 3.87361 5.33871 7.83231C5.31063 7.99537 5.20669 8.13981 5.06109 8.21842C-2.14665 12.11 1.98469 17.5056 4.22833 18.93C4.30392 18.978 4.38972 19 4.47926 19Z" fill="url(#paint0_linear_4755_4247)" stroke="url(#paint1_linear_4755_4247)" stroke-width="0.5"/>
3
+ <path d="M14 11L14 15" stroke="white" stroke-width="0.5" stroke-linecap="round"/>
4
+ <path d="M18 11L18 15" stroke="white" stroke-width="0.5" stroke-linecap="round"/>
5
+ <rect x="11.25" y="15.25" width="9.5" height="9.5" rx="0.25" fill="url(#paint2_linear_4755_4247)" stroke="white" stroke-width="0.5"/>
6
+ <circle cx="16" cy="20" r="1.75" fill="white" stroke="url(#paint3_linear_4755_4247)" stroke-width="0.5"/>
7
+ <path d="M14 25L14 30" stroke="url(#paint4_linear_4755_4247)" stroke-width="0.5" stroke-linecap="round"/>
8
+ <path d="M18 25L18 31" stroke="url(#paint5_linear_4755_4247)" stroke-width="0.5" stroke-linecap="round"/>
9
+ <path d="M11 21H2.5C2.22386 21 2 21.2239 2 21.5V26" stroke="url(#paint6_linear_4755_4247)" stroke-width="0.5"/>
10
+ <path d="M11 23H8.5C8.22386 23 8 23.2239 8 23.5V28" stroke="url(#paint7_linear_4755_4247)" stroke-width="0.5"/>
11
+ <path d="M21 23H23.5C23.7761 23 24 23.2239 24 23.5V28" stroke="url(#paint8_linear_4755_4247)" stroke-width="0.5"/>
12
+ <path d="M21 21H29.5C29.7761 21 30 21.2239 30 21.5V26" stroke="url(#paint9_linear_4755_4247)" stroke-width="0.5"/>
13
+ <circle cx="2" cy="26" r="1" fill="url(#paint10_linear_4755_4247)"/>
14
+ <circle cx="8" cy="28" r="1" fill="url(#paint11_linear_4755_4247)"/>
15
+ <circle cx="14" cy="30" r="1" fill="url(#paint12_linear_4755_4247)"/>
16
+ <circle cx="18" cy="32" r="1" fill="url(#paint13_linear_4755_4247)"/>
17
+ <circle cx="24" cy="28" r="1" fill="url(#paint14_linear_4755_4247)"/>
18
+ <circle cx="30" cy="26" r="1" fill="url(#paint15_linear_4755_4247)"/>
19
+ <defs>
20
+ <linearGradient id="paint0_linear_4755_4247" x1="1" y1="1" x2="16.8565" y2="27.4568" gradientUnits="userSpaceOnUse">
21
+ <stop stop-color="#2B6B9F"/>
22
+ <stop offset="1" stop-color="#D5FFCB"/>
23
+ </linearGradient>
24
+ <linearGradient id="paint1_linear_4755_4247" x1="1" y1="1" x2="16.8565" y2="27.4568" gradientUnits="userSpaceOnUse">
25
+ <stop stop-color="#2B6B9F"/>
26
+ <stop offset="1" stop-color="#D5FFCB"/>
27
+ </linearGradient>
28
+ <linearGradient id="paint2_linear_4755_4247" x1="11" y1="15" x2="20.9889" y2="25" gradientUnits="userSpaceOnUse">
29
+ <stop stop-color="#2B6B9F"/>
30
+ <stop offset="1" stop-color="#D5FFCB"/>
31
+ </linearGradient>
32
+ <linearGradient id="paint3_linear_4755_4247" x1="14" y1="18" x2="17.9956" y2="22" gradientUnits="userSpaceOnUse">
33
+ <stop stop-color="#2B6B9F"/>
34
+ <stop offset="1" stop-color="#D5FFCB"/>
35
+ </linearGradient>
36
+ <linearGradient id="paint4_linear_4755_4247" x1="14" y1="25" x2="12.0789" y2="25.3838" gradientUnits="userSpaceOnUse">
37
+ <stop stop-color="#2B6B9F"/>
38
+ <stop offset="1" stop-color="#D5FFCB"/>
39
+ </linearGradient>
40
+ <linearGradient id="paint5_linear_4755_4247" x1="18" y1="25" x2="16.0561" y2="25.3236" gradientUnits="userSpaceOnUse">
41
+ <stop stop-color="#2B6B9F"/>
42
+ <stop offset="1" stop-color="#D5FFCB"/>
43
+ </linearGradient>
44
+ <linearGradient id="paint6_linear_4755_4247" x1="2" y1="21" x2="6.23811" y2="28.637" gradientUnits="userSpaceOnUse">
45
+ <stop stop-color="#2B6B9F"/>
46
+ <stop offset="1" stop-color="#D5FFCB"/>
47
+ </linearGradient>
48
+ <linearGradient id="paint7_linear_4755_4247" x1="8" y1="23" x2="12.4092" y2="25.6484" gradientUnits="userSpaceOnUse">
49
+ <stop stop-color="#2B6B9F"/>
50
+ <stop offset="1" stop-color="#D5FFCB"/>
51
+ </linearGradient>
52
+ <linearGradient id="paint8_linear_4755_4247" x1="24" y1="23" x2="19.5908" y2="25.6484" gradientUnits="userSpaceOnUse">
53
+ <stop stop-color="#2B6B9F"/>
54
+ <stop offset="1" stop-color="#D5FFCB"/>
55
+ </linearGradient>
56
+ <linearGradient id="paint9_linear_4755_4247" x1="30" y1="21" x2="25.7619" y2="28.637" gradientUnits="userSpaceOnUse">
57
+ <stop stop-color="#2B6B9F"/>
58
+ <stop offset="1" stop-color="#D5FFCB"/>
59
+ </linearGradient>
60
+ <linearGradient id="paint10_linear_4755_4247" x1="1" y1="25" x2="2.99779" y2="27" gradientUnits="userSpaceOnUse">
61
+ <stop stop-color="#2B6B9F"/>
62
+ <stop offset="1" stop-color="#D5FFCB"/>
63
+ </linearGradient>
64
+ <linearGradient id="paint11_linear_4755_4247" x1="7" y1="27" x2="8.99779" y2="29" gradientUnits="userSpaceOnUse">
65
+ <stop stop-color="#2B6B9F"/>
66
+ <stop offset="1" stop-color="#D5FFCB"/>
67
+ </linearGradient>
68
+ <linearGradient id="paint12_linear_4755_4247" x1="13" y1="29" x2="14.9978" y2="31" gradientUnits="userSpaceOnUse">
69
+ <stop stop-color="#2B6B9F"/>
70
+ <stop offset="1" stop-color="#D5FFCB"/>
71
+ </linearGradient>
72
+ <linearGradient id="paint13_linear_4755_4247" x1="17" y1="31" x2="18.9978" y2="33" gradientUnits="userSpaceOnUse">
73
+ <stop stop-color="#2B6B9F"/>
74
+ <stop offset="1" stop-color="#D5FFCB"/>
75
+ </linearGradient>
76
+ <linearGradient id="paint14_linear_4755_4247" x1="23" y1="27" x2="24.9978" y2="29" gradientUnits="userSpaceOnUse">
77
+ <stop stop-color="#2B6B9F"/>
78
+ <stop offset="1" stop-color="#D5FFCB"/>
79
+ </linearGradient>
80
+ <linearGradient id="paint15_linear_4755_4247" x1="29" y1="25" x2="30.9978" y2="27" gradientUnits="userSpaceOnUse">
81
+ <stop stop-color="#2B6B9F"/>
82
+ <stop offset="1" stop-color="#D5FFCB"/>
83
+ </linearGradient>
84
+ </defs>
85
+ </svg>
@@ -0,0 +1,22 @@
1
+ <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M22 2L26 6V28C26 29.1046 25.1046 30 24 30H8C6.89543 30 6 29.1046 6 28V4C6 2.89543 6.89543 2 8 2H22Z" fill="url(#paint0_linear_4777_3590)"/>
3
+ <path d="M10 5L8 7.5L10 10" stroke="white"/>
4
+ <path d="M15.6667 5L17.6667 7.5L15.6667 10" stroke="white"/>
5
+ <path d="M24 13L12 13" stroke="white" stroke-linecap="square"/>
6
+ <path d="M24 16H12" stroke="white" stroke-linecap="square"/>
7
+ <path d="M24 19H12" stroke="white" stroke-linecap="square"/>
8
+ <path d="M24 22H12" stroke="white" stroke-linecap="square"/>
9
+ <path d="M24 25H12" stroke="white" stroke-linecap="square"/>
10
+ <path d="M9 13H8" stroke="white" stroke-linecap="square"/>
11
+ <path d="M14 5L13 10" stroke="white" stroke-linecap="square"/>
12
+ <path d="M9 16H8" stroke="white" stroke-linecap="square"/>
13
+ <path d="M9 19H8" stroke="white" stroke-linecap="square"/>
14
+ <path d="M9 22H8" stroke="white" stroke-linecap="square"/>
15
+ <path d="M9 25H8" stroke="white" stroke-linecap="square"/>
16
+ <defs>
17
+ <linearGradient id="paint0_linear_4777_3590" x1="6" y1="2" x2="32.4667" y2="20.9257" gradientUnits="userSpaceOnUse">
18
+ <stop stop-color="#2B6B9F"/>
19
+ <stop offset="1" stop-color="#D5FFCB"/>
20
+ </linearGradient>
21
+ </defs>
22
+ </svg>
@@ -0,0 +1,48 @@
1
+ <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="0.25" y="3.25" width="27.5" height="24.5" rx="0.75" fill="url(#paint0_linear_4755_4196)" stroke="url(#paint1_linear_4755_4196)" stroke-width="0.5"/>
3
+ <circle cx="22.5" cy="22.5" r="4.5" fill="white"/>
4
+ <path d="M0 8.5H27.5" stroke="url(#paint2_linear_4755_4196)" stroke-width="0.5"/>
5
+ <rect x="3.25" y="11.25" width="3.5" height="3.5" fill="white" stroke="url(#paint3_linear_4755_4196)" stroke-width="0.5"/>
6
+ <mask id="path-5-inside-1_4755_4196" fill="white">
7
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M20.6001 13H24.4001V14.487C25.343 14.7098 26.2232 15.0946 27.0098 15.6106L28.3537 14.2667L31.0407 16.9537L29.6242 18.3702C30.023 19.0567 30.3255 19.8062 30.513 20.6H32V24.4H30.513C30.3078 25.2686 29.9651 26.084 29.509 26.8221L31.0406 28.3537L28.3536 31.0407L26.822 29.5091C26.084 29.9651 25.2685 30.3079 24.3999 30.5131V32H20.5999V30.513C19.806 30.3255 19.0565 30.023 18.37 29.6242L16.9535 31.0406L14.2665 28.3536L15.6104 27.0097C15.0945 26.2231 14.7097 25.3429 14.4869 24.4H13V20.6H14.4869C14.6917 19.7333 15.0334 18.9195 15.488 18.1828L14.2666 17.0287L16.8765 14.2667L18.1744 15.4932C18.9134 15.036 19.7301 14.6925 20.6001 14.487V13ZM22.5002 26.4583C24.6863 26.4583 26.4585 24.6861 26.4585 22.5C26.4585 20.3139 24.6863 18.5417 22.5002 18.5417C20.3141 18.5417 18.5419 20.3139 18.5419 22.5C18.5419 24.6861 20.3141 26.4583 22.5002 26.4583Z"/>
8
+ </mask>
9
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M20.6001 13H24.4001V14.487C25.343 14.7098 26.2232 15.0946 27.0098 15.6106L28.3537 14.2667L31.0407 16.9537L29.6242 18.3702C30.023 19.0567 30.3255 19.8062 30.513 20.6H32V24.4H30.513C30.3078 25.2686 29.9651 26.084 29.509 26.8221L31.0406 28.3537L28.3536 31.0407L26.822 29.5091C26.084 29.9651 25.2685 30.3079 24.3999 30.5131V32H20.5999V30.513C19.806 30.3255 19.0565 30.023 18.37 29.6242L16.9535 31.0406L14.2665 28.3536L15.6104 27.0097C15.0945 26.2231 14.7097 25.3429 14.4869 24.4H13V20.6H14.4869C14.6917 19.7333 15.0334 18.9195 15.488 18.1828L14.2666 17.0287L16.8765 14.2667L18.1744 15.4932C18.9134 15.036 19.7301 14.6925 20.6001 14.487V13ZM22.5002 26.4583C24.6863 26.4583 26.4585 24.6861 26.4585 22.5C26.4585 20.3139 24.6863 18.5417 22.5002 18.5417C20.3141 18.5417 18.5419 20.3139 18.5419 22.5C18.5419 24.6861 20.3141 26.4583 22.5002 26.4583Z" fill="url(#paint4_linear_4755_4196)"/>
10
+ <path d="M24.4001 13H24.9001V12.5H24.4001V13ZM20.6001 13V12.5H20.1001V13H20.6001ZM24.4001 14.487H23.9001V14.8827L24.2851 14.9736L24.4001 14.487ZM27.0098 15.6106L26.7356 16.0287L27.0757 16.2518L27.3634 15.9642L27.0098 15.6106ZM28.3537 14.2667L28.7073 13.9131L28.3537 13.5596L28.0002 13.9131L28.3537 14.2667ZM31.0407 16.9537L31.3943 17.3073L31.7478 16.9537L31.3943 16.6002L31.0407 16.9537ZM29.6242 18.3702L29.2707 18.0167L28.9986 18.2887L29.1919 18.6214L29.6242 18.3702ZM30.513 20.6L30.0264 20.7149L30.1173 21.1H30.513V20.6ZM32 20.6H32.5V20.1H32V20.6ZM32 24.4V24.9H32.5V24.4H32ZM30.513 24.4V23.9H30.1173L30.0264 24.285L30.513 24.4ZM29.509 26.8221L29.0837 26.5592L28.8757 26.8958L29.1555 27.1756L29.509 26.8221ZM31.0406 28.3537L31.3942 28.7072L31.7477 28.3537L31.3942 28.0001L31.0406 28.3537ZM28.3536 31.0407L28.0001 31.3942L28.3536 31.7478L28.7072 31.3942L28.3536 31.0407ZM26.822 29.5091L27.1756 29.1555L26.8958 28.8757L26.5592 29.0837L26.822 29.5091ZM24.3999 30.5131L24.285 30.0264L23.8999 30.1174V30.5131H24.3999ZM24.3999 32V32.5H24.8999V32H24.3999ZM20.5999 32H20.0999V32.5H20.5999V32ZM20.5999 30.513H21.0999V30.1174L20.7149 30.0264L20.5999 30.513ZM18.37 29.6242L18.6211 29.1918L18.2885 28.9986L18.0164 29.2706L18.37 29.6242ZM16.9535 31.0406L16.6 31.3942L16.9535 31.7477L17.3071 31.3942L16.9535 31.0406ZM14.2665 28.3536L13.913 28.0001L13.5594 28.3536L13.913 28.7072L14.2665 28.3536ZM15.6104 27.0097L15.964 27.3633L16.2516 27.0756L16.0285 26.7355L15.6104 27.0097ZM14.4869 24.4L14.9735 24.2851L14.8826 23.9H14.4869V24.4ZM13 24.4H12.5V24.9H13V24.4ZM13 20.6V20.1H12.5V20.6H13ZM14.4869 20.6V21.1H14.8826L14.9736 20.715L14.4869 20.6ZM15.488 18.1828L15.9135 18.4453L16.1272 18.0989L15.8314 17.8194L15.488 18.1828ZM14.2666 17.0287L13.9032 16.6853L13.5598 17.0487L13.9232 17.3921L14.2666 17.0287ZM16.8765 14.2667L17.2199 13.9033L16.8565 13.5599L16.5131 13.9233L16.8765 14.2667ZM18.1744 15.4932L17.831 15.8566L18.1105 16.1206L18.4375 15.9184L18.1744 15.4932ZM20.6001 14.487L20.715 14.9736L21.1001 14.8826V14.487H20.6001ZM24.4001 12.5H20.6001V13.5H24.4001V12.5ZM24.9001 14.487V13H23.9001V14.487H24.9001ZM27.2841 15.1925C26.4498 14.6453 25.5157 14.2368 24.515 14.0004L24.2851 14.9736C25.1702 15.1827 25.9967 15.544 26.7356 16.0287L27.2841 15.1925ZM28.0002 13.9131L26.6563 15.257L27.3634 15.9642L28.7073 14.6203L28.0002 13.9131ZM31.3943 16.6002L28.7073 13.9131L28.0002 14.6203L30.6872 17.3073L31.3943 16.6002ZM29.9778 18.7238L31.3943 17.3073L30.6872 16.6002L29.2707 18.0167L29.9778 18.7238ZM30.9996 20.485C30.8006 19.6426 30.4796 18.8473 30.0566 18.1191L29.1919 18.6214C29.5664 19.2661 29.8503 19.9697 30.0264 20.7149L30.9996 20.485ZM32 20.1H30.513V21.1H32V20.1ZM32.5 24.4V20.6H31.5V24.4H32.5ZM30.513 24.9H32V23.9H30.513V24.9ZM29.9344 27.0849C30.4181 26.302 30.7819 25.4368 30.9996 24.5149L30.0264 24.285C29.8338 25.1004 29.512 25.866 29.0837 26.5592L29.9344 27.0849ZM31.3942 28.0001L29.8626 26.4685L29.1555 27.1756L30.6871 28.7072L31.3942 28.0001ZM28.7072 31.3942L31.3942 28.7072L30.6871 28.0001L28.0001 30.6871L28.7072 31.3942ZM26.4685 29.8626L28.0001 31.3942L28.7072 30.6871L27.1756 29.1555L26.4685 29.8626ZM24.5149 30.9997C25.4367 30.7819 26.302 30.4182 27.0848 29.9344L26.5592 29.0837C25.866 29.5121 25.1004 29.8338 24.285 30.0264L24.5149 30.9997ZM24.8999 32V30.5131H23.8999V32H24.8999ZM20.5999 32.5H24.3999V31.5H20.5999V32.5ZM20.0999 30.513V32H21.0999V30.513H20.0999ZM18.1188 30.0565C18.8471 30.4796 19.6424 30.8006 20.485 30.9997L20.7149 30.0264C19.9696 29.8504 19.2659 29.5664 18.6211 29.1918L18.1188 30.0565ZM17.3071 31.3942L18.7235 29.9777L18.0164 29.2706L16.6 30.6871L17.3071 31.3942ZM13.913 28.7072L16.6 31.3942L17.3071 30.6871L14.6201 28.0001L13.913 28.7072ZM15.2569 26.6562L13.913 28.0001L14.6201 28.7072L15.964 27.3633L15.2569 26.6562ZM14.0003 24.515C14.2367 25.5156 14.6451 26.4496 15.1923 27.2839L16.0285 26.7355C15.5439 25.9966 15.1826 25.1702 14.9735 24.2851L14.0003 24.515ZM13 24.9H14.4869V23.9H13V24.9ZM12.5 20.6V24.4H13.5V20.6H12.5ZM14.4869 20.1H13V21.1H14.4869V20.1ZM15.0625 17.9202C14.5803 18.7017 14.2176 19.5652 14.0003 20.4851L14.9736 20.715C15.1657 19.9014 15.4865 19.1373 15.9135 18.4453L15.0625 17.9202ZM15.8314 17.8194L14.61 16.6653L13.9232 17.3921L15.1446 18.5462L15.8314 17.8194ZM14.63 17.3721L17.2399 14.6101L16.5131 13.9233L13.9032 16.6853L14.63 17.3721ZM16.5331 14.6301L17.831 15.8566L18.5178 15.1297L17.2199 13.9033L16.5331 14.6301ZM20.4851 14.0004C19.5618 14.2185 18.6952 14.583 17.9114 15.0679L18.4375 15.9184C19.1315 15.489 19.8983 15.1665 20.715 14.9736L20.4851 14.0004ZM20.1001 13V14.487H21.1001V13H20.1001ZM25.9585 22.5C25.9585 24.41 24.4102 25.9583 22.5002 25.9583V26.9583C24.9625 26.9583 26.9585 24.9623 26.9585 22.5H25.9585ZM22.5002 19.0417C24.4102 19.0417 25.9585 20.59 25.9585 22.5H26.9585C26.9585 20.0377 24.9625 18.0417 22.5002 18.0417V19.0417ZM19.0419 22.5C19.0419 20.59 20.5902 19.0417 22.5002 19.0417V18.0417C20.0379 18.0417 18.0419 20.0377 18.0419 22.5H19.0419ZM22.5002 25.9583C20.5902 25.9583 19.0419 24.41 19.0419 22.5H18.0419C18.0419 24.9623 20.0379 26.9583 22.5002 26.9583V25.9583Z" fill="white" mask="url(#path-5-inside-1_4755_4196)"/>
11
+ <rect x="4.25" y="0.25" width="2.5" height="5.5" rx="1.25" fill="white" stroke="url(#paint5_linear_4755_4196)" stroke-width="0.5"/>
12
+ <rect x="21.25" y="0.25" width="2.5" height="5.5" rx="1.25" fill="white" stroke="url(#paint6_linear_4755_4196)" stroke-width="0.5"/>
13
+ <path d="M22 20V23.9C22 23.9552 22.0448 24 22.1 24H24" stroke="url(#paint7_linear_4755_4196)" stroke-width="0.5"/>
14
+ <defs>
15
+ <linearGradient id="paint0_linear_4755_4196" x1="0" y1="3" x2="24.8097" y2="30.8177" gradientUnits="userSpaceOnUse">
16
+ <stop stop-color="#2B6B9F"/>
17
+ <stop offset="1" stop-color="#D5FFCB"/>
18
+ </linearGradient>
19
+ <linearGradient id="paint1_linear_4755_4196" x1="0" y1="3" x2="24.8097" y2="30.8177" gradientUnits="userSpaceOnUse">
20
+ <stop stop-color="#2B6B9F"/>
21
+ <stop offset="1" stop-color="#D5FFCB"/>
22
+ </linearGradient>
23
+ <linearGradient id="paint2_linear_4755_4196" x1="0" y1="8.5" x2="0.0724708" y2="10.4952" gradientUnits="userSpaceOnUse">
24
+ <stop stop-color="#2B6B9F"/>
25
+ <stop offset="1" stop-color="#D5FFCB"/>
26
+ </linearGradient>
27
+ <linearGradient id="paint3_linear_4755_4196" x1="3" y1="11" x2="6.99557" y2="15" gradientUnits="userSpaceOnUse">
28
+ <stop stop-color="#2B6B9F"/>
29
+ <stop offset="1" stop-color="#D5FFCB"/>
30
+ </linearGradient>
31
+ <linearGradient id="paint4_linear_4755_4196" x1="13" y1="13" x2="31.979" y2="32" gradientUnits="userSpaceOnUse">
32
+ <stop stop-color="#2B6B9F"/>
33
+ <stop offset="1" stop-color="#D5FFCB"/>
34
+ </linearGradient>
35
+ <linearGradient id="paint5_linear_4755_4196" x1="4" y1="0" x2="8.79788" y2="2.4016" gradientUnits="userSpaceOnUse">
36
+ <stop stop-color="#2B6B9F"/>
37
+ <stop offset="1" stop-color="#D5FFCB"/>
38
+ </linearGradient>
39
+ <linearGradient id="paint6_linear_4755_4196" x1="21" y1="0" x2="25.7979" y2="2.4016" gradientUnits="userSpaceOnUse">
40
+ <stop stop-color="#2B6B9F"/>
41
+ <stop offset="1" stop-color="#D5FFCB"/>
42
+ </linearGradient>
43
+ <linearGradient id="paint7_linear_4755_4196" x1="22" y1="20" x2="25.1986" y2="21.6011" gradientUnits="userSpaceOnUse">
44
+ <stop stop-color="#2B6B9F"/>
45
+ <stop offset="1" stop-color="#D5FFCB"/>
46
+ </linearGradient>
47
+ </defs>
48
+ </svg>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eohjsc/react-native-smart-city",
3
3
  "title": "React Native Smart Home",
4
- "version": "0.6.2",
4
+ "version": "0.7.3-rc1",
5
5
  "description": "TODO",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -61,45 +61,10 @@
61
61
  "author": "Your Name <yourname@email.com>",
62
62
  "license": "MIT",
63
63
  "licenseFilename": "LICENSE",
64
- "peerDependencies": {
65
- "@react-native-community/clipboard": "*",
66
- "react": "*",
67
- "react-native": "*"
68
- },
69
- "devDependencies": {
70
- "@babel/core": "^7.12.9",
71
- "@babel/runtime": "^7.12.5",
72
- "@react-native-community/eslint-config": "^2.0.0",
73
- "@types/jest": "^26.0.19",
74
- "@types/react": "^17.0.0",
75
- "@types/react-native": "^0.63.43",
76
- "@types/react-test-renderer": "^17.0.0",
77
- "axios-mock-adapter": "^1.21.1",
78
- "babel-jest": "^26.6.3",
79
- "detox": "^18.3.1",
80
- "eslint": "7.14.0",
81
- "eslint-plugin-promise": "^4.2.1",
82
- "eslint-plugin-react": "^7.21.5",
83
- "eslint-plugin-react-native": "^3.10.0",
84
- "factory-girl": "^5.0.4",
85
- "husky": "^8.0.1",
86
- "jest": "^26.6.3",
87
- "jest-circus": "^26.6.3",
88
- "jetifier": "^1.6.6",
89
- "lint-staged": "^12.4.1",
90
- "metro-react-native-babel-preset": "^0.66.2",
91
- "node-html-parser": "^2.0.2",
92
- "react": "17.0.2",
93
- "react-native": "0.66.0",
94
- "react-native-svg-transformer": "^0.14.3",
95
- "react-test-renderer": "17.0.2",
96
- "reactotron-react-native": "^3.6.4",
97
- "typescript": "^4.1.3"
98
- },
99
64
  "dependencies": {
100
- "@ant-design/icons-react-native": "^2.2.1",
101
- "@ant-design/react-native": "^4.0.5",
65
+ "@babel/core": "^7.12.9",
102
66
  "@babel/helper-environment-visitor": "^7.16.7",
67
+ "@babel/runtime": "^7.12.5",
103
68
  "@eohjsc/react-native-keyboard-aware-scroll-view": "^0.9.5",
104
69
  "@formatjs/intl-getcanonicallocales": "^1.4.5",
105
70
  "@formatjs/intl-numberformat": "^5.6.2",
@@ -107,55 +72,71 @@
107
72
  "@invertase/react-native-apple-authentication": "^1.1.2",
108
73
  "@messageformat/core": "^3.0.0",
109
74
  "@miblanchard/react-native-slider": "^2.2.0",
110
- "@react-native-clipboard/clipboard": "^1.11.1",
111
- "@react-native-community/async-storage": "^1.12.1",
112
- "@react-native-community/cameraroll": "^4.0.0",
113
- "@react-native-community/checkbox": "^0.5.5",
75
+ "@react-native-async-storage/async-storage": "^1.23.1",
76
+ "@react-native-clipboard/clipboard": "^1.14.1",
77
+ "@react-native-community/checkbox": "^0.5.17",
114
78
  "@react-native-community/datetimepicker": "https://github.com/hinh-eoh/datepicker",
79
+ "@react-native-community/eslint-config": "^2.0.0",
115
80
  "@react-native-community/geolocation": "^2.0.2",
116
- "@react-native-community/masked-view": "^0.1.10",
117
81
  "@react-native-community/netinfo": "^9.3.4",
118
- "@react-native-community/segmented-control": "^2.1.1",
119
82
  "@react-native-community/slider": "^3.0.3",
120
83
  "@react-native-community/toolbar-android": "^0.1.0-rc.2",
121
- "@react-native-picker/picker": "^1.16.7",
122
- "@react-navigation/bottom-tabs": "^5.8.0",
123
- "@react-navigation/drawer": "^5.9.0",
124
- "@react-navigation/native": "^5.7.0",
125
- "@react-navigation/stack": "^5.7.0",
126
- "@sentry/react-native": "^1.7.1",
84
+ "@react-native-segmented-control/segmented-control": "^2.5.2",
85
+ "@react-navigation/bottom-tabs": "^6.5.20",
86
+ "@react-navigation/drawer": "^6.6.15",
87
+ "@react-navigation/native": "^6.1.17",
88
+ "@react-navigation/native-stack": "^6.11.0",
89
+ "@sentry/react-native": "^5.24.1",
127
90
  "@testing-library/react-hooks": "^6.0.0",
91
+ "@types/jest": "^26.0.19",
92
+ "@types/react": "^17.0.0",
93
+ "@types/react-native": "^0.63.43",
94
+ "@types/react-test-renderer": "^17.0.0",
128
95
  "apisauce": "^2.1.5",
129
96
  "axios": "^0.19.2",
97
+ "axios-mock-adapter": "^1.21.1",
98
+ "babel-jest": "^26.6.3",
130
99
  "base-64": "^1.0.0",
131
100
  "deprecated-react-native-prop-types": "^2.3.0",
101
+ "detox": "^18.3.1",
132
102
  "dotenv": "^8.2.0",
103
+ "eslint": "7.14.0",
104
+ "eslint-plugin-promise": "^4.2.1",
105
+ "eslint-plugin-react": "^7.21.5",
106
+ "eslint-plugin-react-native": "^3.10.0",
107
+ "factory-girl": "^5.0.4",
133
108
  "google-libphonenumber": "^3.2.10",
134
109
  "home-assistant-js-websocket": "^5.7.0",
110
+ "husky": "^8.0.1",
135
111
  "i18n-js": "^3.7.1",
136
112
  "i18next": "^20.1.0",
113
+ "jest": "^26.6.3",
114
+ "jest-circus": "^26.6.3",
115
+ "jetifier": "^1.6.6",
116
+ "lint-staged": "^12.4.1",
137
117
  "lodash": "^4.17.19",
138
- "lottie-react-native": "4.0.3",
118
+ "lottie-react-native": "^6.7.2",
119
+ "metro-react-native-babel-preset": "^0.66.2",
139
120
  "moment": "^2.27.0",
140
121
  "moment-timezone": "^0.5.32",
122
+ "node-html-parser": "^2.0.2",
141
123
  "numeral": "^2.0.6",
142
124
  "patch-package": "^6.2.2",
143
125
  "pluralize": "^8.0.0",
144
126
  "postinstall": "^0.7.0",
145
127
  "precompiled-mqtt": "^4.3.14-beta",
146
- "pusher-js": "^7.4.0",
128
+ "pusher-js": "^8.4.0-rc2",
147
129
  "pusher-js-auth": "^4.0.1",
148
130
  "python-struct": "^1.1.3",
149
131
  "querystring": "^0.2.0",
132
+ "react": "18.2.0",
150
133
  "react-content-loader": "^6.0.3",
151
- "react-dom": "^17.0.1",
152
- "react-hooks-global-state": "^2.0.0",
134
+ "react-dom": "18.2.0",
135
+ "react-hooks-global-state": "^2.1.0",
153
136
  "react-i18next": "^11.8.12",
137
+ "react-native": "0.71.19",
154
138
  "react-native-alert-async": "^1.0.5",
155
- "react-native-android-keyboard-adjust": "^1.2.0",
156
139
  "react-native-android-location-enabler": "^1.2.2",
157
- "react-native-android-wifi": "^0.0.41",
158
- "react-native-appearance": "^0.3.4",
159
140
  "react-native-base64": "^0.1.0",
160
141
  "react-native-ble-plx": "^2.0.3",
161
142
  "react-native-bootsplash": "^2.2.5",
@@ -167,9 +148,9 @@
167
148
  "react-native-deep-linking": "^2.2.0",
168
149
  "react-native-device-info": "^10.3.0",
169
150
  "react-native-draggable-flatlist": "^2.6.2",
170
- "react-native-fast-image": "^8.3.2",
151
+ "react-native-fast-image": "^8.6.3",
171
152
  "react-native-geocoder": "^0.5.0",
172
- "react-native-gesture-handler": "^1.7.0",
153
+ "react-native-gesture-handler": "^2.17.1",
173
154
  "react-native-get-location": "^2.0.0",
174
155
  "react-native-image-crop-picker": "^0.37.2",
175
156
  "react-native-image-resizer": "^1.4.5",
@@ -177,40 +158,42 @@
177
158
  "react-native-iphone-x-helper": "^1.2.1",
178
159
  "react-native-linear-gradient": "^2.5.6",
179
160
  "react-native-localize": "^1.4.1",
180
- "react-native-maps": "0.27.1",
181
- "react-native-maps-directions": "^1.8.0",
182
- "react-native-modal": "^11.5.6",
183
- "react-native-modal-datetime-picker": "^8.9.3",
161
+ "react-native-maps": "^1.15.6",
162
+ "react-native-modal": "^13.0.1",
163
+ "react-native-modal-datetime-picker": "^17.1.0",
184
164
  "react-native-new-snap-carousel": "^3.9.3",
185
165
  "react-native-onesignal": "^4.3.1",
186
166
  "react-native-pager-view": "^5.4.1",
187
167
  "react-native-parallax-scroll-view": "^0.21.3",
188
168
  "react-native-parsed-text": "^0.0.22",
189
169
  "react-native-permissions": "3.6.0",
190
- "react-native-popover-view": "^4.0.3",
170
+ "react-native-popover-view": "^5.1.8",
191
171
  "react-native-progress": "^5.0.0",
192
- "react-native-reanimated": "1.10.1",
172
+ "react-native-reanimated": "3.3.0",
193
173
  "react-native-responsive-fontsize": "^0.5.1",
194
174
  "react-native-safe-area-context": "^3.1.1",
195
- "react-native-screens": "^2.9.0",
175
+ "react-native-screens": "^3.32.0",
196
176
  "react-native-super-grid": "^4.0.3",
197
177
  "react-native-svg": "^12.1.0",
178
+ "react-native-svg-transformer": "^0.14.3",
198
179
  "react-native-toast-message": "^2.1.1",
199
- "react-native-udp": "4.1.3",
180
+ "react-native-udp": "^4.1.7",
181
+ "react-native-vector-icons": "^10.1.0",
200
182
  "react-native-version-check": "^3.4.2",
201
183
  "react-native-vlc-media-player": "^1.0.67",
202
- "react-native-webview": "11.22.7",
184
+ "react-native-webview": "^13.10.5",
203
185
  "react-native-wheel-color-picker": "^1.2.0",
204
186
  "react-native-wheel-scrollview-picker": "^1.2.2",
205
187
  "react-native-wifi-reborn": "4.5.0",
206
- "react-navigation": "^2.2.0",
188
+ "react-test-renderer": "18.2.0",
207
189
  "string-format": "^2.0.0",
208
190
  "sync-directory": "^5.1.7",
209
191
  "timezone-mock": "^1.1.3",
192
+ "typescript": "^4.1.3",
210
193
  "uuid-by-string": "^3.0.2",
211
194
  "uuidv4": "^6.2.13",
212
195
  "validator": "^13.1.1",
213
- "victory-native": "^35.0.1"
196
+ "victory-native": "^41.0.1"
214
197
  },
215
198
  "bugs": {
216
199
  "url": "https://github.com/github_account/react-native-smart-city/issues"
@@ -113,7 +113,7 @@ const ItemQuickAction = memo(({ sensor, wrapperStyle, setStatus }) => {
113
113
  >
114
114
  <View style={wrapperStyle}>
115
115
  <IconComponent
116
- icon={action?.icon_kit || action?.icon || 'PoweroffOutlined'}
116
+ icon={action?.icon_kit || action?.icon || 'poweroff'}
117
117
  isOn={isOn}
118
118
  size={20}
119
119
  />
@@ -6,8 +6,8 @@ import { Colors } from '../../../configs';
6
6
  import { AccessibilityLabel } from '../../../configs/Constants';
7
7
  import { factory } from 'factory-girl';
8
8
  import IconComponent from '../../IconComponent';
9
- import { IconOutline } from '@ant-design/icons-react-native';
10
9
  import Toast from 'react-native-toast-message';
10
+ import AntDesign from 'react-native-vector-icons/AntDesign';
11
11
  class Sensor {}
12
12
 
13
13
  factory.define('Sensor', Sensor, {});
@@ -94,7 +94,7 @@ describe('Test ItemQuickAction', () => {
94
94
  await buttonOnActionPress.props.onPress();
95
95
  });
96
96
 
97
- const icon = instance.findByType(IconOutline);
97
+ const icon = instance.findByType(AntDesign);
98
98
  expect(icon.props.color).toEqual(Colors.TextGray);
99
99
  });
100
100
 
@@ -1,6 +1,6 @@
1
1
  import React, { useCallback, useEffect, useState } from 'react';
2
2
  import { View, TouchableOpacity, ActivityIndicator } from 'react-native';
3
- import { IconOutline } from '@ant-design/icons-react-native';
3
+ import AntDesign from 'react-native-vector-icons/AntDesign';
4
4
  import { Colors } from '../../configs';
5
5
 
6
6
  import Text from '../Text';
@@ -116,7 +116,7 @@ const NumberUpDownActionTemplate = ({
116
116
  onPress={doActionDown}
117
117
  accessibilityLabel={AccessibilityLabel.NUMBER_ACTION_DOWN}
118
118
  >
119
- <IconOutline name="down" size={32} color={Colors.Primary} />
119
+ <AntDesign name="down" size={32} color={Colors.Primary} />
120
120
  </TouchableOpacity>
121
121
 
122
122
  <Text accessibilityLabel={'text_format'} type="H2">
@@ -132,7 +132,7 @@ const NumberUpDownActionTemplate = ({
132
132
  onPress={doActionUp}
133
133
  accessibilityLabel={AccessibilityLabel.NUMBER_ACTION_UP}
134
134
  >
135
- <IconOutline name="up" size={32} color={Colors.Primary} />
135
+ <AntDesign name="up" size={32} color={Colors.Primary} />
136
136
  </TouchableOpacity>
137
137
  </View>
138
138
  </View>
@@ -1,5 +1,5 @@
1
1
  import React, { memo } from 'react';
2
- import { IconOutline } from '@ant-design/icons-react-native';
2
+ import AntDesign from 'react-native-vector-icons/AntDesign';
3
3
  import { Switch, View } from 'react-native';
4
4
  import styles from './ButtonWrapperStyles';
5
5
  import Text from '../../../Text';
@@ -28,7 +28,7 @@ const ButtonWrapper = memo(
28
28
  </View>
29
29
  ) : (
30
30
  <View style={styles.wrapHeadline}>
31
- <IconOutline name={'lock'} size={20} color={Colors.Gray9} />
31
+ <AntDesign name={'lock'} size={20} color={Colors.Gray9} />
32
32
  <Text style={styles.textAutoLock}>
33
33
  {isButtonEnable ? t('auto_lock_enabled') : t('auto_lock_when')}
34
34
  </Text>
@@ -49,7 +49,7 @@ const ButtonWrapper = memo(
49
49
  <Text type="Body" style={styles.textValue}>
50
50
  {t('instant')}
51
51
  </Text>
52
- <IconOutline name="right" size={20} color={Colors.Gray7} />
52
+ <AntDesign name="right" size={20} color={Colors.Gray7} />
53
53
  </View>
54
54
  )}
55
55
  {isButtonReLockTiming && (
@@ -18,7 +18,7 @@ describe('Test ItemPasscode', () => {
18
18
  tree = await create(wrapComponent());
19
19
  });
20
20
  const instance = tree.root;
21
- const TouchableOpacities = instance.findAllByType(TouchableOpacity);
22
- expect(TouchableOpacities).toHaveLength(2);
21
+ const touchableOpacities = instance.findAllByType(TouchableOpacity);
22
+ expect(touchableOpacities).toHaveLength(2);
23
23
  });
24
24
  });
@@ -18,10 +18,10 @@ const wrapComponent = () => (
18
18
  describe('Test SetupGeneratePasscode', () => {
19
19
  let tree;
20
20
 
21
- const mockNavigate = useNavigation().navigate;
21
+ const mockedNavigate = useNavigation().navigate;
22
22
 
23
23
  beforeEach(() => {
24
- mockNavigate.mockClear();
24
+ mockedNavigate.mockClear();
25
25
  });
26
26
 
27
27
  it('render PasscodeList', async () => {
@@ -41,7 +41,7 @@ describe('Test SetupGeneratePasscode', () => {
41
41
  await act(async () => {
42
42
  await passcode_list[0].props.onPress();
43
43
  });
44
- expect(mockNavigate).toBeCalledWith(Routes.SmartLockStack, {
44
+ expect(global.mockedNavigate).toBeCalledWith(Routes.SmartLockStack, {
45
45
  screen: Routes.ItemPasscode,
46
46
  params: {
47
47
  item: { code: 123361, name: 'Do Loi' },
@@ -1,6 +1,6 @@
1
1
  import React, { memo, useCallback, useMemo } from 'react';
2
2
  import { TextInput, View, TouchableOpacity } from 'react-native';
3
- import { IconOutline } from '@ant-design/icons-react-native';
3
+ import AntDesign from 'react-native-vector-icons/AntDesign';
4
4
  import { useNavigation } from '@react-navigation/native';
5
5
 
6
6
  import Text from '../../../Text';
@@ -39,7 +39,7 @@ const PasscodeList = memo(() => {
39
39
  <View style={styles.wrap}>
40
40
  <View style={styles.searchBox}>
41
41
  <View>
42
- <IconOutline name="search" size={24} style={styles.search} />
42
+ <AntDesign name="search" size={24} style={styles.search} />
43
43
  </View>
44
44
  <TextInput
45
45
  placeholder={t('search')}
@@ -58,7 +58,7 @@ const PasscodeList = memo(() => {
58
58
  <Text style={styles.textCode}>{item.code}</Text>
59
59
  <Text style={styles.textName}>{item.name}</Text>
60
60
  </View>
61
- <IconOutline name="right" size={20} color={Colors.Gray8} />
61
+ <AntDesign name="right" size={20} color={Colors.Gray8} />
62
62
  </TouchableOpacity>
63
63
  ))}
64
64
  </View>
@@ -1,5 +1,5 @@
1
1
  import React, { memo } from 'react';
2
- import { IconOutline } from '@ant-design/icons-react-native';
2
+ import AntDesign from 'react-native-vector-icons/AntDesign';
3
3
  import { Text, TouchableOpacity, View } from 'react-native';
4
4
 
5
5
  import { RadioCircle } from '../../..';
@@ -50,7 +50,7 @@ const ButtonWrapper = memo(
50
50
  {isButtonChooseUser && (
51
51
  <TouchableOpacity style={styles.buttonValue}>
52
52
  <Text style={styles.value}>{value}</Text>
53
- <IconOutline name="right" size={20} color={Colors.Gray8} />
53
+ <AntDesign name="right" size={20} color={Colors.Gray8} />
54
54
  </TouchableOpacity>
55
55
  )}
56
56
  {isButtonSetTime && (