Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function NoteFactory() {
_classCallCheck(this, NoteFactory);
return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
}
function AXAVerticalRhythm() {
_classCallCheck(this, AXAVerticalRhythm);
return _possibleConstructorReturn(this, (AXAVerticalRhythm.__proto__ || _Object$getPrototypeOf(AXAVerticalRhythm)).call(this, { styles: styles, template: template }));
}
function AXAHeaderBurger() {
_classCallCheck(this, AXAHeaderBurger);
var _this = _possibleConstructorReturn(this, (AXAHeaderBurger.__proto__ || _Object$getPrototypeOf(AXAHeaderBurger)).call(this, { styles: styles, template: template }));
_this.consumeContext('axa-header');
return _this;
}
function ComponentWrapper(props) {
_classCallCheck(this, ComponentWrapper);
var _this = _possibleConstructorReturn(this, (ComponentWrapper.__proto__ || Object.getPrototypeOf(ComponentWrapper)).call(this, props));
_this.handleTooltipVisibleChange = function (index, visible) {
_this.setState(function (prevState) {
return {
visibles: _extends({}, prevState.visibles, _defineProperty({}, index, visible))
};
});
};
_this.handleWithTooltip = function (_ref) {
var value = _ref.value,
dragging = _ref.dragging,
index = _ref.index,
disabled = _ref.disabled,
restProps = _objectWithoutProperties(_ref, ['value', 'dragging', 'index', 'disabled']);
function ResponsiveEmbed() {
_classCallCheck(this, ResponsiveEmbed);
return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
}
function IOSAlertDialogAnimator() {
var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
_ref3$timing = _ref3.timing,
timing = _ref3$timing === undefined ? 'cubic-bezier(.1, .7, .4, 1)' : _ref3$timing,
_ref3$duration = _ref3.duration,
duration = _ref3$duration === undefined ? 0.2 : _ref3$duration,
_ref3$delay = _ref3.delay,
delay = _ref3$delay === undefined ? 0 : _ref3$delay;
_classCallCheck(this, IOSAlertDialogAnimator);
return _possibleConstructorReturn(this, (IOSAlertDialogAnimator.__proto__ || _Object$getPrototypeOf(IOSAlertDialogAnimator)).call(this, { duration: duration, timing: timing, delay: delay }));
}
function Table() {
_classCallCheck(this, Table);
return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
}
function Select() {
var _ref;
var _temp, _this, _ret;
_classCallCheck(this, Select);
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Select.__proto__ || Object.getPrototypeOf(Select)).call.apply(_ref, [this].concat(args))), _this), _this.state = {
active: false
}, _this.onSelect = function (value) {
var _this$props = _this.props,
onSelect = _this$props.onSelect,
type = _this$props.type;
onSelect(type, value);
}, _this.handleMouseEnter = function (e) {
_this.setState({ active: true });
_this.props.onMouseEnter(e);
}, _this.handleMouseLeave = function () {
_this.setState({ active: false });
}, _temp), _possibleConstructorReturn(_this, _ret);
}
function ControlLabel() {
_classCallCheck(this, ControlLabel);
return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
}
function TextArea() {
_classCallCheck(this, TextArea);
var _this = _possibleConstructorReturn(this, (TextArea.__proto__ || Object.getPrototypeOf(TextArea)).apply(this, arguments));
_this.state = {
textareaStyles: null
};
_this.resizeTextarea = function () {
var autosize = _this.props.autosize;
if (!autosize || !_this.textAreaRef) {
return;
}
var minRows = autosize ? autosize.minRows : null;
var maxRows = autosize ? autosize.maxRows : null;
var textareaStyles = calculateNodeHeight(_this.textAreaRef, false, minRows, maxRows);
_this.setState({ textareaStyles: textareaStyles });
};
_this.handleTextareaChange = function (e) {