Comparing version 3.8.168 to 3.8.169
@@ -83,3 +83,3 @@ "use strict"; | ||
if (this.props.placeholder && this.props.placeholder.split(',').length == 2) { | ||
_a = __read(this.props.placeholder.split(','), 2), startPlaceHoder = _a[0], endPlaceHoder = _a[1]; | ||
_a = __read(this.props.placeholder, 2), startPlaceHoder = _a[0], endPlaceHoder = _a[1]; | ||
} | ||
@@ -91,4 +91,4 @@ else { | ||
return React.createElement(antd_1.Input.Group, { compact: true, style: style }, | ||
React.createElement(antd_1.DatePicker, __assign({}, params, { value: start, showTime: showTime, defaultPickerValue: DEFAULT_TODAY_START, disabledDate: function (val) { return end ? (end.diff(val) < 0) : false; }, format: start_input, placeholder: startPlaceHoder, onChange: function (val) { return _this.props.onChange(val, end); }, style: { borderRight: 'none', width: '50%', minWidth: 'unset' } })), | ||
React.createElement(antd_1.DatePicker, __assign({}, params, { value: end, showTime: showTime, defaultPickerValue: DEFAULT_TODAY_END, disabledDate: function (val) { return start ? (start.diff(val) > 0) : false; }, format: end_input, placeholder: endPlaceHoder, onChange: function (val) { return _this.props.onChange(start, val); }, style: { borderLeft: 'none', width: '50%', minWidth: 'unset' } }))); | ||
React.createElement(antd_1.DatePicker, __assign({}, params, { value: start, showTime: showTime, defaultPickerValue: DEFAULT_TODAY_START, disabledDate: function (val) { return end ? (end.diff(val) < 0) : false; }, format: start_input, placeholder: showTime ? '开始时间' : '开始日期', onChange: function (val) { return _this.props.onChange(val, end); }, style: { borderRight: 'none', width: '50%', minWidth: 'unset' } })), | ||
React.createElement(antd_1.DatePicker, __assign({}, params, { value: end, showTime: showTime, defaultPickerValue: DEFAULT_TODAY_END, disabledDate: function (val) { return start ? (start.diff(val) > 0) : false; }, format: end_input, placeholder: showTime ? '结束时间' : '结束日期', onChange: function (val) { return _this.props.onChange(start, val); }, style: { borderLeft: 'none', width: '50%', minWidth: 'unset' } }))); | ||
}; | ||
@@ -95,0 +95,0 @@ return default_1; |
{ | ||
"name": "vap", | ||
"version": "3.8.168", | ||
"version": "3.8.169", | ||
"description": "vap - framework for webapps, support micro-service(base on vap-base) and single-web-application(base on vap-base)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1902938
567
46000