@eohjsc/react-native-smart-city 0.7.22 → 0.7.23
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.
- package/package.json +1 -1
- package/src/commons/ActionGroup/TerminalBoxTemplate.js +3 -0
- package/src/commons/ActionTemplate/OnOffButtonAction.js +38 -4
- package/src/commons/ActionTemplate/OnOffSimpleAction.js +55 -15
- package/src/commons/ActionTemplate/OnOffSmartLockAction.js +46 -8
- package/src/commons/ActionTemplate/SwitchButtonAction.js +35 -4
- package/src/commons/ActionTemplate/ThreeButtonAction.js +13 -3
- package/src/commons/ActionTemplate/__test__/OnOffButtonAction.test.js +46 -7
- package/src/commons/ActionTemplate/__test__/OnOffSimpleAction.test.js +66 -6
- package/src/commons/ActionTemplate/__test__/OnOffSmartLockAction.test.js +53 -13
- package/src/commons/ActionTemplate/__test__/SwitchButtonAction.test.js +46 -7
- package/src/commons/ActionTemplate/__test__/index.test.js +6 -2
- package/src/commons/ActionTemplate/index.js +65 -10
- package/src/commons/MediaPlayerDetail/MediaPlayerFull.js +26 -32
- package/src/commons/OneTapTemplate/StatesGridActionTemplate.js +8 -6
- package/src/commons/SubUnit/OneTap/__test__/SubUnitAutomate.test.js +6 -0
- package/src/commons/SubUnit/OneTap/index.js +5 -0
- package/src/commons/UnitSummary/ConfigHistoryChart/index.js +9 -11
- package/src/commons/Widgets/IFrameWithConfig/IFrameWithConfig.js +3 -1
- package/src/commons/Widgets/IFrameWithConfig/__tests__/IFrameWithConfig.test.js +1 -1
- package/src/configs/API.js +6 -0
- package/src/configs/AccessibilityLabel.js +2 -0
- package/src/screens/ActivityLog/__test__/index.test.js +10 -0
- package/src/screens/ActivityLog/hooks/index.js +1 -1
- package/src/screens/Automate/AddNewAction/ChooseAction.js +15 -51
- package/src/screens/Automate/AddNewAction/SelectControlDevices.js +13 -3
- package/src/screens/Automate/AddNewAction/SetupConfigCondition.js +74 -54
- package/src/screens/Automate/AddNewAction/__test__/ChooseAction.test.js +114 -4
- package/src/screens/Automate/AddNewAction/__test__/SetupConfigCondition.test.js +37 -8
- package/src/screens/Automate/AddNewAutoSmart/AddTypeSmart.js +5 -0
- package/src/screens/Automate/AddNewAutoSmart/__test__/AddNewAutoSmart.test.js +18 -2
- package/src/screens/Automate/Components/InputName.js +7 -6
- package/src/screens/Automate/Constants.js +12 -0
- package/src/screens/Automate/EditActionsList/UpdateActionScript.js +24 -55
- package/src/screens/Automate/EditActionsList/__tests__/UpdateActionScript.test.js +298 -41
- package/src/screens/Automate/EditActionsList/__tests__/index.test.js +2 -2
- package/src/screens/Automate/EditActionsList/index.js +26 -14
- package/src/screens/Automate/MultiUnits.js +9 -1
- package/src/screens/Automate/OneTap/__test__/AddNewOneTap.test.js +3 -3
- package/src/screens/Automate/ScriptDetail/Components/AddActionScript.js +4 -10
- package/src/screens/Automate/ScriptDetail/Components/DeleteScript.js +2 -4
- package/src/screens/Automate/ScriptDetail/__test__/index.test.js +78 -0
- package/src/screens/Automate/ScriptDetail/index.js +16 -10
- package/src/screens/Automate/ScriptDetail/utils.js +39 -15
- package/src/screens/Automate/SetSchedule/AddEditConditionSchedule.js +27 -160
- package/src/screens/Automate/SetSchedule/EditSchedule.js +269 -0
- package/src/screens/Automate/SetSchedule/__test__/AddEditConditionSchedule.test.js +327 -22
- package/src/screens/Automate/SetSchedule/__test__/index.test.js +35 -22
- package/src/screens/Automate/SetSchedule/components/RepeatOptionsPopup.js +2 -8
- package/src/screens/Automate/SetSchedule/index.js +15 -129
- package/src/screens/Automate/SetSchedule/styles/indexStyles.js +9 -0
- package/src/screens/Automate/__test__/MultiUnits.test.js +6 -1
- package/src/screens/Automate/hooks/useAction.js +222 -0
- package/src/screens/Device/__test__/detail.test.js +48 -1
- package/src/screens/Device/detail.js +46 -3
- package/src/screens/PlayBackCamera/__test__/index.test.js +48 -13
- package/src/screens/PlayBackCamera/index.js +1 -1
- package/src/utils/Apis/axios.js +6 -0
- package/src/utils/I18n/translations/en.js +8 -0
- package/src/utils/I18n/translations/vi.js +8 -0
- package/src/screens/Automate/constants.js +0 -0
|
@@ -1083,6 +1083,13 @@ export default {
|
|
|
1083
1083
|
once: 'Once',
|
|
1084
1084
|
every_day: 'Everyday',
|
|
1085
1085
|
every_week: 'Every Week',
|
|
1086
|
+
time_range: 'Time Range',
|
|
1087
|
+
time_range_repeat: 'Time range repeat',
|
|
1088
|
+
repeat_every: 'Repeat every {interval} minutes',
|
|
1089
|
+
from_to: 'From {from} to {to} {weekdays}',
|
|
1090
|
+
on_weekday: 'on',
|
|
1091
|
+
interval: 'Interval',
|
|
1092
|
+
interval_repeat: 'Interval (minutes)',
|
|
1086
1093
|
button: 'Button',
|
|
1087
1094
|
create_smart: 'Create Smart',
|
|
1088
1095
|
update_smart: 'Update Smart',
|
|
@@ -1135,6 +1142,7 @@ export default {
|
|
|
1135
1142
|
mode: 'Mode',
|
|
1136
1143
|
text_on: 'On',
|
|
1137
1144
|
text_off: 'Off',
|
|
1145
|
+
toggle: 'Toggle',
|
|
1138
1146
|
set_temperature: 'Set temperature',
|
|
1139
1147
|
not_permission:
|
|
1140
1148
|
'There are some control commands you have not been authorized',
|
|
@@ -1093,6 +1093,13 @@ export default {
|
|
|
1093
1093
|
once: 'Một lần',
|
|
1094
1094
|
every_day: 'Hằng ngày',
|
|
1095
1095
|
every_week: 'Hằng tuần',
|
|
1096
|
+
time_range: 'Khoảng thời gian',
|
|
1097
|
+
time_range_repeat: 'Tần suất lặp lại',
|
|
1098
|
+
repeat_every: 'Lặp lại mỗi {interval} phút',
|
|
1099
|
+
from_to: 'Từ {from} đến {to} {weekdays}',
|
|
1100
|
+
on_weekday: 'vào',
|
|
1101
|
+
interval: 'Chu kỳ',
|
|
1102
|
+
interval_repeat: 'Chu kỳ (phút)',
|
|
1096
1103
|
create_smart: 'Tạo thông minh',
|
|
1097
1104
|
update_smart: 'Cập nhật thông minh',
|
|
1098
1105
|
automate: 'Tự động',
|
|
@@ -1143,6 +1150,7 @@ export default {
|
|
|
1143
1150
|
mode: 'Chế độ',
|
|
1144
1151
|
text_on: 'Bật',
|
|
1145
1152
|
text_off: 'Tắt',
|
|
1153
|
+
toggle: 'Đảo trạng thái',
|
|
1146
1154
|
set_temperature: 'Thiết lập nhiệt độ',
|
|
1147
1155
|
not_permission: 'Có một số lệnh điều khiển bạn chưa được cấp quyền',
|
|
1148
1156
|
you_do_not_have_permission_to_access:
|
|
File without changes
|