@momo-kits/calendar 0.0.62-beta.1 → 0.0.62-beta.4
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 +2 -2
- package/src/Calendar.js +3 -3
- package/src/CalendarPro.js +22 -15
- package/src/Day/index.js +14 -14
- package/src/Day/style.js +7 -6
- package/src/HeaderControl.js +5 -6
- package/src/Month/index.js +1 -1
- package/src/MonthList.js +1 -1
- package/src/TabHeader.js +10 -7
- package/src/holidayData.js +33 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@momo-kits/calendar",
|
|
3
|
-
"version": "0.0.62-beta.
|
|
3
|
+
"version": "0.0.62-beta.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"dependencies": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"react": "16.9.0",
|
|
13
13
|
"react-native": ">=0.55",
|
|
14
14
|
"prop-types": "^15.7.2",
|
|
15
|
-
"@momo-kits/core
|
|
15
|
+
"@momo-kits/core": ">=0.0.5-beta"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {},
|
|
18
18
|
"license": "MoMo"
|
package/src/Calendar.js
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
Spacing,
|
|
16
16
|
Radius,
|
|
17
17
|
ScaleSize,
|
|
18
|
-
} from '@momo-kits/core
|
|
18
|
+
} from '@momo-kits/core';
|
|
19
19
|
import Switch from '@momo-kits/switch';
|
|
20
20
|
import CalendarPro from './CalendarPro';
|
|
21
21
|
import TabHeader from './TabHeader';
|
|
@@ -349,9 +349,9 @@ class Calendar extends Component {
|
|
|
349
349
|
return (
|
|
350
350
|
<View style={styles.headerContainer}>
|
|
351
351
|
<View style={styles.viewSwitch}>
|
|
352
|
-
<Text.
|
|
352
|
+
<Text.Title weight="medium" style={styles.textSwitch}>
|
|
353
353
|
{SwitchLanguage.chooseRoundtrip}
|
|
354
|
-
</Text.
|
|
354
|
+
</Text.Title>
|
|
355
355
|
<Switch
|
|
356
356
|
value={isDoubleDateMode}
|
|
357
357
|
onChange={this.toggleSelectionDateMode}
|
package/src/CalendarPro.js
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
Colors,
|
|
20
20
|
Spacing,
|
|
21
21
|
Radius,
|
|
22
|
-
} from '@momo-kits/core
|
|
22
|
+
} from '@momo-kits/core';
|
|
23
23
|
import MonthList from './MonthList';
|
|
24
24
|
import HeaderControl from './HeaderControl';
|
|
25
25
|
import LunarDateConverter from './LunarDateConverter';
|
|
@@ -254,20 +254,19 @@ export default class CalendarPro extends Component {
|
|
|
254
254
|
<View>
|
|
255
255
|
<View style={styles.viewDay}>
|
|
256
256
|
{[1, 2, 3, 4, 5, 6, 7].map((item) => (
|
|
257
|
-
<Text
|
|
258
|
-
weight="medium"
|
|
257
|
+
<Text
|
|
259
258
|
style={[
|
|
260
259
|
styles.textDay,
|
|
261
260
|
{
|
|
262
261
|
color:
|
|
263
262
|
item === 6 || item === 7
|
|
264
|
-
? Colors.
|
|
265
|
-
: Colors.
|
|
263
|
+
? Colors.red_05
|
|
264
|
+
: Colors.black_12,
|
|
266
265
|
},
|
|
267
266
|
]}
|
|
268
267
|
key={item}>
|
|
269
268
|
{Util.mapWeeKDate(item)}
|
|
270
|
-
</Text
|
|
269
|
+
</Text>
|
|
271
270
|
))}
|
|
272
271
|
</View>
|
|
273
272
|
<MonthList
|
|
@@ -299,7 +298,9 @@ export default class CalendarPro extends Component {
|
|
|
299
298
|
onPress={this.toggleLunarDate}>
|
|
300
299
|
<Image
|
|
301
300
|
tintColor={
|
|
302
|
-
showLunar
|
|
301
|
+
showLunar
|
|
302
|
+
? Colors.pink_05_b
|
|
303
|
+
: Colors.black_17
|
|
303
304
|
}
|
|
304
305
|
source={
|
|
305
306
|
showLunar
|
|
@@ -309,11 +310,11 @@ export default class CalendarPro extends Component {
|
|
|
309
310
|
style={styles.iconSelected}
|
|
310
311
|
/>
|
|
311
312
|
</TouchableWithoutFeedback>
|
|
312
|
-
<Text
|
|
313
|
+
<Text
|
|
313
314
|
style={styles.txtLunar}
|
|
314
315
|
onPress={this.toggleLunarDate}>
|
|
315
316
|
{SwitchLanguage.showLunar}
|
|
316
|
-
</Text
|
|
317
|
+
</Text>
|
|
317
318
|
</View>
|
|
318
319
|
)}
|
|
319
320
|
|
|
@@ -342,14 +343,14 @@ export default class CalendarPro extends Component {
|
|
|
342
343
|
<View
|
|
343
344
|
style={styles.row}
|
|
344
345
|
key={idx.toString()}>
|
|
345
|
-
<Text.
|
|
346
|
+
<Text.SubTitle
|
|
346
347
|
style={styles.txtMonthLunar}>
|
|
347
348
|
{labelDate}
|
|
348
|
-
</Text.
|
|
349
|
-
<Text.
|
|
349
|
+
</Text.SubTitle>
|
|
350
|
+
<Text.SubTitle
|
|
350
351
|
style={styles.subTextLunar}>
|
|
351
352
|
{`${labelHoliday} `}
|
|
352
|
-
</Text.
|
|
353
|
+
</Text.SubTitle>
|
|
353
354
|
</View>
|
|
354
355
|
);
|
|
355
356
|
})}
|
|
@@ -385,9 +386,12 @@ CalendarPro.defaultProps = {
|
|
|
385
386
|
|
|
386
387
|
const styles = StyleSheet.create({
|
|
387
388
|
row: { flexDirection: 'row' },
|
|
388
|
-
txtMonthLunar: { color: Colors.
|
|
389
|
+
txtMonthLunar: { color: Colors.red_05, marginRight: Spacing.S },
|
|
389
390
|
subTextLunar: {
|
|
390
|
-
|
|
391
|
+
// fontSize: 12,
|
|
392
|
+
color: '#222222',
|
|
393
|
+
paddingLeft: 6,
|
|
394
|
+
flexShrink: 1,
|
|
391
395
|
},
|
|
392
396
|
contentScroll: { paddingHorizontal: 12, paddingVertical: 10 },
|
|
393
397
|
iconSelected: { width: 24, height: 24, resizeMode: 'cover' },
|
|
@@ -407,8 +411,11 @@ const styles = StyleSheet.create({
|
|
|
407
411
|
},
|
|
408
412
|
viewDate: {},
|
|
409
413
|
textDay: {
|
|
414
|
+
fontSize: 12,
|
|
415
|
+
lineHeight: 16,
|
|
410
416
|
width: (widthScreen - 38) / 7,
|
|
411
417
|
textAlign: 'center',
|
|
418
|
+
fontWeight: 'bold',
|
|
412
419
|
},
|
|
413
420
|
viewDay: {
|
|
414
421
|
flexDirection: 'row',
|
package/src/Day/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
|
|
4
4
|
import { View, TouchableHighlight } from 'react-native';
|
|
5
|
-
import { Spacing, SwitchLanguage, Colors, Text } from '@momo-kits/core
|
|
5
|
+
import { Spacing, SwitchLanguage, Colors, Text } from '@momo-kits/core';
|
|
6
6
|
import style from './style';
|
|
7
7
|
|
|
8
8
|
class Day extends Component {
|
|
@@ -156,7 +156,7 @@ class Day extends Component {
|
|
|
156
156
|
onPress={this.chooseDay}>
|
|
157
157
|
<>
|
|
158
158
|
{this.lunarDate && this.showLunar && (
|
|
159
|
-
<Text.
|
|
159
|
+
<Text.Caption
|
|
160
160
|
style={[
|
|
161
161
|
style.lunarDayText,
|
|
162
162
|
(this.isLunarHoliday ||
|
|
@@ -168,9 +168,9 @@ class Day extends Component {
|
|
|
168
168
|
{this.lunarDate.lunarDay === 1
|
|
169
169
|
? `${this.lunarDate.lunarDay}/${this.lunarDate.lunarMonth}`
|
|
170
170
|
: this.lunarDate.lunarDay}
|
|
171
|
-
</Text.
|
|
171
|
+
</Text.Caption>
|
|
172
172
|
)}
|
|
173
|
-
<Text.
|
|
173
|
+
<Text.Title
|
|
174
174
|
style={[
|
|
175
175
|
style.dayText,
|
|
176
176
|
{ paddingTop: !!price ? 4 : 0 },
|
|
@@ -180,9 +180,9 @@ class Day extends Component {
|
|
|
180
180
|
style.focusedText,
|
|
181
181
|
]}>
|
|
182
182
|
{text}
|
|
183
|
-
</Text.
|
|
183
|
+
</Text.Title>
|
|
184
184
|
{!!price ? (
|
|
185
|
-
<Text.
|
|
185
|
+
<Text.Caption
|
|
186
186
|
style={[
|
|
187
187
|
this.isValid && this.isInScope
|
|
188
188
|
? style.price
|
|
@@ -195,7 +195,7 @@ class Day extends Component {
|
|
|
195
195
|
},
|
|
196
196
|
]}>
|
|
197
197
|
{price}
|
|
198
|
-
</Text.
|
|
198
|
+
</Text.Caption>
|
|
199
199
|
) : (
|
|
200
200
|
<View
|
|
201
201
|
style={{
|
|
@@ -219,7 +219,7 @@ class Day extends Component {
|
|
|
219
219
|
},
|
|
220
220
|
]}>
|
|
221
221
|
{this.lunarDate && this.showLunar && text ? (
|
|
222
|
-
<Text.
|
|
222
|
+
<Text.Caption
|
|
223
223
|
style={[
|
|
224
224
|
style.lunarDayText,
|
|
225
225
|
style.dayTextDisabled,
|
|
@@ -227,26 +227,26 @@ class Day extends Component {
|
|
|
227
227
|
{this.lunarDate.lunarDay === 1
|
|
228
228
|
? `${this.lunarDate.lunarDay}/${this.lunarDate.lunarMonth}`
|
|
229
229
|
: this.lunarDate.lunarDay}
|
|
230
|
-
</Text.
|
|
230
|
+
</Text.Caption>
|
|
231
231
|
) : (
|
|
232
232
|
<View />
|
|
233
233
|
)}
|
|
234
|
-
<Text.
|
|
234
|
+
<Text.Title
|
|
235
235
|
style={[style.dayText, style.dayTextDisabled]}>
|
|
236
236
|
{text}
|
|
237
|
-
</Text.
|
|
237
|
+
</Text.Title>
|
|
238
238
|
{text && !!price ? (
|
|
239
|
-
<Text.
|
|
239
|
+
<Text.Caption
|
|
240
240
|
style={[
|
|
241
241
|
this.isValid && this.isInScope
|
|
242
242
|
? style.price
|
|
243
243
|
: style.dayTextDisabled,
|
|
244
244
|
isBestPrice && {
|
|
245
|
-
color: Colors.
|
|
245
|
+
color: Colors.pink_05_b,
|
|
246
246
|
},
|
|
247
247
|
]}>
|
|
248
248
|
{price}
|
|
249
|
-
</Text.
|
|
249
|
+
</Text.Caption>
|
|
250
250
|
) : (
|
|
251
251
|
<View
|
|
252
252
|
style={{
|
package/src/Day/style.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dimensions } from 'react-native';
|
|
2
|
-
import { Spacing, Colors } from '@momo-kits/core
|
|
2
|
+
import { Spacing, Colors } from '@momo-kits/core';
|
|
3
3
|
|
|
4
4
|
const dayWidth = (Dimensions.get('window').width - 38) / 7;
|
|
5
5
|
const SCREEN_WIDTH = Dimensions.get('window').width;
|
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
borderRadius: 4,
|
|
30
30
|
},
|
|
31
31
|
dayText: {
|
|
32
|
+
lineHeight: 24,
|
|
32
33
|
textAlign: 'center',
|
|
33
34
|
},
|
|
34
35
|
lunarDayText: {
|
|
@@ -37,7 +38,7 @@ export default {
|
|
|
37
38
|
paddingRight: Spacing.XS,
|
|
38
39
|
position: 'absolute',
|
|
39
40
|
top: Spacing.XXS,
|
|
40
|
-
|
|
41
|
+
lineHeight: 14,
|
|
41
42
|
},
|
|
42
43
|
todayText: {
|
|
43
44
|
color: 'blue',
|
|
@@ -50,7 +51,7 @@ export default {
|
|
|
50
51
|
},
|
|
51
52
|
|
|
52
53
|
focused: {
|
|
53
|
-
backgroundColor: Colors.
|
|
54
|
+
backgroundColor: Colors.pink_05_b,
|
|
54
55
|
},
|
|
55
56
|
focusedText: {
|
|
56
57
|
fontWeight: 'bold',
|
|
@@ -59,15 +60,15 @@ export default {
|
|
|
59
60
|
dayStartContainer: {
|
|
60
61
|
borderTopLeftRadius: 4,
|
|
61
62
|
borderBottomLeftRadius: 4,
|
|
62
|
-
backgroundColor: Colors.
|
|
63
|
+
backgroundColor: Colors.pink_05_b,
|
|
63
64
|
},
|
|
64
65
|
dayEndContainer: {
|
|
65
66
|
borderTopRightRadius: 4,
|
|
66
67
|
borderBottomRightRadius: 4,
|
|
67
|
-
backgroundColor: Colors.
|
|
68
|
+
backgroundColor: Colors.pink_05_b,
|
|
68
69
|
},
|
|
69
70
|
mid: {
|
|
70
|
-
backgroundColor: Colors.
|
|
71
|
+
backgroundColor: Colors.pink_10,
|
|
71
72
|
// height: heightDefault
|
|
72
73
|
},
|
|
73
74
|
departLabel: {
|
package/src/HeaderControl.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState, forwardRef, useImperativeHandle } from 'react';
|
|
2
2
|
import { View, TouchableOpacity, StyleSheet } from 'react-native';
|
|
3
3
|
import moment from 'moment';
|
|
4
|
-
import { Icon, ScaleSize, Text, Colors, Spacing } from '@momo-kits/core
|
|
4
|
+
import { Icon, ScaleSize, Text, Colors, Spacing } from '@momo-kits/core';
|
|
5
5
|
|
|
6
6
|
import Util from './Util';
|
|
7
7
|
|
|
@@ -34,11 +34,9 @@ const HeaderControl = forwardRef(
|
|
|
34
34
|
style={styles.icon}
|
|
35
35
|
/>
|
|
36
36
|
</TouchableOpacity>
|
|
37
|
-
<Text.
|
|
38
|
-
weight="semibold"
|
|
39
|
-
style={styles.txtHeader}>
|
|
37
|
+
<Text.Title style={styles.txtHeader}>
|
|
40
38
|
{headerFormat}
|
|
41
|
-
</Text.
|
|
39
|
+
</Text.Title>
|
|
42
40
|
<TouchableOpacity
|
|
43
41
|
style={styles.btnRight}
|
|
44
42
|
onPress={onPressNextArrow}>
|
|
@@ -60,6 +58,7 @@ const styles = StyleSheet.create({
|
|
|
60
58
|
icon: { width: 24, height: 24, resizeMode: 'contain' },
|
|
61
59
|
txtHeader: {
|
|
62
60
|
// fontSize: 15,
|
|
61
|
+
fontWeight: 'bold',
|
|
63
62
|
textAlign: 'center',
|
|
64
63
|
},
|
|
65
64
|
btnRight: {
|
|
@@ -78,7 +77,7 @@ const styles = StyleSheet.create({
|
|
|
78
77
|
height: ScaleSize(44),
|
|
79
78
|
flexDirection: 'row',
|
|
80
79
|
justifyContent: 'space-between',
|
|
81
|
-
backgroundColor: Colors.
|
|
80
|
+
backgroundColor: Colors.blue_11,
|
|
82
81
|
alignItems: 'center',
|
|
83
82
|
borderRadius: 4,
|
|
84
83
|
},
|
package/src/Month/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import React, { PureComponent } from 'react';
|
|
|
3
3
|
import { View, Dimensions } from 'react-native';
|
|
4
4
|
import moment from 'moment';
|
|
5
5
|
import Day from '../Day';
|
|
6
|
-
import { Spacing, ScaleSize } from '@momo-kits/core
|
|
6
|
+
import { Spacing, ScaleSize } from '@momo-kits/core';
|
|
7
7
|
|
|
8
8
|
const { width } = Dimensions.get('window');
|
|
9
9
|
|
package/src/MonthList.js
CHANGED
|
@@ -5,7 +5,7 @@ import moment from 'moment';
|
|
|
5
5
|
import Month from './Month';
|
|
6
6
|
import style from './Day/style';
|
|
7
7
|
import LunarDateConverter from './LunarDateConverter';
|
|
8
|
-
import { ScaleSize } from '@momo-kits/core
|
|
8
|
+
import { ScaleSize } from '@momo-kits/core';
|
|
9
9
|
|
|
10
10
|
const ITEM_WIDTH = Dimensions.get('window').width - ScaleSize(24);
|
|
11
11
|
const MAX_RENDER_PER_BATCH = Platform.OS === 'android' ? 1 : 12;
|
package/src/TabHeader.js
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { TouchableWithoutFeedback, View } from 'react-native';
|
|
3
3
|
import Moment from 'moment';
|
|
4
4
|
import Util from './Util';
|
|
5
|
-
import { Colors, Text } from '@momo-kits/core
|
|
5
|
+
import { Colors, Text } from '@momo-kits/core';
|
|
6
6
|
|
|
7
7
|
export default class TabHeader extends React.Component {
|
|
8
8
|
constructor(props) {
|
|
@@ -55,23 +55,26 @@ export default class TabHeader extends React.Component {
|
|
|
55
55
|
flex: 1,
|
|
56
56
|
backgroundColor: Colors.white,
|
|
57
57
|
}}>
|
|
58
|
-
<Text.
|
|
58
|
+
<Text.SubTitle
|
|
59
59
|
style={{
|
|
60
60
|
fontSize: 12,
|
|
61
61
|
lineHeight: 16,
|
|
62
|
-
color: Colors.
|
|
62
|
+
color: Colors.black_09,
|
|
63
63
|
}}>
|
|
64
64
|
{label}
|
|
65
|
-
</Text.
|
|
66
|
-
<Text.
|
|
67
|
-
|
|
65
|
+
</Text.SubTitle>
|
|
66
|
+
<Text.Title
|
|
67
|
+
weight={active ? 'bold' : 'regular'}
|
|
68
|
+
style={{
|
|
69
|
+
marginTop: 3,
|
|
70
|
+
}}>
|
|
68
71
|
{`${
|
|
69
72
|
dayOfWeekFromState || dayOfWeekFromDefault || '--'
|
|
70
73
|
} `}
|
|
71
74
|
{formattedDateFromState ||
|
|
72
75
|
formattedDateFromDefault ||
|
|
73
76
|
'--/--/----'}
|
|
74
|
-
</Text.
|
|
77
|
+
</Text.Title>
|
|
75
78
|
</View>
|
|
76
79
|
</TouchableWithoutFeedback>
|
|
77
80
|
);
|
package/src/holidayData.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
SwitchLanguage
|
|
3
|
+
} from '@momo-kits/core';
|
|
2
4
|
|
|
3
5
|
module.exports = {
|
|
4
6
|
solar: {
|
|
@@ -6,77 +8,77 @@ module.exports = {
|
|
|
6
8
|
{
|
|
7
9
|
day: 1,
|
|
8
10
|
month: 1,
|
|
9
|
-
label: SwitchLanguage.newYear
|
|
10
|
-
}
|
|
11
|
+
label: SwitchLanguage.newYear
|
|
12
|
+
}
|
|
11
13
|
],
|
|
12
14
|
2: [
|
|
13
15
|
{
|
|
14
16
|
day: 14,
|
|
15
17
|
month: 2,
|
|
16
|
-
label: SwitchLanguage.valentine
|
|
17
|
-
}
|
|
18
|
+
label: SwitchLanguage.valentine
|
|
19
|
+
}
|
|
18
20
|
],
|
|
19
21
|
3: [
|
|
20
22
|
{
|
|
21
23
|
day: 8,
|
|
22
24
|
month: 3,
|
|
23
|
-
label: SwitchLanguage.womenDay
|
|
24
|
-
}
|
|
25
|
+
label: SwitchLanguage.womenDay
|
|
26
|
+
}
|
|
25
27
|
],
|
|
26
28
|
4: [
|
|
27
29
|
{
|
|
28
30
|
day: 30,
|
|
29
31
|
month: 4,
|
|
30
|
-
label: SwitchLanguage.liberationDay
|
|
31
|
-
}
|
|
32
|
+
label: SwitchLanguage.liberationDay
|
|
33
|
+
}
|
|
32
34
|
],
|
|
33
35
|
5: [
|
|
34
36
|
{
|
|
35
37
|
day: 1,
|
|
36
38
|
month: 5,
|
|
37
|
-
label: SwitchLanguage.laborDay
|
|
38
|
-
}
|
|
39
|
+
label: SwitchLanguage.laborDay
|
|
40
|
+
}
|
|
39
41
|
],
|
|
40
42
|
6: [
|
|
41
43
|
{
|
|
42
44
|
day: 1,
|
|
43
45
|
month: 6,
|
|
44
|
-
label: SwitchLanguage.childrenDay
|
|
45
|
-
}
|
|
46
|
+
label: SwitchLanguage.childrenDay
|
|
47
|
+
}
|
|
46
48
|
],
|
|
47
49
|
9: [
|
|
48
50
|
{
|
|
49
51
|
day: 2,
|
|
50
52
|
month: 9,
|
|
51
|
-
label: SwitchLanguage.nationalDay
|
|
52
|
-
}
|
|
53
|
+
label: SwitchLanguage.nationalDay
|
|
54
|
+
}
|
|
53
55
|
],
|
|
54
56
|
10: [
|
|
55
57
|
{
|
|
56
58
|
day: 20,
|
|
57
59
|
month: 10,
|
|
58
|
-
label: SwitchLanguage.womenDayVN
|
|
59
|
-
}
|
|
60
|
+
label: SwitchLanguage.womenDayVN
|
|
61
|
+
}
|
|
60
62
|
],
|
|
61
63
|
11: [
|
|
62
64
|
{
|
|
63
65
|
day: 20,
|
|
64
66
|
month: 11,
|
|
65
|
-
label: SwitchLanguage.teacherDay
|
|
66
|
-
}
|
|
67
|
+
label: SwitchLanguage.teacherDay
|
|
68
|
+
}
|
|
67
69
|
],
|
|
68
70
|
12: [
|
|
69
71
|
{
|
|
70
72
|
day: 24,
|
|
71
73
|
month: 12,
|
|
72
|
-
label: SwitchLanguage.christmasEve
|
|
74
|
+
label: SwitchLanguage.christmasEve
|
|
73
75
|
},
|
|
74
76
|
{
|
|
75
77
|
day: 25,
|
|
76
78
|
month: 12,
|
|
77
|
-
label: SwitchLanguage.christmas
|
|
78
|
-
}
|
|
79
|
-
]
|
|
79
|
+
label: SwitchLanguage.christmas
|
|
80
|
+
}
|
|
81
|
+
]
|
|
80
82
|
},
|
|
81
83
|
lunar: [
|
|
82
84
|
{
|
|
@@ -84,42 +86,42 @@ module.exports = {
|
|
|
84
86
|
lunarMonth: 12,
|
|
85
87
|
lunar: true,
|
|
86
88
|
label: SwitchLanguage.lunarNewYear,
|
|
87
|
-
highlight: '(30/12)'
|
|
89
|
+
highlight: '(30/12)'
|
|
88
90
|
},
|
|
89
91
|
{
|
|
90
92
|
lunarDay: 1,
|
|
91
93
|
lunarMonth: 1,
|
|
92
94
|
lunar: true,
|
|
93
95
|
label: SwitchLanguage.lunarNewYear,
|
|
94
|
-
highlight: '(1/1)'
|
|
96
|
+
highlight: '(1/1)'
|
|
95
97
|
},
|
|
96
98
|
{
|
|
97
99
|
lunarDay: 2,
|
|
98
100
|
lunarMonth: 1,
|
|
99
101
|
lunar: true,
|
|
100
102
|
label: SwitchLanguage.lunarNewYear,
|
|
101
|
-
highlight: '(2/1)'
|
|
103
|
+
highlight: '(2/1)'
|
|
102
104
|
},
|
|
103
105
|
{
|
|
104
106
|
lunarDay: 3,
|
|
105
107
|
lunarMonth: 1,
|
|
106
108
|
lunar: true,
|
|
107
109
|
label: SwitchLanguage.lunarNewYear,
|
|
108
|
-
highlight: '(3/1)'
|
|
110
|
+
highlight: '(3/1)'
|
|
109
111
|
},
|
|
110
112
|
{
|
|
111
113
|
lunarDay: 4,
|
|
112
114
|
lunarMonth: 1,
|
|
113
115
|
lunar: true,
|
|
114
116
|
label: SwitchLanguage.lunarNewYear,
|
|
115
|
-
highlight: '(4/1)'
|
|
117
|
+
highlight: '(4/1)'
|
|
116
118
|
},
|
|
117
119
|
{
|
|
118
120
|
lunarDay: 10,
|
|
119
121
|
lunarMonth: 3,
|
|
120
122
|
lunar: true,
|
|
121
123
|
label: SwitchLanguage.hungKingDay,
|
|
122
|
-
highlight: '(10/3)'
|
|
123
|
-
}
|
|
124
|
-
]
|
|
124
|
+
highlight: '(10/3)'
|
|
125
|
+
}
|
|
126
|
+
]
|
|
125
127
|
};
|