ant-design-vue/components/cascader/__tests__/__snapshots__/demo.test.js.snap

86 lines
4.7 KiB
Plaintext
Raw Normal View History

2018-05-15 01:52:44 +00:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/cascader/demo/basic.md correctly 1`] = `
2018-05-18 14:04:10 +00:00
<span tabindex="0" class="ant-cascader-picker"><input value="" placeholder="Please select" type="text" readonly="true" class="ant-input ant-cascader-input ant-cascader-input "><span class="ant-cascader-picker-label"></span>
2018-05-15 01:52:44 +00:00
<i class="anticon anticon-down ant-cascader-picker-arrow"></i>
</span>
`;
exports[`renders ./components/cascader/demo/change-on-select.md correctly 1`] = `
2018-05-18 14:04:10 +00:00
<span tabindex="0" class="ant-cascader-picker"><input value="" placeholder="Please select" type="text" readonly="true" class="ant-input ant-cascader-input ant-cascader-input "><span class="ant-cascader-picker-label"></span>
2018-05-15 01:52:44 +00:00
<i class="anticon anticon-down ant-cascader-picker-arrow"></i>
</span>
`;
exports[`renders ./components/cascader/demo/custom-render.md correctly 1`] = `
2018-05-18 14:04:10 +00:00
<span tabindex="0" class="ant-cascader-picker" style="width: 100%;"><input value="" type="text" readonly="true" class="ant-input ant-cascader-input ant-cascader-input "><span class="ant-cascader-picker-label"><span><span>
2018-05-15 01:52:44 +00:00
Zhejiang /
</span></span><span><span>
Hangzhou /
</span></span><span><span>
West Lake (<a>752100</a>)
</span></span>
</span>
<i class="anticon anticon-cross-circle ant-cascader-picker-clear"></i>
<i class="anticon anticon-down ant-cascader-picker-arrow"></i>
</span>
`;
exports[`renders ./components/cascader/demo/custom-trigger.md correctly 1`] = `
<span>
Unselect
2018-05-18 14:04:10 +00:00
&nbsp;
<a href="#" tabindex="0" class="">Change city</a></span>
2018-05-15 01:52:44 +00:00
`;
exports[`renders ./components/cascader/demo/default-value.md correctly 1`] = `
2018-05-18 14:04:10 +00:00
<span tabindex="0" class="ant-cascader-picker"><input value="" type="text" readonly="true" class="ant-input ant-cascader-input ant-cascader-input "><span class="ant-cascader-picker-label">Zhejiang / Hangzhou / West Lake</span>
2018-05-15 01:52:44 +00:00
<i class="anticon anticon-cross-circle ant-cascader-picker-clear"></i>
<i class="anticon anticon-down ant-cascader-picker-arrow"></i>
</span>
`;
exports[`renders ./components/cascader/demo/disabled-option.md correctly 1`] = `
2018-05-18 14:04:10 +00:00
<span tabindex="0" class="ant-cascader-picker"><input value="" placeholder="Please select" type="text" readonly="true" class="ant-input ant-cascader-input ant-cascader-input "><span class="ant-cascader-picker-label"></span>
2018-05-15 01:52:44 +00:00
<i class="anticon anticon-down ant-cascader-picker-arrow"></i>
</span>
`;
exports[`renders ./components/cascader/demo/hover.md correctly 1`] = `
2018-05-18 14:04:10 +00:00
<span tabindex="0" class="ant-cascader-picker"><input value="" placeholder="Please select" type="text" readonly="true" class="ant-input ant-cascader-input ant-cascader-input "><span class="ant-cascader-picker-label"></span>
2018-05-15 01:52:44 +00:00
<i class="anticon anticon-down ant-cascader-picker-arrow"></i>
</span>
`;
exports[`renders ./components/cascader/demo/lazy.md correctly 1`] = `
2018-05-18 14:04:10 +00:00
<span tabindex="0" class="ant-cascader-picker"><input value="" placeholder="Please select" type="text" readonly="true" class="ant-input ant-cascader-input ant-cascader-input "><span class="ant-cascader-picker-label"></span>
2018-05-15 01:52:44 +00:00
<i class="anticon anticon-down ant-cascader-picker-arrow"></i>
</span>
`;
exports[`renders ./components/cascader/demo/search.md correctly 1`] = `
2018-05-18 14:04:10 +00:00
<span tabindex="0" class="ant-cascader-picker"><span class="ant-cascader-picker-label"></span>
2018-05-15 01:52:44 +00:00
<input value="" placeholder="Please select" type="text" class="ant-input ant-cascader-input ant-cascader-input ">
<i class="anticon anticon-down ant-cascader-picker-arrow"></i>
</span>
`;
exports[`renders ./components/cascader/demo/size.md correctly 1`] = `
2018-05-18 14:04:10 +00:00
<div><span tabindex="0" class="ant-cascader-picker ant-cascader-picker-large ant-cascader-picker ant-cascader-picker-large"><input value="" placeholder="Please select" type="text" readonly="true" class="ant-input ant-cascader-input ant-input-lg ant-cascader-input ant-input-lg"><span class="ant-cascader-picker-label"></span>
2018-05-15 01:52:44 +00:00
<i
class="anticon anticon-down ant-cascader-picker-arrow"></i>
</span>
<br>
2018-05-18 14:04:10 +00:00
<br> <span tabindex="0" class="ant-cascader-picker"><input value="" placeholder="Please select" type="text" readonly="true" class="ant-input ant-cascader-input ant-cascader-input "><span class="ant-cascader-picker-label"></span>
2018-05-15 01:52:44 +00:00
<i class="anticon anticon-down ant-cascader-picker-arrow"></i>
</span>
<br>
2018-05-18 14:04:10 +00:00
<br> <span tabindex="0" class="ant-cascader-picker ant-cascader-picker-small ant-cascader-picker ant-cascader-picker-small"><input value="" placeholder="Please select" type="text" readonly="true" class="ant-input ant-cascader-input ant-input-sm ant-cascader-input ant-input-sm"><span class="ant-cascader-picker-label"></span>
2018-05-15 01:52:44 +00:00
<i
class="anticon anticon-down ant-cascader-picker-arrow"></i>
</span>
<br>
<br>
</div>
`;