@ledvance/ui-biz-bundle 1.1.38 → 1.1.39

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 CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/ui-biz-bundle",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.1.38",
7
+ "version": "1.1.39",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -59,7 +59,7 @@ const TimeScheduleEditPage = () => {
59
59
  isManual: true,
60
60
  singleActions: {
61
61
  enable: true, // colorLightSwitch
62
- whiteLightSwitch: false,
62
+ whiteLightSwitch: true,
63
63
  isColor: true,
64
64
  h: 0,
65
65
  s: 100,
@@ -114,6 +114,7 @@ const TimeScheduleEditPage = () => {
114
114
  }
115
115
  state.isManual = lightData.isManual
116
116
  state.actionScene = lightData.actionScene
117
+
117
118
  return
118
119
  }
119
120
 
@@ -629,11 +630,11 @@ const TimeScheduleEditPage = () => {
629
630
  style={styles.leftTitle}>{I18n.getLang('motion_detection_add_time_schedule_actions_text1')}</Text>
630
631
  </View>
631
632
  </View>
632
- <View style={{marginLeft: cx(16)}}>
633
+ <View style={{marginLeft: cx(16), flex: 1}}>
633
634
  {!!state.selectedSkill.length && <>
634
635
  {(!!state.selectedSkill.filter(skill => skill.enable).length) && <>
635
636
  <Text style={{ marginLeft: cx(5) }}>{I18n.getLang('feature_summary_action_txt_1')}</Text>
636
- <View style={{ flexDirection: 'row' }}>{
637
+ <View style={{ flexDirection: 'row',flexWrap: 'wrap' }}>{
637
638
  state.selectedSkill.filter(skill => skill.enable).map(item => (
638
639
  <View style={[styles.summaryRight, { marginLeft: cx(5), marginBottom: cx(5) }]}
639
640
  key={item.dpId}>
@@ -646,7 +647,7 @@ const TimeScheduleEditPage = () => {
646
647
 
647
648
  {(!!state.selectedSkill.filter(skill => !skill.enable).length) && <>
648
649
  <Text style={{ marginLeft: cx(5) }}>{I18n.getLang('feature_summary_action_txt_2')}</Text>
649
- <View style={{ flexDirection: 'row' }}>{
650
+ <View style={{ flexDirection: 'row', flexWrap: 'wrap' }}>{
650
651
  state.selectedSkill.filter(skill => !skill.enable).map(item => (
651
652
  <View style={[styles.summaryRight, { marginLeft: cx(5), marginBottom: cx(5) }]}
652
653
  key={item.dpId}>
@@ -71,7 +71,7 @@ const TimeSchedulePage = () => {
71
71
 
72
72
  const [, setTimeSchedule] = useTimeSchedule()
73
73
 
74
- useEffect(() => {
74
+ useEffect(() => {
75
75
  getTimerScheduleList().then()
76
76
  }, [])
77
77
 
@@ -238,7 +238,7 @@ const TimeSchedulePage = () => {
238
238
  <Text>{I18n.getLang('motion_detection_time_schedule_notifications_warning_text')}</Text>
239
239
  </View>}
240
240
  {showTags() && <View style={styles.categoryList}>
241
- {Object.keys(state.filterTags).map(tag => {
241
+ {(props.isCeilingLight ? [...Object.keys(state.filterTags)].reverse() : Object.keys(state.filterTags)).map(tag => {
242
242
  return <Tag
243
243
  key={tag}
244
244
  text={getLabelByDp(tag)}