@eohjsc/react-native-smart-city 0.2.86 → 0.2.87

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 (74) hide show
  1. package/assets/images/brightnessBlack.svg +12 -0
  2. package/index.js +4 -0
  3. package/package.json +1 -1
  4. package/src/Images/SmartIr/AC.svg +14 -0
  5. package/src/Images/SmartIr/DIY.svg +3 -0
  6. package/src/Images/SmartIr/Fan.svg +10 -0
  7. package/src/Images/SmartIr/Fridge.svg +5 -0
  8. package/src/Images/SmartIr/TV.svg +10 -0
  9. package/src/Images/SmartIr/WM.svg +11 -0
  10. package/src/Images/SmartIr/index.js +7 -0
  11. package/src/commons/ActionGroup/OnOffSmartLock/AutoLock/AutoLockStyles.js +40 -0
  12. package/src/commons/ActionGroup/OnOffSmartLock/AutoLock/ButtonWrapper.js +65 -0
  13. package/src/commons/ActionGroup/OnOffSmartLock/AutoLock/ButtonWrapperStyles.js +43 -0
  14. package/src/commons/ActionGroup/OnOffSmartLock/AutoLock/__test__/index.test.js +48 -0
  15. package/src/commons/ActionGroup/OnOffSmartLock/AutoLock/index.js +57 -0
  16. package/src/commons/ActionGroup/{OnOffSmartLock.js → OnOffSmartLock/OnOffSmartLock.js} +5 -5
  17. package/src/commons/ActionGroup/{OnOffSmartLockStyle.js → OnOffSmartLock/OnOffSmartLockStyle.js} +1 -1
  18. package/src/commons/ActionGroup/OnOffSmartLock/PasscodeList/ItemPasscode.js +48 -0
  19. package/src/commons/ActionGroup/OnOffSmartLock/PasscodeList/ItemPasscodeStyles.js +42 -0
  20. package/src/commons/ActionGroup/OnOffSmartLock/PasscodeList/PasscodeListStyles.js +49 -0
  21. package/src/commons/ActionGroup/OnOffSmartLock/PasscodeList/index.js +66 -0
  22. package/src/commons/ActionGroup/OnOffSmartLock/SetupGeneratePasscode/ButtonWrapper.js +96 -0
  23. package/src/commons/ActionGroup/OnOffSmartLock/SetupGeneratePasscode/SetupGeneratePasscodeStyles.js +98 -0
  24. package/src/commons/ActionGroup/OnOffSmartLock/SetupGeneratePasscode/__test__/index.test.js +62 -0
  25. package/src/commons/ActionGroup/OnOffSmartLock/SetupGeneratePasscode/index.js +249 -0
  26. package/src/commons/ActionGroup/OnOffTemplate/index.js +4 -2
  27. package/src/commons/ActionGroup/OptionsDropdownActionTemplate.js +2 -1
  28. package/src/commons/ActionGroup/SmartTiviActionTemplate/SmartTiviActionTemplate.js +188 -186
  29. package/src/commons/ActionGroup/StatesGridActionTemplate.js +2 -1
  30. package/src/commons/ActionGroup/index.js +1 -1
  31. package/src/commons/Device/DisconnectedView.js +7 -1
  32. package/src/commons/Device/LinearChart.js +3 -40
  33. package/src/commons/Device/__test__/DisconnectedView.test.js +13 -2
  34. package/src/commons/RowItem/index.js +12 -7
  35. package/src/commons/WheelDateTimePicker/index.js +18 -4
  36. package/src/configs/API.js +1 -1
  37. package/src/configs/Colors.js +1 -0
  38. package/src/configs/Constants.js +11 -0
  39. package/src/context/mockStore.ts +1 -0
  40. package/src/iot/RemoteControl/Bluetooth.js +3 -3
  41. package/src/navigations/SmartIrStack.js +31 -0
  42. package/src/navigations/SmartLockStack.js +51 -0
  43. package/src/navigations/UnitStack.js +12 -3
  44. package/src/screens/AddCommon/__test__/SelectSubUnit.test.js +1 -1
  45. package/src/screens/AddNewGateway/PlugAndPlay/ConnectWifiWarning.js +77 -55
  46. package/src/screens/AddNewGateway/PlugAndPlay/GatewayWifiList.js +141 -27
  47. package/src/screens/AddNewGateway/PlugAndPlay/__test__/ConnectWifiWarning.test.js +58 -0
  48. package/src/screens/AddNewGateway/PlugAndPlay/__test__/GatewayWifiList.test.js +26 -2
  49. package/src/screens/Device/components/SensorConnectStatusViewHeader.js +13 -2
  50. package/src/screens/Device/detail.js +49 -10
  51. package/src/screens/Device/hooks/useDisconnectedDevice.js +21 -5
  52. package/src/screens/GuestInfo/components/AccessScheduleItem.js +9 -2
  53. package/src/screens/GuestInfo/components/RecurringDetail.js +3 -2
  54. package/src/screens/GuestInfo/components/TemporaryDetail.js +3 -2
  55. package/src/screens/GuestInfo/styles/AccessScheduleItemStyles.js +3 -0
  56. package/src/screens/Notification/__test__/NotificationItem.test.js +1 -0
  57. package/src/screens/Notification/components/NotificationItem.js +16 -0
  58. package/src/screens/SmartIr/__test__/GroupButtonByType.test.js +54 -0
  59. package/src/screens/SmartIr/__test__/SelectBrand.test.js +74 -0
  60. package/src/screens/SmartIr/__test__/SelectDeviceType.test.js +64 -0
  61. package/src/screens/SmartIr/__test__/SmartIr.test.js +1 -0
  62. package/src/screens/SmartIr/components/GroupButtonByType/GroupButtonByType.js +86 -0
  63. package/src/screens/SmartIr/components/GroupButtonByType/GroupButtonByTypeStyles.js +76 -0
  64. package/src/screens/SmartIr/components/SelectBrand.js +61 -0
  65. package/src/screens/SmartIr/components/SelectBrandStyles.js +14 -0
  66. package/src/screens/SmartIr/components/SelectDeviceType.js +96 -0
  67. package/src/screens/SmartIr/components/SelectDeviceTypeStyles.js +30 -0
  68. package/src/screens/SmartIr/index.js +8 -3
  69. package/src/screens/Unit/Detail.js +7 -3
  70. package/src/screens/Unit/components/MyUnitDevice/index.js +2 -4
  71. package/src/screens/Unit/components/__test__/MyUnitDevice.test.js +38 -9
  72. package/src/utils/I18n/translations/en.json +24 -1
  73. package/src/utils/I18n/translations/vi.json +24 -1
  74. package/src/utils/Route/index.js +9 -1
@@ -0,0 +1,12 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10.0001 3.9082C8.79471 3.908 7.61636 4.26527 6.61406 4.93482C5.61177 5.60438 4.83056 6.55615 4.36924 7.66974C3.90791 8.78333 3.78721 10.0087 4.02239 11.1909C4.25757 12.3731 4.83807 13.459 5.69046 14.3113C6.54286 15.1635 7.62885 15.7438 8.81109 15.9788C9.99333 16.2138 11.2187 16.0929 12.3322 15.6314C13.4457 15.1698 14.3974 14.3885 15.0667 13.3861C15.7361 12.3836 16.0932 11.2052 16.0928 9.99987C16.0922 8.38425 15.4501 6.83497 14.3076 5.69265C13.1651 4.55033 11.6157 3.90848 10.0001 3.9082ZM10.0001 14.6374C9.08332 14.6376 8.18709 14.3659 7.4247 13.8568C6.66232 13.3477 6.06802 12.6239 5.71696 11.7771C5.36589 10.9302 5.27383 9.99823 5.4524 9.09904C5.63097 8.19984 6.07216 7.37379 6.72019 6.72532C7.36821 6.07686 8.19397 5.63511 9.09304 5.45594C9.99212 5.27676 10.9241 5.3682 11.7712 5.71869C12.6184 6.06918 13.3425 6.66299 13.8522 7.42503C14.3618 8.18707 14.634 9.08312 14.6344 9.99987C14.6336 11.229 14.1452 12.4076 13.2763 13.2771C12.4075 14.1465 11.2292 14.6357 10.0001 14.6374Z" fill="#262626"/>
3
+ <path d="M9.3737 0.866699H10.6237C10.6931 0.866699 10.7279 0.901421 10.7279 0.970866V2.96774C10.7279 3.03719 10.6931 3.07191 10.6237 3.07191H9.3737C9.30425 3.07191 9.26953 3.03719 9.26953 2.96774V0.970866C9.26953 0.901421 9.30425 0.866699 9.3737 0.866699Z" fill="#262626"/>
4
+ <path d="M3.09933 3.98419L3.98321 3.10031C4.03232 3.0512 4.08142 3.0512 4.13053 3.10031L5.54253 4.51231C5.59164 4.56141 5.59164 4.61052 5.54253 4.65962L4.65865 5.54351C4.60954 5.59261 4.56044 5.59261 4.51133 5.54351L3.09933 4.1315C3.05022 4.0824 3.05022 4.03329 3.09933 3.98419Z" fill="#262626"/>
5
+ <path d="M0.970378 9.27197H2.96725C3.0367 9.27197 3.07142 9.3067 3.07142 9.37614V10.6261C3.07142 10.6956 3.0367 10.7303 2.96725 10.7303H0.970378C0.900933 10.7303 0.866211 10.6956 0.866211 10.6261V9.37614C0.866211 9.3067 0.900933 9.27197 0.970378 9.27197Z" fill="#262626"/>
6
+ <path d="M3.10128 15.8697L4.51328 14.4577C4.56239 14.4086 4.61149 14.4086 4.6606 14.4577L5.54448 15.3416C5.59359 15.3907 5.59359 15.4398 5.54448 15.4889L4.13248 16.9009C4.08337 16.95 4.03427 16.95 3.98516 16.9009L3.10128 16.017C3.05218 15.9679 3.05218 15.9188 3.10128 15.8697Z" fill="#262626"/>
7
+ <path d="M9.37565 16.9282H10.6257C10.6951 16.9282 10.7298 16.9629 10.7298 17.0324V19.0293C10.7298 19.0987 10.6951 19.1334 10.6257 19.1334H9.37565C9.30621 19.1334 9.27148 19.0987 9.27148 19.0293V17.0324C9.27148 16.9629 9.30621 16.9282 9.37565 16.9282Z" fill="#262626"/>
8
+ <path d="M14.4577 15.3401L15.3416 14.4563C15.3907 14.4072 15.4398 14.4072 15.4889 14.4563L16.9009 15.8683C16.95 15.9174 16.95 15.9665 16.9009 16.0156L16.0171 16.8995C15.9679 16.9486 15.9188 16.9486 15.8697 16.8995L14.4577 15.4875C14.4086 15.4384 14.4086 15.3892 14.4577 15.3401Z" fill="#262626"/>
9
+ <path d="M17.0319 9.26953H19.0288C19.0982 9.26953 19.1329 9.30425 19.1329 9.3737V10.6237C19.1329 10.6931 19.0982 10.7279 19.0288 10.7279H17.0319C16.9625 10.7279 16.9277 10.6931 16.9277 10.6237V9.3737C16.9277 9.30425 16.9625 9.26953 17.0319 9.26953Z" fill="#262626"/>
10
+ <path d="M14.4558 4.51084L15.8678 3.09884C15.9169 3.04974 15.966 3.04974 16.0151 3.09884L16.899 3.98272C16.9481 4.03183 16.9481 4.08093 16.899 4.13004L15.487 5.54204C15.4379 5.59115 15.3888 5.59115 15.3397 5.54204L14.4558 4.65816C14.4067 4.60905 14.4067 4.55995 14.4558 4.51084Z" fill="#262626"/>
11
+ <path d="M9.89605 6.07715C8.87128 6.10077 7.89643 6.52444 7.18002 7.25756C6.4636 7.99068 6.0625 8.97503 6.0625 10.0001C6.0625 11.0251 6.4636 12.0095 7.18002 12.7426C7.89643 13.4757 8.87128 13.8994 9.89605 13.923C9.92367 13.923 9.95017 13.912 9.9697 13.8925C9.98924 13.8729 10.0002 13.8464 10.0002 13.8188V6.18132C10.0002 6.15369 9.98924 6.12719 9.9697 6.10766C9.95017 6.08812 9.92367 6.07715 9.89605 6.07715Z" fill="#262626"/>
12
+ </svg>
package/index.js CHANGED
@@ -3,6 +3,8 @@ import { AddDeviceStack } from './src/navigations/AddDeviceStack';
3
3
  import { AddGatewayStack } from './src/navigations/AddGatewayStack';
4
4
  import { AddMemberStack } from './src/navigations/AddMemberStack';
5
5
  import { AddSubUnitStack } from './src/navigations/AddSubUnitStack';
6
+ import { SmartIrStack } from './src/navigations/SmartIrStack';
7
+ import { SmartLockStack } from './src/navigations/SmartLockStack';
6
8
  import { UnitStack } from './src/navigations/UnitStack';
7
9
  import { EmergencyContactsStack } from './src/navigations/EmergencyContactsStack';
8
10
  import { AddUnitStack } from './src/navigations/AddUnitStack';
@@ -22,6 +24,8 @@ export {
22
24
  AddMemberStack,
23
25
  AddGatewayStack,
24
26
  AddDeviceStack,
27
+ SmartIrStack,
28
+ SmartLockStack,
25
29
  UnitStack,
26
30
  AddUnitStack,
27
31
  SharedStack,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eohjsc/react-native-smart-city",
3
3
  "title": "React Native Smart Home",
4
- "version": "0.2.86",
4
+ "version": "0.2.87",
5
5
  "description": "TODO",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -0,0 +1,14 @@
1
+ <svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M22.5969 49.4841C22.7339 49.6916 22.9478 49.8361 23.1913 49.886C23.4349 49.9358 23.6884 49.8869 23.8958 49.7499L25.1615 48.914L26.1349 49.4765V51.7733L25.1615 52.3358L23.8958 51.4999C23.6883 51.3638 23.4353 51.3155 23.1923 51.3656C22.9492 51.4157 22.736 51.5602 22.5992 51.7672C22.4625 51.9743 22.4135 52.2272 22.4628 52.4704C22.5122 52.7136 22.656 52.9273 22.8627 53.0646L24.2209 53.9615L24.3185 55.5861C24.3328 55.8245 24.4375 56.0484 24.6112 56.2121C24.7849 56.3759 25.0146 56.4673 25.2533 56.4675C25.2723 56.4675 25.2913 56.4669 25.3104 56.4658C25.5586 56.4509 25.7907 56.338 25.9557 56.1519C26.1206 55.9659 26.2049 55.722 26.19 55.4738L26.0991 53.9596L27.0727 53.3971L29.0625 54.5455V55.6697L27.7057 56.3481C27.4853 56.4605 27.3183 56.6554 27.241 56.8904C27.1637 57.1253 27.1824 57.3814 27.2931 57.6026C27.4037 57.8239 27.5973 57.9924 27.8317 58.0716C28.0661 58.1507 28.3222 58.134 28.5443 58.0251L30 57.298L31.4557 58.0259C31.6778 58.1348 31.934 58.1515 32.1684 58.0724C32.4028 57.9932 32.5964 57.8247 32.707 57.6034C32.8176 57.3822 32.8364 57.1262 32.7591 56.8912C32.6818 56.6562 32.5147 56.4613 32.2943 56.3489L30.9375 55.6705V54.5463L32.9274 53.3979L33.901 53.9604L33.81 55.4746C33.7951 55.7228 33.8794 55.9667 34.0444 56.1528C34.2094 56.3388 34.4415 56.4517 34.6897 56.4666C34.7088 56.4677 34.7277 56.4683 34.7467 56.4683C34.9855 56.4681 35.2151 56.3767 35.3888 56.213C35.5626 56.0492 35.6672 55.8253 35.6815 55.587L35.7791 53.9623L37.1374 53.0654C37.2405 52.9978 37.3293 52.9104 37.3986 52.8084C37.4679 52.7064 37.5164 52.5917 37.5413 52.4709C37.5662 52.3501 37.567 52.2255 37.5437 52.1044C37.5204 51.9833 37.4734 51.8679 37.4055 51.765C37.3375 51.6621 37.2499 51.5736 37.1476 51.5046C37.0454 51.4355 36.9306 51.3874 36.8097 51.3628C36.6888 51.3383 36.5643 51.3378 36.4432 51.3615C36.3222 51.3852 36.207 51.4325 36.1042 51.5008L34.8386 52.3367L33.8651 51.7742V49.4765L34.8386 48.914L36.1042 49.7499C36.207 49.8181 36.3222 49.8655 36.4432 49.8891C36.5643 49.9128 36.6888 49.9123 36.8097 49.8878C36.9306 49.8632 37.0454 49.8151 37.1476 49.7461C37.2499 49.6771 37.3375 49.5885 37.4055 49.4856C37.4734 49.3827 37.5204 49.2673 37.5437 49.1462C37.567 49.0251 37.5662 48.9006 37.5413 48.7798C37.5164 48.659 37.4679 48.5442 37.3986 48.4422C37.3293 48.3402 37.2405 48.2528 37.1374 48.1852L35.7791 47.2883L35.6815 45.6637C35.6756 45.5397 35.6452 45.4182 35.5919 45.3061C35.5387 45.194 35.4638 45.0936 35.3714 45.0107C35.2791 44.9277 35.1712 44.864 35.054 44.8231C34.9369 44.7822 34.8128 44.765 34.6889 44.7724C34.565 44.7799 34.4439 44.8118 34.3324 44.8664C34.221 44.9211 34.1215 44.9973 34.0398 45.0906C33.958 45.184 33.8956 45.2926 33.8562 45.4103C33.8168 45.528 33.8011 45.6523 33.81 45.776L33.901 47.2902L32.9274 47.8527L30.9375 46.7043V45.5801L32.2943 44.9017C32.4054 44.8472 32.5046 44.7713 32.5862 44.6783C32.6679 44.5853 32.7302 44.4771 32.7698 44.3598C32.8094 44.2426 32.8254 44.1187 32.8168 43.9953C32.8083 43.8718 32.7754 43.7513 32.7201 43.6407C32.6647 43.53 32.588 43.4314 32.4944 43.3505C32.4008 43.2696 32.2921 43.2081 32.1745 43.1694C32.057 43.1307 31.933 43.1157 31.8096 43.1252C31.6862 43.1347 31.566 43.1686 31.4557 43.2248L30 43.9518L28.5443 43.2239C28.4341 43.1677 28.3138 43.1339 28.1905 43.1244C28.0671 43.1149 27.9431 43.1299 27.8255 43.1686C27.708 43.2072 27.5993 43.2688 27.5057 43.3497C27.412 43.4306 27.3353 43.5292 27.28 43.6398C27.2246 43.7505 27.1918 43.871 27.1832 43.9945C27.1747 44.1179 27.1907 44.2418 27.2302 44.359C27.2698 44.4762 27.3322 44.5845 27.4138 44.6775C27.4954 44.7705 27.5946 44.8464 27.7057 44.9009L29.0625 45.5793V46.7035L27.0727 47.8519L26.0991 47.2894L26.19 45.7752C26.199 45.6515 26.1833 45.5271 26.1439 45.4095C26.1044 45.2918 26.042 45.1832 25.9603 45.0898C25.8785 44.9964 25.7791 44.9202 25.6676 44.8656C25.5562 44.811 25.435 44.779 25.3112 44.7716C25.1873 44.7642 25.0632 44.7814 24.946 44.8223C24.8289 44.8632 24.721 44.9269 24.6287 45.0098C24.5363 45.0927 24.4614 45.1932 24.4081 45.3052C24.3549 45.4173 24.3244 45.5389 24.3185 45.6628L24.2209 47.2875L22.8627 48.1844C22.7599 48.2522 22.6714 48.3396 22.6024 48.4417C22.5333 48.5438 22.4851 48.6584 22.4604 48.7791C22.4357 48.8998 22.4351 49.0242 22.4585 49.1452C22.4819 49.2662 22.529 49.3813 22.5969 49.4841V49.4841ZM28.0102 49.4761L30 48.3277L31.9899 49.4761V51.7733L30 52.9218L28.0102 51.7733V49.4761Z" fill="#00979D"/>
3
+ <path d="M11.2229 42.5055L10.6659 42.8269L9.77525 42.2387C9.56775 42.1026 9.31475 42.0543 9.0717 42.1044C8.82865 42.1545 8.61539 42.299 8.47865 42.5061C8.34191 42.7131 8.29286 42.966 8.34225 43.2092C8.39164 43.4524 8.53543 43.6661 8.74212 43.8034L9.72544 44.4527L9.79575 45.6289C9.81002 45.8672 9.91469 46.0911 10.0884 46.2549C10.2621 46.4187 10.4918 46.5101 10.7306 46.5103C10.7494 46.5103 10.7686 46.5103 10.7877 46.5086C11.0359 46.4937 11.268 46.3808 11.433 46.1948C11.598 46.0087 11.6823 45.7648 11.6674 45.5166L11.6034 44.4502L12.1604 44.1286L13.5229 44.9153V45.5584L12.5678 46.036C12.3474 46.1483 12.1804 46.3433 12.1031 46.5782C12.0258 46.8132 12.0445 47.0692 12.1552 47.2905C12.2658 47.5117 12.4594 47.6803 12.6938 47.7594C12.9282 47.8386 13.1843 47.8218 13.4064 47.7129L14.4604 47.1856L15.5145 47.7129C15.7369 47.8241 15.9944 47.8424 16.2303 47.7637C16.3471 47.7248 16.455 47.6632 16.548 47.5825C16.641 47.5018 16.7172 47.4036 16.7723 47.2935C16.8273 47.1834 16.8601 47.0635 16.8689 46.9407C16.8776 46.8179 16.862 46.6946 16.8231 46.5778C16.7841 46.461 16.7226 46.353 16.6419 46.26C16.5612 46.167 16.463 46.0908 16.3529 46.0357L15.3984 45.559V44.9159L16.7609 44.1292L17.3179 44.4508L17.2539 45.5172C17.239 45.7654 17.3233 46.0093 17.4883 46.1954C17.6532 46.3814 17.8853 46.4943 18.1335 46.5092C18.1526 46.5103 18.1717 46.5109 18.1907 46.5109C18.4295 46.5107 18.6592 46.4193 18.8329 46.2555C19.0066 46.0917 19.1113 45.8678 19.1255 45.6295L19.1958 44.4532L20.1792 43.804C20.2823 43.7364 20.3711 43.649 20.4404 43.547C20.5097 43.445 20.5582 43.3302 20.5831 43.2094C20.608 43.0886 20.6088 42.9641 20.5855 42.843C20.5622 42.7219 20.5152 42.6065 20.4473 42.5036C20.3793 42.4006 20.2917 42.3121 20.1895 42.2431C20.0872 42.1741 19.9724 42.1259 19.8515 42.1014C19.7306 42.0768 19.6061 42.0764 19.485 42.1001C19.364 42.1237 19.2488 42.1711 19.146 42.2393L18.2554 42.8275L17.6984 42.506V40.9321L18.2554 40.6107L19.146 41.1988C19.2488 41.2671 19.364 41.3144 19.485 41.3381C19.6061 41.3618 19.7306 41.3613 19.8515 41.3368C19.9724 41.3122 20.0872 41.264 20.1895 41.195C20.2917 41.126 20.3793 41.0375 20.4473 40.9346C20.5152 40.8316 20.5622 40.7163 20.5855 40.5952C20.6088 40.474 20.608 40.3495 20.5831 40.2287C20.5582 40.1079 20.5097 39.9932 20.4404 39.8912C20.3711 39.7891 20.2823 39.7018 20.1792 39.6341L19.1958 38.9849L19.1255 37.8087C19.1189 37.6853 19.0879 37.5644 19.0343 37.453C18.9808 37.3416 18.9058 37.2419 18.8135 37.1596C18.7213 37.0774 18.6137 37.0141 18.497 36.9736C18.3802 36.933 18.2566 36.9159 18.1333 36.9233C18.0099 36.9307 17.8892 36.9625 17.7781 37.0167C17.6671 37.0709 17.5678 37.1465 17.4861 37.2393C17.4044 37.332 17.3418 37.4399 17.3019 37.5569C17.2621 37.6739 17.2458 37.7976 17.2539 37.921L17.3179 38.9874L16.7609 39.3089L15.3984 38.5217V37.8785L16.3533 37.4011C16.5757 37.2899 16.7449 37.095 16.8235 36.8591C16.9022 36.6232 16.8839 36.3658 16.7728 36.1433C16.6616 35.9209 16.4666 35.7518 16.2307 35.6731C15.9949 35.5945 15.7374 35.6128 15.515 35.7239L14.4609 36.2513L13.4069 35.7239C13.1848 35.615 12.9286 35.5983 12.6943 35.6774C12.4599 35.7566 12.2663 35.9251 12.1556 36.1464C12.045 36.3676 12.0263 36.6236 12.1036 36.8586C12.1809 37.0936 12.3479 37.2885 12.5683 37.4009L13.5234 37.8784V38.5216L12.1608 39.3082L11.6038 38.9867L11.6678 37.9203C11.676 37.7969 11.6597 37.6732 11.6198 37.5562C11.58 37.4392 11.5174 37.3313 11.4357 37.2386C11.3539 37.1458 11.2547 37.0702 11.1436 37.016C11.0326 36.9618 10.9119 36.93 10.7885 36.9226C10.6651 36.9152 10.5415 36.9323 10.4248 36.9729C10.308 37.0134 10.2004 37.0766 10.1082 37.1589C10.016 37.2412 9.94095 37.3409 9.88741 37.4523C9.83386 37.5637 9.80287 37.6846 9.79622 37.808L9.72591 38.9842L8.74259 39.6334C8.63945 39.7011 8.55068 39.7884 8.48137 39.8905C8.41205 39.9925 8.36355 40.1072 8.33865 40.228C8.31374 40.3488 8.31292 40.4733 8.33623 40.5945C8.35954 40.7156 8.40652 40.8309 8.47449 40.9339C8.54245 41.0368 8.63006 41.1253 8.7323 41.1943C8.83453 41.2633 8.94938 41.3115 9.07026 41.336C9.19114 41.3606 9.31568 41.361 9.43673 41.3374C9.55779 41.3137 9.67298 41.2664 9.77571 41.1981L10.6663 40.61L11.2233 40.9314L11.2229 42.5055ZM13.0979 40.9321L14.4604 40.1454L15.8229 40.9321V42.5055L14.4609 43.2921L13.0983 42.5055L13.0979 40.9321Z" fill="#00979D"/>
4
+ <path d="M41.8419 37.8664C41.719 37.859 41.5959 37.8759 41.4795 37.9161C41.3631 37.9563 41.2558 38.0191 41.1637 38.1008C41.0716 38.1824 40.9965 38.2815 40.9426 38.3922C40.8888 38.5029 40.8573 38.6232 40.8499 38.7461L40.7796 39.9223L39.7963 40.5715C39.6932 40.6392 39.6044 40.7265 39.5351 40.8285C39.4658 40.9306 39.4173 41.0453 39.3924 41.1661C39.3675 41.2869 39.3666 41.4114 39.3899 41.5326C39.4133 41.6537 39.4602 41.769 39.5282 41.8719C39.5962 41.9749 39.6838 42.0634 39.786 42.1324C39.8882 42.2014 40.0031 42.2496 40.124 42.2741C40.2448 42.2987 40.3694 42.2991 40.4904 42.2755C40.6115 42.2518 40.7267 42.2045 40.8294 42.1362L41.7201 41.548L42.277 41.8695V43.4428L41.7201 43.7643L40.8294 43.1761C40.6219 43.04 40.3689 42.9917 40.1259 43.0418C39.8828 43.0919 39.6696 43.2363 39.5328 43.4434C39.3961 43.6505 39.347 43.9034 39.3964 44.1466C39.4458 44.3898 39.5896 44.6035 39.7963 44.7408L40.7796 45.39L40.8499 46.5662C40.8642 46.8046 40.9689 47.0285 41.1426 47.1923C41.3163 47.3561 41.546 47.4475 41.7847 47.4477C41.8037 47.4477 41.8228 47.4477 41.8419 47.446C42.0901 47.431 42.3222 47.3182 42.4872 47.1321C42.6521 46.9461 42.7364 46.7022 42.7215 46.454L42.6576 45.3876L43.2145 45.066L44.5771 45.8527V46.4958L43.622 46.9733C43.4016 47.0857 43.2346 47.2806 43.1573 47.5156C43.08 47.7506 43.0987 48.0066 43.2093 48.2279C43.32 48.4491 43.5136 48.6177 43.748 48.6968C43.9823 48.7759 44.2385 48.7592 44.4606 48.6503L45.5146 48.1229L46.5685 48.6503C46.7906 48.7592 47.0467 48.7759 47.2811 48.6968C47.5155 48.6177 47.7091 48.4491 47.8197 48.2279C47.9304 48.0066 47.9491 47.7506 47.8718 47.5156C47.7945 47.2806 47.6274 47.0857 47.4071 46.9733L46.4521 46.4958V45.8527L47.8146 45.066L48.3716 45.3876L48.3076 46.454C48.2927 46.702 48.3769 46.9459 48.5418 47.1319C48.7066 47.3179 48.9385 47.4309 49.1866 47.446C49.2058 47.4471 49.2248 47.4477 49.2437 47.4477C49.4825 47.4475 49.7121 47.3561 49.8859 47.1923C50.0596 47.0286 50.1643 46.8047 50.1785 46.5663L50.2489 45.39L51.2321 44.7408C51.3352 44.6731 51.424 44.5858 51.4933 44.4838C51.5626 44.3817 51.6111 44.267 51.636 44.1462C51.6609 44.0254 51.6617 43.9009 51.6384 43.7798C51.6151 43.6586 51.5681 43.5433 51.5002 43.4404C51.4322 43.3374 51.3446 43.2489 51.2424 43.1799C51.1401 43.1109 51.0253 43.0627 50.9044 43.0382C50.7835 43.0136 50.659 43.0132 50.5379 43.0369C50.4169 43.0605 50.3017 43.1078 50.1989 43.1761L49.3083 43.7644L48.7513 43.4428V41.8695L49.3083 41.5479L50.1989 42.1362C50.3017 42.2045 50.4169 42.2518 50.5379 42.2755C50.659 42.2991 50.7835 42.2987 50.9044 42.2741C51.0253 42.2496 51.1401 42.2014 51.2424 42.1324C51.3446 42.0634 51.4322 41.9749 51.5002 41.8719C51.5681 41.769 51.6151 41.6537 51.6384 41.5326C51.6617 41.4114 51.6609 41.2869 51.636 41.1661C51.6111 41.0453 51.5626 40.9306 51.4933 40.8285C51.424 40.7265 51.3352 40.6392 51.2321 40.5715L50.2489 39.9223L50.1785 38.746C50.1726 38.622 50.1422 38.5005 50.089 38.3884C50.0357 38.2763 49.9608 38.1759 49.8684 38.093C49.7761 38.0101 49.6682 37.9463 49.5511 37.9054C49.4339 37.8645 49.3098 37.8473 49.1859 37.8547C49.062 37.8622 48.9409 37.8941 48.8295 37.9487C48.718 38.0034 48.6186 38.0796 48.5368 38.1729C48.4551 38.2663 48.3926 38.3749 48.3532 38.4926C48.3138 38.6103 48.2981 38.7346 48.3071 38.8583L48.371 39.9248L47.8141 40.2463L46.4515 39.4596V38.8159L47.4065 38.3384C47.5176 38.2839 47.6168 38.208 47.6984 38.115C47.78 38.022 47.8424 37.9137 47.882 37.7965C47.9215 37.6793 47.9375 37.5554 47.929 37.432C47.9204 37.3085 47.8876 37.188 47.8322 37.0773C47.7769 36.9667 47.7002 36.8681 47.6065 36.7872C47.5129 36.7063 47.4042 36.6447 47.2867 36.6061C47.1691 36.5674 47.0451 36.5524 46.9217 36.5619C46.7984 36.5714 46.6781 36.6052 46.5679 36.6614L45.514 37.1888L44.46 36.6614C44.2379 36.5525 43.9818 36.5358 43.7474 36.6149C43.513 36.6941 43.3194 36.8626 43.2088 37.0839C43.0981 37.3051 43.0794 37.5611 43.1567 37.7961C43.234 38.0311 43.401 38.226 43.6214 38.3384L44.5765 38.8159V39.459L43.214 40.2457L42.657 39.9242L42.721 38.8578C42.7357 38.6098 42.6514 38.3661 42.4866 38.1802C42.3218 37.9943 42.0899 37.8814 41.8419 37.8664V37.8664ZM44.1521 41.8695L45.5146 41.0828L46.8771 41.8695V43.4428L45.5146 44.2295L44.1521 43.4428V41.8695Z" fill="#00979D"/>
5
+ <path d="M9.375 15H50.625V16.875H9.375V15Z" fill="#00979D"/>
6
+ <path d="M55.3125 5.625H4.6875C4.43895 5.62528 4.20065 5.72414 4.0249 5.8999C3.84914 6.07565 3.75028 6.31395 3.75 6.5625V19.6875C3.75028 19.9361 3.84914 20.1743 4.0249 20.3501C4.20065 20.5259 4.43895 20.6247 4.6875 20.625H7.5V15C7.50059 14.5029 7.69832 14.0263 8.04983 13.6748C8.40133 13.3233 8.8779 13.1256 9.375 13.125H50.625C51.1221 13.1256 51.5987 13.3233 51.9502 13.6748C52.3017 14.0263 52.4994 14.5029 52.5 15V20.625H55.3125C55.5611 20.6247 55.7994 20.5259 55.9751 20.3501C56.1509 20.1743 56.2497 19.9361 56.25 19.6875V6.5625C56.2497 6.31395 56.1509 6.07565 55.9751 5.8999C55.7994 5.72414 55.5611 5.62528 55.3125 5.625V5.625ZM42.4697 11.25C42.2843 11.25 42.103 11.195 41.9488 11.092C41.7947 10.989 41.6745 10.8426 41.6036 10.6713C41.5326 10.5 41.514 10.3115 41.5502 10.1296C41.5864 9.94775 41.6757 9.7807 41.8068 9.64959C41.9379 9.51848 42.1049 9.42919 42.2868 9.39301C42.4686 9.35684 42.6571 9.37541 42.8285 9.44636C42.9998 9.51732 43.1462 9.63748 43.2492 9.79165C43.3522 9.94582 43.4072 10.1271 43.4072 10.3125C43.4072 10.5611 43.3084 10.7996 43.1326 10.9754C42.9568 11.1512 42.7183 11.25 42.4697 11.25ZM45.9375 11.25C45.7521 11.25 45.5708 11.195 45.4167 11.092C45.2625 10.989 45.1423 10.8426 45.0714 10.6713C45.0004 10.5 44.9818 10.3115 45.018 10.1296C45.0542 9.94775 45.1435 9.7807 45.2746 9.64959C45.4057 9.51848 45.5727 9.42919 45.7546 9.39301C45.9365 9.35684 46.125 9.37541 46.2963 9.44636C46.4676 9.51732 46.614 9.63748 46.717 9.79165C46.82 9.94582 46.875 10.1271 46.875 10.3125C46.875 10.5611 46.7762 10.7996 46.6004 10.9754C46.4246 11.1512 46.1861 11.25 45.9375 11.25ZM49.6875 11.25C49.5021 11.25 49.3208 11.195 49.1667 11.092C49.0125 10.989 48.8923 10.8426 48.8214 10.6713C48.7504 10.5 48.7318 10.3115 48.768 10.1296C48.8042 9.94775 48.8935 9.7807 49.0246 9.64959C49.1557 9.51848 49.3227 9.42919 49.5046 9.39301C49.6865 9.35684 49.875 9.37541 50.0463 9.44636C50.2176 9.51732 50.364 9.63748 50.467 9.79165C50.57 9.94582 50.625 10.1271 50.625 10.3125C50.625 10.5611 50.5262 10.7996 50.3504 10.9754C50.1746 11.1512 49.9361 11.25 49.6875 11.25Z" fill="#00979D"/>
7
+ <path d="M9.375 18.75H50.625V20.625H9.375V18.75Z" fill="#00979D"/>
8
+ <path d="M30 27.1875C30.2486 27.1875 30.4871 27.0887 30.6629 26.9129C30.8387 26.7371 30.9375 26.4986 30.9375 26.25V25.3125C30.9375 25.0639 30.8387 24.8254 30.6629 24.6496C30.4871 24.4738 30.2486 24.375 30 24.375C29.7514 24.375 29.5129 24.4738 29.3371 24.6496C29.1613 24.8254 29.0625 25.0639 29.0625 25.3125V26.25C29.0625 26.4986 29.1613 26.7371 29.3371 26.9129C29.5129 27.0887 29.7514 27.1875 30 27.1875Z" fill="#00979D"/>
9
+ <path d="M29.0625 34.6875C29.0625 34.9361 29.1613 35.1746 29.3371 35.3504C29.5129 35.5262 29.7514 35.625 30 35.625C30.2486 35.625 30.4871 35.5262 30.6629 35.3504C30.8387 35.1746 30.9375 34.9361 30.9375 34.6875V29.0625C30.9375 28.8139 30.8387 28.5754 30.6629 28.3996C30.4871 28.2238 30.2486 28.125 30 28.125C29.7514 28.125 29.5129 28.2238 29.3371 28.3996C29.1613 28.5754 29.0625 28.8139 29.0625 29.0625V34.6875Z" fill="#00979D"/>
10
+ <path d="M21.0258 31.2188C20.7264 31.5239 20.4044 31.806 20.0625 32.0625C19.8636 32.2117 19.7321 32.4338 19.6969 32.68C19.6618 32.9261 19.7258 33.1761 19.875 33.375C20.0242 33.574 20.2463 33.7055 20.4924 33.7406C20.7386 33.7758 20.9886 33.7117 21.1875 33.5625C21.6053 33.2489 21.9989 32.9042 22.3648 32.5313C22.5374 32.3534 22.6325 32.1145 22.6294 31.8667C22.6263 31.6189 22.5252 31.3824 22.3482 31.2089C22.1713 31.0354 21.9328 30.9391 21.685 30.9409C21.4372 30.9428 21.2002 31.0427 21.0258 31.2188V31.2188Z" fill="#00979D"/>
11
+ <path d="M23.2173 29.9217C23.3301 29.971 23.4515 29.9977 23.5746 30C23.6978 30.0024 23.8201 29.9805 23.9348 29.9355C24.0494 29.8905 24.1541 29.8234 24.2427 29.7379C24.3314 29.6525 24.4023 29.5504 24.4515 29.4375C25.021 28.1369 25.3142 26.7323 25.3125 25.3125C25.3125 25.0639 25.2137 24.8254 25.0379 24.6496C24.8621 24.4738 24.6236 24.375 24.375 24.375C24.1263 24.375 23.8879 24.4738 23.712 24.6496C23.5362 24.8254 23.4375 25.0639 23.4375 25.3125C23.4389 26.4741 23.1991 27.6234 22.733 28.6875C22.6336 28.9154 22.6287 29.1734 22.7195 29.4049C22.8104 29.6363 22.9894 29.8222 23.2173 29.9217V29.9217Z" fill="#00979D"/>
12
+ <path d="M39.9377 32.0625C39.0254 31.3799 38.2616 30.5187 37.693 29.5313C37.5678 29.3177 37.3632 29.1624 37.1239 29.0991C36.8846 29.0358 36.6299 29.0698 36.4155 29.1935C36.2011 29.3173 36.0444 29.5209 35.9795 29.7598C35.9147 29.9987 35.9469 30.2536 36.0693 30.4688C36.7642 31.6756 37.6976 32.7283 38.8127 33.5625C39.0116 33.7117 39.2616 33.7758 39.5077 33.7406C39.7539 33.7054 39.976 33.5739 40.1252 33.375C40.2744 33.1761 40.3384 32.9261 40.3032 32.68C40.2681 32.4338 40.1366 32.2117 39.9377 32.0625V32.0625Z" fill="#00979D"/>
13
+ <path d="M36.5625 25.3125C36.5625 25.0639 36.4637 24.8254 36.2879 24.6496C36.1121 24.4738 35.8736 24.375 35.625 24.375C35.3764 24.375 35.1379 24.4738 34.9621 24.6496C34.7863 24.8254 34.6875 25.0639 34.6875 25.3125C34.6877 26.0052 34.7574 26.6962 34.8956 27.375C34.9454 27.6186 35.0898 27.8325 35.2973 27.9697C35.5047 28.1068 35.7581 28.1559 36.0018 28.1061C36.2454 28.0564 36.4593 27.9119 36.5964 27.7045C36.7335 27.497 36.7826 27.2436 36.7329 27C36.6197 26.4446 36.5626 25.8793 36.5625 25.3125V25.3125Z" fill="#00979D"/>
14
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="47" height="23" viewBox="0 0 47 23" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0.4375 23H8.01562C14.7188 23 18.6562 18.8281 18.6562 11.7188V11.6875C18.6562 4.60938 14.6875 0.453125 8.01562 0.453125H0.4375V23ZM3.25 20.4688V2.98438H7.82812C12.9375 2.98438 15.7812 6.09375 15.7812 11.7188V11.75C15.7812 17.3438 12.9375 20.4688 7.82812 20.4688H3.25ZM22.1562 23H24.9688V0.453125H22.1562V23ZM35.5469 23H38.3594V13.2969L46.3594 0.453125H43.1562L37 10.5781H36.9062L30.75 0.453125H27.5469L35.5469 13.2969V23Z" fill="#00979D"/>
3
+ </svg>
@@ -0,0 +1,10 @@
1
+ <svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M30.9819 10.4897L31.6147 8.90844C31.8254 8.38192 31.5694 7.78414 31.0428 7.57344C30.9214 7.52481 30.7916 7.49985 30.6609 7.49985H29.0625V10.4736C29.6843 10.2534 30.3639 10.259 30.9819 10.4897Z" fill="#00979D"/>
3
+ <path d="M30 14.0625C30.5178 14.0625 30.9375 13.6428 30.9375 13.125C30.9375 12.6072 30.5178 12.1875 30 12.1875C29.4822 12.1875 29.0625 12.6072 29.0625 13.125C29.0625 13.6428 29.4822 14.0625 30 14.0625Z" fill="#00979D"/>
4
+ <path d="M33.5901 17.0214C33.9788 17.0468 34.3479 16.8481 34.5409 16.5099L35.3401 15.1255L32.7646 13.6385C32.6438 14.2868 32.299 14.8721 31.7905 15.2921L32.8444 16.6313C33.026 16.8617 33.2973 17.0036 33.5901 17.0214Z" fill="#00979D"/>
5
+ <path d="M25.5973 16.7493L28.1741 15.2616C27.6723 14.8335 27.337 14.2425 27.2269 13.5921L25.5411 13.8351C24.9796 13.9159 24.5901 14.4367 24.6711 14.998C24.6897 15.1274 24.7328 15.252 24.7981 15.3651L25.5973 16.7493Z" fill="#00979D"/>
6
+ <path d="M29.0625 24.375H30.9375V36.5625H29.0625V24.375Z" fill="#00979D"/>
7
+ <path d="M29.0625 47.8125C29.0625 47.9133 29.0462 48.0134 29.0145 48.109L28.4883 49.6875H31.5117L30.9855 48.109C30.9538 48.0134 30.9375 47.9133 30.9375 47.8125V38.4375H29.0625V47.8125Z" fill="#00979D"/>
8
+ <path d="M36.3694 54.9176L34.5 54.5436C33.5935 54.3611 32.8534 53.7079 32.5598 52.8309L32.1365 51.5625H27.8632L27.4404 52.8307C27.1467 53.7077 26.4067 54.3612 25.4999 54.5435L23.6301 54.9175C22.9907 55.0468 22.5237 55.5981 22.5007 56.2499H37.4991C37.4761 55.598 37.0089 55.0468 36.3694 54.9176Z" fill="#00979D"/>
9
+ <path d="M30 22.5C35.1777 22.5 39.375 18.3027 39.375 13.125C39.375 7.9473 35.1777 3.75 30 3.75C24.8223 3.75 20.625 7.9473 20.625 13.125C20.6309 18.3002 24.8248 22.4941 30 22.5ZM31.3711 17.7908L30.1758 16.2714L25.7227 18.842C25.2743 19.1009 24.7009 18.9472 24.442 18.4989C24.442 18.4989 24.442 18.4988 24.4419 18.4988L23.1741 16.3027C22.3727 14.9147 22.8483 13.14 24.2361 12.3386C24.5559 12.154 24.908 12.0321 25.2736 11.9795L27.1875 11.7036V6.5625C27.1875 6.04477 27.6073 5.625 28.125 5.625H30.6611C32.2637 5.62512 33.5631 6.92437 33.563 8.52715C33.563 8.89629 33.4924 9.26203 33.3554 9.6048L32.6374 11.4L37.09 13.9705C37.5383 14.2294 37.6921 14.8029 37.4332 15.2512C37.4332 15.2512 37.4331 15.2513 37.4331 15.2514L36.1651 17.4475C35.6186 18.4024 34.5762 18.9633 33.478 18.8933C33.4779 18.8932 32.1866 18.8275 31.3711 17.7908Z" fill="#00979D"/>
10
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M42.1875 5.39062C42.187 4.95565 42.014 4.53862 41.7065 4.23104C41.3989 3.92347 40.9819 3.75047 40.5469 3.75H19.4531C19.0181 3.75047 18.6011 3.92347 18.2935 4.23104C17.986 4.53862 17.813 4.95565 17.8125 5.39062V20.625H42.1875V5.39062ZM24.375 18.75H20.625C20.3764 18.75 20.1379 18.6512 19.9621 18.4754C19.7863 18.2996 19.6875 18.0611 19.6875 17.8125C19.6875 17.5639 19.7863 17.3254 19.9621 17.1496C20.1379 16.9738 20.3764 16.875 20.625 16.875H24.375C24.6236 16.875 24.8621 16.9738 25.0379 17.1496C25.2137 17.3254 25.3125 17.5639 25.3125 17.8125C25.3125 18.0611 25.2137 18.2996 25.0379 18.4754C24.8621 18.6512 24.6236 18.75 24.375 18.75Z" fill="#00979D"/>
3
+ <path d="M42.1875 22.5H17.8125V48.75H42.1875V22.5ZM24.375 26.25H20.625C20.3764 26.25 20.1379 26.1512 19.9621 25.9754C19.7863 25.7996 19.6875 25.5611 19.6875 25.3125C19.6875 25.0639 19.7863 24.8254 19.9621 24.6496C20.1379 24.4738 20.3764 24.375 20.625 24.375H24.375C24.6236 24.375 24.8621 24.4738 25.0379 24.6496C25.2137 24.8254 25.3125 25.0639 25.3125 25.3125C25.3125 25.5611 25.2137 25.7996 25.0379 25.9754C24.8621 26.1512 24.6236 26.25 24.375 26.25Z" fill="#00979D"/>
4
+ <path d="M42.1875 50.625H17.8125V56.25H42.1887L42.1875 50.625ZM39.375 54.375H20.625C20.3764 54.375 20.1379 54.2762 19.9621 54.1004C19.7863 53.9246 19.6875 53.6861 19.6875 53.4375C19.6875 53.1889 19.7863 52.9504 19.9621 52.7746C20.1379 52.5988 20.3764 52.5 20.625 52.5H39.375C39.6236 52.5 39.8621 52.5988 40.0379 52.7746C40.2137 52.9504 40.3125 53.1889 40.3125 53.4375C40.3125 53.6861 40.2137 53.9246 40.0379 54.1004C39.8621 54.2762 39.6236 54.375 39.375 54.375Z" fill="#00979D"/>
5
+ </svg>
@@ -0,0 +1,10 @@
1
+ <svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M45.6345 41.25L44.5095 44.0625H46.2401L47.3651 41.25H45.6345Z" fill="#00979D"/>
3
+ <path d="M15.3026 41.25H13.572L14.697 44.0625H16.4276L15.3026 41.25Z" fill="#00979D"/>
4
+ <path d="M51.8651 41.25H50.1345L51.2595 44.0625H52.9901L51.8651 41.25Z" fill="#00979D"/>
5
+ <path d="M3.75 51.5625H5.625V48.75C5.625 48.5014 5.72377 48.2629 5.89959 48.0871C6.0754 47.9113 6.31386 47.8125 6.5625 47.8125H53.4375C53.6861 47.8125 53.9246 47.9113 54.1004 48.0871C54.2762 48.2629 54.375 48.5014 54.375 48.75V51.5625H56.25V45.9375H3.75V51.5625Z" fill="#00979D"/>
6
+ <path d="M9.07202 41.25L7.94702 44.0625H9.67765L10.8026 41.25H9.07202Z" fill="#00979D"/>
7
+ <path d="M7.5 35.625H52.5V13.125H7.5V35.625ZM26.25 33.75C26.0646 33.75 25.8833 33.695 25.7292 33.592C25.575 33.489 25.4548 33.3426 25.3839 33.1713C25.3129 33 25.2943 32.8115 25.3305 32.6296C25.3667 32.4477 25.456 32.2807 25.5871 32.1496C25.7182 32.0185 25.8852 31.9292 26.0671 31.893C26.249 31.8568 26.4375 31.8754 26.6088 31.9464C26.7801 32.0173 26.9265 32.1375 27.0295 32.2917C27.1325 32.4458 27.1875 32.6271 27.1875 32.8125C27.1875 33.0611 27.0887 33.2996 26.9129 33.4754C26.7371 33.6512 26.4986 33.75 26.25 33.75ZM29.9766 33.9844C29.7448 33.9844 29.5182 33.9156 29.3255 33.7869C29.1328 33.6581 28.9826 33.4751 28.8939 33.261C28.8052 33.0468 28.782 32.8112 28.8272 32.5839C28.8724 32.3566 28.984 32.1477 29.1479 31.9839C29.3118 31.82 29.5206 31.7084 29.7479 31.6631C29.9753 31.6179 30.2109 31.6411 30.425 31.7298C30.6392 31.8185 30.8222 31.9687 30.9509 32.1614C31.0797 32.3542 31.1484 32.5807 31.1484 32.8125C31.1484 33.1233 31.025 33.4214 30.8052 33.6411C30.5854 33.8609 30.2874 33.9844 29.9766 33.9844ZM33.8203 33.75C33.6349 33.75 33.4536 33.695 33.2995 33.592C33.1453 33.489 33.0251 33.3426 32.9542 33.1713C32.8832 33 32.8647 32.8115 32.9008 32.6296C32.937 32.4477 33.0263 32.2807 33.1574 32.1496C33.2885 32.0185 33.4556 31.9292 33.6374 31.893C33.8193 31.8568 34.0078 31.8754 34.1791 31.9464C34.3504 32.0173 34.4968 32.1375 34.5998 32.2917C34.7028 32.4458 34.7578 32.6271 34.7578 32.8125C34.7578 32.9357 34.7335 33.0577 34.6864 33.1715C34.6392 33.2853 34.57 33.3887 34.4829 33.4757C34.3957 33.5628 34.2923 33.6318 34.1784 33.6789C34.0646 33.726 33.9435 33.7501 33.8203 33.75ZM22.5 17.8125C22.5 17.5639 22.5988 17.3254 22.7746 17.1496C22.9504 16.9738 23.1889 16.875 23.4375 16.875H36.5625C36.8111 16.875 37.0496 16.9738 37.2254 17.1496C37.4012 17.3254 37.5 17.5639 37.5 17.8125V20.3618L40.0852 19.7155C40.2234 19.681 40.3676 19.6784 40.507 19.7079C40.6464 19.7375 40.7772 19.7984 40.8895 19.8861C41.0017 19.9738 41.0926 20.0859 41.155 20.2139C41.2175 20.3419 41.25 20.4825 41.25 20.625V26.25C41.25 26.3925 41.2175 26.5331 41.155 26.6611C41.0926 26.7891 41.0017 26.9012 40.8895 26.9889C40.7772 27.0766 40.6464 27.1375 40.507 27.1671C40.3676 27.1966 40.2234 27.194 40.0852 27.1595L37.5 26.5132V29.0625C37.5 29.3111 37.4012 29.5496 37.2254 29.7254C37.0496 29.9012 36.8111 30 36.5625 30H23.4375C23.1889 30 22.9504 29.9012 22.7746 29.7254C22.5988 29.5496 22.5 29.3111 22.5 29.0625V17.8125Z" fill="#00979D"/>
8
+ <path d="M3.75 9.375V39.375H56.25V9.375H3.75ZM54.375 36.5625C54.375 36.8111 54.2762 37.0496 54.1004 37.2254C53.9246 37.4012 53.6861 37.5 53.4375 37.5H6.5625C6.31386 37.5 6.0754 37.4012 5.89959 37.2254C5.72377 37.0496 5.625 36.8111 5.625 36.5625V12.1875C5.625 11.9389 5.72377 11.7004 5.89959 11.5246C6.0754 11.3488 6.31386 11.25 6.5625 11.25H53.4375C53.6861 11.25 53.9246 11.3488 54.1004 11.5246C54.2762 11.7004 54.375 11.9389 54.375 12.1875V36.5625Z" fill="#00979D"/>
9
+ <rect x="18.75" y="15" width="24.375" height="20.625" fill="#00979D"/>
10
+ </svg>
@@ -0,0 +1,11 @@
1
+ <svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M42.1876 33.7501C42.1885 35.0401 41.9837 36.3221 41.5811 37.5476L43.4326 37.9181C44.2734 35.203 44.2734 32.2971 43.4326 29.582L41.5811 29.9525C41.9837 31.1781 42.1885 32.46 42.1876 33.7501Z" fill="#00979D"/>
3
+ <path d="M7.5 52.5H52.5V15H7.5V52.5ZM30 17.8125C38.788 17.8125 45.9375 24.962 45.9375 33.75C45.9375 42.538 38.788 49.6875 30 49.6875C21.212 49.6875 14.0625 42.538 14.0625 33.75C14.0625 24.962 21.212 17.8125 30 17.8125Z" fill="#00979D"/>
4
+ <path d="M28.125 7.5H37.5V9.375H28.125V7.5Z" fill="#00979D"/>
5
+ <path d="M30 23.4375C27.9604 23.4375 25.9666 24.0423 24.2707 25.1755C22.5748 26.3086 21.253 27.9192 20.4725 29.8036C19.692 31.6879 19.4877 33.7614 19.8857 35.7619C20.2836 37.7623 21.2657 39.5998 22.708 41.042C24.1502 42.4842 25.9877 43.4664 27.9881 43.8643C29.9886 44.2622 32.0621 44.058 33.9464 43.2775C35.8308 42.497 37.4414 41.1752 38.5745 39.4793C39.7077 37.7834 40.3125 35.7896 40.3125 33.75C40.3094 31.0159 39.2219 28.3947 37.2886 26.4614C35.3553 24.5281 32.7341 23.4406 30 23.4375ZM26.25 33.75C26.25 33.9986 26.1512 34.2371 25.9754 34.4129C25.7996 34.5887 25.5611 34.6875 25.3125 34.6875C25.0639 34.6875 24.8254 34.5887 24.6496 34.4129C24.4738 34.2371 24.375 33.9986 24.375 33.75C24.3767 32.2587 24.9699 30.8289 26.0244 29.7744C27.0789 28.7199 28.5087 28.1267 30 28.125C30.2486 28.125 30.4871 28.2238 30.6629 28.3996C30.8387 28.5754 30.9375 28.8139 30.9375 29.0625C30.9375 29.3111 30.8387 29.5496 30.6629 29.7254C30.4871 29.9012 30.2486 30 30 30C29.0058 30.0011 28.0526 30.3966 27.3496 31.0996C26.6466 31.8026 26.2511 32.7558 26.25 33.75ZM30 39.375C29.7514 39.375 29.5129 39.2762 29.3371 39.1004C29.1613 38.9246 29.0625 38.6861 29.0625 38.4375C29.0625 38.1888 29.1613 37.9504 29.3371 37.7746C29.5129 37.5988 29.7514 37.5 30 37.5C30.9942 37.4989 31.9474 37.1034 32.6504 36.4004C33.3534 35.6974 33.7489 34.7442 33.75 33.75C33.75 33.5013 33.8488 33.2629 34.0246 33.0871C34.2004 32.9113 34.4389 32.8125 34.6875 32.8125C34.9361 32.8125 35.1746 32.9113 35.3504 33.0871C35.5262 33.2629 35.625 33.5013 35.625 33.75C35.6233 35.2413 35.0301 36.6711 33.9756 37.7256C32.9211 38.7801 31.4913 39.3733 30 39.375Z" fill="#00979D"/>
6
+ <path d="M22.5 3.75H8.67188C8.36118 3.75034 8.06331 3.87392 7.84361 4.09361C7.62392 4.31331 7.50034 4.61118 7.5 4.92188V13.125H22.5V3.75ZM20.625 10.3125C20.625 10.5611 20.5262 10.7996 20.3504 10.9754C20.1746 11.1512 19.9361 11.25 19.6875 11.25H10.3125C10.0639 11.25 9.8254 11.1512 9.64959 10.9754C9.47377 10.7996 9.375 10.5611 9.375 10.3125V8.4375C9.37584 7.69184 9.67242 6.97695 10.1997 6.44969C10.727 5.92242 11.4418 5.62584 12.1875 5.625H17.8125C18.5582 5.62584 19.273 5.92242 19.8003 6.44969C20.3276 6.97695 20.6242 7.69184 20.625 8.4375V10.3125Z" fill="#00979D"/>
7
+ <path d="M17.8125 7.5H12.1875C11.9389 7.50028 11.7007 7.59914 11.5249 7.7749C11.3491 7.95065 11.2503 8.18895 11.25 8.4375V9.375H18.75V8.4375C18.7497 8.18895 18.6509 7.95065 18.4751 7.7749C18.2993 7.59914 18.0611 7.50028 17.8125 7.5Z" fill="#00979D"/>
8
+ <path d="M51.3281 3.75H24.375V13.125H52.5V4.92188C52.4997 4.61118 52.3761 4.31331 52.1564 4.09361C51.9367 3.87392 51.6388 3.75034 51.3281 3.75ZM39.375 10.3125C39.375 10.5611 39.2762 10.7996 39.1004 10.9754C38.9246 11.1512 38.6861 11.25 38.4375 11.25H27.1875C26.9389 11.25 26.7004 11.1512 26.5246 10.9754C26.3488 10.7996 26.25 10.5611 26.25 10.3125V6.5625C26.25 6.31386 26.3488 6.0754 26.5246 5.89959C26.7004 5.72377 26.9389 5.625 27.1875 5.625H38.4375C38.6861 5.625 38.9246 5.72377 39.1004 5.89959C39.2762 6.0754 39.375 6.31386 39.375 6.5625V10.3125ZM42.1875 9.375C42.0021 9.375 41.8208 9.32002 41.6667 9.217C41.5125 9.11399 41.3923 8.96757 41.3214 8.79627C41.2504 8.62496 41.2318 8.43646 41.268 8.2546C41.3042 8.07275 41.3935 7.9057 41.5246 7.77459C41.6557 7.64348 41.8227 7.55419 42.0046 7.51801C42.1865 7.48184 42.375 7.50041 42.5463 7.57136C42.7176 7.64232 42.864 7.76248 42.967 7.91665C43.07 8.07082 43.125 8.25208 43.125 8.4375C43.125 8.68614 43.0262 8.9246 42.8504 9.10041C42.6746 9.27623 42.4361 9.375 42.1875 9.375ZM45.9375 9.375C45.7521 9.375 45.5708 9.32002 45.4167 9.217C45.2625 9.11399 45.1423 8.96757 45.0714 8.79627C45.0004 8.62496 44.9818 8.43646 45.018 8.2546C45.0542 8.07275 45.1435 7.9057 45.2746 7.77459C45.4057 7.64348 45.5727 7.55419 45.7546 7.51801C45.9365 7.48184 46.125 7.50041 46.2963 7.57136C46.4676 7.64232 46.614 7.76248 46.717 7.91665C46.82 8.07082 46.875 8.25208 46.875 8.4375C46.875 8.68614 46.7762 8.9246 46.6004 9.10041C46.4246 9.27623 46.1861 9.375 45.9375 9.375ZM49.6875 9.375C49.5021 9.375 49.3208 9.32002 49.1667 9.217C49.0125 9.11399 48.8923 8.96757 48.8214 8.79627C48.7504 8.62496 48.7318 8.43646 48.768 8.2546C48.8042 8.07275 48.8935 7.9057 49.0246 7.77459C49.1557 7.64348 49.3227 7.55419 49.5046 7.51801C49.6865 7.48184 49.875 7.50041 50.0463 7.57136C50.2176 7.64232 50.364 7.76248 50.467 7.91665C50.57 8.07082 50.625 8.25208 50.625 8.4375C50.625 8.68614 50.5262 8.9246 50.3504 9.10041C50.1746 9.27623 49.9361 9.375 49.6875 9.375Z" fill="#00979D"/>
9
+ <path d="M7.5 54.375H52.5V56.25H7.5V54.375Z" fill="#00979D"/>
10
+ <path d="M29.9999 47.8126C32.6761 47.81 35.2961 47.0449 37.553 45.6067C39.81 44.1686 41.6103 42.117 42.7432 39.6924L40.8424 39.3119C39.5944 41.7453 37.5642 43.6882 35.0784 44.8282C32.5925 45.9682 29.7955 46.239 27.1371 45.5971C24.4788 44.9551 22.1136 43.4377 20.4219 41.2889C18.7303 39.1402 17.8105 36.4849 17.8105 33.7501C17.8105 31.0153 18.7303 28.36 20.4219 26.2112C22.1136 24.0624 24.4788 22.5451 27.1371 21.9031C29.7955 21.2612 32.5925 21.5319 35.0784 22.6719C37.5642 23.8119 39.5944 25.7549 40.8424 28.1882L42.7432 27.8077C41.6779 25.5235 40.0184 23.5676 37.9381 22.1447C35.8578 20.7217 33.4333 19.884 30.9183 19.7193C28.4033 19.5545 25.8903 20.0688 23.6422 21.2082C21.394 22.3476 19.4935 24.0703 18.1394 26.1961C16.7853 28.3218 16.0274 30.7724 15.945 33.2914C15.8627 35.8105 16.4589 38.3053 17.6712 40.515C18.8836 42.7246 20.6676 44.5678 22.8365 45.8516C25.0054 47.1354 27.4795 47.8127 29.9999 47.8126Z" fill="#00979D"/>
11
+ </svg>
@@ -0,0 +1,7 @@
1
+ import AC from './AC.svg';
2
+ import DIY from './DIY.svg';
3
+ import Fan from './Fan.svg';
4
+ import Fridge from './Fridge.svg';
5
+ import TV from './TV.svg';
6
+ import WM from './WM.svg';
7
+ export { AC, DIY, Fan, Fridge, TV, WM };
@@ -0,0 +1,40 @@
1
+ import { Colors } from '../../../../configs';
2
+ import { StyleSheet } from 'react-native';
3
+
4
+ export default StyleSheet.create({
5
+ container: {
6
+ flex: 1,
7
+ backgroundColor: Colors.White,
8
+ },
9
+ wrap: {
10
+ marginTop: 16,
11
+ marginHorizontal: 16,
12
+ },
13
+ textAutoLock: {
14
+ fontSize: 16,
15
+ color: Colors.Gray8,
16
+ marginBottom: 8,
17
+ },
18
+ textYourDoor: {
19
+ fontSize: 12,
20
+ color: Colors.Gray8,
21
+ maginBottom: 16,
22
+ },
23
+ slider: {
24
+ marginTop: 20,
25
+ },
26
+ trackSlider: {
27
+ height: 8,
28
+ borderRadius: 30,
29
+ },
30
+ thumbSlider: {
31
+ backgroundColor: Colors.Gray2,
32
+ width: 20,
33
+ height: 20,
34
+ },
35
+ textReLock: {
36
+ marginTop: 20,
37
+ fontSize: 12,
38
+ color: Colors.Gray8,
39
+ },
40
+ });
@@ -0,0 +1,65 @@
1
+ import React, { memo } from 'react';
2
+ import { IconOutline } from '@ant-design/icons-react-native';
3
+ import { Switch, View } from 'react-native';
4
+ import styles from './ButtonWrapperStyles';
5
+ import Text from '../../../Text';
6
+ import SvgBrightnessBlack from '../../../../../assets/images/brightnessBlack.svg';
7
+ import { Colors } from '../../../../configs';
8
+ import t from '../../../../hooks/Common/useTranslations';
9
+
10
+ const ButtonWrapper = memo(
11
+ ({
12
+ isButtonEnable,
13
+ isButtonInstant,
14
+ isButtonReLockTiming,
15
+ toggleSwitch,
16
+ isEnabled,
17
+ testID,
18
+ }) => {
19
+ return (
20
+ <View style={styles.buttonWrapper} testID={testID}>
21
+ {isButtonReLockTiming ? (
22
+ <View style={styles.wrapHeadline}>
23
+ <SvgBrightnessBlack />
24
+ <Text style={styles.textAutoLock}> {t('re_lock_timing')}</Text>
25
+ </View>
26
+ ) : (
27
+ <View style={styles.wrapHeadline}>
28
+ <IconOutline name={'lock'} size={20} color={Colors.Gray9} />
29
+ <Text style={styles.textAutoLock}>
30
+ {isButtonEnable ? t('auto_lock_enabled') : t('auto_lock_when')}
31
+ </Text>
32
+ </View>
33
+ )}
34
+ {isButtonEnable && (
35
+ <Switch
36
+ trackColor={{ false: Colors.Gray4, true: Colors.Primary }}
37
+ thumbColor={Colors.White}
38
+ ios_backgroundColor="#3e3e3e"
39
+ onValueChange={toggleSwitch}
40
+ value={isEnabled}
41
+ style={styles.switch}
42
+ />
43
+ )}
44
+ {isButtonInstant && (
45
+ <View style={styles.buttonValue}>
46
+ <Text type="Body" style={styles.textValue}>
47
+ {t('instant')}
48
+ </Text>
49
+ <IconOutline name="right" size={20} color={Colors.Gray7} />
50
+ </View>
51
+ )}
52
+ {isButtonReLockTiming && (
53
+ <Text
54
+ type="Body"
55
+ style={isEnabled ? styles.textInstant : styles.textDisabled}
56
+ >
57
+ 2m 00s
58
+ </Text>
59
+ )}
60
+ </View>
61
+ );
62
+ }
63
+ );
64
+
65
+ export default ButtonWrapper;
@@ -0,0 +1,43 @@
1
+ import { Colors } from '../../../../configs';
2
+ import { StyleSheet } from 'react-native';
3
+
4
+ export default StyleSheet.create({
5
+ buttonWrapper: {
6
+ flexDirection: 'row',
7
+ justifyContent: 'space-between',
8
+ alignItems: 'center',
9
+ paddingTop: 24,
10
+ },
11
+ wrapHeadline: {
12
+ flex: 1,
13
+ flexDirection: 'row',
14
+ justifyContent: 'flex-start',
15
+ alignItems: 'center',
16
+ },
17
+ textAutoLock: {
18
+ fontSize: 16,
19
+ color: Colors.Gray9,
20
+ paddingLeft: 10,
21
+ },
22
+ switch: {
23
+ transform: [{ scaleX: 1.1 }, { scaleY: 1 }],
24
+ },
25
+ buttonValue: {
26
+ flex: 1,
27
+ flexDirection: 'row',
28
+ justifyContent: 'flex-end',
29
+ },
30
+ textValue: {
31
+ marginRight: 14,
32
+ fontSize: 14,
33
+ color: Colors.Gray8,
34
+ },
35
+ textInstant: {
36
+ fontSize: 12,
37
+ color: Colors.Primary,
38
+ },
39
+ textDisabled: {
40
+ fontSize: 12,
41
+ color: Colors.Gray6,
42
+ },
43
+ });
@@ -0,0 +1,48 @@
1
+ import React from 'react';
2
+ import { act, create } from 'react-test-renderer';
3
+
4
+ import AutoLock from '../index';
5
+ import { mockSCStore } from '../../../../../context/mockStore';
6
+ import { TESTID } from '../../../../../configs/Constants';
7
+ import { SCProvider } from '../../../../../context';
8
+
9
+ const wrapComponent = () => (
10
+ <SCProvider initState={mockSCStore({})}>
11
+ <AutoLock />
12
+ </SCProvider>
13
+ );
14
+
15
+ describe('Test AutoLock', () => {
16
+ let tree;
17
+
18
+ const getElement = (instance) => {
19
+ const buttonEnable = instance.findAll(
20
+ (item) => item.props.testID === TESTID.AUTO_LOCK_BUTTON_ENABLE
21
+ );
22
+ const buttonInstant = instance.findAll(
23
+ (item) => item.props.testID === TESTID.AUTO_LOCK_BUTTON_INSTANT
24
+ );
25
+ const buttonRelockTiming = instance.findAll(
26
+ (item) => item.props.testID === TESTID.AUTO_LOCK_BUTTON_RELOCK_TIMING
27
+ );
28
+ return {
29
+ buttonEnable,
30
+ buttonInstant,
31
+ buttonRelockTiming,
32
+ };
33
+ };
34
+
35
+ test('render AutoLock', async () => {
36
+ await act(async () => {
37
+ tree = create(wrapComponent());
38
+ });
39
+
40
+ const instance = tree.root;
41
+ const { buttonEnable, buttonInstant, buttonRelockTiming } =
42
+ getElement(instance);
43
+
44
+ expect(buttonEnable[0]).toBeDefined();
45
+ expect(buttonInstant[0]).toBeDefined();
46
+ expect(buttonRelockTiming[0]).toBeDefined();
47
+ });
48
+ });
@@ -0,0 +1,57 @@
1
+ import React, { memo, useCallback, useState } from 'react';
2
+ import { SafeAreaView, View } from 'react-native';
3
+ import Slider from 'react-native-slider';
4
+ import Text from '../../../Text';
5
+ import { HeaderCustom } from '../../../Header';
6
+ import ButtonWrapper from './ButtonWrapper';
7
+ import { TESTID } from '../../../../configs/Constants';
8
+ import styles from './AutoLockStyles';
9
+ import t from '../../../../hooks/Common/useTranslations';
10
+ import { Colors } from '../../../../configs';
11
+
12
+ const AutoLock = memo(() => {
13
+ const [isEnabled, setIsEnabled] = useState(false);
14
+
15
+ const handleToggleSwitch = useCallback(() => {
16
+ setIsEnabled((previousState) => !previousState);
17
+ }, []);
18
+ return (
19
+ <SafeAreaView style={styles.container}>
20
+ <HeaderCustom title={t('auto_lock')} isShowSeparator />
21
+ <View style={styles.wrap}>
22
+ <Text style={styles.textAutoLock}>{t('auto_lock')}</Text>
23
+ <Text style={styles.textYourDoor}>{t('your_door_will_lock')}</Text>
24
+ <ButtonWrapper
25
+ isButtonEnable
26
+ toggleSwitch={handleToggleSwitch}
27
+ isEnabled={isEnabled}
28
+ testID={TESTID.AUTO_LOCK_BUTTON_ENABLE}
29
+ />
30
+ <ButtonWrapper
31
+ isButtonInstant
32
+ testID={TESTID.AUTO_LOCK_BUTTON_INSTANT}
33
+ />
34
+ <ButtonWrapper
35
+ isButtonReLockTiming
36
+ isEnabled={isEnabled}
37
+ testID={TESTID.AUTO_LOCK_BUTTON_RELOCK_TIMING}
38
+ />
39
+ <View style={styles.slider}>
40
+ <Slider
41
+ step={1}
42
+ minimumValue={0}
43
+ maximumValue={100}
44
+ thumbTintColor={Colors.Gray3}
45
+ minimumTrackTintColor={isEnabled ? Colors.Primary : Colors.Gray6}
46
+ maximumTrackTintColor={Colors.Gray3}
47
+ trackStyle={styles.trackSlider}
48
+ thumbStyle={styles.thumbSlider}
49
+ />
50
+ </View>
51
+ <Text style={styles.textReLock}>{t('re_lock_will_lock')}</Text>
52
+ </View>
53
+ </SafeAreaView>
54
+ );
55
+ });
56
+
57
+ export default AutoLock;
@@ -1,11 +1,11 @@
1
1
  import React, { memo, useCallback, useState } from 'react';
2
2
  import { SafeAreaView, TouchableOpacity, View } from 'react-native';
3
- import { useTranslations } from '../../hooks/Common/useTranslations';
4
- import { Section } from '../Section';
5
- import Text from '../Text';
3
+ import { useTranslations } from '../../../hooks/Common/useTranslations';
4
+ import { Section } from '../../Section';
5
+ import Text from '../../Text';
6
6
  import styles from './OnOffSmartLockStyle';
7
- import ButtonLock from '../../../assets/images/Device/button-lock.svg';
8
- import ButtonUnLock from '../../../assets/images/Device/button-unlock.svg';
7
+ import ButtonLock from '../../../../assets/images/Device/button-lock.svg';
8
+ import ButtonUnLock from '../../../../assets/images/Device/button-unlock.svg';
9
9
 
10
10
  const OnOffSmartLock = memo(({ actionGroup, doAction, sensor }) => {
11
11
  const t = useTranslations();
@@ -1,5 +1,5 @@
1
1
  import { StyleSheet } from 'react-native';
2
- import { Colors } from '../../configs';
2
+ import { Colors } from '../../../configs';
3
3
 
4
4
  export default StyleSheet.create({
5
5
  container: {
@@ -0,0 +1,48 @@
1
+ import React, { memo } from 'react';
2
+ import { SafeAreaView, View, TouchableOpacity } from 'react-native';
3
+
4
+ import Text from '../../../Text';
5
+ import { HeaderCustom } from '../../../Header';
6
+ import t from '../../../../hooks/Common/useTranslations';
7
+ import { Colors } from '../../../../configs';
8
+ import styles from './ItemPasscodeStyles';
9
+
10
+ const ButtonWrapper = ({ item, textHeadline }) => {
11
+ return (
12
+ <View style={styles.wrap}>
13
+ <View style={styles.buttonWrap}>
14
+ <Text style={styles.textHeadline}>{textHeadline}</Text>
15
+ <Text style={styles.textEndline}>{item}</Text>
16
+ </View>
17
+ </View>
18
+ );
19
+ };
20
+
21
+ const ItemPasscode = memo(({ route }) => {
22
+ const { item } = route.params;
23
+
24
+ return (
25
+ <SafeAreaView style={styles.container}>
26
+ <HeaderCustom isShowSeparator title={item.code} />
27
+ <ButtonWrapper textHeadline={t('code')} item={item.code} />
28
+ <ButtonWrapper textHeadline={t('user')} item={item.name} />
29
+ <ButtonWrapper
30
+ textHeadline={t('create_time')}
31
+ item={'29/1/2022 12:00:22'}
32
+ />
33
+ <ButtonWrapper textHeadline={t('status')} item={'Active'} />
34
+ <TouchableOpacity style={styles.removeButton}>
35
+ <Text
36
+ type={'H4'}
37
+ semibold
38
+ color={Colors.Red}
39
+ style={styles.removeBorderBottom}
40
+ >
41
+ {t('delete_passcode')}
42
+ </Text>
43
+ </TouchableOpacity>
44
+ </SafeAreaView>
45
+ );
46
+ });
47
+
48
+ export default ItemPasscode;
@@ -0,0 +1,42 @@
1
+ import { Colors } from '../../../../configs';
2
+ import { StyleSheet } from 'react-native';
3
+ import { getBottomSpace } from 'react-native-iphone-x-helper';
4
+
5
+ export default StyleSheet.create({
6
+ container: {
7
+ flex: 1,
8
+ backgroundColor: Colors.White,
9
+ },
10
+ wrap: {
11
+ marginHorizontal: 16,
12
+ },
13
+ buttonWrap: {
14
+ flexDirection: 'row',
15
+ justifyContent: 'space-between',
16
+ alignItems: 'center',
17
+ marginTop: 26,
18
+ paddingBottom: 16,
19
+ borderBottomWidth: 1,
20
+ borderColor: Colors.Gray3,
21
+ },
22
+ textHeadline: {
23
+ fontSize: 14,
24
+ color: Colors.Gray7,
25
+ },
26
+ textEndline: {
27
+ fontSize: 14,
28
+ fontWeight: 'bold',
29
+ color: Colors.Gray9,
30
+ },
31
+ removeButton: {
32
+ position: 'absolute',
33
+ bottom: 0,
34
+ borderWidth: 0,
35
+ alignSelf: 'center',
36
+ paddingBottom: 16 + getBottomSpace(),
37
+ },
38
+ removeBorderBottom: {
39
+ borderBottomWidth: 1,
40
+ borderBottomColor: Colors.Red,
41
+ },
42
+ });
@@ -0,0 +1,49 @@
1
+ import { Colors, Theme } from '../../../../configs';
2
+ import { StyleSheet } from 'react-native';
3
+
4
+ export default StyleSheet.create({
5
+ container: {
6
+ flex: 1,
7
+ backgroundColor: Colors.White,
8
+ },
9
+ wrap: {
10
+ marginHorizontal: 16,
11
+ },
12
+ searchBox: {
13
+ ...Theme.flexRow,
14
+ paddingHorizontal: 16,
15
+ backgroundColor: Colors.Gray2,
16
+ borderWidth: 1,
17
+ borderColor: Colors.Gray4,
18
+ borderRadius: 30,
19
+ marginTop: 8,
20
+ height: 48,
21
+ marginBottom: 22,
22
+ },
23
+ search: {
24
+ marginHorizontal: 10,
25
+ color: Colors.Gray6,
26
+ },
27
+ textSearchInput: {
28
+ fontSize: 14,
29
+ width: '90%',
30
+ },
31
+ buttonWrapper: {
32
+ flexDirection: 'row',
33
+ justifyContent: 'space-between',
34
+ alignItems: 'center',
35
+ paddingBottom: 16,
36
+ marginBottom: 16,
37
+ borderBottomWidth: 1,
38
+ borderColor: Colors.Gray3,
39
+ },
40
+ textCode: {
41
+ fontSize: 14,
42
+ color: Colors.Gray9,
43
+ fontWeight: 'bold',
44
+ },
45
+ textName: {
46
+ fontSize: 14,
47
+ color: Colors.Gray8,
48
+ },
49
+ });