@momo-kits/calendar 0.0.71-beta.4 → 0.0.71-beta.41
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/index.js +1 -1
- package/package.json +1 -1
- package/src/Calendar.js +2 -0
- package/src/CalendarPro.js +391 -385
- package/src/Day/index.js +216 -230
- package/src/Day/style.js +111 -110
- package/src/HeaderControl.js +70 -72
- package/src/LunarDateConverter.js +186 -179
- package/src/LunarService.js +76 -40
- package/src/Month/index.js +74 -71
- package/src/MonthList.js +227 -231
- package/src/TabHeader.js +61 -68
- package/src/Util.js +273 -193
- package/src/holidayData.js +121 -121
package/index.js
CHANGED
package/package.json
CHANGED
package/src/Calendar.js
CHANGED
|
@@ -409,6 +409,7 @@ class Calendar extends Component {
|
|
|
409
409
|
maxDate,
|
|
410
410
|
doubleDate,
|
|
411
411
|
isHideHeaderPanel,
|
|
412
|
+
disabledWeekend,
|
|
412
413
|
style,
|
|
413
414
|
} = this.props;
|
|
414
415
|
const {isDoubleDateMode} = this.state;
|
|
@@ -431,6 +432,7 @@ class Calendar extends Component {
|
|
|
431
432
|
{!isHideHeaderPanel && this.renderHeaderPanel()}
|
|
432
433
|
</View>
|
|
433
434
|
<CalendarPro
|
|
435
|
+
disabledWeekend={disabledWeekend}
|
|
434
436
|
priceList={priceList}
|
|
435
437
|
ref={this.calendarPicker}
|
|
436
438
|
startDate={doubleDate?.first}
|