ant-design/components/transfer/__tests__/__snapshots__/demo.test.js.snap

2859 lines
90 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/transfer/demo/advanced.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list ant-transfer-list-with-footer"
2017-09-20 16:26:18 +08:00
style="width:250px;height:300px"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list-header"
>
<label
class="ant-checkbox-wrapper"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
2017-02-28 16:14:41 +08:00
<span
class="ant-checkbox-inner"
/>
</span>
</label>
2016-11-22 14:28:05 +08:00
<span
class="ant-transfer-list-header-selected"
>
2016-11-22 14:28:05 +08:00
<span>
0 item
2016-11-22 14:28:05 +08:00
</span>
<span
class="ant-transfer-list-header-title"
/>
2016-11-22 14:28:05 +08:00
</span>
</div>
<div
class="ant-transfer-list-body ant-transfer-list-body-with-search"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list-body-search-wrapper"
>
2016-11-22 14:28:05 +08:00
<div>
2016-12-04 16:57:38 +08:00
<input
class="ant-input ant-transfer-list-search"
placeholder="Search here"
2016-12-04 16:57:38 +08:00
type="text"
value=""
/>
2016-11-22 14:28:05 +08:00
<span
class="ant-transfer-list-search-action"
>
2016-11-22 14:28:05 +08:00
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: search"
2018-08-13 20:51:01 +08:00
class="anticon anticon-search"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="search"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-10-01 23:57:45 +08:00
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 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-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"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
2016-11-22 14:28:05 +08:00
</span>
</div>
</div>
2016-11-24 17:47:56 +08:00
<div
class="ant-transfer-list-body-not-found"
>
2018-12-26 16:01:00 +08:00
<div
2019-04-03 19:11:04 +08:00
class="ant-empty ant-empty-normal ant-empty-small"
2018-12-26 16:01:00 +08:00
>
<div
class="ant-empty-image"
>
<svg
height="41"
viewBox="0 0 64 41"
width="64"
xmlns="http://www.w3.org/2000/svg"
>
<g
fill="none"
fill-rule="evenodd"
transform="translate(0 1)"
>
<ellipse
cx="32"
cy="33"
fill="#F5F5F5"
rx="32"
ry="7"
/>
<g
fill-rule="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
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"
/>
</g>
</g>
</svg>
2018-12-26 16:01:00 +08:00
</div>
<p
class="ant-empty-description"
>
No Data
</p>
</div>
2016-11-24 17:47:56 +08:00
</div>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-transfer-list-footer"
>
2016-11-22 14:28:05 +08:00
<button
2017-02-04 22:35:33 +08:00
class="ant-btn ant-btn-sm"
2017-09-20 16:26:18 +08:00
style="float:right;margin:5px"
type="button"
>
2016-11-22 14:28:05 +08:00
<span>
reload
</span>
</button>
</div>
</div>
<div
class="ant-transfer-operation"
>
2016-11-22 14:28:05 +08:00
<button
class="ant-btn ant-btn-primary ant-btn-sm"
disabled=""
type="button"
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: right"
2018-08-13 20:51:01 +08:00
class="anticon anticon-right"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="right"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 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 0 0 0-50.4z"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
2016-11-22 14:28:05 +08:00
<span>
to right
2016-11-22 14:28:05 +08:00
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm"
disabled=""
type="button"
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: left"
2018-08-13 20:51:01 +08:00
class="anticon anticon-left"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="left"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 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"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
2016-11-22 14:28:05 +08:00
<span>
to left
2016-11-22 14:28:05 +08:00
</span>
</button>
</div>
<div
class="ant-transfer-list ant-transfer-list-with-footer"
2017-09-20 16:26:18 +08:00
style="width:250px;height:300px"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list-header"
>
<label
class="ant-checkbox-wrapper"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
2017-02-28 16:14:41 +08:00
<span
class="ant-checkbox-inner"
/>
</span>
</label>
2016-11-22 14:28:05 +08:00
<span
class="ant-transfer-list-header-selected"
>
2016-11-22 14:28:05 +08:00
<span>
0 item
2016-11-22 14:28:05 +08:00
</span>
<span
class="ant-transfer-list-header-title"
/>
2016-11-22 14:28:05 +08:00
</span>
</div>
<div
class="ant-transfer-list-body ant-transfer-list-body-with-search"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list-body-search-wrapper"
>
2016-11-22 14:28:05 +08:00
<div>
2016-12-04 16:57:38 +08:00
<input
class="ant-input ant-transfer-list-search"
placeholder="Search here"
2016-12-04 16:57:38 +08:00
type="text"
value=""
/>
2016-11-22 14:28:05 +08:00
<span
class="ant-transfer-list-search-action"
>
2016-11-22 14:28:05 +08:00
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: search"
2018-08-13 20:51:01 +08:00
class="anticon anticon-search"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="search"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-10-01 23:57:45 +08:00
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 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-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"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
2016-11-22 14:28:05 +08:00
</span>
</div>
</div>
2016-11-24 17:47:56 +08:00
<div
class="ant-transfer-list-body-not-found"
>
2018-12-26 16:01:00 +08:00
<div
2019-04-03 19:11:04 +08:00
class="ant-empty ant-empty-normal ant-empty-small"
2018-12-26 16:01:00 +08:00
>
<div
class="ant-empty-image"
>
<svg
height="41"
viewBox="0 0 64 41"
width="64"
xmlns="http://www.w3.org/2000/svg"
>
<g
fill="none"
fill-rule="evenodd"
transform="translate(0 1)"
>
<ellipse
cx="32"
cy="33"
fill="#F5F5F5"
rx="32"
ry="7"
/>
<g
fill-rule="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
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"
/>
</g>
</g>
</svg>
2018-12-26 16:01:00 +08:00
</div>
<p
class="ant-empty-description"
>
No Data
</p>
</div>
2016-11-24 17:47:56 +08:00
</div>
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-transfer-list-footer"
>
2016-11-22 14:28:05 +08:00
<button
2017-02-04 22:35:33 +08:00
class="ant-btn ant-btn-sm"
2017-09-20 16:26:18 +08:00
style="float:right;margin:5px"
type="button"
>
2016-11-22 14:28:05 +08:00
<span>
reload
</span>
</button>
</div>
</div>
</div>
`;
exports[`renders ./components/transfer/demo/basic.md correctly 1`] = `
2018-09-15 15:18:59 +08:00
<div>
2016-11-22 14:28:05 +08:00
<div
2018-09-15 15:18:59 +08:00
class="ant-transfer"
>
2016-11-22 14:28:05 +08:00
<div
2018-09-15 15:18:59 +08:00
class="ant-transfer-list"
>
2018-09-15 15:18:59 +08:00
<div
class="ant-transfer-list-header"
>
2018-09-15 15:18:59 +08:00
<label
class="ant-checkbox-wrapper"
>
2017-02-28 16:14:41 +08:00
<span
2018-09-15 15:18:59 +08:00
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
2016-11-22 14:28:05 +08:00
<span
2018-09-15 15:18:59 +08:00
class="ant-transfer-list-header-selected"
>
2018-09-15 15:18:59 +08:00
<span>
14 items
</span>
<span
class="ant-transfer-list-header-title"
>
Source
</span>
2016-11-22 14:28:05 +08:00
</span>
2018-09-15 15:18:59 +08:00
</div>
2016-11-24 17:47:56 +08:00
<div
2018-09-15 15:18:59 +08:00
class="ant-transfer-list-body"
>
2018-09-15 15:18:59 +08:00
<ul
class="ant-transfer-list-content"
>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
</ul>
2016-11-24 17:47:56 +08:00
</div>
2016-11-22 14:28:05 +08:00
</div>
2018-09-15 15:18:59 +08:00
<div
class="ant-transfer-operation"
>
2018-09-15 15:18:59 +08:00
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
disabled=""
type="button"
2018-09-02 19:53:29 +08:00
>
2018-09-15 15:18:59 +08:00
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: right"
2018-09-15 15:18:59 +08:00
class="anticon anticon-right"
2018-09-02 19:53:29 +08:00
>
2018-09-15 15:18:59 +08:00
<svg
aria-hidden="true"
class=""
data-icon="right"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-15 15:18:59 +08:00
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 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 0 0 0-50.4z"
/>
</svg>
</i>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
disabled=""
type="button"
2018-09-02 19:53:29 +08:00
>
2018-09-15 15:18:59 +08:00
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: left"
2018-09-15 15:18:59 +08:00
class="anticon anticon-left"
2018-09-02 19:53:29 +08:00
>
2018-09-15 15:18:59 +08:00
<svg
aria-hidden="true"
class=""
data-icon="left"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-15 15:18:59 +08:00
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 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"
/>
</svg>
</i>
</button>
</div>
2016-11-22 14:28:05 +08:00
<div
2018-09-15 15:18:59 +08:00
class="ant-transfer-list"
>
2018-09-15 15:18:59 +08:00
<div
class="ant-transfer-list-header"
>
2018-09-15 15:18:59 +08:00
<label
class="ant-checkbox-wrapper"
>
2017-02-28 16:14:41 +08:00
<span
2018-09-15 15:18:59 +08:00
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
2016-11-22 14:28:05 +08:00
<span
2018-09-15 15:18:59 +08:00
class="ant-transfer-list-header-selected"
>
2018-09-15 15:18:59 +08:00
<span>
6 items
</span>
<span
class="ant-transfer-list-header-title"
>
Target
</span>
2016-11-22 14:28:05 +08:00
</span>
2018-09-15 15:18:59 +08:00
</div>
2016-11-24 17:47:56 +08:00
<div
2018-09-15 15:18:59 +08:00
class="ant-transfer-list-body"
>
2018-09-15 15:18:59 +08:00
<ul
class="ant-transfer-list-content"
>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
<div
class="LazyLoad"
style="height:32px"
/>
</ul>
2016-11-24 17:47:56 +08:00
</div>
2016-11-22 14:28:05 +08:00
</div>
</div>
2018-09-16 17:31:29 +08:00
<button
aria-checked="false"
2018-09-15 15:18:59 +08:00
class="ant-switch"
2018-09-16 17:31:29 +08:00
role="switch"
2018-12-07 17:25:05 +08:00
style="margin-top:16px"
2018-09-16 17:31:29 +08:00
type="button"
2018-09-15 15:18:59 +08:00
>
<span
class="ant-switch-inner"
>
disabled
</span>
2018-09-16 17:31:29 +08:00
</button>
2016-11-22 14:28:05 +08:00
</div>
`;
exports[`renders ./components/transfer/demo/custom-item.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list"
2017-09-20 16:26:18 +08:00
style="width:300px;height:300px"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list-header"
>
<label
class="ant-checkbox-wrapper"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
2017-02-28 16:14:41 +08:00
<span
class="ant-checkbox-inner"
/>
</span>
</label>
2016-11-22 14:28:05 +08:00
<span
class="ant-transfer-list-header-selected"
>
2016-11-22 14:28:05 +08:00
<span>
0 item
2016-11-22 14:28:05 +08:00
</span>
<span
class="ant-transfer-list-header-title"
/>
2016-11-22 14:28:05 +08:00
</span>
</div>
<div
class="ant-transfer-list-body"
>
2016-11-24 17:47:56 +08:00
<div
class="ant-transfer-list-body-not-found"
>
2018-12-26 16:01:00 +08:00
<div
2019-04-03 19:11:04 +08:00
class="ant-empty ant-empty-normal ant-empty-small"
2018-12-26 16:01:00 +08:00
>
<div
class="ant-empty-image"
>
<svg
height="41"
viewBox="0 0 64 41"
width="64"
xmlns="http://www.w3.org/2000/svg"
>
<g
fill="none"
fill-rule="evenodd"
transform="translate(0 1)"
>
<ellipse
cx="32"
cy="33"
fill="#F5F5F5"
rx="32"
ry="7"
/>
<g
fill-rule="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
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"
/>
</g>
</g>
</svg>
2018-12-26 16:01:00 +08:00
</div>
<p
class="ant-empty-description"
>
No Data
</p>
</div>
2016-11-24 17:47:56 +08:00
</div>
2016-11-22 14:28:05 +08:00
</div>
</div>
<div
class="ant-transfer-operation"
>
2016-11-22 14:28:05 +08:00
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
2016-11-22 14:28:05 +08:00
disabled=""
type="button"
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: right"
2018-08-13 20:51:01 +08:00
class="anticon anticon-right"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="right"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 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 0 0 0-50.4z"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
2016-11-22 14:28:05 +08:00
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
2016-11-22 14:28:05 +08:00
disabled=""
type="button"
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: left"
2018-08-13 20:51:01 +08:00
class="anticon anticon-left"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="left"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 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"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
2016-11-22 14:28:05 +08:00
</button>
</div>
<div
class="ant-transfer-list"
2017-09-20 16:26:18 +08:00
style="width:300px;height:300px"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list-header"
>
<label
class="ant-checkbox-wrapper"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
2017-02-28 16:14:41 +08:00
<span
class="ant-checkbox-inner"
/>
</span>
</label>
2016-11-22 14:28:05 +08:00
<span
class="ant-transfer-list-header-selected"
>
2016-11-22 14:28:05 +08:00
<span>
0 item
2016-11-22 14:28:05 +08:00
</span>
<span
class="ant-transfer-list-header-title"
/>
2016-11-22 14:28:05 +08:00
</span>
</div>
<div
class="ant-transfer-list-body"
>
2016-11-24 17:47:56 +08:00
<div
class="ant-transfer-list-body-not-found"
>
2018-12-26 16:01:00 +08:00
<div
2019-04-03 19:11:04 +08:00
class="ant-empty ant-empty-normal ant-empty-small"
2018-12-26 16:01:00 +08:00
>
<div
class="ant-empty-image"
>
<svg
height="41"
viewBox="0 0 64 41"
width="64"
xmlns="http://www.w3.org/2000/svg"
>
<g
fill="none"
fill-rule="evenodd"
transform="translate(0 1)"
>
<ellipse
cx="32"
cy="33"
fill="#F5F5F5"
rx="32"
ry="7"
/>
<g
fill-rule="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
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"
/>
</g>
</g>
</svg>
2018-12-26 16:01:00 +08:00
</div>
<p
class="ant-empty-description"
>
No Data
</p>
</div>
2016-11-24 17:47:56 +08:00
</div>
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
`;
exports[`renders ./components/transfer/demo/large-data.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list-header"
>
<label
class="ant-checkbox-wrapper"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
2017-02-28 16:14:41 +08:00
<span
class="ant-checkbox-inner"
/>
</span>
</label>
2016-11-22 14:28:05 +08:00
<span
class="ant-transfer-list-header-selected"
>
2016-11-22 14:28:05 +08:00
<span>
0 item
2016-11-22 14:28:05 +08:00
</span>
<span
class="ant-transfer-list-header-title"
/>
2016-11-22 14:28:05 +08:00
</span>
</div>
<div
class="ant-transfer-list-body"
>
2016-11-24 17:47:56 +08:00
<div
class="ant-transfer-list-body-not-found"
>
2018-12-26 16:01:00 +08:00
<div
2019-04-03 19:11:04 +08:00
class="ant-empty ant-empty-normal ant-empty-small"
2018-12-26 16:01:00 +08:00
>
<div
class="ant-empty-image"
>
<svg
height="41"
viewBox="0 0 64 41"
width="64"
xmlns="http://www.w3.org/2000/svg"
>
<g
fill="none"
fill-rule="evenodd"
transform="translate(0 1)"
>
<ellipse
cx="32"
cy="33"
fill="#F5F5F5"
rx="32"
ry="7"
/>
<g
fill-rule="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
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"
/>
</g>
</g>
</svg>
2018-12-26 16:01:00 +08:00
</div>
<p
class="ant-empty-description"
>
No Data
</p>
</div>
2016-11-24 17:47:56 +08:00
</div>
2016-11-22 14:28:05 +08:00
</div>
</div>
<div
class="ant-transfer-operation"
>
2016-11-22 14:28:05 +08:00
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
2016-11-22 14:28:05 +08:00
disabled=""
type="button"
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: right"
2018-08-13 20:51:01 +08:00
class="anticon anticon-right"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="right"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 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 0 0 0-50.4z"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
2016-11-22 14:28:05 +08:00
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
2016-11-22 14:28:05 +08:00
disabled=""
type="button"
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: left"
2018-08-13 20:51:01 +08:00
class="anticon anticon-left"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="left"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 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"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
2016-11-22 14:28:05 +08:00
</button>
</div>
<div
class="ant-transfer-list"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list-header"
>
<label
class="ant-checkbox-wrapper"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
2017-02-28 16:14:41 +08:00
<span
class="ant-checkbox-inner"
/>
</span>
</label>
2016-11-22 14:28:05 +08:00
<span
class="ant-transfer-list-header-selected"
>
2016-11-22 14:28:05 +08:00
<span>
0 item
2016-11-22 14:28:05 +08:00
</span>
<span
class="ant-transfer-list-header-title"
/>
2016-11-22 14:28:05 +08:00
</span>
</div>
<div
class="ant-transfer-list-body"
>
2016-11-24 17:47:56 +08:00
<div
class="ant-transfer-list-body-not-found"
>
2018-12-26 16:01:00 +08:00
<div
2019-04-03 19:11:04 +08:00
class="ant-empty ant-empty-normal ant-empty-small"
2018-12-26 16:01:00 +08:00
>
<div
class="ant-empty-image"
>
<svg
height="41"
viewBox="0 0 64 41"
width="64"
xmlns="http://www.w3.org/2000/svg"
>
<g
fill="none"
fill-rule="evenodd"
transform="translate(0 1)"
>
<ellipse
cx="32"
cy="33"
fill="#F5F5F5"
rx="32"
ry="7"
/>
<g
fill-rule="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
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"
/>
</g>
</g>
</svg>
2018-12-26 16:01:00 +08:00
</div>
<p
class="ant-empty-description"
>
No Data
</p>
</div>
2016-11-24 17:47:56 +08:00
</div>
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
`;
exports[`renders ./components/transfer/demo/search.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list-header"
>
<label
class="ant-checkbox-wrapper"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
2017-02-28 16:14:41 +08:00
<span
class="ant-checkbox-inner"
/>
</span>
</label>
2016-11-22 14:28:05 +08:00
<span
class="ant-transfer-list-header-selected"
>
2016-11-22 14:28:05 +08:00
<span>
0 item
2016-11-22 14:28:05 +08:00
</span>
<span
class="ant-transfer-list-header-title"
/>
2016-11-22 14:28:05 +08:00
</span>
</div>
<div
class="ant-transfer-list-body ant-transfer-list-body-with-search"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list-body-search-wrapper"
>
2016-11-22 14:28:05 +08:00
<div>
2016-12-04 16:57:38 +08:00
<input
class="ant-input ant-transfer-list-search"
placeholder="Search here"
2016-12-04 16:57:38 +08:00
type="text"
value=""
/>
2016-11-22 14:28:05 +08:00
<span
class="ant-transfer-list-search-action"
>
2016-11-22 14:28:05 +08:00
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: search"
2018-08-13 20:51:01 +08:00
class="anticon anticon-search"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="search"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-10-01 23:57:45 +08:00
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 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-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"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
2016-11-22 14:28:05 +08:00
</span>
</div>
</div>
2016-11-24 17:47:56 +08:00
<div
class="ant-transfer-list-body-not-found"
>
2018-12-26 16:01:00 +08:00
<div
2019-04-03 19:11:04 +08:00
class="ant-empty ant-empty-normal ant-empty-small"
2018-12-26 16:01:00 +08:00
>
<div
class="ant-empty-image"
>
<svg
height="41"
viewBox="0 0 64 41"
width="64"
xmlns="http://www.w3.org/2000/svg"
>
<g
fill="none"
fill-rule="evenodd"
transform="translate(0 1)"
>
<ellipse
cx="32"
cy="33"
fill="#F5F5F5"
rx="32"
ry="7"
/>
<g
fill-rule="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
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"
/>
</g>
</g>
</svg>
2018-12-26 16:01:00 +08:00
</div>
<p
class="ant-empty-description"
>
No Data
</p>
</div>
2016-11-24 17:47:56 +08:00
</div>
2016-11-22 14:28:05 +08:00
</div>
</div>
<div
class="ant-transfer-operation"
>
2016-11-22 14:28:05 +08:00
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
2016-11-22 14:28:05 +08:00
disabled=""
type="button"
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: right"
2018-08-13 20:51:01 +08:00
class="anticon anticon-right"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="right"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 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 0 0 0-50.4z"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
2016-11-22 14:28:05 +08:00
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
2016-11-22 14:28:05 +08:00
disabled=""
type="button"
>
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: left"
2018-08-13 20:51:01 +08:00
class="anticon anticon-left"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="left"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 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"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
2016-11-22 14:28:05 +08:00
</button>
</div>
<div
class="ant-transfer-list"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list-header"
>
<label
class="ant-checkbox-wrapper"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
2017-02-28 16:14:41 +08:00
<span
class="ant-checkbox-inner"
/>
</span>
</label>
2016-11-22 14:28:05 +08:00
<span
class="ant-transfer-list-header-selected"
>
2016-11-22 14:28:05 +08:00
<span>
0 item
2016-11-22 14:28:05 +08:00
</span>
<span
class="ant-transfer-list-header-title"
/>
2016-11-22 14:28:05 +08:00
</span>
</div>
<div
class="ant-transfer-list-body ant-transfer-list-body-with-search"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-transfer-list-body-search-wrapper"
>
2016-11-22 14:28:05 +08:00
<div>
2016-12-04 16:57:38 +08:00
<input
class="ant-input ant-transfer-list-search"
placeholder="Search here"
2016-12-04 16:57:38 +08:00
type="text"
value=""
/>
2016-11-22 14:28:05 +08:00
<span
class="ant-transfer-list-search-action"
>
2016-11-22 14:28:05 +08:00
<i
2019-01-10 18:46:57 +08:00
aria-label="icon: search"
2018-08-13 20:51:01 +08:00
class="anticon anticon-search"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
data-icon="search"
fill="currentColor"
2019-04-11 12:48:36 +08:00
focusable="false"
2018-09-02 19:53:29 +08:00
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-09-02 19:53:29 +08:00
width="1em"
>
<path
2018-10-01 23:57:45 +08:00
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 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-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"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
2016-11-22 14:28:05 +08:00
</span>
</div>
</div>
2016-11-24 17:47:56 +08:00
<div
class="ant-transfer-list-body-not-found"
>
2018-12-26 16:01:00 +08:00
<div
2019-04-03 19:11:04 +08:00
class="ant-empty ant-empty-normal ant-empty-small"
2018-12-26 16:01:00 +08:00
>
<div
class="ant-empty-image"
>
<svg
height="41"
viewBox="0 0 64 41"
width="64"
xmlns="http://www.w3.org/2000/svg"
>
<g
fill="none"
fill-rule="evenodd"
transform="translate(0 1)"
>
<ellipse
cx="32"
cy="33"
fill="#F5F5F5"
rx="32"
ry="7"
/>
<g
fill-rule="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
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"
/>
</g>
</g>
</svg>
2018-12-26 16:01:00 +08:00
</div>
<p
class="ant-empty-description"
>
No Data
</p>
</div>
2016-11-24 17:47:56 +08:00
</div>
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
`;
exports[`renders ./components/transfer/demo/table-transfer.md correctly 1`] = `
<div>
<div
class="ant-transfer ant-transfer-customize-list"
>
<div
class="ant-transfer-list"
>
<div
class="ant-transfer-list-header"
>
<span
class="ant-transfer-list-header-selected"
>
<span>
14 items
</span>
<span
class="ant-transfer-list-header-title"
/>
</span>
</div>
<div
class="ant-transfer-list-body"
>
<div
class="ant-transfer-list-body-customize-wrapper"
>
<div
class="ant-table-wrapper"
>
<div
class="ant-spin-nested-loading"
>
<div
class="ant-spin-container"
>
<div
class="ant-table ant-table-small ant-table-scroll-position-left"
>
<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
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
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</div>
</span>
<span
class="ant-table-column-sorter"
/>
</div>
</span>
</th>
<th
class=""
>
<span
class="ant-table-header-column"
>
<div>
<span
class="ant-table-column-title"
>
Name
</span>
<span
class="ant-table-column-sorter"
/>
</div>
</span>
</th>
<th
class=""
>
<span
class="ant-table-header-column"
>
<div>
<span
class="ant-table-column-title"
>
Tag
</span>
<span
class="ant-table-column-sorter"
/>
</div>
</span>
</th>
<th
class=""
>
<span
class="ant-table-header-column"
>
<div>
<span
class="ant-table-column-title"
>
Description
</span>
<span
class="ant-table-column-sorter"
/>
</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 ant-checkbox-wrapper-disabled"
>
<span
class="ant-checkbox ant-checkbox-disabled"
>
<input
class="ant-checkbox-input"
disabled=""
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content1
</td>
<td
class=""
>
<span
class="ant-tag"
>
cat
</span>
</td>
<td
class=""
>
description of content1
</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
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content2
</td>
<td
class=""
>
<span
class="ant-tag"
>
dog
</span>
</td>
<td
class=""
>
description of content2
</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
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content4
</td>
<td
class=""
>
<span
class="ant-tag"
>
cat
</span>
</td>
<td
class=""
>
description of content4
</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
class="ant-checkbox-input"
disabled=""
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content5
</td>
<td
class=""
>
<span
class="ant-tag"
>
dog
</span>
</td>
<td
class=""
>
description of content5
</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
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content7
</td>
<td
class=""
>
<span
class="ant-tag"
>
cat
</span>
</td>
<td
class=""
>
description of content7
</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
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content8
</td>
<td
class=""
>
<span
class="ant-tag"
>
dog
</span>
</td>
<td
class=""
>
description of content8
</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
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content10
</td>
<td
class=""
>
<span
class="ant-tag"
>
cat
</span>
</td>
<td
class=""
>
description of content10
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="10"
>
<td
class="ant-table-selection-column"
>
<span>
<label
class="ant-checkbox-wrapper"
>
<span
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content11
</td>
<td
class=""
>
<span
class="ant-tag"
>
dog
</span>
</td>
<td
class=""
>
description of content11
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="12"
>
<td
class="ant-table-selection-column"
>
<span>
<label
class="ant-checkbox-wrapper ant-checkbox-wrapper-disabled"
>
<span
class="ant-checkbox ant-checkbox-disabled"
>
<input
class="ant-checkbox-input"
disabled=""
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content13
</td>
<td
class=""
>
<span
class="ant-tag"
>
cat
</span>
</td>
<td
class=""
>
description of content13
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="13"
>
<td
class="ant-table-selection-column"
>
<span>
<label
class="ant-checkbox-wrapper"
>
<span
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content14
</td>
<td
class=""
>
<span
class="ant-tag"
>
dog
</span>
</td>
<td
class=""
>
description of content14
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<ul
class="ant-pagination ant-table-pagination mini"
unselectable="unselectable"
>
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
title="Previous Page"
>
<a
class="ant-pagination-item-link"
>
<i
aria-label="icon: left"
class="anticon anticon-left"
>
<svg
aria-hidden="true"
class=""
data-icon="left"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 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"
/>
</svg>
</i>
</a>
</li>
<li
class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active"
tabindex="0"
title="1"
>
<a>
1
</a>
</li>
<li
class="ant-pagination-item ant-pagination-item-2"
tabindex="0"
title="2"
>
<a>
2
</a>
</li>
<li
aria-disabled="false"
class=" ant-pagination-next"
tabindex="0"
title="Next Page"
>
<a
class="ant-pagination-item-link"
>
<i
aria-label="icon: right"
class="anticon anticon-right"
>
<svg
aria-hidden="true"
class=""
data-icon="right"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 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 0 0 0-50.4z"
/>
</svg>
</i>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class="ant-transfer-operation"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
disabled=""
type="button"
>
<i
aria-label="icon: right"
class="anticon anticon-right"
>
<svg
aria-hidden="true"
class=""
data-icon="right"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 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 0 0 0-50.4z"
/>
</svg>
</i>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
disabled=""
type="button"
>
<i
aria-label="icon: left"
class="anticon anticon-left"
>
<svg
aria-hidden="true"
class=""
data-icon="left"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 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"
/>
</svg>
</i>
</button>
</div>
<div
class="ant-transfer-list"
>
<div
class="ant-transfer-list-header"
>
<span
class="ant-transfer-list-header-selected"
>
<span>
6 items
</span>
<span
class="ant-transfer-list-header-title"
/>
</span>
</div>
<div
class="ant-transfer-list-body"
>
<div
class="ant-transfer-list-body-customize-wrapper"
>
<div
class="ant-table-wrapper"
>
<div
class="ant-spin-nested-loading"
>
<div
class="ant-spin-container"
>
<div
class="ant-table ant-table-small ant-table-scroll-position-left"
>
<div
class="ant-table-content"
>
<div
class="ant-table-body"
>
<table
class=""
>
<colgroup>
<col
class="ant-table-selection-col"
/>
<col />
</colgroup>
<thead
class="ant-table-thead"
>
<tr>
<th
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
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</div>
</span>
<span
class="ant-table-column-sorter"
/>
</div>
</span>
</th>
<th
class=""
>
<span
class="ant-table-header-column"
>
<div>
<span
class="ant-table-column-title"
>
Name
</span>
<span
class="ant-table-column-sorter"
/>
</div>
</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-selection-column"
>
<span>
<label
class="ant-checkbox-wrapper"
>
<span
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content3
</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
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content6
</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 ant-checkbox-wrapper-disabled"
>
<span
class="ant-checkbox ant-checkbox-disabled"
>
<input
class="ant-checkbox-input"
disabled=""
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content9
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="11"
>
<td
class="ant-table-selection-column"
>
<span>
<label
class="ant-checkbox-wrapper"
>
<span
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content12
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="14"
>
<td
class="ant-table-selection-column"
>
<span>
<label
class="ant-checkbox-wrapper"
>
<span
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content15
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="17"
>
<td
class="ant-table-selection-column"
>
<span>
<label
class="ant-checkbox-wrapper"
>
<span
class="ant-checkbox"
>
<input
class="ant-checkbox-input"
type="checkbox"
/>
<span
class="ant-checkbox-inner"
/>
</span>
</label>
</span>
</td>
<td
class=""
>
content18
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<ul
class="ant-pagination ant-table-pagination mini"
unselectable="unselectable"
>
<li
aria-disabled="true"
class="ant-pagination-disabled ant-pagination-prev"
title="Previous Page"
>
<a
class="ant-pagination-item-link"
>
<i
aria-label="icon: left"
class="anticon anticon-left"
>
<svg
aria-hidden="true"
class=""
data-icon="left"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 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"
/>
</svg>
</i>
</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"
>
<i
aria-label="icon: right"
class="anticon anticon-right"
>
<svg
aria-hidden="true"
class=""
data-icon="right"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 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 0 0 0-50.4z"
/>
</svg>
</i>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<button
aria-checked="false"
class="ant-switch"
role="switch"
style="margin-top:16px"
type="button"
>
<span
class="ant-switch-inner"
>
disabled
</span>
</button>
<button
aria-checked="false"
class="ant-switch"
role="switch"
style="margin-top:16px"
type="button"
>
<span
class="ant-switch-inner"
>
showSearch
</span>
</button>
</div>
`;
exports[`renders ./components/transfer/demo/tree-transfer.md correctly 1`] = `
<div>
<div
class="tree-transfer ant-transfer ant-transfer-customize-list"
>
<div
class="ant-transfer-list"
>
<div
class="ant-transfer-list-header"
>
<span
class="ant-transfer-list-header-selected"
>
<span>
5 items
</span>
<span
class="ant-transfer-list-header-title"
/>
</span>
</div>
<div
class="ant-transfer-list-body"
>
<div
class="ant-transfer-list-body-customize-wrapper"
>
<div
class="ant-tree-list ant-tree ant-tree-icon-hide ant-tree-block-node"
role="tree"
>
<div>
<div
class="ant-tree-list-holder-inner"
style="display:flex;flex-direction:column"
>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-open"
role="treeitem"
tabindex="0"
>
<span
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-checkbox"
>
<span
class="ant-tree-checkbox-inner"
/>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="0-0"
>
<span
class="ant-tree-title"
>
0-0
</span>
</span>
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-open"
role="treeitem"
tabindex="0"
>
<span
class="ant-tree-switcher ant-tree-switcher_open"
>
<i
aria-label="icon: caret-down"
class="anticon anticon-caret-down ant-tree-switcher-icon"
>
<svg
aria-hidden="true"
class=""
data-icon="caret-down"
fill="currentColor"
focusable="false"
height="1em"
viewBox="0 0 1024 1024"
width="1em"
>
<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"
/>
</svg>
</i>
</span>
<span
class="ant-tree-checkbox"
>
<span
class="ant-tree-checkbox-inner"
/>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-open"
title="0-1"
>
<span
class="ant-tree-title"
>
0-1
</span>
</span>
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-open"
role="treeitem"
tabindex="0"
>
<span
aria-hidden="true"
class="ant-tree-indent"
>
<span
class="ant-tree-indent-unit ant-tree-indent-unit-start"
/>
</span>
<span
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-checkbox"
>
<span
class="ant-tree-checkbox-inner"
/>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="0-1-0"
>
<span
class="ant-tree-title"
>
0-1-0
</span>
</span>
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-open"
role="treeitem"
tabindex="0"
>
<span
aria-hidden="true"
class="ant-tree-indent"
>
<span
class="ant-tree-indent-unit ant-tree-indent-unit-end"
/>
</span>
<span
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-checkbox"
>
<span
class="ant-tree-checkbox-inner"
/>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="0-1-1"
>
<span
class="ant-tree-title"
>
0-1-1
</span>
</span>
</div>
<div
class="ant-tree-treenode ant-tree-treenode-switcher-open"
role="treeitem"
tabindex="0"
>
<span
class="ant-tree-switcher ant-tree-switcher-noop"
/>
<span
class="ant-tree-checkbox"
>
<span
class="ant-tree-checkbox-inner"
/>
</span>
<span
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-normal"
title="0-3"
>
<span
class="ant-tree-title"
>
0-3
</span>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class="ant-transfer-operation"
>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
disabled=""
type="button"
>
<i
aria-label="icon: right"
class="anticon anticon-right"
>
<svg
aria-hidden="true"
class=""
data-icon="right"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 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 0 0 0-50.4z"
/>
</svg>
</i>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
disabled=""
type="button"
>
<i
aria-label="icon: left"
class="anticon anticon-left"
>
<svg
aria-hidden="true"
class=""
data-icon="left"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 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"
/>
</svg>
</i>
</button>
</div>
<div
class="ant-transfer-list"
>
<div
class="ant-transfer-list-header"
>
<span
class="ant-transfer-list-header-selected"
>
<span>
0 item
</span>
<span
class="ant-transfer-list-header-title"
/>
</span>
</div>
<div
class="ant-transfer-list-body"
>
<div
class="ant-transfer-list-body-not-found"
>
<div
class="ant-empty ant-empty-normal ant-empty-small"
>
<div
class="ant-empty-image"
>
<svg
height="41"
viewBox="0 0 64 41"
width="64"
xmlns="http://www.w3.org/2000/svg"
>
<g
fill="none"
fill-rule="evenodd"
transform="translate(0 1)"
>
<ellipse
cx="32"
cy="33"
fill="#F5F5F5"
rx="32"
ry="7"
/>
<g
fill-rule="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
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"
/>
</g>
</g>
</svg>
</div>
<p
class="ant-empty-description"
>
No Data
</p>
</div>
</div>
</div>
</div>
</div>
</div>
`;