'use strict';

const tablePaginationProps = {
  total: {
    required: true,
    type: Number
  },
  page: {
    type: Number,
    default: 1
  },
  limit: {
    type: Number,
    default: 20
  },
  pageSizes: {
    type: Array,
    default() {
      return [10, 20, 30, 50];
    }
  },
  // 移动端页码按钮的数量端默认值5
  pagerCount: {
    type: Number,
    default: () => document.body.clientWidth < 992 ? 5 : 7
  },
  layout: {
    type: String,
    default: "total, sizes, prev, pager, next, jumper"
  },
  background: {
    type: Boolean,
    default: true
  },
  autoScroll: {
    type: Boolean,
    default: true
  },
  hidden: {
    type: Boolean,
    default: false
  },
  small: {
    type: Boolean,
    default: true
  },
  size: {
    type: String,
    default: "small"
  }
};

exports.tablePaginationProps = tablePaginationProps;
//# sourceMappingURL=tablePagination.js.map
