"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.TableEmptyState = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
var _react = _interopRequireDefault(require("react"));
var _EmptyState = _interopRequireDefault(require("../../EmptyState"));
var _TableSt = require("../Table.st.css.js");
var _EmptyState2 = require("../../EmptyState/EmptyState");
var _excluded = ["image", "children", "align"];
var _jsxFileName = "/home/builduser/work/57e038ea7326c1ec/packages/wix-design-system/dist/cjs/Table/components/TableEmptyState.jsx",
  _this = void 0;
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
var TableEmptyState = exports.TableEmptyState = function TableEmptyState(_ref) {
  var _ref$image = _ref.image,
    image = _ref$image === void 0 ? _EmptyState2.defaultEmptyStateProps.image : _ref$image,
    _ref$children = _ref.children,
    children = _ref$children === void 0 ? _EmptyState2.defaultEmptyStateProps.children : _ref$children,
    _ref$align = _ref.align,
    align = _ref$align === void 0 ? _EmptyState2.defaultEmptyStateProps.align : _ref$align,
    propsWithNoDefaults = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
  var props = _objectSpread({
    image: image,
    children: children,
    align: align
  }, propsWithNoDefaults);
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: _TableSt.classes.emptyStateContainer,
    __self: _this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 15,
      columnNumber: 5
    }
  }, /*#__PURE__*/_react["default"].createElement(_EmptyState["default"], (0, _extends2["default"])({}, props, {
    __self: _this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 16,
      columnNumber: 7
    }
  })));
};
TableEmptyState.displayName = 'Table.EmptyState';