"use strict";

exports.__esModule = true;
exports.default = exports.isSelectProps = exports.sortTypeEnum = 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 sortTypeEnum = {
  none: 0,
  default: 1,
  numeric: 2
};
exports.sortTypeEnum = sortTypeEnum;

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

  function SelectProps() {
    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.sortType, null);

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

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

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

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

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

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

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

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

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

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

    _this._isSelectProps = true;
    return _this;
  }

  var _proto = SelectProps.prototype;

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

  return SelectProps;
}(_componentProps.default);

_defineProperty(SelectProps, "propNames", {
  update: "update",
  value: "value",
  sortType: "sortType",
  showAllValue: "showAllValue",
  showAllLabel: "showAllLabel",
  positionOverride: "positionOverride",
  iconSelect: "iconSelect",
  disabled: "disabled",
  error: "error",
  native: "native",
  inputProps: "inputProps"
});

_defineProperty(SelectProps, "ruleNames", {
  root: "root",
  paper: "paper"
});

var isSelectProps = function isSelectProps(value) {
  if (value == null) return true;
  return typeof value === "object" && (value instanceof SelectProps || value._isSelectProps === true);
};

exports.isSelectProps = isSelectProps;
var _default = SelectProps;
var _default2 = _default;
var _default3 = _default2;
exports.default = _default3;
;

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

  if (!reactHotLoader) {
    return;
  }

  reactHotLoader.register(sortTypeEnum, "sortTypeEnum", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.js");
  reactHotLoader.register(SelectProps, "SelectProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.js");
  reactHotLoader.register(isSelectProps, "isSelectProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.js");
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.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(sortTypeEnum, "sortTypeEnum", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.js");
  reactHotLoader.register(SelectProps, "SelectProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.js");
  reactHotLoader.register(isSelectProps, "isSelectProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.js");
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SelectProps.js");
})();

;

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