@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.
- package/package.json +1 -1
- package/src/modules/flags/FlagEditPage.tsx +3 -3
- package/src/modules/flags/FlagPage.tsx +1 -1
- package/src/modules/history/HistoryPage.tsx +13 -3
- package/src/modules/mood/DynamicMoodEditorPage.tsx +5 -5
- package/src/modules/mood/FantasyMoodEditPage.tsx +3 -3
- package/src/modules/mood/MixMood/MixMoodEditPage.tsx +6 -6
- package/src/modules/mood/MixMood/MixMoodItem.tsx +2 -2
- package/src/modules/music/MusicDataBean.ts +4 -4
- package/src/modules/music/MusicPage.tsx +2 -2
- package/src/modules/timeSchedule/DeviceState.tsx +2 -2
- package/src/modules/timeSchedule/TimeScheduleEditpage.tsx +11 -11
- package/src/modules/timeSchedule/TimeSchedulePage.tsx +1 -1
- package/src/modules/timer/TimerPage.tsx +3 -3
- package/src/newModules/biorhythm/BiorhythmActions.ts +11 -11
- package/src/newModules/biorhythm/BiorhythmBean.ts +6 -6
- package/src/newModules/biorhythm/BiorhythmEditPage.tsx +3 -4
- package/src/newModules/biorhythm/BiorhythmPage.tsx +8 -9
- package/src/newModules/biorhythm/IconSelect.tsx +1 -1
- package/src/newModules/biorhythm/circular/ItemIcon.tsx +1 -1
- package/src/newModules/biorhythm/circular/Progress.tsx +2 -2
- package/src/newModules/biorhythm/circular/TimeCircular.tsx +4 -4
- package/src/newModules/biorhythm/iconListData.ts +26 -26
- package/src/newModules/childLock/ChildLockPage.tsx +1 -1
- package/src/newModules/diyScene/DiySceneEditorPage.tsx +4 -4
- package/src/newModules/diyScene/DiyScenePage.tsx +1 -1
- package/src/newModules/energyConsumption/EnergyConsumptionChart.tsx +2 -2
- package/src/newModules/energyConsumption/EnergyConsumptionDetail.tsx +3 -3
- package/src/newModules/energyConsumption/EnergyConsumptionPage.tsx +4 -4
- package/src/newModules/energyConsumption/component/DateSwitch.tsx +4 -4
- package/src/newModules/energyConsumption/component/EnergyModal.tsx +2 -2
- package/src/newModules/energyConsumption/component/Overview.tsx +4 -4
- package/src/newModules/fixedTime/FixedTimeDetailPage.tsx +3 -3
- package/src/newModules/mood/DynamicMoodEditorPage.tsx +3 -3
- package/src/newModules/mood/MixDynamicMoodEditor.tsx +6 -6
- package/src/newModules/mood/MoodItem.tsx +1 -1
- package/src/newModules/mood/MoodPage.tsx +1 -1
- package/src/newModules/randomTime/RandomTimeDetailPage.tsx +2 -2
- package/src/newModules/sleepWakeUp/SleepWakeUpPage.tsx +15 -15
- package/src/newModules/timeSchedule/TimeScheduleDetailPage.tsx +2 -2
- package/src/modules/biorhythm/BiorhythmActions.d.ts +0 -8
- package/src/modules/biorhythm/BiorhythmActions.ts +0 -324
- package/src/modules/biorhythm/BiorhythmBean.d.ts +0 -58
- package/src/modules/biorhythm/BiorhythmBean.ts +0 -230
- package/src/modules/biorhythm/BiorhythmEditPage.d.ts +0 -14
- package/src/modules/biorhythm/BiorhythmEditPage.tsx +0 -324
- package/src/modules/biorhythm/BiorhythmPage.d.ts +0 -10
- package/src/modules/biorhythm/BiorhythmPage.tsx +0 -796
- package/src/modules/biorhythm/IconSelect.d.ts +0 -2
- package/src/modules/biorhythm/IconSelect.tsx +0 -82
- package/src/modules/biorhythm/Router.ts +0 -34
- package/src/modules/biorhythm/circular/ItemIcon.d.ts +0 -22
- package/src/modules/biorhythm/circular/ItemIcon.tsx +0 -173
- package/src/modules/biorhythm/circular/Progress.d.ts +0 -24
- package/src/modules/biorhythm/circular/Progress.tsx +0 -412
- package/src/modules/biorhythm/circular/TimeCircular.d.ts +0 -11
- package/src/modules/biorhythm/circular/TimeCircular.tsx +0 -70
- package/src/modules/biorhythm/circular/biorhythm_plantimer.png +0 -0
- package/src/modules/biorhythm/circular/rhythm_icon.png +0 -0
- package/src/modules/biorhythm/iconListData.d.ts +0 -7
- package/src/modules/biorhythm/iconListData.ts +0 -30
- package/src/modules/biorhythm/pIdList.d.ts +0 -2
- package/src/modules/biorhythm/pIdList.ts +0 -36
- package/src/modules/biorhythm/res/BiologicalRes.d.ts +0 -43
- package/src/modules/biorhythm/res/BiologicalRes.ts +0 -42
- package/src/modules/biorhythm/res/Biological_Rhythm.png +0 -0
- package/src/modules/biorhythm/res/Biological_Rhythm_12.png +0 -0
- package/src/modules/biorhythm/res/Biological_Rhythm_new.png +0 -0
- package/src/modules/biorhythm/res/Biological_Rhythm_new_12.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedAccountGroups.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedAccountGroups@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedAccountGroups@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavAdd.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavAdd@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavAdd@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavArrowForwardIos.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavArrowForwardIos@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedArrowsNavArrowForwardIos@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedBuildingsHome.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedBuildingsHome@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedBuildingsHome@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedEditorFavoriteBorder.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedEditorFavoriteBorder@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedEditorFavoriteBorder@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBed.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBed@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBed@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBusinessCenter.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBusinessCenter@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherBusinessCenter@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherChair.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherChair@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherChair@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherCoffee.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherCoffee@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherCoffee@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherDirectionsCar.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherDirectionsCar@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherDirectionsCar@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherFitnessCenter.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherFitnessCenter@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherFitnessCenter@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherHeadphones.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherHeadphones@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherHeadphones@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMenuBook.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMenuBook@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMenuBook@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMusicNote.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMusicNote@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherMusicNote@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherNotificationsNone.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherNotificationsNone@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherNotificationsNone@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherPottedPlant.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherPottedPlant@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherPottedPlant@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherRestaurant.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherRestaurant@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherRestaurant@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSentimentSatisfied.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSentimentSatisfied@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSentimentSatisfied@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSportsEsports.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSportsEsports@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherSportsEsports@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherTv.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherTv@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedOtherTv@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedTimeAccessAlarm.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedTimeAccessAlarm@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedTimeAccessAlarm@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherBedtime.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherBedtime@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherBedtime@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherPartlyCloudyDay.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherPartlyCloudyDay@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherPartlyCloudyDay@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherStarOutline.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherStarOutline@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherStarOutline@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbSunny.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbSunny@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbSunny@3x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbTwilight.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbTwilight@2x.png +0 -0
- package/src/modules/biorhythm/res/iconsMaterialOutlinedWheatherWbTwilight@3x.png +0 -0
- package/src/modules/fixedTime/FixedTimeActions.ts +0 -173
- package/src/modules/fixedTime/FixedTimeDetailPage.tsx +0 -373
- package/src/modules/fixedTime/FixedTimePage.tsx +0 -214
- package/src/modules/fixedTime/Router.ts +0 -26
- package/src/modules/music/res/app_music_ball@2x.png +0 -0
- package/src/modules/music/res/app_music_ball@3x.png +0 -0
- package/src/modules/music/res/app_music_game@2x.png +0 -0
- package/src/modules/music/res/app_music_game@3x.png +0 -0
- package/src/modules/music/res/app_music_music@2x.png +0 -0
- package/src/modules/music/res/app_music_music@3x.png +0 -0
- package/src/modules/music/res/app_music_romantic@2x.png +0 -0
- package/src/modules/music/res/app_music_romantic@3x.png +0 -0
- package/src/modules/music/res/iconsMaterialOutlinedArrowsNavCheck.png +0 -0
- package/src/modules/music/res/iconsMaterialOutlinedArrowsNavCheck@2x.png +0 -0
- package/src/modules/music/res/iconsMaterialOutlinedArrowsNavCheck@3x.png +0 -0
- package/src/modules/music/res/illustrationsFeaturesMusic-dark.png +0 -0
- package/src/modules/music/res/illustrationsFeaturesMusic-dark@2x.png +0 -0
- package/src/modules/music/res/illustrationsFeaturesMusic-dark@3x.png +0 -0
- package/src/modules/music/res/illustrationsFeaturesMusic.png +0 -0
- package/src/modules/music/res/illustrationsFeaturesMusic@2x.png +0 -0
- package/src/modules/music/res/illustrationsFeaturesMusic@3x.png +0 -0
- package/src/modules/music/res/illustrationsFeaturesMusicDisabled.png +0 -0
- package/src/modules/music/res/illustrationsFeaturesMusicDisabled@2x.png +0 -0
- package/src/modules/music/res/illustrationsFeaturesMusicDisabled@3x.png +0 -0
- package/src/modules/music/res/index.d.ts +0 -10
- package/src/modules/music/res/index.ts +0 -10
- package/src/modules/powerOnBehavior/PowerOnBehaviorActions.ts +0 -12
- package/src/modules/powerOnBehavior/PowerOnBehaviorPage.tsx +0 -173
- package/src/modules/powerOnBehavior/Router.ts +0 -16
- package/src/modules/randomTime/RandomTimeActions.ts +0 -160
- package/src/modules/randomTime/RandomTimeDetailPage.tsx +0 -338
- package/src/modules/randomTime/RandomTimePage.tsx +0 -215
- package/src/modules/randomTime/Router.ts +0 -25
- package/src/modules/randomTime/Summary.tsx +0 -123
- package/src/modules/sleepWakeup/DeviceState.d.ts +0 -9
- package/src/modules/sleepWakeup/DeviceState.tsx +0 -100
- package/src/modules/sleepWakeup/LdvScheduleItem.d.ts +0 -15
- package/src/modules/sleepWakeup/LdvScheduleItem.tsx +0 -176
- package/src/modules/sleepWakeup/Router.ts +0 -25
- package/src/modules/sleepWakeup/SleepWakeUpActions.d.ts +0 -2
- package/src/modules/sleepWakeup/SleepWakeUpActions.ts +0 -180
- package/src/modules/sleepWakeup/SleepWakeUpDetailPage.d.ts +0 -2
- package/src/modules/sleepWakeup/SleepWakeUpDetailPage.tsx +0 -617
- package/src/modules/sleepWakeup/SleepWakeUpPage.d.ts +0 -13
- package/src/modules/sleepWakeup/SleepWakeUpPage.tsx +0 -425
- package/src/modules/sleepWakeup/utils.d.ts +0 -44
- package/src/modules/sleepWakeup/utils.ts +0 -254
- package/src/newModules/biorhythm/circular/biorhythm_plantimer.png +0 -0
- package/src/newModules/biorhythm/circular/rhythm_icon.png +0 -0
- package/src/newModules/biorhythm/res/BiologicalRes.d.ts +0 -43
- package/src/newModules/biorhythm/res/BiologicalRes.ts +0 -42
- package/src/newModules/biorhythm/res/Biological_Rhythm.png +0 -0
- package/src/newModules/biorhythm/res/Biological_Rhythm_12.png +0 -0
- package/src/newModules/biorhythm/res/Biological_Rhythm_new.png +0 -0
- package/src/newModules/biorhythm/res/Biological_Rhythm_new_12.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedAccountGroups.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedAccountGroups@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedAccountGroups@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedArrowsNavAdd.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedArrowsNavAdd@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedArrowsNavAdd@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedArrowsNavArrowForwardIos.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedArrowsNavArrowForwardIos@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedArrowsNavArrowForwardIos@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedBuildingsHome.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedBuildingsHome@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedBuildingsHome@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedEditorFavoriteBorder.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedEditorFavoriteBorder@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedEditorFavoriteBorder@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherBed.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherBed@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherBed@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherBusinessCenter.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherBusinessCenter@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherBusinessCenter@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherChair.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherChair@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherChair@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherCoffee.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherCoffee@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherCoffee@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherDirectionsCar.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherDirectionsCar@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherDirectionsCar@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherFitnessCenter.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherFitnessCenter@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherFitnessCenter@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherHeadphones.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherHeadphones@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherHeadphones@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherMenuBook.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherMenuBook@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherMenuBook@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherMusicNote.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherMusicNote@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherMusicNote@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherNotificationsNone.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherNotificationsNone@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherNotificationsNone@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherPottedPlant.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherPottedPlant@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherPottedPlant@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherRestaurant.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherRestaurant@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherRestaurant@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherSentimentSatisfied.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherSentimentSatisfied@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherSentimentSatisfied@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherSportsEsports.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherSportsEsports@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherSportsEsports@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherTv.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherTv@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedOtherTv@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedTimeAccessAlarm.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedTimeAccessAlarm@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedTimeAccessAlarm@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherBedtime.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherBedtime@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherBedtime@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherPartlyCloudyDay.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherPartlyCloudyDay@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherPartlyCloudyDay@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherStarOutline.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherStarOutline@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherStarOutline@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherWbSunny.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherWbSunny@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherWbSunny@3x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherWbTwilight.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherWbTwilight@2x.png +0 -0
- package/src/newModules/biorhythm/res/iconsMaterialOutlinedWheatherWbTwilight@3x.png +0 -0
|
@@ -2,7 +2,7 @@ import React from 'react'
|
|
|
2
2
|
import {Image, StyleSheet, View} from 'react-native'
|
|
3
3
|
import Progress from './Progress'
|
|
4
4
|
import {Plan} from '../BiorhythmBean'
|
|
5
|
-
import
|
|
5
|
+
import res from '@ledvance/base/src/res'
|
|
6
6
|
import { useCreation } from 'ahooks'
|
|
7
7
|
import { useSystemTimeFormate } from '@ledvance/base/src/models/modules/NativePropsSlice'
|
|
8
8
|
|
|
@@ -30,9 +30,9 @@ const TimeCircular = (
|
|
|
30
30
|
const enabledPlanList = planList.filter(plan => plan.enable)
|
|
31
31
|
const timeDialPic = useCreation(() =>{
|
|
32
32
|
if(is24Hour){
|
|
33
|
-
return replaceStatus ?
|
|
33
|
+
return replaceStatus ? res.ic_warning_amber_sun : res.ic_warning_amber_new
|
|
34
34
|
}else{
|
|
35
|
-
return replaceStatus ?
|
|
35
|
+
return replaceStatus ? res.ic_warning_amber_sun_12 : res.ic_warning_amber_new_12
|
|
36
36
|
}
|
|
37
37
|
}, [is24Hour, replaceStatus])
|
|
38
38
|
|
|
@@ -48,7 +48,7 @@ const TimeCircular = (
|
|
|
48
48
|
onPanMoved={(id: number, time: number) => {
|
|
49
49
|
onPanMoved && onPanMoved(id, time)
|
|
50
50
|
}}>
|
|
51
|
-
<Image source={timeDialPic} style={{width: 172, height: 172}}/>
|
|
51
|
+
<Image source={{uri: timeDialPic}} style={{width: 172, height: 172}}/>
|
|
52
52
|
</Progress>
|
|
53
53
|
</View>
|
|
54
54
|
)
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import
|
|
1
|
+
import res from '@ledvance/base/src/res'
|
|
2
2
|
|
|
3
3
|
const iconList = [
|
|
4
|
-
{id: 1, icon:
|
|
5
|
-
{id: 2, icon:
|
|
6
|
-
{id: 3, icon:
|
|
7
|
-
{id: 4, icon:
|
|
8
|
-
{id: 5, icon:
|
|
9
|
-
{id: 6, icon:
|
|
10
|
-
{id: 7, icon:
|
|
11
|
-
{id: 8, icon:
|
|
12
|
-
{id: 9, icon:
|
|
13
|
-
{id: 10, icon:
|
|
14
|
-
{id: 11, icon:
|
|
15
|
-
{id: 12, icon:
|
|
16
|
-
{id: 13, icon:
|
|
17
|
-
{id: 14, icon:
|
|
18
|
-
{id: 15, icon:
|
|
19
|
-
{id: 16, icon:
|
|
20
|
-
{id: 17, icon:
|
|
21
|
-
{id: 18, icon:
|
|
22
|
-
{id: 19, icon:
|
|
23
|
-
{id: 20, icon:
|
|
24
|
-
{id: 21, icon:
|
|
25
|
-
{id: 22, icon:
|
|
26
|
-
{id: 23, icon:
|
|
27
|
-
{id: 24, icon:
|
|
4
|
+
{id: 1, icon: res.biorhythom_icon1, selectStatus: false, disabled: false},
|
|
5
|
+
{id: 2, icon: res.biorhythom_icon2, selectStatus: false, disabled: false},
|
|
6
|
+
{id: 3, icon: res.biorhythom_icon3, selectStatus: false, disabled: false},
|
|
7
|
+
{id: 4, icon: res.biorhythom_icon4, selectStatus: false, disabled: false},
|
|
8
|
+
{id: 5, icon: res.biorhythom_icon5, selectStatus: false, disabled: false},
|
|
9
|
+
{id: 6, icon: res.biorhythom_icon6, selectStatus: false, disabled: false},
|
|
10
|
+
{id: 7, icon: res.biorhythom_icon7, selectStatus: false, disabled: false},
|
|
11
|
+
{id: 8, icon: res.biorhythom_icon8, selectStatus: false, disabled: false},
|
|
12
|
+
{id: 9, icon: res.biorhythom_icon9, selectStatus: false, disabled: false},
|
|
13
|
+
{id: 10, icon: res.biorhythom_icon10, selectStatus: false, disabled: false},
|
|
14
|
+
{id: 11, icon: res.biorhythom_icon11, selectStatus: false, disabled: false},
|
|
15
|
+
{id: 12, icon: res.biorhythom_icon12, selectStatus: false, disabled: false},
|
|
16
|
+
{id: 13, icon: res.biorhythom_icon13, selectStatus: false, disabled: false},
|
|
17
|
+
{id: 14, icon: res.biorhythom_icon14, selectStatus: false, disabled: false},
|
|
18
|
+
{id: 15, icon: res.biorhythom_icon15, selectStatus: false, disabled: false},
|
|
19
|
+
{id: 16, icon: res.biorhythom_icon16, selectStatus: false, disabled: false},
|
|
20
|
+
{id: 17, icon: res.biorhythom_icon17, selectStatus: false, disabled: false},
|
|
21
|
+
{id: 18, icon: res.biorhythom_icon18, selectStatus: false, disabled: false},
|
|
22
|
+
{id: 19, icon: res.biorhythom_icon19, selectStatus: false, disabled: false},
|
|
23
|
+
{id: 20, icon: res.biorhythom_icon20, selectStatus: false, disabled: false},
|
|
24
|
+
{id: 21, icon: res.biorhythom_icon21, selectStatus: false, disabled: false},
|
|
25
|
+
{id: 22, icon: res.biorhythom_icon22, selectStatus: false, disabled: false},
|
|
26
|
+
{id: 23, icon: res.biorhythom_icon23, selectStatus: false, disabled: false},
|
|
27
|
+
{id: 24, icon: res.biorhythom_icon24, selectStatus: false, disabled: false},
|
|
28
28
|
]
|
|
29
29
|
|
|
30
|
-
export default iconList
|
|
30
|
+
export default iconList
|
|
@@ -70,7 +70,7 @@ const ChildLockPage = (props: { theme?: ThemeType }) => {
|
|
|
70
70
|
headlineText={I18n.getLang('sockets_specific_settings_child_lock')}
|
|
71
71
|
loading={state.loading}>
|
|
72
72
|
<View style={styles.tipInfoContainer}>
|
|
73
|
-
<Image style={styles.image} source={res.ic_info}/>
|
|
73
|
+
<Image style={styles.image} source={{uri: res.ic_info}}/>
|
|
74
74
|
<Text style={{color: props.theme?.global.fontColor}}>
|
|
75
75
|
{params.descriptionText ? params.descriptionText : I18n.getLang('childlock_overview_description_text')}
|
|
76
76
|
</Text>
|
|
@@ -203,8 +203,8 @@ const DiySceneEditorPage = (props: { theme?: ThemeType }) => {
|
|
|
203
203
|
state.sceneInfo.type !== 'DIY' && <TouchableOpacity onPress={() => {
|
|
204
204
|
toggleLoveScene(state.sceneInfo.id)
|
|
205
205
|
}}>
|
|
206
|
-
{isLove ? <Image source={res.like} style={{width: cx(30), height: cx(26)}}/>
|
|
207
|
-
: <Image source={res.un_like}
|
|
206
|
+
{isLove ? <Image source={{uri: res.like}} style={{width: cx(30), height: cx(26)}}/>
|
|
207
|
+
: <Image source={{uri: res.un_like}}
|
|
208
208
|
style={{width: cx(30), height: cx(26), tintColor: props.theme?.global.fontColor}}/>}
|
|
209
209
|
</TouchableOpacity>
|
|
210
210
|
}
|
|
@@ -237,7 +237,7 @@ const DiySceneEditorPage = (props: { theme?: ThemeType }) => {
|
|
|
237
237
|
const color = {h: state.h, s: state.s * 10, v: 1000}
|
|
238
238
|
state.sceneInfo.nodes.push({top: color, bottom: color});
|
|
239
239
|
}}>
|
|
240
|
-
<Image source={res.ic_plus} style={{tintColor: props.theme?.icon.primary}} />
|
|
240
|
+
<Image source={{uri: res.ic_plus}} style={{tintColor: props.theme?.icon.primary}} />
|
|
241
241
|
</TouchableOpacity>}
|
|
242
242
|
{ state.sceneInfo.nodes.length > 2 && <TouchableOpacity onPress={() => {
|
|
243
243
|
console.log('onPress delete node')
|
|
@@ -245,7 +245,7 @@ const DiySceneEditorPage = (props: { theme?: ThemeType }) => {
|
|
|
245
245
|
state.currentNode = state.currentNode === state.sceneInfo.nodes.length ? 0 : state.currentNode
|
|
246
246
|
console.log('nextNode', state.currentNode)
|
|
247
247
|
}}>
|
|
248
|
-
<Image source={res.ic_mood_del} style={{marginLeft: cx(5),tintColor: props.theme?.icon.primary}} />
|
|
248
|
+
<Image source={{uri: res.ic_mood_del}} style={{marginLeft: cx(5),tintColor: props.theme?.icon.primary}} />
|
|
249
249
|
</TouchableOpacity>}
|
|
250
250
|
</View>
|
|
251
251
|
<View style={styles.nodeList}>
|
|
@@ -252,7 +252,7 @@ const DiyScenePage = (props: { theme?: ThemeType }) => {
|
|
|
252
252
|
})
|
|
253
253
|
}}
|
|
254
254
|
>
|
|
255
|
-
<Image source={res.ic_refresh} style={{ width: cx(24), height: cx(24), tintColor: props.theme?.global.fontColor }} />
|
|
255
|
+
<Image source={{uri: res.ic_refresh}} style={{ width: cx(24), height: cx(24), tintColor: props.theme?.global.fontColor }} />
|
|
256
256
|
</TouchableOpacity>
|
|
257
257
|
<Spacer height={cx(10)} />
|
|
258
258
|
{state.originScenes.length >= MAX_MOOD_COUNT && (
|
|
@@ -163,7 +163,7 @@ const EnergyConsumptionChart = (props: { theme?: ThemeType }) => {
|
|
|
163
163
|
onDateChange={(date) => {
|
|
164
164
|
state.date = date;
|
|
165
165
|
}}/>
|
|
166
|
-
<TouchableOpacity
|
|
166
|
+
<TouchableOpacity
|
|
167
167
|
style={{width: cx(30)}}
|
|
168
168
|
onPress={() => {
|
|
169
169
|
const values = state.chartData.map(item => [item.key, item.value, (Number(params.price) * Number(item.value)).toFixed(2)])
|
|
@@ -171,7 +171,7 @@ const EnergyConsumptionChart = (props: { theme?: ThemeType }) => {
|
|
|
171
171
|
}}>
|
|
172
172
|
<Image
|
|
173
173
|
style={styles.downloadIcon}
|
|
174
|
-
source={state.chartData?.length ? res.download_icon : undefined}/>
|
|
174
|
+
source={{ uri: state.chartData?.length ? res.download_icon : undefined}}/>
|
|
175
175
|
</TouchableOpacity>
|
|
176
176
|
</View>
|
|
177
177
|
}
|
|
@@ -218,7 +218,7 @@ const EnergyConsumptionDetail = (props: {theme?: ThemeType}) => {
|
|
|
218
218
|
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
|
|
219
219
|
<View style={styles.priceBg}>
|
|
220
220
|
<Image
|
|
221
|
-
source={res.energy_consumption_cash}
|
|
221
|
+
source={{uri: res.energy_consumption_cash}}
|
|
222
222
|
resizeMode="contain"
|
|
223
223
|
style={{ height: cx(20), width: cx(20), tintColor: props.theme?.button.primary }}
|
|
224
224
|
/>
|
|
@@ -233,7 +233,7 @@ const EnergyConsumptionDetail = (props: {theme?: ThemeType}) => {
|
|
|
233
233
|
}}
|
|
234
234
|
>
|
|
235
235
|
<Image
|
|
236
|
-
source={res.
|
|
236
|
+
source={{uri: res.co2_icon}}
|
|
237
237
|
resizeMode="contain"
|
|
238
238
|
style={{ height: cx(20), width: cx(20), tintColor: props.theme?.button.primary }}
|
|
239
239
|
/>
|
|
@@ -248,7 +248,7 @@ const EnergyConsumptionDetail = (props: {theme?: ThemeType}) => {
|
|
|
248
248
|
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
|
|
249
249
|
<View style={styles.priceBg}>
|
|
250
250
|
<Image
|
|
251
|
-
source={res.energy_consumption_cash}
|
|
251
|
+
source={{ uri: res.energy_consumption_cash}}
|
|
252
252
|
resizeMode="contain"
|
|
253
253
|
style={{ height: cx(20), width: cx(20), tintColor: props.theme?.button.primary }}
|
|
254
254
|
/>
|
|
@@ -382,7 +382,7 @@ const EnergyConsumptionPage = (props: {theme?: ThemeType}) => {
|
|
|
382
382
|
}}
|
|
383
383
|
>
|
|
384
384
|
<Image
|
|
385
|
-
source={res.
|
|
385
|
+
source={{uri: res.co2_icon}}
|
|
386
386
|
resizeMode="contain"
|
|
387
387
|
style={{ height: cx(20), width: cx(20), tintColor: props.theme?.button.primary }}
|
|
388
388
|
/>
|
|
@@ -399,7 +399,7 @@ const EnergyConsumptionPage = (props: {theme?: ThemeType}) => {
|
|
|
399
399
|
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
|
|
400
400
|
<View style={styles.priceBg}>
|
|
401
401
|
<Image
|
|
402
|
-
source={res.energy_consumption_cash}
|
|
402
|
+
source={{uri: res.energy_consumption_cash}}
|
|
403
403
|
resizeMode="contain"
|
|
404
404
|
style={{ height: cx(20), width: cx(20), tintColor: props.theme?.button.primary }}
|
|
405
405
|
/>
|
|
@@ -414,7 +414,7 @@ const EnergyConsumptionPage = (props: {theme?: ThemeType}) => {
|
|
|
414
414
|
}}
|
|
415
415
|
>
|
|
416
416
|
<Image
|
|
417
|
-
source={res.
|
|
417
|
+
source={{uri: res.co2_icon}}
|
|
418
418
|
resizeMode="contain"
|
|
419
419
|
style={{ height: cx(20), width: cx(20), tintColor: props.theme?.button.primary }}
|
|
420
420
|
/>
|
|
@@ -429,7 +429,7 @@ const EnergyConsumptionPage = (props: {theme?: ThemeType}) => {
|
|
|
429
429
|
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
|
|
430
430
|
<View style={styles.priceBg}>
|
|
431
431
|
<Image
|
|
432
|
-
source={res.energy_consumption_cash}
|
|
432
|
+
source={{uri: res.energy_consumption_cash}}
|
|
433
433
|
resizeMode="contain"
|
|
434
434
|
style={{ height: cx(20), width: cx(20), tintColor: props.theme?.button.primary }}
|
|
435
435
|
/>
|
|
@@ -3,7 +3,7 @@ import React, {PropsWithChildren, useCallback, useEffect} from "react";
|
|
|
3
3
|
import {Image, Text, TouchableOpacity, View, ViewProps} from "react-native";
|
|
4
4
|
import {Utils} from "tuya-panel-kit";
|
|
5
5
|
import {useReactive} from "ahooks";
|
|
6
|
-
import {DateType} from "
|
|
6
|
+
import {DateType} from "../co2Data";
|
|
7
7
|
import res from "@ledvance/base/src/res";
|
|
8
8
|
import dayjs from "dayjs";
|
|
9
9
|
|
|
@@ -84,7 +84,7 @@ export default withTheme(function DateSwitch(props: DateSwitchProps) {
|
|
|
84
84
|
changeDate(false);
|
|
85
85
|
}}>
|
|
86
86
|
<Image
|
|
87
|
-
source={res.arrow_left}
|
|
87
|
+
source={{ uri: res.arrow_left}}
|
|
88
88
|
style={{tintColor: state.disableArrowLeft ? theme?.global.disabledFontColor : theme?.global.brand}}
|
|
89
89
|
height={cx(36)}
|
|
90
90
|
width={cx(36)}/>
|
|
@@ -102,10 +102,10 @@ export default withTheme(function DateSwitch(props: DateSwitchProps) {
|
|
|
102
102
|
changeDate(true);
|
|
103
103
|
}}>
|
|
104
104
|
<Image
|
|
105
|
-
source={res.arrow_right}
|
|
105
|
+
source={{ uri: res.arrow_right}}
|
|
106
106
|
style={{tintColor: state.disableArrowRight ? theme?.global.disabledFontColor : theme?.global.brand}}
|
|
107
107
|
height={cx(36)}
|
|
108
108
|
width={cx(36)}/>
|
|
109
109
|
</TouchableOpacity>
|
|
110
110
|
</View>)
|
|
111
|
-
})
|
|
111
|
+
})
|
|
@@ -207,7 +207,7 @@ const EnergyModal = (props: EnergyModalProps) => {
|
|
|
207
207
|
<Text style={{ fontSize: cx(16), color: props.theme?.global.fontColor }}>{item}</Text>
|
|
208
208
|
{props.energyData && props.energyData.unit === item && <Image
|
|
209
209
|
style={{ width: cx(16), height: cx(16) }}
|
|
210
|
-
source={res.app_music_check}
|
|
210
|
+
source={{ uri: res.app_music_check}}
|
|
211
211
|
resizeMode="contain"
|
|
212
212
|
/>}
|
|
213
213
|
</View>
|
|
@@ -290,7 +290,7 @@ const EnergyModal = (props: EnergyModalProps) => {
|
|
|
290
290
|
<Text style={{ fontSize: cx(16), color: props.theme?.global.fontColor }}>{item}</Text>
|
|
291
291
|
{energyData && energyData.unit === item && <Image
|
|
292
292
|
style={{ width: cx(16), height: cx(16) }}
|
|
293
|
-
source={res.app_music_check}
|
|
293
|
+
source={{ uri: res.app_music_check}}
|
|
294
294
|
resizeMode="contain"
|
|
295
295
|
/>}
|
|
296
296
|
</View>
|
|
@@ -57,7 +57,7 @@ const OverView = (props: OverViewProps) => {
|
|
|
57
57
|
}}
|
|
58
58
|
>
|
|
59
59
|
<Image
|
|
60
|
-
source={res.energy_consumption_chart}
|
|
60
|
+
source={{ uri: res.energy_consumption_chart}}
|
|
61
61
|
style={{ width: cx(16), height: cx(16), marginLeft: cx(8) }}
|
|
62
62
|
/>
|
|
63
63
|
</TouchableOpacity>}
|
|
@@ -80,7 +80,7 @@ const OverView = (props: OverViewProps) => {
|
|
|
80
80
|
<Text style={[styles.overviewItemText, { color: props.theme?.global.secondFontColor }]}> kWh</Text>
|
|
81
81
|
</View>
|
|
82
82
|
<Image
|
|
83
|
-
source={res.energy_consumption_right}
|
|
83
|
+
source={{ uri: res.energy_consumption_right}}
|
|
84
84
|
style={{ width: cx(16), height: cx(16), marginLeft: cx(8), tintColor: props.theme?.global.secondFontColor }}
|
|
85
85
|
/>
|
|
86
86
|
</View>
|
|
@@ -95,10 +95,10 @@ const OverView = (props: OverViewProps) => {
|
|
|
95
95
|
<View style={styles.listEmptyContainer}>
|
|
96
96
|
<Image
|
|
97
97
|
style={styles.listEmptyImage}
|
|
98
|
-
source={res.energy_consumption_empty} />
|
|
98
|
+
source={{ uri: res.energy_consumption_empty}} />
|
|
99
99
|
<Spacer height={cx(10)} />
|
|
100
100
|
<View style={{ flexDirection: 'row', alignItems: 'center', marginBottom: cx(25) }}>
|
|
101
|
-
<Image style={styles.listEmptyTextIcon} source={res.
|
|
101
|
+
<Image style={styles.listEmptyTextIcon} source={{uri: res.co2_icon}} />
|
|
102
102
|
<Spacer width={cx(4)} height={0} />
|
|
103
103
|
<Text style={styles.listEmptyText}>
|
|
104
104
|
{
|
|
@@ -197,7 +197,7 @@ const FixedTimeDetailPage = (props: { theme?: ThemeType }) => {
|
|
|
197
197
|
state.fixedTime.channel = undefined
|
|
198
198
|
}}
|
|
199
199
|
style={{ paddingHorizontal: cx(5) }}>
|
|
200
|
-
<Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }} source={res.ic_arrows_nav_clear} />
|
|
200
|
+
<Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }} source={{uri: res.ic_arrows_nav_clear}} />
|
|
201
201
|
</TouchableOpacity>}
|
|
202
202
|
</View>
|
|
203
203
|
}
|
|
@@ -212,7 +212,7 @@ const FixedTimeDetailPage = (props: { theme?: ThemeType }) => {
|
|
|
212
212
|
state.fixedTime.channel = params.isPlug ? index : 1
|
|
213
213
|
}}>
|
|
214
214
|
<Text style={{ color: props.theme?.global.fontColor }}>{item.key}</Text>
|
|
215
|
-
<Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }} source={res.device_panel_timer_add} />
|
|
215
|
+
<Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }} source={{uri: res.device_panel_timer_add}} />
|
|
216
216
|
</TouchableOpacity>
|
|
217
217
|
)
|
|
218
218
|
})}
|
|
@@ -272,7 +272,7 @@ const FixedTimeDetailPage = (props: { theme?: ThemeType }) => {
|
|
|
272
272
|
<Text style={styles.itemTitle}>{I18n.getLang('timeschedule_add_schedule_subheadline4_text')}</Text>
|
|
273
273
|
<Spacer height={cx(10)} />
|
|
274
274
|
{!inRangeTime && <View style={{ flexDirection: 'row', alignItems: 'center' }}>
|
|
275
|
-
<Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.warning }} source={res.ic_warning_amber} />
|
|
275
|
+
<Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.warning }} source={{uri: res.ic_warning_amber}} />
|
|
276
276
|
<Text style={{ fontSize: cx(12), color: props.theme?.global.warning }}>{I18n.getLang('addTimeCycle_warning_text')}</Text>
|
|
277
277
|
</View>}
|
|
278
278
|
<View >
|
|
@@ -385,7 +385,7 @@ const DynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
|
|
|
385
385
|
styles.adjustButton,
|
|
386
386
|
{ tintColor: state.mainBucketSelected ? props.theme?.icon.primary : props.theme?.icon.normal },
|
|
387
387
|
]}
|
|
388
|
-
source={res.ic_paint_bucket}
|
|
388
|
+
source={{ uri: res.ic_paint_bucket}}
|
|
389
389
|
/>
|
|
390
390
|
</TouchableOpacity>
|
|
391
391
|
<TouchableOpacity
|
|
@@ -398,7 +398,7 @@ const DynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
|
|
|
398
398
|
styles.adjustButton,
|
|
399
399
|
{ tintColor: state.mainBucketSelected ? props.theme?.icon.normal : props.theme?.icon.primary },
|
|
400
400
|
]}
|
|
401
|
-
source={res.ic_colorize}
|
|
401
|
+
source={{ uri: res.ic_colorize}}
|
|
402
402
|
/>
|
|
403
403
|
</TouchableOpacity>
|
|
404
404
|
</View>
|
|
@@ -434,7 +434,7 @@ const DynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
|
|
|
434
434
|
tintColor: state.mood.mainLamp.nodes.length < 3 ? props.theme?.icon.disable : props.theme?.icon.normal,
|
|
435
435
|
},
|
|
436
436
|
]}
|
|
437
|
-
source={res.ic_mood_del}
|
|
437
|
+
source={{ uri: res.ic_mood_del}}
|
|
438
438
|
/>
|
|
439
439
|
</TouchableOpacity>
|
|
440
440
|
</View>
|
|
@@ -371,7 +371,7 @@ const MixDynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
|
|
|
371
371
|
styles.adjustButton,
|
|
372
372
|
{ tintColor: state.mainBucketSelected ? props.theme?.icon.primary : props.theme?.icon.normal },
|
|
373
373
|
]}
|
|
374
|
-
source={res.ic_paint_bucket}
|
|
374
|
+
source={{uri: res.ic_paint_bucket}}
|
|
375
375
|
/>
|
|
376
376
|
</TouchableOpacity>
|
|
377
377
|
<TouchableOpacity
|
|
@@ -384,7 +384,7 @@ const MixDynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
|
|
|
384
384
|
styles.adjustButton,
|
|
385
385
|
{ tintColor: state.mainBucketSelected ? props.theme?.icon.normal : props.theme?.icon.primary },
|
|
386
386
|
]}
|
|
387
|
-
source={res.ic_colorize}
|
|
387
|
+
source={{uri: res.ic_colorize}}
|
|
388
388
|
/>
|
|
389
389
|
</TouchableOpacity>
|
|
390
390
|
</View>
|
|
@@ -421,7 +421,7 @@ const MixDynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
|
|
|
421
421
|
tintColor: state.mood.mainLamp.nodes.length < 3 ? props.theme?.icon.disable : props.theme?.icon.normal,
|
|
422
422
|
},
|
|
423
423
|
]}
|
|
424
|
-
source={res.ic_mood_del}
|
|
424
|
+
source={{uri: res.ic_mood_del}}
|
|
425
425
|
/>
|
|
426
426
|
</TouchableOpacity>
|
|
427
427
|
</View>
|
|
@@ -636,7 +636,7 @@ const MixDynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
|
|
|
636
636
|
styles.adjustButton,
|
|
637
637
|
{ tintColor: state.secondaryBucketSelected ? props.theme?.icon.primary : props.theme?.icon.normal },
|
|
638
638
|
]}
|
|
639
|
-
source={res.ic_paint_bucket}
|
|
639
|
+
source={{uri: res.ic_paint_bucket}}
|
|
640
640
|
/>
|
|
641
641
|
</TouchableOpacity>
|
|
642
642
|
<TouchableOpacity
|
|
@@ -649,7 +649,7 @@ const MixDynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
|
|
|
649
649
|
styles.adjustButton,
|
|
650
650
|
{ tintColor: state.secondaryBucketSelected ? props.theme?.icon.normal : props.theme?.icon.primary },
|
|
651
651
|
]}
|
|
652
|
-
source={res.ic_colorize}
|
|
652
|
+
source={{uri: res.ic_colorize}}
|
|
653
653
|
/>
|
|
654
654
|
</TouchableOpacity>
|
|
655
655
|
</View>
|
|
@@ -686,7 +686,7 @@ const MixDynamicMoodEditorPage = (props: { theme?: ThemeType }) => {
|
|
|
686
686
|
state.mood.secondaryLamp.nodes.length < 3 ? props.theme?.icon.disable : props.theme?.icon.normal,
|
|
687
687
|
},
|
|
688
688
|
]}
|
|
689
|
-
source={res.ic_mood_del}
|
|
689
|
+
source={{ uri: res.ic_mood_del}}
|
|
690
690
|
/>
|
|
691
691
|
</TouchableOpacity>
|
|
692
692
|
</View>
|
|
@@ -157,7 +157,7 @@ export function MixMoodColorsLine(props: { mixSubLight: MoodLampInfo; isMix: boo
|
|
|
157
157
|
<>
|
|
158
158
|
<Spacer height={0} width={cx(7)} />
|
|
159
159
|
<View style={styles.gradientItemIconView}>
|
|
160
|
-
<Image style={styles.gradientItemIcon} source={mixSubLight.enable ? res.light_on : res.light_off} />
|
|
160
|
+
<Image style={styles.gradientItemIcon} source={{uri: mixSubLight.enable ? res.light_on : res.light_off}} />
|
|
161
161
|
</View>
|
|
162
162
|
</>
|
|
163
163
|
)}
|
|
@@ -367,7 +367,7 @@ const MoodPage = (props: { theme?: ThemeType }) => {
|
|
|
367
367
|
})
|
|
368
368
|
}}
|
|
369
369
|
>
|
|
370
|
-
<Image source={res.ic_refresh} style={{ width: cx(24), height: cx(24), tintColor: props.theme?.global.fontColor }} />
|
|
370
|
+
<Image source={{uri: res.ic_refresh}} style={{ width: cx(24), height: cx(24), tintColor: props.theme?.global.fontColor }} />
|
|
371
371
|
</TouchableOpacity>
|
|
372
372
|
<Spacer height={cx(10)} />
|
|
373
373
|
{state.originMoods.length >= MAX_MOOD_COUNT && (
|
|
@@ -191,7 +191,7 @@ const RandomTimeDetailPage = (props: { theme?: ThemeType }) => {
|
|
|
191
191
|
state.randomTime.channel = undefined
|
|
192
192
|
}}
|
|
193
193
|
style={{ paddingHorizontal: cx(5) }}>
|
|
194
|
-
<Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }} source={res.ic_arrows_nav_clear} />
|
|
194
|
+
<Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }} source={{uri: res.ic_arrows_nav_clear}} />
|
|
195
195
|
</TouchableOpacity>}
|
|
196
196
|
</View>
|
|
197
197
|
}
|
|
@@ -206,7 +206,7 @@ const RandomTimeDetailPage = (props: { theme?: ThemeType }) => {
|
|
|
206
206
|
state.randomTime.channel = params.isPlug ? index : 1
|
|
207
207
|
}}>
|
|
208
208
|
<Text style={{ color: props.theme?.global.fontColor, fontSize: cx(12) }}>{item.key}</Text>
|
|
209
|
-
<Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }} source={res.device_panel_timer_add} />
|
|
209
|
+
<Image style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }} source={{uri: res.device_panel_timer_add}} />
|
|
210
210
|
</TouchableOpacity>
|
|
211
211
|
)
|
|
212
212
|
})}
|
|
@@ -117,12 +117,12 @@ const SleepWakeUpPage = (props: { theme?: ThemeType }) => {
|
|
|
117
117
|
}
|
|
118
118
|
if ((mode === 'edit' && sleepWakeUp.enable) || mode === 'add') {
|
|
119
119
|
let sleepConflict = false
|
|
120
|
-
let wakeUpConflict = false
|
|
120
|
+
let wakeUpConflict = false
|
|
121
121
|
const cloneSleepPlan = isSleep ? cloneSleepWakeUp : cloneDeep(sleepList)
|
|
122
122
|
const cloneWakeUpPlan = isSleep ? cloneDeep(wakeUpList) : cloneSleepWakeUp
|
|
123
123
|
const currentSleepWakeUp = {
|
|
124
|
-
...sleepWakeUp,
|
|
125
|
-
startTime: getStartTime(sleepWakeUp),
|
|
124
|
+
...sleepWakeUp,
|
|
125
|
+
startTime: getStartTime(sleepWakeUp),
|
|
126
126
|
endTime: getEndTime(sleepWakeUp)
|
|
127
127
|
}
|
|
128
128
|
const newSleepList = cloneSleepPlan.map((item, idx) => {
|
|
@@ -132,11 +132,11 @@ const SleepWakeUpPage = (props: { theme?: ThemeType }) => {
|
|
|
132
132
|
startTime: getStartTime(item),
|
|
133
133
|
endTime: getEndTime(item)
|
|
134
134
|
}, currentSleepWakeUp)){
|
|
135
|
-
sleepConflict = true
|
|
136
|
-
item.enable = false
|
|
137
|
-
return item
|
|
135
|
+
sleepConflict = true
|
|
136
|
+
item.enable = false
|
|
137
|
+
return item
|
|
138
138
|
}
|
|
139
|
-
return item
|
|
139
|
+
return item
|
|
140
140
|
})
|
|
141
141
|
const newWakeUpList = cloneWakeUpPlan.map((item, idx) => {
|
|
142
142
|
const itself = !isSleep ? (mode === 'add' ? (idx === cloneWakeUpPlan.length - 1) : sleepWakeUp.id === item.id) : !isSleep
|
|
@@ -145,11 +145,11 @@ const SleepWakeUpPage = (props: { theme?: ThemeType }) => {
|
|
|
145
145
|
startTime: getStartTime(item),
|
|
146
146
|
endTime: getEndTime(item)
|
|
147
147
|
}, currentSleepWakeUp)){
|
|
148
|
-
wakeUpConflict = true
|
|
149
|
-
item.enable = false
|
|
150
|
-
return item
|
|
148
|
+
wakeUpConflict = true
|
|
149
|
+
item.enable = false
|
|
150
|
+
return item
|
|
151
151
|
}
|
|
152
|
-
return item
|
|
152
|
+
return item
|
|
153
153
|
})
|
|
154
154
|
const isConflict = checkConflict(currentSleepWakeUp) || sleepConflict || wakeUpConflict
|
|
155
155
|
if (isConflict) {
|
|
@@ -161,7 +161,7 @@ const SleepWakeUpPage = (props: { theme?: ThemeType }) => {
|
|
|
161
161
|
onConfirm: async (_, { close }) => {
|
|
162
162
|
close()
|
|
163
163
|
resolveConflict()
|
|
164
|
-
const res = isSleep ? await setSleepList(newSleepList) : await setWakeUpList(newWakeUpList)
|
|
164
|
+
const res = isSleep ? await setSleepList(newSleepList) : await setWakeUpList(newWakeUpList)
|
|
165
165
|
if (isSleep) {
|
|
166
166
|
if (wakeUpConflict){
|
|
167
167
|
setWakeUpList(newWakeUpList).then()
|
|
@@ -179,7 +179,7 @@ const SleepWakeUpPage = (props: { theme?: ThemeType }) => {
|
|
|
179
179
|
},
|
|
180
180
|
onCancel: () => {
|
|
181
181
|
resolve({
|
|
182
|
-
success: false
|
|
182
|
+
success: false
|
|
183
183
|
})
|
|
184
184
|
Dialog.close()
|
|
185
185
|
}
|
|
@@ -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.
|
|
440
|
+
source={{uri: res.schedule_empty}}
|
|
441
441
|
resizeMode="contain" />
|
|
442
442
|
<Spacer height={cx(20)} />
|
|
443
443
|
<View style={styles.emptyText}>
|
|
@@ -492,7 +492,7 @@ const SleepWakeUpPage = (props: { theme?: ThemeType }) => {
|
|
|
492
492
|
isMax: isWakeUpMax
|
|
493
493
|
},
|
|
494
494
|
]}
|
|
495
|
-
onItemPress={(isSleep) => onAddScheduleDialogItemClick(isSleep, 'add', getNewSleepWakeUp(isSleep, params
|
|
495
|
+
onItemPress={(isSleep) => onAddScheduleDialogItemClick(isSleep, 'add', getNewSleepWakeUp(isSleep, params))}
|
|
496
496
|
/>
|
|
497
497
|
</>
|
|
498
498
|
)
|
|
@@ -411,7 +411,7 @@ const TimeScheduleDetailPage = (props: { theme?: ThemeType }) => {
|
|
|
411
411
|
>
|
|
412
412
|
<Image
|
|
413
413
|
style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }}
|
|
414
|
-
source={res.ic_arrows_nav_clear}
|
|
414
|
+
source={{ uri: res.ic_arrows_nav_clear}}
|
|
415
415
|
/>
|
|
416
416
|
</TouchableOpacity>
|
|
417
417
|
)}
|
|
@@ -432,7 +432,7 @@ const TimeScheduleDetailPage = (props: { theme?: ThemeType }) => {
|
|
|
432
432
|
<Text style={{ color: props.theme?.global.fontColor, fontSize: cx(12) }}>{item.key}</Text>
|
|
433
433
|
<Image
|
|
434
434
|
style={{ width: cx(16), height: cx(16), tintColor: props.theme?.global.fontColor }}
|
|
435
|
-
source={res.device_panel_timer_add}
|
|
435
|
+
source={{ uri: res.device_panel_timer_add}}
|
|
436
436
|
/>
|
|
437
437
|
</TouchableOpacity>
|
|
438
438
|
);
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BiorhythmBean } from './BiorhythmBean';
|
|
2
|
-
import { Result } from '@ledvance/base/src/models/modules/Result';
|
|
3
|
-
type UseBiorhythmType = (dpKey: string) => [BiorhythmBean, SetBiorhythmType];
|
|
4
|
-
type SetBiorhythmType = (deviceId: string, biorhythmObj: BiorhythmBean) => Promise<Result<any>>;
|
|
5
|
-
export declare const useBiorhythm: UseBiorhythmType;
|
|
6
|
-
export declare const userOperation: (deviceId: string, value: boolean) => Promise<any>;
|
|
7
|
-
export declare function dp2Obj(dp: string): BiorhythmBean;
|
|
8
|
-
export {};
|