"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _default = {
  permutations: [{
    value: [-7, 0, 2, 2.51, 5, 9, 15.89, 'apple', '23akdf', '-']
  }, {
    parsedValue: [-7, 0, 2, 2.51, 5, 9, 15.89, null]
  }, {
    revert: [true, false]
  }],
  renderProps: function renderProps(props) {
    var valueAsNumber = Number(props.value);
    var max = 5;
    return {
      componentProps: {
        label: 'Additional attempts',
        max: max,
        revertValue: 4,
        onChange: Function.prototype,
        onBlur: Function.prototype
      },
      filter: valueAsNumber !== props.parsedValue && props.parsedValue !== null || !isNaN(valueAsNumber) && props.parsedValue === null || !isNaN(valueAsNumber) && valueAsNumber >= 0 && valueAsNumber <= max && props.revert
    };
  }
};
exports.default = _default;