2019-07-22 19:28:23 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`Table.expand click to expand 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-table-wrapper"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-spin-nested-loading"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-spin-container"
|
|
|
|
>
|
|
|
|
<div
|
2019-11-15 14:35:25 +08:00
|
|
|
class="ant-table"
|
2019-07-22 19:28:23 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-11-15 14:35:25 +08:00
|
|
|
class="ant-table-container"
|
2019-07-22 19:28:23 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-11-15 14:35:25 +08:00
|
|
|
class="ant-table-content"
|
2019-07-22 19:28:23 +08:00
|
|
|
>
|
|
|
|
<table
|
2019-11-15 14:35:25 +08:00
|
|
|
style="table-layout: auto;"
|
2019-07-22 19:28:23 +08:00
|
|
|
>
|
|
|
|
<colgroup>
|
|
|
|
<col />
|
|
|
|
</colgroup>
|
2019-11-15 14:35:25 +08:00
|
|
|
<thead>
|
2019-07-22 19:28:23 +08:00
|
|
|
<tr>
|
|
|
|
<th
|
2019-11-15 14:35:25 +08:00
|
|
|
class="ant-table-cell"
|
2019-07-22 19:28:23 +08:00
|
|
|
>
|
2019-11-15 14:35:25 +08:00
|
|
|
Name
|
2019-07-22 19:28:23 +08:00
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody
|
|
|
|
class="ant-table-tbody"
|
|
|
|
>
|
|
|
|
<tr
|
|
|
|
class="ant-table-row ant-table-row-level-0"
|
2020-01-14 16:23:47 +08:00
|
|
|
data-row-key="1"
|
2019-07-22 19:28:23 +08:00
|
|
|
>
|
|
|
|
<td
|
2019-11-15 14:35:25 +08:00
|
|
|
class="ant-table-cell ant-table-cell-with-append"
|
2019-07-22 19:28:23 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-table-row-indent indent-level-0"
|
|
|
|
style="padding-left: 0px;"
|
|
|
|
/>
|
2019-11-15 14:35:25 +08:00
|
|
|
<button
|
2019-07-22 19:28:23 +08:00
|
|
|
aria-label="Collapse row"
|
2019-11-15 14:35:25 +08:00
|
|
|
class="ant-table-row-expand-icon ant-table-row-expand-icon-expanded"
|
|
|
|
type="button"
|
2019-07-22 19:28:23 +08:00
|
|
|
/>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr
|
|
|
|
class="ant-table-row ant-table-row-level-1"
|
2020-01-14 16:23:47 +08:00
|
|
|
data-row-key="1"
|
2019-07-22 19:28:23 +08:00
|
|
|
>
|
|
|
|
<td
|
2019-11-15 14:35:25 +08:00
|
|
|
class="ant-table-cell ant-table-cell-with-append"
|
2019-07-22 19:28:23 +08:00
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-table-row-indent indent-level-1"
|
2019-11-15 14:35:25 +08:00
|
|
|
style="padding-left: 15px;"
|
2019-07-22 19:28:23 +08:00
|
|
|
/>
|
2019-11-15 14:35:25 +08:00
|
|
|
<button
|
|
|
|
aria-label="Expand row"
|
|
|
|
class="ant-table-row-expand-icon ant-table-row-expand-icon-spaced"
|
|
|
|
type="button"
|
2019-07-22 19:28:23 +08:00
|
|
|
/>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<ul
|
|
|
|
class="ant-pagination ant-table-pagination"
|
|
|
|
unselectable="unselectable"
|
|
|
|
>
|
|
|
|
<li
|
|
|
|
aria-disabled="true"
|
|
|
|
class="ant-pagination-disabled ant-pagination-prev"
|
|
|
|
title="Previous Page"
|
2019-09-28 15:22:27 +08:00
|
|
|
>
|
|
|
|
<a
|
|
|
|
class="ant-pagination-item-link"
|
2020-02-13 13:31:37 +08:00
|
|
|
disabled=""
|
2019-09-28 15:22:27 +08:00
|
|
|
>
|
2019-10-16 10:44:56 +08:00
|
|
|
<span
|
|
|
|
aria-label="left"
|
2019-09-28 15:22:27 +08:00
|
|
|
class="anticon anticon-left"
|
2019-10-16 10:44:56 +08:00
|
|
|
role="img"
|
2019-09-28 15:22:27 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="left"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-10-16 10:44:56 +08:00
|
|
|
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"
|
2019-09-28 15:22:27 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
2019-09-28 15:22:27 +08:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
|
|
|
|
tabindex="0"
|
|
|
|
title="1"
|
|
|
|
>
|
|
|
|
<a>
|
|
|
|
1
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
aria-disabled="true"
|
|
|
|
class="ant-pagination-disabled ant-pagination-next"
|
|
|
|
title="Next Page"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
class="ant-pagination-item-link"
|
2020-02-13 13:31:37 +08:00
|
|
|
disabled=""
|
2019-09-28 15:22:27 +08:00
|
|
|
>
|
2019-10-16 10:44:56 +08:00
|
|
|
<span
|
|
|
|
aria-label="right"
|
2019-09-28 15:22:27 +08:00
|
|
|
class="anticon anticon-right"
|
2019-10-16 10:44:56 +08:00
|
|
|
role="img"
|
2019-09-28 15:22:27 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="right"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-10-16 10:44:56 +08:00
|
|
|
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"
|
2019-09-28 15:22:27 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-10-16 10:44:56 +08:00
|
|
|
</span>
|
2019-09-28 15:22:27 +08:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Table.expand should support expandIconColumnIndex 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-table-wrapper"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-spin-nested-loading"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-spin-container"
|
|
|
|
>
|
|
|
|
<div
|
2019-11-15 14:35:25 +08:00
|
|
|
class="ant-table"
|
2019-09-28 15:22:27 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-11-15 14:35:25 +08:00
|
|
|
class="ant-table-container"
|
2019-09-28 15:22:27 +08:00
|
|
|
>
|
|
|
|
<div
|
2019-11-15 14:35:25 +08:00
|
|
|
class="ant-table-content"
|
2019-09-28 15:22:27 +08:00
|
|
|
>
|
|
|
|
<table
|
2019-11-15 14:35:25 +08:00
|
|
|
style="table-layout: auto;"
|
2019-09-28 15:22:27 +08:00
|
|
|
>
|
2019-11-15 14:35:25 +08:00
|
|
|
<colgroup>
|
|
|
|
<col />
|
|
|
|
</colgroup>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th
|
|
|
|
class="ant-table-cell"
|
|
|
|
/>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2019-09-28 15:22:27 +08:00
|
|
|
<tbody
|
|
|
|
class="ant-table-tbody"
|
|
|
|
>
|
|
|
|
<tr
|
|
|
|
class="ant-table-row ant-table-row-level-0"
|
2020-01-14 16:23:47 +08:00
|
|
|
data-row-key="1"
|
2019-11-15 14:35:25 +08:00
|
|
|
>
|
|
|
|
<td
|
|
|
|
class="ant-table-cell ant-table-cell-with-append"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-table-row-indent indent-level-0"
|
|
|
|
style="padding-left: 0px;"
|
|
|
|
/>
|
|
|
|
<button
|
|
|
|
aria-label="Expand row"
|
|
|
|
class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed"
|
|
|
|
type="button"
|
|
|
|
/>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2019-09-28 15:22:27 +08:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<ul
|
|
|
|
class="ant-pagination ant-table-pagination"
|
|
|
|
unselectable="unselectable"
|
|
|
|
>
|
|
|
|
<li
|
|
|
|
aria-disabled="true"
|
|
|
|
class="ant-pagination-disabled ant-pagination-prev"
|
2019-07-22 19:28:23 +08:00
|
|
|
title="Previous Page"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
class="ant-pagination-item-link"
|
2020-02-13 13:31:37 +08:00
|
|
|
disabled=""
|
2019-07-22 19:28:23 +08:00
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="left"
|
2019-07-22 19:28:23 +08:00
|
|
|
class="anticon anticon-left"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2019-07-22 19:28:23 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="left"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2019-07-22 19:28:23 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2019-07-22 19:28:23 +08:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
|
|
|
|
tabindex="0"
|
|
|
|
title="1"
|
|
|
|
>
|
|
|
|
<a>
|
|
|
|
1
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
aria-disabled="true"
|
|
|
|
class="ant-pagination-disabled ant-pagination-next"
|
|
|
|
title="Next Page"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
class="ant-pagination-item-link"
|
2020-02-13 13:31:37 +08:00
|
|
|
disabled=""
|
2019-07-22 19:28:23 +08:00
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="right"
|
2019-07-22 19:28:23 +08:00
|
|
|
class="anticon anticon-right"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2019-07-22 19:28:23 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="right"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2019-07-22 19:28:23 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2019-07-22 19:28:23 +08:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|