@seafile/seafile-calendar 0.0.95 → 0.0.97
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 +2 -6
- package/dist/rc-calendar.js.map +1 -1
- package/dist/rc-calendar.min.js +1 -1
- package/es/Calendar.js +0 -1
- package/es/date/DateInput.js +2 -5
- package/lib/Calendar.js +0 -1
- package/lib/date/DateInput.js +2 -5
- package/package.json +1 -1
package/dist/rc-calendar.js
CHANGED
|
@@ -3014,7 +3014,6 @@ var _initialiseProps = function _initialiseProps() {
|
|
|
3014
3014
|
};
|
|
3015
3015
|
|
|
3016
3016
|
this.onKeyDown = function (event) {
|
|
3017
|
-
console.log(111, event);
|
|
3018
3017
|
if (event.target.nodeName.toLowerCase() === 'input') {
|
|
3019
3018
|
return undefined;
|
|
3020
3019
|
}
|
|
@@ -7371,8 +7370,8 @@ var DateInput = function (_React$Component) {
|
|
|
7371
7370
|
'a',
|
|
7372
7371
|
{
|
|
7373
7372
|
role: 'button',
|
|
7374
|
-
title: locale.clear
|
|
7375
|
-
onClick
|
|
7373
|
+
title: locale.clear
|
|
7374
|
+
// onClick={this.onClear}
|
|
7376
7375
|
},
|
|
7377
7376
|
clearIcon || __WEBPACK_IMPORTED_MODULE_3_react___default.a.createElement('span', { className: prefixCls + '-clear-btn' })
|
|
7378
7377
|
) : null
|
|
@@ -7457,9 +7456,6 @@ var _initialiseProps = function _initialiseProps() {
|
|
|
7457
7456
|
};
|
|
7458
7457
|
|
|
7459
7458
|
this.onKeyDown = function (event) {
|
|
7460
|
-
if (event.keyCode === __WEBPACK_IMPORTED_MODULE_6_rc_util_es_KeyCode__["a" /* default */].BACKSPACE || event.keyCode === __WEBPACK_IMPORTED_MODULE_6_rc_util_es_KeyCode__["a" /* default */].DELETE) {
|
|
7461
|
-
event.preventDefault();
|
|
7462
|
-
}
|
|
7463
7459
|
var keyCode = event.keyCode;
|
|
7464
7460
|
var _props2 = _this2.props,
|
|
7465
7461
|
onSelect = _props2.onSelect,
|