2690 lines
179 KiB
Plaintext
2690 lines
179 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/ajax.md correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading ant-table-without-pagination ant-table-spin-holder">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-scroll-position-left ant-table-default ant-table-empty">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col style="width: 20%; min-width: 20%;">
|
|
<col style="width: 20%; min-width: 20%;">
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-row-cell-break-word"><span class="ant-table-header-column"><div class="ant-table-column-sorters"><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"><div title="Sort" class="ant-table-column-sorter-inner ant-table-column-sorter-inner-full"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up off"><svg viewBox="0 0 1024 1024" focusable="false" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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 off"><svg viewBox="0 0 1024 1024" focusable="false" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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>
|
|
</div></span>
|
|
</div></span></th>
|
|
<th key="gender" class="ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Gender</span><span class="ant-table-column-sorter"></span>
|
|
</div></span><span role="img" aria-label="filter" tabindex="-1" title="Filter menu" class="anticon anticon-filter ant-dropdown-trigger"><svg viewBox="64 64 896 896" focusable="false" data-icon="filter" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></th>
|
|
<th key="email" class="ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Email</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody"></tbody>
|
|
</table>
|
|
</div>
|
|
<div class="ant-table-placeholder">
|
|
<div class="ant-empty ant-empty-normal">
|
|
<div class="ant-empty-image"><svg width="64" height="41" viewBox="0 0 64 41" xmlns="http://www.w3.org/2000/svg">
|
|
<g transform="translate(0 1)" fill="none" fillRule="evenodd">
|
|
<ellipse fill="#F5F5F5" cx="32" cy="33" rx="32" ry="7"></ellipse>
|
|
<g fillRule="nonzero" stroke="#D9D9D9">
|
|
<path d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"></path>
|
|
<path d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" fill="#FAFAFA"></path>
|
|
</g>
|
|
</g>
|
|
</svg></div>
|
|
<p class="ant-empty-description">No Data</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/basic.md correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-scroll-position-left ant-table-default">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title"><span><span role="img" aria-label="smile" class="anticon anticon-smile"><svg viewBox="64 64 896 896" focusable="false" data-icon="smile" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="tags" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Tags</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="action" class="ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Action</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class=""><a>John Brown</a></td>
|
|
<td class="">32</td>
|
|
<td class="">New York No. 1 Lake Park</td>
|
|
<td class=""><span><span class="ant-tag ant-tag-green">
|
|
NICE
|
|
</span><span class="ant-tag ant-tag-geekblue">
|
|
DEVELOPER
|
|
</span></span></td>
|
|
<td class=""><span><a>Invite 一 John Brown</a> <div role="separator" class="ant-divider ant-divider-vertical"></div> <a>Delete</a> <div role="separator" class="ant-divider ant-divider-vertical"></div> <a class="ant-dropdown-link"> More actions <span role="img" aria-label="down" class="anticon anticon-down"><svg viewBox="64 64 896 896" focusable="false" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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 class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class=""><a>Jim Green</a></td>
|
|
<td class="">42</td>
|
|
<td class="">London No. 1 Lake Park</td>
|
|
<td class=""><span><span class="ant-tag ant-tag-volcano">
|
|
LOSER
|
|
</span></span></td>
|
|
<td class=""><span><a>Invite 一 Jim Green</a> <div role="separator" class="ant-divider ant-divider-vertical"></div> <a>Delete</a> <div role="separator" class="ant-divider ant-divider-vertical"></div> <a class="ant-dropdown-link"> More actions <span role="img" aria-label="down" class="anticon anticon-down"><svg viewBox="64 64 896 896" focusable="false" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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 class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class=""><a>Joe Black</a></td>
|
|
<td class="">32</td>
|
|
<td class="">Sidney No. 1 Lake Park</td>
|
|
<td class=""><span><span class="ant-tag ant-tag-green">
|
|
COOL
|
|
</span><span class="ant-tag ant-tag-geekblue">
|
|
TEACHER
|
|
</span></span></td>
|
|
<td class=""><span><a>Invite 一 Joe Black</a> <div role="separator" class="ant-divider ant-divider-vertical"></div> <a>Delete</a> <div role="separator" class="ant-divider ant-divider-vertical"></div> <a class="ant-dropdown-link"> More actions <span role="img" aria-label="down" class="anticon anticon-down"><svg viewBox="64 64 896 896" focusable="false" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/bordered.md correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-scroll-position-left ant-table-default ant-table-bordered">
|
|
<div class="ant-table-title">
|
|
Header
|
|
</div>
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="money" class="column-money"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Cash Assets</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address" class="ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class=""><a>John Brown</a></td>
|
|
<td class="column-money">¥300,000.00</td>
|
|
<td class="">New York No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class=""><a>Jim Green</a></td>
|
|
<td class="column-money">¥1,256,000.00</td>
|
|
<td class="">London No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class=""><a>Joe Black</a></td>
|
|
<td class="column-money">¥120,000.00</td>
|
|
<td class="">Sidney No. 1 Lake Park</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="ant-table-footer">
|
|
Footer
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/colspan-rowspan.md correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-scroll-position-left ant-table-default ant-table-bordered">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="tel" colspan="2" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Home phone</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address" class="ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class=""><a href="javascript:;">John Brown</a></td>
|
|
<td>32</td>
|
|
<td>0571-22098909</td>
|
|
<td>18889898989</td>
|
|
<td>New York No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class=""><a href="javascript:;">Jim Green</a></td>
|
|
<td>42</td>
|
|
<td>0571-22098333</td>
|
|
<td>18889898888</td>
|
|
<td>London No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class=""><a href="javascript:;">Joe Black</a></td>
|
|
<td>32</td>
|
|
<td rowspan="2">0575-22098909</td>
|
|
<td>18900010002</td>
|
|
<td>Sidney No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="4">
|
|
<td class=""><a href="javascript:;">Jim Red</a></td>
|
|
<td>18</td>
|
|
<!---->
|
|
<td>18900010002</td>
|
|
<td>London No. 2 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="5">
|
|
<td colspan="5"><a href="javascript:;">Jake White</a></td>
|
|
<!---->
|
|
<!---->
|
|
<!---->
|
|
<!---->
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/custom-filter-panel.md correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-scroll-position-left ant-table-default">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class="ant-table-column-has-actions ant-table-column-has-filters"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span><span role="img" aria-label="search" class="anticon anticon-search ant-table-filter-icon ant-dropdown-trigger"><svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></th>
|
|
<th key="age" class="ant-table-column-has-actions ant-table-column-has-filters"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span><span role="img" aria-label="search" class="anticon anticon-search ant-table-filter-icon ant-dropdown-trigger"><svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></th>
|
|
<th key="address" class="ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span><span role="img" aria-label="search" class="anticon anticon-search ant-table-filter-icon ant-dropdown-trigger"><svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters">
|
|
John Brown
|
|
</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters">
|
|
32
|
|
</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters">
|
|
New York No. 1 Lake Park
|
|
</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters">
|
|
Joe Black
|
|
</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters">
|
|
42
|
|
</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters">
|
|
London No. 1 Lake Park
|
|
</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters">
|
|
Jim Green
|
|
</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters">
|
|
32
|
|
</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters">
|
|
Sidney No. 1 Lake Park
|
|
</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="4">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters">
|
|
Jim Red
|
|
</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters">
|
|
32
|
|
</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters">
|
|
London No. 2 Lake Park
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/edit-cell.md correctly 1`] = `
|
|
<div><button type="button" class="editable-add-btn ant-btn"><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-scroll-position-left ant-table-default ant-table-bordered">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col style="width: 30%; min-width: 30%;">
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="operation" class="ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">operation</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="0">
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div class="editable-cell">
|
|
<div class="editable-cell-text-wrapper">
|
|
Edward King 0
|
|
<span role="img" aria-label="edit" tabindex="-1" class="editable-cell-icon anticon anticon-edit"><svg viewBox="64 64 896 896" focusable="false" data-icon="edit" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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="">32</td>
|
|
<td class="">London, Park Lane no. 0</td>
|
|
<td class=""><a href="javascript:;" class="">Delete</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div class="editable-cell">
|
|
<div class="editable-cell-text-wrapper">
|
|
Edward King 1
|
|
<span role="img" aria-label="edit" tabindex="-1" class="editable-cell-icon anticon anticon-edit"><svg viewBox="64 64 896 896" focusable="false" data-icon="edit" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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="">32</td>
|
|
<td class="">London, Park Lane no. 1</td>
|
|
<td class=""><a href="javascript:;" class="">Delete</a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/edit-row.md correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-scroll-position-left ant-table-default ant-table-bordered">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col style="width: 25%; min-width: 25%;">
|
|
<col style="width: 15%; min-width: 15%;">
|
|
<col style="width: 40%; min-width: 40%;">
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="operation" class="ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">operation</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="0">
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
Edrward 0
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
32
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
London Park no. 0
|
|
</div>
|
|
</td>
|
|
<td class="">
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
Edrward 1
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
32
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
London Park no. 1
|
|
</div>
|
|
</td>
|
|
<td class="">
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
Edrward 2
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
32
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
London Park no. 2
|
|
</div>
|
|
</td>
|
|
<td class="">
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
Edrward 3
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
32
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
London Park no. 3
|
|
</div>
|
|
</td>
|
|
<td class="">
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="4">
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
Edrward 4
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
32
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
London Park no. 4
|
|
</div>
|
|
</td>
|
|
<td class="">
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="5">
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
Edrward 5
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
32
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
London Park no. 5
|
|
</div>
|
|
</td>
|
|
<td class="">
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="6">
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
Edrward 6
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
32
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
London Park no. 6
|
|
</div>
|
|
</td>
|
|
<td class="">
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="7">
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
Edrward 7
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
32
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
London Park no. 7
|
|
</div>
|
|
</td>
|
|
<td class="">
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="8">
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
Edrward 8
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
32
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
London Park no. 8
|
|
</div>
|
|
</td>
|
|
<td class="">
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="9">
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
Edrward 9
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
32
|
|
</div>
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">
|
|
<div>
|
|
London Park no. 9
|
|
</div>
|
|
</td>
|
|
<td class="">
|
|
<div class="editable-row-operations"><span><a>Edit</a></span></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="2" tabindex="0" class="ant-pagination-item ant-pagination-item-2"><a>2</a></li>
|
|
<li title="3" tabindex="0" class="ant-pagination-item ant-pagination-item-3"><a>3</a></li>
|
|
<li title="4" tabindex="0" class="ant-pagination-item ant-pagination-item-4"><a>4</a></li>
|
|
<li title="5" tabindex="0" class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next"><a>5</a></li>
|
|
<li title="Next 5 Pages" tabindex="0" class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon"><a 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 viewBox="64 64 896 896" focusable="false" data-icon="double-right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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>10</a></li>
|
|
<li title="Next Page" tabindex="0" class=" ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/ellipsis.md correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-scroll-position-left ant-table-layout-fixed ant-table-default">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col>
|
|
<col style="width: 80px; min-width: 80px;">
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address 1" class="ant-table-row-cell-ellipsis"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address 2" class="ant-table-row-cell-ellipsis"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Long Column Long Column Long Column</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address 3" class="ant-table-row-cell-ellipsis"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Long Column Long Column</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address 4" class="ant-table-row-cell-ellipsis ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Long Column</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class=""><a>John Brown</a></td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td title="New York No. 1 Lake Park, New York No. 1 Lake Park" class="ant-table-row-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-row-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-row-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-row-cell-ellipsis">New York No. 1 Lake Park, New York No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class=""><a>Jim Green</a></td>
|
|
<td class="ant-table-row-cell-break-word">42</td>
|
|
<td title="London No. 2 Lake Park, London No. 2 Lake Park" class="ant-table-row-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-row-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-row-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-row-cell-ellipsis">London No. 2 Lake Park, London No. 2 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class=""><a>Joe Black</a></td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td title="Sidney No. 1 Lake Park, Sidney No. 1 Lake Park" class="ant-table-row-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-row-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-row-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-row-cell-ellipsis">Sidney No. 1 Lake Park, Sidney No. 1 Lake Park</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/expand.md correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-scroll-position-left ant-table-default">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col class="ant-table-expand-icon-col">
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="rc-table-expand-icon-cell" title="" rowspan="1" class="ant-table-expand-icon-th"></th>
|
|
<th key="name" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="x" class="ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Action</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-row-expand-icon-cell">
|
|
<div role="button" tabindex="0" aria-label="Expand row" class="ant-table-row-expand-icon ant-table-row-collapsed"></div>
|
|
</td>
|
|
<td class="">John Brown</td>
|
|
<td class="">32</td>
|
|
<td class="">New York No. 1 Lake Park</td>
|
|
<td class=""><a href="javascript:;">Delete</a></td>
|
|
</tr>
|
|
<!---->
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-row-expand-icon-cell">
|
|
<div role="button" tabindex="0" aria-label="Expand row" class="ant-table-row-expand-icon ant-table-row-collapsed"></div>
|
|
</td>
|
|
<td class="">Jim Green</td>
|
|
<td class="">42</td>
|
|
<td class="">London No. 1 Lake Park</td>
|
|
<td class=""><a href="javascript:;">Delete</a></td>
|
|
</tr>
|
|
<!---->
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="ant-table-row-expand-icon-cell">
|
|
<div role="button" tabindex="0" aria-label="Expand row" class="ant-table-row-expand-icon ant-table-row-collapsed"></div>
|
|
</td>
|
|
<td class="">Joe Black</td>
|
|
<td class="">32</td>
|
|
<td class="">Sidney No. 1 Lake Park</td>
|
|
<td class=""><a href="javascript:;">Delete</a></td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/expand-children.md correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-scroll-position-left ant-table-default">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col class="ant-table-selection-col">
|
|
<col>
|
|
<col style="width: 12%; min-width: 12%;">
|
|
<col style="width: 30%; min-width: 30%;">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="selection-column" class="ant-table-selection-column"><span class="ant-table-header-column"><div><span class="ant-table-column-title"><div class="ant-table-selection"><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label>
|
|
</div></span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="name" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address" class="ant-table-row-cell-break-word ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class=""><span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;"></span>
|
|
<div role="button" tabindex="0" aria-label="Expand row" class="ant-table-row-expand-icon ant-table-row-collapsed"></div>John Brown sr.
|
|
</td>
|
|
<td class="ant-table-row-cell-break-word">60</td>
|
|
<td class="ant-table-row-cell-break-word">New York No. 1 Lake Park</td>
|
|
</tr>
|
|
<!---->
|
|
<!---->
|
|
<!---->
|
|
<!---->
|
|
<!---->
|
|
<!---->
|
|
<!---->
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class=""><span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;"></span><span class="ant-table-row-expand-icon ant-table-row-spaced"></span>Joe Black</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="ant-table-row-cell-break-word">Sidney No. 1 Lake Park</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/fixed-columns.md correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-layout-fixed ant-table-default ant-table-scroll-position-left ant-table-scroll-position-right">
|
|
<div class="ant-table-content">
|
|
<div class="ant-table-scroll">
|
|
<!---->
|
|
<div tabindex="-1" class="ant-table-body" style="overflow-x: scroll;">
|
|
<table class="ant-table-fixed" style="width: 1300px;">
|
|
<colgroup>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
<col style="width: 100px; min-width: 100px;">
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Full Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="1" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 1</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="2" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 2</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="3" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 3</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="4" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 4</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="5" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 5</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="6" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 6</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
<th key="7" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 7</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
<th key="8" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 8</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
<th key="operation" class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Action</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">John Brown</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">32</td>
|
|
<td class="">New York Park</td>
|
|
<td class="">New York Park</td>
|
|
<td class="">New York Park</td>
|
|
<td class="">New York Park</td>
|
|
<td class="">New York Park</td>
|
|
<td class="">New York Park</td>
|
|
<td class="">New York Park</td>
|
|
<td class="">New York Park</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><a href="javascript:;">action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">Jim Green</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">40</td>
|
|
<td class="">London Park</td>
|
|
<td class="">London Park</td>
|
|
<td class="">London Park</td>
|
|
<td class="">London Park</td>
|
|
<td class="">London Park</td>
|
|
<td class="">London Park</td>
|
|
<td class="">London Park</td>
|
|
<td class="">London Park</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><a href="javascript:;">action</a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="ant-table-fixed-left">
|
|
<!---->
|
|
<div class="ant-table-body-outer">
|
|
<div class="ant-table-body-inner">
|
|
<table class="ant-table-fixed">
|
|
<colgroup>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
<col style="width: 100px; min-width: 100px;">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Full Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class="ant-table-row-cell-break-word ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-row-cell-break-word">John Brown</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-row-cell-break-word">Jim Green</td>
|
|
<td class="ant-table-row-cell-break-word">40</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="ant-table-fixed-right">
|
|
<!---->
|
|
<div class="ant-table-body-outer">
|
|
<div class="ant-table-body-inner">
|
|
<table class="ant-table-fixed">
|
|
<colgroup>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="operation" class="ant-table-row-cell-break-word ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Action</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-row-cell-break-word"><a href="javascript:;">action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-row-cell-break-word"><a href="javascript:;">action</a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/fixed-columns-header.md 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-layout-fixed ant-table-default ant-table-scroll-position-left ant-table-scroll-position-right">
|
|
<div class="ant-table-content">
|
|
<div class="ant-table-scroll">
|
|
<div class="ant-table-header">
|
|
<table class="ant-table-fixed" style="width: 1500px;">
|
|
<colgroup>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
<col style="width: 100px; min-width: 100px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Full Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="1" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 1</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="2" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 2</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="3" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 3</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="4" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 4</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="5" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 5</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="6" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 6</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
<th key="7" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 7</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
<th key="8" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Column 8</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
<th key="operation" class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Action</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
<div tabindex="-1" class="ant-table-body" style="overflow-x: scroll; max-height: 300px; overflow-y: scroll;">
|
|
<table class="ant-table-fixed" style="width: 1500px;">
|
|
<colgroup>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
<col style="width: 100px; min-width: 100px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
</colgroup>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="0">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">Edrward 0</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">32</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 0</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 0</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 0</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 0</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 0</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 0</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 0</td>
|
|
<td class="">London Park no. 0</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">Edrward 1</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">32</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 1</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 1</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 1</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 1</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 1</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 1</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 1</td>
|
|
<td class="">London Park no. 1</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">Edrward 2</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">32</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 2</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 2</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 2</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 2</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 2</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 2</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 2</td>
|
|
<td class="">London Park no. 2</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">Edrward 3</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">32</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 3</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 3</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 3</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 3</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 3</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 3</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 3</td>
|
|
<td class="">London Park no. 3</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="4">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">Edrward 4</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">32</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 4</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 4</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 4</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 4</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 4</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 4</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 4</td>
|
|
<td class="">London Park no. 4</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="5">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">Edrward 5</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">32</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 5</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 5</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 5</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 5</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 5</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 5</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 5</td>
|
|
<td class="">London Park no. 5</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="6">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">Edrward 6</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">32</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 6</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 6</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 6</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 6</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 6</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 6</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 6</td>
|
|
<td class="">London Park no. 6</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="7">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">Edrward 7</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">32</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 7</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 7</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 7</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 7</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 7</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 7</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 7</td>
|
|
<td class="">London Park no. 7</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="8">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">Edrward 8</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">32</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 8</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 8</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 8</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 8</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 8</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 8</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 8</td>
|
|
<td class="">London Park no. 8</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="9">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">Edrward 9</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">32</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 9</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 9</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 9</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 9</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 9</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 9</td>
|
|
<td class="ant-table-row-cell-break-word">London Park no. 9</td>
|
|
<td class="">London Park no. 9</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="ant-table-fixed-left">
|
|
<div class="ant-table-header">
|
|
<table class="ant-table-fixed">
|
|
<colgroup>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
<col style="width: 100px; min-width: 100px;">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Full Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class="ant-table-row-cell-break-word ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
<div class="ant-table-body-outer">
|
|
<div class="ant-table-body-inner" style="max-height: 300px; overflow-y: scroll;">
|
|
<table class="ant-table-fixed">
|
|
<colgroup>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
<col style="width: 100px; min-width: 100px;">
|
|
</colgroup>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="0">
|
|
<td class="ant-table-row-cell-break-word">Edrward 0</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-row-cell-break-word">Edrward 1</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-row-cell-break-word">Edrward 2</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="ant-table-row-cell-break-word">Edrward 3</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="4">
|
|
<td class="ant-table-row-cell-break-word">Edrward 4</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="5">
|
|
<td class="ant-table-row-cell-break-word">Edrward 5</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="6">
|
|
<td class="ant-table-row-cell-break-word">Edrward 6</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="7">
|
|
<td class="ant-table-row-cell-break-word">Edrward 7</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="8">
|
|
<td class="ant-table-row-cell-break-word">Edrward 8</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="9">
|
|
<td class="ant-table-row-cell-break-word">Edrward 9</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="ant-table-fixed-right">
|
|
<div class="ant-table-header">
|
|
<table class="ant-table-fixed">
|
|
<colgroup>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="operation" class="ant-table-row-cell-break-word ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Action</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
<div class="ant-table-body-outer">
|
|
<div class="ant-table-body-inner" style="max-height: 300px; overflow-y: scroll;">
|
|
<table class="ant-table-fixed">
|
|
<colgroup>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
</colgroup>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="0">
|
|
<td class="ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="4">
|
|
<td class="ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="5">
|
|
<td class="ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="6">
|
|
<td class="ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="7">
|
|
<td class="ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="8">
|
|
<td class="ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="9">
|
|
<td class="ant-table-row-cell-break-word"><a>action</a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="2" tabindex="0" class="ant-pagination-item ant-pagination-item-2"><a>2</a></li>
|
|
<li title="3" tabindex="0" class="ant-pagination-item ant-pagination-item-3"><a>3</a></li>
|
|
<li title="4" tabindex="0" class="ant-pagination-item ant-pagination-item-4"><a>4</a></li>
|
|
<li title="5" tabindex="0" class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next"><a>5</a></li>
|
|
<li title="Next 5 Pages" tabindex="0" class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon"><a 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 viewBox="64 64 896 896" focusable="false" data-icon="double-right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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>10</a></li>
|
|
<li title="Next Page" tabindex="0" class=" ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/fixed-header.md 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-scroll-position-left ant-table-layout-fixed ant-table-default">
|
|
<div class="ant-table-content">
|
|
<div class="ant-table-scroll">
|
|
<div class="ant-table-header">
|
|
<table class="">
|
|
<colgroup>
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address" class="ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
<div tabindex="-1" class="ant-table-body" style="max-height: 240px; overflow-y: scroll;">
|
|
<table class="">
|
|
<colgroup>
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col style="width: 150px; min-width: 150px;">
|
|
<col>
|
|
</colgroup>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="0">
|
|
<td class="ant-table-row-cell-break-word">Edward King 0</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 0</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-row-cell-break-word">Edward King 1</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 1</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-row-cell-break-word">Edward King 2</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 2</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="ant-table-row-cell-break-word">Edward King 3</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 3</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="4">
|
|
<td class="ant-table-row-cell-break-word">Edward King 4</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 4</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="5">
|
|
<td class="ant-table-row-cell-break-word">Edward King 5</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 5</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="6">
|
|
<td class="ant-table-row-cell-break-word">Edward King 6</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 6</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="7">
|
|
<td class="ant-table-row-cell-break-word">Edward King 7</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 7</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="8">
|
|
<td class="ant-table-row-cell-break-word">Edward King 8</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 8</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="9">
|
|
<td class="ant-table-row-cell-break-word">Edward King 9</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 9</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="10">
|
|
<td class="ant-table-row-cell-break-word">Edward King 10</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 10</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="11">
|
|
<td class="ant-table-row-cell-break-word">Edward King 11</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 11</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="12">
|
|
<td class="ant-table-row-cell-break-word">Edward King 12</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 12</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="13">
|
|
<td class="ant-table-row-cell-break-word">Edward King 13</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 13</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="14">
|
|
<td class="ant-table-row-cell-break-word">Edward King 14</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 14</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="15">
|
|
<td class="ant-table-row-cell-break-word">Edward King 15</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 15</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="16">
|
|
<td class="ant-table-row-cell-break-word">Edward King 16</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 16</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="17">
|
|
<td class="ant-table-row-cell-break-word">Edward King 17</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 17</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="18">
|
|
<td class="ant-table-row-cell-break-word">Edward King 18</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 18</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="19">
|
|
<td class="ant-table-row-cell-break-word">Edward King 19</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 19</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="20">
|
|
<td class="ant-table-row-cell-break-word">Edward King 20</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 20</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="21">
|
|
<td class="ant-table-row-cell-break-word">Edward King 21</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 21</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="22">
|
|
<td class="ant-table-row-cell-break-word">Edward King 22</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 22</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="23">
|
|
<td class="ant-table-row-cell-break-word">Edward King 23</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 23</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="24">
|
|
<td class="ant-table-row-cell-break-word">Edward King 24</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 24</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="25">
|
|
<td class="ant-table-row-cell-break-word">Edward King 25</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 25</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="26">
|
|
<td class="ant-table-row-cell-break-word">Edward King 26</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 26</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="27">
|
|
<td class="ant-table-row-cell-break-word">Edward King 27</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 27</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="28">
|
|
<td class="ant-table-row-cell-break-word">Edward King 28</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 28</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="29">
|
|
<td class="ant-table-row-cell-break-word">Edward King 29</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 29</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="30">
|
|
<td class="ant-table-row-cell-break-word">Edward King 30</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 30</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="31">
|
|
<td class="ant-table-row-cell-break-word">Edward King 31</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 31</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="32">
|
|
<td class="ant-table-row-cell-break-word">Edward King 32</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 32</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="33">
|
|
<td class="ant-table-row-cell-break-word">Edward King 33</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 33</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="34">
|
|
<td class="ant-table-row-cell-break-word">Edward King 34</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 34</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="35">
|
|
<td class="ant-table-row-cell-break-word">Edward King 35</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 35</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="36">
|
|
<td class="ant-table-row-cell-break-word">Edward King 36</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 36</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="37">
|
|
<td class="ant-table-row-cell-break-word">Edward King 37</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 37</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="38">
|
|
<td class="ant-table-row-cell-break-word">Edward King 38</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 38</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="39">
|
|
<td class="ant-table-row-cell-break-word">Edward King 39</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 39</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="40">
|
|
<td class="ant-table-row-cell-break-word">Edward King 40</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 40</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="41">
|
|
<td class="ant-table-row-cell-break-word">Edward King 41</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 41</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="42">
|
|
<td class="ant-table-row-cell-break-word">Edward King 42</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 42</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="43">
|
|
<td class="ant-table-row-cell-break-word">Edward King 43</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 43</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="44">
|
|
<td class="ant-table-row-cell-break-word">Edward King 44</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 44</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="45">
|
|
<td class="ant-table-row-cell-break-word">Edward King 45</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 45</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="46">
|
|
<td class="ant-table-row-cell-break-word">Edward King 46</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 46</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="47">
|
|
<td class="ant-table-row-cell-break-word">Edward King 47</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 47</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="48">
|
|
<td class="ant-table-row-cell-break-word">Edward King 48</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 48</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="49">
|
|
<td class="ant-table-row-cell-break-word">Edward King 49</td>
|
|
<td class="ant-table-row-cell-break-word">32</td>
|
|
<td class="">London, Park Lane no. 49</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="2" tabindex="0" class="ant-pagination-item ant-pagination-item-2"><a>2</a></li>
|
|
<li title="Next Page" tabindex="0" class=" ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/grouping-columns.md 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-layout-fixed ant-table-middle ant-table-bordered ant-table-scroll-position-left ant-table-scroll-position-right">
|
|
<div class="ant-table-content">
|
|
<div class="ant-table-scroll">
|
|
<div class="ant-table-header">
|
|
<table class="ant-table-fixed">
|
|
<colgroup>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
<col style="width: 200px; min-width: 200px;">
|
|
<col style="width: 200px; min-width: 200px;">
|
|
<col style="width: 100px; min-width: 100px;">
|
|
<col style="width: 100px; min-width: 100px;">
|
|
<col style="width: 200px; min-width: 200px;">
|
|
<col>
|
|
<col style="width: 80px; min-width: 80px;">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" rowspan="4" class="ant-table-fixed-columns-in-body ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span><span role="img" aria-label="filter" tabindex="-1" title="Filter menu" class="anticon anticon-filter ant-dropdown-trigger"><svg viewBox="64 64 896 896" focusable="false" data-icon="filter" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></th>
|
|
<th key="1" colspan="4" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Other</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="2" colspan="2" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Company</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="gender" rowspan="4" class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Gender</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
<tr>
|
|
<th key="age" rowspan="3" class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-row-cell-break-word"><span class="ant-table-header-column"><div class="ant-table-column-sorters"><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"><div title="Sort" class="ant-table-column-sorter-inner ant-table-column-sorter-inner-full"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up off"><svg viewBox="0 0 1024 1024" focusable="false" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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 off"><svg viewBox="0 0 1024 1024" focusable="false" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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>
|
|
</div></span>
|
|
</div></span></th>
|
|
<th colspan="3" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="companyAddress" rowspan="3" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Company Address</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
<th key="companyName" rowspan="3" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Company Name</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
</tr>
|
|
<tr>
|
|
<th key="street" rowspan="2" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Street</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
<th colspan="2" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Block</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
</tr>
|
|
<tr>
|
|
<th key="building" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Building</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
<th key="number" class="ant-table-row-cell-break-word"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Door No.</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
<div tabindex="-1" class="ant-table-body" style="overflow-x: scroll; max-height: 240px; overflow-y: scroll;">
|
|
<table class="ant-table-fixed">
|
|
<colgroup>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
<col style="width: 200px; min-width: 200px;">
|
|
<col style="width: 200px; min-width: 200px;">
|
|
<col style="width: 100px; min-width: 100px;">
|
|
<col style="width: 100px; min-width: 100px;">
|
|
<col style="width: 200px; min-width: 200px;">
|
|
<col>
|
|
<col style="width: 80px; min-width: 80px;">
|
|
</colgroup>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="0">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-row-cell-break-word">1</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Park</td>
|
|
<td class="ant-table-row-cell-break-word">C</td>
|
|
<td class="ant-table-row-cell-break-word">2035</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Street 42</td>
|
|
<td class="">SoftLake Co</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-row-cell-break-word">2</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Park</td>
|
|
<td class="ant-table-row-cell-break-word">C</td>
|
|
<td class="ant-table-row-cell-break-word">2035</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Street 42</td>
|
|
<td class="">SoftLake Co</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-row-cell-break-word">3</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Park</td>
|
|
<td class="ant-table-row-cell-break-word">C</td>
|
|
<td class="ant-table-row-cell-break-word">2035</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Street 42</td>
|
|
<td class="">SoftLake Co</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-row-cell-break-word">4</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Park</td>
|
|
<td class="ant-table-row-cell-break-word">C</td>
|
|
<td class="ant-table-row-cell-break-word">2035</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Street 42</td>
|
|
<td class="">SoftLake Co</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="4">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-row-cell-break-word">5</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Park</td>
|
|
<td class="ant-table-row-cell-break-word">C</td>
|
|
<td class="ant-table-row-cell-break-word">2035</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Street 42</td>
|
|
<td class="">SoftLake Co</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="5">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-row-cell-break-word">6</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Park</td>
|
|
<td class="ant-table-row-cell-break-word">C</td>
|
|
<td class="ant-table-row-cell-break-word">2035</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Street 42</td>
|
|
<td class="">SoftLake Co</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="6">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-row-cell-break-word">7</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Park</td>
|
|
<td class="ant-table-row-cell-break-word">C</td>
|
|
<td class="ant-table-row-cell-break-word">2035</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Street 42</td>
|
|
<td class="">SoftLake Co</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="7">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-row-cell-break-word">8</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Park</td>
|
|
<td class="ant-table-row-cell-break-word">C</td>
|
|
<td class="ant-table-row-cell-break-word">2035</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Street 42</td>
|
|
<td class="">SoftLake Co</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="8">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-row-cell-break-word">9</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Park</td>
|
|
<td class="ant-table-row-cell-break-word">C</td>
|
|
<td class="ant-table-row-cell-break-word">2035</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Street 42</td>
|
|
<td class="">SoftLake Co</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="9">
|
|
<td class="ant-table-fixed-columns-in-body ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-row-cell-break-word">10</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Park</td>
|
|
<td class="ant-table-row-cell-break-word">C</td>
|
|
<td class="ant-table-row-cell-break-word">2035</td>
|
|
<td class="ant-table-row-cell-break-word">Lake Street 42</td>
|
|
<td class="">SoftLake Co</td>
|
|
<td class="ant-table-fixed-columns-in-body ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="ant-table-fixed-left">
|
|
<div class="ant-table-header">
|
|
<table class="ant-table-fixed">
|
|
<colgroup>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" rowspan="4" class="ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span><span role="img" aria-label="filter" tabindex="-1" title="Filter menu" class="anticon anticon-filter ant-dropdown-trigger"><svg viewBox="64 64 896 896" focusable="false" data-icon="filter" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
<div class="ant-table-body-outer">
|
|
<div class="ant-table-body-inner" style="max-height: 240px; overflow-y: scroll;">
|
|
<table class="ant-table-fixed">
|
|
<colgroup>
|
|
<col style="width: 100px; min-width: 100px;">
|
|
</colgroup>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="0">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="4">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="5">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="6">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="7">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="8">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="9">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-row-cell-break-word">John Brown</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="ant-table-fixed-right">
|
|
<div class="ant-table-header">
|
|
<table class="ant-table-fixed">
|
|
<colgroup>
|
|
<col style="width: 80px; min-width: 80px;">
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="gender" rowspan="4" class="ant-table-row-cell-break-word ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Gender</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
<div class="ant-table-body-outer">
|
|
<div class="ant-table-body-inner" style="max-height: 240px; overflow-y: scroll;">
|
|
<table class="ant-table-fixed">
|
|
<colgroup>
|
|
<col style="width: 80px; min-width: 80px;">
|
|
</colgroup>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="0">
|
|
<td class="ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="4">
|
|
<td class="ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="5">
|
|
<td class="ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="6">
|
|
<td class="ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="7">
|
|
<td class="ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="8">
|
|
<td class="ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="9">
|
|
<td class="ant-table-row-cell-break-word">M</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination mini ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="2" tabindex="0" class="ant-pagination-item ant-pagination-item-2"><a>2</a></li>
|
|
<li title="3" tabindex="0" class="ant-pagination-item ant-pagination-item-3"><a>3</a></li>
|
|
<li title="4" tabindex="0" class="ant-pagination-item ant-pagination-item-4"><a>4</a></li>
|
|
<li title="5" tabindex="0" class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next"><a>5</a></li>
|
|
<li title="Next 5 Pages" tabindex="0" class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon"><a 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 viewBox="64 64 896 896" focusable="false" data-icon="double-right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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>10</a></li>
|
|
<li title="Next Page" tabindex="0" class=" ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/head.md correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-scroll-position-left ant-table-default">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters"><span class="ant-table-header-column"><div class="ant-table-column-sorters"><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"><div title="Sort" class="ant-table-column-sorter-inner"><span role="img" aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down off"><svg viewBox="0 0 1024 1024" focusable="false" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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>
|
|
</div></span>
|
|
</div></span><span role="img" aria-label="filter" tabindex="-1" title="Filter menu" class="anticon anticon-filter ant-dropdown-trigger"><svg viewBox="64 64 896 896" focusable="false" data-icon="filter" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></th>
|
|
<th key="age" class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-column-sort"><span class="ant-table-header-column"><div class="ant-table-column-sorters"><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"><div title="Sort" class="ant-table-column-sorter-inner ant-table-column-sorter-inner-full"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up off"><svg viewBox="0 0 1024 1024" focusable="false" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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 on"><svg viewBox="0 0 1024 1024" focusable="false" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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>
|
|
</div></span>
|
|
</div></span></th>
|
|
<th key="address" class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters ant-table-row-cell-last"><span class="ant-table-header-column"><div class="ant-table-column-sorters"><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"><div title="Sort" class="ant-table-column-sorter-inner ant-table-column-sorter-inner-full"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up off"><svg viewBox="0 0 1024 1024" focusable="false" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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 off"><svg viewBox="0 0 1024 1024" focusable="false" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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>
|
|
</div></span>
|
|
</div></span><span role="img" aria-label="filter" tabindex="-1" title="Filter menu" class="anticon anticon-filter ant-dropdown-trigger"><svg viewBox="64 64 896 896" focusable="false" data-icon="filter" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters">Jim Green</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-column-sort">42</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters">London No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters">John Brown</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-column-sort">32</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters">New York No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters">Joe Black</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-column-sort">32</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters">Sidney No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="4">
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters">Jim Red</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters ant-table-column-sort">32</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters">London No. 2 Lake Park</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/nested-table.md correctly 1`] = `
|
|
<div class="components-table-demo-nested ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-scroll-position-left ant-table-default">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col class="ant-table-expand-icon-col">
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="rc-table-expand-icon-cell" title="" rowspan="1" class="ant-table-expand-icon-th"></th>
|
|
<th key="name" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="platform" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Platform</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="version" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Version</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="upgradeNum" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Upgraded</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="creator" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Creator</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="createdAt" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Date</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="operation" class="ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Action</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="0">
|
|
<td class="ant-table-row-expand-icon-cell">
|
|
<div role="button" tabindex="0" aria-label="Expand row" class="ant-table-row-expand-icon ant-table-row-collapsed"></div>
|
|
</td>
|
|
<td class="">Screem</td>
|
|
<td class="">iOS</td>
|
|
<td class="">10.3.4.5654</td>
|
|
<td class="">500</td>
|
|
<td class="">Jack</td>
|
|
<td class="">2014-12-24 23:12:00</td>
|
|
<td class=""><a>Publish</a></td>
|
|
</tr>
|
|
<!---->
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-row-expand-icon-cell">
|
|
<div role="button" tabindex="0" aria-label="Expand row" class="ant-table-row-expand-icon ant-table-row-collapsed"></div>
|
|
</td>
|
|
<td class="">Screem</td>
|
|
<td class="">iOS</td>
|
|
<td class="">10.3.4.5654</td>
|
|
<td class="">500</td>
|
|
<td class="">Jack</td>
|
|
<td class="">2014-12-24 23:12:00</td>
|
|
<td class=""><a>Publish</a></td>
|
|
</tr>
|
|
<!---->
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-row-expand-icon-cell">
|
|
<div role="button" tabindex="0" aria-label="Expand row" class="ant-table-row-expand-icon ant-table-row-collapsed"></div>
|
|
</td>
|
|
<td class="">Screem</td>
|
|
<td class="">iOS</td>
|
|
<td class="">10.3.4.5654</td>
|
|
<td class="">500</td>
|
|
<td class="">Jack</td>
|
|
<td class="">2014-12-24 23:12:00</td>
|
|
<td class=""><a>Publish</a></td>
|
|
</tr>
|
|
<!---->
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/reset-filter.md correctly 1`] = `
|
|
<div>
|
|
<div class="table-operations"><button type="button" class="ant-btn"><span>Sort age</span></button> <button type="button" class="ant-btn"><span>Clear filters</span></button> <button type="button" class="ant-btn"><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 ant-table-scroll-position-left ant-table-layout-fixed ant-table-default">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters ant-table-row-cell-ellipsis"><span class="ant-table-header-column"><div class="ant-table-column-sorters"><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"><div title="Sort" class="ant-table-column-sorter-inner ant-table-column-sorter-inner-full"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up off"><svg viewBox="0 0 1024 1024" focusable="false" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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 off"><svg viewBox="0 0 1024 1024" focusable="false" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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>
|
|
</div></span>
|
|
</div></span><span role="img" aria-label="filter" tabindex="-1" title="Filter menu" class="anticon anticon-filter ant-dropdown-trigger"><svg viewBox="64 64 896 896" focusable="false" data-icon="filter" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></th>
|
|
<th key="age" class="ant-table-column-has-actions ant-table-column-has-sorters"><span class="ant-table-header-column"><div class="ant-table-column-sorters"><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"><div title="Sort" class="ant-table-column-sorter-inner ant-table-column-sorter-inner-full"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up off"><svg viewBox="0 0 1024 1024" focusable="false" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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 off"><svg viewBox="0 0 1024 1024" focusable="false" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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>
|
|
</div></span>
|
|
</div></span></th>
|
|
<th key="address" class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters ant-table-row-cell-ellipsis ant-table-row-cell-last"><span class="ant-table-header-column"><div class="ant-table-column-sorters"><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"><div title="Sort" class="ant-table-column-sorter-inner ant-table-column-sorter-inner-full"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up off"><svg viewBox="0 0 1024 1024" focusable="false" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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 off"><svg viewBox="0 0 1024 1024" focusable="false" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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>
|
|
</div></span>
|
|
</div></span><span role="img" aria-label="filter" tabindex="-1" title="Filter menu" class="anticon anticon-filter ant-dropdown-trigger"><svg viewBox="64 64 896 896" focusable="false" data-icon="filter" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td title="John Brown" class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters ant-table-row-cell-ellipsis">John Brown</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters">32</td>
|
|
<td title="New York No. 1 Lake Park" class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters ant-table-row-cell-ellipsis">New York No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td title="Jim Green" class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters ant-table-row-cell-ellipsis">Jim Green</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters">42</td>
|
|
<td title="London No. 1 Lake Park" class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters ant-table-row-cell-ellipsis">London No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td title="Joe Black" class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters ant-table-row-cell-ellipsis">Joe Black</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters">32</td>
|
|
<td title="Sidney No. 1 Lake Park" class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters ant-table-row-cell-ellipsis">Sidney No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="4">
|
|
<td title="Jim Red" class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters ant-table-row-cell-ellipsis">Jim Red</td>
|
|
<td class="ant-table-column-has-actions ant-table-column-has-sorters">32</td>
|
|
<td title="London No. 2 Lake Park" class="ant-table-column-has-actions ant-table-column-has-filters ant-table-column-has-sorters ant-table-row-cell-ellipsis">London No. 2 Lake Park</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/row-selection.md correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-scroll-position-left ant-table-default">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col class="ant-table-selection-col">
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="selection-column" class="ant-table-selection-column"><span class="ant-table-header-column"><div><span class="ant-table-column-title"><div class="ant-table-selection"><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label>
|
|
</div></span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="name" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address" class="ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input name="John Brown" type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class=""><a>John Brown</a></td>
|
|
<td class="">32</td>
|
|
<td class="">New York No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input name="Jim Green" type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class=""><a>Jim Green</a></td>
|
|
<td class="">42</td>
|
|
<td class="">London No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input name="Joe Black" type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class=""><a>Joe Black</a></td>
|
|
<td class="">32</td>
|
|
<td class="">Sidney No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="4">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper ant-checkbox-wrapper-disabled"><span class="ant-checkbox ant-checkbox-disabled"><input name="Disabled User" type="checkbox" disabled="disabled" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class=""><a>Disabled User</a></td>
|
|
<td class="">99</td>
|
|
<td class="">Sidney No. 1 Lake Park</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/row-selection-and-operation.md correctly 1`] = `
|
|
<div>
|
|
<div style="margin-bottom: 16px;"><button disabled="disabled" type="button" class="ant-btn ant-btn-primary"><span>Reload</span></button> <span style="margin-left: 8px;"><!----></span></div>
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-scroll-position-left ant-table-default">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col class="ant-table-selection-col">
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="selection-column" class="ant-table-selection-column"><span class="ant-table-header-column"><div><span class="ant-table-column-title"><div class="ant-table-selection"><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label>
|
|
</div></span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="name" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address" class="ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="0">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 0</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 0</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 1</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 1</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 2</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 2</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 3</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 3</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="4">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 4</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 4</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="5">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 5</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 5</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="6">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 6</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 6</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="7">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 7</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 7</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="8">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 8</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 8</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="9">
|
|
<td class="ant-table-selection-column"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 9</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 9</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="2" tabindex="0" class="ant-pagination-item ant-pagination-item-2"><a>2</a></li>
|
|
<li title="3" tabindex="0" class="ant-pagination-item ant-pagination-item-3"><a>3</a></li>
|
|
<li title="4" tabindex="0" class="ant-pagination-item ant-pagination-item-4"><a>4</a></li>
|
|
<li title="5" tabindex="0" class="ant-pagination-item ant-pagination-item-5"><a>5</a></li>
|
|
<li title="Next Page" tabindex="0" class=" ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/row-selection-custom.md correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-scroll-position-left ant-table-default">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col class="ant-table-selection-col">
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="selection-column" class="ant-table-selection-column ant-table-selection-column-custom"><span class="ant-table-header-column"><div><span class="ant-table-column-title"><div class="ant-table-selection"><label class="ant-checkbox-wrapper ant-table-selection-select-all-custom"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label>
|
|
<div class="ant-table-selection-down ant-dropdown-trigger"><span role="img" aria-label="down" class="anticon anticon-down"><svg viewBox="64 64 896 896" focusable="false" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></div>
|
|
</div></span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="name" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address" class="ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="0">
|
|
<td class="ant-table-selection-column ant-table-selection-column-custom"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 0</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 0</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="ant-table-selection-column ant-table-selection-column-custom"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 1</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 1</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="ant-table-selection-column ant-table-selection-column-custom"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 2</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 2</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="ant-table-selection-column ant-table-selection-column-custom"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 3</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 3</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="4">
|
|
<td class="ant-table-selection-column ant-table-selection-column-custom"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 4</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 4</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="5">
|
|
<td class="ant-table-selection-column ant-table-selection-column-custom"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 5</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 5</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="6">
|
|
<td class="ant-table-selection-column ant-table-selection-column-custom"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 6</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 6</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="7">
|
|
<td class="ant-table-selection-column ant-table-selection-column-custom"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 7</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 7</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="8">
|
|
<td class="ant-table-selection-column ant-table-selection-column-custom"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 8</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 8</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="9">
|
|
<td class="ant-table-selection-column ant-table-selection-column-custom"><span><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input" value=""><span class="ant-checkbox-inner"></span></span></label></span></td>
|
|
<td class="">Edward King 9</td>
|
|
<td class="">32</td>
|
|
<td class="">London, Park Lane no. 9</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="2" tabindex="0" class="ant-pagination-item ant-pagination-item-2"><a>2</a></li>
|
|
<li title="3" tabindex="0" class="ant-pagination-item ant-pagination-item-3"><a>3</a></li>
|
|
<li title="4" tabindex="0" class="ant-pagination-item ant-pagination-item-4"><a>4</a></li>
|
|
<li title="5" tabindex="0" class="ant-pagination-item ant-pagination-item-5"><a>5</a></li>
|
|
<li title="Next Page" tabindex="0" class=" ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/size.md 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-scroll-position-left ant-table-middle">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address" class="ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="">John Brown</td>
|
|
<td class="">32</td>
|
|
<td class="">New York No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="">Jim Green</td>
|
|
<td class="">42</td>
|
|
<td class="">London No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="">Joe Black</td>
|
|
<td class="">32</td>
|
|
<td class="">Sidney No. 1 Lake Park</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination mini ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></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-scroll-position-left ant-table-small">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="name" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address" class="ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="">John Brown</td>
|
|
<td class="">32</td>
|
|
<td class="">New York No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="">Jim Green</td>
|
|
<td class="">42</td>
|
|
<td class="">London No. 1 Lake Park</td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="">Joe Black</td>
|
|
<td class="">32</td>
|
|
<td class="">Sidney No. 1 Lake Park</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination mini ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./antdv-demo/docs/table/demo/template.md correctly 1`] = `
|
|
<div class="ant-table-wrapper">
|
|
<div class="ant-spin-nested-loading">
|
|
<div class="ant-spin-container">
|
|
<div class="ant-table ant-table-scroll-position-left ant-table-default">
|
|
<div class="ant-table-content">
|
|
<!---->
|
|
<div class="ant-table-body">
|
|
<table class="">
|
|
<colgroup>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
<col>
|
|
</colgroup>
|
|
<thead class="ant-table-thead">
|
|
<tr>
|
|
<th key="0" colspan="2" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title"><span slot="title" style="color: rgb(24, 144, 255);">Name</span></span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="age" rowspan="2" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Age</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="address" rowspan="2" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Address</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="tags" rowspan="2" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Tags</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="action" rowspan="2" class="ant-table-row-cell-last"><span class="ant-table-header-column"><div><span class="ant-table-column-title">Action</span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
</tr>
|
|
<tr>
|
|
<th key="firstName" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title"><span slot="title" style="color: rgb(24, 144, 255);">First Name</span></span><span class="ant-table-column-sorter"></span>
|
|
</div></span></th>
|
|
<th key="lastName" class=""><span class="ant-table-header-column"><div><span class="ant-table-column-title">Last Name</span><span class="ant-table-column-sorter"></span></div></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="ant-table-tbody">
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="1">
|
|
<td class="">John</td>
|
|
<td class="">Brown</td>
|
|
<td class="">32</td>
|
|
<td class="">New York No. 1 Lake Park</td>
|
|
<td class=""><span><span class="ant-tag ant-tag-blue">nice</span><span class="ant-tag ant-tag-blue">developer</span></span></td>
|
|
<td class=""><span><a>Action 一 John</a> <div role="separator" class="ant-divider ant-divider-vertical"></div> <a>Delete</a></span></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="2">
|
|
<td class="">Jim</td>
|
|
<td class="">Green</td>
|
|
<td class="">42</td>
|
|
<td class="">London No. 1 Lake Park</td>
|
|
<td class=""><span><span class="ant-tag ant-tag-blue">loser</span></span></td>
|
|
<td class=""><span><a>Action 一 Jim</a> <div role="separator" class="ant-divider ant-divider-vertical"></div> <a>Delete</a></span></td>
|
|
</tr>
|
|
<tr class="ant-table-row ant-table-row-level-0" data-row-key="3">
|
|
<td class="">Joe</td>
|
|
<td class="">Black</td>
|
|
<td class="">32</td>
|
|
<td class="">Sidney No. 1 Lake Park</td>
|
|
<td class=""><span><span class="ant-tag ant-tag-blue">cool</span><span class="ant-tag ant-tag-blue">teacher</span></span></td>
|
|
<td class=""><span><a>Action 一 Joe</a> <div role="separator" class="ant-divider ant-divider-vertical"></div> <a>Delete</a></span></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<ul unselectable="unselectable" class="ant-pagination ant-table-pagination">
|
|
<li title="Previous Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev"><a class="ant-pagination-item-link"><span role="img" aria-label="left" class="anticon anticon-left"><svg viewBox="64 64 896 896" focusable="false" data-icon="left" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<li title="1" tabindex="0" class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"><a>1</a></li>
|
|
<li title="Next Page" aria-disabled="true" class="ant-pagination-disabled ant-pagination-next"><a class="ant-pagination-item-link"><span role="img" aria-label="right" class="anticon anticon-right"><svg viewBox="64 64 896 896" focusable="false" data-icon="right" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><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></a></li>
|
|
<!---->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|