@seafile/seafile-calendar 0.0.31-Apph0.23 → 0.0.31-Apph0.25

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.
@@ -2805,7 +2805,8 @@ var Calendar = function (_React$Component) {
2805
2805
  inputMode = props.inputMode,
2806
2806
  showHourAndMinute = props.showHourAndMinute,
2807
2807
  firstDayOfWeek = props.firstDayOfWeek,
2808
- showWeekNumber = props.showWeekNumber;
2808
+ showWeekNumber = props.showWeekNumber,
2809
+ defaultValue = props.defaultValue;
2809
2810
  var value = state.value,
2810
2811
  selectedValue = state.selectedValue,
2811
2812
  mode = state.mode;
@@ -2844,6 +2845,7 @@ var Calendar = function (_React$Component) {
2844
2845
  disabledTime: disabledTime,
2845
2846
  disabledDate: disabledDate,
2846
2847
  onClear: this.onClear,
2848
+ defaultValue: defaultValue,
2847
2849
  prefixCls: prefixCls,
2848
2850
  selectedValue: selectedValue,
2849
2851
  onChange: this.onDateInputChange,
@@ -7328,7 +7330,11 @@ var DateInput = function (_React$Component) {
7328
7330
  prefixCls = props.prefixCls,
7329
7331
  placeholder = props.placeholder,
7330
7332
  clearIcon = props.clearIcon,
7331
- inputMode = props.inputMode;
7333
+ inputMode = props.inputMode,
7334
+ defaultValue = props.defaultValue;
7335
+
7336
+ console.log('defaultValue', defaultValue);
7337
+ console.log('str', str);
7332
7338
 
7333
7339
  return __WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement(
7334
7340
  'div',
@@ -7385,7 +7391,6 @@ var _initialiseProps = function _initialiseProps() {
7385
7391
  var _this2 = this;
7386
7392
 
7387
7393
  this.onClear = function () {
7388
- console.log('我走进来了');
7389
7394
  _this2.setState({ str: '' });
7390
7395
  _this2.props.onClear(null);
7391
7396
  };