mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
991 lines
25 KiB
Plaintext
991 lines
25 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`renders ./components/transfer/demo/advanced.md correctly 1`] = `
|
|
<div
|
|
class="ant-transfer"
|
|
>
|
|
<div
|
|
class="ant-transfer-list ant-transfer-list-with-footer"
|
|
style="width:250px;height:300px"
|
|
>
|
|
<div
|
|
class="ant-transfer-list-header"
|
|
>
|
|
<label
|
|
class="ant-checkbox-wrapper"
|
|
>
|
|
<span
|
|
class="ant-checkbox"
|
|
>
|
|
<input
|
|
class="ant-checkbox-input"
|
|
type="checkbox"
|
|
/>
|
|
<span
|
|
class="ant-checkbox-inner"
|
|
/>
|
|
</span>
|
|
</label>
|
|
<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 ant-transfer-list-body-with-search"
|
|
>
|
|
<div
|
|
class="ant-transfer-list-body-search-wrapper"
|
|
>
|
|
<div>
|
|
<input
|
|
class="ant-input ant-transfer-list-search"
|
|
placeholder="Search here"
|
|
type="text"
|
|
value=""
|
|
/>
|
|
<span
|
|
class="ant-transfer-list-search-action"
|
|
>
|
|
<i
|
|
class="anticon anticon-search"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="search"
|
|
fill="currentColor"
|
|
height="1em"
|
|
viewBox="0 0 1024 1024"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M949.5 898.5L743.8 692.9C798.9 626.4 832 541.1 832 448c0-212.1-171.9-384-384-384S64 235.9 64 448s171.9 384 384 384c93.1 0 178.4-33.1 244.9-88.2l205.7 205.7c7 7 16.2 10.5 25.5 10.5s18.4-3.5 25.5-10.5c13.9-14.1 13.9-36.9-.1-51zm-380.1-163C531 751.8 490.2 760 448 760s-83-8.2-121.4-24.5c-37.1-15.7-70.5-38.2-99.2-66.9-28.7-28.7-51.2-62.1-66.9-99.2C144.2 531 136 490.2 136 448s8.2-83 24.5-121.4c15.7-37.1 38.2-70.5 66.9-99.2 28.7-28.7 62.1-51.2 99.2-66.9C365 144.2 405.8 136 448 136s83 8.2 121.4 24.5c37.1 15.7 70.5 38.2 99.2 66.9 28.7 28.7 51.2 62.1 66.9 99.2C751.8 365 760 405.8 760 448s-8.2 83-24.5 121.4c-15.7 37.1-38.2 70.5-66.9 99.2-28.7 28.7-62 51.2-99.2 66.9z"
|
|
/>
|
|
</svg>
|
|
</i>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<ul
|
|
class="ant-transfer-list-content"
|
|
/>
|
|
<div
|
|
class="ant-transfer-list-body-not-found"
|
|
>
|
|
Not Found
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="ant-transfer-list-footer"
|
|
>
|
|
<button
|
|
class="ant-btn ant-btn-sm"
|
|
style="float:right;margin:5px"
|
|
type="button"
|
|
>
|
|
<span>
|
|
reload
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="ant-transfer-operation"
|
|
>
|
|
<button
|
|
class="ant-btn ant-btn-primary ant-btn-sm"
|
|
disabled=""
|
|
type="button"
|
|
>
|
|
<i
|
|
class="anticon anticon-right"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="right"
|
|
fill="currentColor"
|
|
height="1em"
|
|
viewBox="0 0 1024 1024"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M300.6 895.7c9.6 0 19.3-3.2 27.4-9.6l423.8-340.9c10.3-8.3 16.3-20.8 16.3-34.1 0-13.2-6-25.8-16.3-34L329.8 138c-18.8-15.1-46.3-12.1-61.4 6.7-15.1 18.8-12.1 46.3 6.7 61.4l379.6 305.1L273.2 818c-18.8 15.1-21.8 42.6-6.7 61.4 8.7 10.7 21.3 16.3 34.1 16.3z"
|
|
/>
|
|
</svg>
|
|
</i>
|
|
<span>
|
|
to right
|
|
</span>
|
|
</button>
|
|
<button
|
|
class="ant-btn ant-btn-primary ant-btn-sm"
|
|
disabled=""
|
|
type="button"
|
|
>
|
|
<i
|
|
class="anticon anticon-left"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="left"
|
|
fill="currentColor"
|
|
height="1em"
|
|
viewBox="0 0 1024 1024"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M724.4 895.7c-9.6 0-19.3-3.2-27.4-9.6L273.2 545.2c-10.3-8.3-16.3-20.8-16.3-34.1 0-13.2 6-25.8 16.3-34l422-339.1c18.8-15.1 46.3-12.1 61.4 6.7 15.1 18.8 12.1 46.3-6.7 61.4l-379.6 305L751.8 818c18.8 15.1 21.8 42.6 6.7 61.4-8.7 10.7-21.3 16.3-34.1 16.3z"
|
|
/>
|
|
</svg>
|
|
</i>
|
|
<span>
|
|
to left
|
|
</span>
|
|
</button>
|
|
</div>
|
|
<div
|
|
class="ant-transfer-list ant-transfer-list-with-footer"
|
|
style="width:250px;height:300px"
|
|
>
|
|
<div
|
|
class="ant-transfer-list-header"
|
|
>
|
|
<label
|
|
class="ant-checkbox-wrapper"
|
|
>
|
|
<span
|
|
class="ant-checkbox"
|
|
>
|
|
<input
|
|
class="ant-checkbox-input"
|
|
type="checkbox"
|
|
/>
|
|
<span
|
|
class="ant-checkbox-inner"
|
|
/>
|
|
</span>
|
|
</label>
|
|
<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 ant-transfer-list-body-with-search"
|
|
>
|
|
<div
|
|
class="ant-transfer-list-body-search-wrapper"
|
|
>
|
|
<div>
|
|
<input
|
|
class="ant-input ant-transfer-list-search"
|
|
placeholder="Search here"
|
|
type="text"
|
|
value=""
|
|
/>
|
|
<span
|
|
class="ant-transfer-list-search-action"
|
|
>
|
|
<i
|
|
class="anticon anticon-search"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="search"
|
|
fill="currentColor"
|
|
height="1em"
|
|
viewBox="0 0 1024 1024"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M949.5 898.5L743.8 692.9C798.9 626.4 832 541.1 832 448c0-212.1-171.9-384-384-384S64 235.9 64 448s171.9 384 384 384c93.1 0 178.4-33.1 244.9-88.2l205.7 205.7c7 7 16.2 10.5 25.5 10.5s18.4-3.5 25.5-10.5c13.9-14.1 13.9-36.9-.1-51zm-380.1-163C531 751.8 490.2 760 448 760s-83-8.2-121.4-24.5c-37.1-15.7-70.5-38.2-99.2-66.9-28.7-28.7-51.2-62.1-66.9-99.2C144.2 531 136 490.2 136 448s8.2-83 24.5-121.4c15.7-37.1 38.2-70.5 66.9-99.2 28.7-28.7 62.1-51.2 99.2-66.9C365 144.2 405.8 136 448 136s83 8.2 121.4 24.5c37.1 15.7 70.5 38.2 99.2 66.9 28.7 28.7 51.2 62.1 66.9 99.2C751.8 365 760 405.8 760 448s-8.2 83-24.5 121.4c-15.7 37.1-38.2 70.5-66.9 99.2-28.7 28.7-62 51.2-99.2 66.9z"
|
|
/>
|
|
</svg>
|
|
</i>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<ul
|
|
class="ant-transfer-list-content"
|
|
/>
|
|
<div
|
|
class="ant-transfer-list-body-not-found"
|
|
>
|
|
Not Found
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="ant-transfer-list-footer"
|
|
>
|
|
<button
|
|
class="ant-btn ant-btn-sm"
|
|
style="float:right;margin:5px"
|
|
type="button"
|
|
>
|
|
<span>
|
|
reload
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/transfer/demo/basic.md correctly 1`] = `
|
|
<div
|
|
class="ant-transfer"
|
|
>
|
|
<div
|
|
class="ant-transfer-list"
|
|
>
|
|
<div
|
|
class="ant-transfer-list-header"
|
|
>
|
|
<label
|
|
class="ant-checkbox-wrapper"
|
|
>
|
|
<span
|
|
class="ant-checkbox"
|
|
>
|
|
<input
|
|
class="ant-checkbox-input"
|
|
type="checkbox"
|
|
/>
|
|
<span
|
|
class="ant-checkbox-inner"
|
|
/>
|
|
</span>
|
|
</label>
|
|
<span
|
|
class="ant-transfer-list-header-selected"
|
|
>
|
|
<span>
|
|
14 items
|
|
</span>
|
|
<span
|
|
class="ant-transfer-list-header-title"
|
|
>
|
|
Source
|
|
</span>
|
|
</span>
|
|
</div>
|
|
<div
|
|
class="ant-transfer-list-body"
|
|
>
|
|
<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>
|
|
<div
|
|
class="ant-transfer-list-body-not-found"
|
|
>
|
|
Not Found
|
|
</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
|
|
class="anticon anticon-right"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="right"
|
|
fill="currentColor"
|
|
height="1em"
|
|
viewBox="0 0 1024 1024"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M300.6 895.7c9.6 0 19.3-3.2 27.4-9.6l423.8-340.9c10.3-8.3 16.3-20.8 16.3-34.1 0-13.2-6-25.8-16.3-34L329.8 138c-18.8-15.1-46.3-12.1-61.4 6.7-15.1 18.8-12.1 46.3 6.7 61.4l379.6 305.1L273.2 818c-18.8 15.1-21.8 42.6-6.7 61.4 8.7 10.7 21.3 16.3 34.1 16.3z"
|
|
/>
|
|
</svg>
|
|
</i>
|
|
</button>
|
|
<button
|
|
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
|
|
disabled=""
|
|
type="button"
|
|
>
|
|
<i
|
|
class="anticon anticon-left"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="left"
|
|
fill="currentColor"
|
|
height="1em"
|
|
viewBox="0 0 1024 1024"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M724.4 895.7c-9.6 0-19.3-3.2-27.4-9.6L273.2 545.2c-10.3-8.3-16.3-20.8-16.3-34.1 0-13.2 6-25.8 16.3-34l422-339.1c18.8-15.1 46.3-12.1 61.4 6.7 15.1 18.8 12.1 46.3-6.7 61.4l-379.6 305L751.8 818c18.8 15.1 21.8 42.6 6.7 61.4-8.7 10.7-21.3 16.3-34.1 16.3z"
|
|
/>
|
|
</svg>
|
|
</i>
|
|
</button>
|
|
</div>
|
|
<div
|
|
class="ant-transfer-list"
|
|
>
|
|
<div
|
|
class="ant-transfer-list-header"
|
|
>
|
|
<label
|
|
class="ant-checkbox-wrapper"
|
|
>
|
|
<span
|
|
class="ant-checkbox"
|
|
>
|
|
<input
|
|
class="ant-checkbox-input"
|
|
type="checkbox"
|
|
/>
|
|
<span
|
|
class="ant-checkbox-inner"
|
|
/>
|
|
</span>
|
|
</label>
|
|
<span
|
|
class="ant-transfer-list-header-selected"
|
|
>
|
|
<span>
|
|
6 items
|
|
</span>
|
|
<span
|
|
class="ant-transfer-list-header-title"
|
|
>
|
|
Target
|
|
</span>
|
|
</span>
|
|
</div>
|
|
<div
|
|
class="ant-transfer-list-body"
|
|
>
|
|
<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>
|
|
<div
|
|
class="ant-transfer-list-body-not-found"
|
|
>
|
|
Not Found
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/transfer/demo/custom-item.md correctly 1`] = `
|
|
<div
|
|
class="ant-transfer"
|
|
>
|
|
<div
|
|
class="ant-transfer-list"
|
|
style="width:300px;height:300px"
|
|
>
|
|
<div
|
|
class="ant-transfer-list-header"
|
|
>
|
|
<label
|
|
class="ant-checkbox-wrapper"
|
|
>
|
|
<span
|
|
class="ant-checkbox"
|
|
>
|
|
<input
|
|
class="ant-checkbox-input"
|
|
type="checkbox"
|
|
/>
|
|
<span
|
|
class="ant-checkbox-inner"
|
|
/>
|
|
</span>
|
|
</label>
|
|
<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"
|
|
>
|
|
<ul
|
|
class="ant-transfer-list-content"
|
|
/>
|
|
<div
|
|
class="ant-transfer-list-body-not-found"
|
|
>
|
|
Not Found
|
|
</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
|
|
class="anticon anticon-right"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="right"
|
|
fill="currentColor"
|
|
height="1em"
|
|
viewBox="0 0 1024 1024"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M300.6 895.7c9.6 0 19.3-3.2 27.4-9.6l423.8-340.9c10.3-8.3 16.3-20.8 16.3-34.1 0-13.2-6-25.8-16.3-34L329.8 138c-18.8-15.1-46.3-12.1-61.4 6.7-15.1 18.8-12.1 46.3 6.7 61.4l379.6 305.1L273.2 818c-18.8 15.1-21.8 42.6-6.7 61.4 8.7 10.7 21.3 16.3 34.1 16.3z"
|
|
/>
|
|
</svg>
|
|
</i>
|
|
</button>
|
|
<button
|
|
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
|
|
disabled=""
|
|
type="button"
|
|
>
|
|
<i
|
|
class="anticon anticon-left"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="left"
|
|
fill="currentColor"
|
|
height="1em"
|
|
viewBox="0 0 1024 1024"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M724.4 895.7c-9.6 0-19.3-3.2-27.4-9.6L273.2 545.2c-10.3-8.3-16.3-20.8-16.3-34.1 0-13.2 6-25.8 16.3-34l422-339.1c18.8-15.1 46.3-12.1 61.4 6.7 15.1 18.8 12.1 46.3-6.7 61.4l-379.6 305L751.8 818c18.8 15.1 21.8 42.6 6.7 61.4-8.7 10.7-21.3 16.3-34.1 16.3z"
|
|
/>
|
|
</svg>
|
|
</i>
|
|
</button>
|
|
</div>
|
|
<div
|
|
class="ant-transfer-list"
|
|
style="width:300px;height:300px"
|
|
>
|
|
<div
|
|
class="ant-transfer-list-header"
|
|
>
|
|
<label
|
|
class="ant-checkbox-wrapper"
|
|
>
|
|
<span
|
|
class="ant-checkbox"
|
|
>
|
|
<input
|
|
class="ant-checkbox-input"
|
|
type="checkbox"
|
|
/>
|
|
<span
|
|
class="ant-checkbox-inner"
|
|
/>
|
|
</span>
|
|
</label>
|
|
<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"
|
|
>
|
|
<ul
|
|
class="ant-transfer-list-content"
|
|
/>
|
|
<div
|
|
class="ant-transfer-list-body-not-found"
|
|
>
|
|
Not Found
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/transfer/demo/large-data.md correctly 1`] = `
|
|
<div
|
|
class="ant-transfer"
|
|
>
|
|
<div
|
|
class="ant-transfer-list"
|
|
>
|
|
<div
|
|
class="ant-transfer-list-header"
|
|
>
|
|
<label
|
|
class="ant-checkbox-wrapper"
|
|
>
|
|
<span
|
|
class="ant-checkbox"
|
|
>
|
|
<input
|
|
class="ant-checkbox-input"
|
|
type="checkbox"
|
|
/>
|
|
<span
|
|
class="ant-checkbox-inner"
|
|
/>
|
|
</span>
|
|
</label>
|
|
<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"
|
|
>
|
|
<ul
|
|
class="ant-transfer-list-content"
|
|
/>
|
|
<div
|
|
class="ant-transfer-list-body-not-found"
|
|
>
|
|
Not Found
|
|
</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
|
|
class="anticon anticon-right"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="right"
|
|
fill="currentColor"
|
|
height="1em"
|
|
viewBox="0 0 1024 1024"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M300.6 895.7c9.6 0 19.3-3.2 27.4-9.6l423.8-340.9c10.3-8.3 16.3-20.8 16.3-34.1 0-13.2-6-25.8-16.3-34L329.8 138c-18.8-15.1-46.3-12.1-61.4 6.7-15.1 18.8-12.1 46.3 6.7 61.4l379.6 305.1L273.2 818c-18.8 15.1-21.8 42.6-6.7 61.4 8.7 10.7 21.3 16.3 34.1 16.3z"
|
|
/>
|
|
</svg>
|
|
</i>
|
|
</button>
|
|
<button
|
|
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
|
|
disabled=""
|
|
type="button"
|
|
>
|
|
<i
|
|
class="anticon anticon-left"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="left"
|
|
fill="currentColor"
|
|
height="1em"
|
|
viewBox="0 0 1024 1024"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M724.4 895.7c-9.6 0-19.3-3.2-27.4-9.6L273.2 545.2c-10.3-8.3-16.3-20.8-16.3-34.1 0-13.2 6-25.8 16.3-34l422-339.1c18.8-15.1 46.3-12.1 61.4 6.7 15.1 18.8 12.1 46.3-6.7 61.4l-379.6 305L751.8 818c18.8 15.1 21.8 42.6 6.7 61.4-8.7 10.7-21.3 16.3-34.1 16.3z"
|
|
/>
|
|
</svg>
|
|
</i>
|
|
</button>
|
|
</div>
|
|
<div
|
|
class="ant-transfer-list"
|
|
>
|
|
<div
|
|
class="ant-transfer-list-header"
|
|
>
|
|
<label
|
|
class="ant-checkbox-wrapper"
|
|
>
|
|
<span
|
|
class="ant-checkbox"
|
|
>
|
|
<input
|
|
class="ant-checkbox-input"
|
|
type="checkbox"
|
|
/>
|
|
<span
|
|
class="ant-checkbox-inner"
|
|
/>
|
|
</span>
|
|
</label>
|
|
<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"
|
|
>
|
|
<ul
|
|
class="ant-transfer-list-content"
|
|
/>
|
|
<div
|
|
class="ant-transfer-list-body-not-found"
|
|
>
|
|
Not Found
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/transfer/demo/search.md correctly 1`] = `
|
|
<div
|
|
class="ant-transfer"
|
|
>
|
|
<div
|
|
class="ant-transfer-list"
|
|
>
|
|
<div
|
|
class="ant-transfer-list-header"
|
|
>
|
|
<label
|
|
class="ant-checkbox-wrapper"
|
|
>
|
|
<span
|
|
class="ant-checkbox"
|
|
>
|
|
<input
|
|
class="ant-checkbox-input"
|
|
type="checkbox"
|
|
/>
|
|
<span
|
|
class="ant-checkbox-inner"
|
|
/>
|
|
</span>
|
|
</label>
|
|
<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 ant-transfer-list-body-with-search"
|
|
>
|
|
<div
|
|
class="ant-transfer-list-body-search-wrapper"
|
|
>
|
|
<div>
|
|
<input
|
|
class="ant-input ant-transfer-list-search"
|
|
placeholder="Search here"
|
|
type="text"
|
|
value=""
|
|
/>
|
|
<span
|
|
class="ant-transfer-list-search-action"
|
|
>
|
|
<i
|
|
class="anticon anticon-search"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="search"
|
|
fill="currentColor"
|
|
height="1em"
|
|
viewBox="0 0 1024 1024"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M949.5 898.5L743.8 692.9C798.9 626.4 832 541.1 832 448c0-212.1-171.9-384-384-384S64 235.9 64 448s171.9 384 384 384c93.1 0 178.4-33.1 244.9-88.2l205.7 205.7c7 7 16.2 10.5 25.5 10.5s18.4-3.5 25.5-10.5c13.9-14.1 13.9-36.9-.1-51zm-380.1-163C531 751.8 490.2 760 448 760s-83-8.2-121.4-24.5c-37.1-15.7-70.5-38.2-99.2-66.9-28.7-28.7-51.2-62.1-66.9-99.2C144.2 531 136 490.2 136 448s8.2-83 24.5-121.4c15.7-37.1 38.2-70.5 66.9-99.2 28.7-28.7 62.1-51.2 99.2-66.9C365 144.2 405.8 136 448 136s83 8.2 121.4 24.5c37.1 15.7 70.5 38.2 99.2 66.9 28.7 28.7 51.2 62.1 66.9 99.2C751.8 365 760 405.8 760 448s-8.2 83-24.5 121.4c-15.7 37.1-38.2 70.5-66.9 99.2-28.7 28.7-62 51.2-99.2 66.9z"
|
|
/>
|
|
</svg>
|
|
</i>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<ul
|
|
class="ant-transfer-list-content"
|
|
/>
|
|
<div
|
|
class="ant-transfer-list-body-not-found"
|
|
>
|
|
Not Found
|
|
</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
|
|
class="anticon anticon-right"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="right"
|
|
fill="currentColor"
|
|
height="1em"
|
|
viewBox="0 0 1024 1024"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M300.6 895.7c9.6 0 19.3-3.2 27.4-9.6l423.8-340.9c10.3-8.3 16.3-20.8 16.3-34.1 0-13.2-6-25.8-16.3-34L329.8 138c-18.8-15.1-46.3-12.1-61.4 6.7-15.1 18.8-12.1 46.3 6.7 61.4l379.6 305.1L273.2 818c-18.8 15.1-21.8 42.6-6.7 61.4 8.7 10.7 21.3 16.3 34.1 16.3z"
|
|
/>
|
|
</svg>
|
|
</i>
|
|
</button>
|
|
<button
|
|
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
|
|
disabled=""
|
|
type="button"
|
|
>
|
|
<i
|
|
class="anticon anticon-left"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="left"
|
|
fill="currentColor"
|
|
height="1em"
|
|
viewBox="0 0 1024 1024"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M724.4 895.7c-9.6 0-19.3-3.2-27.4-9.6L273.2 545.2c-10.3-8.3-16.3-20.8-16.3-34.1 0-13.2 6-25.8 16.3-34l422-339.1c18.8-15.1 46.3-12.1 61.4 6.7 15.1 18.8 12.1 46.3-6.7 61.4l-379.6 305L751.8 818c18.8 15.1 21.8 42.6 6.7 61.4-8.7 10.7-21.3 16.3-34.1 16.3z"
|
|
/>
|
|
</svg>
|
|
</i>
|
|
</button>
|
|
</div>
|
|
<div
|
|
class="ant-transfer-list"
|
|
>
|
|
<div
|
|
class="ant-transfer-list-header"
|
|
>
|
|
<label
|
|
class="ant-checkbox-wrapper"
|
|
>
|
|
<span
|
|
class="ant-checkbox"
|
|
>
|
|
<input
|
|
class="ant-checkbox-input"
|
|
type="checkbox"
|
|
/>
|
|
<span
|
|
class="ant-checkbox-inner"
|
|
/>
|
|
</span>
|
|
</label>
|
|
<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 ant-transfer-list-body-with-search"
|
|
>
|
|
<div
|
|
class="ant-transfer-list-body-search-wrapper"
|
|
>
|
|
<div>
|
|
<input
|
|
class="ant-input ant-transfer-list-search"
|
|
placeholder="Search here"
|
|
type="text"
|
|
value=""
|
|
/>
|
|
<span
|
|
class="ant-transfer-list-search-action"
|
|
>
|
|
<i
|
|
class="anticon anticon-search"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="search"
|
|
fill="currentColor"
|
|
height="1em"
|
|
viewBox="0 0 1024 1024"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M949.5 898.5L743.8 692.9C798.9 626.4 832 541.1 832 448c0-212.1-171.9-384-384-384S64 235.9 64 448s171.9 384 384 384c93.1 0 178.4-33.1 244.9-88.2l205.7 205.7c7 7 16.2 10.5 25.5 10.5s18.4-3.5 25.5-10.5c13.9-14.1 13.9-36.9-.1-51zm-380.1-163C531 751.8 490.2 760 448 760s-83-8.2-121.4-24.5c-37.1-15.7-70.5-38.2-99.2-66.9-28.7-28.7-51.2-62.1-66.9-99.2C144.2 531 136 490.2 136 448s8.2-83 24.5-121.4c15.7-37.1 38.2-70.5 66.9-99.2 28.7-28.7 62.1-51.2 99.2-66.9C365 144.2 405.8 136 448 136s83 8.2 121.4 24.5c37.1 15.7 70.5 38.2 99.2 66.9 28.7 28.7 51.2 62.1 66.9 99.2C751.8 365 760 405.8 760 448s-8.2 83-24.5 121.4c-15.7 37.1-38.2 70.5-66.9 99.2-28.7 28.7-62 51.2-99.2 66.9z"
|
|
/>
|
|
</svg>
|
|
</i>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<ul
|
|
class="ant-transfer-list-content"
|
|
/>
|
|
<div
|
|
class="ant-transfer-list-body-not-found"
|
|
>
|
|
Not Found
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|