@seafile/seafile-calendar 0.0.29-alpha49 → 0.0.29-alpha52
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/dist/rc-calendar.js +1 -7
- package/dist/rc-calendar.js.map +1 -1
- package/dist/rc-calendar.min.js +1 -1
- package/es/Picker.js +1 -0
- package/es/date/DateInput.js +1 -7
- package/lib/Picker.js +1 -0
- package/lib/date/DateInput.js +1 -7
- package/package.json +1 -1
package/dist/rc-calendar.js
CHANGED
@@ -7482,6 +7482,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
7482
7482
|
}
|
7483
7483
|
|
7484
7484
|
if (selectedValue !== value || selectedValue && value && !selectedValue.isSame(value)) {
|
7485
|
+
// console.log(123)
|
7485
7486
|
_this2.setState({ str: str });
|
7486
7487
|
onChange(value);
|
7487
7488
|
}
|
@@ -7497,13 +7498,6 @@ var _initialiseProps = function _initialiseProps() {
|
|
7497
7498
|
};
|
7498
7499
|
|
7499
7500
|
this.onBlur = function () {
|
7500
|
-
if (!_this2.state.str) {
|
7501
|
-
_this2.setState({
|
7502
|
-
str: ''
|
7503
|
-
});
|
7504
|
-
_this2.props.onClear(null);
|
7505
|
-
return;
|
7506
|
-
}
|
7507
7501
|
_this2.setState(function (prevState, prevProps) {
|
7508
7502
|
return {
|
7509
7503
|
hasFocus: false,
|