/**
 * tdesign v0.32.0
 * (c) 2021 tdesign
 * @license MIT
 */

'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var baseTableProps = {
  bordered: Boolean,
  columns: {
    type: Array,
    "default": function _default() {
      return [];
    }
  },
  data: {
    type: Array,
    "default": function _default() {
      return [];
    }
  },
  empty: {
    type: [String, Function],
    "default": ""
  },
  expandedRow: {
    type: [String, Function]
  },
  firstFullRow: {
    type: [String, Function]
  },
  height: {
    type: [String, Number],
    "default": "auto"
  },
  hover: Boolean,
  lastFullRow: {
    type: [String, Function]
  },
  loading: {
    type: [Boolean, Function],
    "default": false
  },
  maxHeight: {
    type: [String, Number]
  },
  pagination: {
    type: Object
  },
  rowClassName: {
    type: [String, Object, Array, Function]
  },
  rowKey: {
    type: String,
    "default": "",
    required: true
  },
  rowspanAndColspan: {
    type: Function
  },
  size: {
    type: String,
    "default": "medium",
    validator: function validator(val) {
      return ["small", "medium", "large"].includes(val);
    }
  },
  stripe: Boolean,
  tableLayout: {
    type: String,
    "default": "fixed",
    validator: function validator(val) {
      return ["auto", "fixed"].includes(val);
    }
  },
  topContent: {
    type: [String, Function]
  },
  verticalAlign: {
    type: String,
    "default": "middle",
    validator: function validator(val) {
      return ["top", "middle", "bottom"].includes(val);
    }
  },
  onPageChange: Function,
  onRowClick: Function,
  onRowDbClick: Function,
  onRowHover: Function,
  onRowMousedown: Function,
  onRowMouseenter: Function,
  onRowMouseleave: Function,
  onRowMouseup: Function,
  onScrollX: Function,
  onScrollY: Function
};

exports["default"] = baseTableProps;
//# sourceMappingURL=base-table-props.js.map
