@ledvance/ui-biz-bundle 1.1.123 → 1.1.124

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 (280) hide show
  1. package/package.json +1 -1
  2. package/src/modules/flags/FlagEditPage.tsx +3 -3
  3. package/src/modules/flags/FlagPage.tsx +1 -1
  4. package/src/modules/history/HistoryPage.tsx +13 -3
  5. package/src/modules/mood/DynamicMoodEditorPage.tsx +5 -5
  6. package/src/modules/mood/FantasyMoodEditPage.tsx +3 -3
  7. package/src/modules/mood/MixMood/MixMoodEditPage.tsx +6 -6
  8. package/src/modules/mood/MixMood/MixMoodItem.tsx +2 -2
  9. package/src/modules/music/MusicDataBean.ts +4 -4
  10. package/src/modules/music/MusicPage.tsx +2 -2
  11. package/src/modules/timeSchedule/DeviceState.tsx +2 -2
  12. package/src/modules/timeSchedule/TimeScheduleEditpage.tsx +11 -11
  13. package/src/modules/timeSchedule/TimeSchedulePage.tsx +1 -1
  14. package/src/modules/timer/TimerPage.tsx +3 -3
  15. package/src/newModules/biorhythm/BiorhythmActions.ts +11 -11
  16. package/src/newModules/biorhythm/BiorhythmBean.ts +6 -6
  17. package/src/newModules/biorhythm/BiorhythmEditPage.tsx +3 -4
  18. package/src/newModules/biorhythm/BiorhythmPage.tsx +8 -9
  19. package/src/newModules/biorhythm/IconSelect.tsx +1 -1
  20. package/src/newModules/biorhythm/circular/ItemIcon.tsx +1 -1
  21. package/src/newModules/biorhythm/circular/Progress.tsx +2 -2
  22. package/src/newModules/biorhythm/circular/TimeCircular.tsx +4 -4
  23. package/src/newModules/biorhythm/iconListData.ts +26 -26
  24. package/src/newModules/childLock/ChildLockPage.tsx +1 -1
  25. package/src/newModules/diyScene/DiySceneEditorPage.tsx +4 -4
  26. package/src/newModules/diyScene/DiyScenePage.tsx +1 -1
  27. package/src/newModules/energyConsumption/EnergyConsumptionChart.tsx +2 -2
  28. package/src/newModules/energyConsumption/EnergyConsumptionDetail.tsx +3 -3
  29. package/src/newModules/energyConsumption/EnergyConsumptionPage.tsx +4 -4
  30. package/src/newModules/energyConsumption/component/DateSwitch.tsx +4 -4
  31. package/src/newModules/energyConsumption/component/EnergyModal.tsx +2 -2
  32. package/src/newModules/energyConsumption/component/Overview.tsx +4 -4
  33. package/src/newModules/fixedTime/FixedTimeDetailPage.tsx +3 -3
  34. package/src/newModules/mood/DynamicMoodEditorPage.tsx +3 -3
  35. package/src/newModules/mood/MixDynamicMoodEditor.tsx +6 -6
  36. package/src/newModules/mood/MoodItem.tsx +1 -1
  37. package/src/newModules/mood/MoodPage.tsx +1 -1
  38. package/src/newModules/randomTime/RandomTimeDetailPage.tsx +2 -2
  39. package/src/newModules/sleepWakeUp/SleepWakeUpPage.tsx +15 -15
  40. package/src/newModules/timeSchedule/TimeScheduleDetailPage.tsx +2 -2
  41. package/src/modules/biorhythm/BiorhythmActions.d.ts +0 -8
  42. package/src/modules/biorhythm/BiorhythmActions.ts +0 -324
  43. package/src/modules/biorhythm/BiorhythmBean.d.ts +0 -58
  44. package/src/modules/biorhythm/BiorhythmBean.ts +0 -230
  45. package/src/modules/biorhythm/BiorhythmEditPage.d.ts +0 -14
  46. package/src/modules/biorhythm/BiorhythmEditPage.tsx +0 -324
  47. package/src/modules/biorhythm/BiorhythmPage.d.ts +0 -10
  48. package/src/modules/biorhythm/BiorhythmPage.tsx +0 -796
  49. package/src/modules/biorhythm/IconSelect.d.ts +0 -2
  50. package/src/modules/biorhythm/IconSelect.tsx +0 -82
  51. package/src/modules/biorhythm/Router.ts +0 -34
  52. package/src/modules/biorhythm/circular/ItemIcon.d.ts +0 -22
  53. package/src/modules/biorhythm/circular/ItemIcon.tsx +0 -173
  54. package/src/modules/biorhythm/circular/Progress.d.ts +0 -24
  55. package/src/modules/biorhythm/circular/Progress.tsx +0 -412
  56. package/src/modules/biorhythm/circular/TimeCircular.d.ts +0 -11
  57. package/src/modules/biorhythm/circular/TimeCircular.tsx +0 -70
  58. package/src/modules/biorhythm/circular/biorhythm_plantimer.png +0 -0
  59. package/src/modules/biorhythm/circular/rhythm_icon.png +0 -0
  60. package/src/modules/biorhythm/iconListData.d.ts +0 -7
  61. package/src/modules/biorhythm/iconListData.ts +0 -30
  62. package/src/modules/biorhythm/pIdList.d.ts +0 -2
  63. package/src/modules/biorhythm/pIdList.ts +0 -36
  64. package/src/modules/biorhythm/res/BiologicalRes.d.ts +0 -43
  65. package/src/modules/biorhythm/res/BiologicalRes.ts +0 -42
  66. package/src/modules/biorhythm/res/Biological_Rhythm.png +0 -0
  67. package/src/modules/biorhythm/res/Biological_Rhythm_12.png +0 -0
  68. package/src/modules/biorhythm/res/Biological_Rhythm_new.png +0 -0
  69. package/src/modules/biorhythm/res/Biological_Rhythm_new_12.png +0 -0
  70. package/src/modules/biorhythm/res/iconsMaterialOutlinedAccountGroups.png +0 -0
  71. package/src/modules/biorhythm/res/iconsMaterialOutlinedAccountGroups@2x.png +0 -0
  72. package/src/modules/biorhythm/res/iconsMaterialOutlinedAccountGroups@3x.png +0 -0
  73. package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavAdd.png +0 -0
  74. package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavAdd@2x.png +0 -0
  75. package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavAdd@3x.png +0 -0
  76. package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavArrowForwardIos.png +0 -0
  77. package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavArrowForwardIos@2x.png +0 -0
  78. package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavArrowForwardIos@3x.png +0 -0
  79. package/src/modules/biorhythm/res/iconsMaterialOutlinedBuildingsHome.png +0 -0
  80. package/src/modules/biorhythm/res/iconsMaterialOutlinedBuildingsHome@2x.png +0 -0
  81. package/src/modules/biorhythm/res/iconsMaterialOutlinedBuildingsHome@3x.png +0 -0
  82. package/src/modules/biorhythm/res/iconsMaterialOutlinedEditorFavoriteBorder.png +0 -0
  83. package/src/modules/biorhythm/res/iconsMaterialOutlinedEditorFavoriteBorder@2x.png +0 -0
  84. package/src/modules/biorhythm/res/iconsMaterialOutlinedEditorFavoriteBorder@3x.png +0 -0
  85. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBed.png +0 -0
  86. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBed@2x.png +0 -0
  87. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBed@3x.png +0 -0
  88. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBusinessCenter.png +0 -0
  89. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBusinessCenter@2x.png +0 -0
  90. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBusinessCenter@3x.png +0 -0
  91. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherChair.png +0 -0
  92. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherChair@2x.png +0 -0
  93. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherChair@3x.png +0 -0
  94. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherCoffee.png +0 -0
  95. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherCoffee@2x.png +0 -0
  96. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherCoffee@3x.png +0 -0
  97. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherDirectionsCar.png +0 -0
  98. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherDirectionsCar@2x.png +0 -0
  99. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherDirectionsCar@3x.png +0 -0
  100. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherFitnessCenter.png +0 -0
  101. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherFitnessCenter@2x.png +0 -0
  102. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherFitnessCenter@3x.png +0 -0
  103. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherHeadphones.png +0 -0
  104. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherHeadphones@2x.png +0 -0
  105. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherHeadphones@3x.png +0 -0
  106. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMenuBook.png +0 -0
  107. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMenuBook@2x.png +0 -0
  108. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMenuBook@3x.png +0 -0
  109. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMusicNote.png +0 -0
  110. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMusicNote@2x.png +0 -0
  111. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMusicNote@3x.png +0 -0
  112. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherNotificationsNone.png +0 -0
  113. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherNotificationsNone@2x.png +0 -0
  114. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherNotificationsNone@3x.png +0 -0
  115. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherPottedPlant.png +0 -0
  116. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherPottedPlant@2x.png +0 -0
  117. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherPottedPlant@3x.png +0 -0
  118. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherRestaurant.png +0 -0
  119. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherRestaurant@2x.png +0 -0
  120. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherRestaurant@3x.png +0 -0
  121. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSentimentSatisfied.png +0 -0
  122. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSentimentSatisfied@2x.png +0 -0
  123. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSentimentSatisfied@3x.png +0 -0
  124. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSportsEsports.png +0 -0
  125. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSportsEsports@2x.png +0 -0
  126. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSportsEsports@3x.png +0 -0
  127. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherTv.png +0 -0
  128. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherTv@2x.png +0 -0
  129. package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherTv@3x.png +0 -0
  130. package/src/modules/biorhythm/res/iconsMaterialOutlinedTimeAccessAlarm.png +0 -0
  131. package/src/modules/biorhythm/res/iconsMaterialOutlinedTimeAccessAlarm@2x.png +0 -0
  132. package/src/modules/biorhythm/res/iconsMaterialOutlinedTimeAccessAlarm@3x.png +0 -0
  133. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherBedtime.png +0 -0
  134. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherBedtime@2x.png +0 -0
  135. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherBedtime@3x.png +0 -0
  136. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherPartlyCloudyDay.png +0 -0
  137. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherPartlyCloudyDay@2x.png +0 -0
  138. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherPartlyCloudyDay@3x.png +0 -0
  139. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherStarOutline.png +0 -0
  140. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherStarOutline@2x.png +0 -0
  141. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherStarOutline@3x.png +0 -0
  142. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbSunny.png +0 -0
  143. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbSunny@2x.png +0 -0
  144. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbSunny@3x.png +0 -0
  145. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbTwilight.png +0 -0
  146. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbTwilight@2x.png +0 -0
  147. package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbTwilight@3x.png +0 -0
  148. package/src/modules/fixedTime/FixedTimeActions.ts +0 -173
  149. package/src/modules/fixedTime/FixedTimeDetailPage.tsx +0 -373
  150. package/src/modules/fixedTime/FixedTimePage.tsx +0 -214
  151. package/src/modules/fixedTime/Router.ts +0 -26
  152. package/src/modules/music/res/app_music_ball@2x.png +0 -0
  153. package/src/modules/music/res/app_music_ball@3x.png +0 -0
  154. package/src/modules/music/res/app_music_game@2x.png +0 -0
  155. package/src/modules/music/res/app_music_game@3x.png +0 -0
  156. package/src/modules/music/res/app_music_music@2x.png +0 -0
  157. package/src/modules/music/res/app_music_music@3x.png +0 -0
  158. package/src/modules/music/res/app_music_romantic@2x.png +0 -0
  159. package/src/modules/music/res/app_music_romantic@3x.png +0 -0
  160. package/src/modules/music/res/iconsMaterialOutlinedArrowsNavCheck.png +0 -0
  161. package/src/modules/music/res/iconsMaterialOutlinedArrowsNavCheck@2x.png +0 -0
  162. package/src/modules/music/res/iconsMaterialOutlinedArrowsNavCheck@3x.png +0 -0
  163. package/src/modules/music/res/illustrationsFeaturesMusic-dark.png +0 -0
  164. package/src/modules/music/res/illustrationsFeaturesMusic-dark@2x.png +0 -0
  165. package/src/modules/music/res/illustrationsFeaturesMusic-dark@3x.png +0 -0
  166. package/src/modules/music/res/illustrationsFeaturesMusic.png +0 -0
  167. package/src/modules/music/res/illustrationsFeaturesMusic@2x.png +0 -0
  168. package/src/modules/music/res/illustrationsFeaturesMusic@3x.png +0 -0
  169. package/src/modules/music/res/illustrationsFeaturesMusicDisabled.png +0 -0
  170. package/src/modules/music/res/illustrationsFeaturesMusicDisabled@2x.png +0 -0
  171. package/src/modules/music/res/illustrationsFeaturesMusicDisabled@3x.png +0 -0
  172. package/src/modules/music/res/index.d.ts +0 -10
  173. package/src/modules/music/res/index.ts +0 -10
  174. package/src/modules/powerOnBehavior/PowerOnBehaviorActions.ts +0 -12
  175. package/src/modules/powerOnBehavior/PowerOnBehaviorPage.tsx +0 -173
  176. package/src/modules/powerOnBehavior/Router.ts +0 -16
  177. package/src/modules/randomTime/RandomTimeActions.ts +0 -160
  178. package/src/modules/randomTime/RandomTimeDetailPage.tsx +0 -338
  179. package/src/modules/randomTime/RandomTimePage.tsx +0 -215
  180. package/src/modules/randomTime/Router.ts +0 -25
  181. package/src/modules/randomTime/Summary.tsx +0 -123
  182. package/src/modules/sleepWakeup/DeviceState.d.ts +0 -9
  183. package/src/modules/sleepWakeup/DeviceState.tsx +0 -100
  184. package/src/modules/sleepWakeup/LdvScheduleItem.d.ts +0 -15
  185. package/src/modules/sleepWakeup/LdvScheduleItem.tsx +0 -176
  186. package/src/modules/sleepWakeup/Router.ts +0 -25
  187. package/src/modules/sleepWakeup/SleepWakeUpActions.d.ts +0 -2
  188. package/src/modules/sleepWakeup/SleepWakeUpActions.ts +0 -180
  189. package/src/modules/sleepWakeup/SleepWakeUpDetailPage.d.ts +0 -2
  190. package/src/modules/sleepWakeup/SleepWakeUpDetailPage.tsx +0 -617
  191. package/src/modules/sleepWakeup/SleepWakeUpPage.d.ts +0 -13
  192. package/src/modules/sleepWakeup/SleepWakeUpPage.tsx +0 -425
  193. package/src/modules/sleepWakeup/utils.d.ts +0 -44
  194. package/src/modules/sleepWakeup/utils.ts +0 -254
  195. package/src/newModules/biorhythm/circular/biorhythm_plantimer.png +0 -0
  196. package/src/newModules/biorhythm/circular/rhythm_icon.png +0 -0
  197. package/src/newModules/biorhythm/res/BiologicalRes.d.ts +0 -43
  198. package/src/newModules/biorhythm/res/BiologicalRes.ts +0 -42
  199. package/src/newModules/biorhythm/res/Biological_Rhythm.png +0 -0
  200. package/src/newModules/biorhythm/res/Biological_Rhythm_12.png +0 -0
  201. package/src/newModules/biorhythm/res/Biological_Rhythm_new.png +0 -0
  202. package/src/newModules/biorhythm/res/Biological_Rhythm_new_12.png +0 -0
  203. package/src/newModules/biorhythm/res/iconsMaterialOutlinedAccountGroups.png +0 -0
  204. package/src/newModules/biorhythm/res/iconsMaterialOutlinedAccountGroups@2x.png +0 -0
  205. package/src/newModules/biorhythm/res/iconsMaterialOutlinedAccountGroups@3x.png +0 -0
  206. package/src/newModules/biorhythm/res/iconsMaterialOutlinedArrowsNavAdd.png +0 -0
  207. package/src/newModules/biorhythm/res/iconsMaterialOutlinedArrowsNavAdd@2x.png +0 -0
  208. package/src/newModules/biorhythm/res/iconsMaterialOutlinedArrowsNavAdd@3x.png +0 -0
  209. package/src/newModules/biorhythm/res/iconsMaterialOutlinedArrowsNavArrowForwardIos.png +0 -0
  210. package/src/newModules/biorhythm/res/iconsMaterialOutlinedArrowsNavArrowForwardIos@2x.png +0 -0
  211. package/src/newModules/biorhythm/res/iconsMaterialOutlinedArrowsNavArrowForwardIos@3x.png +0 -0
  212. package/src/newModules/biorhythm/res/iconsMaterialOutlinedBuildingsHome.png +0 -0
  213. package/src/newModules/biorhythm/res/iconsMaterialOutlinedBuildingsHome@2x.png +0 -0
  214. package/src/newModules/biorhythm/res/iconsMaterialOutlinedBuildingsHome@3x.png +0 -0
  215. package/src/newModules/biorhythm/res/iconsMaterialOutlinedEditorFavoriteBorder.png +0 -0
  216. package/src/newModules/biorhythm/res/iconsMaterialOutlinedEditorFavoriteBorder@2x.png +0 -0
  217. package/src/newModules/biorhythm/res/iconsMaterialOutlinedEditorFavoriteBorder@3x.png +0 -0
  218. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherBed.png +0 -0
  219. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherBed@2x.png +0 -0
  220. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherBed@3x.png +0 -0
  221. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherBusinessCenter.png +0 -0
  222. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherBusinessCenter@2x.png +0 -0
  223. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherBusinessCenter@3x.png +0 -0
  224. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherChair.png +0 -0
  225. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherChair@2x.png +0 -0
  226. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherChair@3x.png +0 -0
  227. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherCoffee.png +0 -0
  228. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherCoffee@2x.png +0 -0
  229. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherCoffee@3x.png +0 -0
  230. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherDirectionsCar.png +0 -0
  231. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherDirectionsCar@2x.png +0 -0
  232. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherDirectionsCar@3x.png +0 -0
  233. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherFitnessCenter.png +0 -0
  234. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherFitnessCenter@2x.png +0 -0
  235. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherFitnessCenter@3x.png +0 -0
  236. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherHeadphones.png +0 -0
  237. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherHeadphones@2x.png +0 -0
  238. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherHeadphones@3x.png +0 -0
  239. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherMenuBook.png +0 -0
  240. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherMenuBook@2x.png +0 -0
  241. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherMenuBook@3x.png +0 -0
  242. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherMusicNote.png +0 -0
  243. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherMusicNote@2x.png +0 -0
  244. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherMusicNote@3x.png +0 -0
  245. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherNotificationsNone.png +0 -0
  246. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherNotificationsNone@2x.png +0 -0
  247. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherNotificationsNone@3x.png +0 -0
  248. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherPottedPlant.png +0 -0
  249. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherPottedPlant@2x.png +0 -0
  250. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherPottedPlant@3x.png +0 -0
  251. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherRestaurant.png +0 -0
  252. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherRestaurant@2x.png +0 -0
  253. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherRestaurant@3x.png +0 -0
  254. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherSentimentSatisfied.png +0 -0
  255. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherSentimentSatisfied@2x.png +0 -0
  256. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherSentimentSatisfied@3x.png +0 -0
  257. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherSportsEsports.png +0 -0
  258. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherSportsEsports@2x.png +0 -0
  259. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherSportsEsports@3x.png +0 -0
  260. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherTv.png +0 -0
  261. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherTv@2x.png +0 -0
  262. package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherTv@3x.png +0 -0
  263. package/src/newModules/biorhythm/res/iconsMaterialOutlinedTimeAccessAlarm.png +0 -0
  264. package/src/newModules/biorhythm/res/iconsMaterialOutlinedTimeAccessAlarm@2x.png +0 -0
  265. package/src/newModules/biorhythm/res/iconsMaterialOutlinedTimeAccessAlarm@3x.png +0 -0
  266. package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherBedtime.png +0 -0
  267. package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherBedtime@2x.png +0 -0
  268. package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherBedtime@3x.png +0 -0
  269. package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherPartlyCloudyDay.png +0 -0
  270. package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherPartlyCloudyDay@2x.png +0 -0
  271. package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherPartlyCloudyDay@3x.png +0 -0
  272. package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherStarOutline.png +0 -0
  273. package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherStarOutline@2x.png +0 -0
  274. package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherStarOutline@3x.png +0 -0
  275. package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherWbSunny.png +0 -0
  276. package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherWbSunny@2x.png +0 -0
  277. package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherWbSunny@3x.png +0 -0
  278. package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherWbTwilight.png +0 -0
  279. package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherWbTwilight@2x.png +0 -0
  280. package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherWbTwilight@3x.png +0 -0
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.123",
7
+ "version": "1.1.124",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -290,7 +290,7 @@ const FlagEditPage = (props: { theme?: ThemeType }) => {
290
290
  }}>
291
291
  <Image
292
292
  style={[styles.adjustButton, { tintColor: state.colorPaintBucketSelected ? props.theme?.icon.primary : props.theme?.icon.normal }]}
293
- source={res.ic_paint_bucket} />
293
+ source={{uri: res.ic_paint_bucket}} />
294
294
  </TouchableOpacity>
295
295
  <TouchableOpacity
296
296
  onPress={() => {
@@ -298,7 +298,7 @@ const FlagEditPage = (props: { theme?: ThemeType }) => {
298
298
  }}>
299
299
  <Image
300
300
  style={[styles.adjustButton, { tintColor: state.colorPaintBucketSelected ? props.theme?.icon.normal : props.theme?.icon.primary }]}
301
- source={res.ic_colorize} />
301
+ source={{uri: res.ic_colorize}} />
302
302
  </TouchableOpacity>
303
303
  </View>
304
304
  <FlatList
@@ -332,7 +332,7 @@ const FlagEditPage = (props: { theme?: ThemeType }) => {
332
332
  tintColor: state.mood.colors.length < 3 ? props.theme?.icon.disable : props.theme?.icon.normal,
333
333
  },
334
334
  ]}
335
- source={res.ic_mood_del} />
335
+ source={{uri: res.ic_mood_del}} />
336
336
  </TouchableOpacity>
337
337
  </View>
338
338
  )
@@ -219,7 +219,7 @@ const FlagPage = (props: { theme?: ThemeType }) => {
219
219
  })
220
220
  }}
221
221
  >
222
- <Image source={res.ic_refresh} style={{ width: cx(24), height: cx(24), tintColor: props.theme?.global.fontColor }} />
222
+ <Image source={{ uri: res.ic_refresh}} style={{ width: cx(24), height: cx(24), tintColor: props.theme?.global.fontColor }} />
223
223
  </TouchableOpacity>
224
224
  </View>
225
225
  <FlatList
@@ -10,7 +10,7 @@ import { FlatList, Image, StyleSheet, Text, View } from 'react-native'
10
10
  import Spacer from '@ledvance/base/src/components/Spacer'
11
11
  import { isEmpty } from 'lodash'
12
12
  import Tag from "@ledvance/base/src/components/Tag"
13
- import { exportHistoryFile } from '@ledvance/base/src/utils/common'
13
+ import {exportCsvFile } from '@ledvance/base/src/utils/common'
14
14
  import { useParams } from '@ledvance/base/src/hooks/Hooks'
15
15
  import ThemeType from '@ledvance/base/src/config/themeType'
16
16
 
@@ -82,7 +82,17 @@ const SwitchHistoryPage = (props: { theme?: ThemeType }) => {
82
82
  }, [state.onRefresh, state.filterTags])
83
83
 
84
84
  const downFile = () => {
85
- exportHistoryFile(state.data)
85
+ const headers = [I18n.getLang('date'), 'Time', 'Status', I18n.getLang('manual_search_button_socket')]
86
+ const values = state.data.reduce((acc, item) => {
87
+ const actions = item.actions.map(action => {
88
+ const name = tags ? tags[action.dpId] : action.dpId
89
+ return [action.date, action.time, action.action, name]
90
+ });
91
+ return acc.concat(actions);
92
+ }, [] as string[][]);
93
+
94
+ const functionName = 'history'
95
+ exportCsvFile(headers, values, functionName)
86
96
  }
87
97
 
88
98
  const styles = StyleSheet.create({
@@ -211,7 +221,7 @@ const SwitchHistoryPage = (props: { theme?: ThemeType }) => {
211
221
  source={{ uri: res.ldv_timer_empty }} />
212
222
  <Spacer height={cx(14)} />
213
223
  <View style={{ flexDirection: 'row', alignItems: 'center' }}>
214
- <Image style={styles.listEmptyTextIcon} source={res.ic_info} />
224
+ <Image style={styles.listEmptyTextIcon} source={{ uri: res.ic_info}} />
215
225
  <Spacer width={cx(4)} height={0} />
216
226
  <Text style={styles.listEmptyText}>{I18n.getLang('history_overview_empty_information_text')}</Text>
217
227
  </View>
@@ -135,7 +135,7 @@ const DynamicMoodEditorPage = () => {
135
135
  )
136
136
  console.log('设置修改后的场景结果', setSceneRes)
137
137
  }
138
-
138
+
139
139
  } else {
140
140
  await setWorkMode(moduleParams.isOnlyRGBLamp ? COLOUR : WHITE)
141
141
  console.log('Mood被清空,将work_mode设置成white')
@@ -245,7 +245,7 @@ const DynamicMoodEditorPage = () => {
245
245
  }}>
246
246
  <Image
247
247
  style={[styles.adjustButton, {tintColor: state.paintBucketSelected ? '#f60' : '#666'}]}
248
- source={res.ic_paint_bucket}/>
248
+ source={{uri: res.ic_paint_bucket}}/>
249
249
  </TouchableOpacity>
250
250
  <TouchableOpacity
251
251
  onPress={() => {
@@ -253,7 +253,7 @@ const DynamicMoodEditorPage = () => {
253
253
  }}>
254
254
  <Image
255
255
  style={[styles.adjustButton, {tintColor: state.paintBucketSelected ? '#666' : '#f60'}]}
256
- source={res.ic_colorize}/>
256
+ source={{uri: res.ic_colorize}}/>
257
257
  </TouchableOpacity>
258
258
  </View>
259
259
  <FlatList
@@ -286,7 +286,7 @@ const DynamicMoodEditorPage = () => {
286
286
  tintColor: state.mood.nodes.length < 3 ? '#ccc' : '#666',
287
287
  },
288
288
  ]}
289
- source={res.ic_mood_del}/>
289
+ source={{uri: res.ic_mood_del}}/>
290
290
  </TouchableOpacity>
291
291
  </View>
292
292
  )
@@ -559,4 +559,4 @@ export function createSelectPageData(transitionMode: SceneNodeTransitionMode, mo
559
559
  selected: transitionMode === mode,
560
560
  value: mode,
561
561
  }
562
- }
562
+ }
@@ -320,7 +320,7 @@ const FantasyMoodEditPage = () => {
320
320
  }}>
321
321
  <Image
322
322
  style={[styles.adjustButton, { tintColor: state.paintBucketSelected ? '#f60' : '#666' }]}
323
- source={res.ic_paint_bucket} />
323
+ source={{uri: res.ic_paint_bucket}} />
324
324
  </TouchableOpacity>
325
325
  <TouchableOpacity
326
326
  onPress={() => {
@@ -328,7 +328,7 @@ const FantasyMoodEditPage = () => {
328
328
  }}>
329
329
  <Image
330
330
  style={[styles.adjustButton, { tintColor: state.paintBucketSelected ? '#666' : '#f60' }]}
331
- source={res.ic_colorize} />
331
+ source={{uri: res.ic_colorize}} />
332
332
  </TouchableOpacity>
333
333
  </View>
334
334
  <FlatList
@@ -361,7 +361,7 @@ const FantasyMoodEditPage = () => {
361
361
  tintColor: state.mood.nodes.length < 3 ? '#ccc' : '#666',
362
362
  },
363
363
  ]}
364
- source={res.ic_mood_del} />
364
+ source={{uri: res.ic_mood_del}} />
365
365
  </TouchableOpacity>
366
366
  </View>
367
367
  )
@@ -261,7 +261,7 @@ const RgbcMoodEditPage = () => {
261
261
  }}>
262
262
  <Image
263
263
  style={[styles.adjustButton, { tintColor: state.paintWhiteBucketSelected ? '#f60' : '#666' }]}
264
- source={res.ic_paint_bucket} />
264
+ source={{uri: res.ic_paint_bucket}} />
265
265
  </TouchableOpacity>
266
266
  <TouchableOpacity
267
267
  onPress={() => {
@@ -269,7 +269,7 @@ const RgbcMoodEditPage = () => {
269
269
  }}>
270
270
  <Image
271
271
  style={[styles.adjustButton, { tintColor: state.paintWhiteBucketSelected ? '#666' : '#f60' }]}
272
- source={res.ic_colorize} />
272
+ source={{uri: res.ic_colorize}} />
273
273
  </TouchableOpacity>
274
274
  </View>
275
275
  <FlatList
@@ -302,7 +302,7 @@ const RgbcMoodEditPage = () => {
302
302
  tintColor: state.mainLamp.nodes.length < 3 ? '#ccc' : '#666',
303
303
  },
304
304
  ]}
305
- source={res.ic_mood_del} />
305
+ source={{uri: res.ic_mood_del}} />
306
306
  </TouchableOpacity>
307
307
  </View>
308
308
  )
@@ -457,7 +457,7 @@ const RgbcMoodEditPage = () => {
457
457
  }}>
458
458
  <Image
459
459
  style={[styles.adjustButton, { tintColor: state.paintBucketSelected ? '#f60' : '#666' }]}
460
- source={res.ic_paint_bucket} />
460
+ source={{uri: res.ic_paint_bucket}} />
461
461
  </TouchableOpacity>
462
462
  <TouchableOpacity
463
463
  onPress={() => {
@@ -465,7 +465,7 @@ const RgbcMoodEditPage = () => {
465
465
  }}>
466
466
  <Image
467
467
  style={[styles.adjustButton, { tintColor: state.paintBucketSelected ? '#666' : '#f60' }]}
468
- source={res.ic_colorize} />
468
+ source={{uri: res.ic_colorize}} />
469
469
  </TouchableOpacity>
470
470
  </View>
471
471
  <FlatList
@@ -498,7 +498,7 @@ const RgbcMoodEditPage = () => {
498
498
  tintColor: state.secondlyLamp.nodes.length < 3 ? '#ccc' : '#666',
499
499
  },
500
500
  ]}
501
- source={res.ic_mood_del} />
501
+ source={{ uri: res.ic_mood_del}} />
502
502
  </TouchableOpacity>
503
503
  </View>
504
504
  )
@@ -26,7 +26,7 @@ const MixMoodItem = (props: MixMoodItemProps) => {
26
26
  const isStaticMood = useMemo(() => {
27
27
  return mixMood.secondlyLamp.nodes?.length === 0
28
28
  }, [mixMood])
29
-
29
+
30
30
  return (
31
31
  <Card style={[styles.card, props.style]} onPress={props.onPress}>
32
32
  <View>
@@ -73,7 +73,7 @@ export function MixMoodColorsLine(props: { mixSubLight: MixMainLampInfo, colorLi
73
73
  colors={lightColors} />
74
74
  <Spacer height={0} width={cx(7)} />
75
75
  <View style={styles.gradientItemIconView}>
76
- <Image style={styles.gradientItemIcon} source={res.light_on} />
76
+ <Image style={styles.gradientItemIcon} source={{ uri: res.light_on}} />
77
77
  </View>
78
78
  <Spacer height={0} width={cx(16)} />
79
79
  </View>
@@ -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[];
@@ -110,9 +110,9 @@ export const musicDefalutDatasource = [
110
110
  ]
111
111
 
112
112
  export type DreamMusicDataType = {
113
- id: number
114
- mode: number
115
- title: string
113
+ id: number
114
+ mode: number
115
+ title: string
116
116
  value: string
117
117
  }
118
118
 
@@ -4,7 +4,7 @@ import { useRoute, useNavigation } from '@react-navigation/core'
4
4
  import Page from '@ledvance/base/src/components/Page'
5
5
  import { useDeviceId, useDeviceInfo, useDps } from '@ledvance/base/src/models/modules/NativePropsSlice'
6
6
  import Strings from '@ledvance/base/src/i18n'
7
- import Img from './res'
7
+ import res from '@ledvance/base/src/res'
8
8
  import { useEnable, useWorkMode, useMixRgbcw, useMixScene, useMusicData, useDreamMusic, DreamLightMicMusicData, getRemoteDreamMusic, DreamLightMicMusicUIState, saveRemoteDreamMusic } from './MusicPageActions'
9
9
  import { useReactive, useUpdateEffect } from 'ahooks'
10
10
  import { NativeApi } from '@ledvance/base/src/api/native'
@@ -311,7 +311,7 @@ const MusicPage = (props: { theme?: ThemeType }) => {
311
311
  <View style={{ alignItems: 'center', marginVertical: cx(38) }}>
312
312
  <Image
313
313
  style={{ width: cx(200), height: cx(204) }}
314
- source={state.musicEnable ? (props.theme?.type === 'light' ? Img.app_music_center_on_light : Img.app_music_center_on_dark) : Img.app_music_center_off}
314
+ source={{ uri: state.musicEnable ? (props.theme?.type === 'light' ? res.app_music_center_on_light : res.app_music_center_on_dark) : res.app_music_center_off}}
315
315
  resizeMode="contain"
316
316
  />
317
317
  </View>
@@ -65,7 +65,7 @@ const DeviceState = (props: DeviceStateProps) => {
65
65
  {
66
66
  showErrorText() ?
67
67
  <View style={{ flexDirection: 'row', marginTop: cx(10) }}>
68
- <Image style={{ width: cx(16), height: cx(16), tintColor: '#FF9500' }} source={res.ic_warning_amber}/>
68
+ <Image style={{ width: cx(16), height: cx(16), tintColor: '#FF9500' }} source={{uri: res.ic_warning_amber}}/>
69
69
  <Text style={{
70
70
  color: '#FF9500',
71
71
  marginLeft: cx(5),
@@ -92,4 +92,4 @@ const DeviceState = (props: DeviceStateProps) => {
92
92
  )
93
93
  }
94
94
 
95
- export default DeviceState
95
+ export default DeviceState
@@ -114,7 +114,7 @@ const TimeScheduleEditPage = () => {
114
114
  }
115
115
  state.isManual = lightData.isManual
116
116
  state.actionScene = lightData.actionScene
117
-
117
+
118
118
  return
119
119
  }
120
120
 
@@ -184,7 +184,7 @@ const TimeScheduleEditPage = () => {
184
184
  const manualCheck = () => {
185
185
  return state.isManual && state.selectedSkill.length
186
186
  }
187
-
187
+
188
188
  // 只支持风扇灯跟普通灯
189
189
  const sceneCheck = () => {
190
190
  if(props.isCeilingLight){
@@ -192,7 +192,7 @@ const TimeScheduleEditPage = () => {
192
192
  }
193
193
  return !state.isManual && state.skillList.length === 0 && state.actionScene && (state?.actionScene?.nodes || state?.actionScene?.value)
194
194
  }
195
-
195
+
196
196
  const saveEnable = () => {
197
197
  return !state.loading
198
198
  && state.name.length && state.name.length <= 32
@@ -425,7 +425,7 @@ const TimeScheduleEditPage = () => {
425
425
  {item.label}
426
426
  </Text>
427
427
  {showClearIcon() && <TouchableOpacity onPress={() => handelSkill('lower', item)}>
428
- <Image style={{ width: cx(16), height: cx(16), marginRight: cx(5) }} source={res.ic_arrows_nav_clear}/>
428
+ <Image style={{ width: cx(16), height: cx(16), marginRight: cx(5) }} source={{uri: res.ic_arrows_nav_clear}}/>
429
429
  </TouchableOpacity>}
430
430
  </View>
431
431
  )
@@ -528,7 +528,7 @@ const TimeScheduleEditPage = () => {
528
528
  <TouchableOpacity style={styles.skillListItem} key={item.dpId + 'skill'}
529
529
  onPress={() => handelSkill('add', item)}>
530
530
  <Text style={{ color: '#000' }}>{item.label}</Text>
531
- <Image style={{ width: cx(16), height: cx(16) }} source={res.device_panel_timer_add}/>
531
+ <Image style={{ width: cx(16), height: cx(16) }} source={{uri: res.device_panel_timer_add}}/>
532
532
  </TouchableOpacity>
533
533
  )
534
534
  })}
@@ -564,12 +564,12 @@ const TimeScheduleEditPage = () => {
564
564
  isSupportTemperature={props.isSupportTemperature}
565
565
  isSupportMood={props.isSupportMood}
566
566
  isStringLight={props.isStringLight}
567
- isStripLight={props.isStripLight}
567
+ isStripLight={props.isStripLight}
568
568
  fantasyFeatureId={props.fantasyFeatureId}
569
569
  isCeilingLight={props.isCeilingLight}
570
570
  />
571
571
  {!hasSelected() && <View style={{ flexDirection: 'row', alignItems: 'center' }}>
572
- <Image style={{ width: cx(16), height: cx(16), tintColor: '#FF9500' }} source={res.ic_warning_amber}/>
572
+ <Image style={{ width: cx(16), height: cx(16), tintColor: '#FF9500' }} source={{uri: res.ic_warning_amber}}/>
573
573
  <Text style={{
574
574
  color: '#FF9500',
575
575
  marginLeft: cx(5),
@@ -591,7 +591,7 @@ const TimeScheduleEditPage = () => {
591
591
  <View style={styles.summaryContainer}>
592
592
  <View style={styles.summaryLeft}>
593
593
  <Image
594
- source={res.summary_icon1}
594
+ source={{uri: res.summary_icon1}}
595
595
  resizeMode="contain"
596
596
  style={styles.summaryImg}
597
597
  />
@@ -606,7 +606,7 @@ const TimeScheduleEditPage = () => {
606
606
  <View style={styles.summaryContainer}>
607
607
  <View style={styles.summaryLeft}>
608
608
  <Image
609
- source={res.summary_icon2}
609
+ source={{uri: res.summary_icon2}}
610
610
  resizeMode="contain"
611
611
  style={styles.summaryImg}
612
612
  />
@@ -621,7 +621,7 @@ const TimeScheduleEditPage = () => {
621
621
  <View style={[styles.summaryContainer, { alignItems: 'flex-start' }]}>
622
622
  <View style={styles.summaryLeft}>
623
623
  <Image
624
- source={res.summary_icon3}
624
+ source={{uri: res.summary_icon3}}
625
625
  resizeMode="contain"
626
626
  style={styles.summaryImg}
627
627
  />
@@ -763,4 +763,4 @@ const styles = StyleSheet.create({
763
763
  },
764
764
  })
765
765
 
766
- export default TimeScheduleEditPage
766
+ export default TimeScheduleEditPage
@@ -234,7 +234,7 @@ const TimeSchedulePage = () => {
234
234
  }}>{I18n.getLang('timeschedule_overview_description_text')}</Text>
235
235
  <Spacer height={cx(10)}/>
236
236
  {showMaxNumTip() && <View style={{marginHorizontal: cx(24), flexDirection: 'row', alignItems: 'center'}}>
237
- <Image style={{ width: cx(16), height: cx(16), tintColor: '#ff9500' }} source={res.ic_warning_amber} />
237
+ <Image style={{ width: cx(16), height: cx(16), tintColor: '#ff9500' }} source={{uri: res.ic_warning_amber}} />
238
238
  <Text>{I18n.getLang('motion_detection_time_schedule_notifications_warning_text')}</Text>
239
239
  </View>}
240
240
  {showTags() && <View style={styles.categoryList}>
@@ -1,5 +1,5 @@
1
1
  import React, { useCallback, useEffect } from "react";
2
- import { View, Text, ScrollView, TouchableOpacity, StyleSheet, FlatList, Image } from "react-native"
2
+ import { View, Text, ScrollView, TouchableOpacity, StyleSheet, Image } from "react-native"
3
3
  import { useNavigation } from '@react-navigation/native'
4
4
  import { RouteProp, useRoute } from '@react-navigation/core'
5
5
  import { useReactive, useUpdateEffect } from "ahooks";
@@ -153,7 +153,7 @@ const TimerPage = (props: {theme?: ThemeType}) => {
153
153
  {item.label}
154
154
  </Text>
155
155
  {progress.length > 1 && <TouchableOpacity onPress={() => handelTimer(item, false)}>
156
- <Image style={{ width: cx(16), height: cx(16), marginRight: cx(5), tintColor: props.theme?.global.fontColor, }} source={res.ic_arrows_nav_clear} />
156
+ <Image style={{ width: cx(16), height: cx(16), marginRight: cx(5), tintColor: props.theme?.global.fontColor, }} source={{ uri: res.ic_arrows_nav_clear}} />
157
157
  </TouchableOpacity>}
158
158
  </View>
159
159
  );
@@ -261,7 +261,7 @@ const TimerPage = (props: {theme?: ThemeType}) => {
261
261
  return (
262
262
  <TouchableOpacity style={styles.skillListItem} key={skill.dpId} onPress={() => handelTimer(skill, true)}>
263
263
  <Text style={{ color: props.theme?.global.fontColor }}>{skill.label}</Text>
264
- <Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }} source={res.device_panel_timer_add} />
264
+ <Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }} source={{uri: res.device_panel_timer_add}} />
265
265
  </TouchableOpacity>
266
266
  )
267
267
  })}
@@ -16,7 +16,7 @@ import { useDeviceId, useDp } from '@ledvance/base/src/models/modules/NativeProp
16
16
  import { getFeature, NativeApi, putFeature } from '@ledvance/base/src/api/native'
17
17
  import { hex2Int, spliceByStep } from '@ledvance/base/src/utils/common'
18
18
  import I18n from '@ledvance/base/src/i18n'
19
- import BiologicalRes from './res/BiologicalRes'
19
+ import res from '@ledvance/base/src/res'
20
20
  import dayjs from 'dayjs'
21
21
  import { to16 } from '@tuya/tuya-panel-lamp-sdk/lib/utils'
22
22
  import { useUpdateEffect } from 'ahooks'
@@ -146,7 +146,7 @@ export const useRhythmSuspend = (dp: string): [boolean, () => void, (v: string |
146
146
  }
147
147
  const res = await putSuspendTime(time)
148
148
  setSuspendTime(time)
149
- return res
149
+ return res
150
150
  }, [suspendTime, biorhythm.enable])
151
151
 
152
152
  return [suspendTime === currentTime, getSuspendTime, setRhythSuspend]
@@ -268,47 +268,47 @@ function getNodeIconByIndex(index: number): NodeIcon {
268
268
  switch (index) {
269
269
  case 0:
270
270
  return {
271
- icon: BiologicalRes.rhythm_icon1,
271
+ icon: res.rhythm_icon1,
272
272
  iconId: 1
273
273
  }
274
274
  case 1:
275
275
  return {
276
- icon: BiologicalRes.rhythm_icon2,
276
+ icon: res.rhythm_icon2,
277
277
  iconId: 2
278
278
  }
279
279
  case 2:
280
280
  return {
281
- icon: BiologicalRes.rhythm_icon3,
281
+ icon: res.rhythm_icon3,
282
282
  iconId: 9
283
283
  }
284
284
  case 3:
285
285
  return {
286
- icon: BiologicalRes.rhythm_icon4,
286
+ icon: res.rhythm_icon4,
287
287
  iconId: 3
288
288
  }
289
289
  case 4:
290
290
  return {
291
- icon: BiologicalRes.rhythm_icon12,
291
+ icon: res.rhythm_icon12,
292
292
  iconId: 5
293
293
  }
294
294
  case 5:
295
295
  return {
296
- icon: BiologicalRes.rhythm_icon1,
296
+ icon: res.rhythm_icon1,
297
297
  iconId: 1
298
298
  }
299
299
  case 6:
300
300
  return {
301
- icon: BiologicalRes.rhythm_icon2,
301
+ icon: res.rhythm_icon2,
302
302
  iconId: 2
303
303
  }
304
304
  case 7:
305
305
  return {
306
- icon: BiologicalRes.rhythm_icon3,
306
+ icon: res.rhythm_icon3,
307
307
  iconId: 9
308
308
  }
309
309
  default:
310
310
  return {
311
- icon: BiologicalRes.rhythm_icon1,
311
+ icon: res.rhythm_icon1,
312
312
  iconId: 1
313
313
  }
314
314
  }
@@ -1,5 +1,5 @@
1
1
  import I18n from '@ledvance/base/src/i18n'
2
- import BiologicalRes from './res/BiologicalRes'
2
+ import res from '@ledvance/base/src/res'
3
3
 
4
4
  export enum BiorhythmGradientType {
5
5
  // 全程渐变
@@ -58,11 +58,11 @@ export function colorTempPercent(colorTemp: number): number {
58
58
  }
59
59
 
60
60
  export function getDefBiorhythmUIState(): BiorhythmBean {
61
- const icon1 = BiologicalRes.biorhythom_Icon1
62
- const icon12 = BiologicalRes.biorhythom_Icon3
63
- const icon2 = BiologicalRes.biorhythom_Icon5
64
- const icon3 = BiologicalRes.biorhythom_Icon2
65
- const icon4 = BiologicalRes.biorhythom_Icon9
61
+ const icon1 = res.biorhythom_Icon1
62
+ const icon12 = res.biorhythom_Icon3
63
+ const icon2 = res.biorhythom_Icon5
64
+ const icon3 = res.biorhythom_Icon2
65
+ const icon4 = res.biorhythom_Icon9
66
66
  return {
67
67
  enable: false, // 生物节律默认为关
68
68
  repeatPeriod: getDefRepeatPeriod(),
@@ -7,7 +7,6 @@ import { colorTemperatureValue, Plan } from './BiorhythmBean'
7
7
  import iconList from './iconListData'
8
8
  import I18n from '@ledvance/base/src/i18n'
9
9
  import TextField from '@ledvance/base/src/components/TextField'
10
- import BiologicalRes from './res/BiologicalRes'
11
10
  import { cctToColor } from '@ledvance/base/src/utils/cctUtils'
12
11
  import ColorTempAdjustView from '@ledvance/base/src/components/ColorTempAdjustView'
13
12
  import DeleteButton from '@ledvance/base/src/components/DeleteButton'
@@ -166,7 +165,7 @@ const BiorhythmEditPage = (props: { theme?: ThemeType }) => {
166
165
  }}
167
166
  />
168
167
  {minimumTipEnable() && <View style={{ flexDirection: 'row', marginVertical: cx(5) }}>
169
- <Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }} source={res.ic_info} />
168
+ <Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }} source={{ uri: res.ic_info }} />
170
169
  <Text
171
170
  style={{ color: props.theme?.global.fontColor, fontSize: cx(12) }}>{I18n.getLang('add_new_trigger_time_information_text')}</Text>
172
171
  </View>}
@@ -191,9 +190,9 @@ const BiorhythmEditPage = (props: { theme?: ThemeType }) => {
191
190
  style={{ flex: 1, flexDirection: 'row', justifyContent: 'flex-end', alignContent: 'center', alignItems: 'center' }}>
192
191
  <Image
193
192
  style={{ width: cx(24), height: cx(24), tintColor: props.theme?.global.fontColor }}
194
- source={setImg()}
193
+ source={{ uri: setImg()}}
195
194
  />
196
- <Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }} source={BiologicalRes.biorhythom_select_rightIcon} />
195
+ <Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }} source={{ uri: res.biorhythom_select_right_icon}} />
197
196
  </View>
198
197
  </TouchableOpacity>
199
198
  </View>
@@ -20,7 +20,6 @@ import {
20
20
  import I18n from '@ledvance/base/src/i18n'
21
21
  import res from '@ledvance/base/src/res'
22
22
  import { ui_biz_routerKey } from "../../navigation/Routers";
23
- import BiologicalRes from './res/BiologicalRes'
24
23
  import { cctToColor } from '@ledvance/base/src/utils/cctUtils'
25
24
  import { setDataSource } from '@ledvance/base/src/components/weekSelect'
26
25
  import { BiorhythmEditPageParams } from './BiorhythmEditPage'
@@ -164,19 +163,19 @@ const BiorhythmPage = (props: { theme?: ThemeType }) => {
164
163
  switch (img) {
165
164
  case 'rhythm_icon1':
166
165
  case '31':
167
- return { icon: BiologicalRes.biorhythom_Icon1, iconId: 1 }
166
+ return { icon: res.biorhythom_icon1, iconId: 1 }
168
167
  case 'rhythm_icon2':
169
168
  case '33':
170
- return { icon: BiologicalRes.biorhythom_Icon5, iconId: 5 }
169
+ return { icon: res.biorhythom_icon5, iconId: 5 }
171
170
  case 'rhythm_icon3':
172
171
  case '35':
173
- return { icon: BiologicalRes.biorhythom_Icon2, iconId: 2 }
172
+ return { icon: res.biorhythom_icon2, iconId: 2 }
174
173
  case 'rhythm_icon4':
175
174
  case '32':
176
- return { icon: BiologicalRes.biorhythom_Icon9, iconId: 9 }
175
+ return { icon: res.biorhythom_icon9, iconId: 9 }
177
176
  case 'rhythm_icon12':
178
177
  case '39':
179
- return { icon: BiologicalRes.biorhythom_Icon3, iconId: 3 }
178
+ return { icon: res.biorhythom_icon3, iconId: 3 }
180
179
  default:
181
180
  return { icon: item?.icon, iconId: item?.id }
182
181
  }
@@ -415,7 +414,7 @@ const BiorhythmPage = (props: { theme?: ThemeType }) => {
415
414
  }}>
416
415
  {state.planList.length === 8 && <View
417
416
  style={{ marginVertical: cx(10), flexDirection: 'row', alignItems: 'center', width: width - cx(48) }}>
418
- <Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.warning }} source={res.ic_warning_amber} />
417
+ <Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.warning }} source={{uri: res.ic_warning_amber}} />
419
418
  <Text
420
419
  style={{
421
420
  flexWrap: 'wrap',
@@ -471,7 +470,7 @@ const BiorhythmPage = (props: { theme?: ThemeType }) => {
471
470
  }
472
471
  navigation.navigate(ui_biz_routerKey.bi_biz_biological_edit, editPageParams)
473
472
  }}>
474
- <Image source={BiologicalRes.biorhythom_add} style={{ height: cx(24), width: cx(24), tintColor: props.theme?.icon.primary }} />
473
+ <Image source={{uri: res.biorhythom_add}} style={{ height: cx(24), width: cx(24), tintColor: props.theme?.icon.primary }} />
475
474
  </TouchableOpacity>
476
475
  </>
477
476
  }
@@ -522,7 +521,7 @@ const BiorhythmPage = (props: { theme?: ThemeType }) => {
522
521
  <View style={{ flex: 1, flexDirection: 'row', justifyContent: 'space-between', marginTop: cx(16) }}>
523
522
  <View style={{ flexDirection: 'row', justifyContent: 'center', alignItems: 'center' }}>
524
523
  <Image
525
- source={setImg(item?.iconId) || type && { uri: item?.icon } || item?.icon}
524
+ source={{uri: setImg(item?.iconId)} || type && { uri: item?.icon } || item?.icon}
526
525
  style={{
527
526
  width: cx(24),
528
527
  height: cx(24),
@@ -69,7 +69,7 @@ function IconSelect(props: { theme?: ThemeType }) {
69
69
  key={item.id}
70
70
  >
71
71
  <Image
72
- source={item?.icon}
72
+ source={{ uri: item?.icon }}
73
73
  style={{
74
74
  width: cx(32),
75
75
  height: cx(32),
@@ -170,4 +170,4 @@ const styles = StyleSheet.create({
170
170
  backgroundColor: "#FFFFFF",
171
171
  borderRadius: Math.round(timeIconSize / 2)
172
172
  }
173
- });
173
+ });
@@ -238,7 +238,7 @@ export default class Progress extends Component<any> {
238
238
  key={item.index}
239
239
  leftValeu={leftValeu}
240
240
  topValue={topValue}
241
- imageSource={setImg(item?.iconId) || type && { uri: item?.icon } || item?.icon}
241
+ imageSource={{uri: setImg(item?.iconId)} || type && { uri: item?.icon } || item?.icon}
242
242
  circularRadius={newRadius}
243
243
  onPanMoving={(_xValue, _yValue, angle) => {
244
244
 
@@ -369,4 +369,4 @@ const styles = StyleSheet.create({
369
369
  width: 260,
370
370
  borderRadius: 130,
371
371
  },
372
- })
372
+ })