2017-03-17 18:56:30 +08:00
|
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
|
|
exports[`renders ./components/tree-select/demo/basic.md correctly 1`] = `
|
2017-09-15 16:42:25 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-select ant-select-enabled ant-select-allow-clear"
|
2017-09-20 16:26:18 +08:00
|
|
|
|
style="width:300px"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-09-15 16:42:25 +08:00
|
|
|
|
aria-autocomplete="list"
|
|
|
|
|
aria-haspopup="true"
|
|
|
|
|
class="ant-select-selection
|
2017-10-09 13:32:11 +08:00
|
|
|
|
ant-select-selection--single"
|
2017-09-15 16:42:25 +08:00
|
|
|
|
role="combobox"
|
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-09-15 16:42:25 +08:00
|
|
|
|
class="ant-select-selection__rendered"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-09-15 16:42:25 +08:00
|
|
|
|
class="ant-select-selection__placeholder"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
Please select
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</span>
|
|
|
|
|
</span>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-select-arrow"
|
2017-09-20 16:26:18 +08:00
|
|
|
|
style="outline:none"
|
2017-09-15 16:42:25 +08:00
|
|
|
|
>
|
|
|
|
|
<b />
|
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</span>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/tree-select/demo/checkable.md correctly 1`] = `
|
2017-09-15 16:42:25 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-select ant-select-enabled"
|
2017-09-20 16:26:18 +08:00
|
|
|
|
style="width:300px"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-09-15 16:42:25 +08:00
|
|
|
|
aria-autocomplete="list"
|
|
|
|
|
aria-haspopup="true"
|
|
|
|
|
class="ant-select-selection
|
2017-10-09 13:32:11 +08:00
|
|
|
|
ant-select-selection--multiple"
|
2017-09-15 16:42:25 +08:00
|
|
|
|
role="combobox"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
<ul
|
|
|
|
|
class="ant-select-selection__rendered"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
<li
|
|
|
|
|
class="ant-select-selection__choice"
|
2017-09-20 16:26:18 +08:00
|
|
|
|
style="user-select:none;-webkit-user-select:none"
|
2017-09-15 16:42:25 +08:00
|
|
|
|
title="Node1"
|
|
|
|
|
unselectable="unselectable"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-select-selection__choice__remove"
|
|
|
|
|
/>
|
|
|
|
|
<span
|
|
|
|
|
class="ant-select-selection__choice__content"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
Node1
|
|
|
|
|
</span>
|
|
|
|
|
</li>
|
|
|
|
|
<li
|
|
|
|
|
class="ant-select-search ant-select-search--inline"
|
|
|
|
|
>
|
|
|
|
|
<span
|
|
|
|
|
class="ant-select-search__field__wrap"
|
2017-09-15 16:14:26 +08:00
|
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
<input
|
|
|
|
|
class="ant-select-search__field"
|
|
|
|
|
role="textbox"
|
|
|
|
|
value=""
|
|
|
|
|
/>
|
2017-09-15 16:14:26 +08:00
|
|
|
|
<span
|
2017-09-15 16:42:25 +08:00
|
|
|
|
class="ant-select-search__field__mirror"
|
2017-09-15 16:14:26 +08:00
|
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
|
2017-09-15 16:14:26 +08:00
|
|
|
|
</span>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
</span>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<span
|
|
|
|
|
class="ant-select-search__field__placeholder"
|
2017-09-20 16:26:18 +08:00
|
|
|
|
style="display:none"
|
2017-09-15 16:42:25 +08:00
|
|
|
|
>
|
|
|
|
|
Please select
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</span>
|
|
|
|
|
</span>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
`;
|
|
|
|
|
|
2017-08-21 18:07:39 +08:00
|
|
|
|
exports[`renders ./components/tree-select/demo/multiple.md correctly 1`] = `
|
2017-09-15 16:42:25 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-select ant-select-enabled ant-select-allow-clear"
|
2017-09-20 16:26:18 +08:00
|
|
|
|
style="width:300px"
|
2017-08-21 18:07:39 +08:00
|
|
|
|
>
|
|
|
|
|
<span
|
2017-09-15 16:42:25 +08:00
|
|
|
|
aria-autocomplete="list"
|
|
|
|
|
aria-haspopup="true"
|
|
|
|
|
class="ant-select-selection
|
2017-10-09 13:32:11 +08:00
|
|
|
|
ant-select-selection--multiple"
|
2017-09-15 16:42:25 +08:00
|
|
|
|
role="combobox"
|
2017-08-21 18:07:39 +08:00
|
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
<ul
|
|
|
|
|
class="ant-select-selection__rendered"
|
2017-08-21 18:07:39 +08:00
|
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
<li
|
|
|
|
|
class="ant-select-search ant-select-search--inline"
|
2017-08-21 18:07:39 +08:00
|
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-select-search__field__wrap"
|
2017-08-21 18:07:39 +08:00
|
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
<input
|
|
|
|
|
class="ant-select-search__field"
|
|
|
|
|
role="textbox"
|
|
|
|
|
value=""
|
|
|
|
|
/>
|
2017-09-14 18:09:30 +08:00
|
|
|
|
<span
|
2017-09-15 16:42:25 +08:00
|
|
|
|
class="ant-select-search__field__mirror"
|
2017-09-14 18:09:30 +08:00
|
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
|
2017-09-14 18:09:30 +08:00
|
|
|
|
</span>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
</span>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<span
|
|
|
|
|
class="ant-select-search__field__placeholder"
|
2017-09-20 16:26:18 +08:00
|
|
|
|
style="display:block"
|
2017-09-15 16:42:25 +08:00
|
|
|
|
>
|
|
|
|
|
Please select
|
2017-08-21 18:07:39 +08:00
|
|
|
|
</span>
|
|
|
|
|
</span>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
</span>
|
2017-08-21 18:07:39 +08:00
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/tree-select/demo/treeData.md correctly 1`] = `
|
2017-09-15 16:42:25 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-select ant-select-enabled"
|
2017-09-20 16:26:18 +08:00
|
|
|
|
style="width:300px"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-09-15 16:42:25 +08:00
|
|
|
|
aria-autocomplete="list"
|
|
|
|
|
aria-haspopup="true"
|
|
|
|
|
class="ant-select-selection
|
2017-10-09 13:32:11 +08:00
|
|
|
|
ant-select-selection--single"
|
2017-09-15 16:42:25 +08:00
|
|
|
|
role="combobox"
|
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-09-15 16:42:25 +08:00
|
|
|
|
class="ant-select-selection__rendered"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-09-15 16:42:25 +08:00
|
|
|
|
class="ant-select-selection__placeholder"
|
2017-09-15 16:14:26 +08:00
|
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
Please select
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</span>
|
|
|
|
|
</span>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-select-arrow"
|
2017-09-20 16:26:18 +08:00
|
|
|
|
style="outline:none"
|
2017-09-15 16:42:25 +08:00
|
|
|
|
>
|
|
|
|
|
<b />
|
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</span>
|
2017-09-15 16:42:25 +08:00
|
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
`;
|