2017-01-13 21:19:23 +08:00
|
|
|
|
exports[`test renders ./components/auto-complete/demo/antd.md correctly 1`] = `
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
2017-03-14 11:24:38 +08:00
|
|
|
|
style="width:200px;height:50px;">
|
2017-01-13 21:19:23 +08:00
|
|
|
|
<div
|
|
|
|
|
aria-autocomplete="list"
|
|
|
|
|
aria-expanded="false"
|
|
|
|
|
aria-haspopup="true"
|
|
|
|
|
class="ant-select-selection
|
|
|
|
|
ant-select-selection--single"
|
|
|
|
|
role="combobox">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-selection__rendered">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-selection__placeholder"
|
|
|
|
|
style="display:block;user-select:none;-webkit-user-select:none;"
|
|
|
|
|
unselectable="unselectable">
|
|
|
|
|
input here
|
|
|
|
|
</div>
|
|
|
|
|
<ul>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-select-search ant-select-search--inline">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-search__field__wrap">
|
|
|
|
|
<textarea
|
2017-02-09 10:45:42 +08:00
|
|
|
|
class="ant-input ant-select-search__field"
|
|
|
|
|
style="height:50px;" />
|
2017-01-13 21:19:23 +08:00
|
|
|
|
<span
|
2017-03-10 19:22:18 +08:00
|
|
|
|
class="ant-select-search__field__mirror">
|
|
|
|
|
|
|
|
|
|
</span>
|
2017-01-13 21:19:23 +08:00
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<span
|
|
|
|
|
class="ant-select-arrow"
|
|
|
|
|
style="user-select:none;-webkit-user-select:none;"
|
|
|
|
|
unselectable="unselectable">
|
|
|
|
|
<b />
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|
|
|
|
|
|
2016-11-22 14:28:05 +08:00
|
|
|
|
exports[`test renders ./components/auto-complete/demo/basic.md correctly 1`] = `
|
|
|
|
|
<div
|
2017-01-13 21:19:23 +08:00
|
|
|
|
class="ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
style="width:200px;">
|
|
|
|
|
<div
|
|
|
|
|
aria-autocomplete="list"
|
|
|
|
|
aria-expanded="false"
|
|
|
|
|
aria-haspopup="true"
|
|
|
|
|
class="ant-select-selection
|
|
|
|
|
ant-select-selection--single"
|
|
|
|
|
role="combobox">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-selection__rendered">
|
2016-12-03 16:23:35 +08:00
|
|
|
|
<div
|
|
|
|
|
class="ant-select-selection__placeholder"
|
|
|
|
|
style="display:block;user-select:none;-webkit-user-select:none;"
|
|
|
|
|
unselectable="unselectable">
|
|
|
|
|
input here
|
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<ul>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-select-search ant-select-search--inline">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-search__field__wrap">
|
|
|
|
|
<input
|
2017-01-13 21:19:23 +08:00
|
|
|
|
class="ant-input ant-input ant-select-search__field"
|
|
|
|
|
type="text"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
value="" />
|
|
|
|
|
<span
|
2017-03-10 19:22:18 +08:00
|
|
|
|
class="ant-select-search__field__mirror">
|
|
|
|
|
|
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<span
|
|
|
|
|
class="ant-select-arrow"
|
|
|
|
|
style="user-select:none;-webkit-user-select:none;"
|
|
|
|
|
unselectable="unselectable">
|
|
|
|
|
<b />
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-05 19:29:33 +08:00
|
|
|
|
exports[`test renders ./components/auto-complete/demo/certain-category.md correctly 1`] = `
|
|
|
|
|
<div
|
|
|
|
|
class="certain-category-search-wrapper"
|
|
|
|
|
style="width:250px;">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-lg ant-select-lg certain-category-search ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
|
|
|
|
style="width:100%;">
|
|
|
|
|
<div
|
|
|
|
|
aria-autocomplete="list"
|
|
|
|
|
aria-expanded="false"
|
|
|
|
|
aria-haspopup="true"
|
|
|
|
|
class="ant-select-selection
|
|
|
|
|
ant-select-selection--single"
|
|
|
|
|
role="combobox">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-selection__rendered">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-selection__placeholder"
|
|
|
|
|
style="display:block;user-select:none;-webkit-user-select:none;"
|
|
|
|
|
unselectable="unselectable">
|
|
|
|
|
input here
|
|
|
|
|
</div>
|
|
|
|
|
<ul>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-select-search ant-select-search--inline">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-search__field__wrap">
|
|
|
|
|
<span
|
|
|
|
|
class="ant-input-preSuffix-wrapper">
|
|
|
|
|
<input
|
|
|
|
|
class="ant-input ant-input ant-select-search__field"
|
|
|
|
|
type="text"
|
|
|
|
|
value="" />
|
|
|
|
|
<span
|
|
|
|
|
class="ant-input-suffix">
|
|
|
|
|
<i
|
|
|
|
|
class="anticon anticon-search certain-category-icon" />
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
<span
|
2017-03-10 19:22:18 +08:00
|
|
|
|
class="ant-select-search__field__mirror">
|
|
|
|
|
|
|
|
|
|
</span>
|
2017-03-05 19:29:33 +08:00
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<span
|
|
|
|
|
class="ant-select-arrow"
|
|
|
|
|
style="user-select:none;-webkit-user-select:none;"
|
|
|
|
|
unselectable="unselectable">
|
|
|
|
|
<b />
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-02-13 15:45:49 +08:00
|
|
|
|
exports[`test renders ./components/auto-complete/demo/non-case-sensitive.md correctly 1`] = `
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
|
|
|
|
style="width:200px;">
|
|
|
|
|
<div
|
|
|
|
|
aria-autocomplete="list"
|
|
|
|
|
aria-expanded="false"
|
|
|
|
|
aria-haspopup="true"
|
|
|
|
|
class="ant-select-selection
|
|
|
|
|
ant-select-selection--single"
|
|
|
|
|
role="combobox">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-selection__rendered">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-selection__placeholder"
|
|
|
|
|
style="display:block;user-select:none;-webkit-user-select:none;"
|
|
|
|
|
unselectable="unselectable">
|
|
|
|
|
try to type \`b\`
|
|
|
|
|
</div>
|
|
|
|
|
<ul>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-select-search ant-select-search--inline">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-search__field__wrap">
|
|
|
|
|
<input
|
|
|
|
|
class="ant-input ant-input ant-select-search__field"
|
|
|
|
|
type="text"
|
|
|
|
|
value="" />
|
|
|
|
|
<span
|
2017-03-10 19:22:18 +08:00
|
|
|
|
class="ant-select-search__field__mirror">
|
|
|
|
|
|
|
|
|
|
</span>
|
2017-02-13 15:45:49 +08:00
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<span
|
|
|
|
|
class="ant-select-arrow"
|
|
|
|
|
style="user-select:none;-webkit-user-select:none;"
|
|
|
|
|
unselectable="unselectable">
|
|
|
|
|
<b />
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|
|
|
|
|
|
2016-11-22 14:28:05 +08:00
|
|
|
|
exports[`test renders ./components/auto-complete/demo/options.md correctly 1`] = `
|
|
|
|
|
<div
|
2017-01-13 21:19:23 +08:00
|
|
|
|
class="ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
style="width:200px;">
|
|
|
|
|
<div
|
|
|
|
|
aria-autocomplete="list"
|
|
|
|
|
aria-expanded="false"
|
|
|
|
|
aria-haspopup="true"
|
|
|
|
|
class="ant-select-selection
|
|
|
|
|
ant-select-selection--single"
|
|
|
|
|
role="combobox">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-selection__rendered">
|
2016-12-03 16:23:35 +08:00
|
|
|
|
<div
|
|
|
|
|
class="ant-select-selection__placeholder"
|
|
|
|
|
style="display:block;user-select:none;-webkit-user-select:none;"
|
|
|
|
|
unselectable="unselectable">
|
|
|
|
|
input here
|
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<ul>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-select-search ant-select-search--inline">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-search__field__wrap">
|
|
|
|
|
<input
|
2017-01-13 21:19:23 +08:00
|
|
|
|
class="ant-input ant-input ant-select-search__field"
|
|
|
|
|
type="text"
|
2016-11-22 14:28:05 +08:00
|
|
|
|
value="" />
|
|
|
|
|
<span
|
2017-03-10 19:22:18 +08:00
|
|
|
|
class="ant-select-search__field__mirror">
|
|
|
|
|
|
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<span
|
|
|
|
|
class="ant-select-arrow"
|
|
|
|
|
style="user-select:none;-webkit-user-select:none;"
|
|
|
|
|
unselectable="unselectable">
|
|
|
|
|
<b />
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|
2017-02-13 10:55:53 +08:00
|
|
|
|
|
|
|
|
|
exports[`test renders ./components/auto-complete/demo/uncertain-category.md correctly 1`] = `
|
|
|
|
|
<div
|
|
|
|
|
class="global-search-wrapper"
|
|
|
|
|
style="width:300px;">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-lg ant-select-lg global-search ant-select-show-search ant-select-auto-complete ant-select ant-select-combobox ant-select-enabled"
|
|
|
|
|
style="width:100%;">
|
|
|
|
|
<div
|
|
|
|
|
aria-autocomplete="list"
|
|
|
|
|
aria-expanded="false"
|
|
|
|
|
aria-haspopup="true"
|
|
|
|
|
class="ant-select-selection
|
|
|
|
|
ant-select-selection--single"
|
|
|
|
|
role="combobox">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-selection__rendered">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-selection__placeholder"
|
|
|
|
|
style="display:block;user-select:none;-webkit-user-select:none;"
|
|
|
|
|
unselectable="unselectable">
|
|
|
|
|
input here
|
|
|
|
|
</div>
|
|
|
|
|
<ul>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-select-search ant-select-search--inline">
|
|
|
|
|
<div
|
|
|
|
|
class="ant-select-search__field__wrap">
|
|
|
|
|
<span
|
|
|
|
|
class="ant-input-preSuffix-wrapper">
|
|
|
|
|
<input
|
|
|
|
|
class="ant-input ant-input ant-select-search__field"
|
|
|
|
|
type="text"
|
|
|
|
|
value="" />
|
|
|
|
|
<span
|
|
|
|
|
class="ant-input-suffix">
|
|
|
|
|
<button
|
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-lg search-btn"
|
|
|
|
|
type="button">
|
|
|
|
|
<i
|
|
|
|
|
class="anticon anticon-search" />
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
<span
|
2017-03-10 19:22:18 +08:00
|
|
|
|
class="ant-select-search__field__mirror">
|
|
|
|
|
|
|
|
|
|
</span>
|
2017-02-13 10:55:53 +08:00
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<span
|
|
|
|
|
class="ant-select-arrow"
|
|
|
|
|
style="user-select:none;-webkit-user-select:none;"
|
|
|
|
|
unselectable="unselectable">
|
|
|
|
|
<b />
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|