@ledvance/group-ui-biz-bundle 1.0.113 → 1.0.114

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 (160) hide show
  1. package/package.json +1 -1
  2. package/src/modules/biorhythm/BiorhythmActions.ts +10 -10
  3. package/src/modules/biorhythm/BiorhythmBean.ts +7 -7
  4. package/src/modules/biorhythm/BiorhythmDetailPage.tsx +3 -4
  5. package/src/modules/biorhythm/BiorhythmPage.tsx +8 -9
  6. package/src/modules/biorhythm/IconSelect.tsx +1 -1
  7. package/src/modules/biorhythm/circular/Progress.tsx +2 -2
  8. package/src/modules/biorhythm/circular/TimeCircular.tsx +4 -4
  9. package/src/modules/biorhythm/iconListData.ts +26 -26
  10. package/src/modules/childLock/ChildLockPage.tsx +1 -1
  11. package/src/modules/diyScene/DiySceneEditorPage.tsx +4 -4
  12. package/src/modules/diyScene/DiyScenePage.tsx +1 -1
  13. package/src/modules/energyConsumption/EnergyConsumptionChart.tsx +6 -6
  14. package/src/modules/energyConsumption/EnergyConsumptionDetail.tsx +4 -4
  15. package/src/modules/energyConsumption/EnergyConsumptionPage.tsx +3 -3
  16. package/src/modules/energyConsumption/component/DateSwitch.tsx +3 -3
  17. package/src/modules/energyConsumption/component/EnergyModal.tsx +2 -2
  18. package/src/modules/energyConsumption/component/Overview.tsx +4 -4
  19. package/src/modules/fixedTimeForPlug/FixedTimeForPlugDetailPage.tsx +3 -3
  20. package/src/modules/fixedTimeForPlug/FixedTimeForPlugPage.tsx +1 -1
  21. package/src/modules/fixedTimeForPlug/Summary.tsx +3 -3
  22. package/src/modules/fixedTimingForLight/FixedTimingForLightDetailPage.tsx +3 -3
  23. package/src/modules/fixedTimingForLight/FixedTimingForLightPage.tsx +1 -1
  24. package/src/modules/fixedTimingForLight/Summary.tsx +3 -3
  25. package/src/modules/flags/FlagEditPage.tsx +3 -3
  26. package/src/modules/flags/FlagPage.tsx +1 -1
  27. package/src/modules/mood/DynamicMoodEditorPage.tsx +3 -3
  28. package/src/modules/mood_new/DynamicMoodEditorPage.tsx +3 -3
  29. package/src/modules/mood_new/MixDynamicMoodEditor.tsx +6 -6
  30. package/src/modules/mood_new/MoodItem.tsx +1 -1
  31. package/src/modules/mood_new/MoodPage.tsx +1 -1
  32. package/src/modules/music/MusicDataBean.ts +1 -1
  33. package/src/modules/music/MusicPage.tsx +2 -2
  34. package/src/modules/randomTimeForPlug/RandomTimeForPlugDetailPage.tsx +2 -2
  35. package/src/modules/randomTimeForPlug/RandomTimeForPlugPage.tsx +1 -1
  36. package/src/modules/randomTimeForPlug/Summary.tsx +3 -3
  37. package/src/modules/randomTimingForLight/RandomTimingForLightDetailPage.tsx +2 -2
  38. package/src/modules/randomTimingForLight/RandomTimingForLightPage.tsx +1 -1
  39. package/src/modules/randomTimingForLight/Summary.tsx +3 -3
  40. package/src/modules/sleepWakeUp/SleepWakeUpPage.tsx +2 -2
  41. package/src/modules/timeSchedule/TimeScheduleActions.ts +6 -28
  42. package/src/modules/timeSchedule/TimeScheduleDetailPage.tsx +2 -2
  43. package/src/modules/timeSchedule/components/Summary.tsx +3 -3
  44. package/src/modules/timer/TimerAction.ts +1 -1
  45. package/src/modules/timer/TimerPage.tsx +3 -3
  46. package/src/modules/biorhythm/circular/biorhythm_plantimer.png +0 -0
  47. package/src/modules/biorhythm/circular/rhythm_icon.png +0 -0
  48. package/src/modules/biorhythm/res/BiologicalRes.d.ts +0 -43
  49. package/src/modules/biorhythm/res/BiologicalRes.ts +0 -42
  50. package/src/modules/biorhythm/res/Biological_Rhythm.png +0 -0
  51. package/src/modules/biorhythm/res/Biological_Rhythm_12.png +0 -0
  52. package/src/modules/biorhythm/res/Biological_Rhythm_new.png +0 -0
  53. package/src/modules/biorhythm/res/Biological_Rhythm_new_12.png +0 -0
  54. package/src/modules/biorhythm/res/iconsMaterialOutlinedAccountGroups.png +0 -0
  55. package/src/modules/biorhythm/res/iconsMaterialOutlinedAccountGroups@2x.png +0 -0
  56. package/src/modules/biorhythm/res/iconsMaterialOutlinedAccountGroups@3x.png +0 -0
  57. package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavAdd.png +0 -0
  58. package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavAdd@2x.png +0 -0
  59. package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavAdd@3x.png +0 -0
  60. package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavArrowForwardIos.png +0 -0
  61. package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavArrowForwardIos@2x.png +0 -0
  62. package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavArrowForwardIos@3x.png +0 -0
  63. package/src/modules/biorhythm/res/iconsMaterialOutlinedBuildingsHome.png +0 -0
  64. package/src/modules/biorhythm/res/iconsMaterialOutlinedBuildingsHome@2x.png +0 -0
  65. package/src/modules/biorhythm/res/iconsMaterialOutlinedBuildingsHome@3x.png +0 -0
  66. package/src/modules/biorhythm/res/iconsMaterialOutlinedEditorFavoriteBorder.png +0 -0
  67. package/src/modules/biorhythm/res/iconsMaterialOutlinedEditorFavoriteBorder@2x.png +0 -0
  68. package/src/modules/biorhythm/res/iconsMaterialOutlinedEditorFavoriteBorder@3x.png +0 -0
  69. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBed.png +0 -0
  70. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBed@2x.png +0 -0
  71. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBed@3x.png +0 -0
  72. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBusinessCenter.png +0 -0
  73. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBusinessCenter@2x.png +0 -0
  74. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBusinessCenter@3x.png +0 -0
  75. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherChair.png +0 -0
  76. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherChair@2x.png +0 -0
  77. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherChair@3x.png +0 -0
  78. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherCoffee.png +0 -0
  79. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherCoffee@2x.png +0 -0
  80. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherCoffee@3x.png +0 -0
  81. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherDirectionsCar.png +0 -0
  82. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherDirectionsCar@2x.png +0 -0
  83. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherDirectionsCar@3x.png +0 -0
  84. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherFitnessCenter.png +0 -0
  85. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherFitnessCenter@2x.png +0 -0
  86. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherFitnessCenter@3x.png +0 -0
  87. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherHeadphones.png +0 -0
  88. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherHeadphones@2x.png +0 -0
  89. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherHeadphones@3x.png +0 -0
  90. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMenuBook.png +0 -0
  91. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMenuBook@2x.png +0 -0
  92. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMenuBook@3x.png +0 -0
  93. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMusicNote.png +0 -0
  94. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMusicNote@2x.png +0 -0
  95. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMusicNote@3x.png +0 -0
  96. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherNotificationsNone.png +0 -0
  97. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherNotificationsNone@2x.png +0 -0
  98. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherNotificationsNone@3x.png +0 -0
  99. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherPottedPlant.png +0 -0
  100. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherPottedPlant@2x.png +0 -0
  101. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherPottedPlant@3x.png +0 -0
  102. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherRestaurant.png +0 -0
  103. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherRestaurant@2x.png +0 -0
  104. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherRestaurant@3x.png +0 -0
  105. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSentimentSatisfied.png +0 -0
  106. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSentimentSatisfied@2x.png +0 -0
  107. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSentimentSatisfied@3x.png +0 -0
  108. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSportsEsports.png +0 -0
  109. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSportsEsports@2x.png +0 -0
  110. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSportsEsports@3x.png +0 -0
  111. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherTv.png +0 -0
  112. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherTv@2x.png +0 -0
  113. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherTv@3x.png +0 -0
  114. package/src/modules/biorhythm/res/iconsMaterialOutlinedTimeAccessAlarm.png +0 -0
  115. package/src/modules/biorhythm/res/iconsMaterialOutlinedTimeAccessAlarm@2x.png +0 -0
  116. package/src/modules/biorhythm/res/iconsMaterialOutlinedTimeAccessAlarm@3x.png +0 -0
  117. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherBedtime.png +0 -0
  118. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherBedtime@2x.png +0 -0
  119. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherBedtime@3x.png +0 -0
  120. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherPartlyCloudyDay.png +0 -0
  121. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherPartlyCloudyDay@2x.png +0 -0
  122. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherPartlyCloudyDay@3x.png +0 -0
  123. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherStarOutline.png +0 -0
  124. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherStarOutline@2x.png +0 -0
  125. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherStarOutline@3x.png +0 -0
  126. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbSunny.png +0 -0
  127. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbSunny@2x.png +0 -0
  128. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbSunny@3x.png +0 -0
  129. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbTwilight.png +0 -0
  130. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbTwilight@2x.png +0 -0
  131. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbTwilight@3x.png +0 -0
  132. package/src/modules/music/res/app_music_ball@2x.png +0 -0
  133. package/src/modules/music/res/app_music_ball@3x.png +0 -0
  134. package/src/modules/music/res/app_music_game@2x.png +0 -0
  135. package/src/modules/music/res/app_music_game@3x.png +0 -0
  136. package/src/modules/music/res/app_music_music@2x.png +0 -0
  137. package/src/modules/music/res/app_music_music@3x.png +0 -0
  138. package/src/modules/music/res/app_music_romantic@2x.png +0 -0
  139. package/src/modules/music/res/app_music_romantic@3x.png +0 -0
  140. package/src/modules/music/res/iconsMaterialOutlinedArrowsNavCheck.png +0 -0
  141. package/src/modules/music/res/iconsMaterialOutlinedArrowsNavCheck@2x.png +0 -0
  142. package/src/modules/music/res/iconsMaterialOutlinedArrowsNavCheck@3x.png +0 -0
  143. package/src/modules/music/res/illustrationsFeaturesMusic-dark.png +0 -0
  144. package/src/modules/music/res/illustrationsFeaturesMusic-dark@2x.png +0 -0
  145. package/src/modules/music/res/illustrationsFeaturesMusic-dark@3x.png +0 -0
  146. package/src/modules/music/res/illustrationsFeaturesMusic.png +0 -0
  147. package/src/modules/music/res/illustrationsFeaturesMusic@2x.png +0 -0
  148. package/src/modules/music/res/illustrationsFeaturesMusic@3x.png +0 -0
  149. package/src/modules/music/res/illustrationsFeaturesMusicDisabled.png +0 -0
  150. package/src/modules/music/res/illustrationsFeaturesMusicDisabled@2x.png +0 -0
  151. package/src/modules/music/res/illustrationsFeaturesMusicDisabled@3x.png +0 -0
  152. package/src/modules/music/res/index.d.ts +0 -10
  153. package/src/modules/music/res/index.ts +0 -10
  154. package/src/res/GroupBizRes.ts +0 -4
  155. package/src/res/materialiconsFilledCancel.png +0 -0
  156. package/src/res/materialiconsFilledCancel@2x.png +0 -0
  157. package/src/res/materialiconsFilledCancel@3x.png +0 -0
  158. package/src/res/materialiconsOutlinedArrowsNavAddBox.png +0 -0
  159. package/src/res/materialiconsOutlinedArrowsNavAddBox@2x.png +0 -0
  160. package/src/res/materialiconsOutlinedArrowsNavAddBox@3x.png +0 -0
@@ -294,7 +294,7 @@ const FlagEditPage = (props: { theme?: ThemeType }) => {
294
294
  }}>
295
295
  <Image
296
296
  style={[styles.adjustButton, { tintColor: state.colorPaintBucketSelected ? props.theme?.icon.primary : props.theme?.icon.normal }]}
297
- source={res.ic_paint_bucket} />
297
+ source={{ uri: res.ic_paint_bucket}} />
298
298
  </TouchableOpacity>
299
299
  <TouchableOpacity
300
300
  onPress={() => {
@@ -302,7 +302,7 @@ const FlagEditPage = (props: { theme?: ThemeType }) => {
302
302
  }}>
303
303
  <Image
304
304
  style={[styles.adjustButton, { tintColor: state.colorPaintBucketSelected ? props.theme?.icon.normal : props.theme?.icon.primary }]}
305
- source={res.ic_colorize} />
305
+ source={{ uri: res.ic_colorize}} />
306
306
  </TouchableOpacity>
307
307
  </View>
308
308
  <FlatList
@@ -336,7 +336,7 @@ const FlagEditPage = (props: { theme?: ThemeType }) => {
336
336
  tintColor: state.mood.colors.length < 3 ? props.theme?.icon.disable : props.theme?.icon.normal,
337
337
  },
338
338
  ]}
339
- source={res.ic_mood_del} />
339
+ source={{ uri: res.ic_mood_del}} />
340
340
  </TouchableOpacity>
341
341
  </View>
342
342
  )
@@ -173,7 +173,7 @@ const FlagPage = (props: { theme?: ThemeType }) => {
173
173
  })
174
174
  }}
175
175
  >
176
- <Image source={res.ic_refresh} style={{width: cx(24), height: cx(24), tintColor: props.theme?.global.fontColor}}/>
176
+ <Image source={{uri: res.ic_refresh}} style={{width: cx(24), height: cx(24), tintColor: props.theme?.global.fontColor}}/>
177
177
  </TouchableOpacity>
178
178
  </View>
179
179
  <FlatList
@@ -233,7 +233,7 @@ const DynamicMoodEditorPage = () => {
233
233
  }}>
234
234
  <Image
235
235
  style={[styles.adjustButton, { tintColor: state.paintBucketSelected ? '#f60' : '#666' }]}
236
- source={res.ic_paint_bucket} />
236
+ source={{ uri: res.ic_paint_bucket}} />
237
237
  </TouchableOpacity>
238
238
  <TouchableOpacity
239
239
  onPress={() => {
@@ -241,7 +241,7 @@ const DynamicMoodEditorPage = () => {
241
241
  }}>
242
242
  <Image
243
243
  style={[styles.adjustButton, { tintColor: state.paintBucketSelected ? '#666' : '#f60' }]}
244
- source={res.ic_colorize} />
244
+ source={{ uri: res.ic_colorize}} />
245
245
  </TouchableOpacity>
246
246
  </View>
247
247
  <FlatList
@@ -274,7 +274,7 @@ const DynamicMoodEditorPage = () => {
274
274
  tintColor: state.mood.nodes.length < 3 ? '#ccc' : '#666',
275
275
  },
276
276
  ]}
277
- source={res.ic_mood_del} />
277
+ source={{ uri: res.ic_mood_del}} />
278
278
  </TouchableOpacity>
279
279
  </View>
280
280
  )
@@ -386,7 +386,7 @@ const DynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
386
386
  styles.adjustButton,
387
387
  { tintColor: state.mainBucketSelected ? props.theme?.icon.primary : props.theme?.icon.normal },
388
388
  ]}
389
- source={res.ic_paint_bucket}
389
+ source={{ uri: res.ic_paint_bucket}}
390
390
  />
391
391
  </TouchableOpacity>
392
392
  <TouchableOpacity
@@ -399,7 +399,7 @@ const DynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
399
399
  styles.adjustButton,
400
400
  { tintColor: state.mainBucketSelected ? props.theme?.icon.normal : props.theme?.icon.primary },
401
401
  ]}
402
- source={res.ic_colorize}
402
+ source={{ uri: res.ic_colorize}}
403
403
  />
404
404
  </TouchableOpacity>
405
405
  </View>
@@ -435,7 +435,7 @@ const DynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
435
435
  tintColor: state.mood.mainLamp.nodes.length < 3 ? props.theme?.icon.disable : props.theme?.icon.normal,
436
436
  },
437
437
  ]}
438
- source={res.ic_mood_del}
438
+ source={{ uri: res.ic_mood_del}}
439
439
  />
440
440
  </TouchableOpacity>
441
441
  </View>
@@ -368,7 +368,7 @@ const MixDynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
368
368
  styles.adjustButton,
369
369
  { tintColor: state.mainBucketSelected ? props.theme?.icon.primary : props.theme?.icon.normal },
370
370
  ]}
371
- source={res.ic_paint_bucket}
371
+ source={{ uri: res.ic_paint_bucket}}
372
372
  />
373
373
  </TouchableOpacity>
374
374
  <TouchableOpacity
@@ -381,7 +381,7 @@ const MixDynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
381
381
  styles.adjustButton,
382
382
  { tintColor: state.mainBucketSelected ? props.theme?.icon.normal : props.theme?.icon.primary },
383
383
  ]}
384
- source={res.ic_colorize}
384
+ source={{ uri: res.ic_colorize}}
385
385
  />
386
386
  </TouchableOpacity>
387
387
  </View>
@@ -418,7 +418,7 @@ const MixDynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
418
418
  tintColor: state.mood.mainLamp.nodes.length < 3 ? props.theme?.icon.disable : props.theme?.icon.normal,
419
419
  },
420
420
  ]}
421
- source={res.ic_mood_del}
421
+ source={{ uri: res.ic_mood_del}}
422
422
  />
423
423
  </TouchableOpacity>
424
424
  </View>
@@ -633,7 +633,7 @@ const MixDynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
633
633
  styles.adjustButton,
634
634
  { tintColor: state.secondaryBucketSelected ? props.theme?.icon.primary : props.theme?.icon.normal },
635
635
  ]}
636
- source={res.ic_paint_bucket}
636
+ source={{ uri: res.ic_paint_bucket}}
637
637
  />
638
638
  </TouchableOpacity>
639
639
  <TouchableOpacity
@@ -646,7 +646,7 @@ const MixDynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
646
646
  styles.adjustButton,
647
647
  { tintColor: state.secondaryBucketSelected ? props.theme?.icon.normal : props.theme?.icon.primary },
648
648
  ]}
649
- source={res.ic_colorize}
649
+ source={{ uri: res.ic_colorize}}
650
650
  />
651
651
  </TouchableOpacity>
652
652
  </View>
@@ -683,7 +683,7 @@ const MixDynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
683
683
  state.mood.secondaryLamp.nodes.length < 3 ? props.theme?.icon.disable : props.theme?.icon.normal,
684
684
  },
685
685
  ]}
686
- source={res.ic_mood_del}
686
+ source={{ uri: res.ic_mood_del}}
687
687
  />
688
688
  </TouchableOpacity>
689
689
  </View>
@@ -156,7 +156,7 @@ export function MixMoodColorsLine(props: { mixSubLight: MoodLampInfo; isMix: boo
156
156
  <>
157
157
  <Spacer height={0} width={cx(7)} />
158
158
  <View style={styles.gradientItemIconView}>
159
- <Image style={styles.gradientItemIcon} source={mixSubLight.enable ? res.light_on : res.light_off} />
159
+ <Image style={styles.gradientItemIcon} source={{uri: mixSubLight.enable ? res.light_on : res.light_off}} />
160
160
  </View>
161
161
  </>
162
162
  )}
@@ -328,7 +328,7 @@ const MoodPage = (props: {theme?: ThemeType}) => {
328
328
  })
329
329
  }}
330
330
  >
331
- <Image source={res.ic_refresh} style={{ width: cx(24), height: cx(24), tintColor: props.theme?.global.fontColor }} />
331
+ <Image source={{uri: res.ic_refresh}} style={{ width: cx(24), height: cx(24), tintColor: props.theme?.global.fontColor }} />
332
332
  </TouchableOpacity>
333
333
  <Spacer height={cx(10)} />
334
334
  {state.originMoods.length >= MAX_MOOD_COUNT && (
@@ -1,5 +1,5 @@
1
1
  import Strings from '@ledvance/base/src/i18n'
2
- import res from './res'
2
+ import res from '@ledvance/base/src/res'
3
3
 
4
4
  export interface AppleMusicColorAreaType {
5
5
  area: number[];
@@ -4,7 +4,7 @@ import {useNavigation} from '@react-navigation/core'
4
4
  import Page from '@ledvance/base/src/components/Page'
5
5
  import {putGroupTYDps, useGroupDp, useUAGroupInfo} from '@ledvance/base/src/models/modules/NativePropsSlice'
6
6
  import I18n from '@ledvance/base/src/i18n'
7
- import Img from './res'
7
+ import res from '@ledvance/base/src/res'
8
8
  import {useDreamMusicData} from './MusicActions'
9
9
  import {useReactive, useUpdateEffect} from 'ahooks'
10
10
  import {musicTabs} from './MusicDataBean'
@@ -153,7 +153,7 @@ const MusicPage = (props: { theme?: ThemeType }) => {
153
153
  <View style={{ alignItems: 'center', marginVertical: cx(38) }}>
154
154
  <Image
155
155
  style={{ width: cx(200), height: cx(204) }}
156
- source={(state.musicData.musicSwitch && workMode === WorkMode.Music) ? (props.theme?.type === 'light' ? Img.app_music_center_on_light : Img.app_music_center_on_dark) : Img.app_music_center_off}
156
+ source={{ uri: (state.musicData.musicSwitch && workMode === WorkMode.Music) ? (props.theme?.type === 'light' ? res.app_music_center_on_light : res.app_music_center_on_dark) : res.app_music_center_off}}
157
157
  resizeMode="contain"
158
158
  />
159
159
  </View>
@@ -202,7 +202,7 @@ const RandomTimeForPlugDetailPage = (props: { theme?: ThemeType }) => {
202
202
  state.item.channel = undefined
203
203
  }}
204
204
  style={{paddingHorizontal: cx(5)}}>
205
- <Image style={{width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor}} source={res.ic_arrows_nav_clear}/>
205
+ <Image style={{width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor}} source={{uri: res.ic_arrows_nav_clear}}/>
206
206
  </TouchableOpacity>}
207
207
  </View>
208
208
  }
@@ -220,7 +220,7 @@ const RandomTimeForPlugDetailPage = (props: { theme?: ThemeType }) => {
220
220
  }}
221
221
  >
222
222
  <Text style={{color: props.theme?.global.fontColor}}>{item}</Text>
223
- <Image style={{width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor}} source={res.device_panel_timer_add}/>
223
+ <Image style={{width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor}} source={{uri: res.device_panel_timer_add}}/>
224
224
  </TouchableOpacity>
225
225
  )
226
226
  })}
@@ -139,7 +139,7 @@ const RandomTimeForPlugPage = (props: { theme?: ThemeType}) => {
139
139
  <Text style={styles.execTip}>{I18n.getLang('timeschedule_overview_description_text')}</Text>
140
140
  <Spacer height={cx(10)}/>
141
141
  {isMaxNum && <View style={{marginHorizontal: cx(24), flexDirection: 'row'}}>
142
- <Image style={styles.maxImg} source={res.ic_warning_amber}/>
142
+ <Image style={styles.maxImg} source={{uri: res.ic_warning_amber}}/>
143
143
  <Text style={styles.maxTip}>{I18n.getLang('fixedtimecycle_warning_max_number_text')}</Text>
144
144
  </View>}
145
145
  <FlatList
@@ -74,7 +74,7 @@ const Summary = (props: SummaryProps) => {
74
74
  <View style={styles.summaryContainer}>
75
75
  <View style={styles.summaryLeft}>
76
76
  <Image
77
- source={res.summary_icon1}
77
+ source={{ uri: res.summary_icon1}}
78
78
  resizeMode="contain"
79
79
  style={styles.summaryImg}
80
80
  />
@@ -91,7 +91,7 @@ const Summary = (props: SummaryProps) => {
91
91
  <View style={styles.summaryContainer}>
92
92
  <View style={styles.summaryLeft}>
93
93
  <Image
94
- source={res.summary_icon2}
94
+ source={{ uri: res.summary_icon2}}
95
95
  resizeMode="contain"
96
96
  style={styles.summaryImg}
97
97
  />
@@ -108,7 +108,7 @@ const Summary = (props: SummaryProps) => {
108
108
  {!props.hideActions && <View style={[styles.summaryContainer, { alignItems: 'flex-start' }]}>
109
109
  <View style={styles.summaryLeft}>
110
110
  <Image
111
- source={res.summary_icon3}
111
+ source={{ uri: res.summary_icon3}}
112
112
  resizeMode="contain"
113
113
  style={styles.summaryImg}
114
114
  />
@@ -231,7 +231,7 @@ const RandomTimingForLightDetailPage = (props: { theme?: ThemeType }) => {
231
231
  state.item.channel = undefined
232
232
  }}
233
233
  style={{paddingHorizontal: cx(5)}}>
234
- <Image style={{width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor}} source={res.ic_arrows_nav_clear}/>
234
+ <Image style={{width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor}} source={{uri: res.ic_arrows_nav_clear}}/>
235
235
  </TouchableOpacity>}
236
236
  </View>
237
237
  }
@@ -249,7 +249,7 @@ const RandomTimingForLightDetailPage = (props: { theme?: ThemeType }) => {
249
249
  }}
250
250
  >
251
251
  <Text style={{color: props.theme?.global.fontColor}}>{item}</Text>
252
- <Image style={{width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor}} source={res.device_panel_timer_add}/>
252
+ <Image style={{width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor}} source={{uri: res.device_panel_timer_add}}/>
253
253
  </TouchableOpacity>
254
254
  )
255
255
  })}
@@ -141,7 +141,7 @@ const RandomTimeForLightPage = (props: { theme?: ThemeType}) => {
141
141
  }}>{I18n.getLang('timeschedule_overview_description_text')}</Text>
142
142
  <Spacer height={cx(10)}/>
143
143
  {isMaxNum && <View style={{marginHorizontal: cx(24), flexDirection: 'row'}}>
144
- <Image style={styles.maxImg} source={res.ic_warning_amber}/>
144
+ <Image style={styles.maxImg} source={{uri: res.ic_warning_amber}}/>
145
145
  <Text style={styles.maxTip}>{I18n.getLang('fixedtimecycle_warning_max_number_text')}</Text>
146
146
  </View>}
147
147
  <FlatList
@@ -74,7 +74,7 @@ const Summary = (props: SummaryProps) => {
74
74
  <View style={styles.summaryContainer}>
75
75
  <View style={styles.summaryLeft}>
76
76
  <Image
77
- source={res.summary_icon1}
77
+ source={{ uri: res.summary_icon1}}
78
78
  resizeMode="contain"
79
79
  style={styles.summaryImg}
80
80
  />
@@ -91,7 +91,7 @@ const Summary = (props: SummaryProps) => {
91
91
  <View style={styles.summaryContainer}>
92
92
  <View style={styles.summaryLeft}>
93
93
  <Image
94
- source={res.summary_icon2}
94
+ source={{ uri: res.summary_icon2}}
95
95
  resizeMode="contain"
96
96
  style={styles.summaryImg}
97
97
  />
@@ -108,7 +108,7 @@ const Summary = (props: SummaryProps) => {
108
108
  {!props.hideActions && <View style={[styles.summaryContainer, { alignItems: 'flex-start' }]}>
109
109
  <View style={styles.summaryLeft}>
110
110
  <Image
111
- source={res.summary_icon3}
111
+ source={{ uri: res.summary_icon3}}
112
112
  resizeMode="contain"
113
113
  style={styles.summaryImg}
114
114
  />
@@ -361,7 +361,7 @@ const SleepWakeUpPage = (props: { theme?: ThemeType }) => {
361
361
  </View>
362
362
  <Spacer />
363
363
  {!!getTipText() && <View style={{ marginHorizontal: cx(24), marginVertical: cx(10), flexDirection: 'row', alignItems: 'center' }}>
364
- <Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.warning }} source={res.ic_warning_amber} />
364
+ <Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.warning }} source={{uri: res.ic_warning_amber}} />
365
365
  {getTipText() === "sleep" && <Text style={{ fontSize: cx(12), color: props.theme?.global.secondFontColor }}>{I18n.getLang('sleepwakeschedule_warning_max_number_sleep_text')}</Text>}
366
366
  {getTipText() === "wakeup" && <Text style={{ fontSize: cx(12), color: props.theme?.global.secondFontColor }}>{I18n.getLang('sleepwakeschedule_warning_max_number_wakeup_text')}</Text>}
367
367
  {getTipText() === "both" && <Text style={{ fontSize: cx(12), color: props.theme?.global.secondFontColor }}>{I18n.getLang('sleepwakeschedule_warning_max_number_both_text')}</Text>}
@@ -437,7 +437,7 @@ const SleepWakeUpPage = (props: { theme?: ThemeType }) => {
437
437
  <Spacer height={cx(70)} />
438
438
  <Image
439
439
  style={styles.emptyImage}
440
- source={res.scheduleEmpty}
440
+ source={{ uri: res.schedule_empty}}
441
441
  resizeMode="contain" />
442
442
  <Spacer height={cx(20)} />
443
443
  <View style={styles.emptyText}>
@@ -1,10 +1,9 @@
1
- import { commonApi } from "@tuya/tuya-panel-api"
2
- import { IAddSingleTime, IQueryTimerTasks, IModifySingleTimer, IModDeleteTaskByIds, UVCFanMode } from "./Interface"
3
- import { flatMapDeep } from "lodash";
4
- import I18n from "@ledvance/base/src/i18n";
5
- import { ColorList } from '@ledvance/base/src/components/StripAdjustView';
6
- import { parseJSON } from "@tuya/tuya-panel-lamp-sdk/lib/utils";
7
- import { AdjustType } from "@ledvance/base/src/utils/interface";
1
+ import {commonApi} from "@tuya/tuya-panel-api"
2
+ import {IAddSingleTime, IModDeleteTaskByIds, IModifySingleTimer, IQueryTimerTasks} from "./Interface"
3
+ import {flatMapDeep} from "lodash";
4
+ import {ColorList} from '@ledvance/base/src/components/StripAdjustView';
5
+ import {parseJSON} from "@tuya/tuya-panel-lamp-sdk/lib/utils";
6
+ import {AdjustType} from "@ledvance/base/src/utils/interface";
8
7
 
9
8
  export const defDeviceData = {
10
9
  h: 0,
@@ -126,24 +125,3 @@ export const modDelTimeSchedule = async (props: IModDeleteTaskByIds) => {
126
125
  }
127
126
  }
128
127
  }
129
-
130
- export const fanModeOption = [
131
- {
132
- label: I18n.getLang('ceiling_fan_mode_info_option_1_headline'),
133
- value: UVCFanMode.Normal,
134
- },
135
- {
136
- label: I18n.getLang('ceiling_fan_mode_info_option_2_headline'),
137
- value: UVCFanMode.Nature,
138
- },
139
- ]
140
-
141
- export const actionOption = {
142
- switchLed: I18n.getLang('light_sources_tile_tw_lighting_headline'),
143
- switchSocket: I18n.getLang('feature_summary_action_component_5'),
144
- switchSocket1: I18n.getLang('feature_summary_action_component_6'),
145
- switchSocket2: I18n.getLang('feature_summary_action_component_7'),
146
- switchSocket3: I18n.getLang('feature_summary_action_component_8'),
147
- switchSocket4: I18n.getLang('feature_summary_action_component_9'),
148
- switchFan: I18n.getLang('add_new_dynamic_mood_ceiling_fan_field_headline'),
149
- }
@@ -409,7 +409,7 @@ const TimeScheduleDetailPage = (props: { theme?: ThemeType }) => {
409
409
  >
410
410
  <Image
411
411
  style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }}
412
- source={res.ic_arrows_nav_clear}
412
+ source={{ uri: res.ic_arrows_nav_clear}}
413
413
  />
414
414
  </TouchableOpacity>
415
415
  )}
@@ -430,7 +430,7 @@ const TimeScheduleDetailPage = (props: { theme?: ThemeType }) => {
430
430
  <Text style={{ color: props.theme?.global.fontColor }}>{item.key}</Text>
431
431
  <Image
432
432
  style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }}
433
- source={res.device_panel_timer_add}
433
+ source={{ uri: res.device_panel_timer_add}}
434
434
  />
435
435
  </TouchableOpacity>
436
436
  );
@@ -75,7 +75,7 @@ const Summary = (props: SummaryProps) => {
75
75
  <View style={styles.summaryContainer}>
76
76
  <View style={styles.summaryLeft}>
77
77
  <Image
78
- source={res.summary_icon1}
78
+ source={{ uri: res.summary_icon1}}
79
79
  resizeMode="contain"
80
80
  style={styles.summaryImg}
81
81
  />
@@ -92,7 +92,7 @@ const Summary = (props: SummaryProps) => {
92
92
  <View style={styles.summaryContainer}>
93
93
  <View style={styles.summaryLeft}>
94
94
  <Image
95
- source={res.summary_icon2}
95
+ source={{ uri: res.summary_icon2}}
96
96
  resizeMode="contain"
97
97
  style={styles.summaryImg}
98
98
  />
@@ -109,7 +109,7 @@ const Summary = (props: SummaryProps) => {
109
109
  {!props.hideActions && <View style={[styles.summaryContainer, { alignItems: 'flex-start' }]}>
110
110
  <View style={styles.summaryLeft}>
111
111
  <Image
112
- source={res.summary_icon3}
112
+ source={{ uri: res.summary_icon3}}
113
113
  resizeMode="contain"
114
114
  style={styles.summaryImg}
115
115
  />
@@ -87,7 +87,7 @@ export function useTimerTasks(timerSettableDps: TimerSettableDp[], devIdGroup: s
87
87
 
88
88
  const tasks = defTasks.map(defTask => {
89
89
  const findTask = remoteTasks.find(remoteTask => remoteTask.dp.code === defTask.dp.code)
90
- return findTask ? { ...findTask, dp: defTask.dp } : defTask
90
+ return findTask ? { ...findTask, dp: defTask.dp, name: defTask.name } : defTask
91
91
  })
92
92
 
93
93
  const state = useReactive({ tasks: tasks })
@@ -11,7 +11,7 @@ import DeleteButton from '@ledvance/base/src/components/DeleteButton'
11
11
  import {TaskStatus, timeFormat, timeFormatToRealTime, TimerPageParams, TimerTask, useTimerTasks} from './TimerAction'
12
12
  import {cloneDeep, groupBy} from 'lodash'
13
13
  import {useParams} from '@ledvance/base/src/hooks/Hooks'
14
- import GroupBizRes from '../../res/GroupBizRes'
14
+ import res from '@ledvance/base/src/res'
15
15
  import dayjs from 'dayjs'
16
16
  import Card from '@ledvance/base/src/components/Card'
17
17
  import TextButton from '@ledvance/base/src/components/TextButton'
@@ -201,7 +201,7 @@ const TimerPage = (props: { theme?: ThemeType }) => {
201
201
  item.status = TaskStatus.NoSelected
202
202
  changeTimerTasks([cloneDeep(item)])
203
203
  }}>
204
- <Image style={styles.taskItemIcon} source={GroupBizRes.ic_arrows_nav_clear}/>
204
+ <Image style={styles.taskItemIcon} source={{uri: res.ic_arrows_nav_clear}}/>
205
205
  </TouchableOpacity>}
206
206
  </View>
207
207
  )
@@ -226,7 +226,7 @@ const TimerPage = (props: { theme?: ThemeType }) => {
226
226
  }}>
227
227
  <Spacer width={cx(8)}/>
228
228
  <Text style={styles.noSelectTaskText}>{item.name}</Text>
229
- <Image style={styles.taskItemIcon} source={GroupBizRes.device_panel_timer_add}/>
229
+ <Image style={styles.taskItemIcon} source={{uri: res.device_panel_timer_add}}/>
230
230
  </TouchableOpacity>
231
231
  )
232
232
  }}
@@ -1,43 +0,0 @@
1
- declare const _default: {
2
- ic_warning_amber_sun: any;
3
- ic_warning_amber_sun_12: any;
4
- ic_warning_amber_new: any;
5
- ic_warning_amber_new_12: any;
6
- biorhythom_add: any;
7
- biorhythom_select_rightIcon: any;
8
- biorhythom_Icon1: any;
9
- biorhythom_Icon2: any;
10
- biorhythom_Icon3: any;
11
- biorhythom_Icon4: any;
12
- biorhythom_Icon5: any;
13
- biorhythom_Icon6: any;
14
- biorhythom_Icon7: any;
15
- biorhythom_Icon8: any;
16
- biorhythom_Icon9: any;
17
- biorhythom_Icon10: any;
18
- biorhythom_Icon11: any;
19
- biorhythom_Icon12: any;
20
- biorhythom_Icon13: any;
21
- biorhythom_Icon14: any;
22
- biorhythom_Icon15: any;
23
- biorhythom_Icon16: any;
24
- biorhythom_Icon17: any;
25
- biorhythom_Icon18: any;
26
- biorhythom_Icon19: any;
27
- biorhythom_Icon20: any;
28
- biorhythom_Icon21: any;
29
- biorhythom_Icon22: any;
30
- biorhythom_Icon23: any;
31
- biorhythom_Icon24: any;
32
- rhythm_icon1: string;
33
- rhythm_icon1_1: any;
34
- rhythm_icon2: string;
35
- rhythm_icon2_1: any;
36
- rhythm_icon3: string;
37
- rhythm_icon3_1: any;
38
- rhythm_icon4: string;
39
- rhythm_icon4_1: any;
40
- rhythm_icon12_1: any;
41
- rhythm_icon12: string;
42
- };
43
- export default _default;
@@ -1,42 +0,0 @@
1
- export default {
2
- ic_warning_amber_sun: require('./Biological_Rhythm.png'),
3
- ic_warning_amber_sun_12: require('./Biological_Rhythm_12.png'),
4
- ic_warning_amber_new: require('./Biological_Rhythm_new.png'),
5
- ic_warning_amber_new_12: require('./Biological_Rhythm_new_12.png'),
6
- biorhythom_add: require('./iconsMaterialOutlinedArrowsNavAdd.png'),
7
- biorhythom_select_rightIcon: require('./iconsMaterialOutlinedArrowsNavArrowForwardIos.png'),
8
- biorhythom_Icon1: require('./iconsMaterialOutlinedWheatherWbTwilight.png'),
9
- biorhythom_Icon2: require('./iconsMaterialOutlinedWheatherWbSunny.png'),
10
- biorhythom_Icon3: require('./iconsMaterialOutlinedWheatherBedtime.png'),
11
- biorhythom_Icon4: require('./iconsMaterialOutlinedWheatherPartlyCloudyDay.png'),
12
- biorhythom_Icon5: require('./iconsMaterialOutlinedTimeAccessAlarm.png'),
13
- biorhythom_Icon6: require('./iconsMaterialOutlinedOtherNotificationsNone.png'),
14
- biorhythom_Icon7: require('./iconsMaterialOutlinedBuildingsHome.png'),
15
- biorhythom_Icon8: require('./iconsMaterialOutlinedOtherBed.png'),
16
- biorhythom_Icon9: require('./iconsMaterialOutlinedOtherChair.png'),
17
- biorhythom_Icon10: require('./iconsMaterialOutlinedOtherDirectionsCar.png'),
18
- biorhythom_Icon11: require('./iconsMaterialOutlinedOtherBusinessCenter.png'),
19
- biorhythom_Icon12: require('./iconsMaterialOutlinedAccountGroups.png'),
20
- biorhythom_Icon13: require('./iconsMaterialOutlinedOtherMenuBook.png'),
21
- biorhythom_Icon14: require('./iconsMaterialOutlinedOtherHeadphones.png'),
22
- biorhythom_Icon15: require('./iconsMaterialOutlinedOtherMusicNote.png'),
23
- biorhythom_Icon16: require('./iconsMaterialOutlinedOtherFitnessCenter.png'),
24
- biorhythom_Icon17: require('./iconsMaterialOutlinedOtherSportsEsports.png'),
25
- biorhythom_Icon18: require('./iconsMaterialOutlinedOtherTv.png'),
26
- biorhythom_Icon19: require('./iconsMaterialOutlinedOtherRestaurant.png'),
27
- biorhythom_Icon20: require('./iconsMaterialOutlinedOtherCoffee.png'),
28
- biorhythom_Icon21: require('./iconsMaterialOutlinedWheatherStarOutline.png'),
29
- biorhythom_Icon22: require('./iconsMaterialOutlinedEditorFavoriteBorder.png'),
30
- biorhythom_Icon23: require('./iconsMaterialOutlinedOtherSentimentSatisfied.png'),
31
- biorhythom_Icon24: require('./iconsMaterialOutlinedOtherPottedPlant.png'),
32
- rhythm_icon1: 'rhythm_icon1',
33
- rhythm_icon1_1: require('./iconsMaterialOutlinedWheatherWbTwilight.png'),
34
- rhythm_icon2: 'rhythm_icon2',
35
- rhythm_icon2_1: require('./iconsMaterialOutlinedWheatherWbSunny.png'),
36
- rhythm_icon3: 'rhythm_icon3',
37
- rhythm_icon3_1: require('./iconsMaterialOutlinedOtherChair.png'),
38
- rhythm_icon4: 'rhythm_icon4',
39
- rhythm_icon4_1: require('./iconsMaterialOutlinedWheatherBedtime.png'),
40
- rhythm_icon12_1: require('./iconsMaterialOutlinedTimeAccessAlarm.png'),
41
- rhythm_icon12: 'rhythm_icon12',
42
- }