Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vap

Package Overview
Dependencies
Maintainers
3
Versions
568
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vap - npm Package Compare versions

Comparing version 3.8.168 to 3.8.169

hooks/index.d.ts

6

_common/DataComponents/DateRange.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc