Liferay.Loader.define("portal-workflow-metrics-web@2.0.42/js/components/instance-list-page/InstanceListPageTable.es", ['module', 'exports', 'require', '@frontend-taglib-clay$clayui/table', 'frontend-js-react-web$react', './InstanceListPageItem.es'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.Table = void 0;

    var _table = _interopRequireDefault(require("@frontend-taglib-clay$clayui/table"));

    var _react = _interopRequireDefault(require("frontend-js-react-web$react"));

    var _InstanceListPageItem = require("./InstanceListPageItem.es");

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

    function _extends() {
      _extends = Object.assign || function (target) {
        for (var i = 1; i < arguments.length; i++) {
          var source = arguments[i];for (var key in source) {
            if (Object.prototype.hasOwnProperty.call(source, key)) {
              target[key] = source[key];
            }
          }
        }return target;
      };return _extends.apply(this, arguments);
    }

    var Table = function Table(_ref) {
      var items = _ref.items,
          totalCount = _ref.totalCount;
      return _react["default"].createElement(_table["default"], null, _react["default"].createElement(_table["default"].Head, null, _react["default"].createElement(_table["default"].Row, null, _react["default"].createElement(_table["default"].Cell, {
        headingCell: true,
        style: {
          width: '7%'
        }
      }), _react["default"].createElement(_table["default"].Cell, {
        headingCell: true,
        style: {
          width: '8%'
        }
      }, Liferay.Language.get('id')), _react["default"].createElement(_table["default"].Cell, {
        headingCell: true,
        style: {
          width: '17%'
        }
      }, Liferay.Language.get('item-subject')), _react["default"].createElement(_table["default"].Cell, {
        headingCell: true,
        style: {
          width: '18%'
        }
      }, Liferay.Language.get('process-step')), _react["default"].createElement(_table["default"].Cell, {
        headingCell: true,
        style: {
          width: '14%'
        }
      }, Liferay.Language.get('assignee')), _react["default"].createElement(_table["default"].Cell, {
        headingCell: true,
        style: {
          width: '17%'
        }
      }, Liferay.Language.get('created-by')), _react["default"].createElement(_table["default"].Cell, {
        headingCell: true,
        style: {
          width: '18%'
        }
      }, Liferay.Language.get('creation-date')), _react["default"].createElement(_table["default"].Cell, {
        headingCell: true,
        style: {
          width: '5%'
        }
      }))), _react["default"].createElement(_table["default"].Body, null, items.map(function (item, index) {
        return _react["default"].createElement(Table.Item, _extends({}, item, {
          key: index,
          totalCount: totalCount
        }));
      })));
    };

    exports.Table = Table;
    Table.Item = _InstanceListPageItem.Item;
    //# sourceMappingURL=InstanceListPageTable.es.js.map
  }
});
//# sourceMappingURL=InstanceListPageTable.es.js.map