"use strict";

exports.__esModule = true;
exports.default = exports.HeadTableRow = void 0;
var _react = _interopRequireDefault(require("react"));
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _Row = require("./Row");
var _HeadCell = _interopRequireDefault(require("./HeadCell"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();
(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();
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 HeadTableRow = exports.HeadTableRow = (0, _styledComponents.default)(_Row.TableRow).withConfig({
  displayName: "HeadRow__HeadTableRow",
  componentId: "sc-pgk6c-0"
})(["border-width:0;"]);
var HeadRow = function HeadRow(_ref) {
  var columnDefs = _ref.columnDefs,
    rowIds = _ref.rowIds,
    allSelected = _ref.allSelected;
  return /*#__PURE__*/_react.default.createElement(HeadTableRow, null, columnDefs.map(function (columnDef) {
    return /*#__PURE__*/_react.default.createElement(_HeadCell.default, {
      key: columnDef.type === "select" ? "select" : (0, _Row.stringifyFieldName)(columnDef.fieldName),
      columnDef: columnDef,
      rowIds: rowIds,
      allSelected: allSelected
    });
  }));
};
var _default = HeadRow;
var _default2 = _default;
var _default3 = exports.default = _default2;
;
(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
  if (!reactHotLoader) {
    return;
  }
  reactHotLoader.register(HeadTableRow, "HeadTableRow", "/home/vsts/work/1/s/src/components/List/HeadRow.js");
  reactHotLoader.register(HeadRow, "HeadRow", "/home/vsts/work/1/s/src/components/List/HeadRow.js");
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/List/HeadRow.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(HeadTableRow, "HeadTableRow", "/home/vsts/work/1/s/src/components/List/HeadRow.js");
  reactHotLoader.register(HeadRow, "HeadRow", "/home/vsts/work/1/s/src/components/List/HeadRow.js");
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/List/HeadRow.js");
})();
;
(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();