New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

antd-mini

Package Overview
Dependencies
Maintainers
2
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antd-mini - npm Package Compare versions

Comparing version 0.0.6-beta.2 to 0.0.6

17

es/Stepper/index.js

@@ -74,3 +74,3 @@ "use strict";

});
this.cOnChange(this.getInputValue(value), this.getDataSet());
this.cOnChange(this.getInputValue(value));
(_b = (_a = this.props).onBlur) === null || _b === void 0 ? void 0 : _b.call(_a, this.getInputValue(value));

@@ -85,3 +85,3 @@ }

});
this.cOnChange(this.getInputValue(value), this.getDataSet());
this.cOnChange(this.getInputValue(value));
},

@@ -112,3 +112,3 @@ getInputValue: function (inputValue) {

var minusTemp = (0, utils_1.downStep)(cValue, step, precision);
this.cOnChange(Math.max(minusTemp, min), this.getDataSet());
this.cOnChange(Math.max(minusTemp, min));
}

@@ -118,16 +118,7 @@ else if (mode === 'add') {

var addTemp = (0, utils_1.upStep)(cValue, step, precision);
this.cOnChange(Math.min(addTemp, max), this.getDataSet());
this.cOnChange(Math.min(addTemp, max));
}
}
},
getDataSet: function () {
return Object.entries(this.props).reduce(function (prev, cur) {
var key = cur[0], val = cur[1];
if (key.startsWith('data-')) {
prev[key.replace('data-', '')] = val;
}
return prev;
}, {});
}
},
});

@@ -37,16 +37,4 @@ import { IBaseFormItemProps } from '../_base';

*/
inputWidth?: string;
/**
* @description 输入框宽度
*/
onFocus?: ( e: number ) => void
/**
* @description 输入框宽度
*/
onBlur?: ( e: number ) => void
/**
* @description 输入框宽度
*/
onChange?: ( e: number, dataSet: Record<string, any> ) => void
inputWidth?: string;
}
export declare const StepperDefaultProps: Partial<IStepperProps>;
{
"name": "antd-mini",
"version": "0.0.6-beta.2",
"version": "0.0.6",
"scripts": {

@@ -5,0 +5,0 @@ "dev": "minidev dev --less --typescript --no-source-map",

Sorry, the diff of this file is not supported yet

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