6456 lines
311 KiB
Plaintext
6456 lines
311 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`renders ./components/table/demo/basic.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!----><span><span role="img" aria-label="smile" class="anticon anticon-smile"><svg focusable="false" class="" data-icon="smile" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"></path></svg></span> Name </span>
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="3" colend="3">
|
|
<!---->Tags
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="4" colend="4">
|
|
<!---->Action
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a>John Brown</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><span class="ant-tag ant-tag-green">NICE<!----></span><span class="ant-tag ant-tag-geekblue">DEVELOPER<!----></span></span>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><a>Invite 一 John Brown</a><div class="ant-divider ant-divider-vertical" role="separator"><!----></div><a>Delete</a><div class="ant-divider ant-divider-vertical" role="separator"><!----></div><a class="ant-dropdown-link"> More actions <span role="img" aria-label="down" class="anticon anticon-down"><svg focusable="false" class="" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></span></a></span>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a>Jim Green</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><span class="ant-tag ant-tag-volcano">LOSER<!----></span></span>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><a>Invite 一 Jim Green</a><div class="ant-divider ant-divider-vertical" role="separator"><!----></div><a>Delete</a><div class="ant-divider ant-divider-vertical" role="separator"><!----></div><a class="ant-dropdown-link"> More actions <span role="img" aria-label="down" class="anticon anticon-down"><svg focusable="false" class="" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></span></a></span>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a>Joe Black</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><span class="ant-tag ant-tag-green">COOL<!----></span><span class="ant-tag ant-tag-geekblue">TEACHER<!----></span></span>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><a>Invite 一 Joe Black</a><div class="ant-divider ant-divider-vertical" role="separator"><!----></div><a>Delete</a><div class="ant-divider ant-divider-vertical" role="separator"><!----></div><a class="ant-dropdown-link"> More actions <span role="img" aria-label="down" class="anticon anticon-down"><svg focusable="false" class="" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></span></a></span>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/big-data.vue correctly 1`] = `
|
|
<iframe src="https://www.surely.cool/for-ant-demo" height="400"></iframe>
|
|
<!--v-if-->
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/bordered.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-bordered">
|
|
<div class="ant-table-title">Header</div>
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell column-money" colstart="1" colend="1">
|
|
<!---->Cash Assets
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a>John Brown</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell column-money">
|
|
<!---->¥300,000.00
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a>Jim Green</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell column-money">
|
|
<!---->¥1,256,000.00
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a>Joe Black</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell column-money">
|
|
<!---->¥120,000.00
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="ant-table-footer">Footer</div>
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/colspan-rowspan.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-bordered">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th colspan="2" class="ant-table-cell" colstart="2" colend="3">
|
|
<!---->Home phone
|
|
<!---->
|
|
</th>
|
|
<!---->
|
|
<th class="ant-table-cell" colstart="4" colend="4">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a href="javascript:;">John Brown</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->0571-22098909
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->18889898989
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a href="javascript:;">Jim Green</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->0571-22098333
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->18889898888
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a href="javascript:;">Joe Black</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td rowspan="2" class="ant-table-cell">
|
|
<!---->0575-22098909
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->18900010002
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a href="javascript:;">Jim Red</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->18
|
|
<!---->
|
|
</td>
|
|
<!---->
|
|
<td class="ant-table-cell">
|
|
<!---->18900010002
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 2 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="5" class="ant-table-row ant-table-row-level-0">
|
|
<td colspan="5" class="ant-table-cell">
|
|
<!----><a href="javascript:;">Jake White</a>
|
|
<!---->
|
|
</td>
|
|
<!---->
|
|
<!---->
|
|
<!---->
|
|
<!---->
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/custom-filter-panel.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!---->
|
|
<div class="ant-table-filter-column"><span class="ant-table-column-title"><span style="color: rgb(24, 144, 255);">Name</span></span>
|
|
<!----><span role="button" tabindex="-1" class="ant-table-filter-trigger ant-dropdown-trigger"><span role="img" aria-label="search" class="anticon anticon-search"><svg focusable="false" class="" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg></span></span>
|
|
</div>
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->
|
|
<div class="ant-table-filter-column"><span class="ant-table-column-title">Address</span>
|
|
<!----><span role="button" tabindex="-1" class="ant-table-filter-trigger ant-dropdown-trigger"><span role="img" aria-label="search" class="anticon anticon-search"><svg focusable="false" class="" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg></span></span>
|
|
</div>
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Joe Black
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Jim Green
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Jim Red
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 2 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/edit-cell.vue correctly 1`] = `
|
|
<button class="ant-btn editable-add-btn" style="margin-bottom: 8px;" type="button">
|
|
<!----><span>Add</span>
|
|
</button>
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-bordered">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup>
|
|
<col style="width: 30%;">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!---->name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->address
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="3" colend="3">
|
|
<!---->operation
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="0" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div class="editable-cell">
|
|
<div class="editable-cell-text-wrapper">Edward King 0 <span tabindex="-1" role="img" aria-label="edit" class="anticon anticon-edit editable-cell-icon"><svg focusable="false" class="" data-icon="edit" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"></path></svg></span></div>
|
|
</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<!----><a>Delete</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div class="editable-cell">
|
|
<div class="editable-cell-text-wrapper">Edward King 1 <span tabindex="-1" role="img" aria-label="edit" class="anticon anticon-edit editable-cell-icon"><svg focusable="false" class="" data-icon="edit" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"></path></svg></span></div>
|
|
</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<!----><a>Delete</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/edit-row.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-bordered">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup>
|
|
<col style="width: 25%;">
|
|
<col style="width: 15%;">
|
|
<col style="width: 40%;">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!---->name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->address
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="3" colend="3">
|
|
<!---->operation
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="0" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>Edrward 0</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>32</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>London Park no. 0</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>Edrward 1</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>32</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>London Park no. 1</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>Edrward 2</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>32</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>London Park no. 2</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>Edrward 3</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>32</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>London Park no. 3</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>Edrward 4</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>32</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>London Park no. 4</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="5" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>Edrward 5</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>32</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>London Park no. 5</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="6" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>Edrward 6</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>32</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>London Park no. 6</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="7" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>Edrward 7</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>32</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>London Park no. 7</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="8" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>Edrward 8</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>32</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>London Park no. 8</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="9" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>Edrward 9</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>32</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div>London Park no. 9</div>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="2" tabindex="0" class="ant-pagination-item ant-pagination-item-2"><a rel="nofollow">2</a></li>
|
|
<li title="3" tabindex="0" class="ant-pagination-item ant-pagination-item-3"><a rel="nofollow">3</a></li>
|
|
<li title="4" tabindex="0" class="ant-pagination-item ant-pagination-item-4"><a rel="nofollow">4</a></li>
|
|
<li title="5" tabindex="0" class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next"><a rel="nofollow">5</a></li>
|
|
<li title="Next 5 Pages" tabindex="0" class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon"><a rel="nofollow" class="ant-pagination-item-link">
|
|
<div class="ant-pagination-item-container"><span role="img" aria-label="double-right" class="anticon anticon-double-right ant-pagination-item-link-icon"><svg focusable="false" class="" data-icon="double-right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"></path></svg></span><span class="ant-pagination-item-ellipsis">•••</span></div>
|
|
</a></li>
|
|
<li title="10" tabindex="0" class="ant-pagination-item ant-pagination-item-10"><a rel="nofollow">10</a></li>
|
|
<li title="Next Page" tabindex="0" class="ant-pagination-next" aria-disabled="false"><button class="ant-pagination-item-link" type="button" tabindex="-1"><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<li class="ant-pagination-options">
|
|
<div class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow">
|
|
<!---->
|
|
<!---->
|
|
<div class="ant-select-selector"><span class="ant-select-selection-search"><input id="rc_select_TEST_OR_SSR" autocomplete="off" class="ant-select-selection-search-input" style="opacity: 0;" role="combobox" aria-haspopup="listbox" aria-owns="rc_select_TEST_OR_SSR_list" aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-activedescendant="rc_select_TEST_OR_SSR_list_0" readonly="" unselectable="on" type="search"></span><span class="ant-select-selection-item">10 / page</span>
|
|
<!---->
|
|
</div><span class="ant-select-arrow" style="user-select: none;" unselectable="on" aria-hidden="true"><span role="img" aria-label="down" class="anticon anticon-down ant-select-suffix"><svg focusable="false" class="" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></span></span>
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/ellipsis.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: fixed;">
|
|
<colgroup>
|
|
<col>
|
|
<col style="width: 80px;">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th title="Address" class="ant-table-cell ant-table-cell-ellipsis" colstart="2" colend="2">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
<th title="Long Column Long Column Long Column" class="ant-table-cell ant-table-cell-ellipsis" colstart="3" colend="3">
|
|
<!---->Long Column Long Column Long Column
|
|
<!---->
|
|
</th>
|
|
<th title="Long Column Long Column" class="ant-table-cell ant-table-cell-ellipsis" colstart="4" colend="4">
|
|
<!---->Long Column Long Column
|
|
<!---->
|
|
</th>
|
|
<th title="Long Column" class="ant-table-cell ant-table-cell-ellipsis" colstart="5" colend="5">
|
|
<!---->Long Column
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a>John Brown</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td title="New York No. 1 Lake Park, New York No. 1 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->New York No. 1 Lake Park, New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td title="New York No. 1 Lake Park, New York No. 1 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->New York No. 1 Lake Park, New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td title="New York No. 1 Lake Park, New York No. 1 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->New York No. 1 Lake Park, New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td title="New York No. 1 Lake Park, New York No. 1 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->New York No. 1 Lake Park, New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a>Jim Green</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->42
|
|
<!---->
|
|
</td>
|
|
<td title="London No. 2 Lake Park, London No. 2 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->London No. 2 Lake Park, London No. 2 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td title="London No. 2 Lake Park, London No. 2 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->London No. 2 Lake Park, London No. 2 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td title="London No. 2 Lake Park, London No. 2 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->London No. 2 Lake Park, London No. 2 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td title="London No. 2 Lake Park, London No. 2 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->London No. 2 Lake Park, London No. 2 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a>Joe Black</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td title="Sidney No. 1 Lake Park, Sidney No. 1 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->Sidney No. 1 Lake Park, Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td title="Sidney No. 1 Lake Park, Sidney No. 1 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->Sidney No. 1 Lake Park, Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td title="Sidney No. 1 Lake Park, Sidney No. 1 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->Sidney No. 1 Lake Park, Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td title="Sidney No. 1 Lake Park, Sidney No. 1 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->Sidney No. 1 Lake Park, Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/expand.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-fixed-column ant-table-scroll-horizontal ant-table-has-fix-left">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div style="overflow-x: auto; overflow-y: hidden;" class="ant-table-content">
|
|
<table style="width: 2000px; min-width: 100%; table-layout: fixed;">
|
|
<colgroup>
|
|
<col class="ant-table-expand-icon-col">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell ant-table-cell-fix-left ant-table-row-expand-icon-cell" style="position: sticky; left: 0px;" colstart="0" colend="0">
|
|
<!---->
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;" colstart="1" colend="1">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="3" colend="3">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="4" colend="4">
|
|
<!---->Action
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr aria-hidden="true" class="ant-table-measure-row" style="height: 0px; font-size: 0px;">
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
</tr>
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!----><button type="button" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" aria-label="Expand row"></button>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><a>Delete</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!----><button type="button" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" aria-label="Expand row"></button>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Jim Green
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><a>Delete</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!----><button type="button" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" aria-label="Expand row"></button>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Joe Black
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><a>Delete</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/expand-children.vue correctly 1`] = `
|
|
<div class="ant-space ant-space-horizontal ant-space-align-center" style="margin-bottom: 16px;">
|
|
<div class="ant-space-item" style="margin-right: 8px;"> CheckStrictly: </div>
|
|
<!---->
|
|
<div class="ant-space-item"><button type="button" role="switch" aria-checked="false" class="ant-switch">
|
|
<!----><span class="ant-switch-inner"><!----></span>
|
|
</button></div>
|
|
<!---->
|
|
</div>
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup>
|
|
<col class="ant-table-selection-col">
|
|
<col>
|
|
<col style="width: 12%;">
|
|
<col style="width: 30%;">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell ant-table-selection-column" colstart="0" colend="0">
|
|
<!---->
|
|
<div class="ant-table-selection"><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="3" colend="3">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-with-append"><span style="padding-left: 0px;" class="ant-table-row-indent indent-level-0"></span><button type="button" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" aria-label="Expand row"></button>John Brown sr.
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->60
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-with-append"><span style="padding-left: 0px;" class="ant-table-row-indent indent-level-0"></span><button type="button" class="ant-table-row-expand-icon ant-table-row-expand-icon-spaced" aria-label="Expand row"></button>Joe Black
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/fixed-columns.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-fixed-header ant-table-fixed-column ant-table-scroll-horizontal ant-table-has-fix-left ant-table-has-fix-right">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div style="overflow: hidden;" class="ant-table-header">
|
|
<table style="table-layout: fixed; visibility: hidden;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;" colstart="0" colend="0">
|
|
<!---->Full Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;" colstart="1" colend="1">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Column 1
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="3" colend="3">
|
|
<!---->Column 2
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="4" colend="4">
|
|
<!---->Column 3
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="5" colend="5">
|
|
<!---->Column 4
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="6" colend="6">
|
|
<!---->Column 5
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="7" colend="7">
|
|
<!---->Column 6
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="8" colend="8">
|
|
<!---->Column 7
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="9" colend="9">
|
|
<!---->Column 8
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;" colstart="10" colend="10">
|
|
<!---->Action
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
<div style="overflow-x: auto; overflow-y: scroll; max-height: 1000px;" class="ant-table-body">
|
|
<table style="width: 1300px; min-width: 100%; table-layout: fixed;">
|
|
<colgroup>
|
|
<col style="width: 100px;">
|
|
<col style="width: 100px;">
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col style="width: 100px;">
|
|
</colgroup>
|
|
<tbody class="ant-table-tbody">
|
|
<tr aria-hidden="true" class="ant-table-measure-row" style="height: 0px; font-size: 0px;">
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
</tr>
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Jim Green
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->40
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
<!---->
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/fixed-columns-header.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-fixed-header ant-table-fixed-column ant-table-scroll-horizontal ant-table-has-fix-left ant-table-has-fix-right">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div style="overflow: hidden;" class="ant-table-header">
|
|
<table style="table-layout: fixed; visibility: hidden;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;" colstart="0" colend="0">
|
|
<!---->Full Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;" colstart="1" colend="1">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Column 1
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="3" colend="3">
|
|
<!---->Column 2
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="4" colend="4">
|
|
<!---->Column 3
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="5" colend="5">
|
|
<!---->Column 4
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="6" colend="6">
|
|
<!---->Column 5
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="7" colend="7">
|
|
<!---->Column 6
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="8" colend="8">
|
|
<!---->Column 7
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="9" colend="9">
|
|
<!---->Column 8
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;" colstart="10" colend="10">
|
|
<!---->Action
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
<div style="overflow-x: auto; overflow-y: scroll; max-height: 300px;" class="ant-table-body">
|
|
<table style="width: 1500px; min-width: 100%; table-layout: fixed;">
|
|
<colgroup>
|
|
<col style="width: 100px;">
|
|
<col style="width: 100px;">
|
|
<col style="width: 150px;">
|
|
<col style="width: 150px;">
|
|
<col style="width: 150px;">
|
|
<col style="width: 150px;">
|
|
<col style="width: 150px;">
|
|
<col style="width: 150px;">
|
|
<col style="width: 150px;">
|
|
<col>
|
|
<col style="width: 100px;">
|
|
</colgroup>
|
|
<tbody class="ant-table-tbody">
|
|
<tr aria-hidden="true" class="ant-table-measure-row" style="height: 0px; font-size: 0px;">
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
</tr>
|
|
<tr data-row-key="0" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="5" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="6" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="7" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="8" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="9" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
<!---->
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="2" tabindex="0" class="ant-pagination-item ant-pagination-item-2"><a rel="nofollow">2</a></li>
|
|
<li title="3" tabindex="0" class="ant-pagination-item ant-pagination-item-3"><a rel="nofollow">3</a></li>
|
|
<li title="4" tabindex="0" class="ant-pagination-item ant-pagination-item-4"><a rel="nofollow">4</a></li>
|
|
<li title="5" tabindex="0" class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next"><a rel="nofollow">5</a></li>
|
|
<li title="Next 5 Pages" tabindex="0" class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon"><a rel="nofollow" class="ant-pagination-item-link">
|
|
<div class="ant-pagination-item-container"><span role="img" aria-label="double-right" class="anticon anticon-double-right ant-pagination-item-link-icon"><svg focusable="false" class="" data-icon="double-right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"></path></svg></span><span class="ant-pagination-item-ellipsis">•••</span></div>
|
|
</a></li>
|
|
<li title="10" tabindex="0" class="ant-pagination-item ant-pagination-item-10"><a rel="nofollow">10</a></li>
|
|
<li title="Next Page" tabindex="0" class="ant-pagination-next" aria-disabled="false"><button class="ant-pagination-item-link" type="button" tabindex="-1"><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<li class="ant-pagination-options">
|
|
<div class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow">
|
|
<!---->
|
|
<!---->
|
|
<div class="ant-select-selector"><span class="ant-select-selection-search"><input id="rc_select_TEST_OR_SSR" autocomplete="off" class="ant-select-selection-search-input" style="opacity: 0;" role="combobox" aria-haspopup="listbox" aria-owns="rc_select_TEST_OR_SSR_list" aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-activedescendant="rc_select_TEST_OR_SSR_list_0" readonly="" unselectable="on" type="search"></span><span class="ant-select-selection-item">10 / page</span>
|
|
<!---->
|
|
</div><span class="ant-select-arrow" style="user-select: none;" unselectable="on" aria-hidden="true"><span role="img" aria-label="down" class="anticon anticon-down ant-select-suffix"><svg focusable="false" class="" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></span></span>
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/fixed-header.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-fixed-header">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div style="overflow: hidden;" class="ant-table-header">
|
|
<table style="table-layout: fixed; visibility: hidden;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
<div style="overflow-y: scroll; max-height: 240px;" class="ant-table-body">
|
|
<table style="table-layout: fixed;">
|
|
<colgroup>
|
|
<col style="width: 150px;">
|
|
<col style="width: 150px;">
|
|
</colgroup>
|
|
<tbody class="ant-table-tbody">
|
|
<tr aria-hidden="true" class="ant-table-measure-row" style="height: 0px; font-size: 0px;">
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
</tr>
|
|
<tr data-row-key="0" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 0
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 1
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 2
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 3
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 4
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="5" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 5
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="6" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 6
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="7" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 7
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="8" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 8
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="9" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 9
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="10" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 10
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 10
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="11" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 11
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 11
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="12" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 12
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 12
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="13" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 13
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 13
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="14" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 14
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 14
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="15" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 15
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 15
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="16" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 16
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 16
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="17" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 17
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 17
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="18" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 18
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 18
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="19" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 19
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 19
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="20" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 20
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 20
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="21" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 21
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 21
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="22" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 22
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 22
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="23" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 23
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 23
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="24" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 24
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 24
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="25" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 25
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 25
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="26" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 26
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 26
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="27" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 27
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 27
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="28" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 28
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 28
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="29" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 29
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 29
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="30" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 30
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 30
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="31" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 31
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 31
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="32" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 32
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="33" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 33
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 33
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="34" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 34
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 34
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="35" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 35
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 35
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="36" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 36
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 36
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="37" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 37
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 37
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="38" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 38
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 38
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="39" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 39
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 39
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="40" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 40
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 40
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="41" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 41
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 41
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="42" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 42
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="43" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 43
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 43
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="44" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 44
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 44
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="45" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 45
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 45
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="46" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 46
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 46
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="47" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 47
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 47
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="48" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 48
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 48
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="49" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 49
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 49
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
<!---->
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="2" tabindex="0" class="ant-pagination-item ant-pagination-item-2"><a rel="nofollow">2</a></li>
|
|
<li title="Next Page" tabindex="0" class="ant-pagination-next" aria-disabled="false"><button class="ant-pagination-item-link" type="button" tabindex="-1"><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<li class="ant-pagination-options">
|
|
<div class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow">
|
|
<!---->
|
|
<!---->
|
|
<div class="ant-select-selector"><span class="ant-select-selection-search"><input id="rc_select_TEST_OR_SSR" autocomplete="off" class="ant-select-selection-search-input" style="opacity: 0;" role="combobox" aria-haspopup="listbox" aria-owns="rc_select_TEST_OR_SSR_list" aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-activedescendant="rc_select_TEST_OR_SSR_list_0" readonly="" unselectable="on" type="search"></span><span class="ant-select-selection-item">50 / page</span>
|
|
<!---->
|
|
</div><span class="ant-select-arrow" style="user-select: none;" unselectable="on" aria-hidden="true"><span role="img" aria-label="down" class="anticon anticon-down ant-select-suffix"><svg focusable="false" class="" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></span></span>
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/grouping-columns.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-fixed-header ant-table-fixed-column ant-table-scroll-horizontal ant-table-has-fix-left ant-table-has-fix-right ant-table-middle ant-table-bordered">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div style="overflow: hidden;" class="ant-table-header">
|
|
<table style="table-layout: fixed; visibility: hidden;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th rowspan="4" class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;" colstart="0" colend="0">
|
|
<!---->
|
|
<div class="ant-table-filter-column"><span class="ant-table-column-title">Name</span>
|
|
<!----><span role="button" tabindex="-1" class="ant-table-filter-trigger ant-dropdown-trigger"><span role="img" aria-label="filter" class="anticon anticon-filter"><svg focusable="false" class="" data-icon="filter" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"></path></svg></span></span>
|
|
</div>
|
|
<!---->
|
|
</th>
|
|
<th colspan="4" class="ant-table-cell" colstart="1" hassubcolumns="true" colend="4">
|
|
<!---->Other
|
|
<!---->
|
|
</th>
|
|
<th colspan="2" class="ant-table-cell" colstart="5" hassubcolumns="true" colend="6">
|
|
<!---->Company
|
|
<!---->
|
|
</th>
|
|
<th rowspan="4" class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;" colstart="7" colend="7">
|
|
<!---->Gender
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<th class="ant-table-cell ant-table-column-has-sorters" rowspan="3" colstart="1" colend="1">
|
|
<!---->
|
|
<!---->
|
|
<div class="ant-table-column-sorters"><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter ant-table-column-sorter-full"><span class="ant-table-column-sorter-inner"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up"><svg focusable="false" class="" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"></path></svg></span><span role="img" aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down"><svg focusable="false" class="" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"></path></svg></span></span></span></div>
|
|
<!---->
|
|
</th>
|
|
<th colspan="3" class="ant-table-cell" colstart="2" hassubcolumns="true" colend="4">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
<th rowspan="3" class="ant-table-cell" colstart="5" colend="5">
|
|
<!---->Company Address
|
|
<!---->
|
|
</th>
|
|
<th rowspan="3" class="ant-table-cell" colstart="6" colend="6">
|
|
<!---->Company Name
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<th rowspan="2" class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Street
|
|
<!---->
|
|
</th>
|
|
<th colspan="2" class="ant-table-cell" colstart="3" hassubcolumns="true" colend="4">
|
|
<!---->Block
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="3" colend="3">
|
|
<!---->Building
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="4" colend="4">
|
|
<!---->Door No.
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
<div style="overflow-x: auto; overflow-y: scroll; max-height: 240px;" class="ant-table-body">
|
|
<table style="width: calc(700px + 50%); min-width: 100%; table-layout: fixed;">
|
|
<colgroup>
|
|
<col style="width: 100px;">
|
|
<col style="width: 200px;">
|
|
<col style="width: 200px;">
|
|
<col style="width: 100px;">
|
|
<col style="width: 100px;">
|
|
<col style="width: 200px;">
|
|
<col>
|
|
<col style="width: 80px;">
|
|
</colgroup>
|
|
<tbody class="ant-table-tbody">
|
|
<tr aria-hidden="true" class="ant-table-measure-row" style="height: 0px; font-size: 0px;">
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
</tr>
|
|
<tr data-row-key="0" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->C
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->2035
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Street 42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->SoftLake Co
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!---->M
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->C
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->2035
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Street 42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->SoftLake Co
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!---->M
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->C
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->2035
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Street 42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->SoftLake Co
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!---->M
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->C
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->2035
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Street 42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->SoftLake Co
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!---->M
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->C
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->2035
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Street 42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->SoftLake Co
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!---->M
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="5" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->C
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->2035
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Street 42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->SoftLake Co
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!---->M
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="6" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->C
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->2035
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Street 42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->SoftLake Co
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!---->M
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="7" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->C
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->2035
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Street 42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->SoftLake Co
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!---->M
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="8" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->C
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->2035
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Street 42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->SoftLake Co
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!---->M
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="9" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->10
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->C
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->2035
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Lake Street 42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->SoftLake Co
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!---->M
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
<!---->
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination mini ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="2" tabindex="0" class="ant-pagination-item ant-pagination-item-2"><a rel="nofollow">2</a></li>
|
|
<li title="3" tabindex="0" class="ant-pagination-item ant-pagination-item-3"><a rel="nofollow">3</a></li>
|
|
<li title="4" tabindex="0" class="ant-pagination-item ant-pagination-item-4"><a rel="nofollow">4</a></li>
|
|
<li title="5" tabindex="0" class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next"><a rel="nofollow">5</a></li>
|
|
<li title="Next 5 Pages" tabindex="0" class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon"><a rel="nofollow" class="ant-pagination-item-link">
|
|
<div class="ant-pagination-item-container"><span role="img" aria-label="double-right" class="anticon anticon-double-right ant-pagination-item-link-icon"><svg focusable="false" class="" data-icon="double-right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"></path></svg></span><span class="ant-pagination-item-ellipsis">•••</span></div>
|
|
</a></li>
|
|
<li title="10" tabindex="0" class="ant-pagination-item ant-pagination-item-10"><a rel="nofollow">10</a></li>
|
|
<li title="Next Page" tabindex="0" class="ant-pagination-next" aria-disabled="false"><button class="ant-pagination-item-link" type="button" tabindex="-1"><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<li class="ant-pagination-options">
|
|
<div class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow">
|
|
<!---->
|
|
<!---->
|
|
<div class="ant-select-selector"><span class="ant-select-selection-search"><input id="rc_select_TEST_OR_SSR" autocomplete="off" class="ant-select-selection-search-input" style="opacity: 0;" role="combobox" aria-haspopup="listbox" aria-owns="rc_select_TEST_OR_SSR_list" aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-activedescendant="rc_select_TEST_OR_SSR_list_0" readonly="" unselectable="on" type="search"></span><span class="ant-select-selection-item">10 / page</span>
|
|
<!---->
|
|
</div><span class="ant-select-arrow" style="user-select: none;" unselectable="on" aria-hidden="true"><span role="img" aria-label="down" class="anticon anticon-down ant-select-suffix"><svg focusable="false" class="" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></span></span>
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/head.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell ant-table-column-has-sorters" colstart="0" colend="0">
|
|
<!---->
|
|
<div class="ant-table-filter-column"><span class="ant-table-column-title"><!----><div class="ant-table-column-sorters"><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"><span class="ant-table-column-sorter-inner"><!----><span role="img" aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down"><svg focusable="false" class="" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"></path></svg></span></span></span></div></span>
|
|
<!----><span role="button" tabindex="-1" class="ant-table-filter-trigger ant-dropdown-trigger"><span role="img" aria-label="filter" class="anticon anticon-filter"><svg focusable="false" class="" data-icon="filter" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"></path></svg></span></span>
|
|
</div>
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell ant-table-column-has-sorters ant-table-column-sort" colstart="1" colend="1">
|
|
<!---->
|
|
<!---->
|
|
<div class="ant-table-column-sorters"><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter ant-table-column-sorter-full"><span class="ant-table-column-sorter-inner"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up"><svg focusable="false" class="" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"></path></svg></span><span role="img" aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down active"><svg focusable="false" class="" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"></path></svg></span></span></span></div>
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell ant-table-column-has-sorters" colstart="2" colend="2">
|
|
<!---->
|
|
<div class="ant-table-filter-column"><span class="ant-table-column-title"><!----><div class="ant-table-column-sorters"><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter ant-table-column-sorter-full"><span class="ant-table-column-sorter-inner"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up"><svg focusable="false" class="" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"></path></svg></span><span role="img" aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down"><svg focusable="false" class="" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"></path></svg></span></span></span></div></span>
|
|
<!----><span role="button" tabindex="-1" class="ant-table-filter-trigger ant-dropdown-trigger"><span role="img" aria-label="filter" class="anticon anticon-filter"><svg focusable="false" class="" data-icon="filter" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"></path></svg></span></span>
|
|
</div>
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Jim Green
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-column-sort">
|
|
<!---->42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-column-sort">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Joe Black
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-column-sort">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Jim Red
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-column-sort">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 2 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/multiple-sorter.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell ant-table-column-has-sorters" colstart="1" colend="1">
|
|
<!---->
|
|
<!---->
|
|
<div class="ant-table-column-sorters"><span class="ant-table-column-title">Chinese Score</span><span class="ant-table-column-sorter ant-table-column-sorter-full"><span class="ant-table-column-sorter-inner"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up"><svg focusable="false" class="" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"></path></svg></span><span role="img" aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down"><svg focusable="false" class="" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"></path></svg></span></span></span></div>
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell ant-table-column-has-sorters" colstart="2" colend="2">
|
|
<!---->
|
|
<!---->
|
|
<div class="ant-table-column-sorters"><span class="ant-table-column-title">Math Score</span><span class="ant-table-column-sorter ant-table-column-sorter-full"><span class="ant-table-column-sorter-inner"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up"><svg focusable="false" class="" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"></path></svg></span><span role="img" aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down"><svg focusable="false" class="" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"></path></svg></span></span></span></div>
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell ant-table-column-has-sorters" colstart="3" colend="3">
|
|
<!---->
|
|
<!---->
|
|
<div class="ant-table-column-sorters"><span class="ant-table-column-title">English Score</span><span class="ant-table-column-sorter ant-table-column-sorter-full"><span class="ant-table-column-sorter-inner"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up"><svg focusable="false" class="" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"></path></svg></span><span role="img" aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down"><svg focusable="false" class="" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"></path></svg></span></span></span></div>
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->98
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->60
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->70
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Jim Green
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->98
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->66
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->89
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Joe Black
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->98
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->90
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->70
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Jim Red
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->88
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->99
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->89
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/nested-table.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper components-table-demo-nested">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup>
|
|
<col class="ant-table-expand-icon-col">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell ant-table-row-expand-icon-cell" colstart="0" colend="0">
|
|
<!---->
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Platform
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="3" colend="3">
|
|
<!---->Version
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="4" colend="4">
|
|
<!---->Upgraded
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="5" colend="5">
|
|
<!---->Creator
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="6" colend="6">
|
|
<!---->Date
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="7" colend="7">
|
|
<!---->Action
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="0" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><button type="button" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" aria-label="Expand row"></button>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Screem 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->iOS
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->10.3.4.5654
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->500
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Jack
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->2014-12-24 23:12:00
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><a>Publish</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><button type="button" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" aria-label="Expand row"></button>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Screem 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->iOS
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->10.3.4.5654
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->500
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Jack
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->2014-12-24 23:12:00
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><a>Publish</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><button type="button" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" aria-label="Expand row"></button>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Screem 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->iOS
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->10.3.4.5654
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->500
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Jack
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->2014-12-24 23:12:00
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><a>Publish</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/reset-filter.vue correctly 1`] = `
|
|
<div>
|
|
<div class="table-operations"><button class="ant-btn" type="button">
|
|
<!----><span>Sort age</span>
|
|
</button><button class="ant-btn" type="button">
|
|
<!----><span>Clear filters</span>
|
|
</button><button class="ant-btn" type="button">
|
|
<!----><span>Clear filters and sorters</span>
|
|
</button></div>
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: fixed;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell ant-table-cell-ellipsis ant-table-column-has-sorters" colstart="0" colend="0">
|
|
<!---->
|
|
<div class="ant-table-filter-column"><span class="ant-table-column-title"><!----><div class="ant-table-column-sorters"><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter ant-table-column-sorter-full"><span class="ant-table-column-sorter-inner"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up"><svg focusable="false" class="" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"></path></svg></span><span role="img" aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down"><svg focusable="false" class="" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"></path></svg></span></span></span></div></span>
|
|
<!----><span role="button" tabindex="-1" class="ant-table-filter-trigger ant-dropdown-trigger"><span role="img" aria-label="filter" class="anticon anticon-filter"><svg focusable="false" class="" data-icon="filter" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"></path></svg></span></span>
|
|
</div>
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell ant-table-column-has-sorters" colstart="1" colend="1">
|
|
<!---->
|
|
<!---->
|
|
<div class="ant-table-column-sorters"><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter ant-table-column-sorter-full"><span class="ant-table-column-sorter-inner"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up"><svg focusable="false" class="" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"></path></svg></span><span role="img" aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down"><svg focusable="false" class="" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"></path></svg></span></span></span></div>
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell ant-table-cell-ellipsis ant-table-column-has-sorters" colstart="2" colend="2">
|
|
<!---->
|
|
<div class="ant-table-filter-column"><span class="ant-table-column-title"><!----><div class="ant-table-column-sorters"><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter ant-table-column-sorter-full"><span class="ant-table-column-sorter-inner"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up"><svg focusable="false" class="" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"></path></svg></span><span role="img" aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down"><svg focusable="false" class="" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"></path></svg></span></span></span></div></span>
|
|
<!----><span role="button" tabindex="-1" class="ant-table-filter-trigger ant-dropdown-trigger"><span role="img" aria-label="filter" class="anticon anticon-filter"><svg focusable="false" class="" data-icon="filter" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"></path></svg></span></span>
|
|
</div>
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td title="John Brown" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td title="New York No. 1 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td title="Jim Green" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->Jim Green
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->42
|
|
<!---->
|
|
</td>
|
|
<td title="London No. 1 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->London No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td title="Joe Black" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->Joe Black
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td title="Sidney No. 1 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0">
|
|
<td title="Jim Red" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->Jim Red
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td title="London No. 2 Lake Park" class="ant-table-cell ant-table-cell-ellipsis">
|
|
<!---->London No. 2 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/resizable-column.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup>
|
|
<col style="width: 150px;">
|
|
<col style="width: 100px;">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!----><span><span role="img" aria-label="smile" class="anticon anticon-smile"><svg focusable="false" class="" data-icon="smile" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"></path></svg></span> Name </span>
|
|
<div class="ant-table-resize-handle ">
|
|
<div class="ant-table-resize-handle-line"></div>
|
|
</div>
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Age<div class="ant-table-resize-handle ">
|
|
<div class="ant-table-resize-handle-line"></div>
|
|
</div>
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="3" colend="3">
|
|
<!---->Tags
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="4" colend="4">
|
|
<!---->Action
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a>John Brown</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><span class="ant-tag ant-tag-green">NICE<!----></span><span class="ant-tag ant-tag-geekblue">DEVELOPER<!----></span></span>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><a>Invite 一 John Brown</a><div class="ant-divider ant-divider-vertical" role="separator"><!----></div><a>Delete</a><div class="ant-divider ant-divider-vertical" role="separator"><!----></div><a class="ant-dropdown-link"> More actions <span role="img" aria-label="down" class="anticon anticon-down"><svg focusable="false" class="" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></span></a></span>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a>Jim Green</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><span class="ant-tag ant-tag-volcano">LOSER<!----></span></span>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><a>Invite 一 Jim Green</a><div class="ant-divider ant-divider-vertical" role="separator"><!----></div><a>Delete</a><div class="ant-divider ant-divider-vertical" role="separator"><!----></div><a class="ant-dropdown-link"> More actions <span role="img" aria-label="down" class="anticon anticon-down"><svg focusable="false" class="" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></span></a></span>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!----><a>Joe Black</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><span class="ant-tag ant-tag-green">COOL<!----></span><span class="ant-tag ant-tag-geekblue">TEACHER<!----></span></span>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><a>Invite 一 Joe Black</a><div class="ant-divider ant-divider-vertical" role="separator"><!----></div><a>Delete</a><div class="ant-divider ant-divider-vertical" role="separator"><!----></div><a class="ant-dropdown-link"> More actions <span role="img" aria-label="down" class="anticon anticon-down"><svg focusable="false" class="" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></span></a></span>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/row-selection.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup>
|
|
<col class="ant-table-selection-col">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell ant-table-selection-column" colstart="0" colend="0">
|
|
<!---->
|
|
<div class="ant-table-selection"><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="3" colend="3">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input name="John Brown" type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><a>John Brown</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input name="Jim Green" type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><a>Jim Green</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input name="Joe Black" type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><a>Joe Black</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper ant-checkbox-wrapper-disabled"><span class="ant-checkbox ant-checkbox-disabled"><input name="Disabled User" type="checkbox" disabled="" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><a>Disabled User</a>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->99
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/row-selection-and-operation.vue correctly 1`] = `
|
|
<div>
|
|
<div style="margin-bottom: 16px;"><button disabled="" class="ant-btn ant-btn-primary" type="button">
|
|
<!----><span>Reload</span>
|
|
</button><span style="margin-left: 8px;"><!--v-if--></span></div>
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup>
|
|
<col class="ant-table-selection-col">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell ant-table-selection-column" colstart="0" colend="0">
|
|
<!---->
|
|
<div class="ant-table-selection"><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="3" colend="3">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="0" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 0
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 1
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 2
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 3
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 4
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="5" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 5
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="6" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 6
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="7" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 7
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="8" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 8
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="9" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 9
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="2" tabindex="0" class="ant-pagination-item ant-pagination-item-2"><a rel="nofollow">2</a></li>
|
|
<li title="3" tabindex="0" class="ant-pagination-item ant-pagination-item-3"><a rel="nofollow">3</a></li>
|
|
<li title="4" tabindex="0" class="ant-pagination-item ant-pagination-item-4"><a rel="nofollow">4</a></li>
|
|
<li title="5" tabindex="0" class="ant-pagination-item ant-pagination-item-5"><a rel="nofollow">5</a></li>
|
|
<li title="Next Page" tabindex="0" class="ant-pagination-next" aria-disabled="false"><button class="ant-pagination-item-link" type="button" tabindex="-1"><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/row-selection-custom.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup>
|
|
<col class="ant-table-selection-col">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell ant-table-selection-column" colstart="0" colend="0">
|
|
<!---->
|
|
<div class="ant-table-selection"><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<div class="ant-table-selection-extra">
|
|
<!----><span class="ant-dropdown-trigger"><span role="img" aria-label="down" class="anticon anticon-down"><svg focusable="false" class="" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></span></span>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="3" colend="3">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="0" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 0
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 1
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 2
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 3
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 4
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="5" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 5
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="6" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 6
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="7" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 7
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="8" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 8
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="9" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-selection-column">
|
|
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
|
|
<!---->
|
|
</label>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Edward King 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London, Park Lane no. 9
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="2" tabindex="0" class="ant-pagination-item ant-pagination-item-2"><a rel="nofollow">2</a></li>
|
|
<li title="3" tabindex="0" class="ant-pagination-item ant-pagination-item-3"><a rel="nofollow">3</a></li>
|
|
<li title="4" tabindex="0" class="ant-pagination-item ant-pagination-item-4"><a rel="nofollow">4</a></li>
|
|
<li title="5" tabindex="0" class="ant-pagination-item ant-pagination-item-5"><a rel="nofollow">5</a></li>
|
|
<li title="Next Page" tabindex="0" class="ant-pagination-next" aria-disabled="false"><button class="ant-pagination-item-link" type="button" tabindex="-1"><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/size.vue correctly 1`] = `
|
|
<div id="components-table-demo-size">
|
|
<h4>Middle size table</h4>
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-middle">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Jim Green
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Joe Black
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination mini ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h4>Small size table</h4>
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-small">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Jim Green
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Joe Black
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination mini ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/sticky.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-fixed-column ant-table-scroll-horizontal ant-table-has-fix-left ant-table-has-fix-right">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div style="overflow: hidden; top: 0px;" class="ant-table-header ant-table-sticky-holder">
|
|
<table style="table-layout: fixed; visibility: hidden;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-sticky" style="position: sticky; left: 0px;" colstart="0" colend="0">
|
|
<!---->Full Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last ant-table-cell-fix-sticky" style="position: sticky; left: 0px;" colstart="1" colend="1">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Column 1
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="3" colend="3">
|
|
<!---->Column 2
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="4" colend="4">
|
|
<!---->Column 3
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="5" colend="5">
|
|
<!---->Column 4
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="6" colend="6">
|
|
<!---->Column 5
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="7" colend="7">
|
|
<!---->Column 6
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="8" colend="8">
|
|
<!---->Column 7
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="9" colend="9">
|
|
<!---->Column 8
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first ant-table-cell-fix-sticky" style="position: sticky; right: 0px;" colstart="10" colend="10">
|
|
<!---->Action
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
<div style="overflow-x: auto; overflow-y: hidden;" class="ant-table-body">
|
|
<table style="width: 1500px; min-width: 100%; table-layout: fixed;">
|
|
<colgroup>
|
|
<col style="width: 100px;">
|
|
<col style="width: 100px;">
|
|
<col style="width: 150px;">
|
|
<col style="width: 150px;">
|
|
<col style="width: 150px;">
|
|
<col style="width: 150px;">
|
|
<col style="width: 150px;">
|
|
<col style="width: 150px;">
|
|
<col style="width: 150px;">
|
|
<col>
|
|
<col style="width: 100px;">
|
|
</colgroup>
|
|
<tbody class="ant-table-tbody">
|
|
<tr aria-hidden="true" class="ant-table-measure-row" style="height: 0px; font-size: 0px;">
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
</tr>
|
|
<tr data-row-key="0" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 0
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 1
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 2
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 3
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 4
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="5" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 5
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="6" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 6
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="7" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 7
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="8" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 8
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="9" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left" style="position: sticky; left: 0px;">
|
|
<!---->Edrward 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London Park no. 9
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!----><a>action</a>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<tfoot class="ant-table-summary">
|
|
<tr>
|
|
<td colspan="2" class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Fix Left
|
|
<!---->
|
|
</td>
|
|
<td colspan="8" class="ant-table-cell">
|
|
<!---->Scroll Context
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;">
|
|
<!---->Fix Right
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</div>
|
|
<!---->
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="2" tabindex="0" class="ant-pagination-item ant-pagination-item-2"><a rel="nofollow">2</a></li>
|
|
<li title="3" tabindex="0" class="ant-pagination-item ant-pagination-item-3"><a rel="nofollow">3</a></li>
|
|
<li title="4" tabindex="0" class="ant-pagination-item ant-pagination-item-4"><a rel="nofollow">4</a></li>
|
|
<li title="5" tabindex="0" class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next"><a rel="nofollow">5</a></li>
|
|
<li title="Next 5 Pages" tabindex="0" class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon"><a rel="nofollow" class="ant-pagination-item-link">
|
|
<div class="ant-pagination-item-container"><span role="img" aria-label="double-right" class="anticon anticon-double-right ant-pagination-item-link-icon"><svg focusable="false" class="" data-icon="double-right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"></path></svg></span><span class="ant-pagination-item-ellipsis">•••</span></div>
|
|
</a></li>
|
|
<li title="10" tabindex="0" class="ant-pagination-item ant-pagination-item-10"><a rel="nofollow">10</a></li>
|
|
<li title="Next Page" tabindex="0" class="ant-pagination-next" aria-disabled="false"><button class="ant-pagination-item-link" type="button" tabindex="-1"><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<li class="ant-pagination-options">
|
|
<div class="ant-select ant-pagination-options-size-changer ant-select-single ant-select-show-arrow">
|
|
<!---->
|
|
<!---->
|
|
<div class="ant-select-selector"><span class="ant-select-selection-search"><input id="rc_select_TEST_OR_SSR" autocomplete="off" class="ant-select-selection-search-input" style="opacity: 0;" role="combobox" aria-haspopup="listbox" aria-owns="rc_select_TEST_OR_SSR_list" aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-activedescendant="rc_select_TEST_OR_SSR_list_0" readonly="" unselectable="on" type="search"></span><span class="ant-select-selection-item">10 / page</span>
|
|
<!---->
|
|
</div><span class="ant-select-arrow" style="user-select: none;" unselectable="on" aria-hidden="true"><span role="img" aria-label="down" class="anticon anticon-down ant-select-suffix"><svg focusable="false" class="" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></span></span>
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/stripe.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper ant-table-striped">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-middle">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0 table-striped">
|
|
<td class="ant-table-cell">
|
|
<!---->Jim Green
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Joe Black
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0 table-striped">
|
|
<td class="ant-table-cell">
|
|
<!---->Ben Kang
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->15
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination mini ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="ant-table-wrapper ant-table-striped">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-middle ant-table-bordered">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0 table-striped">
|
|
<td class="ant-table-cell">
|
|
<!---->Jim Green
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Joe Black
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0 table-striped">
|
|
<td class="ant-table-cell">
|
|
<!---->Ben Kang
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->15
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination mini ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/summary.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-bordered">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Borrow
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Repayment
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->John Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->10
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->33
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Jim Green
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->100
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->0
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Joe Black
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->10
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->10
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Jim Red
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->75
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->45
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<tfoot class="ant-table-summary">
|
|
<tr>
|
|
<td class="ant-table-cell">
|
|
<!---->Total
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span class="ant-typography ant-typography-danger">195<!----></span>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span class="ant-typography">88<!----></span>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ant-table-cell">
|
|
<!---->Balance
|
|
<!---->
|
|
</td>
|
|
<td colspan="2" class="ant-table-cell">
|
|
<!----><span class="ant-typography ant-typography-danger">107<!----></span>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<br>
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-fixed-header ant-table-fixed-column ant-table-scroll-horizontal ant-table-has-fix-left ant-table-bordered">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div style="overflow: hidden;" class="ant-table-header">
|
|
<table style="table-layout: fixed; visibility: hidden;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;" colstart="0" colend="0">
|
|
<!---->Name
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Description
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
<div style="overflow-x: auto; overflow-y: scroll; max-height: 500px;" class="ant-table-body">
|
|
<table style="width: 2000px; min-width: 100%; table-layout: fixed;">
|
|
<colgroup>
|
|
<col style="width: 100px;">
|
|
</colgroup>
|
|
<tbody class="ant-table-tbody">
|
|
<tr aria-hidden="true" class="ant-table-measure-row" style="height: 0px; font-size: 0px;">
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
<td style="padding: 0px; border: 0px; height: 0px;">
|
|
<div style="height: 0px; overflow: hidden;"> </div>
|
|
</td>
|
|
</tr>
|
|
<tr data-row-key="0" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Light
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Bamboo
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Little
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Light
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="4" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Bamboo
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="5" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Little
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="6" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Light
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="7" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Bamboo
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="8" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Little
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="9" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Light
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="10" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Bamboo
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="11" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Little
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="12" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Light
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="13" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Bamboo
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="14" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Little
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="15" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Light
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="16" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Bamboo
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="17" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Little
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="18" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Light
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="19" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Bamboo
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Everything that has a beginning, has an end.
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
<div style="overflow: hidden;" class="ant-table-summary">
|
|
<table style="table-layout: fixed; visibility: hidden;">
|
|
<colgroup></colgroup>
|
|
<tfoot class="ant-table-summary">
|
|
<tr>
|
|
<td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;">
|
|
<!---->Summary
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->This is a summary content
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/table/demo/template.vue correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<!---->
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table">
|
|
<!---->
|
|
<div class="ant-table-container">
|
|
<div class="ant-table-content">
|
|
<table style="table-layout: auto;">
|
|
<colgroup></colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th colspan="2" class="ant-table-cell" colstart="0" hassubcolumns="true" colend="1">
|
|
<!----><span style="color: rgb(24, 144, 255);">Name</span>
|
|
<!---->
|
|
</th>
|
|
<th rowspan="2" class="ant-table-cell" colstart="2" colend="2">
|
|
<!---->Age
|
|
<!---->
|
|
</th>
|
|
<th rowspan="2" class="ant-table-cell" colstart="3" colend="3">
|
|
<!---->Address
|
|
<!---->
|
|
</th>
|
|
<th rowspan="2" class="ant-table-cell" colstart="4" colend="4">
|
|
<!---->Tags
|
|
<!---->
|
|
</th>
|
|
<th rowspan="2" class="ant-table-cell" colstart="5" colend="5">
|
|
<!---->Action
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<th class="ant-table-cell" colstart="0" colend="0">
|
|
<!----><span style="color: rgb(24, 144, 255);">First Name</span>
|
|
<!---->
|
|
</th>
|
|
<th class="ant-table-cell" colstart="1" colend="1">
|
|
<!---->Last Name
|
|
<!---->
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<!---->
|
|
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->John
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Brown
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->New York No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><span class="ant-tag ant-tag-blue">nice<!----></span><span class="ant-tag ant-tag-blue">developer<!----></span></span>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><a>Action 一 John</a><div class="ant-divider ant-divider-vertical" role="separator"><!----></div><a>Delete</a></span>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Jim
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Green
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->42
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->London No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><span class="ant-tag ant-tag-blue">loser<!----></span></span>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><a>Action 一 Jim</a><div class="ant-divider ant-divider-vertical" role="separator"><!----></div><a>Delete</a></span>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
<tr data-row-key="3" class="ant-table-row ant-table-row-level-0">
|
|
<td class="ant-table-cell">
|
|
<!---->Joe
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Black
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->32
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!---->Sidney No. 1 Lake Park
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><span class="ant-tag ant-tag-blue">cool<!----></span><span class="ant-tag ant-tag-blue">teacher<!----></span></span>
|
|
<!---->
|
|
</td>
|
|
<td class="ant-table-cell">
|
|
<!----><span><a>Action 一 Joe</a><div class="ant-divider ant-divider-vertical" role="separator"><!----></div><a>Delete</a></span>
|
|
<!---->
|
|
</td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
<!---->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---->
|
|
</div>
|
|
<ul unselectable="on" class="ant-pagination ant-table-pagination ant-table-pagination-right">
|
|
<!---->
|
|
<li title="Previous Page" class="ant-pagination-prev ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="left" class="anticon anticon-left"><svg focusable="false" class="" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg></span></button></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a rel="nofollow">1</a></li>
|
|
<li title="Next Page" class="ant-pagination-next ant-pagination-disabled" aria-disabled="true"><button class="ant-pagination-item-link" type="button" tabindex="-1" disabled=""><span role="img" aria-label="right" class="anticon anticon-right"><svg focusable="false" class="" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"></path></svg></span></button></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|