ant-design-vue/components/table/demo/index.vue

103 lines
2.5 KiB
Vue

<template>
<demo-sort :cols="1">
<Basic />
<Ajax />
<Bordered />
<Ellipsis />
<ColspanRowspan />
<EditCell />
<EditRow />
<ExpandChildren />
<Expand />
<FixedColumnsHeader />
<FixedColumns />
<FixedHeader />
<GroupingColumns />
<MultipleSorter />
<NestedTable />
<Head />
<CustomFilterPanel />
<ResetFilter />
<RowSelectionAndOperation />
<RowSelectionCustom />
<RowSelection />
<Sticky />
<ResizableColumn />
<Size />
<Stripe />
<Summary />
<Responsive />
<TemplateCom />
</demo-sort>
</template>
<script lang="ts">
/* eslint-disable @typescript-eslint/no-unused-vars */
import Ajax from './ajax.vue';
import Basic from './basic.vue';
import Bordered from './bordered.vue';
import ColspanRowspan from './colspan-rowspan.vue';
import CustomFilterPanel from './custom-filter-panel.vue';
import EditCell from './edit-cell.vue';
import EditRow from './edit-row.vue';
import ExpandChildren from './expand-children.vue';
import Expand from './expand.vue';
import FixedColumnsHeader from './fixed-columns-header.vue';
import FixedColumns from './fixed-columns.vue';
import FixedHeader from './fixed-header.vue';
import GroupingColumns from './grouping-columns.vue';
import Head from './head.vue';
import NestedTable from './nested-table.vue';
import ResetFilter from './reset-filter.vue';
import RowSelectionAndOperation from './row-selection-and-operation.vue';
import RowSelectionCustom from './row-selection-custom.vue';
import RowSelection from './row-selection.vue';
import Size from './size.vue';
import TemplateCom from './template.vue';
import Ellipsis from './ellipsis.vue';
import Stripe from './stripe.vue';
import MultipleSorter from './multiple-sorter.vue';
import Summary from './summary.vue';
import Sticky from './sticky.vue';
import ResizableColumn from './resizable-column.vue';
import Responsive from './responsive.vue';
import CN from '../index.zh-CN.md';
import US from '../index.en-US.md';
import { defineComponent } from 'vue';
export default defineComponent({
CN,
US,
components: {
Basic,
Ellipsis,
Ajax,
Bordered,
ColspanRowspan,
CustomFilterPanel,
EditCell,
EditRow,
ExpandChildren,
Expand,
FixedColumnsHeader,
FixedColumns,
FixedHeader,
GroupingColumns,
Head,
NestedTable,
ResetFilter,
RowSelectionAndOperation,
RowSelectionCustom,
RowSelection,
Size,
TemplateCom,
Stripe,
MultipleSorter,
Summary,
Sticky,
ResizableColumn,
Responsive,
},
});
</script>