ba-js-base-components
Advanced tools
Comparing version 1.2.11 to 1.2.12
@@ -6,3 +6,3 @@ 'use strict'; | ||
}); | ||
exports.InputFile = undefined; | ||
exports.InputFileCommonHeader = undefined; | ||
@@ -38,4 +38,4 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
*/ | ||
var InputFile = function (_BaComponent) { | ||
_inherits(InputFile, _BaComponent); | ||
var InputFileCommonHeader = function (_BaComponent) { | ||
_inherits(InputFileCommonHeader, _BaComponent); | ||
@@ -45,6 +45,6 @@ /** | ||
*/ | ||
function InputFile(props) { | ||
_classCallCheck(this, InputFile); | ||
function InputFileCommonHeader(props) { | ||
_classCallCheck(this, InputFileCommonHeader); | ||
var _this = _possibleConstructorReturn(this, (InputFile.__proto__ || Object.getPrototypeOf(InputFile)).call(this, props)); | ||
var _this = _possibleConstructorReturn(this, (InputFileCommonHeader.__proto__ || Object.getPrototypeOf(InputFileCommonHeader)).call(this, props)); | ||
@@ -63,3 +63,3 @@ _this.state = { | ||
_createClass(InputFile, [{ | ||
_createClass(InputFileCommonHeader, [{ | ||
key: 'componentWillUpdate', | ||
@@ -70,4 +70,4 @@ value: function componentWillUpdate(nextProps, nextState) { | ||
} | ||
if (_get(InputFile.prototype.__proto__ || Object.getPrototypeOf(InputFile.prototype), 'componentWillUpdate', this)) { | ||
_get(InputFile.prototype.__proto__ || Object.getPrototypeOf(InputFile.prototype), 'componentWillUpdate', this).call(this, nextProps, nextState); | ||
if (_get(InputFileCommonHeader.prototype.__proto__ || Object.getPrototypeOf(InputFileCommonHeader.prototype), 'componentWillUpdate', this)) { | ||
_get(InputFileCommonHeader.prototype.__proto__ || Object.getPrototypeOf(InputFileCommonHeader.prototype), 'componentWillUpdate', this).call(this, nextProps, nextState); | ||
} | ||
@@ -174,3 +174,3 @@ } | ||
return InputFile; | ||
return InputFileCommonHeader; | ||
}(_BaComponent2.BaComponent); | ||
@@ -183,3 +183,3 @@ | ||
InputFile.propTypes = { | ||
InputFileCommonHeader.propTypes = { | ||
onChange: _propTypes2.default.func, | ||
@@ -192,3 +192,3 @@ buttonText: _propTypes2.default.string, | ||
*/ | ||
};InputFile.defaultProps = { | ||
};InputFileCommonHeader.defaultProps = { | ||
buttonText: 'Browse', | ||
@@ -198,2 +198,2 @@ onChange: function onChange() {} | ||
exports.InputFile = InputFile; | ||
exports.InputFileCommonHeader = InputFileCommonHeader; |
@@ -163,2 +163,14 @@ 'use strict'; | ||
var _InputFileCommonHeader = require('./components/InputFileCommonHeader'); | ||
Object.keys(_InputFileCommonHeader).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function get() { | ||
return _InputFileCommonHeader[key]; | ||
} | ||
}); | ||
}); | ||
var _ListDescription = require('./components/ListDescription'); | ||
@@ -165,0 +177,0 @@ |
@@ -12,3 +12,3 @@ { | ||
"name": "ba-js-base-components", | ||
"version": "1.2.11", | ||
"version": "1.2.12", | ||
"files": [ | ||
@@ -15,0 +15,0 @@ "lib/" |
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
156155
3794