"use strict";

exports.__esModule = true;
exports.default = exports.isTableProps = 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 TableProps = /*#__PURE__*/function (_ComponentProps) {
  _inheritsLoose(TableProps, _ComponentProps);

  function TableProps() {
    var _this;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    _this._isTableProps = true;
    return _this;
  }

  var _proto = TableProps.prototype;

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

  return TableProps;
}(_componentProps.default);

_defineProperty(TableProps, "propNames", {
  withoutTopBorder: "withoutTopBorder",
  stickyHeader: "stickyHeader",
  selectMode: "selectMode",
  onRowClick: "onRowClick",
  classes: "classes",
  deepPropsComparation: "deepPropsComparation",
  isEditingMode: "isEditingMode",
  selectedRows: "selectedRows",
  selectedRowsChanged: "selectedRowsChanged"
});

_defineProperty(TableProps, "ruleNames", {
  tableHeader: "tableHeader",
  tableRow: "tableRow",
  tableCell: "tableCell",
  headerCell: "headerCell",
  tableContainer: "tableContainer",
  container: "container",
  table: "table"
});

var isTableProps = function isTableProps(value) {
  if (value == null) return true;
  return typeof value === "object" && (value instanceof TableProps || value._isTableProps === true);
};

exports.isTableProps = isTableProps;
var _default = TableProps;
var _default2 = _default;
var _default3 = _default2;
exports.default = _default3;
;

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

  if (!reactHotLoader) {
    return;
  }

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

;

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