import { ComponentDescription } from '@vtj/engine';
const Pagination: ComponentDescription = {
  name: 'ElPagination',
  title: '分页',
  groupId: 'el',
  categoryId: 'data',
  childIncludes: false,
  package: 'element-plus',
  props: [
    {
      name: 'small',
      defaultValue: false,
      setters: 'BooleanSetter'
    },
    {
      name: 'background',
      defaultValue: false,
      setters: 'BooleanSetter'
    },
    {
      name: 'pageSize',
      defaultValue: 10,
      setters: 'NumberSetter'
    },
    {
      name: 'defaultPageSize',
      defaultValue: '',
      setters: 'NumberSetter'
    },
    {
      name: 'total',
      defaultValue: '',
      title: '总条目数',
      setters: 'NumberSetter'
    },
    {
      name: 'pageCount',
      defaultValue: '',
      setters: 'NumberSetter'
    },
    {
      name: 'pagerCount',
      defaultValue: 7,
      setters: 'NumberSetter'
    },
    {
      name: 'current-page',
      defaultValue: 1,
      setters: 'NumberSetter'
    },
    {
      name: 'defaultCurrentPage',
      defaultValue: '',
      setters: 'NumberSetter'
    },
    {
      name: 'layout',
      defaultValue: '',
      options: [
        'sizes',
        'prev',
        'pager',
        'next',
        'jumper',
        '->',
        'total',
        'slot'
      ],
      setters: 'NumberSetter'
    },
    {
      name: 'pageSizes',
      defaultValue: [10, 20, 30, 40, 50, 100],
      setters: 'JSONSetter'
    },
    {
      name: 'popperClass',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'prevText',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'prevIcon',
      defaultValue: 'ArrowLeft',
      setters: 'InputSetter'
    },
    {
      name: 'nextText',
      defaultValue: '',
      setters: 'InputSetter'
    },
    {
      name: 'nextIcon',
      defaultValue: 'ArrowRight',
      setters: 'InputSetter'
    },
    {
      name: 'disabled',
      defaultValue: false,
      setters: 'BooleanSetter'
    },
    {
      name: 'hideOnSinglePage',
      defaultValue: '',
      setters: 'BooleanSetter'
    }
  ]
};
export default Pagination;
