"use strict";

exports.__esModule = true;
exports.default = exports.isInputProps = void 0;

var _componentProps = _interopRequireDefault(require("../componentProps"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();

(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();

function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }

function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};

var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};

var InputBaseProps = /*#__PURE__*/function (_ComponentProps) {
  _inheritsLoose(InputBaseProps, _ComponentProps);

  function InputBaseProps() {
    var _this;

    _this = _ComponentProps.call(this) || this;

    _this.componentProps.set(_this.constructor.propNames.update, null);

    _this.componentProps.set(_this.constructor.propNames.value, null);

    _this.componentProps.set(_this.constructor.propNames.placeholder, null);

    _this.componentProps.set(_this.constructor.propNames.type, null);

    _this.componentProps.set(_this.constructor.propNames.label, null);

    _this.componentProps.set(_this.constructor.propNames.error, null);

    _this.componentProps.set(_this.constructor.propNames.errorPosition, null);

    _this.componentProps.set(_this.constructor.propNames.inputAttributes, null);

    _this.componentProps.set(_this.constructor.propNames.disabled, null);

    _this.componentProps.set(_this.constructor.propNames.multiline, null);

    _this.componentProps.set(_this.constructor.propNames.onBlur, null);

    _this.componentProps.set(_this.constructor.propNames.startAdornment, null);

    _this.componentProps.set(_this.constructor.propNames.endAdornment, null);

    _this.componentProps.set(_this.constructor.propNames.metadata, null);

    _this.componentProps.set(_this.constructor.propNames.autoComplete, null);

    _this.componentClasses.set(_this.constructor.ruleNames.input, null);

    _this.componentClasses.set(_this.constructor.ruleNames.errorText, null);

    _this._isInputProps = true;
    return _this;
  }

  var _proto = InputBaseProps.prototype;

  // @ts-ignore
  _proto.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
    // @ts-ignore
    this[key] = eval(code);
  };

  return InputBaseProps;
}(_componentProps.default);

_defineProperty(InputBaseProps, "propNames", {
  update: "update",
  value: "value",
  placeholder: "placeholder",
  type: "type",
  label: "label",
  error: "error",
  errorPosition: "errorPosition",
  inputAttributes: "inputAttributes",
  disabled: "disabled",
  multiline: "multiline",
  onBlur: "onBlur",
  startAdornment: "startAdornment",
  endAdornment: "endAdornment",
  metadata: "metadata",
  autoComplete: "autoComplete"
});

_defineProperty(InputBaseProps, "ruleNames", {
  input: "input",
  errorText: "errorText"
});

var isInputProps = function isInputProps(value) {
  if (value == null) return true;
  return typeof value === "object" && (value instanceof InputBaseProps || value._isInputProps === true);
};

exports.isInputProps = isInputProps;
var _default = InputBaseProps;
var _default2 = _default;
var _default3 = _default2;
exports.default = _default3;
;

(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;

  if (!reactHotLoader) {
    return;
  }

  reactHotLoader.register(InputBaseProps, "InputBaseProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/InputBaseProps.js");
  reactHotLoader.register(isInputProps, "isInputProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/InputBaseProps.js");
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/InputBaseProps.js");
})();

;

(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();

;

(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;

  if (!reactHotLoader) {
    return;
  }

  reactHotLoader.register(InputBaseProps, "InputBaseProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/InputBaseProps.js");
  reactHotLoader.register(isInputProps, "isInputProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/InputBaseProps.js");
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/InputBaseProps.js");
})();

;

(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();