@ledvance/ui-biz-bundle 1.1.90 → 1.1.91

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 (38) hide show
  1. package/package.json +1 -1
  2. package/src/modules/flags/FlagEditPage.tsx +180 -179
  3. package/src/modules/flags/FlagItem.tsx +26 -42
  4. package/src/modules/flags/FlagPage.tsx +27 -26
  5. package/src/modules/history/HistoryPage.tsx +111 -103
  6. package/src/modules/music/MusicPage.tsx +90 -88
  7. package/src/modules/timer/TimerPage.tsx +13 -9
  8. package/src/newModules/biorhythm/BiorhythmEditPage.tsx +54 -54
  9. package/src/newModules/biorhythm/BiorhythmPage.tsx +163 -162
  10. package/src/newModules/biorhythm/IconSelect.tsx +5 -4
  11. package/src/newModules/childLock/ChildLockPage.tsx +49 -47
  12. package/src/newModules/energyConsumption/component/EnergyModal.tsx +2 -2
  13. package/src/newModules/fixedTime/FixedTimeDetailPage.tsx +127 -124
  14. package/src/newModules/fixedTime/FixedTimePage.tsx +108 -104
  15. package/src/newModules/lightMode/LightModePage.tsx +74 -67
  16. package/src/newModules/mood/AddMoodPage.tsx +18 -15
  17. package/src/newModules/mood/DynamicMoodEditorPage.tsx +103 -100
  18. package/src/newModules/mood/MixDynamicMoodEditor.tsx +107 -104
  19. package/src/newModules/mood/MoodItem.tsx +59 -55
  20. package/src/newModules/mood/MoodPage.tsx +58 -57
  21. package/src/newModules/mood/RecommendMoodItem.tsx +27 -24
  22. package/src/newModules/mood/StaticMoodEditorPage.tsx +77 -85
  23. package/src/newModules/overchargeSwitch/OverchargeSwitchPage.tsx +36 -48
  24. package/src/newModules/powerOnBehavior/LightBehaviorPage.tsx +137 -135
  25. package/src/newModules/powerOnBehavior/PlugBehaviorPage.tsx +67 -61
  26. package/src/newModules/randomTime/RandomTimeDetailPage.tsx +114 -151
  27. package/src/newModules/randomTime/RandomTimePage.tsx +110 -105
  28. package/src/newModules/randomTime/Summary.tsx +61 -57
  29. package/src/newModules/remoteControl/RemoteControlPage.tsx +4 -3
  30. package/src/newModules/select/SelectPage.tsx +65 -62
  31. package/src/newModules/sleepWakeUp/SleepWakeUpActions.ts +16 -8
  32. package/src/newModules/sleepWakeUp/SleepWakeUpDetailPage.tsx +131 -123
  33. package/src/newModules/sleepWakeUp/SleepWakeUpPage.tsx +144 -140
  34. package/src/newModules/switchGradient/SwitchGradientPage.tsx +24 -25
  35. package/src/newModules/swithInching/SwithInching.tsx +154 -152
  36. package/src/newModules/timeSchedule/TimeScheduleDetailPage.tsx +83 -83
  37. package/src/newModules/timeSchedule/components/ManuaSettings.tsx +3 -2
  38. package/src/newModules/swithInching/pickerView.tsx +0 -91
@@ -33,6 +33,7 @@ import Summary from '@ledvance/base/src/components/Summary';
33
33
  import { getEndTime, getStartTime } from './SleepWakeUpActions'
34
34
 
35
35
  const { convertX: cx } = Utils.RatioUtils;
36
+ const { withTheme } = Utils.ThemeUtils
36
37
  const { toFixedString } = Utils.NumberUtils;
37
38
  const {parseTimer} = Utils.TimeUtils
38
39
 
@@ -47,17 +48,17 @@ interface SleepWakeUpDetailPageProps extends SleepWakeUpPageRouteParams {
47
48
  ) => Promise<Result<any>>;
48
49
  }
49
50
 
50
- const SleepWakeUpDetailPage = () => {
51
+ const SleepWakeUpDetailPage = (props: { theme?: any }) => {
51
52
  const navigation = useNavigation();
52
- const props = useParams<SleepWakeUpDetailPageProps>();
53
+ const params = useParams<SleepWakeUpDetailPageProps>();
53
54
  const is24HourClock = useSystemTimeFormate();
54
55
  const state = useReactive({
55
- sleepWakeUp: cloneDeep(props.scheduleItem) as WakeUpUIItem,
56
+ sleepWakeUp: cloneDeep(params.scheduleItem) as WakeUpUIItem,
56
57
  loading: false,
57
58
  });
58
59
 
59
60
  useEffect(() => {
60
- if (props.mode !== 'edit') return;
61
+ if (params.mode !== 'edit') return;
61
62
  if (state.sleepWakeUp.isColorMode) {
62
63
  state.sleepWakeUp.brightness = 100;
63
64
  } else {
@@ -107,15 +108,15 @@ const SleepWakeUpDetailPage = () => {
107
108
  brightness: isColorMode ? 0 : brightness,
108
109
  temperature: isColorMode ? 0 : temperature,
109
110
  };
110
- return isEqual(props.scheduleItem, props.mode === 'add' ? state.sleepWakeUp : currentSleepWakeUp);
111
- }, [props.scheduleItem, JSON.stringify(state.sleepWakeUp), props.mode])
111
+ return isEqual(params.scheduleItem, params.mode === 'add' ? state.sleepWakeUp : currentSleepWakeUp);
112
+ }, [params.scheduleItem, JSON.stringify(state.sleepWakeUp), params.mode])
112
113
 
113
114
  const canSubmit = useMemo(() => {
114
115
  return state.sleepWakeUp.name?.length > 0 && state.sleepWakeUp.name?.length < 33 && !checkItemChanged
115
116
  }, [state.sleepWakeUp.name, checkItemChanged]);
116
117
 
117
118
  const mixLightCard = useMemo(() => {
118
- const applyList = props.applyForList.map(item => {
119
+ const applyList = params.applyForList.map(item => {
119
120
  if (item.type === 'mainLight' && state.sleepWakeUp.isColorMode) {
120
121
  return {
121
122
  ...item,
@@ -130,6 +131,7 @@ const SleepWakeUpDetailPage = () => {
130
131
  }
131
132
  return item;
132
133
  });
134
+
133
135
  return (
134
136
  <View>
135
137
  {applyList.map(item => (
@@ -137,7 +139,7 @@ const SleepWakeUpDetailPage = () => {
137
139
  <Card style={{ marginHorizontal: cx(24) }}>
138
140
  <LdvSwitch
139
141
  title={item.key}
140
- color={'#fff'}
142
+ color={props.theme.card.background}
141
143
  colorAlpha={1}
142
144
  enable={
143
145
  item.type === 'mainLight'
@@ -151,8 +153,8 @@ const SleepWakeUpDetailPage = () => {
151
153
  {item.type === 'mainLight' && !state.sleepWakeUp.isColorMode ? (
152
154
  <View>
153
155
  <ColorTempAdjustView
154
- isSupportBrightness={!!props.isSupportBrightness}
155
- isSupportTemperature={!!props.isSupportTemperature}
156
+ isSupportBrightness={!!params.isSupportBrightness}
157
+ isSupportTemperature={!!params.isSupportTemperature}
156
158
  colorTemp={state.sleepWakeUp.temperature}
157
159
  brightness={state.sleepWakeUp.brightness}
158
160
  onBrightnessChangeComplete={bright => {
@@ -187,7 +189,81 @@ const SleepWakeUpDetailPage = () => {
187
189
  ))}
188
190
  </View>
189
191
  );
190
- }, [props.applyForList, JSON.stringify(state.sleepWakeUp)]);
192
+ }, [params.applyForList, JSON.stringify(state.sleepWakeUp)]);
193
+
194
+
195
+ const styles = StyleSheet.create({
196
+ cardContainer: {
197
+ marginHorizontal: cx(24),
198
+ },
199
+ textField: {
200
+ marginHorizontal: cx(24),
201
+ },
202
+ picker: {
203
+ marginHorizontal: cx(24),
204
+ marginVertical: cx(15),
205
+ color: props.theme.global.backgournd,
206
+ },
207
+ week: {},
208
+ itemTitle: {
209
+ color: props.theme.global.fontColor,
210
+ fontSize: cx(16),
211
+ fontWeight: 'bold',
212
+ fontFamily: 'helvetica_neue_lt_std_bd',
213
+ marginBottom: cx(10),
214
+ },
215
+ skillListItem: {
216
+ flexDirection: 'row',
217
+ justifyContent: 'space-between',
218
+ height: cx(30),
219
+ alignItems: 'center',
220
+ marginVertical: cx(5),
221
+ },
222
+ summaryContainer: {
223
+ flexDirection: 'row',
224
+ justifyContent: 'flex-start',
225
+ marginBottom: cx(10),
226
+ marginHorizontal: cx(24),
227
+ },
228
+ summaryImg: {
229
+ height: cx(12),
230
+ width: cx(12),
231
+ tintColor: props.theme.global.fontColor,
232
+ },
233
+ summaryLeft: {
234
+ flexDirection: 'row',
235
+ alignItems: 'center',
236
+ minWidth: cx(90),
237
+ },
238
+ leftTitle: {
239
+ fontSize: cx(14),
240
+ color: props.theme.global.fontColor,
241
+ },
242
+ summaryRight: {
243
+ flexDirection: 'column',
244
+ marginLeft: cx(21),
245
+ borderRadius: cx(16),
246
+ backgroundColor: props.theme.tag.background,
247
+ },
248
+ rightItem: {
249
+ paddingHorizontal: cx(12),
250
+ color: props.theme.global.fontColor,
251
+ },
252
+ rightTitle: {
253
+ paddingLeft: cx(12),
254
+ paddingRight: cx(12),
255
+ fontSize: cx(10),
256
+ textAlign: 'center',
257
+ alignSelf: 'flex-start',
258
+ color: props.theme.tag.fontColor,
259
+ },
260
+ filletCorner: {
261
+ flexDirection: 'row',
262
+ backgroundColor: props.theme.tag.background,
263
+ borderRadius: cx(16),
264
+ alignSelf: 'flex-start',
265
+ },
266
+ })
191
267
 
192
268
  return (
193
269
  <Page
@@ -196,7 +272,7 @@ const SleepWakeUpDetailPage = () => {
196
272
  loading={state.loading}
197
273
  backDialogTitle={I18n.getLang('cancel_dialog_leave_unsaved_titel')}
198
274
  backDialogContent={I18n.getLang(
199
- props.isSleep
275
+ params.isSleep
200
276
  ? 'cancel_dialog_leave_unsaved_sleepschedule_note'
201
277
  : 'cancel_dialog_leave_unsaved_wakeupschedule_note'
202
278
  )}
@@ -213,8 +289,8 @@ const SleepWakeUpDetailPage = () => {
213
289
  state.sleepWakeUp.v = 0;
214
290
  }
215
291
  state.sleepWakeUp.enable = true
216
- const res = await props.modDeleteTimeSchedule(
217
- props.mode,
292
+ const res = await params.modDeleteTimeSchedule(
293
+ params.mode,
218
294
  state.sleepWakeUp.isSleep,
219
295
  state.sleepWakeUp
220
296
  );
@@ -224,11 +300,11 @@ const SleepWakeUpDetailPage = () => {
224
300
  }
225
301
  }}
226
302
  headlineText={I18n.getLang(
227
- props.isSleep
228
- ? props.mode === 'add'
303
+ params.isSleep
304
+ ? params.mode === 'add'
229
305
  ? 'add_sleepschedule_one_source_headline_text'
230
306
  : 'edit_sleepschedule_headline_text'
231
- : props.mode === 'add'
307
+ : params.mode === 'add'
232
308
  ? 'add_wakeupschedule_one_source_headline_text'
233
309
  : 'edit_wakeupschedule_headline_text'
234
310
  )}
@@ -252,7 +328,8 @@ const SleepWakeUpDetailPage = () => {
252
328
  {/* pick */}
253
329
  <TimerPicker
254
330
  itemTextColor="#aeadb5"
255
- style={{ paddingVertical: cx(0), marginVertical: cx(0) }}
331
+ style={{ paddingVertical: cx(0), marginVertical: cx(0), backgroundColor: props.theme.global.background }}
332
+ pickerFontColor={props.theme.global.fontColor}
256
333
  is12Hours={!is24HourClock}
257
334
  singlePicker={true}
258
335
  amText={I18n.getLang('manage_user_calendar_label_am')}
@@ -260,7 +337,9 @@ const SleepWakeUpDetailPage = () => {
260
337
  startTime={state.sleepWakeUp.time}
261
338
  symbol={''}
262
339
  onTimerChange={time => {
263
- state.sleepWakeUp.time = time
340
+ state.sleepWakeUp.time = time
341
+ state.sleepWakeUp.startTime = getStartTime(state.sleepWakeUp)
342
+ state.sleepWakeUp.endTime = getEndTime(state.sleepWakeUp)
264
343
  }}
265
344
  />
266
345
 
@@ -278,7 +357,9 @@ const SleepWakeUpDetailPage = () => {
278
357
  }}
279
358
  />
280
359
  <Spacer />
281
- <Text style={{ marginHorizontal: cx(24) }}>{loopText(state.sleepWakeUp.weeks, parseTimer(getEndTime(state.sleepWakeUp) * 60))}</Text>
360
+ <Text style={{ marginHorizontal: cx(24), color: props.theme.global.fontColor }}>
361
+ {loopText(state.sleepWakeUp.weeks, parseTimer(getEndTime(state.sleepWakeUp) * 60))}
362
+ </Text>
282
363
  <Spacer />
283
364
  </View>
284
365
 
@@ -289,7 +370,7 @@ const SleepWakeUpDetailPage = () => {
289
370
  </Text>
290
371
  <View
291
372
  style={{
292
- backgroundColor: '#f6f6f6',
373
+ backgroundColor: props.theme.container.background,
293
374
  borderRadius: 4,
294
375
  minHeight: cx(50),
295
376
  flex: 1,
@@ -303,20 +384,20 @@ const SleepWakeUpDetailPage = () => {
303
384
  borderRadius: 4,
304
385
  }}
305
386
  >
306
- {props.applyForList.map(apply => (
387
+ {params.applyForList.map(apply => (
307
388
  <View
308
389
  style={{
309
390
  flexDirection: 'row',
310
391
  justifyContent: 'space-between',
311
392
  alignItems: 'center',
312
- backgroundColor: '#fff',
393
+ backgroundColor: props.theme.global.background,
313
394
  marginBottom: cx(8),
314
395
  }}
315
- key={apply.dp}
396
+ key={`${apply.dp}-key`}
316
397
  >
317
398
  <Text
318
399
  style={{
319
- color: '#000',
400
+ color: props.theme.global.fontColor,
320
401
  fontSize: cx(14),
321
402
  marginHorizontal: cx(6),
322
403
  marginVertical: cx(9),
@@ -336,7 +417,7 @@ const SleepWakeUpDetailPage = () => {
336
417
  <Text style={[styles.itemTitle, styles.cardContainer]}>
337
418
  {I18n.getLang('timeschedule_add_schedule_subheadline2_text')}
338
419
  </Text>
339
- {props.isMixLight ? (
420
+ {params.isMixLight ? (
340
421
  mixLightCard
341
422
  ) : (
342
423
  <Card style={styles.cardContainer}>
@@ -349,9 +430,9 @@ const SleepWakeUpDetailPage = () => {
349
430
  setEnable={() => { }}
350
431
  />
351
432
  <LampAdjustView
352
- isSupportColor={!!props.isSupportColor}
353
- isSupportTemperature={!!props.isSupportTemperature}
354
- isSupportBrightness={!!props.isSupportBrightness}
433
+ isSupportColor={!!params.isSupportColor}
434
+ isSupportTemperature={!!params.isSupportTemperature}
435
+ isSupportBrightness={!!params.isSupportBrightness}
355
436
  isColorMode={state.sleepWakeUp.isColorMode}
356
437
  reserveSV={true}
357
438
  setIsColorMode={() => {
@@ -395,9 +476,9 @@ const SleepWakeUpDetailPage = () => {
395
476
  {I18n.getLang('timeschedule_add_schedule_subheadline4_text')}
396
477
  </Text>
397
478
  <Spacer />
398
- <Text>
479
+ <Text style={{color: props.theme.global.secondFontColor}}>
399
480
  {I18n.getLang(
400
- props.isSleep
481
+ params.isSleep
401
482
  ? 'add_sleepschedule_one_source_settings_text'
402
483
  : 'add_wakeupschedule_settings_text'
403
484
  )}
@@ -418,21 +499,21 @@ const SleepWakeUpDetailPage = () => {
418
499
  unit={['h', 'min']}
419
500
  maxHour={3}
420
501
  />
421
- <Text>
502
+ <Text style={{color: props.theme.global.secondFontColor}}>
422
503
  {I18n.formatValue(
423
- props.isSleep
504
+ params.isSleep
424
505
  ? 'add_sleepschedule_one_source_settings_text2'
425
506
  : 'add_wakeupschedule_settings_text2',
426
507
  `${convertMinutesTo12HourFormat(getStartTime(state.sleepWakeUp), is24HourClock)}`
427
508
  )}
428
509
  </Text>
429
510
  <Spacer />
430
- {!props.isSleep && (
511
+ {!params.isSleep && (
431
512
  <View style={{ marginHorizontal: -cx(16), marginTop: -cx(20) }}>
432
513
  <LdvSwitch
433
514
  title={I18n.getLang('add_wakeupschedule_settings_text3')}
434
515
  enable={state.sleepWakeUp.last > 0}
435
- color="#fff"
516
+ color={props.theme.global.background}
436
517
  colorAlpha={1}
437
518
  setEnable={v => {
438
519
  state.sleepWakeUp.last = v ? 1 : 0;
@@ -442,7 +523,7 @@ const SleepWakeUpDetailPage = () => {
442
523
  )}
443
524
  {state.sleepWakeUp.last > 0 && (
444
525
  <>
445
- <Text style={{ fontSize: cx(14) }}>
526
+ <Text style={{ fontSize: cx(14), color: props.theme.global.secondFontColor }}>
446
527
  {I18n.getLang('add_wakeupschedule_settings_text4')}
447
528
  </Text>
448
529
  <LdvPickerView
@@ -469,7 +550,7 @@ const SleepWakeUpDetailPage = () => {
469
550
  unit={['h', 'min']}
470
551
  maxHour={3}
471
552
  />
472
- <Text>
553
+ <Text style={{color: props.theme.global.secondFontColor}}>
473
554
  {I18n.formatValue(
474
555
  'add_wakeupschedule_settings_text5',
475
556
  `${convertMinutesTo12HourFormat(
@@ -484,24 +565,24 @@ const SleepWakeUpDetailPage = () => {
484
565
  </View>
485
566
  {/* Summary */}
486
567
  <Summary
487
- frequency={loopText(state.sleepWakeUp.weeks, parseTimer(getEndTime(state.sleepWakeUp) * 60))}
488
- time={`${convertMinutesTo12HourFormat(getStartTime(state.sleepWakeUp), is24HourClock)} - ${convertMinutesTo12HourFormat(getEndTime(state.sleepWakeUp), is24HourClock)}`}
568
+ frequency={loopText(state.sleepWakeUp.weeks, parseTimer(state.sleepWakeUp.endTime * 60))}
569
+ time={`${convertMinutesTo12HourFormat(state.sleepWakeUp.startTime, is24HourClock)} - ${convertMinutesTo12HourFormat(state.sleepWakeUp.endTime, is24HourClock)}`}
489
570
  actions={(
490
571
  <View>
491
- <Text style={{ fontSize: cx(12), color: '#000000' }}>
572
+ <Text style={{ fontSize: cx(12), color: props.theme.global.fontColor }}>
492
573
  {I18n.getLang(
493
- !props.isSleep ? 'feature_summary_action_txt_11' : 'feature_summary_action_txt_10'
574
+ !params.isSleep ? 'feature_summary_action_txt_11' : 'feature_summary_action_txt_10'
494
575
  )}
495
576
  </Text>
496
577
  <View style={styles.filletCorner}>
497
578
  <Text style={styles.rightTitle}>
498
- {props.isMixLight ? (state.sleepWakeUp.isColorMode ? props.applyForList[1].key : props.applyForList[0].key) : props.applyForList[0].key}
579
+ {params.isMixLight ? (state.sleepWakeUp.isColorMode ? params.applyForList[1].key : params.applyForList[0].key) : params.applyForList[0].key}
499
580
  </Text>
500
581
  </View>
501
582
  <Spacer height={cx(10)} />
502
- <Text style={{ fontSize: cx(12), color: '#000000' }}>
583
+ <Text style={{ fontSize: cx(12), color: props.theme.global.fontColor }}>
503
584
  {I18n.getLang(
504
- props.isSleep
585
+ params.isSleep
505
586
  ? 'feature_summary_action_txt_2'
506
587
  : state.sleepWakeUp.last
507
588
  ? 'feature_summary_action_txt_12'
@@ -511,7 +592,7 @@ const SleepWakeUpDetailPage = () => {
511
592
  <View style={styles.filletCorner}>
512
593
  <Text style={styles.rightTitle}>
513
594
  {convertMinutesTo12HourFormat(
514
- getEndTime(state.sleepWakeUp),
595
+ state.sleepWakeUp.endTime,
515
596
  is24HourClock
516
597
  )}
517
598
  </Text>
@@ -521,7 +602,7 @@ const SleepWakeUpDetailPage = () => {
521
602
  />
522
603
  <Spacer />
523
604
  {/* Delete btn */}
524
- {props.mode === 'edit' && (
605
+ {params.mode === 'edit' && (
525
606
  <View style={styles.cardContainer}>
526
607
  <DeleteButton
527
608
  text={I18n.getLang('edit_timeschedule_bttn_text')}
@@ -529,12 +610,12 @@ const SleepWakeUpDetailPage = () => {
529
610
  showDialog({
530
611
  method: 'confirm',
531
612
  title: I18n.getLang(
532
- props.isSleep
613
+ params.isSleep
533
614
  ? 'cancel_dialog_delete_item_sleepschedule_titel'
534
615
  : 'cancel_dialog_delete_item_wakeupschedule_titel'
535
616
  ),
536
617
  subTitle: I18n.getLang(
537
- props.isSleep
618
+ params.isSleep
538
619
  ? 'cancel_dialog_delete_item_sleepschedule_description'
539
620
  : 'cancel_dialog_delete_item_wakeupschedule_description'
540
621
  ),
@@ -542,7 +623,7 @@ const SleepWakeUpDetailPage = () => {
542
623
  close();
543
624
  if (state.loading) return;
544
625
  state.loading = true;
545
- const res = await props.modDeleteTimeSchedule(
626
+ const res = await params.modDeleteTimeSchedule(
546
627
  'del',
547
628
  state.sleepWakeUp.isSleep,
548
629
  state.sleepWakeUp
@@ -563,77 +644,4 @@ const SleepWakeUpDetailPage = () => {
563
644
  );
564
645
  };
565
646
 
566
- const styles = StyleSheet.create({
567
- cardContainer: {
568
- marginHorizontal: cx(24),
569
- },
570
- textField: {
571
- marginHorizontal: cx(24),
572
- },
573
- picker: {
574
- marginHorizontal: cx(24),
575
- marginVertical: cx(15),
576
- color: 'rgb(35,35,38)',
577
- },
578
- week: {},
579
- itemTitle: {
580
- color: '#000',
581
- fontSize: cx(16),
582
- fontWeight: 'bold',
583
- fontFamily: 'helvetica_neue_lt_std_bd',
584
- marginBottom: cx(10),
585
- },
586
- skillListItem: {
587
- flexDirection: 'row',
588
- justifyContent: 'space-between',
589
- height: cx(30),
590
- alignItems: 'center',
591
- marginVertical: cx(5),
592
- },
593
- summaryContainer: {
594
- flexDirection: 'row',
595
- justifyContent: 'flex-start',
596
- marginBottom: cx(10),
597
- marginHorizontal: cx(24),
598
- },
599
- summaryImg: {
600
- height: cx(12),
601
- width: cx(12),
602
- tintColor: '#000',
603
- },
604
- summaryLeft: {
605
- flexDirection: 'row',
606
- alignItems: 'center',
607
- minWidth: cx(90),
608
- },
609
- leftTitle: {
610
- fontSize: cx(14),
611
- color: '#000',
612
- },
613
- summaryRight: {
614
- flexDirection: 'column',
615
- marginLeft: cx(21),
616
- borderRadius: cx(16),
617
- backgroundColor: '#cbcbcb',
618
- },
619
- rightItem: {
620
- paddingHorizontal: cx(12),
621
- color: '#000',
622
- },
623
- rightTitle: {
624
- paddingLeft: cx(12),
625
- paddingRight: cx(12),
626
- fontSize: cx(10),
627
- textAlign: 'center',
628
- alignSelf: 'flex-start',
629
- color: '#000'
630
- },
631
- filletCorner: {
632
- flexDirection: 'row',
633
- backgroundColor: '#cbcbcb',
634
- borderRadius: cx(16),
635
- alignSelf: 'flex-start',
636
- },
637
- });
638
-
639
- export default SleepWakeUpDetailPage;
647
+ export default withTheme(SleepWakeUpDetailPage)