@eohjsc/react-native-smart-city 0.2.42 → 0.2.46

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 (49) hide show
  1. package/package.json +11 -2
  2. package/src/Images/Common/logo.png +0 -0
  3. package/src/Images/Common/logo@2x.png +0 -0
  4. package/src/Images/Common/logo@3x.png +0 -0
  5. package/src/commons/Device/ConnectedViewHeader.js +31 -21
  6. package/src/commons/SubUnit/OneTap/ItemOneTap.js +3 -1
  7. package/src/commons/SubUnit/OneTap/__test__/SubUnitAutomate.test.js +2 -0
  8. package/src/commons/SubUnit/ShortDetail.js +1 -1
  9. package/src/commons/UnitSummary/AirQuality/SegmentedRoundDisplay/index.js +4 -1
  10. package/src/configs/Constants.js +7 -0
  11. package/src/configs/Images.js +1 -0
  12. package/src/navigations/UnitStack.js +4 -1
  13. package/src/screens/AQIGuide/index.js +15 -4
  14. package/src/screens/AddNewAction/SelectAction.js +52 -4
  15. package/src/screens/AddNewAction/SelectSensorDevices.js +27 -5
  16. package/src/screens/AddNewAction/SetupSensor.js +1 -6
  17. package/src/screens/AddNewAutoSmart/__test__/AddNewAutoSmart.test.js +11 -1
  18. package/src/screens/AddNewAutoSmart/index.js +24 -13
  19. package/src/screens/AddNewGateway/SetupGatewayWifi.js +4 -4
  20. package/src/screens/AddNewOneTap/__test__/AddNewOneTap.test.js +59 -1
  21. package/src/screens/AddNewOneTap/index.js +3 -0
  22. package/src/screens/Automate/MultiUnits.js +25 -12
  23. package/src/screens/Automate/__test__/MultiUnits.test.js +8 -5
  24. package/src/screens/Automate/__test__/index.test.js +5 -3
  25. package/src/screens/Automate/index.js +6 -10
  26. package/src/screens/Device/detail.js +9 -1
  27. package/src/screens/Notification/__test__/Notification.test.js +89 -0
  28. package/src/screens/Notification/components/NotificationItem.js +31 -14
  29. package/src/screens/Notification/styles/NotificationItemStyles.js +5 -0
  30. package/src/screens/ScanChipQR/__test__/ScanChipQR.test.js +12 -3
  31. package/src/screens/ScanChipQR/components/QRScan/__test__/QRScan.test.js +11 -2
  32. package/src/screens/ScanChipQR/components/QRScan/index.js +16 -0
  33. package/src/screens/ScanSensorQR/__test__/ScanSensorQR.test.js +12 -3
  34. package/src/screens/ScanSensorQR/index.js +6 -1
  35. package/src/screens/ScriptDetail/__test__/index.test.js +71 -0
  36. package/src/screens/ScriptDetail/index.js +56 -4
  37. package/src/screens/SetSchedule/__test__/index.test.js +8 -0
  38. package/src/screens/SetSchedule/index.js +28 -6
  39. package/src/screens/Sharing/Components/__test__/TitleCheckBox.test.js +38 -0
  40. package/src/screens/SyncLGDevice/AddLGDevice.js +1 -1
  41. package/src/screens/TDSGuide/index.js +15 -19
  42. package/src/screens/UVIndexGuide/index.js +15 -4
  43. package/src/screens/Unit/Detail.js +16 -26
  44. package/src/screens/Unit/__test__/Detail.test.js +0 -21
  45. package/src/screens/UnitSummary/components/UvIndex/index.js +3 -1
  46. package/src/screens/WaterQualityGuide/index.js +5 -1
  47. package/src/utils/I18n/translations/en.json +13 -2
  48. package/src/utils/I18n/translations/vi.json +26 -15
  49. package/src/utils/Route/index.js +1 -0
@@ -106,7 +106,6 @@
106
106
  "Chlorine residual": "Chlorine residual",
107
107
  "Water temperature": "Water temperature",
108
108
  "Protection advices:": "Protection advices:",
109
- "UV Index": "UV Index ",
110
109
  "sort_by": "Sort by",
111
110
  "text_name": "Name",
112
111
  "AQI Guide": "AQI Guide",
@@ -616,6 +615,7 @@
616
615
  "days_ago": "days ago",
617
616
  "months_ago": "months ago",
618
617
  "years_ago": "years ago",
618
+ "current_wind_direction": "Current wind direction",
619
619
  "last_updated": "Last updated",
620
620
  "emergency_contacts": "Emergency contacts",
621
621
  "emergency_contacts_hint": "Set up Emergency contacts for this unit in order to call urgently when you’re in an emergency situation.",
@@ -654,6 +654,7 @@
654
654
  "text_notification_content_pay_fine_successfully": "Your violation **%{booking}** has been paid successfully.",
655
655
  "text_notification_content_pay_fine_and_extend_successfully": "Your violation **%{booking_id_old}** has been paid successfully. The new parking session **%{booking_id_new}** is now extended until **%{leave_time}**.",
656
656
  "text_notification_content_stop_violation_free_parking_zone": "Free parking zone. You have an unpaid violation. Please complete your fine.",
657
+ "text_notification_content_update_reminder": "You have an Update Health Value schedule need to complete.",
657
658
  "this_spot_does_not_exsit": "This spot does not exist",
658
659
  "please_scan_again_or_contact_the_parking_manager": "Please scan again or contact the parking manager",
659
660
  "this_spot_does_not_support_to_scan": "This spot does not support to scan",
@@ -768,6 +769,7 @@
768
769
  "Script": "Script",
769
770
  "One-Tap": "One-Tap",
770
771
  "Scenario": "Scenario",
772
+ "automation": "Automation",
771
773
  "set_schedule": "Set schedule",
772
774
  "select_date": "Select date",
773
775
  "once": "Once",
@@ -808,6 +810,15 @@
808
810
  "invalid_phone_number_or_email": "Invalid phone number or email",
809
811
  "phone_number_or_email": "Phone number or email",
810
812
  "quick_button_create_at_dashboard": "Quick button create at dashboard",
813
+ "every_day_at": "Every day at {time}",
811
814
  "you_do_not_have_the_device_or_have_share_control_device": "You do not have the device or you haven’t been shared the control for the device.",
812
- "error_please_try_later": "Error! Please try later"
815
+ "error_please_try_later": "Error! Please try later",
816
+ "mon": "Mon",
817
+ "tue": "Tue",
818
+ "wed": "Wed",
819
+ "thu": "Thu",
820
+ "fri": "Fri",
821
+ "sat": "Sat",
822
+ "sun": "Sun",
823
+ "qr_scan_guidelines": "The QR code will be detected automatically when it’s positioned within the guide lines."
813
824
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "account_logout_do_you_really_want_to_logout": "Bạn muốn đăng xuất khỏi tài khoản?",
3
- "add_new": "Thêm",
3
+ "add_new": "Thêm mới",
4
4
  "by_signing_up_you_agree_to_our_cterms_of_usec": "Bằng việc nhấn nút đăng ký, bạn đã đồng ý với các",
5
5
  "cancel": "Hủy",
6
6
  "confirm_password": "Xác nhận mật khẩu",
@@ -28,10 +28,10 @@
28
28
  "remove_device": "Xoá thiết bị",
29
29
  "activity_log": "Nhật kí hoạt động",
30
30
  "no_activity": "Không có nhật kí hoạt động",
31
- "by": "by",
31
+ "by": "bởi",
32
32
  "create_by": "Tạo bởi",
33
- "today": "Today",
34
- "yesterday": "Yesterday",
33
+ "today": "Hôm nay",
34
+ "yesterday": "Hôm qua",
35
35
  "at": "lúc",
36
36
  "video_detail": "Chi tiết Video",
37
37
  "Yesterday": "Hôm qua",
@@ -117,7 +117,6 @@
117
117
  "Chlorine residual": "Clo dư",
118
118
  "Water temperature": "Nhiệt độ",
119
119
  "Health advices:": "Khuyến nghị về sức khoẻ:",
120
- "UV Index": "Chỉ số UV",
121
120
  "Protection advices:": "Khuyến nghị về sức khoẻ:",
122
121
  "Today": "Hôm nay",
123
122
  "last_updated_%{minutes}_minutes_ago": "Cập nhật lần cuối {minutes} phút trước",
@@ -625,7 +624,8 @@
625
624
  "days_ago": "ngày trước",
626
625
  "months_ago": "tháng trước",
627
626
  "years_ago": "năm trước",
628
- "last_updated": "Cập nhật lần cuối",
627
+ "current_wind_direction": "Hướng gió hiện tại",
628
+ "last_updated": "Đã cập nhật ",
629
629
  "emergency_contacts": "Danh sách liên hệ khẩn cấp",
630
630
  "emergency_contacts_hint": "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.",
631
631
  "emergency_max_contacts": "Tối đa %{number} liên hệ",
@@ -648,20 +648,21 @@
648
648
  "text_notification_title_system_cancel_emergency_situation": "Đặt chỗ bị huỷ do tình huống khẩn cấp",
649
649
  "text_notification_title_booking_successfully": "Xác nhận đặt chỗ thành công",
650
650
  "text_notification_title_parking_completed": "Hoàn tất đỗ xe",
651
- "text_notification_content_remind_to_make_payment_%{spot}_%{time}": "Đặt chỗ %{spot} chưa hoàn tất. Vui lòng thực hiện thanh toán trước %{time} để giữ đặt trước của bạn.",
652
- "text_notification_content_expire_parking_session_%{spot}_%{time}": "Phiên đỗ xe %{spot} sẽ sớm kết thúc. Vui lòng di chuyển xe trước %{time} hoặc thêm giờ đỗ xe.",
653
- "text_notification_content_remind_to_scan_qr_code_%{spot}": "Đặt chỗ %{spot} chưa được kích hoạt. Vui lòng quét mã QR tại vị trí đỗ xe được cung cấp để kích hoạt đặt chỗ trước của bạn.",
654
- "text_notification_content_user_cancel_%{spot}": "Yêu cầu huỷ đặt chỗ trước của bạn đã được chấp nhận. Đặt chỗ %{spot} đã được huỷ thành công.",
655
- "text_notification_content_system_cancel_no_payment_%{spot}": "Đặt chỗ %{spot} đã tự động huỷ bởi hệ thống không được thanh toán đúng hạn.",
651
+ "text_notification_content_remind_to_make_payment": "Đặt chỗ **%{booking}** chưa hoàn tất. Vui lòng thực hiện thanh toán trước **%{time}** để giữ đặt trước của bạn.",
652
+ "text_notification_content_expire_parking_session": "Phiên đỗ xe **%{booking}** sẽ sớm kết thúc. Vui lòng di chuyển xe trước **%{time}** hoặc thêm giờ đỗ xe.",
653
+ "text_notification_content_remind_to_scan_qr_code": "Đặt chỗ **%{booking}** chưa được kích hoạt. Vui lòng quét mã QR tại vị trí đỗ xe được cung cấp để kích hoạt đặt chỗ trước của bạn.",
654
+ "text_notification_content_user_cancel": "Yêu cầu huỷ đặt chỗ trước của bạn đã được chấp nhận. Đặt chỗ **%{booking}** đã được huỷ thành công.",
655
+ "text_notification_content_system_cancel_no_payment": "Đặt chỗ **%{booking}** đã tự động huỷ bởi hệ thống do quá hạn thanh toán.",
656
656
  "text_notification_content_system_cancel_emergency_situation_%{spot}": "Chúng tôi rất tiếc vì đặt chỗ %{spot} đã bị huỷ vì một tình huống khẩn cấp. Bạn sẽ nhận được phiếu giảm giá cho lần đỗ xe tiếp theo. ",
657
- "text_notification_content_booking_successfully_%{spot}": "Đặt chỗ %{spot} đã được xác nhận.",
658
- "text_notification_content_parking_completed_%{spot}": "Đặt chỗ %{spot} đã hoàn tất. Vui lòng giúp chúng tôi đánh giá về dịch vụ đỗ xe nhé.",
657
+ "text_notification_content_booking_successfully": "Đặt chỗ **%{booking}** đã được xác nhận.",
658
+ "text_notification_content_parking_completed": "Đặt chỗ **%{booking}** đã hoàn tất. Cảm ơn đã sử dụng dịch vụ của chúng tôi.",
659
659
  "text_notification_content_invite_member": "**%{unit_owner_name}** mời bạn đến địa điểm **%{unit_name}**.",
660
660
  "text_notification_content_not_move_car_after_parking_session_expire": "Xe của bạn (booking **%{booking}**) đã bị khóa do vi phạm quy định về giờ đỗ xe của chúng tôi. Vui lòng nộp phạt để mở khóa và di chuyển xe của bạn.",
661
661
  "text_notification_content_move_car_without_pay_violation": "Bạn có một vi phạm chưa được thanh toán. Vui lòng hoàn thành tiền phạt của bạn.",
662
662
  "text_notification_content_pay_fine_successfully": "Đỗ xe vi phạm **%{booking}** của bạn đã được thanh toán.",
663
663
  "text_notification_content_pay_fine_and_extend_successfully": "Đỗ xe vi phạm **%{oldbooking}** của bạn đã được thanh toán thành công. Phiên đỗ xe mới **%{newbooking}** sẽ kết thúc vào lúc **%{time}**.",
664
664
  "text_notification_content_stop_violation_free_parking_zone": "Thời gian đậu xe miễn phí. Bạn có một vi phạm chưa được thanh toán. Vui lòng hoàn thành tiền phạt của bạn.",
665
+ "text_notification_content_update_reminder": "You have an Update Health Value schedule need to complete.",
665
666
  "this_spot_does_not_exsit": "Vị trí đỗ này không tồn tại",
666
667
  "please_scan_again_or_contact_the_parking_manager": "Vui lòng quét lại hoặc liên hệ với người quản lý bãi đậu xe",
667
668
  "this_spot_does_not_support_to_scan": "Vị trí đỗ này không hỗ trợ quét",
@@ -676,8 +677,8 @@
676
677
  "are_you_sure_this_resolved": "Bạn có chắc tình huống khẩn cấp này đã được xử lý xong? Các thành viên thuộc địa điểm này cũng sẽ nhận được thông báo.",
677
678
  "resolve_emergency": "Xử lý tình huống khẩn cấp",
678
679
  "resolve": "Xử lý",
679
- "alert": "Cảnh báo",
680
680
  "your_account_has_not_been_authorized_to_control": "Tài khoản của bạn chưa được phân quyền để điều khiển",
681
+ "alert": "Cảnh báo",
681
682
  "take_photo": "Chụp Ảnh",
682
683
  "choose_from_library": "Chọn Ảnh từ Thư Viện",
683
684
  "setup_my_emergency_contact": "Danh sách liên hệ khẩn cấp của tôi",
@@ -770,6 +771,7 @@
770
771
  "Script": "Kịch bản",
771
772
  "One-Tap": "Một chạm",
772
773
  "Scenario": "Kịch bản",
774
+ "automation": "Tự động",
773
775
  "set_schedule": "Đặt lịch",
774
776
  "select_date": "Chọn ngày",
775
777
  "once": "Một lần",
@@ -809,6 +811,15 @@
809
811
  "invalid_phone_number_or_email": "Số điện thoại hoặc email không hợp lệ",
810
812
  "phone_number_or_email": "Số điện thoại hoặc email",
811
813
  "quick_button_create_at_dashboard": "Tạo nút nhanh trên bảng điều khiển",
814
+ "every_day_at": "Mỗi ngày vào lúc {time}",
812
815
  "you_do_not_have_the_device_or_have_share_control_device": "Bạn không có thiết bị nào hoặc chưa được cấp quyền để điều khiển thiết bị.",
813
- "error_please_try_later": "Lỗi! Vui lòng thử lại sau"
816
+ "error_please_try_later": "Lỗi! Vui lòng thử lại sau",
817
+ "mon": "T2",
818
+ "tue": "T3",
819
+ "wed": "T4",
820
+ "thu": "T5",
821
+ "fri": "T6",
822
+ "sat": "T7",
823
+ "sun": "CN",
824
+ "qr_scan_guidelines": "Mã QR sẽ được phát hiện tự động khi nó được định vị trong các dòng hướng dẫn."
814
825
  }
@@ -114,6 +114,7 @@ const Routes = {
114
114
  EditDevice: 'EditDevice',
115
115
  SetSchedule: 'SetSchedule',
116
116
  Notification: 'Notification',
117
+ PersonalHealthStack: 'PersonalHealthStack',
117
118
  };
118
119
 
119
120
  export default Routes;