@ledvance/ui-biz-bundle 1.1.55 → 1.1.57

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 (70) hide show
  1. package/package.json +2 -1
  2. package/src/modules/biorhythm/Router.ts +34 -0
  3. package/src/modules/fixedTime/Router.ts +26 -0
  4. package/src/modules/flags/FlagActions.ts +12 -4
  5. package/src/modules/flags/FlagPage.tsx +31 -11
  6. package/src/modules/flags/Router.ts +25 -0
  7. package/src/modules/history/Router.ts +16 -0
  8. package/src/modules/mood/FantasyRouter.ts +35 -0
  9. package/src/modules/mood/MixMood/Router.ts +44 -0
  10. package/src/modules/mood/Router.ts +53 -0
  11. package/src/modules/music/Router.ts +16 -0
  12. package/src/modules/powerOnBehavior/Router.ts +16 -0
  13. package/src/modules/randomTime/Router.ts +25 -0
  14. package/src/modules/sleepWakeup/Router.ts +25 -0
  15. package/src/modules/timeSchedule/Router.ts +25 -0
  16. package/src/modules/timer/Router.ts +16 -0
  17. package/src/navigation/Routers.d.ts +0 -7
  18. package/src/navigation/Routers.ts +15 -304
  19. package/src/newModules/childLock/ChildLockPage.tsx +97 -0
  20. package/src/newModules/childLock/Router.ts +16 -0
  21. package/src/newModules/energyConsumption/EnergyConsumptionActions.ts +23 -0
  22. package/src/newModules/energyConsumption/EnergyConsumptionChart.tsx +84 -0
  23. package/src/newModules/energyConsumption/EnergyConsumptionDetail.tsx +321 -0
  24. package/src/newModules/energyConsumption/EnergyConsumptionPage.tsx +392 -0
  25. package/src/newModules/energyConsumption/Router.ts +34 -0
  26. package/src/newModules/energyConsumption/co2Data.ts +23655 -0
  27. package/src/newModules/energyConsumption/component/BarChart.tsx +93 -0
  28. package/src/newModules/energyConsumption/component/EnergyModal.tsx +282 -0
  29. package/src/newModules/energyConsumption/component/Overview.tsx +116 -0
  30. package/src/newModules/fixedTime/FixedTimeActions.ts +234 -0
  31. package/src/newModules/fixedTime/FixedTimeDetailPage.tsx +341 -0
  32. package/src/newModules/fixedTime/FixedTimePage.tsx +231 -0
  33. package/src/newModules/fixedTime/Router.ts +25 -0
  34. package/src/newModules/lightMode/LightModePage.tsx +204 -0
  35. package/src/newModules/lightMode/Router.ts +16 -0
  36. package/src/newModules/mood/AddMoodPage.tsx +178 -0
  37. package/src/newModules/mood/DynamicMoodEditorPage.tsx +653 -0
  38. package/src/newModules/mood/Interface.ts +219 -0
  39. package/src/newModules/mood/MixDynamicMoodEditor.tsx +781 -0
  40. package/src/newModules/mood/MoodActions.ts +235 -0
  41. package/src/newModules/mood/MoodInfo.ts +2151 -0
  42. package/src/newModules/mood/MoodItem.tsx +148 -0
  43. package/src/newModules/mood/MoodPage.tsx +385 -0
  44. package/src/newModules/mood/MoodParse.ts +442 -0
  45. package/src/newModules/mood/RecommendMoodItem.tsx +68 -0
  46. package/src/newModules/mood/Router.ts +53 -0
  47. package/src/newModules/mood/StaticMoodEditorPage.tsx +343 -0
  48. package/src/newModules/mood/tools.ts +12 -0
  49. package/src/newModules/overchargeSwitch/OverchargeSwitchPage.tsx +96 -0
  50. package/src/newModules/overchargeSwitch/Router.ts +16 -0
  51. package/src/newModules/powerOnBehavior/LightBehaviorPage.tsx +266 -0
  52. package/src/newModules/powerOnBehavior/PlugBehaviorPage.tsx +173 -0
  53. package/src/newModules/powerOnBehavior/PowerOnBehaviorActions.ts +106 -0
  54. package/src/newModules/powerOnBehavior/Router.ts +16 -0
  55. package/src/newModules/randomTime/RandomTimeActions.ts +232 -0
  56. package/src/newModules/randomTime/RandomTimeDetailPage.tsx +322 -0
  57. package/src/newModules/randomTime/RandomTimePage.tsx +230 -0
  58. package/src/newModules/randomTime/Router.ts +25 -0
  59. package/src/newModules/randomTime/Summary.tsx +116 -0
  60. package/src/newModules/swithInching/Router.ts +16 -0
  61. package/src/newModules/swithInching/SwithInching.tsx +231 -0
  62. package/src/newModules/swithInching/SwithInchingAction.ts +55 -0
  63. package/src/newModules/swithInching/pickerView.tsx +91 -0
  64. package/src/newModules/timeSchedule/Interface.ts +111 -0
  65. package/src/newModules/timeSchedule/Router.ts +25 -0
  66. package/src/newModules/timeSchedule/TimeScheduleActions.ts +53 -0
  67. package/src/newModules/timeSchedule/TimeScheduleDetailPage.tsx +662 -0
  68. package/src/newModules/timeSchedule/TimeSchedulePage.tsx +222 -0
  69. package/src/newModules/timeSchedule/components/ManuaSettings.tsx +259 -0
  70. package/src/newModules/timeSchedule/components/ScheduleCard.tsx +109 -0
package/package.json CHANGED
@@ -4,10 +4,11 @@
4
4
  "name": "@ledvance/ui-biz-bundle",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.1.55",
7
+ "version": "1.1.57",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
11
+ "@ledvance/react-native-echarts-pro": "^1.x",
11
12
  "@reduxjs/toolkit": "^1.8.6",
12
13
  "@tuya/tuya-panel-api": "^1.12.0",
13
14
  "@tuya/tuya-panel-lamp-sdk": "^1.14.1",
@@ -0,0 +1,34 @@
1
+ import {NavigationRoute} from "tuya-panel-kit";
2
+ import BiorhythmPage from "./BiorhythmPage";
3
+ import BiorhythmEditPage from "./BiorhythmEditPage";
4
+ import BiologicalIconSelectPage from "./IconSelect";
5
+ import {ui_biz_routerKey} from "../../navigation/Routers";
6
+
7
+ const BiologicalRouters: NavigationRoute[] = [
8
+ {
9
+ name: ui_biz_routerKey.bi_biz_biological,
10
+ component: BiorhythmPage,
11
+ options: {
12
+ hideTopbar: true,
13
+ showOfflineView: false,
14
+ },
15
+ },
16
+ {
17
+ name: ui_biz_routerKey.bi_biz_biological_edit,
18
+ component: BiorhythmEditPage,
19
+ options: {
20
+ hideTopbar: true,
21
+ showOfflineView: false,
22
+ },
23
+ },
24
+ {
25
+ name: ui_biz_routerKey.bi_biz_biological_icon_select,
26
+ component: BiologicalIconSelectPage,
27
+ options: {
28
+ hideTopbar: true,
29
+ showOfflineView: false,
30
+ },
31
+ },
32
+ ]
33
+
34
+ export default BiologicalRouters
@@ -0,0 +1,26 @@
1
+ import {NavigationRoute} from "tuya-panel-kit";
2
+ import {ui_biz_routerKey} from "../../navigation/Routers";
3
+ import FixedTimePage from "./FixedTimePage";
4
+ import FixedTimeDetailPage from "./FixedTimeDetailPage";
5
+
6
+ export const FixedTimePageRouters: NavigationRoute[] = [
7
+ {
8
+ name: ui_biz_routerKey.ui_biz_fixed_time,
9
+ component: FixedTimePage,
10
+ options: {
11
+ hideTopbar: true,
12
+ showOfflineView: false,
13
+ },
14
+ },
15
+ {
16
+ name: ui_biz_routerKey.ui_biz_fixed_time_edit,
17
+ component: FixedTimeDetailPage,
18
+ options: {
19
+ hideTopbar: true,
20
+ showOfflineView: false,
21
+ },
22
+ }
23
+ ]
24
+
25
+
26
+ export default FixedTimePageRouters
@@ -2,8 +2,7 @@ import { useDps } from "@ledvance/base/src/models/modules/NativePropsSlice";
2
2
  import { FlagPageProps } from "./FlagPage";
3
3
  import { SceneNodeTransitionMode } from "@ledvance/ui-biz-bundle/src/modules/scene/SceneInfo";
4
4
  import { WORK_MODE, nToHS, parseJSON, toFixed } from "@tuya/tuya-panel-lamp-sdk/lib/utils";
5
- import { cloneDeep } from "lodash";
6
- import { FlagItemInfo, FlagUiInfo, defFlagList, def2FlagList, def3FlagList } from "./FlagInfo";
5
+ import { FlagItemInfo, FlagUiInfo, defFlagList } from "./FlagInfo";
7
6
  import { hex2Int } from "@ledvance/base/src/utils/common";
8
7
  import { spliceByStep } from "@ledvance/base/src/utils/common";
9
8
  import { useMemo, useState } from "react";
@@ -222,7 +221,16 @@ export function dp2Obj(dp: string, option?: FlagOption): FlagItemInfo | undefine
222
221
 
223
222
  }
224
223
 
225
- export async function getRemoteFlag(devId: string) {
224
+ export async function getRemoteFlag(devId: string, isRefresh?: boolean) {
225
+ if (isRefresh){
226
+ const res = await NativeApi.putJson(devId, featureId, JSON.stringify(defFlagList))
227
+ if (res.success){
228
+ return {
229
+ success: true,
230
+ data: defFlagList
231
+ }
232
+ }
233
+ }
226
234
  const res = await NativeApi.getJson(devId, featureId)
227
235
  const isNormalData = Array.isArray(parseJSON(res?.data))
228
236
  if (res.success && isNormalData) {
@@ -236,7 +244,7 @@ export async function getRemoteFlag(devId: string) {
236
244
  if (res.success) {
237
245
  return {
238
246
  success: true,
239
- data: cloneDeep(defFlagList)
247
+ data: defFlagList
240
248
  }
241
249
  }
242
250
  return { success: false }
@@ -1,7 +1,7 @@
1
1
  import React, { useEffect, useMemo } from "react";
2
2
  import Page from "@ledvance/base/src/components/Page";
3
3
  import { useDeviceId, useDeviceInfo, useFlagMode, useFlags, useMoods } from "@ledvance/base/src/models/modules/NativePropsSlice";
4
- import { FlatList } from "react-native";
4
+ import { FlatList, Image, TouchableOpacity, View } from "react-native";
5
5
  import Spacer from "@ledvance/base/src/components/Spacer";
6
6
  import { Utils } from "tuya-panel-kit";
7
7
  import FlagItem from "./FlagItem";
@@ -19,6 +19,7 @@ import { Result } from "@ledvance/base/src/models/modules/Result";
19
19
  import { useDps } from "@ledvance/base/src/models/modules/NativePropsSlice";
20
20
  import { ColorUtils, WORK_MODE } from "@tuya/tuya-panel-lamp-sdk/lib/utils";
21
21
  import TextField from "@ledvance/base/src/components/TextField";
22
+ import { showDialog } from "@ledvance/base/src/utils/common";
22
23
  const cx = Utils.RatioUtils.convertX
23
24
 
24
25
  export interface FlagPageProps {
@@ -108,8 +109,8 @@ const FlagPage = () => {
108
109
  state.flags = state.searchText !== '' ? cloneDeep(flags).filter(flag => flag.name.includes(state.searchText)) : cloneDeep(flags)
109
110
  }, [state.searchText, flags])
110
111
 
111
- const getRemoteFlagInfo = async () => {
112
- const res = await getRemoteFlag(devInfo.devId)
112
+ const getRemoteFlagInfo = async (isRefresh?: boolean) => {
113
+ const res = await getRemoteFlag(devInfo.devId, isRefresh)
113
114
  if (res.success) {
114
115
  let cloneFlag: FlagUiInfo[] = cloneDeep(res.data) || []
115
116
  state.flags = cloneFlag
@@ -212,14 +213,33 @@ const FlagPage = () => {
212
213
  }
213
214
  }}
214
215
  >
215
- <TextField
216
- value={state.searchText}
217
- onChangeText={text => {
218
- state.searchText = text
219
- }}
220
- placeholder={I18n.getLang('country_selection_textfield_headline_search')}
221
- style={{ marginHorizontal: cx(24) }}
222
- />
216
+ <View style={{flexDirection: 'row', display: 'flex', alignItems: 'center'}}>
217
+ <TextField
218
+ value={state.searchText}
219
+ onChangeText={text => {
220
+ state.searchText = text
221
+ }}
222
+ placeholder={I18n.getLang('country_selection_textfield_headline_search')}
223
+ style={{ marginHorizontal: cx(24), flex: 1 }}
224
+ />
225
+ <TouchableOpacity style={{paddingRight: cx(24)}}
226
+ onPress={() =>{
227
+ showDialog({
228
+ method: 'confirm',
229
+ title: I18n.getLang('flag_resetbutton'),
230
+ subTitle: I18n.getLang('flag_resetdescription'),
231
+ onConfirm: async (_, {close}) =>{
232
+ close()
233
+ state.loading = true
234
+ await getRemoteFlagInfo(true)
235
+ state.loading = false
236
+ }
237
+ })
238
+ }}
239
+ >
240
+ <Image source={res.ic_refresh} style={{width: cx(24), height: cx(24)}}/>
241
+ </TouchableOpacity>
242
+ </View>
223
243
  <FlatList
224
244
  data={state.flags}
225
245
  renderItem={({ item }) => <FlagItem
@@ -0,0 +1,25 @@
1
+ import {NavigationRoute} from "tuya-panel-kit";
2
+ import FlagPage from "./FlagPage";
3
+ import FlagEditPage from "./FlagEditPage";
4
+ import {ui_biz_routerKey} from "../../navigation/Routers";
5
+
6
+ const FlagPageRouters: NavigationRoute[] = [
7
+ {
8
+ name: ui_biz_routerKey.ui_biz_flag_page,
9
+ component: FlagPage,
10
+ options: {
11
+ hideTopbar: true,
12
+ showOfflineView: false,
13
+ }
14
+ },
15
+ {
16
+ name: ui_biz_routerKey.ui_biz_flag_page_edit,
17
+ component: FlagEditPage,
18
+ options: {
19
+ hideTopbar: true,
20
+ showOfflineView: false,
21
+ }
22
+ },
23
+ ]
24
+
25
+ export default FlagPageRouters
@@ -0,0 +1,16 @@
1
+ import {NavigationRoute} from "tuya-panel-kit";
2
+ import HistoryPage from "./HistoryPage";
3
+ import {ui_biz_routerKey} from "../../navigation/Routers";
4
+
5
+ const HistoryPageRouters: NavigationRoute[] = [
6
+ {
7
+ name: ui_biz_routerKey.ui_biz_history,
8
+ component: HistoryPage,
9
+ options: {
10
+ hideTopbar: true,
11
+ showOfflineView: false,
12
+ }
13
+ }
14
+ ]
15
+
16
+ export default HistoryPageRouters
@@ -0,0 +1,35 @@
1
+ import {NavigationRoute, TransitionPresets} from "tuya-panel-kit";
2
+ import FantasyMoodPage from "./FantasyMood";
3
+ import FantasyMoodEditPage from "./FantasyMoodEditPage";
4
+ import SelectPage from "../select/SelectPage";
5
+ import {ui_biz_routerKey} from "../../navigation/Routers";
6
+
7
+ const FantasyMoodRouters: NavigationRoute[] = [
8
+ {
9
+ name: ui_biz_routerKey.ui_biz_fantasy_mood,
10
+ component: FantasyMoodPage,
11
+ options: {
12
+ hideTopbar: true,
13
+ showOfflineView: false,
14
+ },
15
+ },
16
+ {
17
+ name: ui_biz_routerKey.ui_biz_fantasy_mood_edit,
18
+ component: FantasyMoodEditPage,
19
+ options: {
20
+ hideTopbar: true,
21
+ showOfflineView: false,
22
+ },
23
+ },
24
+ {
25
+ name: ui_biz_routerKey.ui_biz_select_page,
26
+ component: SelectPage,
27
+ options: {
28
+ gesture: true,
29
+ hideTopbar: true,
30
+ ...TransitionPresets.ModalPresentationIOS,
31
+ },
32
+ },
33
+ ]
34
+
35
+ export default FantasyMoodRouters
@@ -0,0 +1,44 @@
1
+ import {NavigationRoute, TransitionPresets} from "tuya-panel-kit";
2
+ import MixMoodPage from "./MixMoodPage";
3
+ import MixMoodEditPage from "./MixMoodEditPage";
4
+ import AddMixMoodPage from "./AddMixMoodPage";
5
+ import SelectPage from "../../select/SelectPage";
6
+ import {ui_biz_routerKey} from "../../../navigation/Routers";
7
+
8
+ const MixMoodRouters: NavigationRoute[] = [
9
+ {
10
+ name: ui_biz_routerKey.ui_biz_mix_mood,
11
+ component: MixMoodPage,
12
+ options: {
13
+ hideTopbar: true,
14
+ showOfflineView: false,
15
+ }
16
+ },
17
+ {
18
+ name: ui_biz_routerKey.ui_biz_mix_mood_edit,
19
+ component: MixMoodEditPage,
20
+ options: {
21
+ hideTopbar: true,
22
+ showOfflineView: false,
23
+ },
24
+ },
25
+ {
26
+ name: ui_biz_routerKey.ui_biz_mix_mood_add,
27
+ component: AddMixMoodPage,
28
+ options: {
29
+ hideTopbar: true,
30
+ showOfflineView: false,
31
+ },
32
+ },
33
+ {
34
+ name: ui_biz_routerKey.ui_biz_select_page,
35
+ component: SelectPage,
36
+ options: {
37
+ gesture: true,
38
+ hideTopbar: true,
39
+ ...TransitionPresets.ModalPresentationIOS,
40
+ },
41
+ },
42
+ ]
43
+
44
+ export default MixMoodRouters
@@ -0,0 +1,53 @@
1
+ import {NavigationRoute, TransitionPresets} from "tuya-panel-kit";
2
+ import DynamicMoodEditorPage from "./DynamicMoodEditorPage";
3
+ import StaticMoodEditorPage from "./StaticMoodEditorPage";
4
+ import AddMoodPage from "./AddMoodPage";
5
+ import MoodPage from "./MoodPage";
6
+ import SelectPage from "../select/SelectPage";
7
+ import {ui_biz_routerKey} from "../../navigation/Routers";
8
+
9
+ const MoodPageRouters: NavigationRoute[] = [
10
+ {
11
+ name: ui_biz_routerKey.ui_biz_dynamic_mood_edit,
12
+ component: DynamicMoodEditorPage,
13
+ options: {
14
+ hideTopbar: true,
15
+ showOfflineView: false,
16
+ },
17
+ },
18
+ {
19
+ name: ui_biz_routerKey.ui_biz_static_mood_edit,
20
+ component: StaticMoodEditorPage,
21
+ options: {
22
+ hideTopbar: true,
23
+ showOfflineView: false,
24
+ },
25
+ },
26
+ {
27
+ name: ui_biz_routerKey.ui_biz_mood_add,
28
+ component: AddMoodPage,
29
+ options: {
30
+ hideTopbar: true,
31
+ showOfflineView: false,
32
+ },
33
+ },
34
+ {
35
+ name: ui_biz_routerKey.ui_biz_mood,
36
+ component: MoodPage,
37
+ options: {
38
+ hideTopbar: true,
39
+ showOfflineView: false,
40
+ },
41
+ },
42
+ {
43
+ name: ui_biz_routerKey.ui_biz_select_page,
44
+ component: SelectPage,
45
+ options: {
46
+ gesture: true,
47
+ hideTopbar: true,
48
+ ...TransitionPresets.ModalPresentationIOS,
49
+ },
50
+ },
51
+ ]
52
+
53
+ export default MoodPageRouters
@@ -0,0 +1,16 @@
1
+ import {NavigationRoute} from "tuya-panel-kit";
2
+ import MusicPage from "./MusicPage";
3
+ import {ui_biz_routerKey} from "../../navigation/Routers";
4
+
5
+ const MusicPageRouters: NavigationRoute[] = [
6
+ {
7
+ name: ui_biz_routerKey.ui_biz_music,
8
+ component: MusicPage,
9
+ options: {
10
+ hideTopbar: true,
11
+ showOfflineView: false,
12
+ },
13
+ },
14
+ ]
15
+
16
+ export default MusicPageRouters
@@ -0,0 +1,16 @@
1
+ import {NavigationRoute} from "tuya-panel-kit";
2
+ import PowerOnBehaviorPage from "./PowerOnBehaviorPage";
3
+ import {ui_biz_routerKey} from "../../navigation/Routers";
4
+
5
+ const PowerOnBehaviorPageRouters: NavigationRoute[] = [
6
+ {
7
+ name: ui_biz_routerKey.ui_biz_power_behavior,
8
+ component: PowerOnBehaviorPage,
9
+ options: {
10
+ hideTopbar: true,
11
+ showOfflineView: false,
12
+ }
13
+ }
14
+ ]
15
+
16
+ export default PowerOnBehaviorPageRouters
@@ -0,0 +1,25 @@
1
+ import {NavigationRoute} from "tuya-panel-kit";
2
+ import RandomTimePage from "./RandomTimePage";
3
+ import RandomTimeDetailPage from "./RandomTimeDetailPage";
4
+ import {ui_biz_routerKey} from "../../navigation/Routers";
5
+
6
+ const RandomTimePageRouters: NavigationRoute[] = [
7
+ {
8
+ name: ui_biz_routerKey.ui_biz_random_time,
9
+ component: RandomTimePage,
10
+ options: {
11
+ hideTopbar: true,
12
+ showOfflineView: false,
13
+ },
14
+ },
15
+ {
16
+ name: ui_biz_routerKey.ui_biz_random_time_edit,
17
+ component: RandomTimeDetailPage,
18
+ options: {
19
+ hideTopbar: true,
20
+ showOfflineView: false,
21
+ },
22
+ }
23
+ ]
24
+
25
+ export default RandomTimePageRouters
@@ -0,0 +1,25 @@
1
+ import {NavigationRoute} from "tuya-panel-kit";
2
+ import SleepWakeUpPage from "./SleepWakeUpPage";
3
+ import SleepWakeUpDetailPage from "./SleepWakeUpDetailPage";
4
+ import {ui_biz_routerKey} from "../../navigation/Routers";
5
+
6
+ const SleepWakeUpPageRouters: NavigationRoute[] = [
7
+ {
8
+ name: ui_biz_routerKey.ui_biz_sleep_wakeUp,
9
+ component: SleepWakeUpPage,
10
+ options: {
11
+ hideTopbar: true,
12
+ showOfflineView: false,
13
+ },
14
+ },
15
+ {
16
+ name: ui_biz_routerKey.ui_biz_sleep_wakeUp_edit,
17
+ component: SleepWakeUpDetailPage,
18
+ options: {
19
+ hideTopbar: true,
20
+ showOfflineView: false,
21
+ },
22
+ },
23
+ ]
24
+
25
+ export default SleepWakeUpPageRouters
@@ -0,0 +1,25 @@
1
+ import {NavigationRoute} from "tuya-panel-kit";
2
+ import TimeSchedulePage from "./TimeSchedulePage";
3
+ import TimeScheduleEditPage from "./TimeScheduleEditpage";
4
+ import {ui_biz_routerKey} from "../../navigation/Routers";
5
+
6
+ const TimeSchedulePageRouters: NavigationRoute[] = [
7
+ {
8
+ name: ui_biz_routerKey.ui_biz_time_schedule,
9
+ component: TimeSchedulePage,
10
+ options: {
11
+ hideTopbar: true,
12
+ showOfflineView: false,
13
+ },
14
+ },
15
+ {
16
+ name: ui_biz_routerKey.ui_biz_time_schedule_edit,
17
+ component: TimeScheduleEditPage,
18
+ options: {
19
+ hideTopbar: true,
20
+ showOfflineView: false,
21
+ },
22
+ },
23
+ ]
24
+
25
+ export default TimeSchedulePageRouters
@@ -0,0 +1,16 @@
1
+ import {NavigationRoute} from "tuya-panel-kit";
2
+ import TimerPage from "./TimerPage";
3
+ import {ui_biz_routerKey} from "../../navigation/Routers";
4
+
5
+ const TimerPageRouters: NavigationRoute[] = [
6
+ {
7
+ name: ui_biz_routerKey.ui_biz_timer,
8
+ component: TimerPage,
9
+ options: {
10
+ hideTopbar: true,
11
+ showOfflineView: false,
12
+ },
13
+ },
14
+ ]
15
+
16
+ export default TimerPageRouters
@@ -1,4 +1,3 @@
1
- import { NavigationRoute } from 'tuya-panel-kit';
2
1
  export declare const ui_biz_routerKey: {
3
2
  ui_biz_time_schedule: string;
4
3
  ui_biz_time_schedule_edit: string;
@@ -14,9 +13,3 @@ export declare const ui_biz_routerKey: {
14
13
  ui_biz_sleep_wakeUp_edit: string;
15
14
  ui_biz_music: string;
16
15
  };
17
- export declare const BiologicalRouters: NavigationRoute[];
18
- export declare const TimeSchedulePageRouters: NavigationRoute[];
19
- export declare const MoodPageRouters: NavigationRoute[];
20
- export declare const TimerPageRouters: NavigationRoute[];
21
- export declare const SleepWakeUpPageRouters: NavigationRoute[];
22
- export declare const MusicPageRouters: NavigationRoute[];