2017-03-17 18:56:30 +08:00
|
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
|
|
exports[`renders ./components/cascader/demo/basic.md correctly 1`] = `
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<span
|
2017-01-17 13:45:26 +08:00
|
|
|
|
class="ant-cascader-picker"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2017-05-22 10:09:17 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-cascader-picker-label"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<input
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
|
placeholder="Please select"
|
|
|
|
|
readonly=""
|
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
value=""
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
</span>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/cascader/demo/change-on-select.md correctly 1`] = `
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<span
|
2017-01-17 13:45:26 +08:00
|
|
|
|
class="ant-cascader-picker"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2017-05-22 10:09:17 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-cascader-picker-label"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<input
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
|
placeholder="Please select"
|
|
|
|
|
readonly=""
|
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
value=""
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
</span>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/cascader/demo/custom-render.md correctly 1`] = `
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-cascader-picker"
|
2017-09-20 16:26:18 +08:00
|
|
|
|
style="width:100%"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-cascader-picker-label"
|
|
|
|
|
>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<span>
|
|
|
|
|
Zhejiang /
|
|
|
|
|
</span>
|
|
|
|
|
<span>
|
|
|
|
|
Hangzhou /
|
|
|
|
|
</span>
|
|
|
|
|
<span>
|
|
|
|
|
West Lake (
|
|
|
|
|
<a>
|
|
|
|
|
752100
|
|
|
|
|
</a>
|
|
|
|
|
)
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
2017-05-22 10:09:17 +08:00
|
|
|
|
<input
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
|
readonly=""
|
|
|
|
|
type="text"
|
|
|
|
|
value=""
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="anticon anticon-cross-circle ant-cascader-picker-clear"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
</span>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/cascader/demo/custom-trigger.md correctly 1`] = `
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<span>
|
|
|
|
|
Unselect
|
|
|
|
|
<a
|
2017-01-17 13:45:26 +08:00
|
|
|
|
href="#"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
Change city
|
|
|
|
|
</a>
|
|
|
|
|
</span>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/cascader/demo/default-value.md correctly 1`] = `
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<span
|
2017-01-17 13:45:26 +08:00
|
|
|
|
class="ant-cascader-picker"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2017-05-22 10:09:17 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-cascader-picker-label"
|
|
|
|
|
>
|
|
|
|
|
Zhejiang / Hangzhou / West Lake
|
|
|
|
|
</span>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<input
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
|
readonly=""
|
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
value=""
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="anticon anticon-cross-circle ant-cascader-picker-clear"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
</span>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/cascader/demo/disabled-option.md correctly 1`] = `
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<span
|
2017-01-17 13:45:26 +08:00
|
|
|
|
class="ant-cascader-picker"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2017-05-22 10:09:17 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-cascader-picker-label"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<input
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
|
placeholder="Please select"
|
|
|
|
|
readonly=""
|
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
value=""
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
</span>
|
|
|
|
|
`;
|
|
|
|
|
|
2018-05-04 17:27:34 +08:00
|
|
|
|
exports[`renders ./components/cascader/demo/fileds-name.md correctly 1`] = `
|
|
|
|
|
<span
|
|
|
|
|
class="ant-cascader-picker"
|
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
|
|
|
|
<span
|
|
|
|
|
class="ant-cascader-picker-label"
|
|
|
|
|
/>
|
|
|
|
|
<input
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
|
placeholder="Please select"
|
|
|
|
|
readonly=""
|
|
|
|
|
type="text"
|
|
|
|
|
value=""
|
|
|
|
|
/>
|
|
|
|
|
<i
|
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
|
|
|
/>
|
|
|
|
|
</span>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/cascader/demo/hover.md correctly 1`] = `
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<span
|
2017-01-17 13:45:26 +08:00
|
|
|
|
class="ant-cascader-picker"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2017-05-22 10:09:17 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-cascader-picker-label"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<input
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
|
placeholder="Please select"
|
|
|
|
|
readonly=""
|
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
value=""
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
</span>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/cascader/demo/lazy.md correctly 1`] = `
|
2016-12-22 16:35:37 +08:00
|
|
|
|
<span
|
2017-01-17 13:45:26 +08:00
|
|
|
|
class="ant-cascader-picker"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2017-05-22 10:09:17 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-cascader-picker-label"
|
|
|
|
|
/>
|
2016-12-22 16:35:37 +08:00
|
|
|
|
<input
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
|
placeholder="Please select"
|
|
|
|
|
readonly=""
|
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
value=""
|
|
|
|
|
/>
|
2016-12-22 16:35:37 +08:00
|
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
|
|
|
/>
|
2016-12-22 16:35:37 +08:00
|
|
|
|
</span>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/cascader/demo/search.md correctly 1`] = `
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<span
|
2017-01-17 13:45:26 +08:00
|
|
|
|
class="ant-cascader-picker"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2017-05-22 10:09:17 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-cascader-picker-label"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<input
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
|
placeholder="Please select"
|
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
value=""
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
</span>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/cascader/demo/size.md correctly 1`] = `
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<div>
|
|
|
|
|
<span
|
2017-09-27 22:32:49 +08:00
|
|
|
|
class="ant-cascader-picker ant-cascader-picker-large"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2017-05-22 10:09:17 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-cascader-picker-label"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<input
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
class="ant-input ant-cascader-input ant-input-lg"
|
|
|
|
|
placeholder="Please select"
|
|
|
|
|
readonly=""
|
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
value=""
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
</span>
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
<span
|
2017-01-17 13:45:26 +08:00
|
|
|
|
class="ant-cascader-picker"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2017-05-22 10:09:17 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-cascader-picker-label"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<input
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
class="ant-input ant-cascader-input "
|
|
|
|
|
placeholder="Please select"
|
|
|
|
|
readonly=""
|
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
value=""
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
</span>
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
<span
|
2017-09-27 22:32:49 +08:00
|
|
|
|
class="ant-cascader-picker ant-cascader-picker-small"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2017-05-22 10:09:17 +08:00
|
|
|
|
<span
|
|
|
|
|
class="ant-cascader-picker-label"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<input
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
class="ant-input ant-cascader-input ant-input-sm"
|
|
|
|
|
placeholder="Please select"
|
|
|
|
|
readonly=""
|
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
value=""
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
<i
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="anticon anticon-down ant-cascader-picker-arrow"
|
|
|
|
|
/>
|
2016-12-14 14:41:39 +08:00
|
|
|
|
</span>
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
</div>
|
|
|
|
|
`;
|