export default [
  {
    title: '表格',
    screenshot:
      'https://alifd.alicdn.com/fusion-cool/icons/icon-antd/table-1.png',
    schema: {
      componentName: 'DataSourceTable',
      props: {
        style: {
          padding: '24px 24px 0',
        },
        dataSource: [],
        columns: [],
        rowKey: 'id',
        pagination: {
          pageSize: 10,
          total: 15,
          current: 1,
          localPagination: false,
        },
        view: {
          defaultViewMode: 'grid',
          multiple: false,
        },
        columnSetting: {
          show: true,
          storageMode: 'localStorage',
        },
        sort: {
          show: false,
          storageMode: 'localStorage',
        },
        dataSourceGroup: {
          show: false,
          storageMode: '',
        },
        filter: {
          show: false,
          sortButtonShow: false,
          storageMode: '',
          quickFilterMaxLength: 3,
          list: [],
        },
        gallery: {
          cardMinWidth: 260,
          cardMaxWidth: 340,
          horizontalGutter: 32,
          verticalGutter: 32,
          cover: {
            show: true,
            height: 230,
            objectFit: 'fill',
          },
          title: {
            line: 2,
          },
          header: {
            fields: {
              show: false,
            },
          },
          content: {},
          footer: {},
        },
        exportImport: {
          show: false,
          selectLists: [],
          templateFileUrl: '',
          title: '',
          hiddenKeys: [],
          otherParams: {},
        },
        showDeleteButton: false,
        loading: false,
        showHeader: true,
        bordered: true,
        size: 'default',
        tableLayout: 'auto',
        virtual: true,
        scroll: {
          autoCalc: false,
          scrollToFirstRowOnChange: true,
        },
        dragSort: false,
        showTitle: true,
        showSubTitle: true,
      },
    },
  },
];
