@ledvance/base 1.1.36 → 1.1.38
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/components/Page.d.ts +1 -0
- package/src/components/Page.tsx +39 -38
- package/src/components/ldvTopBar.d.ts +2 -1
- package/src/components/ldvTopBar.tsx +33 -26
- package/src/i18n/strings.d.ts +168 -0
- package/src/res/ic_colorize.png +0 -0
- package/src/res/ic_colorize@2x.png +0 -0
- package/src/res/ic_colorize@3x.png +0 -0
- package/src/res/ic_mood_del.png +0 -0
- package/src/res/ic_mood_del@2x.png +0 -0
- package/src/res/ic_mood_del@3x.png +0 -0
- package/src/res/ic_paint_bucket.png +0 -0
- package/src/res/ic_paint_bucket@2x.png +0 -0
- package/src/res/ic_paint_bucket@3x.png +0 -0
- package/src/res/ic_text_field_input_error.png +0 -0
- package/src/res/ic_text_field_input_error@2x.png +0 -0
- package/src/res/ic_text_field_input_error@3x.png +0 -0
- package/src/res/index.d.ts +4 -0
- package/src/res/index.ts +5 -1
package/package.json
CHANGED
package/src/components/Page.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ interface PageProps extends PropsWithChildren<ViewProps> {
|
|
|
8
8
|
backDialogTitle?: string;
|
|
9
9
|
backDialogContent?: string;
|
|
10
10
|
rightButtonIcon?: string;
|
|
11
|
+
rightButtonStyle?: any | undefined;
|
|
11
12
|
rightButtonIconClick?: () => void;
|
|
12
13
|
headlineText?: string;
|
|
13
14
|
headlineIcon?: string | number;
|
package/src/components/Page.tsx
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React, {
|
|
2
|
-
import {
|
|
1
|
+
import React, {PropsWithChildren, useCallback, useEffect} from 'react'
|
|
2
|
+
import {BackHandler, View, ViewProps} from 'react-native'
|
|
3
3
|
import LDVTopBar from './ldvTopBar'
|
|
4
|
-
import {
|
|
4
|
+
import {useNavigation} from '@react-navigation/native'
|
|
5
|
+
import {Dialog, Toast} from 'tuya-panel-kit'
|
|
6
|
+
import I18n from '@i18n'
|
|
5
7
|
import LdvTopName from './ldvTopName'
|
|
6
|
-
import { Dialog, Toast } from 'tuya-panel-kit'
|
|
7
|
-
import I18n from '../i18n'
|
|
8
8
|
|
|
9
9
|
interface PageProps extends PropsWithChildren<ViewProps> {
|
|
10
10
|
rightButtonDisabled?: boolean
|
|
@@ -14,6 +14,7 @@ interface PageProps extends PropsWithChildren<ViewProps> {
|
|
|
14
14
|
backDialogTitle?: string
|
|
15
15
|
backDialogContent?: string
|
|
16
16
|
rightButtonIcon?: string
|
|
17
|
+
rightButtonStyle?: any | undefined
|
|
17
18
|
rightButtonIconClick?: () => void
|
|
18
19
|
headlineText?: string
|
|
19
20
|
headlineIcon?: string | number
|
|
@@ -28,63 +29,63 @@ const Page = (props: PageProps) => {
|
|
|
28
29
|
const disabled = props.rightButtonDisabled
|
|
29
30
|
|
|
30
31
|
const onBack = useCallback(() => {
|
|
31
|
-
|
|
32
|
-
navigation.goBack()
|
|
33
|
-
return true
|
|
34
|
-
}
|
|
35
|
-
Dialog.confirm({
|
|
36
|
-
title: props.backDialogTitle || '',
|
|
37
|
-
subTitle: props.backDialogContent || '',
|
|
38
|
-
cancelText: I18n.getLang('cancel_dialog_delete_item_sleepschedule_answer_no_text'),
|
|
39
|
-
confirmText: I18n.getLang('cancel_dialog_delete_item_sleepschedule_answer_yes_text'),
|
|
40
|
-
onConfirm: (_, { close }) => {
|
|
41
|
-
close()
|
|
32
|
+
if (disabled) {
|
|
42
33
|
navigation.goBack()
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
34
|
+
return true
|
|
35
|
+
}
|
|
36
|
+
Dialog.confirm({
|
|
37
|
+
title: props.backDialogTitle || '',
|
|
38
|
+
subTitle: props.backDialogContent || '',
|
|
39
|
+
cancelText: I18n.getLang('cancel_dialog_delete_item_sleepschedule_answer_no_text'),
|
|
40
|
+
confirmText: I18n.getLang('cancel_dialog_delete_item_sleepschedule_answer_yes_text'),
|
|
41
|
+
onConfirm: (_, {close}) => {
|
|
42
|
+
close()
|
|
43
|
+
navigation.goBack()
|
|
44
|
+
},
|
|
45
|
+
})
|
|
46
|
+
return true
|
|
47
|
+
},
|
|
47
48
|
[props.backDialogTitle, props.backDialogContent, disabled],
|
|
48
49
|
)
|
|
49
50
|
|
|
50
51
|
useEffect(() => {
|
|
51
52
|
if (!!props.showBackDialog) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
BackHandler.addEventListener('hardwareBackPress', onBack)
|
|
54
|
+
return () => {
|
|
55
|
+
BackHandler.removeEventListener('hardwareBackPress', onBack)
|
|
56
|
+
}
|
|
56
57
|
}
|
|
57
|
-
}, [props.showBackDialog, disabled])
|
|
58
|
+
}, [props.showBackDialog, disabled])
|
|
58
59
|
|
|
59
60
|
return (
|
|
60
61
|
<>
|
|
61
|
-
<View style={[{
|
|
62
|
+
<View style={[{flex: 1, position: 'relative'}, props.style]}>
|
|
62
63
|
<LDVTopBar
|
|
63
64
|
title={props.backText}
|
|
64
65
|
onBackPress={
|
|
65
66
|
!!props.onBackClick ? props.onBackClick :
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
!!props.showBackDialog ? onBack : (() => {
|
|
68
|
+
navigation.goBack()
|
|
69
|
+
})
|
|
69
70
|
}
|
|
70
71
|
rightButtonIcon={props.rightButtonIcon}
|
|
72
|
+
rightButtonStyle={props.rightButtonStyle}
|
|
71
73
|
onRightButtonPress={props.rightButtonIconClick}
|
|
72
|
-
|
|
74
|
+
rightButtonDisabled={disabled}/>
|
|
73
75
|
{(!!props.headlineText) &&
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
/>}
|
|
76
|
+
<LdvTopName
|
|
77
|
+
title={props.headlineText}
|
|
78
|
+
rightIcon={props.headlineIcon}
|
|
79
|
+
rightIconClick={props.onHeadlineIconClick}
|
|
80
|
+
showGreenery={props.showGreenery}
|
|
81
|
+
greeneryIcon={props.greeneryIcon}/>}
|
|
81
82
|
{props.children}
|
|
82
83
|
</View>
|
|
83
84
|
<Toast.Loading
|
|
84
85
|
show={!!props.loading}
|
|
85
86
|
onFinish={() => {
|
|
86
87
|
|
|
87
|
-
}}
|
|
88
|
+
}}/>
|
|
88
89
|
</>
|
|
89
90
|
)
|
|
90
91
|
}
|
|
@@ -2,7 +2,8 @@ interface TopBarProps {
|
|
|
2
2
|
title: string;
|
|
3
3
|
onBackPress: () => void;
|
|
4
4
|
rightButtonIcon?: any | {};
|
|
5
|
-
rightButtonStyle?: any | undefined
|
|
5
|
+
rightButtonStyle?: any | undefined;
|
|
6
|
+
rightButtonDisabled?: boolean;
|
|
6
7
|
onRightButtonPress?: (() => void) | undefined;
|
|
7
8
|
}
|
|
8
9
|
declare const LDVTopBar: (props: TopBarProps) => JSX.Element;
|
|
@@ -7,15 +7,16 @@ const backIcon = Platform.OS === 'ios' ? 'backIos' : 'backAndroid'
|
|
|
7
7
|
const cx = Utils.RatioUtils.convertX
|
|
8
8
|
|
|
9
9
|
interface TopBarProps {
|
|
10
|
-
title: string
|
|
11
|
-
onBackPress: () => void
|
|
12
|
-
rightButtonIcon?: any | {}
|
|
13
|
-
rightButtonStyle?: any | undefined
|
|
14
|
-
|
|
10
|
+
title: string
|
|
11
|
+
onBackPress: () => void
|
|
12
|
+
rightButtonIcon?: any | {}
|
|
13
|
+
rightButtonStyle?: any | undefined
|
|
14
|
+
rightButtonDisabled?: boolean
|
|
15
|
+
onRightButtonPress?: (() => void) | undefined
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
const LDVTopBar = (props: TopBarProps) => {
|
|
18
|
-
const icon = typeof props.rightButtonIcon === '
|
|
19
|
+
const icon = typeof props.rightButtonIcon === 'string' ? {uri: props.rightButtonIcon} : props.rightButtonIcon
|
|
19
20
|
return (
|
|
20
21
|
<View
|
|
21
22
|
style={{
|
|
@@ -24,11 +25,19 @@ const LDVTopBar = (props: TopBarProps) => {
|
|
|
24
25
|
alignItems: 'center',
|
|
25
26
|
marginTop: Platform.OS === 'ios' ? Utils.RatioUtils.statusBarHeight : 0,
|
|
26
27
|
}}>
|
|
27
|
-
<TouchableOpacity onPress={props.onBackPress}>
|
|
28
|
-
<View
|
|
28
|
+
<TouchableOpacity onPress={props.onBackPress} style={{flex: 1}}>
|
|
29
|
+
<View
|
|
30
|
+
style={{
|
|
31
|
+
flexDirection: 'row',
|
|
32
|
+
height: cx(46),
|
|
33
|
+
marginHorizontal: cx(20),
|
|
34
|
+
alignItems: 'center',
|
|
35
|
+
flex: 1,
|
|
36
|
+
}}>
|
|
29
37
|
<IconFont size={cx(16)} color={'#f60'} name={backIcon}/>
|
|
30
|
-
<View style={{width: cx(
|
|
38
|
+
<View style={{width: cx(10)}}/>
|
|
31
39
|
<Text
|
|
40
|
+
numberOfLines={1}
|
|
32
41
|
style={{
|
|
33
42
|
maxWidth: cx(290),
|
|
34
43
|
color: '#f60',
|
|
@@ -37,25 +46,23 @@ const LDVTopBar = (props: TopBarProps) => {
|
|
|
37
46
|
}}>{props.title}</Text>
|
|
38
47
|
</View>
|
|
39
48
|
</TouchableOpacity>
|
|
40
|
-
<View style={{flex: 1}}/>
|
|
41
49
|
{!!props.rightButtonIcon &&
|
|
42
50
|
<TouchableOpacity
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
</View>
|
|
51
|
+
style={{
|
|
52
|
+
width: cx(44),
|
|
53
|
+
height: cx(44),
|
|
54
|
+
}}
|
|
55
|
+
onPress={props.onRightButtonPress}
|
|
56
|
+
disabled={props.rightButtonDisabled}>
|
|
57
|
+
<Image
|
|
58
|
+
style={[
|
|
59
|
+
{
|
|
60
|
+
width: cx(44),
|
|
61
|
+
height: cx(44),
|
|
62
|
+
},
|
|
63
|
+
props.rightButtonStyle,
|
|
64
|
+
]}
|
|
65
|
+
source={icon}/>
|
|
59
66
|
</TouchableOpacity>
|
|
60
67
|
}
|
|
61
68
|
<View style={{width: cx(12)}}/>
|
package/src/i18n/strings.d.ts
CHANGED
|
@@ -409,6 +409,12 @@ declare const _default: {
|
|
|
409
409
|
solar_bt_pp_battery_headline: string;
|
|
410
410
|
history_contact_sensor_field2_text: string;
|
|
411
411
|
history_contact_sensor_field2_text2: string;
|
|
412
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
413
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
414
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
415
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
416
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
417
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
412
418
|
};
|
|
413
419
|
cs: {
|
|
414
420
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -820,6 +826,12 @@ declare const _default: {
|
|
|
820
826
|
solar_bt_pp_battery_headline: string;
|
|
821
827
|
history_contact_sensor_field2_text: string;
|
|
822
828
|
history_contact_sensor_field2_text2: string;
|
|
829
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
830
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
831
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
832
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
833
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
834
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
823
835
|
};
|
|
824
836
|
en: {
|
|
825
837
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -1231,6 +1243,12 @@ declare const _default: {
|
|
|
1231
1243
|
solar_bt_pp_battery_headline: string;
|
|
1232
1244
|
history_contact_sensor_field2_text: string;
|
|
1233
1245
|
history_contact_sensor_field2_text2: string;
|
|
1246
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
1247
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
1248
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
1249
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
1250
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
1251
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
1234
1252
|
};
|
|
1235
1253
|
bg: {
|
|
1236
1254
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -1642,6 +1660,12 @@ declare const _default: {
|
|
|
1642
1660
|
solar_bt_pp_battery_headline: string;
|
|
1643
1661
|
history_contact_sensor_field2_text: string;
|
|
1644
1662
|
history_contact_sensor_field2_text2: string;
|
|
1663
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
1664
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
1665
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
1666
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
1667
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
1668
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
1645
1669
|
};
|
|
1646
1670
|
da: {
|
|
1647
1671
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -2053,6 +2077,12 @@ declare const _default: {
|
|
|
2053
2077
|
solar_bt_pp_battery_headline: string;
|
|
2054
2078
|
history_contact_sensor_field2_text: string;
|
|
2055
2079
|
history_contact_sensor_field2_text2: string;
|
|
2080
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
2081
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
2082
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
2083
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
2084
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
2085
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
2056
2086
|
};
|
|
2057
2087
|
de: {
|
|
2058
2088
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -2464,6 +2494,12 @@ declare const _default: {
|
|
|
2464
2494
|
solar_bt_pp_battery_headline: string;
|
|
2465
2495
|
history_contact_sensor_field2_text: string;
|
|
2466
2496
|
history_contact_sensor_field2_text2: string;
|
|
2497
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
2498
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
2499
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
2500
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
2501
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
2502
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
2467
2503
|
};
|
|
2468
2504
|
el: {
|
|
2469
2505
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -2875,6 +2911,12 @@ declare const _default: {
|
|
|
2875
2911
|
solar_bt_pp_battery_headline: string;
|
|
2876
2912
|
history_contact_sensor_field2_text: string;
|
|
2877
2913
|
history_contact_sensor_field2_text2: string;
|
|
2914
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
2915
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
2916
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
2917
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
2918
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
2919
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
2878
2920
|
};
|
|
2879
2921
|
es: {
|
|
2880
2922
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -3286,6 +3328,12 @@ declare const _default: {
|
|
|
3286
3328
|
solar_bt_pp_battery_headline: string;
|
|
3287
3329
|
history_contact_sensor_field2_text: string;
|
|
3288
3330
|
history_contact_sensor_field2_text2: string;
|
|
3331
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
3332
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
3333
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
3334
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
3335
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
3336
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
3289
3337
|
};
|
|
3290
3338
|
et: {
|
|
3291
3339
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -3697,6 +3745,12 @@ declare const _default: {
|
|
|
3697
3745
|
solar_bt_pp_battery_headline: string;
|
|
3698
3746
|
history_contact_sensor_field2_text: string;
|
|
3699
3747
|
history_contact_sensor_field2_text2: string;
|
|
3748
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
3749
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
3750
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
3751
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
3752
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
3753
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
3700
3754
|
};
|
|
3701
3755
|
fi: {
|
|
3702
3756
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -4108,6 +4162,12 @@ declare const _default: {
|
|
|
4108
4162
|
solar_bt_pp_battery_headline: string;
|
|
4109
4163
|
history_contact_sensor_field2_text: string;
|
|
4110
4164
|
history_contact_sensor_field2_text2: string;
|
|
4165
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
4166
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
4167
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
4168
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
4169
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
4170
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
4111
4171
|
};
|
|
4112
4172
|
fr: {
|
|
4113
4173
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -4519,6 +4579,12 @@ declare const _default: {
|
|
|
4519
4579
|
solar_bt_pp_battery_headline: string;
|
|
4520
4580
|
history_contact_sensor_field2_text: string;
|
|
4521
4581
|
history_contact_sensor_field2_text2: string;
|
|
4582
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
4583
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
4584
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
4585
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
4586
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
4587
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
4522
4588
|
};
|
|
4523
4589
|
hr: {
|
|
4524
4590
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -4930,6 +4996,12 @@ declare const _default: {
|
|
|
4930
4996
|
solar_bt_pp_battery_headline: string;
|
|
4931
4997
|
history_contact_sensor_field2_text: string;
|
|
4932
4998
|
history_contact_sensor_field2_text2: string;
|
|
4999
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
5000
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
5001
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
5002
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
5003
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
5004
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
4933
5005
|
};
|
|
4934
5006
|
hu: {
|
|
4935
5007
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -5341,6 +5413,12 @@ declare const _default: {
|
|
|
5341
5413
|
solar_bt_pp_battery_headline: string;
|
|
5342
5414
|
history_contact_sensor_field2_text: string;
|
|
5343
5415
|
history_contact_sensor_field2_text2: string;
|
|
5416
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
5417
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
5418
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
5419
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
5420
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
5421
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
5344
5422
|
};
|
|
5345
5423
|
it: {
|
|
5346
5424
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -5752,6 +5830,12 @@ declare const _default: {
|
|
|
5752
5830
|
solar_bt_pp_battery_headline: string;
|
|
5753
5831
|
history_contact_sensor_field2_text: string;
|
|
5754
5832
|
history_contact_sensor_field2_text2: string;
|
|
5833
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
5834
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
5835
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
5836
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
5837
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
5838
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
5755
5839
|
};
|
|
5756
5840
|
ko: {
|
|
5757
5841
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -6163,6 +6247,12 @@ declare const _default: {
|
|
|
6163
6247
|
solar_bt_pp_battery_headline: string;
|
|
6164
6248
|
history_contact_sensor_field2_text: string;
|
|
6165
6249
|
history_contact_sensor_field2_text2: string;
|
|
6250
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
6251
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
6252
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
6253
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
6254
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
6255
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
6166
6256
|
};
|
|
6167
6257
|
lt: {
|
|
6168
6258
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -6574,6 +6664,12 @@ declare const _default: {
|
|
|
6574
6664
|
solar_bt_pp_battery_headline: string;
|
|
6575
6665
|
history_contact_sensor_field2_text: string;
|
|
6576
6666
|
history_contact_sensor_field2_text2: string;
|
|
6667
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
6668
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
6669
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
6670
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
6671
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
6672
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
6577
6673
|
};
|
|
6578
6674
|
lv: {
|
|
6579
6675
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -6985,6 +7081,12 @@ declare const _default: {
|
|
|
6985
7081
|
solar_bt_pp_battery_headline: string;
|
|
6986
7082
|
history_contact_sensor_field2_text: string;
|
|
6987
7083
|
history_contact_sensor_field2_text2: string;
|
|
7084
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
7085
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
7086
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
7087
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
7088
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
7089
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
6988
7090
|
};
|
|
6989
7091
|
nb: {
|
|
6990
7092
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -7396,6 +7498,12 @@ declare const _default: {
|
|
|
7396
7498
|
solar_bt_pp_battery_headline: string;
|
|
7397
7499
|
history_contact_sensor_field2_text: string;
|
|
7398
7500
|
history_contact_sensor_field2_text2: string;
|
|
7501
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
7502
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
7503
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
7504
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
7505
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
7506
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
7399
7507
|
};
|
|
7400
7508
|
nl: {
|
|
7401
7509
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -7807,6 +7915,12 @@ declare const _default: {
|
|
|
7807
7915
|
solar_bt_pp_battery_headline: string;
|
|
7808
7916
|
history_contact_sensor_field2_text: string;
|
|
7809
7917
|
history_contact_sensor_field2_text2: string;
|
|
7918
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
7919
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
7920
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
7921
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
7922
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
7923
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
7810
7924
|
};
|
|
7811
7925
|
pl: {
|
|
7812
7926
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -8218,6 +8332,12 @@ declare const _default: {
|
|
|
8218
8332
|
solar_bt_pp_battery_headline: string;
|
|
8219
8333
|
history_contact_sensor_field2_text: string;
|
|
8220
8334
|
history_contact_sensor_field2_text2: string;
|
|
8335
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
8336
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
8337
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
8338
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
8339
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
8340
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
8221
8341
|
};
|
|
8222
8342
|
'pt-BR': {
|
|
8223
8343
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -8629,6 +8749,12 @@ declare const _default: {
|
|
|
8629
8749
|
solar_bt_pp_battery_headline: string;
|
|
8630
8750
|
history_contact_sensor_field2_text: string;
|
|
8631
8751
|
history_contact_sensor_field2_text2: string;
|
|
8752
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
8753
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
8754
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
8755
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
8756
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
8757
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
8632
8758
|
};
|
|
8633
8759
|
pt_BR: {
|
|
8634
8760
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -9040,6 +9166,12 @@ declare const _default: {
|
|
|
9040
9166
|
solar_bt_pp_battery_headline: string;
|
|
9041
9167
|
history_contact_sensor_field2_text: string;
|
|
9042
9168
|
history_contact_sensor_field2_text2: string;
|
|
9169
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
9170
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
9171
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
9172
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
9173
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
9174
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
9043
9175
|
};
|
|
9044
9176
|
ro: {
|
|
9045
9177
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -9451,6 +9583,12 @@ declare const _default: {
|
|
|
9451
9583
|
solar_bt_pp_battery_headline: string;
|
|
9452
9584
|
history_contact_sensor_field2_text: string;
|
|
9453
9585
|
history_contact_sensor_field2_text2: string;
|
|
9586
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
9587
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
9588
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
9589
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
9590
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
9591
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
9454
9592
|
};
|
|
9455
9593
|
ru: {
|
|
9456
9594
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -9862,6 +10000,12 @@ declare const _default: {
|
|
|
9862
10000
|
solar_bt_pp_battery_headline: string;
|
|
9863
10001
|
history_contact_sensor_field2_text: string;
|
|
9864
10002
|
history_contact_sensor_field2_text2: string;
|
|
10003
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
10004
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
10005
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
10006
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
10007
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
10008
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
9865
10009
|
};
|
|
9866
10010
|
sk: {
|
|
9867
10011
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -10273,6 +10417,12 @@ declare const _default: {
|
|
|
10273
10417
|
solar_bt_pp_battery_headline: string;
|
|
10274
10418
|
history_contact_sensor_field2_text: string;
|
|
10275
10419
|
history_contact_sensor_field2_text2: string;
|
|
10420
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
10421
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
10422
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
10423
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
10424
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
10425
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
10276
10426
|
};
|
|
10277
10427
|
sv: {
|
|
10278
10428
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -10684,6 +10834,12 @@ declare const _default: {
|
|
|
10684
10834
|
solar_bt_pp_battery_headline: string;
|
|
10685
10835
|
history_contact_sensor_field2_text: string;
|
|
10686
10836
|
history_contact_sensor_field2_text2: string;
|
|
10837
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
10838
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
10839
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
10840
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
10841
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
10842
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
10687
10843
|
};
|
|
10688
10844
|
tr: {
|
|
10689
10845
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -11095,6 +11251,12 @@ declare const _default: {
|
|
|
11095
11251
|
solar_bt_pp_battery_headline: string;
|
|
11096
11252
|
history_contact_sensor_field2_text: string;
|
|
11097
11253
|
history_contact_sensor_field2_text2: string;
|
|
11254
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
11255
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
11256
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
11257
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
11258
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
11259
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
11098
11260
|
};
|
|
11099
11261
|
uk: {
|
|
11100
11262
|
add_new_dynamic_mood_color_changing_mode_value: string;
|
|
@@ -11506,6 +11668,12 @@ declare const _default: {
|
|
|
11506
11668
|
solar_bt_pp_battery_headline: string;
|
|
11507
11669
|
history_contact_sensor_field2_text: string;
|
|
11508
11670
|
history_contact_sensor_field2_text2: string;
|
|
11671
|
+
ceiling_fan_feature_2_light_text_hour_off: string;
|
|
11672
|
+
ceiling_fan_feature_2_light_text_hour_on: string;
|
|
11673
|
+
ceiling_fan_tile_uvc_fan_direction_opt_1: string;
|
|
11674
|
+
ceiling_fan_tile_uvc_fan_direction_opt_2: string;
|
|
11675
|
+
ceiling_fan_tile_uvc_fan_mode_opt_1: string;
|
|
11676
|
+
ceiling_fan_tile_uvc_fan_mode_opt_2: string;
|
|
11509
11677
|
};
|
|
11510
11678
|
};
|
|
11511
11679
|
export default _default;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/res/index.d.ts
CHANGED
package/src/res/index.ts
CHANGED
|
@@ -57,5 +57,9 @@ export default {
|
|
|
57
57
|
rn_image_motion_detected: 'rn_image_motion_detected',
|
|
58
58
|
rn_image_no_motion_detected: 'rn_image_no_motion_detected',
|
|
59
59
|
sensor_status: require('./iconsMaterialOutlinedOtherJoin.png'),
|
|
60
|
-
automation_status: require('./iconsMaterialOutlinedWheatherWbCloudy.png')
|
|
60
|
+
automation_status: require('./iconsMaterialOutlinedWheatherWbCloudy.png'),
|
|
61
|
+
ic_colorize: require('./ic_colorize.png'),
|
|
62
|
+
ic_mood_del: require('./ic_mood_del.png'),
|
|
63
|
+
ic_paint_bucket: require('./ic_paint_bucket.png'),
|
|
64
|
+
ic_text_field_input_error: require('./ic_text_field_input_error.png')
|
|
61
65
|
}
|