@eohjsc/react-native-smart-city 0.2.21 → 0.2.27

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 (404) hide show
  1. package/README.md +1 -1
  2. package/assets/images/Add.svg +5 -0
  3. package/assets/images/AddLocationMaps/Point.svg +3 -0
  4. package/assets/images/CheckCircle.svg +4 -0
  5. package/assets/images/Close.svg +3 -0
  6. package/assets/images/HowToStart.svg +14 -0
  7. package/assets/images/Illustrations.svg +83 -0
  8. package/assets/images/OneTap.svg +14 -0
  9. package/assets/images/OneTap@1x.svg +14 -0
  10. package/assets/images/Rearrange.svg +3 -0
  11. package/assets/images/Schedule.svg +39 -0
  12. package/assets/images/ValueChange.svg +49 -0
  13. package/index.js +2 -0
  14. package/package.json +14 -2
  15. package/src/Images/Common/ActiveButton.png +0 -0
  16. package/src/Images/Common/ActiveButton@2x.png +0 -0
  17. package/src/Images/Common/ActiveButton@3x.png +0 -0
  18. package/src/Images/Common/arrow-back.png +0 -0
  19. package/src/Images/Common/checked@2x.png +0 -0
  20. package/src/Images/Common/checked@3x.png +0 -0
  21. package/src/Images/Common/file.png +0 -0
  22. package/src/Images/Common/fullscreen.png +0 -0
  23. package/src/Images/Common/refresh.png +0 -0
  24. package/src/commons/ActionGroup/NumberUpDownActionTemplate.js +1 -1
  25. package/src/commons/ActionGroup/OnOffTemplate/index.js +9 -4
  26. package/src/commons/ActionGroup/OptionsDropdownActionTemplate.js +4 -3
  27. package/src/commons/ActionGroup/StatesGridActionTemplate.js +2 -2
  28. package/src/commons/ActionGroup/ThreeButtonTemplate.js +13 -6
  29. package/src/commons/ActionGroup/ThreeButtonTemplateStyle.js +1 -1
  30. package/src/commons/ActionGroup/TimerActionTemplate.js +158 -33
  31. package/src/commons/ActionGroup/__test__/NumberUpDownTemplate.test.js +294 -0
  32. package/src/commons/ActionGroup/__test__/NumberUpDownTemplateWithNullConfigValue.test.js +60 -0
  33. package/src/commons/ActionGroup/__test__/OnOffButtonTemplate.test.js +8 -13
  34. package/src/commons/ActionGroup/__test__/OnOffTemplate.test.js +3 -3
  35. package/src/commons/ActionGroup/__test__/OptionsDropdownTemplate.test.js +26 -45
  36. package/src/commons/ActionGroup/__test__/ThreeButtonTemplate.test.js +11 -5
  37. package/src/commons/ActionGroup/__test__/TimerActionTemplate.test.js +14 -8
  38. package/src/commons/ActionGroup/__test__/TimerActionTemplateWithutConfigValue.test.js +17 -23
  39. package/src/commons/ActionGroup/__test__/__snapshots__/ThreeButtonTemplate.test.js.snap +241 -223
  40. package/src/commons/ActionGroup/__test__/index.test.js +39 -107
  41. package/src/commons/ActionGroup/hooks/useDropdownAction.js +2 -1
  42. package/src/commons/ActionTemplate/ActionTemplateStyles.js +14 -0
  43. package/src/commons/ActionTemplate/OnOffButtonAction.js +40 -0
  44. package/src/commons/ActionTemplate/OnOffButtonActionStyles.js +11 -0
  45. package/src/commons/ActionTemplate/OneButtonAction.js +26 -0
  46. package/src/commons/ActionTemplate/OneButtonActionStyles.js +11 -0
  47. package/src/commons/ActionTemplate/ThreeButtonAction.js +55 -0
  48. package/src/commons/ActionTemplate/ThreeButtonActionStyles.js +11 -0
  49. package/src/commons/ActionTemplate/__test__/OnOffButtonAction.test.js +34 -0
  50. package/src/commons/ActionTemplate/__test__/OneButtonAction.test.js +33 -0
  51. package/src/commons/ActionTemplate/__test__/ThreeButtonAction.test.js +35 -0
  52. package/src/commons/ActionTemplate/__test__/index.test.js +71 -0
  53. package/src/commons/ActionTemplate/index.js +69 -0
  54. package/src/commons/AlertAction/__test__/AlertAction.test.js +6 -6
  55. package/src/commons/AlertAction/index.js +2 -0
  56. package/src/commons/Automate/ItemAddNewScriptActionStyles.js +38 -0
  57. package/src/commons/Automate/ItemAutomate.js +39 -0
  58. package/src/commons/Automate/ItemAutomateStyles.js +33 -0
  59. package/src/commons/Automate/ItemScriptAction.js +45 -0
  60. package/src/commons/Automate/ItemScriptActionStyles.js +42 -0
  61. package/src/commons/Automate/__test__/ItemAutomate.test.js +16 -0
  62. package/src/commons/Automate/__test__/ItemScriptAction.test.js +16 -0
  63. package/src/commons/BackDefault/__test__/BackDefault.test.js +21 -0
  64. package/src/commons/BottomScrollPicker/index.js +62 -0
  65. package/src/commons/BottomScrollPicker/styles.js +13 -0
  66. package/src/commons/BottomSheet/index.js +41 -0
  67. package/src/commons/BottomSheet/styles.js +37 -0
  68. package/src/commons/Button/index.js +6 -1
  69. package/src/commons/ButtonPopup/__test__/__snapshots__/ButtonPopup.test.js.snap +2 -0
  70. package/src/commons/ButtonPopup/index.js +2 -0
  71. package/src/commons/Calendar/index.js +72 -0
  72. package/src/commons/Calendar/styles.js +11 -0
  73. package/src/commons/CameraDevice/index.js +2 -1
  74. package/src/commons/ChartLoading/__test__/ChartLoading.test.js +9 -7
  75. package/src/commons/ChartLoading/index.js +2 -1
  76. package/src/commons/DateTimeRangeChange/index.js +2 -1
  77. package/src/commons/Device/ConnectedViewHeader.js +3 -1
  78. package/src/commons/Device/DeviceAlertStatus.js +5 -2
  79. package/src/commons/Device/DisconnectedView.js +34 -26
  80. package/src/commons/Device/Emergency/EmergencyButton.js +2 -1
  81. package/src/commons/Device/Emergency/EmergencyDetail.js +2 -1
  82. package/src/commons/Device/Emergency/__test__/EmergencyButton.test.js +14 -6
  83. package/src/commons/Device/Emergency/__test__/EmergencyDetail.test.js +10 -2
  84. package/src/commons/Device/FlatListItems.js +3 -2
  85. package/src/commons/Device/FooterInfo.js +2 -1
  86. package/src/commons/Device/HistoryChart.js +2 -1
  87. package/src/commons/Device/ItemAddNew/index.js +8 -3
  88. package/src/commons/Device/SensorConnectedStatus.js +2 -1
  89. package/src/commons/Device/WindDirection/Compass/Compass.test.js +19 -11
  90. package/src/commons/Device/WindDirection/Compass/index.js +1 -1
  91. package/src/commons/Device/WindSpeed/LinearChart/__test__/LinearChart.test.js +9 -3
  92. package/src/commons/Device/WindSpeed/LinearChart/__test__/__snapshots__/LinearChart.test.js.snap +0 -81
  93. package/src/commons/Device/WindSpeed/LinearChart/index.js +2 -1
  94. package/src/commons/Device/__test__/ConnectedViewHeader.test.js +16 -8
  95. package/src/commons/Device/__test__/DeviceAlertStatus.test.js +13 -5
  96. package/src/commons/Device/__test__/DisconnectedView.test.js +13 -5
  97. package/src/commons/Device/__test__/FlatListItems.test.js +9 -1
  98. package/src/commons/Device/__test__/FooterInfo.test.js +13 -4
  99. package/src/commons/Device/__test__/SensorConnectedStatus.test.js +9 -1
  100. package/src/commons/Device/__test__/__snapshots__/DisconnectedView.test.js.snap +20 -20
  101. package/src/commons/DisplayChecking/__test__/DisplayChecking.test.js +28 -0
  102. package/src/commons/EmergencyButton/AlertSendConfirm.js +2 -1
  103. package/src/commons/EmergencyButton/AlertSent.js +3 -2
  104. package/src/commons/Explore/CityItem/index.js +2 -1
  105. package/src/commons/Explore/HeaderExplore/index.js +2 -1
  106. package/src/commons/Explore/HeaderLabel/index.js +2 -1
  107. package/src/commons/Explore/SearchBox/__test__/SearchBox.test.js +9 -2
  108. package/src/commons/Explore/SearchBox/index.js +2 -1
  109. package/src/commons/Explore/__test__/CityItem.test.js +13 -15
  110. package/src/commons/Explore/__test__/HeaderExplore.test.js +11 -7
  111. package/src/commons/Explore/__test__/HeaderLabel.test.js +15 -9
  112. package/src/commons/Explore/__test__/LocationItem.test.js +31 -0
  113. package/src/commons/Header/HeaderCustom.js +22 -2
  114. package/src/commons/Header/Styles/HeaderCustomStyles.js +2 -2
  115. package/src/commons/Header/__test__/HeaderCT.test.js +12 -4
  116. package/src/commons/HeaderAni/index.js +36 -5
  117. package/src/commons/HorizontalPicker/index.js +134 -0
  118. package/src/commons/HorizontalPicker/styles.js +56 -0
  119. package/src/commons/ImagePicker/__test__/ImagePicker.test.js +19 -13
  120. package/src/commons/ImagePicker/index.js +3 -1
  121. package/src/commons/MediaPlayer/index.js +2 -1
  122. package/src/commons/MediaPlayerDetail/__test__/MediaPlayerDetail.test.js +14 -8
  123. package/src/commons/MediaPlayerDetail/index.js +4 -1
  124. package/src/commons/MenuActionAddnew/__test__/MenuActionAddNew.test.js +11 -20
  125. package/src/commons/MenuActionAddnew/index.js +2 -1
  126. package/src/commons/Modal/ModalBottom.js +51 -0
  127. package/src/commons/Modal/ModalFullVideo.js +2 -1
  128. package/src/commons/Modal/Styles/ModalBottomStyles.js +35 -0
  129. package/src/commons/Modal/__test__/ModalBottom.test.js +39 -0
  130. package/src/commons/Modal/index.js +2 -1
  131. package/src/commons/NavBar/index.js +2 -2
  132. package/src/commons/RowItem/__test__/RowItem.test.js +16 -0
  133. package/src/commons/RowItem/index.js +61 -0
  134. package/src/commons/RowItem/styles.js +53 -0
  135. package/src/commons/SelectActionCard/SelectActionStyles.js +16 -0
  136. package/src/commons/SelectActionCard/index.js +30 -0
  137. package/src/commons/Sharing/DevicePermissionsCheckbox.js +2 -1
  138. package/src/commons/Sharing/MemberList.js +3 -1
  139. package/src/commons/Sharing/RowMember.js +3 -2
  140. package/src/commons/Sharing/StationDevicePermissions.js +2 -1
  141. package/src/commons/Sharing/WrapHeaderScrollable.js +78 -74
  142. package/src/commons/Sharing/__test__/DevicePermissionsCheckbox.test.js +15 -9
  143. package/src/commons/Sharing/__test__/MemberList.test.js +17 -25
  144. package/src/commons/Sharing/__test__/StationDevicePermission.test.js +17 -12
  145. package/src/commons/Sharing/__test__/WrapHeaderScrollable.test.js +0 -9
  146. package/src/commons/SubUnit/OneTap/ItemOneTap.js +101 -0
  147. package/src/commons/SubUnit/OneTap/ItemOneTapStyles.js +41 -0
  148. package/src/commons/SubUnit/OneTap/OneTapStyles.js +36 -0
  149. package/src/commons/SubUnit/OneTap/__test__/SubUnitAutomate.test.js +195 -0
  150. package/src/commons/SubUnit/OneTap/index.js +39 -0
  151. package/src/commons/SubUnit/ShortDetail.js +11 -6
  152. package/src/commons/SubUnit/__test__/ShortDetail.test.js +14 -6
  153. package/src/commons/Today/__test__/Today.test.js +9 -1
  154. package/src/commons/Today/__test__/__snapshots__/Today.test.js.snap +1 -1
  155. package/src/commons/Today/index.js +2 -1
  156. package/src/commons/Unit/SharedUnit.js +2 -1
  157. package/src/commons/Unit/__test__/SharedUnit.test.js +330 -0
  158. package/src/commons/UnitSummary/AirQuality/SegmentedRoundDisplay/index.js +1 -2
  159. package/src/commons/UnitSummary/AirQuality/__test__/index.test.js +16 -17
  160. package/src/commons/UnitSummary/AirQuality/index.js +5 -120
  161. package/src/commons/UnitSummary/AirQuality/styles.js +112 -0
  162. package/src/commons/UnitSummary/TotalPowerConsumption/index.js +2 -1
  163. package/src/commons/UnitSummary/__test__/TotalPowerConsumption.test.js +15 -9
  164. package/src/commons/WheelDateTimePicker/Picker.js +57 -0
  165. package/src/commons/WheelDateTimePicker/index.js +168 -0
  166. package/src/commons/WheelDateTimePicker/styles.js +21 -0
  167. package/src/commons/index.js +2 -0
  168. package/src/configs/API.js +29 -0
  169. package/src/configs/Colors.js +1 -0
  170. package/src/configs/Constants.js +61 -0
  171. package/src/configs/Images.js +1 -0
  172. package/src/configs/SCConfig.js +7 -0
  173. package/src/configs/Theme.js +20 -0
  174. package/src/context/SCContext.tsx +9 -39
  175. package/src/context/actionType.ts +11 -0
  176. package/src/context/mockStore.ts +51 -0
  177. package/src/context/reducer.ts +23 -0
  178. package/src/hooks/Common/__test__/useStatusbar.test.js +28 -0
  179. package/src/hooks/Common/__test__/useTranslations.test.js +23 -0
  180. package/src/hooks/Common/index.js +2 -0
  181. package/src/hooks/Common/useGetIdUser.js +9 -0
  182. package/src/hooks/Common/useTranslations.ts +34 -0
  183. package/src/iot/Monitor.js +2 -1
  184. package/src/iot/RemoteControl/Bluetooth.js +2 -6
  185. package/src/iot/RemoteControl/GoogleHome.js +1 -1
  186. package/src/iot/RemoteControl/Internet.js +1 -1
  187. package/src/iot/RemoteControl/LG.js +57 -15
  188. package/src/iot/RemoteControl/__test__/Bluetooth.test.js +3 -5
  189. package/src/iot/RemoteControl/__test__/GoogleHome.test.js +3 -3
  190. package/src/iot/RemoteControl/__test__/Internet.test.js +1 -8
  191. package/src/iot/RemoteControl/__test__/LgThinq.test.js +7 -10
  192. package/src/iot/RemoteControl/index.js +1 -1
  193. package/src/iot/states.js +1 -0
  194. package/src/navigations/AutomateStack.js +45 -0
  195. package/src/navigations/SharedStack.js +2 -1
  196. package/src/navigations/UnitStack.js +86 -6
  197. package/src/navigations/utils.js +8 -0
  198. package/src/screens/AQIGuide/__test__/AQIGuide.test.js +9 -1
  199. package/src/screens/AQIGuide/index.js +2 -2
  200. package/src/screens/ActivityLog/__test__/index.test.js +14 -39
  201. package/src/screens/ActivityLog/index.js +2 -1
  202. package/src/screens/AddCommon/SelectSubUnit.js +5 -4
  203. package/src/screens/AddCommon/SelectUnit.js +3 -2
  204. package/src/screens/AddCommon/__test__/SelectSubUnit.test.js +61 -0
  205. package/src/screens/AddCommon/__test__/SelectUnit.test.js +18 -10
  206. package/src/screens/AddLocationMaps/index.js +2 -1
  207. package/src/screens/AddNewAction/Components/LoadingSelectAction.js +40 -0
  208. package/src/screens/AddNewAction/Components/index.js +3 -0
  209. package/src/screens/AddNewAction/Device/DeviceStyles.js +43 -0
  210. package/src/screens/AddNewAction/Device/__test__/index.test.js +42 -0
  211. package/src/screens/AddNewAction/Device/index.js +33 -0
  212. package/src/screens/AddNewAction/SelectAction.js +237 -0
  213. package/src/screens/AddNewAction/SelectSensorDevices.js +150 -0
  214. package/src/screens/AddNewAction/SetupSensor.js +221 -0
  215. package/src/screens/AddNewAction/Styles/SelectActionStyles.js +62 -0
  216. package/src/screens/AddNewAction/Styles/SelectSensorDevicesStyles.js +36 -0
  217. package/src/screens/AddNewAction/Styles/SetupSensorStyles.js +76 -0
  218. package/src/screens/AddNewAction/__test__/SelectAction.test.js +153 -0
  219. package/src/screens/AddNewAction/__test__/SelectSensorDevices.test.js +191 -0
  220. package/src/screens/AddNewAction/__test__/SetupSensor.test.js +125 -0
  221. package/src/screens/AddNewAutoSmart/__test__/AddNewAutoSmart.test.js +112 -0
  222. package/src/screens/AddNewAutoSmart/index.js +113 -0
  223. package/src/screens/AddNewAutoSmart/styles/AddNewAutoSmartStyles.js +36 -0
  224. package/src/screens/AddNewDevice/ConnectDevices.js +2 -1
  225. package/src/screens/AddNewDevice/ConnectingDevices.js +2 -1
  226. package/src/screens/AddNewDevice/__test__/AddNewDevice.test.js +29 -13
  227. package/src/screens/AddNewDevice/__test__/ConnectDevices.test.js +19 -7
  228. package/src/screens/AddNewDevice/__test__/ConnectingDevices.test.js +16 -6
  229. package/src/screens/AddNewDevice/hooks/useStateAlertRename.js +2 -1
  230. package/src/screens/AddNewDevice/index.js +2 -1
  231. package/src/screens/AddNewGateway/ConnectedGateway.js +2 -1
  232. package/src/screens/AddNewGateway/ConnectingGateway.js +99 -24
  233. package/src/screens/AddNewGateway/ConnectingGatewayStyles.js +92 -0
  234. package/src/screens/AddNewGateway/SetupGatewayWifi.js +3 -2
  235. package/src/screens/AddNewGateway/__test__/AddNewGateway.test.js +35 -72
  236. package/src/screens/AddNewGateway/__test__/ConnectedGateway.test.js +14 -4
  237. package/src/screens/AddNewGateway/__test__/ConnectingGateway.test.js +20 -10
  238. package/src/screens/AddNewGateway/hooks/useStateAlertRename.js +2 -1
  239. package/src/screens/AddNewGateway/index.js +2 -1
  240. package/src/screens/AddNewOneTap/AddNewOneTapStyles.js +44 -0
  241. package/src/screens/AddNewOneTap/__test__/AddNewOneTap.test.js +130 -0
  242. package/src/screens/AddNewOneTap/index.js +83 -0
  243. package/src/screens/AllCamera/__test__/index.test.js +103 -0
  244. package/src/screens/AllCamera/index.js +2 -1
  245. package/src/screens/Automate/Components/Loading.js +64 -0
  246. package/src/screens/Automate/Styles/indexStyles.js +64 -0
  247. package/src/screens/Automate/__test__/Loading.test.js +16 -0
  248. package/src/screens/Automate/__test__/index.test.js +93 -0
  249. package/src/screens/Automate/index.js +148 -0
  250. package/src/screens/Device/HeaderDevice/styles.js +2 -2
  251. package/src/screens/Device/__test__/detail.test.js +90 -18
  252. package/src/screens/Device/detail.js +73 -35
  253. package/src/screens/Device/hooks/useCountUp.js +4 -0
  254. package/src/screens/Device/hooks/useEmergencyButton.js +3 -2
  255. package/src/screens/Device/styles.js +5 -1
  256. package/src/screens/DeviceInfo/__test__/index.test.js +12 -3
  257. package/src/screens/DeviceInfo/index.js +2 -1
  258. package/src/screens/EditActionsList/Styles/indexStyles.js +84 -0
  259. package/src/screens/EditActionsList/index.js +186 -0
  260. package/src/screens/EmergencyContacts/EmergencyContactsAddNew.js +3 -2
  261. package/src/screens/EmergencyContacts/EmergencyContactsList.js +9 -2
  262. package/src/screens/EmergencyContacts/EmergencyContactsSelectContacts.js +2 -1
  263. package/src/screens/EmergencyContacts/__test__/EmergencyContactAddNew.test.js +15 -18
  264. package/src/screens/EmergencyContacts/__test__/EmergencyContactList.test.js +19 -23
  265. package/src/screens/EmergencyContacts/__test__/EmergencyContactsSelectContacts.test.js +10 -25
  266. package/src/screens/EmergencyContacts/hook.js +3 -2
  267. package/src/screens/Explore/index.js +3 -2
  268. package/src/screens/GuestInfo/__test__/index.test.js +176 -0
  269. package/src/screens/GuestInfo/components/AccessScheduleItem.js +32 -0
  270. package/src/screens/GuestInfo/components/AccessScheduleSheet.js +204 -0
  271. package/src/screens/GuestInfo/components/HeaderGuestInfo.js +36 -0
  272. package/src/screens/GuestInfo/components/RecurringDetail.js +106 -0
  273. package/src/screens/GuestInfo/components/RowGuestInfo.js +31 -0
  274. package/src/screens/GuestInfo/components/TemporaryDetail.js +53 -0
  275. package/src/screens/GuestInfo/constant.js +59 -0
  276. package/src/screens/GuestInfo/index.js +150 -0
  277. package/src/screens/GuestInfo/styles/AccessScheduleDetailStyles.js +31 -0
  278. package/src/screens/GuestInfo/styles/AccessScheduleItemStyles.js +22 -0
  279. package/src/screens/GuestInfo/styles/HeaderGuestInfoStyles.js +31 -0
  280. package/src/screens/GuestInfo/styles/indexStyles.js +38 -0
  281. package/src/screens/ManageAccess/__test__/ManageAccess.test.js +13 -1
  282. package/src/screens/ManageAccess/hooks/index.js +4 -0
  283. package/src/screens/ManageAccess/index.js +49 -20
  284. package/src/screens/ManageAccess/styles/ManageAccessStyles.js +3 -0
  285. package/src/screens/PlayBackCamera/Timer.js +1 -1
  286. package/src/screens/PlayBackCamera/index.js +9 -5
  287. package/src/screens/ScanChipQR/__test__/ScanChipQR.test.js +2 -11
  288. package/src/screens/ScanChipQR/components/QRScan/index.js +2 -1
  289. package/src/screens/ScriptDetail/Styles/indexStyles.js +157 -0
  290. package/src/screens/ScriptDetail/__test__/index.test.js +119 -0
  291. package/src/screens/ScriptDetail/hooks/index.js +55 -0
  292. package/src/screens/ScriptDetail/index.js +344 -0
  293. package/src/screens/SelectUnit/Styles/indexStyles.js +55 -0
  294. package/src/screens/SelectUnit/__test__/index.test.js +85 -0
  295. package/src/screens/SelectUnit/index.js +100 -0
  296. package/src/screens/SetSchedule/__test__/index.test.js +97 -0
  297. package/src/screens/SetSchedule/components/RepeatOptionsPopup.js +56 -0
  298. package/src/screens/SetSchedule/components/RowItem.js +27 -0
  299. package/src/screens/SetSchedule/components/SelectWeekday.js +65 -0
  300. package/src/screens/SetSchedule/index.js +139 -0
  301. package/src/screens/SetSchedule/styles/RepeatOptionsPopupStyles.js +22 -0
  302. package/src/screens/SetSchedule/styles/RowItemStyles.js +29 -0
  303. package/src/screens/SetSchedule/styles/SelectWeekdayStyles.js +26 -0
  304. package/src/screens/SetSchedule/styles/indexStyles.js +22 -0
  305. package/src/screens/SharedUnit/TabHeader.js +2 -1
  306. package/src/screens/SharedUnit/__test__/TabHeader.test.js +40 -0
  307. package/src/screens/SharedUnit/index.js +3 -2
  308. package/src/screens/Sharing/MemberList.js +2 -1
  309. package/src/screens/Sharing/SelectPermission.js +2 -1
  310. package/src/screens/Sharing/SelectUser.js +3 -2
  311. package/src/screens/Sharing/__test__/MemberList.test.js +25 -28
  312. package/src/screens/Sharing/__test__/SelectPermission.test.js +16 -8
  313. package/src/screens/Sharing/__test__/SelectUser.test.js +33 -15
  314. package/src/screens/Sharing/hooks/index.js +22 -17
  315. package/src/screens/SubUnit/AddSubUnit.js +3 -2
  316. package/src/screens/SubUnit/Detail.js +5 -4
  317. package/src/screens/SubUnit/EditSubUnit.js +274 -0
  318. package/src/screens/SubUnit/EditSubUnitStyles.js +119 -0
  319. package/src/screens/SubUnit/ManageSubUnit.js +114 -371
  320. package/src/screens/SubUnit/ManageSubUnitStyles.js +40 -0
  321. package/src/screens/SubUnit/__test__/AddSubUnit.test.js +17 -11
  322. package/src/screens/SubUnit/__test__/Detail.test.js +11 -31
  323. package/src/screens/SubUnit/__test__/EditSubUnit.test.js +427 -0
  324. package/src/screens/SubUnit/__test__/ManageSubUnit.test.js +51 -384
  325. package/src/screens/SubUnit/hooks/__test__/useManageSubUnit.test.js +85 -0
  326. package/src/screens/SubUnit/hooks/useManageSubUnit.js +35 -0
  327. package/src/screens/SyncLGDevice/AddLGDevice.js +3 -2
  328. package/src/screens/TDSGuide/__test__/TDSGuide.test.js +9 -1
  329. package/src/screens/TDSGuide/index.js +2 -1
  330. package/src/screens/UVIndexGuide/__test__/UVIndexGuide.test.js +9 -1
  331. package/src/screens/UVIndexGuide/index.js +2 -1
  332. package/src/screens/Unit/AddMenu.js +3 -2
  333. package/src/screens/Unit/Detail.js +66 -20
  334. package/src/screens/Unit/ManageUnit/index.js +4 -3
  335. package/src/screens/Unit/ManageUnit.js +15 -4
  336. package/src/screens/Unit/MoreMenu.js +3 -2
  337. package/src/screens/Unit/SelectLocation.js +8 -2
  338. package/src/screens/Unit/SelectLocationStyles.js +11 -0
  339. package/src/screens/Unit/__test__/AddMenu.test.js +15 -15
  340. package/src/screens/Unit/__test__/CheckSendEmail.test.js +19 -10
  341. package/src/screens/Unit/__test__/Detail.test.js +92 -33
  342. package/src/screens/Unit/__test__/ManageUnit.test.js +16 -23
  343. package/src/screens/Unit/components/Header/index.js +2 -1
  344. package/src/screens/Unit/components/ListMyAllUnit/index.js +2 -1
  345. package/src/screens/Unit/components/MyUnit/index.js +2 -1
  346. package/src/screens/Unit/components/SearchLocation/__test__/RowLocation.test.js +36 -0
  347. package/src/screens/Unit/components/SearchLocation/index.js +2 -1
  348. package/src/screens/Unit/components/SharedUnit/index.js +2 -1
  349. package/src/screens/Unit/components/__test__/MyUnit.test.js +22 -72
  350. package/src/screens/Unit/components/__test__/MyUnitDevice.test.js +32 -0
  351. package/src/screens/Unit/components/__test__/SharedUnit.test.js +11 -2
  352. package/src/screens/UnitSummary/__test__/index.test.js +12 -4
  353. package/src/screens/UnitSummary/components/3PPowerConsumption/__test__/3PPowerConsumption.test.js +13 -3
  354. package/src/screens/UnitSummary/components/3PPowerConsumption/index.js +2 -1
  355. package/src/screens/UnitSummary/components/PowerConsumption/__test__/PowerConsumption.test.js +16 -12
  356. package/src/screens/UnitSummary/components/PowerConsumption/index.js +2 -1
  357. package/src/screens/UnitSummary/components/RunningDevices/__test__/index.test.js +2 -2
  358. package/src/screens/UnitSummary/components/Temperature/index.js +2 -1
  359. package/src/screens/UnitSummary/components/TotalPowerConsumption/index.js +2 -1
  360. package/src/screens/UnitSummary/components/UvIndex/__test__/__snapshots__/index.test.js.snap +37 -37
  361. package/src/screens/UnitSummary/components/UvIndex/__test__/index.test.js +14 -6
  362. package/src/screens/UnitSummary/components/UvIndex/index.js +2 -1
  363. package/src/screens/UnitSummary/components/WaterQuality/__test__/index.test.js +11 -5
  364. package/src/screens/UnitSummary/components/WaterQuality/index.js +2 -1
  365. package/src/screens/UnitSummary/components/__test__/TotalPowerConsumption.test.js +13 -7
  366. package/src/screens/UnitSummary/components/__test__/UnitSummary.test.js +67 -0
  367. package/src/screens/UnitSummary/components/__test__/index.test.js +48 -0
  368. package/src/screens/UnitSummary/components/index.js +1 -37
  369. package/src/screens/UnitSummary/components/indexstyles.js +39 -0
  370. package/src/screens/UnitSummary/index.js +2 -1
  371. package/src/screens/WaterQualityGuide/__test__/index.test.js +12 -12
  372. package/src/screens/WaterQualityGuide/index.js +2 -1
  373. package/src/utils/Apis/axios.js +0 -4
  374. package/src/utils/Converter/array.js +4 -0
  375. package/src/utils/Converter/time.js +29 -4
  376. package/src/utils/I18n/index.ts +6 -0
  377. package/src/utils/I18n/translations/en.json +77 -5
  378. package/src/utils/I18n/translations/vi.json +73 -3
  379. package/src/utils/I18n/translations.ts +45 -0
  380. package/src/utils/Route/index.js +13 -0
  381. package/src/utils/__test__/InitData.test.js +20 -0
  382. package/src/commons/ChartLoading/__test__/__snapshots__/ChartLoading.test.js.snap +0 -66
  383. package/src/commons/Device/HistoryChart/__test__/HistoryChart.test.js +0 -57
  384. package/src/commons/Device/HistoryChart/__test__/__snapshots__/HistoryChart.test.js.snap +0 -593
  385. package/src/commons/Explore/SearchBox/__test__/__snapshots__/SearchBox.test.js.snap +0 -59
  386. package/src/commons/Header/__test__/Header.test.js +0 -24
  387. package/src/commons/MenuActionAddnew/__test__/__snapshots__/MenuActionAddNew.test.js.snap +0 -788
  388. package/src/commons/Sharing/__test__/__snapshots__/WrapHeaderScrollable.test.js.snap +0 -174
  389. package/src/commons/UnitSummary/AirQuality/__test__/__snapshots__/index.test.js.snap +0 -26679
  390. package/src/iot/RemoteControl/__test__/index.test.js +0 -101
  391. package/src/iot/__test__/Monitor.test.js +0 -119
  392. package/src/screens/EmergencyContacts/__test__/__snapshots__/EmergencyContactAddNew.test.js.snap +0 -1706
  393. package/src/screens/EmergencyContacts/__test__/__snapshots__/EmergencyContactList.test.js.snap +0 -4276
  394. package/src/screens/EmergencyContacts/__test__/__snapshots__/EmergencyContactsSelectContacts.test.js.snap +0 -2240
  395. package/src/screens/SyncLGDevice/__test__/AddLGDevice.test.js +0 -358
  396. package/src/screens/Unit/MyAllUnit/__test__/__snapshots__/index.test.js.snap +0 -1001
  397. package/src/screens/Unit/MyAllUnit/__test__/index.test.js +0 -48
  398. package/src/screens/Unit/components/MyAllUnit/__test__/__snapshots__/index.test.js.snap +0 -1001
  399. package/src/screens/Unit/components/MyAllUnit/__test__/index.test.js +0 -48
  400. package/src/screens/UnitSummary/components/WaterQuality/__test__/__snapshots__/index.test.js.snap +0 -1574
  401. package/src/screens/WaterQualityGuide/__test__/__snapshots__/index.test.js.snap +0 -3375
  402. package/src/utils/Converter/__test__/time.test.js +0 -126
  403. package/src/utils/I18n/index.js +0 -19
  404. package/src/utils/I18n/index.test.js +0 -7
@@ -1,1001 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Test MyAllUnit goback 1`] = `
4
- <RCTSafeAreaView
5
- emulateUnlessSupported={true}
6
- style={
7
- Array [
8
- Object {
9
- "flex": 1,
10
- },
11
- Object {
12
- "backgroundColor": "#FFFFFF",
13
- },
14
- ]
15
- }
16
- >
17
- <View
18
- style={
19
- Array [
20
- undefined,
21
- Object {
22
- "justifyContent": "center",
23
- },
24
- ]
25
- }
26
- >
27
- <Modal
28
- animationType="none"
29
- deviceHeight={null}
30
- deviceWidth={null}
31
- hardwareAccelerated={false}
32
- hideModalContentWhileAnimating={false}
33
- onBackdropPress={[Function]}
34
- onModalHide={[Function]}
35
- onModalWillHide={[Function]}
36
- onModalWillShow={[Function]}
37
- onRequestClose={[Function]}
38
- panResponderThreshold={4}
39
- scrollHorizontal={false}
40
- scrollOffset={0}
41
- scrollOffsetMax={0}
42
- scrollTo={null}
43
- supportedOrientations={
44
- Array [
45
- "portrait",
46
- "landscape",
47
- ]
48
- }
49
- swipeThreshold={100}
50
- transparent={true}
51
- visible={false}
52
- >
53
- <View
54
- accessible={true}
55
- focusable={true}
56
- forwardedRef={[Function]}
57
- onClick={[Function]}
58
- onResponderGrant={[Function]}
59
- onResponderMove={[Function]}
60
- onResponderRelease={[Function]}
61
- onResponderTerminate={[Function]}
62
- onResponderTerminationRequest={[Function]}
63
- onStartShouldSetResponder={[Function]}
64
- style={
65
- Object {
66
- "backgroundColor": "black",
67
- "bottom": 0,
68
- "height": 1334,
69
- "left": 0,
70
- "opacity": 0,
71
- "position": "absolute",
72
- "right": 0,
73
- "top": 0,
74
- "width": 750,
75
- }
76
- }
77
- />
78
- <View
79
- deviceHeight={null}
80
- deviceWidth={null}
81
- forwardedRef={[Function]}
82
- hideModalContentWhileAnimating={false}
83
- onBackdropPress={[Function]}
84
- onModalHide={[Function]}
85
- onModalWillHide={[Function]}
86
- onModalWillShow={[Function]}
87
- panResponderThreshold={4}
88
- pointerEvents="box-none"
89
- scrollHorizontal={false}
90
- scrollOffset={0}
91
- scrollOffsetMax={0}
92
- scrollTo={null}
93
- style={
94
- Object {
95
- "flex": 1,
96
- "justifyContent": "center",
97
- "margin": 0,
98
- "transform": Array [
99
- Object {
100
- "translateY": 0,
101
- },
102
- ],
103
- }
104
- }
105
- supportedOrientations={
106
- Array [
107
- "portrait",
108
- "landscape",
109
- ]
110
- }
111
- swipeThreshold={100}
112
- >
113
- <View
114
- style={
115
- Object {
116
- "backgroundColor": "#FFFFFF",
117
- "borderRadius": 10,
118
- "bottom": 0,
119
- "left": 0,
120
- "position": "absolute",
121
- "width": 750,
122
- }
123
- }
124
- >
125
- <View
126
- style={
127
- Object {
128
- "backgroundColor": "#FFFFFF",
129
- "borderRadius": 10,
130
- "flex": 1,
131
- "flexDirection": "column",
132
- }
133
- }
134
- >
135
- <View
136
- style={
137
- Object {
138
- "alignItems": "center",
139
- "backgroundColor": "#FFFFFF",
140
- "borderBottomWidth": 1,
141
- "borderColor": "#E8E8E8",
142
- "borderTopLeftRadius": 20,
143
- "borderTopRightRadius": 20,
144
- "justifyContent": "center",
145
- "padding": 16,
146
- }
147
- }
148
- >
149
- <Text
150
- style={
151
- Array [
152
- Object {
153
- "color": "#000",
154
- "fontFamily": "SFProDisplay-Regular",
155
- "fontSize": undefined,
156
- "lineHeight": undefined,
157
- "textAlign": "left",
158
- "textDecorationLine": "none",
159
- },
160
- Object {
161
- "color": "#262626",
162
- "fontSize": 16,
163
- "lineHeight": 24,
164
- },
165
- ]
166
- }
167
- >
168
- Thêm
169
- </Text>
170
- </View>
171
- <View
172
- style={
173
- Object {
174
- "alignItems": "center",
175
- "flex": 1,
176
- "flexDirection": "row",
177
- "flexWrap": "wrap",
178
- "justifyContent": "center",
179
- "padding": 16,
180
- }
181
- }
182
- >
183
- <View
184
- style={
185
- Object {
186
- "alignItems": "center",
187
- "flexBasis": "33.33%",
188
- "justifyContent": "center",
189
- }
190
- }
191
- >
192
- <View
193
- accessible={true}
194
- focusable={true}
195
- onClick={[Function]}
196
- onResponderGrant={[Function]}
197
- onResponderMove={[Function]}
198
- onResponderRelease={[Function]}
199
- onResponderTerminate={[Function]}
200
- onResponderTerminationRequest={[Function]}
201
- onStartShouldSetResponder={[Function]}
202
- style={
203
- Object {
204
- "flex": 1,
205
- "opacity": 1,
206
- }
207
- }
208
- >
209
- <View
210
- style={
211
- Array [
212
- undefined,
213
- undefined,
214
- undefined,
215
- ]
216
- }
217
- >
218
- <SvgMock
219
- height={43}
220
- width={43}
221
- />
222
- </View>
223
- </View>
224
- <View
225
- style={
226
- Object {
227
- "marginTop": 10,
228
- }
229
- }
230
- >
231
- <Text
232
- style={
233
- Array [
234
- Object {
235
- "color": "#000",
236
- "fontFamily": "SFProDisplay-Regular",
237
- "fontSize": undefined,
238
- "lineHeight": undefined,
239
- "textAlign": "left",
240
- "textDecorationLine": "none",
241
- },
242
- Object {},
243
- ]
244
- }
245
- styles={
246
- Object {
247
- "color": "#595959",
248
- "fontSize": 14,
249
- "lineHeight": 30,
250
- }
251
- }
252
- >
253
- Thành viên
254
- </Text>
255
- </View>
256
- </View>
257
- </View>
258
- </View>
259
- </View>
260
- </View>
261
- </Modal>
262
- <Modal
263
- hardwareAccelerated={true}
264
- onDismiss={[Function]}
265
- onRequestClose={[Function]}
266
- onShow={[Function]}
267
- supportedOrientations={
268
- Array [
269
- "portrait",
270
- "portrait-upside-down",
271
- "landscape",
272
- ]
273
- }
274
- transparent={true}
275
- visible={false}
276
- />
277
- <View
278
- style={
279
- Array [
280
- Object {
281
- "alignItems": "center",
282
- "backgroundColor": "#FFFFFF",
283
- "flexDirection": "row",
284
- },
285
- Object {
286
- "backgroundColor": "transparent",
287
- },
288
- ]
289
- }
290
- >
291
- <View
292
- onLayout={[Function]}
293
- style={
294
- Array [
295
- Object {
296
- "justifyContent": "center",
297
- },
298
- Object {
299
- "minWidth": 0,
300
- },
301
- ]
302
- }
303
- >
304
- <View
305
- accessible={true}
306
- focusable={true}
307
- onClick={[Function]}
308
- onResponderGrant={[Function]}
309
- onResponderMove={[Function]}
310
- onResponderRelease={[Function]}
311
- onResponderTerminate={[Function]}
312
- onResponderTerminationRequest={[Function]}
313
- onStartShouldSetResponder={[Function]}
314
- style={
315
- Object {
316
- "opacity": 1,
317
- "paddingLeft": 12,
318
- "paddingVertical": 0,
319
- }
320
- }
321
- testID="BACK_DEFAULT_TOUCH"
322
- >
323
- <Text
324
- style={
325
- Array [
326
- Object {
327
- "color": "#000000",
328
- "fontFamily": "antoutline",
329
- "fontSize": 27,
330
- "fontStyle": "normal",
331
- "fontWeight": "normal",
332
- },
333
- undefined,
334
- ]
335
- }
336
- >
337
-
338
- </Text>
339
- </View>
340
- </View>
341
- <View
342
- style={
343
- Object {
344
- "alignItems": "center",
345
- "flex": 1,
346
- "justifyContent": "center",
347
- }
348
- }
349
- >
350
- <Text
351
- numberOfLines={1}
352
- style={
353
- Array [
354
- Object {
355
- "color": "#000",
356
- "fontFamily": "SFProDisplay-Bold",
357
- "fontSize": undefined,
358
- "lineHeight": undefined,
359
- "textAlign": "left",
360
- "textDecorationLine": "none",
361
- },
362
- Object {
363
- "fontSize": 16,
364
- },
365
- ]
366
- }
367
- />
368
- </View>
369
- <View
370
- onLayout={[Function]}
371
- style={
372
- Array [
373
- Object {
374
- "justifyContent": "center",
375
- },
376
- Object {
377
- "minWidth": 0,
378
- },
379
- ]
380
- }
381
- >
382
- <View
383
- style={
384
- Object {
385
- "flexDirection": "row",
386
- "paddingLeft": 5,
387
- "paddingRight": 15,
388
- "paddingTop": 2,
389
- }
390
- }
391
- >
392
- <View
393
- accessible={true}
394
- focusable={true}
395
- onClick={[Function]}
396
- onResponderGrant={[Function]}
397
- onResponderMove={[Function]}
398
- onResponderRelease={[Function]}
399
- onResponderTerminate={[Function]}
400
- onResponderTerminationRequest={[Function]}
401
- onStartShouldSetResponder={[Function]}
402
- style={
403
- Object {
404
- "alignItems": "center",
405
- "alignSelf": "flex-end",
406
- "flexDirection": "row",
407
- "opacity": 1,
408
- }
409
- }
410
- >
411
- <Text
412
- style={
413
- Array [
414
- Object {
415
- "color": "#000000",
416
- "fontFamily": "antoutline",
417
- "fontSize": 32,
418
- "fontStyle": "normal",
419
- "fontWeight": "normal",
420
- },
421
- undefined,
422
- ]
423
- }
424
- >
425
-
426
- </Text>
427
- </View>
428
- <View
429
- accessible={true}
430
- focusable={true}
431
- onClick={[Function]}
432
- onResponderGrant={[Function]}
433
- onResponderMove={[Function]}
434
- onResponderRelease={[Function]}
435
- onResponderTerminate={[Function]}
436
- onResponderTerminationRequest={[Function]}
437
- onStartShouldSetResponder={[Function]}
438
- style={
439
- Object {
440
- "alignItems": "center",
441
- "alignSelf": "flex-end",
442
- "flexDirection": "row",
443
- "opacity": 1,
444
- }
445
- }
446
- >
447
- <Text
448
- style={
449
- Array [
450
- Object {
451
- "color": "#000000",
452
- "fontFamily": "antoutline",
453
- "fontSize": 30,
454
- "fontStyle": "normal",
455
- "fontWeight": "normal",
456
- },
457
- undefined,
458
- ]
459
- }
460
- >
461
-
462
- </Text>
463
- </View>
464
- </View>
465
- </View>
466
- </View>
467
- </View>
468
- <RCTScrollView
469
- contentContainerStyle={
470
- Object {
471
- "flex": 1,
472
- }
473
- }
474
- onScroll={[Function]}
475
- scrollEventThrottle={1}
476
- >
477
- <View>
478
- <View
479
- style={
480
- Object {
481
- "backgroundColor": "#FFFFFF",
482
- "flex": 1,
483
- }
484
- }
485
- >
486
- <RCTScrollView
487
- contentContainerStyle={
488
- Object {
489
- "paddingTop": 20,
490
- }
491
- }
492
- onScroll={[Function]}
493
- scrollEventThrottle={1}
494
- >
495
- <View />
496
- </RCTScrollView>
497
- </View>
498
- </View>
499
- </RCTScrollView>
500
- </RCTSafeAreaView>
501
- `;
502
-
503
- exports[`Test MyAllUnit render MyAllUnit 1`] = `
504
- <RCTSafeAreaView
505
- emulateUnlessSupported={true}
506
- style={
507
- Array [
508
- Object {
509
- "flex": 1,
510
- },
511
- Object {
512
- "backgroundColor": "#FFFFFF",
513
- },
514
- ]
515
- }
516
- >
517
- <View
518
- style={
519
- Array [
520
- undefined,
521
- Object {
522
- "justifyContent": "center",
523
- },
524
- ]
525
- }
526
- >
527
- <Modal
528
- animationType="none"
529
- deviceHeight={null}
530
- deviceWidth={null}
531
- hardwareAccelerated={false}
532
- hideModalContentWhileAnimating={false}
533
- onBackdropPress={[Function]}
534
- onModalHide={[Function]}
535
- onModalWillHide={[Function]}
536
- onModalWillShow={[Function]}
537
- onRequestClose={[Function]}
538
- panResponderThreshold={4}
539
- scrollHorizontal={false}
540
- scrollOffset={0}
541
- scrollOffsetMax={0}
542
- scrollTo={null}
543
- supportedOrientations={
544
- Array [
545
- "portrait",
546
- "landscape",
547
- ]
548
- }
549
- swipeThreshold={100}
550
- transparent={true}
551
- visible={false}
552
- >
553
- <View
554
- accessible={true}
555
- focusable={true}
556
- forwardedRef={[Function]}
557
- onClick={[Function]}
558
- onResponderGrant={[Function]}
559
- onResponderMove={[Function]}
560
- onResponderRelease={[Function]}
561
- onResponderTerminate={[Function]}
562
- onResponderTerminationRequest={[Function]}
563
- onStartShouldSetResponder={[Function]}
564
- style={
565
- Object {
566
- "backgroundColor": "black",
567
- "bottom": 0,
568
- "height": 1334,
569
- "left": 0,
570
- "opacity": 0,
571
- "position": "absolute",
572
- "right": 0,
573
- "top": 0,
574
- "width": 750,
575
- }
576
- }
577
- />
578
- <View
579
- deviceHeight={null}
580
- deviceWidth={null}
581
- forwardedRef={[Function]}
582
- hideModalContentWhileAnimating={false}
583
- onBackdropPress={[Function]}
584
- onModalHide={[Function]}
585
- onModalWillHide={[Function]}
586
- onModalWillShow={[Function]}
587
- panResponderThreshold={4}
588
- pointerEvents="box-none"
589
- scrollHorizontal={false}
590
- scrollOffset={0}
591
- scrollOffsetMax={0}
592
- scrollTo={null}
593
- style={
594
- Object {
595
- "flex": 1,
596
- "justifyContent": "center",
597
- "margin": 0,
598
- "transform": Array [
599
- Object {
600
- "translateY": 0,
601
- },
602
- ],
603
- }
604
- }
605
- supportedOrientations={
606
- Array [
607
- "portrait",
608
- "landscape",
609
- ]
610
- }
611
- swipeThreshold={100}
612
- >
613
- <View
614
- style={
615
- Object {
616
- "backgroundColor": "#FFFFFF",
617
- "borderRadius": 10,
618
- "bottom": 0,
619
- "left": 0,
620
- "position": "absolute",
621
- "width": 750,
622
- }
623
- }
624
- >
625
- <View
626
- style={
627
- Object {
628
- "backgroundColor": "#FFFFFF",
629
- "borderRadius": 10,
630
- "flex": 1,
631
- "flexDirection": "column",
632
- }
633
- }
634
- >
635
- <View
636
- style={
637
- Object {
638
- "alignItems": "center",
639
- "backgroundColor": "#FFFFFF",
640
- "borderBottomWidth": 1,
641
- "borderColor": "#E8E8E8",
642
- "borderTopLeftRadius": 20,
643
- "borderTopRightRadius": 20,
644
- "justifyContent": "center",
645
- "padding": 16,
646
- }
647
- }
648
- >
649
- <Text
650
- style={
651
- Array [
652
- Object {
653
- "color": "#000",
654
- "fontFamily": "SFProDisplay-Regular",
655
- "fontSize": undefined,
656
- "lineHeight": undefined,
657
- "textAlign": "left",
658
- "textDecorationLine": "none",
659
- },
660
- Object {
661
- "color": "#262626",
662
- "fontSize": 16,
663
- "lineHeight": 24,
664
- },
665
- ]
666
- }
667
- >
668
- Thêm
669
- </Text>
670
- </View>
671
- <View
672
- style={
673
- Object {
674
- "alignItems": "center",
675
- "flex": 1,
676
- "flexDirection": "row",
677
- "flexWrap": "wrap",
678
- "justifyContent": "center",
679
- "padding": 16,
680
- }
681
- }
682
- >
683
- <View
684
- style={
685
- Object {
686
- "alignItems": "center",
687
- "flexBasis": "33.33%",
688
- "justifyContent": "center",
689
- }
690
- }
691
- >
692
- <View
693
- accessible={true}
694
- focusable={true}
695
- onClick={[Function]}
696
- onResponderGrant={[Function]}
697
- onResponderMove={[Function]}
698
- onResponderRelease={[Function]}
699
- onResponderTerminate={[Function]}
700
- onResponderTerminationRequest={[Function]}
701
- onStartShouldSetResponder={[Function]}
702
- style={
703
- Object {
704
- "flex": 1,
705
- "opacity": 1,
706
- }
707
- }
708
- >
709
- <View
710
- style={
711
- Array [
712
- undefined,
713
- undefined,
714
- undefined,
715
- ]
716
- }
717
- >
718
- <SvgMock
719
- height={43}
720
- width={43}
721
- />
722
- </View>
723
- </View>
724
- <View
725
- style={
726
- Object {
727
- "marginTop": 10,
728
- }
729
- }
730
- >
731
- <Text
732
- style={
733
- Array [
734
- Object {
735
- "color": "#000",
736
- "fontFamily": "SFProDisplay-Regular",
737
- "fontSize": undefined,
738
- "lineHeight": undefined,
739
- "textAlign": "left",
740
- "textDecorationLine": "none",
741
- },
742
- Object {},
743
- ]
744
- }
745
- styles={
746
- Object {
747
- "color": "#595959",
748
- "fontSize": 14,
749
- "lineHeight": 30,
750
- }
751
- }
752
- >
753
- Thành viên
754
- </Text>
755
- </View>
756
- </View>
757
- </View>
758
- </View>
759
- </View>
760
- </View>
761
- </Modal>
762
- <Modal
763
- hardwareAccelerated={true}
764
- onDismiss={[Function]}
765
- onRequestClose={[Function]}
766
- onShow={[Function]}
767
- supportedOrientations={
768
- Array [
769
- "portrait",
770
- "portrait-upside-down",
771
- "landscape",
772
- ]
773
- }
774
- transparent={true}
775
- visible={false}
776
- />
777
- <View
778
- style={
779
- Array [
780
- Object {
781
- "alignItems": "center",
782
- "backgroundColor": "#FFFFFF",
783
- "flexDirection": "row",
784
- },
785
- Object {
786
- "backgroundColor": "transparent",
787
- },
788
- ]
789
- }
790
- >
791
- <View
792
- onLayout={[Function]}
793
- style={
794
- Array [
795
- Object {
796
- "justifyContent": "center",
797
- },
798
- Object {
799
- "minWidth": 0,
800
- },
801
- ]
802
- }
803
- >
804
- <View
805
- accessible={true}
806
- focusable={true}
807
- onClick={[Function]}
808
- onResponderGrant={[Function]}
809
- onResponderMove={[Function]}
810
- onResponderRelease={[Function]}
811
- onResponderTerminate={[Function]}
812
- onResponderTerminationRequest={[Function]}
813
- onStartShouldSetResponder={[Function]}
814
- style={
815
- Object {
816
- "opacity": 1,
817
- "paddingLeft": 12,
818
- "paddingVertical": 0,
819
- }
820
- }
821
- testID="BACK_DEFAULT_TOUCH"
822
- >
823
- <Text
824
- style={
825
- Array [
826
- Object {
827
- "color": "#000000",
828
- "fontFamily": "antoutline",
829
- "fontSize": 27,
830
- "fontStyle": "normal",
831
- "fontWeight": "normal",
832
- },
833
- undefined,
834
- ]
835
- }
836
- >
837
-
838
- </Text>
839
- </View>
840
- </View>
841
- <View
842
- style={
843
- Object {
844
- "alignItems": "center",
845
- "flex": 1,
846
- "justifyContent": "center",
847
- }
848
- }
849
- >
850
- <Text
851
- numberOfLines={1}
852
- style={
853
- Array [
854
- Object {
855
- "color": "#000",
856
- "fontFamily": "SFProDisplay-Bold",
857
- "fontSize": undefined,
858
- "lineHeight": undefined,
859
- "textAlign": "left",
860
- "textDecorationLine": "none",
861
- },
862
- Object {
863
- "fontSize": 16,
864
- },
865
- ]
866
- }
867
- />
868
- </View>
869
- <View
870
- onLayout={[Function]}
871
- style={
872
- Array [
873
- Object {
874
- "justifyContent": "center",
875
- },
876
- Object {
877
- "minWidth": 0,
878
- },
879
- ]
880
- }
881
- >
882
- <View
883
- style={
884
- Object {
885
- "flexDirection": "row",
886
- "paddingLeft": 5,
887
- "paddingRight": 15,
888
- "paddingTop": 2,
889
- }
890
- }
891
- >
892
- <View
893
- accessible={true}
894
- focusable={true}
895
- onClick={[Function]}
896
- onResponderGrant={[Function]}
897
- onResponderMove={[Function]}
898
- onResponderRelease={[Function]}
899
- onResponderTerminate={[Function]}
900
- onResponderTerminationRequest={[Function]}
901
- onStartShouldSetResponder={[Function]}
902
- style={
903
- Object {
904
- "alignItems": "center",
905
- "alignSelf": "flex-end",
906
- "flexDirection": "row",
907
- "opacity": 1,
908
- }
909
- }
910
- >
911
- <Text
912
- style={
913
- Array [
914
- Object {
915
- "color": "#000000",
916
- "fontFamily": "antoutline",
917
- "fontSize": 32,
918
- "fontStyle": "normal",
919
- "fontWeight": "normal",
920
- },
921
- undefined,
922
- ]
923
- }
924
- >
925
-
926
- </Text>
927
- </View>
928
- <View
929
- accessible={true}
930
- focusable={true}
931
- onClick={[Function]}
932
- onResponderGrant={[Function]}
933
- onResponderMove={[Function]}
934
- onResponderRelease={[Function]}
935
- onResponderTerminate={[Function]}
936
- onResponderTerminationRequest={[Function]}
937
- onStartShouldSetResponder={[Function]}
938
- style={
939
- Object {
940
- "alignItems": "center",
941
- "alignSelf": "flex-end",
942
- "flexDirection": "row",
943
- "opacity": 1,
944
- }
945
- }
946
- >
947
- <Text
948
- style={
949
- Array [
950
- Object {
951
- "color": "#000000",
952
- "fontFamily": "antoutline",
953
- "fontSize": 30,
954
- "fontStyle": "normal",
955
- "fontWeight": "normal",
956
- },
957
- undefined,
958
- ]
959
- }
960
- >
961
-
962
- </Text>
963
- </View>
964
- </View>
965
- </View>
966
- </View>
967
- </View>
968
- <RCTScrollView
969
- contentContainerStyle={
970
- Object {
971
- "flex": 1,
972
- }
973
- }
974
- onScroll={[Function]}
975
- scrollEventThrottle={1}
976
- >
977
- <View>
978
- <View
979
- style={
980
- Object {
981
- "backgroundColor": "#FFFFFF",
982
- "flex": 1,
983
- }
984
- }
985
- >
986
- <RCTScrollView
987
- contentContainerStyle={
988
- Object {
989
- "paddingTop": 20,
990
- }
991
- }
992
- onScroll={[Function]}
993
- scrollEventThrottle={1}
994
- >
995
- <View />
996
- </RCTScrollView>
997
- </View>
998
- </View>
999
- </RCTScrollView>
1000
- </RCTSafeAreaView>
1001
- `;