@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,4276 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`test EmergencyContactList handleRemove 1`] = `
4
- <View
5
- style={
6
- Object {
7
- "backgroundColor": "#FAFAFA",
8
- "flex": 1,
9
- }
10
- }
11
- >
12
- <RCTSafeAreaView
13
- emulateUnlessSupported={true}
14
- style={
15
- Array [
16
- Object {
17
- "flex": 1,
18
- },
19
- undefined,
20
- ]
21
- }
22
- >
23
- <View
24
- style={
25
- Object {
26
- "backgroundColor": "transparent",
27
- "width": "100%",
28
- "zIndex": 2,
29
- }
30
- }
31
- >
32
- <View
33
- style={
34
- Object {
35
- "backgroundColor": "#FAFAFA",
36
- "borderColor": "#BFBFBF",
37
- "borderWidth": 0.5,
38
- "height": 88,
39
- "opacity": 0,
40
- "position": "absolute",
41
- "transform": Array [
42
- Object {
43
- "translateY": 0,
44
- },
45
- ],
46
- "width": "100%",
47
- }
48
- }
49
- />
50
- <View
51
- style={
52
- Object {
53
- "flexDirection": "row",
54
- "justifyContent": "space-between",
55
- }
56
- }
57
- >
58
- <View
59
- accessible={true}
60
- focusable={true}
61
- onClick={[Function]}
62
- onResponderGrant={[Function]}
63
- onResponderMove={[Function]}
64
- onResponderRelease={[Function]}
65
- onResponderTerminate={[Function]}
66
- onResponderTerminationRequest={[Function]}
67
- onStartShouldSetResponder={[Function]}
68
- style={
69
- Object {
70
- "alignItems": "center",
71
- "height": 44,
72
- "justifyContent": "center",
73
- "opacity": 1,
74
- "width": 44,
75
- }
76
- }
77
- >
78
- <Text
79
- style={
80
- Array [
81
- Object {
82
- "color": "#262626",
83
- "fontFamily": "antoutline",
84
- "fontSize": 27,
85
- "fontStyle": "normal",
86
- "fontWeight": "normal",
87
- },
88
- undefined,
89
- ]
90
- }
91
- >
92
-
93
- </Text>
94
- </View>
95
- <View
96
- styles={
97
- Object {
98
- "height": 44,
99
- "width": 44,
100
- }
101
- }
102
- />
103
- </View>
104
- <View
105
- style={
106
- Object {
107
- "backgroundColor": "transparent",
108
- "height": 44,
109
- "justifyContent": "center",
110
- "marginRight": 0,
111
- "transform": Array [
112
- Object {
113
- "translateY": 0,
114
- },
115
- Object {
116
- "translateX": 0,
117
- },
118
- Object {
119
- "scale": 1,
120
- },
121
- ],
122
- }
123
- }
124
- >
125
- <Text
126
- numberOfLines={1}
127
- style={
128
- Array [
129
- Object {
130
- "color": "#000",
131
- "fontFamily": "SFProDisplay-Semibold",
132
- "fontSize": 24,
133
- "lineHeight": 32,
134
- "textAlign": "left",
135
- "textDecorationLine": "none",
136
- },
137
- Object {
138
- "color": "#262626",
139
- "marginLeft": 16,
140
- "width": "100%",
141
- },
142
- ]
143
- }
144
- >
145
- Danh sách liên hệ khẩn cấp
146
- </Text>
147
- </View>
148
- </View>
149
- <RCTScrollView
150
- contentContainerStyle={
151
- Array [
152
- Object {
153
- "paddingBottom": 88,
154
- },
155
- undefined,
156
- ]
157
- }
158
- onMomentumScrollEnd={[Function]}
159
- onScroll={[Function]}
160
- refreshControl={
161
- <RefreshControlMock
162
- refreshing={false}
163
- />
164
- }
165
- scrollEventThrottle={16}
166
- showsVerticalScrollIndicator={false}
167
- style={
168
- Object {
169
- "flex": 1,
170
- "marginBottom": -88,
171
- "paddingTop": 16,
172
- "transform": Array [
173
- Object {
174
- "translateY": 0,
175
- },
176
- ],
177
- }
178
- }
179
- >
180
- <RCTRefreshControl />
181
- <View>
182
- <Text
183
- style={
184
- Array [
185
- Object {
186
- "color": "#595959",
187
- "fontFamily": "SFProDisplay-Regular",
188
- "fontSize": 14,
189
- "lineHeight": 22,
190
- "textAlign": "left",
191
- "textDecorationLine": "none",
192
- },
193
- Object {
194
- "marginBottom": 16,
195
- "marginHorizontal": 16,
196
- },
197
- ]
198
- }
199
- >
200
- Thiết lập danh bạ khẩn cấp cho địa điểm này để có thể liên lạc nhanh khi có tình huống khẩn cấp xảy ra.
201
- </Text>
202
- <View
203
- style={
204
- Array [
205
- Object {
206
- "backgroundColor": "#FFFFFF",
207
- "borderColor": "#E8E8E8",
208
- "borderRadius": 20,
209
- "borderWidth": 1,
210
- "marginBottom": 16,
211
- "paddingBottom": 24,
212
- "paddingHorizontal": 16,
213
- "paddingTop": 8,
214
- },
215
- undefined,
216
- ]
217
- }
218
- >
219
- <View
220
- accessible={true}
221
- focusable={true}
222
- onClick={[Function]}
223
- onResponderGrant={[Function]}
224
- onResponderMove={[Function]}
225
- onResponderRelease={[Function]}
226
- onResponderTerminate={[Function]}
227
- onResponderTerminationRequest={[Function]}
228
- onStartShouldSetResponder={[Function]}
229
- style={
230
- Object {
231
- "alignItems": "center",
232
- "flexDirection": "row",
233
- "paddingVertical": 16,
234
- }
235
- }
236
- >
237
- <View
238
- style={
239
- Array [
240
- Object {
241
- "backgroundColor": "#00979D",
242
- "borderColor": "white",
243
- "borderRadius": 20,
244
- "borderWidth": 0,
245
- "height": 40,
246
- "width": 40,
247
- },
248
- Object {
249
- "alignItems": "center",
250
- "justifyContent": "center",
251
- },
252
- undefined,
253
- ]
254
- }
255
- >
256
- <Text
257
- style={
258
- Array [
259
- Object {
260
- "color": "#FFFFFF",
261
- "fontFamily": "antoutline",
262
- "fontSize": 20,
263
- "fontStyle": "normal",
264
- "fontWeight": "normal",
265
- },
266
- undefined,
267
- ]
268
- }
269
- >
270
-
271
- </Text>
272
- </View>
273
- <View
274
- style={
275
- Object {
276
- "flex": 1,
277
- "marginLeft": 16,
278
- }
279
- }
280
- >
281
- <Text
282
- style={
283
- Array [
284
- Object {
285
- "color": "#00979D",
286
- "fontFamily": "SFProDisplay-Bold",
287
- "fontSize": 16,
288
- "lineHeight": 24,
289
- "textAlign": "left",
290
- "textDecorationLine": "none",
291
- },
292
- Object {},
293
- ]
294
- }
295
- >
296
- Thêm
297
- </Text>
298
- <Text
299
- style={
300
- Array [
301
- Object {
302
- "color": "#BFBFBF",
303
- "fontFamily": "SFProDisplay-Regular",
304
- "fontSize": 12,
305
- "lineHeight": 20,
306
- "textAlign": "left",
307
- "textDecorationLine": "none",
308
- },
309
- Object {
310
- "marginTop": -1,
311
- },
312
- ]
313
- }
314
- >
315
- Tối đa 5 liên hệ
316
- </Text>
317
- </View>
318
- <View
319
- style={
320
- Object {
321
- "backgroundColor": "#E8E8E8",
322
- "bottom": 1,
323
- "height": 1,
324
- "left": 56,
325
- "position": "absolute",
326
- "right": 0,
327
- }
328
- }
329
- />
330
- </View>
331
- </View>
332
- </View>
333
- </RCTScrollView>
334
- </RCTSafeAreaView>
335
- <Modal
336
- animationType="none"
337
- deviceHeight={null}
338
- deviceWidth={null}
339
- hardwareAccelerated={false}
340
- hideModalContentWhileAnimating={false}
341
- onBackdropPress={[Function]}
342
- onModalHide={[Function]}
343
- onModalWillHide={[Function]}
344
- onModalWillShow={[Function]}
345
- onRequestClose={[Function]}
346
- panResponderThreshold={4}
347
- scrollHorizontal={false}
348
- scrollOffset={0}
349
- scrollOffsetMax={0}
350
- scrollTo={null}
351
- supportedOrientations={
352
- Array [
353
- "portrait",
354
- "landscape",
355
- ]
356
- }
357
- swipeThreshold={100}
358
- transparent={true}
359
- visible={false}
360
- >
361
- <View
362
- accessible={true}
363
- focusable={true}
364
- forwardedRef={[Function]}
365
- onClick={[Function]}
366
- onResponderGrant={[Function]}
367
- onResponderMove={[Function]}
368
- onResponderRelease={[Function]}
369
- onResponderTerminate={[Function]}
370
- onResponderTerminationRequest={[Function]}
371
- onStartShouldSetResponder={[Function]}
372
- style={
373
- Object {
374
- "backgroundColor": "black",
375
- "bottom": 0,
376
- "height": 1334,
377
- "left": 0,
378
- "opacity": 0,
379
- "position": "absolute",
380
- "right": 0,
381
- "top": 0,
382
- "width": 750,
383
- }
384
- }
385
- />
386
- <View
387
- deviceHeight={null}
388
- deviceWidth={null}
389
- forwardedRef={[Function]}
390
- hideModalContentWhileAnimating={false}
391
- onBackdropPress={[Function]}
392
- onModalHide={[Function]}
393
- onModalWillHide={[Function]}
394
- onModalWillShow={[Function]}
395
- panResponderThreshold={4}
396
- pointerEvents="box-none"
397
- scrollHorizontal={false}
398
- scrollOffset={0}
399
- scrollOffsetMax={0}
400
- scrollTo={null}
401
- style={
402
- Object {
403
- "flex": 1,
404
- "justifyContent": "center",
405
- "margin": 0,
406
- "transform": Array [
407
- Object {
408
- "translateY": 0,
409
- },
410
- ],
411
- }
412
- }
413
- supportedOrientations={
414
- Array [
415
- "portrait",
416
- "landscape",
417
- ]
418
- }
419
- swipeThreshold={100}
420
- >
421
- <View
422
- style={
423
- Object {
424
- "backgroundColor": "#FFFFFF",
425
- "borderRadius": 10,
426
- "bottom": 0,
427
- "left": 0,
428
- "position": "absolute",
429
- "width": "100%",
430
- }
431
- }
432
- >
433
- <View
434
- style={
435
- Object {
436
- "backgroundColor": "#FFFFFF",
437
- "borderRadius": 10,
438
- "flex": 1,
439
- "flexDirection": "column",
440
- "marginBottom": 20,
441
- }
442
- }
443
- >
444
- <View
445
- style={
446
- Object {
447
- "backgroundColor": "#FFFFFF",
448
- "borderBottomWidth": 1,
449
- "borderColor": "#E8E8E8",
450
- "borderTopLeftRadius": 20,
451
- "borderTopRightRadius": 20,
452
- "padding": 16,
453
- }
454
- }
455
- >
456
- <Text
457
- style={
458
- Array [
459
- Object {
460
- "color": "#000",
461
- "fontFamily": "SFProDisplay-Semibold",
462
- "fontSize": undefined,
463
- "lineHeight": undefined,
464
- "textAlign": "left",
465
- "textDecorationLine": "none",
466
- },
467
- Object {
468
- "color": "#262626",
469
- "fontSize": 16,
470
- "lineHeight": 24,
471
- },
472
- ]
473
- }
474
- >
475
-
476
- </Text>
477
- </View>
478
- <View
479
- style={
480
- Object {
481
- "flexDirection": "row",
482
- "justifyContent": "center",
483
- "paddingHorizontal": 16,
484
- }
485
- }
486
- >
487
- <View
488
- accessible={true}
489
- focusable={true}
490
- onClick={[Function]}
491
- onResponderGrant={[Function]}
492
- onResponderMove={[Function]}
493
- onResponderRelease={[Function]}
494
- onResponderTerminate={[Function]}
495
- onResponderTerminationRequest={[Function]}
496
- onStartShouldSetResponder={[Function]}
497
- style={
498
- Object {
499
- "alignItems": "center",
500
- "flex": 1,
501
- "justifyContent": "center",
502
- "opacity": 1,
503
- "paddingVertical": 24,
504
- "width": "100%",
505
- }
506
- }
507
- testID="VIEW_BUTTON_BOTTOM_LEFT_BUTTON"
508
- >
509
- <Text
510
- style={
511
- Array [
512
- Object {
513
- "color": "#00979D",
514
- "fontFamily": "SFProDisplay-Semibold",
515
- "fontSize": 16,
516
- "lineHeight": 24,
517
- "textAlign": "left",
518
- "textDecorationLine": "none",
519
- },
520
- Object {},
521
- ]
522
- }
523
- >
524
- Hủy
525
- </Text>
526
- </View>
527
-
528
- </View>
529
- </View>
530
- </View>
531
- </View>
532
- </Modal>
533
- <Modal
534
- animationType="none"
535
- deviceHeight={null}
536
- deviceWidth={null}
537
- hardwareAccelerated={false}
538
- hideModalContentWhileAnimating={false}
539
- onBackdropPress={[Function]}
540
- onModalHide={[Function]}
541
- onModalWillHide={[Function]}
542
- onModalWillShow={[Function]}
543
- onRequestClose={[Function]}
544
- panResponderThreshold={4}
545
- scrollHorizontal={false}
546
- scrollOffset={0}
547
- scrollOffsetMax={0}
548
- scrollTo={null}
549
- supportedOrientations={
550
- Array [
551
- "portrait",
552
- "landscape",
553
- ]
554
- }
555
- swipeThreshold={100}
556
- transparent={true}
557
- visible={false}
558
- >
559
- <View
560
- accessible={true}
561
- focusable={true}
562
- forwardedRef={[Function]}
563
- onClick={[Function]}
564
- onResponderGrant={[Function]}
565
- onResponderMove={[Function]}
566
- onResponderRelease={[Function]}
567
- onResponderTerminate={[Function]}
568
- onResponderTerminationRequest={[Function]}
569
- onStartShouldSetResponder={[Function]}
570
- style={
571
- Object {
572
- "backgroundColor": "black",
573
- "bottom": 0,
574
- "height": 1334,
575
- "left": 0,
576
- "opacity": 0,
577
- "position": "absolute",
578
- "right": 0,
579
- "top": 0,
580
- "width": 750,
581
- }
582
- }
583
- />
584
- <View
585
- deviceHeight={null}
586
- deviceWidth={null}
587
- forwardedRef={[Function]}
588
- hideModalContentWhileAnimating={false}
589
- onBackdropPress={[Function]}
590
- onModalHide={[Function]}
591
- onModalWillHide={[Function]}
592
- onModalWillShow={[Function]}
593
- panResponderThreshold={4}
594
- pointerEvents="box-none"
595
- scrollHorizontal={false}
596
- scrollOffset={0}
597
- scrollOffsetMax={0}
598
- scrollTo={null}
599
- style={
600
- Object {
601
- "flex": 1,
602
- "justifyContent": "center",
603
- "margin": 0,
604
- "transform": Array [
605
- Object {
606
- "translateY": 0,
607
- },
608
- ],
609
- }
610
- }
611
- supportedOrientations={
612
- Array [
613
- "portrait",
614
- "landscape",
615
- ]
616
- }
617
- swipeThreshold={100}
618
- >
619
- <View
620
- style={
621
- Object {
622
- "backgroundColor": "#FFFFFF",
623
- "borderRadius": 10,
624
- "bottom": 0,
625
- "left": 0,
626
- "position": "absolute",
627
- "width": "100%",
628
- }
629
- }
630
- >
631
- <View
632
- style={
633
- Object {
634
- "backgroundColor": "#FFFFFF",
635
- "borderRadius": 10,
636
- "flex": 1,
637
- "flexDirection": "column",
638
- }
639
- }
640
- >
641
- <View
642
- style={
643
- Object {
644
- "alignItems": "flex-start",
645
- "backgroundColor": "#FFFFFF",
646
- "borderBottomWidth": 1,
647
- "borderColor": "#E8E8E8",
648
- "borderTopLeftRadius": 20,
649
- "borderTopRightRadius": 20,
650
- "justifyContent": "center",
651
- "padding": 16,
652
- }
653
- }
654
- >
655
- <Text
656
- style={
657
- Array [
658
- Object {
659
- "color": "#000",
660
- "fontFamily": "SFProDisplay-Semibold",
661
- "fontSize": undefined,
662
- "lineHeight": undefined,
663
- "textAlign": "left",
664
- "textDecorationLine": "none",
665
- },
666
- Object {
667
- "color": "#262626",
668
- "fontSize": 16,
669
- "lineHeight": 24,
670
- },
671
- ]
672
- }
673
- >
674
- Thêm
675
- </Text>
676
- </View>
677
- <RCTScrollView
678
- bounces={false}
679
- contentContainerStyle={
680
- Object {
681
- "flex": 1,
682
- "paddingBottom": 0,
683
- "paddingHorizontal": 16,
684
- }
685
- }
686
- data={
687
- Array [
688
- Object {
689
- "data": Object {
690
- "group": 1,
691
- },
692
- "id": 1,
693
- "route": "EmergencyContactsAddNew",
694
- "text": "Tạo liên hệ",
695
- },
696
- Object {
697
- "data": Object {
698
- "unitId": 1,
699
- },
700
- "id": 2,
701
- "route": "EmergencyContactsSelectContacts",
702
- "text": "Chọn từ danh sách thành viên của địa điểm",
703
- },
704
- ]
705
- }
706
- disableVirtualization={false}
707
- getItem={[Function]}
708
- getItemCount={[Function]}
709
- horizontal={false}
710
- initialNumToRender={10}
711
- keyExtractor={[Function]}
712
- maxToRenderPerBatch={10}
713
- onContentSizeChange={[Function]}
714
- onEndReachedThreshold={2}
715
- onLayout={[Function]}
716
- onMomentumScrollEnd={[Function]}
717
- onScroll={[Function]}
718
- onScrollBeginDrag={[Function]}
719
- onScrollEndDrag={[Function]}
720
- removeClippedSubviews={false}
721
- renderItem={[Function]}
722
- scrollEventThrottle={50}
723
- stickyHeaderIndices={Array []}
724
- updateCellsBatchingPeriod={50}
725
- viewabilityConfigCallbackPairs={Array []}
726
- windowSize={21}
727
- >
728
- <View>
729
- <View
730
- onLayout={[Function]}
731
- style={null}
732
- >
733
- <View
734
- accessible={true}
735
- focusable={true}
736
- onClick={[Function]}
737
- onResponderGrant={[Function]}
738
- onResponderMove={[Function]}
739
- onResponderRelease={[Function]}
740
- onResponderTerminate={[Function]}
741
- onResponderTerminationRequest={[Function]}
742
- onStartShouldSetResponder={[Function]}
743
- style={
744
- Object {
745
- "flex": 1,
746
- "flexDirection": "row",
747
- "opacity": 1,
748
- }
749
- }
750
- testID="MENU_ACTION_LIST_TOUCHABLE"
751
- >
752
- <View
753
- style={
754
- Object {
755
- "borderBottomColor": "#E8E8E8",
756
- "borderBottomWidth": 1,
757
- "flex": 1,
758
- "paddingVertical": 16,
759
- }
760
- }
761
- >
762
- <Text
763
- style={
764
- Array [
765
- Object {
766
- "color": "#000",
767
- "fontFamily": "SFProDisplay-Regular",
768
- "fontSize": undefined,
769
- "lineHeight": undefined,
770
- "textAlign": "left",
771
- "textDecorationLine": "none",
772
- },
773
- Object {},
774
- ]
775
- }
776
- styles={
777
- Object {
778
- "color": "#595959",
779
- "fontSize": 16,
780
- "lineHeight": 24,
781
- }
782
- }
783
- >
784
- Tạo liên hệ
785
- </Text>
786
- </View>
787
- </View>
788
- </View>
789
- <View
790
- onLayout={[Function]}
791
- style={null}
792
- >
793
- <View
794
- accessible={true}
795
- focusable={true}
796
- onClick={[Function]}
797
- onResponderGrant={[Function]}
798
- onResponderMove={[Function]}
799
- onResponderRelease={[Function]}
800
- onResponderTerminate={[Function]}
801
- onResponderTerminationRequest={[Function]}
802
- onStartShouldSetResponder={[Function]}
803
- style={
804
- Object {
805
- "flex": 1,
806
- "flexDirection": "row",
807
- "opacity": 1,
808
- }
809
- }
810
- testID="MENU_ACTION_LIST_TOUCHABLE"
811
- >
812
- <View
813
- style={
814
- Object {
815
- "borderBottomColor": "#E8E8E8",
816
- "borderBottomWidth": 1,
817
- "flex": 1,
818
- "paddingVertical": 16,
819
- }
820
- }
821
- >
822
- <Text
823
- style={
824
- Array [
825
- Object {
826
- "color": "#000",
827
- "fontFamily": "SFProDisplay-Regular",
828
- "fontSize": undefined,
829
- "lineHeight": undefined,
830
- "textAlign": "left",
831
- "textDecorationLine": "none",
832
- },
833
- Object {},
834
- ]
835
- }
836
- styles={
837
- Object {
838
- "color": "#595959",
839
- "fontSize": 16,
840
- "lineHeight": 24,
841
- }
842
- }
843
- >
844
- Chọn từ danh sách thành viên của địa điểm
845
- </Text>
846
- </View>
847
- </View>
848
- </View>
849
- </View>
850
- </RCTScrollView>
851
- </View>
852
- </View>
853
- </View>
854
- </Modal>
855
- </View>
856
- `;
857
-
858
- exports[`test EmergencyContactList onAddNew 1`] = `
859
- <View
860
- style={
861
- Object {
862
- "backgroundColor": "#FAFAFA",
863
- "flex": 1,
864
- }
865
- }
866
- >
867
- <RCTSafeAreaView
868
- emulateUnlessSupported={true}
869
- style={
870
- Array [
871
- Object {
872
- "flex": 1,
873
- },
874
- undefined,
875
- ]
876
- }
877
- >
878
- <View
879
- style={
880
- Object {
881
- "backgroundColor": "transparent",
882
- "width": "100%",
883
- "zIndex": 2,
884
- }
885
- }
886
- >
887
- <View
888
- style={
889
- Object {
890
- "backgroundColor": "#FAFAFA",
891
- "borderColor": "#BFBFBF",
892
- "borderWidth": 0.5,
893
- "height": 88,
894
- "opacity": 0,
895
- "position": "absolute",
896
- "transform": Array [
897
- Object {
898
- "translateY": 0,
899
- },
900
- ],
901
- "width": "100%",
902
- }
903
- }
904
- />
905
- <View
906
- style={
907
- Object {
908
- "flexDirection": "row",
909
- "justifyContent": "space-between",
910
- }
911
- }
912
- >
913
- <View
914
- accessible={true}
915
- focusable={true}
916
- onClick={[Function]}
917
- onResponderGrant={[Function]}
918
- onResponderMove={[Function]}
919
- onResponderRelease={[Function]}
920
- onResponderTerminate={[Function]}
921
- onResponderTerminationRequest={[Function]}
922
- onStartShouldSetResponder={[Function]}
923
- style={
924
- Object {
925
- "alignItems": "center",
926
- "height": 44,
927
- "justifyContent": "center",
928
- "opacity": 1,
929
- "width": 44,
930
- }
931
- }
932
- >
933
- <Text
934
- style={
935
- Array [
936
- Object {
937
- "color": "#262626",
938
- "fontFamily": "antoutline",
939
- "fontSize": 27,
940
- "fontStyle": "normal",
941
- "fontWeight": "normal",
942
- },
943
- undefined,
944
- ]
945
- }
946
- >
947
-
948
- </Text>
949
- </View>
950
- <View
951
- styles={
952
- Object {
953
- "height": 44,
954
- "width": 44,
955
- }
956
- }
957
- />
958
- </View>
959
- <View
960
- style={
961
- Object {
962
- "backgroundColor": "transparent",
963
- "height": 44,
964
- "justifyContent": "center",
965
- "marginRight": 0,
966
- "transform": Array [
967
- Object {
968
- "translateY": 0,
969
- },
970
- Object {
971
- "translateX": 0,
972
- },
973
- Object {
974
- "scale": 1,
975
- },
976
- ],
977
- }
978
- }
979
- >
980
- <Text
981
- numberOfLines={1}
982
- style={
983
- Array [
984
- Object {
985
- "color": "#000",
986
- "fontFamily": "SFProDisplay-Semibold",
987
- "fontSize": 24,
988
- "lineHeight": 32,
989
- "textAlign": "left",
990
- "textDecorationLine": "none",
991
- },
992
- Object {
993
- "color": "#262626",
994
- "marginLeft": 16,
995
- "width": "100%",
996
- },
997
- ]
998
- }
999
- >
1000
- Danh sách liên hệ khẩn cấp
1001
- </Text>
1002
- </View>
1003
- </View>
1004
- <RCTScrollView
1005
- contentContainerStyle={
1006
- Array [
1007
- Object {
1008
- "paddingBottom": 88,
1009
- },
1010
- undefined,
1011
- ]
1012
- }
1013
- onMomentumScrollEnd={[Function]}
1014
- onScroll={[Function]}
1015
- refreshControl={
1016
- <RefreshControlMock
1017
- refreshing={false}
1018
- />
1019
- }
1020
- scrollEventThrottle={16}
1021
- showsVerticalScrollIndicator={false}
1022
- style={
1023
- Object {
1024
- "flex": 1,
1025
- "marginBottom": -88,
1026
- "paddingTop": 16,
1027
- "transform": Array [
1028
- Object {
1029
- "translateY": 0,
1030
- },
1031
- ],
1032
- }
1033
- }
1034
- >
1035
- <RCTRefreshControl />
1036
- <View>
1037
- <Text
1038
- style={
1039
- Array [
1040
- Object {
1041
- "color": "#595959",
1042
- "fontFamily": "SFProDisplay-Regular",
1043
- "fontSize": 14,
1044
- "lineHeight": 22,
1045
- "textAlign": "left",
1046
- "textDecorationLine": "none",
1047
- },
1048
- Object {
1049
- "marginBottom": 16,
1050
- "marginHorizontal": 16,
1051
- },
1052
- ]
1053
- }
1054
- >
1055
- Thiết lập danh bạ khẩn cấp cho địa điểm này để có thể liên lạc nhanh khi có tình huống khẩn cấp xảy ra.
1056
- </Text>
1057
- <View
1058
- style={
1059
- Array [
1060
- Object {
1061
- "backgroundColor": "#FFFFFF",
1062
- "borderColor": "#E8E8E8",
1063
- "borderRadius": 20,
1064
- "borderWidth": 1,
1065
- "marginBottom": 16,
1066
- "paddingBottom": 24,
1067
- "paddingHorizontal": 16,
1068
- "paddingTop": 8,
1069
- },
1070
- undefined,
1071
- ]
1072
- }
1073
- >
1074
- <View
1075
- accessible={true}
1076
- focusable={true}
1077
- onClick={[Function]}
1078
- onResponderGrant={[Function]}
1079
- onResponderMove={[Function]}
1080
- onResponderRelease={[Function]}
1081
- onResponderTerminate={[Function]}
1082
- onResponderTerminationRequest={[Function]}
1083
- onStartShouldSetResponder={[Function]}
1084
- style={
1085
- Object {
1086
- "alignItems": "center",
1087
- "flexDirection": "row",
1088
- "paddingVertical": 16,
1089
- }
1090
- }
1091
- >
1092
- <View
1093
- style={
1094
- Array [
1095
- Object {
1096
- "backgroundColor": "#00979D",
1097
- "borderColor": "white",
1098
- "borderRadius": 20,
1099
- "borderWidth": 0,
1100
- "height": 40,
1101
- "width": 40,
1102
- },
1103
- Object {
1104
- "alignItems": "center",
1105
- "justifyContent": "center",
1106
- },
1107
- undefined,
1108
- ]
1109
- }
1110
- >
1111
- <Text
1112
- style={
1113
- Array [
1114
- Object {
1115
- "color": "#FFFFFF",
1116
- "fontFamily": "antoutline",
1117
- "fontSize": 20,
1118
- "fontStyle": "normal",
1119
- "fontWeight": "normal",
1120
- },
1121
- undefined,
1122
- ]
1123
- }
1124
- >
1125
-
1126
- </Text>
1127
- </View>
1128
- <View
1129
- style={
1130
- Object {
1131
- "flex": 1,
1132
- "marginLeft": 16,
1133
- }
1134
- }
1135
- >
1136
- <Text
1137
- style={
1138
- Array [
1139
- Object {
1140
- "color": "#00979D",
1141
- "fontFamily": "SFProDisplay-Bold",
1142
- "fontSize": 16,
1143
- "lineHeight": 24,
1144
- "textAlign": "left",
1145
- "textDecorationLine": "none",
1146
- },
1147
- Object {},
1148
- ]
1149
- }
1150
- >
1151
- Thêm
1152
- </Text>
1153
- <Text
1154
- style={
1155
- Array [
1156
- Object {
1157
- "color": "#BFBFBF",
1158
- "fontFamily": "SFProDisplay-Regular",
1159
- "fontSize": 12,
1160
- "lineHeight": 20,
1161
- "textAlign": "left",
1162
- "textDecorationLine": "none",
1163
- },
1164
- Object {
1165
- "marginTop": -1,
1166
- },
1167
- ]
1168
- }
1169
- >
1170
- Tối đa 5 liên hệ
1171
- </Text>
1172
- </View>
1173
- <View
1174
- style={
1175
- Object {
1176
- "backgroundColor": "#E8E8E8",
1177
- "bottom": 1,
1178
- "height": 1,
1179
- "left": 56,
1180
- "position": "absolute",
1181
- "right": 0,
1182
- }
1183
- }
1184
- />
1185
- </View>
1186
- </View>
1187
- </View>
1188
- </RCTScrollView>
1189
- </RCTSafeAreaView>
1190
- <Modal
1191
- animationType="none"
1192
- deviceHeight={null}
1193
- deviceWidth={null}
1194
- hardwareAccelerated={false}
1195
- hideModalContentWhileAnimating={false}
1196
- onBackdropPress={[Function]}
1197
- onModalHide={[Function]}
1198
- onModalWillHide={[Function]}
1199
- onModalWillShow={[Function]}
1200
- onRequestClose={[Function]}
1201
- panResponderThreshold={4}
1202
- scrollHorizontal={false}
1203
- scrollOffset={0}
1204
- scrollOffsetMax={0}
1205
- scrollTo={null}
1206
- supportedOrientations={
1207
- Array [
1208
- "portrait",
1209
- "landscape",
1210
- ]
1211
- }
1212
- swipeThreshold={100}
1213
- transparent={true}
1214
- visible={false}
1215
- >
1216
- <View
1217
- accessible={true}
1218
- focusable={true}
1219
- forwardedRef={[Function]}
1220
- onClick={[Function]}
1221
- onResponderGrant={[Function]}
1222
- onResponderMove={[Function]}
1223
- onResponderRelease={[Function]}
1224
- onResponderTerminate={[Function]}
1225
- onResponderTerminationRequest={[Function]}
1226
- onStartShouldSetResponder={[Function]}
1227
- style={
1228
- Object {
1229
- "backgroundColor": "black",
1230
- "bottom": 0,
1231
- "height": 1334,
1232
- "left": 0,
1233
- "opacity": 0,
1234
- "position": "absolute",
1235
- "right": 0,
1236
- "top": 0,
1237
- "width": 750,
1238
- }
1239
- }
1240
- />
1241
- <View
1242
- deviceHeight={null}
1243
- deviceWidth={null}
1244
- forwardedRef={[Function]}
1245
- hideModalContentWhileAnimating={false}
1246
- onBackdropPress={[Function]}
1247
- onModalHide={[Function]}
1248
- onModalWillHide={[Function]}
1249
- onModalWillShow={[Function]}
1250
- panResponderThreshold={4}
1251
- pointerEvents="box-none"
1252
- scrollHorizontal={false}
1253
- scrollOffset={0}
1254
- scrollOffsetMax={0}
1255
- scrollTo={null}
1256
- style={
1257
- Object {
1258
- "flex": 1,
1259
- "justifyContent": "center",
1260
- "margin": 0,
1261
- "transform": Array [
1262
- Object {
1263
- "translateY": 0,
1264
- },
1265
- ],
1266
- }
1267
- }
1268
- supportedOrientations={
1269
- Array [
1270
- "portrait",
1271
- "landscape",
1272
- ]
1273
- }
1274
- swipeThreshold={100}
1275
- >
1276
- <View
1277
- style={
1278
- Object {
1279
- "backgroundColor": "#FFFFFF",
1280
- "borderRadius": 10,
1281
- "bottom": 0,
1282
- "left": 0,
1283
- "position": "absolute",
1284
- "width": "100%",
1285
- }
1286
- }
1287
- >
1288
- <View
1289
- style={
1290
- Object {
1291
- "backgroundColor": "#FFFFFF",
1292
- "borderRadius": 10,
1293
- "flex": 1,
1294
- "flexDirection": "column",
1295
- "marginBottom": 20,
1296
- }
1297
- }
1298
- >
1299
- <View
1300
- style={
1301
- Object {
1302
- "backgroundColor": "#FFFFFF",
1303
- "borderBottomWidth": 1,
1304
- "borderColor": "#E8E8E8",
1305
- "borderTopLeftRadius": 20,
1306
- "borderTopRightRadius": 20,
1307
- "padding": 16,
1308
- }
1309
- }
1310
- >
1311
- <Text
1312
- style={
1313
- Array [
1314
- Object {
1315
- "color": "#000",
1316
- "fontFamily": "SFProDisplay-Semibold",
1317
- "fontSize": undefined,
1318
- "lineHeight": undefined,
1319
- "textAlign": "left",
1320
- "textDecorationLine": "none",
1321
- },
1322
- Object {
1323
- "color": "#262626",
1324
- "fontSize": 16,
1325
- "lineHeight": 24,
1326
- },
1327
- ]
1328
- }
1329
- >
1330
-
1331
- </Text>
1332
- </View>
1333
- <View
1334
- style={
1335
- Object {
1336
- "flexDirection": "row",
1337
- "justifyContent": "center",
1338
- "paddingHorizontal": 16,
1339
- }
1340
- }
1341
- >
1342
- <View
1343
- accessible={true}
1344
- focusable={true}
1345
- onClick={[Function]}
1346
- onResponderGrant={[Function]}
1347
- onResponderMove={[Function]}
1348
- onResponderRelease={[Function]}
1349
- onResponderTerminate={[Function]}
1350
- onResponderTerminationRequest={[Function]}
1351
- onStartShouldSetResponder={[Function]}
1352
- style={
1353
- Object {
1354
- "alignItems": "center",
1355
- "flex": 1,
1356
- "justifyContent": "center",
1357
- "opacity": 1,
1358
- "paddingVertical": 24,
1359
- "width": "100%",
1360
- }
1361
- }
1362
- testID="VIEW_BUTTON_BOTTOM_LEFT_BUTTON"
1363
- >
1364
- <Text
1365
- style={
1366
- Array [
1367
- Object {
1368
- "color": "#00979D",
1369
- "fontFamily": "SFProDisplay-Semibold",
1370
- "fontSize": 16,
1371
- "lineHeight": 24,
1372
- "textAlign": "left",
1373
- "textDecorationLine": "none",
1374
- },
1375
- Object {},
1376
- ]
1377
- }
1378
- >
1379
- Hủy
1380
- </Text>
1381
- </View>
1382
-
1383
- </View>
1384
- </View>
1385
- </View>
1386
- </View>
1387
- </Modal>
1388
- <Modal
1389
- animationType="none"
1390
- deviceHeight={null}
1391
- deviceWidth={null}
1392
- hardwareAccelerated={false}
1393
- hideModalContentWhileAnimating={false}
1394
- onBackdropPress={[Function]}
1395
- onModalHide={[Function]}
1396
- onModalWillHide={[Function]}
1397
- onModalWillShow={[Function]}
1398
- onRequestClose={[Function]}
1399
- panResponderThreshold={4}
1400
- scrollHorizontal={false}
1401
- scrollOffset={0}
1402
- scrollOffsetMax={0}
1403
- scrollTo={null}
1404
- supportedOrientations={
1405
- Array [
1406
- "portrait",
1407
- "landscape",
1408
- ]
1409
- }
1410
- swipeThreshold={100}
1411
- transparent={true}
1412
- visible={true}
1413
- >
1414
- <View
1415
- accessible={true}
1416
- focusable={true}
1417
- forwardedRef={[Function]}
1418
- onClick={[Function]}
1419
- onResponderGrant={[Function]}
1420
- onResponderMove={[Function]}
1421
- onResponderRelease={[Function]}
1422
- onResponderTerminate={[Function]}
1423
- onResponderTerminationRequest={[Function]}
1424
- onStartShouldSetResponder={[Function]}
1425
- style={
1426
- Object {
1427
- "backgroundColor": "black",
1428
- "bottom": 0,
1429
- "height": 1334,
1430
- "left": 0,
1431
- "opacity": 0,
1432
- "position": "absolute",
1433
- "right": 0,
1434
- "top": 0,
1435
- "width": 750,
1436
- }
1437
- }
1438
- />
1439
- <View
1440
- deviceHeight={null}
1441
- deviceWidth={null}
1442
- forwardedRef={[Function]}
1443
- hideModalContentWhileAnimating={false}
1444
- onBackdropPress={[Function]}
1445
- onModalHide={[Function]}
1446
- onModalWillHide={[Function]}
1447
- onModalWillShow={[Function]}
1448
- panResponderThreshold={4}
1449
- pointerEvents="box-none"
1450
- scrollHorizontal={false}
1451
- scrollOffset={0}
1452
- scrollOffsetMax={0}
1453
- scrollTo={null}
1454
- style={
1455
- Object {
1456
- "flex": 1,
1457
- "justifyContent": "center",
1458
- "margin": 0,
1459
- "transform": Array [
1460
- Object {
1461
- "translateY": 1334,
1462
- },
1463
- ],
1464
- }
1465
- }
1466
- supportedOrientations={
1467
- Array [
1468
- "portrait",
1469
- "landscape",
1470
- ]
1471
- }
1472
- swipeThreshold={100}
1473
- >
1474
- <View
1475
- style={
1476
- Object {
1477
- "backgroundColor": "#FFFFFF",
1478
- "borderRadius": 10,
1479
- "bottom": 0,
1480
- "left": 0,
1481
- "position": "absolute",
1482
- "width": "100%",
1483
- }
1484
- }
1485
- >
1486
- <View
1487
- style={
1488
- Object {
1489
- "backgroundColor": "#FFFFFF",
1490
- "borderRadius": 10,
1491
- "flex": 1,
1492
- "flexDirection": "column",
1493
- }
1494
- }
1495
- >
1496
- <View
1497
- style={
1498
- Object {
1499
- "alignItems": "flex-start",
1500
- "backgroundColor": "#FFFFFF",
1501
- "borderBottomWidth": 1,
1502
- "borderColor": "#E8E8E8",
1503
- "borderTopLeftRadius": 20,
1504
- "borderTopRightRadius": 20,
1505
- "justifyContent": "center",
1506
- "padding": 16,
1507
- }
1508
- }
1509
- >
1510
- <Text
1511
- style={
1512
- Array [
1513
- Object {
1514
- "color": "#000",
1515
- "fontFamily": "SFProDisplay-Semibold",
1516
- "fontSize": undefined,
1517
- "lineHeight": undefined,
1518
- "textAlign": "left",
1519
- "textDecorationLine": "none",
1520
- },
1521
- Object {
1522
- "color": "#262626",
1523
- "fontSize": 16,
1524
- "lineHeight": 24,
1525
- },
1526
- ]
1527
- }
1528
- >
1529
- Thêm
1530
- </Text>
1531
- </View>
1532
- <RCTScrollView
1533
- bounces={false}
1534
- contentContainerStyle={
1535
- Object {
1536
- "flex": 1,
1537
- "paddingBottom": 0,
1538
- "paddingHorizontal": 16,
1539
- }
1540
- }
1541
- data={
1542
- Array [
1543
- Object {
1544
- "data": Object {
1545
- "group": 1,
1546
- },
1547
- "id": 1,
1548
- "route": "EmergencyContactsAddNew",
1549
- "text": "Tạo liên hệ",
1550
- },
1551
- Object {
1552
- "data": Object {
1553
- "unitId": 1,
1554
- },
1555
- "id": 2,
1556
- "route": "EmergencyContactsSelectContacts",
1557
- "text": "Chọn từ danh sách thành viên của địa điểm",
1558
- },
1559
- ]
1560
- }
1561
- disableVirtualization={false}
1562
- getItem={[Function]}
1563
- getItemCount={[Function]}
1564
- horizontal={false}
1565
- initialNumToRender={10}
1566
- keyExtractor={[Function]}
1567
- maxToRenderPerBatch={10}
1568
- onContentSizeChange={[Function]}
1569
- onEndReachedThreshold={2}
1570
- onLayout={[Function]}
1571
- onMomentumScrollEnd={[Function]}
1572
- onScroll={[Function]}
1573
- onScrollBeginDrag={[Function]}
1574
- onScrollEndDrag={[Function]}
1575
- removeClippedSubviews={false}
1576
- renderItem={[Function]}
1577
- scrollEventThrottle={50}
1578
- stickyHeaderIndices={Array []}
1579
- updateCellsBatchingPeriod={50}
1580
- viewabilityConfigCallbackPairs={Array []}
1581
- windowSize={21}
1582
- >
1583
- <View>
1584
- <View
1585
- onLayout={[Function]}
1586
- style={null}
1587
- >
1588
- <View
1589
- accessible={true}
1590
- focusable={true}
1591
- onClick={[Function]}
1592
- onResponderGrant={[Function]}
1593
- onResponderMove={[Function]}
1594
- onResponderRelease={[Function]}
1595
- onResponderTerminate={[Function]}
1596
- onResponderTerminationRequest={[Function]}
1597
- onStartShouldSetResponder={[Function]}
1598
- style={
1599
- Object {
1600
- "flex": 1,
1601
- "flexDirection": "row",
1602
- "opacity": 1,
1603
- }
1604
- }
1605
- testID="MENU_ACTION_LIST_TOUCHABLE"
1606
- >
1607
- <View
1608
- style={
1609
- Object {
1610
- "borderBottomColor": "#E8E8E8",
1611
- "borderBottomWidth": 1,
1612
- "flex": 1,
1613
- "paddingVertical": 16,
1614
- }
1615
- }
1616
- >
1617
- <Text
1618
- style={
1619
- Array [
1620
- Object {
1621
- "color": "#000",
1622
- "fontFamily": "SFProDisplay-Regular",
1623
- "fontSize": undefined,
1624
- "lineHeight": undefined,
1625
- "textAlign": "left",
1626
- "textDecorationLine": "none",
1627
- },
1628
- Object {},
1629
- ]
1630
- }
1631
- styles={
1632
- Object {
1633
- "color": "#595959",
1634
- "fontSize": 16,
1635
- "lineHeight": 24,
1636
- }
1637
- }
1638
- >
1639
- Tạo liên hệ
1640
- </Text>
1641
- </View>
1642
- </View>
1643
- </View>
1644
- <View
1645
- onLayout={[Function]}
1646
- style={null}
1647
- >
1648
- <View
1649
- accessible={true}
1650
- focusable={true}
1651
- onClick={[Function]}
1652
- onResponderGrant={[Function]}
1653
- onResponderMove={[Function]}
1654
- onResponderRelease={[Function]}
1655
- onResponderTerminate={[Function]}
1656
- onResponderTerminationRequest={[Function]}
1657
- onStartShouldSetResponder={[Function]}
1658
- style={
1659
- Object {
1660
- "flex": 1,
1661
- "flexDirection": "row",
1662
- "opacity": 1,
1663
- }
1664
- }
1665
- testID="MENU_ACTION_LIST_TOUCHABLE"
1666
- >
1667
- <View
1668
- style={
1669
- Object {
1670
- "borderBottomColor": "#E8E8E8",
1671
- "borderBottomWidth": 1,
1672
- "flex": 1,
1673
- "paddingVertical": 16,
1674
- }
1675
- }
1676
- >
1677
- <Text
1678
- style={
1679
- Array [
1680
- Object {
1681
- "color": "#000",
1682
- "fontFamily": "SFProDisplay-Regular",
1683
- "fontSize": undefined,
1684
- "lineHeight": undefined,
1685
- "textAlign": "left",
1686
- "textDecorationLine": "none",
1687
- },
1688
- Object {},
1689
- ]
1690
- }
1691
- styles={
1692
- Object {
1693
- "color": "#595959",
1694
- "fontSize": 16,
1695
- "lineHeight": 24,
1696
- }
1697
- }
1698
- >
1699
- Chọn từ danh sách thành viên của địa điểm
1700
- </Text>
1701
- </View>
1702
- </View>
1703
- </View>
1704
- </View>
1705
- </RCTScrollView>
1706
- </View>
1707
- </View>
1708
- </View>
1709
- </Modal>
1710
- </View>
1711
- `;
1712
-
1713
- exports[`test EmergencyContactList onItemAddClick create contact 1`] = `
1714
- <View
1715
- style={
1716
- Object {
1717
- "backgroundColor": "#FAFAFA",
1718
- "flex": 1,
1719
- }
1720
- }
1721
- >
1722
- <RCTSafeAreaView
1723
- emulateUnlessSupported={true}
1724
- style={
1725
- Array [
1726
- Object {
1727
- "flex": 1,
1728
- },
1729
- undefined,
1730
- ]
1731
- }
1732
- >
1733
- <View
1734
- style={
1735
- Object {
1736
- "backgroundColor": "transparent",
1737
- "width": "100%",
1738
- "zIndex": 2,
1739
- }
1740
- }
1741
- >
1742
- <View
1743
- style={
1744
- Object {
1745
- "backgroundColor": "#FAFAFA",
1746
- "borderColor": "#BFBFBF",
1747
- "borderWidth": 0.5,
1748
- "height": 88,
1749
- "opacity": 0,
1750
- "position": "absolute",
1751
- "transform": Array [
1752
- Object {
1753
- "translateY": 0,
1754
- },
1755
- ],
1756
- "width": "100%",
1757
- }
1758
- }
1759
- />
1760
- <View
1761
- style={
1762
- Object {
1763
- "flexDirection": "row",
1764
- "justifyContent": "space-between",
1765
- }
1766
- }
1767
- >
1768
- <View
1769
- accessible={true}
1770
- focusable={true}
1771
- onClick={[Function]}
1772
- onResponderGrant={[Function]}
1773
- onResponderMove={[Function]}
1774
- onResponderRelease={[Function]}
1775
- onResponderTerminate={[Function]}
1776
- onResponderTerminationRequest={[Function]}
1777
- onStartShouldSetResponder={[Function]}
1778
- style={
1779
- Object {
1780
- "alignItems": "center",
1781
- "height": 44,
1782
- "justifyContent": "center",
1783
- "opacity": 1,
1784
- "width": 44,
1785
- }
1786
- }
1787
- >
1788
- <Text
1789
- style={
1790
- Array [
1791
- Object {
1792
- "color": "#262626",
1793
- "fontFamily": "antoutline",
1794
- "fontSize": 27,
1795
- "fontStyle": "normal",
1796
- "fontWeight": "normal",
1797
- },
1798
- undefined,
1799
- ]
1800
- }
1801
- >
1802
-
1803
- </Text>
1804
- </View>
1805
- <View
1806
- styles={
1807
- Object {
1808
- "height": 44,
1809
- "width": 44,
1810
- }
1811
- }
1812
- />
1813
- </View>
1814
- <View
1815
- style={
1816
- Object {
1817
- "backgroundColor": "transparent",
1818
- "height": 44,
1819
- "justifyContent": "center",
1820
- "marginRight": 0,
1821
- "transform": Array [
1822
- Object {
1823
- "translateY": 0,
1824
- },
1825
- Object {
1826
- "translateX": 0,
1827
- },
1828
- Object {
1829
- "scale": 1,
1830
- },
1831
- ],
1832
- }
1833
- }
1834
- >
1835
- <Text
1836
- numberOfLines={1}
1837
- style={
1838
- Array [
1839
- Object {
1840
- "color": "#000",
1841
- "fontFamily": "SFProDisplay-Semibold",
1842
- "fontSize": 24,
1843
- "lineHeight": 32,
1844
- "textAlign": "left",
1845
- "textDecorationLine": "none",
1846
- },
1847
- Object {
1848
- "color": "#262626",
1849
- "marginLeft": 16,
1850
- "width": "100%",
1851
- },
1852
- ]
1853
- }
1854
- >
1855
- Danh sách liên hệ khẩn cấp
1856
- </Text>
1857
- </View>
1858
- </View>
1859
- <RCTScrollView
1860
- contentContainerStyle={
1861
- Array [
1862
- Object {
1863
- "paddingBottom": 88,
1864
- },
1865
- undefined,
1866
- ]
1867
- }
1868
- onMomentumScrollEnd={[Function]}
1869
- onScroll={[Function]}
1870
- refreshControl={
1871
- <RefreshControlMock
1872
- refreshing={false}
1873
- />
1874
- }
1875
- scrollEventThrottle={16}
1876
- showsVerticalScrollIndicator={false}
1877
- style={
1878
- Object {
1879
- "flex": 1,
1880
- "marginBottom": -88,
1881
- "paddingTop": 16,
1882
- "transform": Array [
1883
- Object {
1884
- "translateY": 0,
1885
- },
1886
- ],
1887
- }
1888
- }
1889
- >
1890
- <RCTRefreshControl />
1891
- <View>
1892
- <Text
1893
- style={
1894
- Array [
1895
- Object {
1896
- "color": "#595959",
1897
- "fontFamily": "SFProDisplay-Regular",
1898
- "fontSize": 14,
1899
- "lineHeight": 22,
1900
- "textAlign": "left",
1901
- "textDecorationLine": "none",
1902
- },
1903
- Object {
1904
- "marginBottom": 16,
1905
- "marginHorizontal": 16,
1906
- },
1907
- ]
1908
- }
1909
- >
1910
- Thiết lập danh bạ khẩn cấp cho địa điểm này để có thể liên lạc nhanh khi có tình huống khẩn cấp xảy ra.
1911
- </Text>
1912
- <View
1913
- style={
1914
- Array [
1915
- Object {
1916
- "backgroundColor": "#FFFFFF",
1917
- "borderColor": "#E8E8E8",
1918
- "borderRadius": 20,
1919
- "borderWidth": 1,
1920
- "marginBottom": 16,
1921
- "paddingBottom": 24,
1922
- "paddingHorizontal": 16,
1923
- "paddingTop": 8,
1924
- },
1925
- undefined,
1926
- ]
1927
- }
1928
- >
1929
- <View
1930
- accessible={true}
1931
- focusable={true}
1932
- onClick={[Function]}
1933
- onResponderGrant={[Function]}
1934
- onResponderMove={[Function]}
1935
- onResponderRelease={[Function]}
1936
- onResponderTerminate={[Function]}
1937
- onResponderTerminationRequest={[Function]}
1938
- onStartShouldSetResponder={[Function]}
1939
- style={
1940
- Object {
1941
- "alignItems": "center",
1942
- "flexDirection": "row",
1943
- "paddingVertical": 16,
1944
- }
1945
- }
1946
- >
1947
- <View
1948
- style={
1949
- Array [
1950
- Object {
1951
- "backgroundColor": "#00979D",
1952
- "borderColor": "white",
1953
- "borderRadius": 20,
1954
- "borderWidth": 0,
1955
- "height": 40,
1956
- "width": 40,
1957
- },
1958
- Object {
1959
- "alignItems": "center",
1960
- "justifyContent": "center",
1961
- },
1962
- undefined,
1963
- ]
1964
- }
1965
- >
1966
- <Text
1967
- style={
1968
- Array [
1969
- Object {
1970
- "color": "#FFFFFF",
1971
- "fontFamily": "antoutline",
1972
- "fontSize": 20,
1973
- "fontStyle": "normal",
1974
- "fontWeight": "normal",
1975
- },
1976
- undefined,
1977
- ]
1978
- }
1979
- >
1980
-
1981
- </Text>
1982
- </View>
1983
- <View
1984
- style={
1985
- Object {
1986
- "flex": 1,
1987
- "marginLeft": 16,
1988
- }
1989
- }
1990
- >
1991
- <Text
1992
- style={
1993
- Array [
1994
- Object {
1995
- "color": "#00979D",
1996
- "fontFamily": "SFProDisplay-Bold",
1997
- "fontSize": 16,
1998
- "lineHeight": 24,
1999
- "textAlign": "left",
2000
- "textDecorationLine": "none",
2001
- },
2002
- Object {},
2003
- ]
2004
- }
2005
- >
2006
- Thêm
2007
- </Text>
2008
- <Text
2009
- style={
2010
- Array [
2011
- Object {
2012
- "color": "#BFBFBF",
2013
- "fontFamily": "SFProDisplay-Regular",
2014
- "fontSize": 12,
2015
- "lineHeight": 20,
2016
- "textAlign": "left",
2017
- "textDecorationLine": "none",
2018
- },
2019
- Object {
2020
- "marginTop": -1,
2021
- },
2022
- ]
2023
- }
2024
- >
2025
- Tối đa 5 liên hệ
2026
- </Text>
2027
- </View>
2028
- <View
2029
- style={
2030
- Object {
2031
- "backgroundColor": "#E8E8E8",
2032
- "bottom": 1,
2033
- "height": 1,
2034
- "left": 56,
2035
- "position": "absolute",
2036
- "right": 0,
2037
- }
2038
- }
2039
- />
2040
- </View>
2041
- </View>
2042
- </View>
2043
- </RCTScrollView>
2044
- </RCTSafeAreaView>
2045
- <Modal
2046
- animationType="none"
2047
- deviceHeight={null}
2048
- deviceWidth={null}
2049
- hardwareAccelerated={false}
2050
- hideModalContentWhileAnimating={false}
2051
- onBackdropPress={[Function]}
2052
- onModalHide={[Function]}
2053
- onModalWillHide={[Function]}
2054
- onModalWillShow={[Function]}
2055
- onRequestClose={[Function]}
2056
- panResponderThreshold={4}
2057
- scrollHorizontal={false}
2058
- scrollOffset={0}
2059
- scrollOffsetMax={0}
2060
- scrollTo={null}
2061
- supportedOrientations={
2062
- Array [
2063
- "portrait",
2064
- "landscape",
2065
- ]
2066
- }
2067
- swipeThreshold={100}
2068
- transparent={true}
2069
- visible={false}
2070
- >
2071
- <View
2072
- accessible={true}
2073
- focusable={true}
2074
- forwardedRef={[Function]}
2075
- onClick={[Function]}
2076
- onResponderGrant={[Function]}
2077
- onResponderMove={[Function]}
2078
- onResponderRelease={[Function]}
2079
- onResponderTerminate={[Function]}
2080
- onResponderTerminationRequest={[Function]}
2081
- onStartShouldSetResponder={[Function]}
2082
- style={
2083
- Object {
2084
- "backgroundColor": "black",
2085
- "bottom": 0,
2086
- "height": 1334,
2087
- "left": 0,
2088
- "opacity": 0,
2089
- "position": "absolute",
2090
- "right": 0,
2091
- "top": 0,
2092
- "width": 750,
2093
- }
2094
- }
2095
- />
2096
- <View
2097
- deviceHeight={null}
2098
- deviceWidth={null}
2099
- forwardedRef={[Function]}
2100
- hideModalContentWhileAnimating={false}
2101
- onBackdropPress={[Function]}
2102
- onModalHide={[Function]}
2103
- onModalWillHide={[Function]}
2104
- onModalWillShow={[Function]}
2105
- panResponderThreshold={4}
2106
- pointerEvents="box-none"
2107
- scrollHorizontal={false}
2108
- scrollOffset={0}
2109
- scrollOffsetMax={0}
2110
- scrollTo={null}
2111
- style={
2112
- Object {
2113
- "flex": 1,
2114
- "justifyContent": "center",
2115
- "margin": 0,
2116
- "transform": Array [
2117
- Object {
2118
- "translateY": 0,
2119
- },
2120
- ],
2121
- }
2122
- }
2123
- supportedOrientations={
2124
- Array [
2125
- "portrait",
2126
- "landscape",
2127
- ]
2128
- }
2129
- swipeThreshold={100}
2130
- >
2131
- <View
2132
- style={
2133
- Object {
2134
- "backgroundColor": "#FFFFFF",
2135
- "borderRadius": 10,
2136
- "bottom": 0,
2137
- "left": 0,
2138
- "position": "absolute",
2139
- "width": "100%",
2140
- }
2141
- }
2142
- >
2143
- <View
2144
- style={
2145
- Object {
2146
- "backgroundColor": "#FFFFFF",
2147
- "borderRadius": 10,
2148
- "flex": 1,
2149
- "flexDirection": "column",
2150
- "marginBottom": 20,
2151
- }
2152
- }
2153
- >
2154
- <View
2155
- style={
2156
- Object {
2157
- "backgroundColor": "#FFFFFF",
2158
- "borderBottomWidth": 1,
2159
- "borderColor": "#E8E8E8",
2160
- "borderTopLeftRadius": 20,
2161
- "borderTopRightRadius": 20,
2162
- "padding": 16,
2163
- }
2164
- }
2165
- >
2166
- <Text
2167
- style={
2168
- Array [
2169
- Object {
2170
- "color": "#000",
2171
- "fontFamily": "SFProDisplay-Semibold",
2172
- "fontSize": undefined,
2173
- "lineHeight": undefined,
2174
- "textAlign": "left",
2175
- "textDecorationLine": "none",
2176
- },
2177
- Object {
2178
- "color": "#262626",
2179
- "fontSize": 16,
2180
- "lineHeight": 24,
2181
- },
2182
- ]
2183
- }
2184
- >
2185
-
2186
- </Text>
2187
- </View>
2188
- <View
2189
- style={
2190
- Object {
2191
- "flexDirection": "row",
2192
- "justifyContent": "center",
2193
- "paddingHorizontal": 16,
2194
- }
2195
- }
2196
- >
2197
- <View
2198
- accessible={true}
2199
- focusable={true}
2200
- onClick={[Function]}
2201
- onResponderGrant={[Function]}
2202
- onResponderMove={[Function]}
2203
- onResponderRelease={[Function]}
2204
- onResponderTerminate={[Function]}
2205
- onResponderTerminationRequest={[Function]}
2206
- onStartShouldSetResponder={[Function]}
2207
- style={
2208
- Object {
2209
- "alignItems": "center",
2210
- "flex": 1,
2211
- "justifyContent": "center",
2212
- "opacity": 1,
2213
- "paddingVertical": 24,
2214
- "width": "100%",
2215
- }
2216
- }
2217
- testID="VIEW_BUTTON_BOTTOM_LEFT_BUTTON"
2218
- >
2219
- <Text
2220
- style={
2221
- Array [
2222
- Object {
2223
- "color": "#00979D",
2224
- "fontFamily": "SFProDisplay-Semibold",
2225
- "fontSize": 16,
2226
- "lineHeight": 24,
2227
- "textAlign": "left",
2228
- "textDecorationLine": "none",
2229
- },
2230
- Object {},
2231
- ]
2232
- }
2233
- >
2234
- Hủy
2235
- </Text>
2236
- </View>
2237
-
2238
- </View>
2239
- </View>
2240
- </View>
2241
- </View>
2242
- </Modal>
2243
- <Modal
2244
- animationType="none"
2245
- deviceHeight={null}
2246
- deviceWidth={null}
2247
- hardwareAccelerated={false}
2248
- hideModalContentWhileAnimating={false}
2249
- onBackdropPress={[Function]}
2250
- onModalHide={[Function]}
2251
- onModalWillHide={[Function]}
2252
- onModalWillShow={[Function]}
2253
- onRequestClose={[Function]}
2254
- panResponderThreshold={4}
2255
- scrollHorizontal={false}
2256
- scrollOffset={0}
2257
- scrollOffsetMax={0}
2258
- scrollTo={null}
2259
- supportedOrientations={
2260
- Array [
2261
- "portrait",
2262
- "landscape",
2263
- ]
2264
- }
2265
- swipeThreshold={100}
2266
- transparent={true}
2267
- visible={false}
2268
- >
2269
- <View
2270
- accessible={true}
2271
- focusable={true}
2272
- forwardedRef={[Function]}
2273
- onClick={[Function]}
2274
- onResponderGrant={[Function]}
2275
- onResponderMove={[Function]}
2276
- onResponderRelease={[Function]}
2277
- onResponderTerminate={[Function]}
2278
- onResponderTerminationRequest={[Function]}
2279
- onStartShouldSetResponder={[Function]}
2280
- style={
2281
- Object {
2282
- "backgroundColor": "black",
2283
- "bottom": 0,
2284
- "height": 1334,
2285
- "left": 0,
2286
- "opacity": 0,
2287
- "position": "absolute",
2288
- "right": 0,
2289
- "top": 0,
2290
- "width": 750,
2291
- }
2292
- }
2293
- />
2294
- <View
2295
- deviceHeight={null}
2296
- deviceWidth={null}
2297
- forwardedRef={[Function]}
2298
- hideModalContentWhileAnimating={false}
2299
- onBackdropPress={[Function]}
2300
- onModalHide={[Function]}
2301
- onModalWillHide={[Function]}
2302
- onModalWillShow={[Function]}
2303
- panResponderThreshold={4}
2304
- pointerEvents="box-none"
2305
- scrollHorizontal={false}
2306
- scrollOffset={0}
2307
- scrollOffsetMax={0}
2308
- scrollTo={null}
2309
- style={
2310
- Object {
2311
- "flex": 1,
2312
- "justifyContent": "center",
2313
- "margin": 0,
2314
- "transform": Array [
2315
- Object {
2316
- "translateY": 0,
2317
- },
2318
- ],
2319
- }
2320
- }
2321
- supportedOrientations={
2322
- Array [
2323
- "portrait",
2324
- "landscape",
2325
- ]
2326
- }
2327
- swipeThreshold={100}
2328
- >
2329
- <View
2330
- style={
2331
- Object {
2332
- "backgroundColor": "#FFFFFF",
2333
- "borderRadius": 10,
2334
- "bottom": 0,
2335
- "left": 0,
2336
- "position": "absolute",
2337
- "width": "100%",
2338
- }
2339
- }
2340
- >
2341
- <View
2342
- style={
2343
- Object {
2344
- "backgroundColor": "#FFFFFF",
2345
- "borderRadius": 10,
2346
- "flex": 1,
2347
- "flexDirection": "column",
2348
- }
2349
- }
2350
- >
2351
- <View
2352
- style={
2353
- Object {
2354
- "alignItems": "flex-start",
2355
- "backgroundColor": "#FFFFFF",
2356
- "borderBottomWidth": 1,
2357
- "borderColor": "#E8E8E8",
2358
- "borderTopLeftRadius": 20,
2359
- "borderTopRightRadius": 20,
2360
- "justifyContent": "center",
2361
- "padding": 16,
2362
- }
2363
- }
2364
- >
2365
- <Text
2366
- style={
2367
- Array [
2368
- Object {
2369
- "color": "#000",
2370
- "fontFamily": "SFProDisplay-Semibold",
2371
- "fontSize": undefined,
2372
- "lineHeight": undefined,
2373
- "textAlign": "left",
2374
- "textDecorationLine": "none",
2375
- },
2376
- Object {
2377
- "color": "#262626",
2378
- "fontSize": 16,
2379
- "lineHeight": 24,
2380
- },
2381
- ]
2382
- }
2383
- >
2384
- Thêm
2385
- </Text>
2386
- </View>
2387
- <RCTScrollView
2388
- bounces={false}
2389
- contentContainerStyle={
2390
- Object {
2391
- "flex": 1,
2392
- "paddingBottom": 0,
2393
- "paddingHorizontal": 16,
2394
- }
2395
- }
2396
- data={
2397
- Array [
2398
- Object {
2399
- "data": Object {
2400
- "group": 1,
2401
- },
2402
- "id": 1,
2403
- "route": "EmergencyContactsAddNew",
2404
- "text": "Tạo liên hệ",
2405
- },
2406
- Object {
2407
- "data": Object {
2408
- "unitId": 1,
2409
- },
2410
- "id": 2,
2411
- "route": "EmergencyContactsSelectContacts",
2412
- "text": "Chọn từ danh sách thành viên của địa điểm",
2413
- },
2414
- ]
2415
- }
2416
- disableVirtualization={false}
2417
- getItem={[Function]}
2418
- getItemCount={[Function]}
2419
- horizontal={false}
2420
- initialNumToRender={10}
2421
- keyExtractor={[Function]}
2422
- maxToRenderPerBatch={10}
2423
- onContentSizeChange={[Function]}
2424
- onEndReachedThreshold={2}
2425
- onLayout={[Function]}
2426
- onMomentumScrollEnd={[Function]}
2427
- onScroll={[Function]}
2428
- onScrollBeginDrag={[Function]}
2429
- onScrollEndDrag={[Function]}
2430
- removeClippedSubviews={false}
2431
- renderItem={[Function]}
2432
- scrollEventThrottle={50}
2433
- stickyHeaderIndices={Array []}
2434
- updateCellsBatchingPeriod={50}
2435
- viewabilityConfigCallbackPairs={Array []}
2436
- windowSize={21}
2437
- >
2438
- <View>
2439
- <View
2440
- onLayout={[Function]}
2441
- style={null}
2442
- >
2443
- <View
2444
- accessible={true}
2445
- focusable={true}
2446
- onClick={[Function]}
2447
- onResponderGrant={[Function]}
2448
- onResponderMove={[Function]}
2449
- onResponderRelease={[Function]}
2450
- onResponderTerminate={[Function]}
2451
- onResponderTerminationRequest={[Function]}
2452
- onStartShouldSetResponder={[Function]}
2453
- style={
2454
- Object {
2455
- "flex": 1,
2456
- "flexDirection": "row",
2457
- "opacity": 1,
2458
- }
2459
- }
2460
- testID="MENU_ACTION_LIST_TOUCHABLE"
2461
- >
2462
- <View
2463
- style={
2464
- Object {
2465
- "borderBottomColor": "#E8E8E8",
2466
- "borderBottomWidth": 1,
2467
- "flex": 1,
2468
- "paddingVertical": 16,
2469
- }
2470
- }
2471
- >
2472
- <Text
2473
- style={
2474
- Array [
2475
- Object {
2476
- "color": "#000",
2477
- "fontFamily": "SFProDisplay-Regular",
2478
- "fontSize": undefined,
2479
- "lineHeight": undefined,
2480
- "textAlign": "left",
2481
- "textDecorationLine": "none",
2482
- },
2483
- Object {},
2484
- ]
2485
- }
2486
- styles={
2487
- Object {
2488
- "color": "#595959",
2489
- "fontSize": 16,
2490
- "lineHeight": 24,
2491
- }
2492
- }
2493
- >
2494
- Tạo liên hệ
2495
- </Text>
2496
- </View>
2497
- </View>
2498
- </View>
2499
- <View
2500
- onLayout={[Function]}
2501
- style={null}
2502
- >
2503
- <View
2504
- accessible={true}
2505
- focusable={true}
2506
- onClick={[Function]}
2507
- onResponderGrant={[Function]}
2508
- onResponderMove={[Function]}
2509
- onResponderRelease={[Function]}
2510
- onResponderTerminate={[Function]}
2511
- onResponderTerminationRequest={[Function]}
2512
- onStartShouldSetResponder={[Function]}
2513
- style={
2514
- Object {
2515
- "flex": 1,
2516
- "flexDirection": "row",
2517
- "opacity": 1,
2518
- }
2519
- }
2520
- testID="MENU_ACTION_LIST_TOUCHABLE"
2521
- >
2522
- <View
2523
- style={
2524
- Object {
2525
- "borderBottomColor": "#E8E8E8",
2526
- "borderBottomWidth": 1,
2527
- "flex": 1,
2528
- "paddingVertical": 16,
2529
- }
2530
- }
2531
- >
2532
- <Text
2533
- style={
2534
- Array [
2535
- Object {
2536
- "color": "#000",
2537
- "fontFamily": "SFProDisplay-Regular",
2538
- "fontSize": undefined,
2539
- "lineHeight": undefined,
2540
- "textAlign": "left",
2541
- "textDecorationLine": "none",
2542
- },
2543
- Object {},
2544
- ]
2545
- }
2546
- styles={
2547
- Object {
2548
- "color": "#595959",
2549
- "fontSize": 16,
2550
- "lineHeight": 24,
2551
- }
2552
- }
2553
- >
2554
- Chọn từ danh sách thành viên của địa điểm
2555
- </Text>
2556
- </View>
2557
- </View>
2558
- </View>
2559
- </View>
2560
- </RCTScrollView>
2561
- </View>
2562
- </View>
2563
- </View>
2564
- </Modal>
2565
- </View>
2566
- `;
2567
-
2568
- exports[`test EmergencyContactList onItemAddClick select unit members 1`] = `
2569
- <View
2570
- style={
2571
- Object {
2572
- "backgroundColor": "#FAFAFA",
2573
- "flex": 1,
2574
- }
2575
- }
2576
- >
2577
- <RCTSafeAreaView
2578
- emulateUnlessSupported={true}
2579
- style={
2580
- Array [
2581
- Object {
2582
- "flex": 1,
2583
- },
2584
- undefined,
2585
- ]
2586
- }
2587
- >
2588
- <View
2589
- style={
2590
- Object {
2591
- "backgroundColor": "transparent",
2592
- "width": "100%",
2593
- "zIndex": 2,
2594
- }
2595
- }
2596
- >
2597
- <View
2598
- style={
2599
- Object {
2600
- "backgroundColor": "#FAFAFA",
2601
- "borderColor": "#BFBFBF",
2602
- "borderWidth": 0.5,
2603
- "height": 88,
2604
- "opacity": 0,
2605
- "position": "absolute",
2606
- "transform": Array [
2607
- Object {
2608
- "translateY": 0,
2609
- },
2610
- ],
2611
- "width": "100%",
2612
- }
2613
- }
2614
- />
2615
- <View
2616
- style={
2617
- Object {
2618
- "flexDirection": "row",
2619
- "justifyContent": "space-between",
2620
- }
2621
- }
2622
- >
2623
- <View
2624
- accessible={true}
2625
- focusable={true}
2626
- onClick={[Function]}
2627
- onResponderGrant={[Function]}
2628
- onResponderMove={[Function]}
2629
- onResponderRelease={[Function]}
2630
- onResponderTerminate={[Function]}
2631
- onResponderTerminationRequest={[Function]}
2632
- onStartShouldSetResponder={[Function]}
2633
- style={
2634
- Object {
2635
- "alignItems": "center",
2636
- "height": 44,
2637
- "justifyContent": "center",
2638
- "opacity": 1,
2639
- "width": 44,
2640
- }
2641
- }
2642
- >
2643
- <Text
2644
- style={
2645
- Array [
2646
- Object {
2647
- "color": "#262626",
2648
- "fontFamily": "antoutline",
2649
- "fontSize": 27,
2650
- "fontStyle": "normal",
2651
- "fontWeight": "normal",
2652
- },
2653
- undefined,
2654
- ]
2655
- }
2656
- >
2657
-
2658
- </Text>
2659
- </View>
2660
- <View
2661
- styles={
2662
- Object {
2663
- "height": 44,
2664
- "width": 44,
2665
- }
2666
- }
2667
- />
2668
- </View>
2669
- <View
2670
- style={
2671
- Object {
2672
- "backgroundColor": "transparent",
2673
- "height": 44,
2674
- "justifyContent": "center",
2675
- "marginRight": 0,
2676
- "transform": Array [
2677
- Object {
2678
- "translateY": 0,
2679
- },
2680
- Object {
2681
- "translateX": 0,
2682
- },
2683
- Object {
2684
- "scale": 1,
2685
- },
2686
- ],
2687
- }
2688
- }
2689
- >
2690
- <Text
2691
- numberOfLines={1}
2692
- style={
2693
- Array [
2694
- Object {
2695
- "color": "#000",
2696
- "fontFamily": "SFProDisplay-Semibold",
2697
- "fontSize": 24,
2698
- "lineHeight": 32,
2699
- "textAlign": "left",
2700
- "textDecorationLine": "none",
2701
- },
2702
- Object {
2703
- "color": "#262626",
2704
- "marginLeft": 16,
2705
- "width": "100%",
2706
- },
2707
- ]
2708
- }
2709
- >
2710
- Danh sách liên hệ khẩn cấp
2711
- </Text>
2712
- </View>
2713
- </View>
2714
- <RCTScrollView
2715
- contentContainerStyle={
2716
- Array [
2717
- Object {
2718
- "paddingBottom": 88,
2719
- },
2720
- undefined,
2721
- ]
2722
- }
2723
- onMomentumScrollEnd={[Function]}
2724
- onScroll={[Function]}
2725
- refreshControl={
2726
- <RefreshControlMock
2727
- refreshing={false}
2728
- />
2729
- }
2730
- scrollEventThrottle={16}
2731
- showsVerticalScrollIndicator={false}
2732
- style={
2733
- Object {
2734
- "flex": 1,
2735
- "marginBottom": -88,
2736
- "paddingTop": 16,
2737
- "transform": Array [
2738
- Object {
2739
- "translateY": 0,
2740
- },
2741
- ],
2742
- }
2743
- }
2744
- >
2745
- <RCTRefreshControl />
2746
- <View>
2747
- <Text
2748
- style={
2749
- Array [
2750
- Object {
2751
- "color": "#595959",
2752
- "fontFamily": "SFProDisplay-Regular",
2753
- "fontSize": 14,
2754
- "lineHeight": 22,
2755
- "textAlign": "left",
2756
- "textDecorationLine": "none",
2757
- },
2758
- Object {
2759
- "marginBottom": 16,
2760
- "marginHorizontal": 16,
2761
- },
2762
- ]
2763
- }
2764
- >
2765
- Thiết lập danh bạ khẩn cấp cho địa điểm này để có thể liên lạc nhanh khi có tình huống khẩn cấp xảy ra.
2766
- </Text>
2767
- <View
2768
- style={
2769
- Array [
2770
- Object {
2771
- "backgroundColor": "#FFFFFF",
2772
- "borderColor": "#E8E8E8",
2773
- "borderRadius": 20,
2774
- "borderWidth": 1,
2775
- "marginBottom": 16,
2776
- "paddingBottom": 24,
2777
- "paddingHorizontal": 16,
2778
- "paddingTop": 8,
2779
- },
2780
- undefined,
2781
- ]
2782
- }
2783
- >
2784
- <View
2785
- accessible={true}
2786
- focusable={true}
2787
- onClick={[Function]}
2788
- onResponderGrant={[Function]}
2789
- onResponderMove={[Function]}
2790
- onResponderRelease={[Function]}
2791
- onResponderTerminate={[Function]}
2792
- onResponderTerminationRequest={[Function]}
2793
- onStartShouldSetResponder={[Function]}
2794
- style={
2795
- Object {
2796
- "alignItems": "center",
2797
- "flexDirection": "row",
2798
- "paddingVertical": 16,
2799
- }
2800
- }
2801
- >
2802
- <View
2803
- style={
2804
- Array [
2805
- Object {
2806
- "backgroundColor": "#00979D",
2807
- "borderColor": "white",
2808
- "borderRadius": 20,
2809
- "borderWidth": 0,
2810
- "height": 40,
2811
- "width": 40,
2812
- },
2813
- Object {
2814
- "alignItems": "center",
2815
- "justifyContent": "center",
2816
- },
2817
- undefined,
2818
- ]
2819
- }
2820
- >
2821
- <Text
2822
- style={
2823
- Array [
2824
- Object {
2825
- "color": "#FFFFFF",
2826
- "fontFamily": "antoutline",
2827
- "fontSize": 20,
2828
- "fontStyle": "normal",
2829
- "fontWeight": "normal",
2830
- },
2831
- undefined,
2832
- ]
2833
- }
2834
- >
2835
-
2836
- </Text>
2837
- </View>
2838
- <View
2839
- style={
2840
- Object {
2841
- "flex": 1,
2842
- "marginLeft": 16,
2843
- }
2844
- }
2845
- >
2846
- <Text
2847
- style={
2848
- Array [
2849
- Object {
2850
- "color": "#00979D",
2851
- "fontFamily": "SFProDisplay-Bold",
2852
- "fontSize": 16,
2853
- "lineHeight": 24,
2854
- "textAlign": "left",
2855
- "textDecorationLine": "none",
2856
- },
2857
- Object {},
2858
- ]
2859
- }
2860
- >
2861
- Thêm
2862
- </Text>
2863
- <Text
2864
- style={
2865
- Array [
2866
- Object {
2867
- "color": "#BFBFBF",
2868
- "fontFamily": "SFProDisplay-Regular",
2869
- "fontSize": 12,
2870
- "lineHeight": 20,
2871
- "textAlign": "left",
2872
- "textDecorationLine": "none",
2873
- },
2874
- Object {
2875
- "marginTop": -1,
2876
- },
2877
- ]
2878
- }
2879
- >
2880
- Tối đa 5 liên hệ
2881
- </Text>
2882
- </View>
2883
- <View
2884
- style={
2885
- Object {
2886
- "backgroundColor": "#E8E8E8",
2887
- "bottom": 1,
2888
- "height": 1,
2889
- "left": 56,
2890
- "position": "absolute",
2891
- "right": 0,
2892
- }
2893
- }
2894
- />
2895
- </View>
2896
- </View>
2897
- </View>
2898
- </RCTScrollView>
2899
- </RCTSafeAreaView>
2900
- <Modal
2901
- animationType="none"
2902
- deviceHeight={null}
2903
- deviceWidth={null}
2904
- hardwareAccelerated={false}
2905
- hideModalContentWhileAnimating={false}
2906
- onBackdropPress={[Function]}
2907
- onModalHide={[Function]}
2908
- onModalWillHide={[Function]}
2909
- onModalWillShow={[Function]}
2910
- onRequestClose={[Function]}
2911
- panResponderThreshold={4}
2912
- scrollHorizontal={false}
2913
- scrollOffset={0}
2914
- scrollOffsetMax={0}
2915
- scrollTo={null}
2916
- supportedOrientations={
2917
- Array [
2918
- "portrait",
2919
- "landscape",
2920
- ]
2921
- }
2922
- swipeThreshold={100}
2923
- transparent={true}
2924
- visible={false}
2925
- >
2926
- <View
2927
- accessible={true}
2928
- focusable={true}
2929
- forwardedRef={[Function]}
2930
- onClick={[Function]}
2931
- onResponderGrant={[Function]}
2932
- onResponderMove={[Function]}
2933
- onResponderRelease={[Function]}
2934
- onResponderTerminate={[Function]}
2935
- onResponderTerminationRequest={[Function]}
2936
- onStartShouldSetResponder={[Function]}
2937
- style={
2938
- Object {
2939
- "backgroundColor": "black",
2940
- "bottom": 0,
2941
- "height": 1334,
2942
- "left": 0,
2943
- "opacity": 0,
2944
- "position": "absolute",
2945
- "right": 0,
2946
- "top": 0,
2947
- "width": 750,
2948
- }
2949
- }
2950
- />
2951
- <View
2952
- deviceHeight={null}
2953
- deviceWidth={null}
2954
- forwardedRef={[Function]}
2955
- hideModalContentWhileAnimating={false}
2956
- onBackdropPress={[Function]}
2957
- onModalHide={[Function]}
2958
- onModalWillHide={[Function]}
2959
- onModalWillShow={[Function]}
2960
- panResponderThreshold={4}
2961
- pointerEvents="box-none"
2962
- scrollHorizontal={false}
2963
- scrollOffset={0}
2964
- scrollOffsetMax={0}
2965
- scrollTo={null}
2966
- style={
2967
- Object {
2968
- "flex": 1,
2969
- "justifyContent": "center",
2970
- "margin": 0,
2971
- "transform": Array [
2972
- Object {
2973
- "translateY": 0,
2974
- },
2975
- ],
2976
- }
2977
- }
2978
- supportedOrientations={
2979
- Array [
2980
- "portrait",
2981
- "landscape",
2982
- ]
2983
- }
2984
- swipeThreshold={100}
2985
- >
2986
- <View
2987
- style={
2988
- Object {
2989
- "backgroundColor": "#FFFFFF",
2990
- "borderRadius": 10,
2991
- "bottom": 0,
2992
- "left": 0,
2993
- "position": "absolute",
2994
- "width": "100%",
2995
- }
2996
- }
2997
- >
2998
- <View
2999
- style={
3000
- Object {
3001
- "backgroundColor": "#FFFFFF",
3002
- "borderRadius": 10,
3003
- "flex": 1,
3004
- "flexDirection": "column",
3005
- "marginBottom": 20,
3006
- }
3007
- }
3008
- >
3009
- <View
3010
- style={
3011
- Object {
3012
- "backgroundColor": "#FFFFFF",
3013
- "borderBottomWidth": 1,
3014
- "borderColor": "#E8E8E8",
3015
- "borderTopLeftRadius": 20,
3016
- "borderTopRightRadius": 20,
3017
- "padding": 16,
3018
- }
3019
- }
3020
- >
3021
- <Text
3022
- style={
3023
- Array [
3024
- Object {
3025
- "color": "#000",
3026
- "fontFamily": "SFProDisplay-Semibold",
3027
- "fontSize": undefined,
3028
- "lineHeight": undefined,
3029
- "textAlign": "left",
3030
- "textDecorationLine": "none",
3031
- },
3032
- Object {
3033
- "color": "#262626",
3034
- "fontSize": 16,
3035
- "lineHeight": 24,
3036
- },
3037
- ]
3038
- }
3039
- >
3040
-
3041
- </Text>
3042
- </View>
3043
- <View
3044
- style={
3045
- Object {
3046
- "flexDirection": "row",
3047
- "justifyContent": "center",
3048
- "paddingHorizontal": 16,
3049
- }
3050
- }
3051
- >
3052
- <View
3053
- accessible={true}
3054
- focusable={true}
3055
- onClick={[Function]}
3056
- onResponderGrant={[Function]}
3057
- onResponderMove={[Function]}
3058
- onResponderRelease={[Function]}
3059
- onResponderTerminate={[Function]}
3060
- onResponderTerminationRequest={[Function]}
3061
- onStartShouldSetResponder={[Function]}
3062
- style={
3063
- Object {
3064
- "alignItems": "center",
3065
- "flex": 1,
3066
- "justifyContent": "center",
3067
- "opacity": 1,
3068
- "paddingVertical": 24,
3069
- "width": "100%",
3070
- }
3071
- }
3072
- testID="VIEW_BUTTON_BOTTOM_LEFT_BUTTON"
3073
- >
3074
- <Text
3075
- style={
3076
- Array [
3077
- Object {
3078
- "color": "#00979D",
3079
- "fontFamily": "SFProDisplay-Semibold",
3080
- "fontSize": 16,
3081
- "lineHeight": 24,
3082
- "textAlign": "left",
3083
- "textDecorationLine": "none",
3084
- },
3085
- Object {},
3086
- ]
3087
- }
3088
- >
3089
- Hủy
3090
- </Text>
3091
- </View>
3092
-
3093
- </View>
3094
- </View>
3095
- </View>
3096
- </View>
3097
- </Modal>
3098
- <Modal
3099
- animationType="none"
3100
- deviceHeight={null}
3101
- deviceWidth={null}
3102
- hardwareAccelerated={false}
3103
- hideModalContentWhileAnimating={false}
3104
- onBackdropPress={[Function]}
3105
- onModalHide={[Function]}
3106
- onModalWillHide={[Function]}
3107
- onModalWillShow={[Function]}
3108
- onRequestClose={[Function]}
3109
- panResponderThreshold={4}
3110
- scrollHorizontal={false}
3111
- scrollOffset={0}
3112
- scrollOffsetMax={0}
3113
- scrollTo={null}
3114
- supportedOrientations={
3115
- Array [
3116
- "portrait",
3117
- "landscape",
3118
- ]
3119
- }
3120
- swipeThreshold={100}
3121
- transparent={true}
3122
- visible={false}
3123
- >
3124
- <View
3125
- accessible={true}
3126
- focusable={true}
3127
- forwardedRef={[Function]}
3128
- onClick={[Function]}
3129
- onResponderGrant={[Function]}
3130
- onResponderMove={[Function]}
3131
- onResponderRelease={[Function]}
3132
- onResponderTerminate={[Function]}
3133
- onResponderTerminationRequest={[Function]}
3134
- onStartShouldSetResponder={[Function]}
3135
- style={
3136
- Object {
3137
- "backgroundColor": "black",
3138
- "bottom": 0,
3139
- "height": 1334,
3140
- "left": 0,
3141
- "opacity": 0,
3142
- "position": "absolute",
3143
- "right": 0,
3144
- "top": 0,
3145
- "width": 750,
3146
- }
3147
- }
3148
- />
3149
- <View
3150
- deviceHeight={null}
3151
- deviceWidth={null}
3152
- forwardedRef={[Function]}
3153
- hideModalContentWhileAnimating={false}
3154
- onBackdropPress={[Function]}
3155
- onModalHide={[Function]}
3156
- onModalWillHide={[Function]}
3157
- onModalWillShow={[Function]}
3158
- panResponderThreshold={4}
3159
- pointerEvents="box-none"
3160
- scrollHorizontal={false}
3161
- scrollOffset={0}
3162
- scrollOffsetMax={0}
3163
- scrollTo={null}
3164
- style={
3165
- Object {
3166
- "flex": 1,
3167
- "justifyContent": "center",
3168
- "margin": 0,
3169
- "transform": Array [
3170
- Object {
3171
- "translateY": 0,
3172
- },
3173
- ],
3174
- }
3175
- }
3176
- supportedOrientations={
3177
- Array [
3178
- "portrait",
3179
- "landscape",
3180
- ]
3181
- }
3182
- swipeThreshold={100}
3183
- >
3184
- <View
3185
- style={
3186
- Object {
3187
- "backgroundColor": "#FFFFFF",
3188
- "borderRadius": 10,
3189
- "bottom": 0,
3190
- "left": 0,
3191
- "position": "absolute",
3192
- "width": "100%",
3193
- }
3194
- }
3195
- >
3196
- <View
3197
- style={
3198
- Object {
3199
- "backgroundColor": "#FFFFFF",
3200
- "borderRadius": 10,
3201
- "flex": 1,
3202
- "flexDirection": "column",
3203
- }
3204
- }
3205
- >
3206
- <View
3207
- style={
3208
- Object {
3209
- "alignItems": "flex-start",
3210
- "backgroundColor": "#FFFFFF",
3211
- "borderBottomWidth": 1,
3212
- "borderColor": "#E8E8E8",
3213
- "borderTopLeftRadius": 20,
3214
- "borderTopRightRadius": 20,
3215
- "justifyContent": "center",
3216
- "padding": 16,
3217
- }
3218
- }
3219
- >
3220
- <Text
3221
- style={
3222
- Array [
3223
- Object {
3224
- "color": "#000",
3225
- "fontFamily": "SFProDisplay-Semibold",
3226
- "fontSize": undefined,
3227
- "lineHeight": undefined,
3228
- "textAlign": "left",
3229
- "textDecorationLine": "none",
3230
- },
3231
- Object {
3232
- "color": "#262626",
3233
- "fontSize": 16,
3234
- "lineHeight": 24,
3235
- },
3236
- ]
3237
- }
3238
- >
3239
- Thêm
3240
- </Text>
3241
- </View>
3242
- <RCTScrollView
3243
- bounces={false}
3244
- contentContainerStyle={
3245
- Object {
3246
- "flex": 1,
3247
- "paddingBottom": 0,
3248
- "paddingHorizontal": 16,
3249
- }
3250
- }
3251
- data={
3252
- Array [
3253
- Object {
3254
- "data": Object {
3255
- "group": 1,
3256
- },
3257
- "id": 1,
3258
- "route": "EmergencyContactsAddNew",
3259
- "text": "Tạo liên hệ",
3260
- },
3261
- Object {
3262
- "data": Object {
3263
- "unitId": 1,
3264
- },
3265
- "id": 2,
3266
- "route": "EmergencyContactsSelectContacts",
3267
- "text": "Chọn từ danh sách thành viên của địa điểm",
3268
- },
3269
- ]
3270
- }
3271
- disableVirtualization={false}
3272
- getItem={[Function]}
3273
- getItemCount={[Function]}
3274
- horizontal={false}
3275
- initialNumToRender={10}
3276
- keyExtractor={[Function]}
3277
- maxToRenderPerBatch={10}
3278
- onContentSizeChange={[Function]}
3279
- onEndReachedThreshold={2}
3280
- onLayout={[Function]}
3281
- onMomentumScrollEnd={[Function]}
3282
- onScroll={[Function]}
3283
- onScrollBeginDrag={[Function]}
3284
- onScrollEndDrag={[Function]}
3285
- removeClippedSubviews={false}
3286
- renderItem={[Function]}
3287
- scrollEventThrottle={50}
3288
- stickyHeaderIndices={Array []}
3289
- updateCellsBatchingPeriod={50}
3290
- viewabilityConfigCallbackPairs={Array []}
3291
- windowSize={21}
3292
- >
3293
- <View>
3294
- <View
3295
- onLayout={[Function]}
3296
- style={null}
3297
- >
3298
- <View
3299
- accessible={true}
3300
- focusable={true}
3301
- onClick={[Function]}
3302
- onResponderGrant={[Function]}
3303
- onResponderMove={[Function]}
3304
- onResponderRelease={[Function]}
3305
- onResponderTerminate={[Function]}
3306
- onResponderTerminationRequest={[Function]}
3307
- onStartShouldSetResponder={[Function]}
3308
- style={
3309
- Object {
3310
- "flex": 1,
3311
- "flexDirection": "row",
3312
- "opacity": 1,
3313
- }
3314
- }
3315
- testID="MENU_ACTION_LIST_TOUCHABLE"
3316
- >
3317
- <View
3318
- style={
3319
- Object {
3320
- "borderBottomColor": "#E8E8E8",
3321
- "borderBottomWidth": 1,
3322
- "flex": 1,
3323
- "paddingVertical": 16,
3324
- }
3325
- }
3326
- >
3327
- <Text
3328
- style={
3329
- Array [
3330
- Object {
3331
- "color": "#000",
3332
- "fontFamily": "SFProDisplay-Regular",
3333
- "fontSize": undefined,
3334
- "lineHeight": undefined,
3335
- "textAlign": "left",
3336
- "textDecorationLine": "none",
3337
- },
3338
- Object {},
3339
- ]
3340
- }
3341
- styles={
3342
- Object {
3343
- "color": "#595959",
3344
- "fontSize": 16,
3345
- "lineHeight": 24,
3346
- }
3347
- }
3348
- >
3349
- Tạo liên hệ
3350
- </Text>
3351
- </View>
3352
- </View>
3353
- </View>
3354
- <View
3355
- onLayout={[Function]}
3356
- style={null}
3357
- >
3358
- <View
3359
- accessible={true}
3360
- focusable={true}
3361
- onClick={[Function]}
3362
- onResponderGrant={[Function]}
3363
- onResponderMove={[Function]}
3364
- onResponderRelease={[Function]}
3365
- onResponderTerminate={[Function]}
3366
- onResponderTerminationRequest={[Function]}
3367
- onStartShouldSetResponder={[Function]}
3368
- style={
3369
- Object {
3370
- "flex": 1,
3371
- "flexDirection": "row",
3372
- "opacity": 1,
3373
- }
3374
- }
3375
- testID="MENU_ACTION_LIST_TOUCHABLE"
3376
- >
3377
- <View
3378
- style={
3379
- Object {
3380
- "borderBottomColor": "#E8E8E8",
3381
- "borderBottomWidth": 1,
3382
- "flex": 1,
3383
- "paddingVertical": 16,
3384
- }
3385
- }
3386
- >
3387
- <Text
3388
- style={
3389
- Array [
3390
- Object {
3391
- "color": "#000",
3392
- "fontFamily": "SFProDisplay-Regular",
3393
- "fontSize": undefined,
3394
- "lineHeight": undefined,
3395
- "textAlign": "left",
3396
- "textDecorationLine": "none",
3397
- },
3398
- Object {},
3399
- ]
3400
- }
3401
- styles={
3402
- Object {
3403
- "color": "#595959",
3404
- "fontSize": 16,
3405
- "lineHeight": 24,
3406
- }
3407
- }
3408
- >
3409
- Chọn từ danh sách thành viên của địa điểm
3410
- </Text>
3411
- </View>
3412
- </View>
3413
- </View>
3414
- </View>
3415
- </RCTScrollView>
3416
- </View>
3417
- </View>
3418
- </View>
3419
- </Modal>
3420
- </View>
3421
- `;
3422
-
3423
- exports[`test EmergencyContactList render 1`] = `
3424
- <View
3425
- style={
3426
- Object {
3427
- "backgroundColor": "#FAFAFA",
3428
- "flex": 1,
3429
- }
3430
- }
3431
- >
3432
- <RCTSafeAreaView
3433
- emulateUnlessSupported={true}
3434
- style={
3435
- Array [
3436
- Object {
3437
- "flex": 1,
3438
- },
3439
- undefined,
3440
- ]
3441
- }
3442
- >
3443
- <View
3444
- style={
3445
- Object {
3446
- "backgroundColor": "transparent",
3447
- "width": "100%",
3448
- "zIndex": 2,
3449
- }
3450
- }
3451
- >
3452
- <View
3453
- style={
3454
- Object {
3455
- "backgroundColor": "#FAFAFA",
3456
- "borderColor": "#BFBFBF",
3457
- "borderWidth": 0.5,
3458
- "height": 88,
3459
- "opacity": 0,
3460
- "position": "absolute",
3461
- "transform": Array [
3462
- Object {
3463
- "translateY": 0,
3464
- },
3465
- ],
3466
- "width": "100%",
3467
- }
3468
- }
3469
- />
3470
- <View
3471
- style={
3472
- Object {
3473
- "flexDirection": "row",
3474
- "justifyContent": "space-between",
3475
- }
3476
- }
3477
- >
3478
- <View
3479
- accessible={true}
3480
- focusable={true}
3481
- onClick={[Function]}
3482
- onResponderGrant={[Function]}
3483
- onResponderMove={[Function]}
3484
- onResponderRelease={[Function]}
3485
- onResponderTerminate={[Function]}
3486
- onResponderTerminationRequest={[Function]}
3487
- onStartShouldSetResponder={[Function]}
3488
- style={
3489
- Object {
3490
- "alignItems": "center",
3491
- "height": 44,
3492
- "justifyContent": "center",
3493
- "opacity": 1,
3494
- "width": 44,
3495
- }
3496
- }
3497
- >
3498
- <Text
3499
- style={
3500
- Array [
3501
- Object {
3502
- "color": "#262626",
3503
- "fontFamily": "antoutline",
3504
- "fontSize": 27,
3505
- "fontStyle": "normal",
3506
- "fontWeight": "normal",
3507
- },
3508
- undefined,
3509
- ]
3510
- }
3511
- >
3512
-
3513
- </Text>
3514
- </View>
3515
- <View
3516
- styles={
3517
- Object {
3518
- "height": 44,
3519
- "width": 44,
3520
- }
3521
- }
3522
- />
3523
- </View>
3524
- <View
3525
- style={
3526
- Object {
3527
- "backgroundColor": "transparent",
3528
- "height": 44,
3529
- "justifyContent": "center",
3530
- "marginRight": 0,
3531
- "transform": Array [
3532
- Object {
3533
- "translateY": 0,
3534
- },
3535
- Object {
3536
- "translateX": 0,
3537
- },
3538
- Object {
3539
- "scale": 1,
3540
- },
3541
- ],
3542
- }
3543
- }
3544
- >
3545
- <Text
3546
- numberOfLines={1}
3547
- style={
3548
- Array [
3549
- Object {
3550
- "color": "#000",
3551
- "fontFamily": "SFProDisplay-Semibold",
3552
- "fontSize": 24,
3553
- "lineHeight": 32,
3554
- "textAlign": "left",
3555
- "textDecorationLine": "none",
3556
- },
3557
- Object {
3558
- "color": "#262626",
3559
- "marginLeft": 16,
3560
- "width": "100%",
3561
- },
3562
- ]
3563
- }
3564
- >
3565
- Danh sách liên hệ khẩn cấp
3566
- </Text>
3567
- </View>
3568
- </View>
3569
- <RCTScrollView
3570
- contentContainerStyle={
3571
- Array [
3572
- Object {
3573
- "paddingBottom": 88,
3574
- },
3575
- undefined,
3576
- ]
3577
- }
3578
- onMomentumScrollEnd={[Function]}
3579
- onScroll={[Function]}
3580
- refreshControl={
3581
- <RefreshControlMock
3582
- refreshing={false}
3583
- />
3584
- }
3585
- scrollEventThrottle={16}
3586
- showsVerticalScrollIndicator={false}
3587
- style={
3588
- Object {
3589
- "flex": 1,
3590
- "marginBottom": -88,
3591
- "paddingTop": 16,
3592
- "transform": Array [
3593
- Object {
3594
- "translateY": 0,
3595
- },
3596
- ],
3597
- }
3598
- }
3599
- >
3600
- <RCTRefreshControl />
3601
- <View>
3602
- <Text
3603
- style={
3604
- Array [
3605
- Object {
3606
- "color": "#595959",
3607
- "fontFamily": "SFProDisplay-Regular",
3608
- "fontSize": 14,
3609
- "lineHeight": 22,
3610
- "textAlign": "left",
3611
- "textDecorationLine": "none",
3612
- },
3613
- Object {
3614
- "marginBottom": 16,
3615
- "marginHorizontal": 16,
3616
- },
3617
- ]
3618
- }
3619
- >
3620
- Thiết lập danh bạ khẩn cấp cho địa điểm này để có thể liên lạc nhanh khi có tình huống khẩn cấp xảy ra.
3621
- </Text>
3622
- <View
3623
- style={
3624
- Array [
3625
- Object {
3626
- "backgroundColor": "#FFFFFF",
3627
- "borderColor": "#E8E8E8",
3628
- "borderRadius": 20,
3629
- "borderWidth": 1,
3630
- "marginBottom": 16,
3631
- "paddingBottom": 24,
3632
- "paddingHorizontal": 16,
3633
- "paddingTop": 8,
3634
- },
3635
- undefined,
3636
- ]
3637
- }
3638
- >
3639
- <View
3640
- accessible={true}
3641
- focusable={true}
3642
- onClick={[Function]}
3643
- onResponderGrant={[Function]}
3644
- onResponderMove={[Function]}
3645
- onResponderRelease={[Function]}
3646
- onResponderTerminate={[Function]}
3647
- onResponderTerminationRequest={[Function]}
3648
- onStartShouldSetResponder={[Function]}
3649
- style={
3650
- Object {
3651
- "alignItems": "center",
3652
- "flexDirection": "row",
3653
- "paddingVertical": 16,
3654
- }
3655
- }
3656
- >
3657
- <View
3658
- style={
3659
- Array [
3660
- Object {
3661
- "backgroundColor": "#00979D",
3662
- "borderColor": "white",
3663
- "borderRadius": 20,
3664
- "borderWidth": 0,
3665
- "height": 40,
3666
- "width": 40,
3667
- },
3668
- Object {
3669
- "alignItems": "center",
3670
- "justifyContent": "center",
3671
- },
3672
- undefined,
3673
- ]
3674
- }
3675
- >
3676
- <Text
3677
- style={
3678
- Array [
3679
- Object {
3680
- "color": "#FFFFFF",
3681
- "fontFamily": "antoutline",
3682
- "fontSize": 20,
3683
- "fontStyle": "normal",
3684
- "fontWeight": "normal",
3685
- },
3686
- undefined,
3687
- ]
3688
- }
3689
- >
3690
-
3691
- </Text>
3692
- </View>
3693
- <View
3694
- style={
3695
- Object {
3696
- "flex": 1,
3697
- "marginLeft": 16,
3698
- }
3699
- }
3700
- >
3701
- <Text
3702
- style={
3703
- Array [
3704
- Object {
3705
- "color": "#00979D",
3706
- "fontFamily": "SFProDisplay-Bold",
3707
- "fontSize": 16,
3708
- "lineHeight": 24,
3709
- "textAlign": "left",
3710
- "textDecorationLine": "none",
3711
- },
3712
- Object {},
3713
- ]
3714
- }
3715
- >
3716
- Thêm
3717
- </Text>
3718
- <Text
3719
- style={
3720
- Array [
3721
- Object {
3722
- "color": "#BFBFBF",
3723
- "fontFamily": "SFProDisplay-Regular",
3724
- "fontSize": 12,
3725
- "lineHeight": 20,
3726
- "textAlign": "left",
3727
- "textDecorationLine": "none",
3728
- },
3729
- Object {
3730
- "marginTop": -1,
3731
- },
3732
- ]
3733
- }
3734
- >
3735
- Tối đa 5 liên hệ
3736
- </Text>
3737
- </View>
3738
- <View
3739
- style={
3740
- Object {
3741
- "backgroundColor": "#E8E8E8",
3742
- "bottom": 1,
3743
- "height": 1,
3744
- "left": 56,
3745
- "position": "absolute",
3746
- "right": 0,
3747
- }
3748
- }
3749
- />
3750
- </View>
3751
- </View>
3752
- </View>
3753
- </RCTScrollView>
3754
- </RCTSafeAreaView>
3755
- <Modal
3756
- animationType="none"
3757
- deviceHeight={null}
3758
- deviceWidth={null}
3759
- hardwareAccelerated={false}
3760
- hideModalContentWhileAnimating={false}
3761
- onBackdropPress={[Function]}
3762
- onModalHide={[Function]}
3763
- onModalWillHide={[Function]}
3764
- onModalWillShow={[Function]}
3765
- onRequestClose={[Function]}
3766
- panResponderThreshold={4}
3767
- scrollHorizontal={false}
3768
- scrollOffset={0}
3769
- scrollOffsetMax={0}
3770
- scrollTo={null}
3771
- supportedOrientations={
3772
- Array [
3773
- "portrait",
3774
- "landscape",
3775
- ]
3776
- }
3777
- swipeThreshold={100}
3778
- transparent={true}
3779
- visible={false}
3780
- >
3781
- <View
3782
- accessible={true}
3783
- focusable={true}
3784
- forwardedRef={[Function]}
3785
- onClick={[Function]}
3786
- onResponderGrant={[Function]}
3787
- onResponderMove={[Function]}
3788
- onResponderRelease={[Function]}
3789
- onResponderTerminate={[Function]}
3790
- onResponderTerminationRequest={[Function]}
3791
- onStartShouldSetResponder={[Function]}
3792
- style={
3793
- Object {
3794
- "backgroundColor": "black",
3795
- "bottom": 0,
3796
- "height": 1334,
3797
- "left": 0,
3798
- "opacity": 0,
3799
- "position": "absolute",
3800
- "right": 0,
3801
- "top": 0,
3802
- "width": 750,
3803
- }
3804
- }
3805
- />
3806
- <View
3807
- deviceHeight={null}
3808
- deviceWidth={null}
3809
- forwardedRef={[Function]}
3810
- hideModalContentWhileAnimating={false}
3811
- onBackdropPress={[Function]}
3812
- onModalHide={[Function]}
3813
- onModalWillHide={[Function]}
3814
- onModalWillShow={[Function]}
3815
- panResponderThreshold={4}
3816
- pointerEvents="box-none"
3817
- scrollHorizontal={false}
3818
- scrollOffset={0}
3819
- scrollOffsetMax={0}
3820
- scrollTo={null}
3821
- style={
3822
- Object {
3823
- "flex": 1,
3824
- "justifyContent": "center",
3825
- "margin": 0,
3826
- "transform": Array [
3827
- Object {
3828
- "translateY": 0,
3829
- },
3830
- ],
3831
- }
3832
- }
3833
- supportedOrientations={
3834
- Array [
3835
- "portrait",
3836
- "landscape",
3837
- ]
3838
- }
3839
- swipeThreshold={100}
3840
- >
3841
- <View
3842
- style={
3843
- Object {
3844
- "backgroundColor": "#FFFFFF",
3845
- "borderRadius": 10,
3846
- "bottom": 0,
3847
- "left": 0,
3848
- "position": "absolute",
3849
- "width": "100%",
3850
- }
3851
- }
3852
- >
3853
- <View
3854
- style={
3855
- Object {
3856
- "backgroundColor": "#FFFFFF",
3857
- "borderRadius": 10,
3858
- "flex": 1,
3859
- "flexDirection": "column",
3860
- "marginBottom": 20,
3861
- }
3862
- }
3863
- >
3864
- <View
3865
- style={
3866
- Object {
3867
- "backgroundColor": "#FFFFFF",
3868
- "borderBottomWidth": 1,
3869
- "borderColor": "#E8E8E8",
3870
- "borderTopLeftRadius": 20,
3871
- "borderTopRightRadius": 20,
3872
- "padding": 16,
3873
- }
3874
- }
3875
- >
3876
- <Text
3877
- style={
3878
- Array [
3879
- Object {
3880
- "color": "#000",
3881
- "fontFamily": "SFProDisplay-Semibold",
3882
- "fontSize": undefined,
3883
- "lineHeight": undefined,
3884
- "textAlign": "left",
3885
- "textDecorationLine": "none",
3886
- },
3887
- Object {
3888
- "color": "#262626",
3889
- "fontSize": 16,
3890
- "lineHeight": 24,
3891
- },
3892
- ]
3893
- }
3894
- >
3895
-
3896
- </Text>
3897
- </View>
3898
- <View
3899
- style={
3900
- Object {
3901
- "flexDirection": "row",
3902
- "justifyContent": "center",
3903
- "paddingHorizontal": 16,
3904
- }
3905
- }
3906
- >
3907
- <View
3908
- accessible={true}
3909
- focusable={true}
3910
- onClick={[Function]}
3911
- onResponderGrant={[Function]}
3912
- onResponderMove={[Function]}
3913
- onResponderRelease={[Function]}
3914
- onResponderTerminate={[Function]}
3915
- onResponderTerminationRequest={[Function]}
3916
- onStartShouldSetResponder={[Function]}
3917
- style={
3918
- Object {
3919
- "alignItems": "center",
3920
- "flex": 1,
3921
- "justifyContent": "center",
3922
- "opacity": 1,
3923
- "paddingVertical": 24,
3924
- "width": "100%",
3925
- }
3926
- }
3927
- testID="VIEW_BUTTON_BOTTOM_LEFT_BUTTON"
3928
- >
3929
- <Text
3930
- style={
3931
- Array [
3932
- Object {
3933
- "color": "#00979D",
3934
- "fontFamily": "SFProDisplay-Semibold",
3935
- "fontSize": 16,
3936
- "lineHeight": 24,
3937
- "textAlign": "left",
3938
- "textDecorationLine": "none",
3939
- },
3940
- Object {},
3941
- ]
3942
- }
3943
- >
3944
- Hủy
3945
- </Text>
3946
- </View>
3947
-
3948
- </View>
3949
- </View>
3950
- </View>
3951
- </View>
3952
- </Modal>
3953
- <Modal
3954
- animationType="none"
3955
- deviceHeight={null}
3956
- deviceWidth={null}
3957
- hardwareAccelerated={false}
3958
- hideModalContentWhileAnimating={false}
3959
- onBackdropPress={[Function]}
3960
- onModalHide={[Function]}
3961
- onModalWillHide={[Function]}
3962
- onModalWillShow={[Function]}
3963
- onRequestClose={[Function]}
3964
- panResponderThreshold={4}
3965
- scrollHorizontal={false}
3966
- scrollOffset={0}
3967
- scrollOffsetMax={0}
3968
- scrollTo={null}
3969
- supportedOrientations={
3970
- Array [
3971
- "portrait",
3972
- "landscape",
3973
- ]
3974
- }
3975
- swipeThreshold={100}
3976
- transparent={true}
3977
- visible={false}
3978
- >
3979
- <View
3980
- accessible={true}
3981
- focusable={true}
3982
- forwardedRef={[Function]}
3983
- onClick={[Function]}
3984
- onResponderGrant={[Function]}
3985
- onResponderMove={[Function]}
3986
- onResponderRelease={[Function]}
3987
- onResponderTerminate={[Function]}
3988
- onResponderTerminationRequest={[Function]}
3989
- onStartShouldSetResponder={[Function]}
3990
- style={
3991
- Object {
3992
- "backgroundColor": "black",
3993
- "bottom": 0,
3994
- "height": 1334,
3995
- "left": 0,
3996
- "opacity": 0,
3997
- "position": "absolute",
3998
- "right": 0,
3999
- "top": 0,
4000
- "width": 750,
4001
- }
4002
- }
4003
- />
4004
- <View
4005
- deviceHeight={null}
4006
- deviceWidth={null}
4007
- forwardedRef={[Function]}
4008
- hideModalContentWhileAnimating={false}
4009
- onBackdropPress={[Function]}
4010
- onModalHide={[Function]}
4011
- onModalWillHide={[Function]}
4012
- onModalWillShow={[Function]}
4013
- panResponderThreshold={4}
4014
- pointerEvents="box-none"
4015
- scrollHorizontal={false}
4016
- scrollOffset={0}
4017
- scrollOffsetMax={0}
4018
- scrollTo={null}
4019
- style={
4020
- Object {
4021
- "flex": 1,
4022
- "justifyContent": "center",
4023
- "margin": 0,
4024
- "transform": Array [
4025
- Object {
4026
- "translateY": 0,
4027
- },
4028
- ],
4029
- }
4030
- }
4031
- supportedOrientations={
4032
- Array [
4033
- "portrait",
4034
- "landscape",
4035
- ]
4036
- }
4037
- swipeThreshold={100}
4038
- >
4039
- <View
4040
- style={
4041
- Object {
4042
- "backgroundColor": "#FFFFFF",
4043
- "borderRadius": 10,
4044
- "bottom": 0,
4045
- "left": 0,
4046
- "position": "absolute",
4047
- "width": "100%",
4048
- }
4049
- }
4050
- >
4051
- <View
4052
- style={
4053
- Object {
4054
- "backgroundColor": "#FFFFFF",
4055
- "borderRadius": 10,
4056
- "flex": 1,
4057
- "flexDirection": "column",
4058
- }
4059
- }
4060
- >
4061
- <View
4062
- style={
4063
- Object {
4064
- "alignItems": "flex-start",
4065
- "backgroundColor": "#FFFFFF",
4066
- "borderBottomWidth": 1,
4067
- "borderColor": "#E8E8E8",
4068
- "borderTopLeftRadius": 20,
4069
- "borderTopRightRadius": 20,
4070
- "justifyContent": "center",
4071
- "padding": 16,
4072
- }
4073
- }
4074
- >
4075
- <Text
4076
- style={
4077
- Array [
4078
- Object {
4079
- "color": "#000",
4080
- "fontFamily": "SFProDisplay-Semibold",
4081
- "fontSize": undefined,
4082
- "lineHeight": undefined,
4083
- "textAlign": "left",
4084
- "textDecorationLine": "none",
4085
- },
4086
- Object {
4087
- "color": "#262626",
4088
- "fontSize": 16,
4089
- "lineHeight": 24,
4090
- },
4091
- ]
4092
- }
4093
- >
4094
- Thêm
4095
- </Text>
4096
- </View>
4097
- <RCTScrollView
4098
- bounces={false}
4099
- contentContainerStyle={
4100
- Object {
4101
- "flex": 1,
4102
- "paddingBottom": 0,
4103
- "paddingHorizontal": 16,
4104
- }
4105
- }
4106
- data={
4107
- Array [
4108
- Object {
4109
- "data": Object {
4110
- "group": 1,
4111
- },
4112
- "id": 1,
4113
- "route": "EmergencyContactsAddNew",
4114
- "text": "Tạo liên hệ",
4115
- },
4116
- Object {
4117
- "data": Object {
4118
- "unitId": 1,
4119
- },
4120
- "id": 2,
4121
- "route": "EmergencyContactsSelectContacts",
4122
- "text": "Chọn từ danh sách thành viên của địa điểm",
4123
- },
4124
- ]
4125
- }
4126
- disableVirtualization={false}
4127
- getItem={[Function]}
4128
- getItemCount={[Function]}
4129
- horizontal={false}
4130
- initialNumToRender={10}
4131
- keyExtractor={[Function]}
4132
- maxToRenderPerBatch={10}
4133
- onContentSizeChange={[Function]}
4134
- onEndReachedThreshold={2}
4135
- onLayout={[Function]}
4136
- onMomentumScrollEnd={[Function]}
4137
- onScroll={[Function]}
4138
- onScrollBeginDrag={[Function]}
4139
- onScrollEndDrag={[Function]}
4140
- removeClippedSubviews={false}
4141
- renderItem={[Function]}
4142
- scrollEventThrottle={50}
4143
- stickyHeaderIndices={Array []}
4144
- updateCellsBatchingPeriod={50}
4145
- viewabilityConfigCallbackPairs={Array []}
4146
- windowSize={21}
4147
- >
4148
- <View>
4149
- <View
4150
- onLayout={[Function]}
4151
- style={null}
4152
- >
4153
- <View
4154
- accessible={true}
4155
- focusable={true}
4156
- onClick={[Function]}
4157
- onResponderGrant={[Function]}
4158
- onResponderMove={[Function]}
4159
- onResponderRelease={[Function]}
4160
- onResponderTerminate={[Function]}
4161
- onResponderTerminationRequest={[Function]}
4162
- onStartShouldSetResponder={[Function]}
4163
- style={
4164
- Object {
4165
- "flex": 1,
4166
- "flexDirection": "row",
4167
- "opacity": 1,
4168
- }
4169
- }
4170
- testID="MENU_ACTION_LIST_TOUCHABLE"
4171
- >
4172
- <View
4173
- style={
4174
- Object {
4175
- "borderBottomColor": "#E8E8E8",
4176
- "borderBottomWidth": 1,
4177
- "flex": 1,
4178
- "paddingVertical": 16,
4179
- }
4180
- }
4181
- >
4182
- <Text
4183
- style={
4184
- Array [
4185
- Object {
4186
- "color": "#000",
4187
- "fontFamily": "SFProDisplay-Regular",
4188
- "fontSize": undefined,
4189
- "lineHeight": undefined,
4190
- "textAlign": "left",
4191
- "textDecorationLine": "none",
4192
- },
4193
- Object {},
4194
- ]
4195
- }
4196
- styles={
4197
- Object {
4198
- "color": "#595959",
4199
- "fontSize": 16,
4200
- "lineHeight": 24,
4201
- }
4202
- }
4203
- >
4204
- Tạo liên hệ
4205
- </Text>
4206
- </View>
4207
- </View>
4208
- </View>
4209
- <View
4210
- onLayout={[Function]}
4211
- style={null}
4212
- >
4213
- <View
4214
- accessible={true}
4215
- focusable={true}
4216
- onClick={[Function]}
4217
- onResponderGrant={[Function]}
4218
- onResponderMove={[Function]}
4219
- onResponderRelease={[Function]}
4220
- onResponderTerminate={[Function]}
4221
- onResponderTerminationRequest={[Function]}
4222
- onStartShouldSetResponder={[Function]}
4223
- style={
4224
- Object {
4225
- "flex": 1,
4226
- "flexDirection": "row",
4227
- "opacity": 1,
4228
- }
4229
- }
4230
- testID="MENU_ACTION_LIST_TOUCHABLE"
4231
- >
4232
- <View
4233
- style={
4234
- Object {
4235
- "borderBottomColor": "#E8E8E8",
4236
- "borderBottomWidth": 1,
4237
- "flex": 1,
4238
- "paddingVertical": 16,
4239
- }
4240
- }
4241
- >
4242
- <Text
4243
- style={
4244
- Array [
4245
- Object {
4246
- "color": "#000",
4247
- "fontFamily": "SFProDisplay-Regular",
4248
- "fontSize": undefined,
4249
- "lineHeight": undefined,
4250
- "textAlign": "left",
4251
- "textDecorationLine": "none",
4252
- },
4253
- Object {},
4254
- ]
4255
- }
4256
- styles={
4257
- Object {
4258
- "color": "#595959",
4259
- "fontSize": 16,
4260
- "lineHeight": 24,
4261
- }
4262
- }
4263
- >
4264
- Chọn từ danh sách thành viên của địa điểm
4265
- </Text>
4266
- </View>
4267
- </View>
4268
- </View>
4269
- </View>
4270
- </RCTScrollView>
4271
- </View>
4272
- </View>
4273
- </View>
4274
- </Modal>
4275
- </View>
4276
- `;