2016-11-22 14:28:05 +08:00
|
|
|
exports[`test 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">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox-inner" />
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-header-selected">
|
|
|
|
<span>
|
|
|
|
0
|
|
|
|
</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>
|
|
|
|
<span
|
|
|
|
class="ant-input-wrapper">
|
|
|
|
<input
|
|
|
|
class="ant-input ant-transfer-list-search"
|
|
|
|
placeholder="Search"
|
|
|
|
type="text"
|
|
|
|
value="" />
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-search-action">
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-search" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<ul
|
2016-11-24 17:47:56 +08:00
|
|
|
class="ant-transfer-list-content" />
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-body-not-found">
|
|
|
|
Not Found
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-footer">
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-ghost 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">
|
|
|
|
<span>
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-left" />
|
2016-11-22 14:28:05 +08:00
|
|
|
to left
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-sm"
|
|
|
|
disabled=""
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
to right
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-right" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list ant-transfer-list-with-footer"
|
|
|
|
style="width:250px;height:300px;">
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-header">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox-inner" />
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-header-selected">
|
|
|
|
<span>
|
|
|
|
0
|
|
|
|
</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>
|
|
|
|
<span
|
|
|
|
class="ant-input-wrapper">
|
|
|
|
<input
|
|
|
|
class="ant-input ant-transfer-list-search"
|
|
|
|
placeholder="Search"
|
|
|
|
type="text"
|
|
|
|
value="" />
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-search-action">
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-search" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<ul
|
2016-11-24 17:47:56 +08:00
|
|
|
class="ant-transfer-list-content" />
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-body-not-found">
|
|
|
|
Not Found
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-footer">
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-ghost ant-btn-sm"
|
|
|
|
style="float:right;margin:5px;"
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
reload
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/transfer/demo/basic.md correctly 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-transfer">
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list">
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-header">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox-inner" />
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-header-selected">
|
|
|
|
<span>
|
|
|
|
14
|
|
|
|
</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>
|
2016-11-24 17:47:56 +08:00
|
|
|
<div
|
|
|
|
class="ant-transfer-list-body-not-found">
|
|
|
|
Not Found
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-transfer-operation">
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-sm"
|
|
|
|
disabled=""
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-left" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-sm"
|
|
|
|
disabled=""
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-right" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list">
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-header">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox-inner" />
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-header-selected">
|
|
|
|
<span>
|
|
|
|
6
|
|
|
|
</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>
|
2016-11-24 17:47:56 +08:00
|
|
|
<div
|
|
|
|
class="ant-transfer-list-body-not-found">
|
|
|
|
Not Found
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test 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">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox-inner" />
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-header-selected">
|
|
|
|
<span>
|
|
|
|
0
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-header-title" />
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-body">
|
|
|
|
<ul
|
2016-11-24 17:47:56 +08:00
|
|
|
class="ant-transfer-list-content" />
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-body-not-found">
|
|
|
|
Not Found
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-transfer-operation">
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-sm"
|
|
|
|
disabled=""
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-left" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-sm"
|
|
|
|
disabled=""
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-right" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list"
|
|
|
|
style="width:300px;height:300px;">
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-header">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox-inner" />
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-header-selected">
|
|
|
|
<span>
|
|
|
|
0
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-header-title" />
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-body">
|
|
|
|
<ul
|
2016-11-24 17:47:56 +08:00
|
|
|
class="ant-transfer-list-content" />
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-body-not-found">
|
|
|
|
Not Found
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/transfer/demo/large-data.md correctly 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-transfer">
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list">
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-header">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox-inner" />
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-header-selected">
|
|
|
|
<span>
|
|
|
|
0
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-header-title" />
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-body">
|
|
|
|
<ul
|
2016-11-24 17:47:56 +08:00
|
|
|
class="ant-transfer-list-content" />
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-body-not-found">
|
|
|
|
Not Found
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-transfer-operation">
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-sm"
|
|
|
|
disabled=""
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-left" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-sm"
|
|
|
|
disabled=""
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-right" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list">
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-header">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox-inner" />
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-header-selected">
|
|
|
|
<span>
|
|
|
|
0
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-header-title" />
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-body">
|
|
|
|
<ul
|
2016-11-24 17:47:56 +08:00
|
|
|
class="ant-transfer-list-content" />
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-body-not-found">
|
|
|
|
Not Found
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/transfer/demo/search.md correctly 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-transfer">
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list">
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-header">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox-inner" />
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-header-selected">
|
|
|
|
<span>
|
|
|
|
0
|
|
|
|
</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>
|
|
|
|
<span
|
|
|
|
class="ant-input-wrapper">
|
|
|
|
<input
|
|
|
|
class="ant-input ant-transfer-list-search"
|
|
|
|
placeholder="Search"
|
|
|
|
type="text"
|
|
|
|
value="" />
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-search-action">
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-search" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<ul
|
2016-11-24 17:47:56 +08:00
|
|
|
class="ant-transfer-list-content" />
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-body-not-found">
|
|
|
|
Not Found
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-transfer-operation">
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-sm"
|
|
|
|
disabled=""
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-left" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-sm"
|
|
|
|
disabled=""
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-right" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list">
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-header">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox">
|
|
|
|
<span
|
|
|
|
class="ant-transfer-checkbox-inner" />
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-header-selected">
|
|
|
|
<span>
|
|
|
|
0
|
|
|
|
</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>
|
|
|
|
<span
|
|
|
|
class="ant-input-wrapper">
|
|
|
|
<input
|
|
|
|
class="ant-input ant-transfer-list-search"
|
|
|
|
placeholder="Search"
|
|
|
|
type="text"
|
|
|
|
value="" />
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-transfer-list-search-action">
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-search" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<ul
|
2016-11-24 17:47:56 +08:00
|
|
|
class="ant-transfer-list-content" />
|
|
|
|
<div
|
|
|
|
class="ant-transfer-list-body-not-found">
|
|
|
|
Not Found
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|