2017-03-17 18:56:30 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2017-03-22 17:53:37 +08:00
|
|
|
exports[`renders ./components/time-picker/demo/12hours.md correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<span
|
|
|
|
class="ant-time-picker "
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-time-picker-input"
|
|
|
|
placeholder="请选择时间"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-time-picker-icon"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-time-picker "
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-time-picker-input"
|
|
|
|
placeholder="请选择时间"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-time-picker-icon"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-time-picker "
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-time-picker-input"
|
|
|
|
placeholder="请选择时间"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
|
|
|
value=""
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-time-picker-icon"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/time-picker/demo/addon.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker "
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<input
|
|
|
|
class="ant-time-picker-input"
|
|
|
|
placeholder="请选择时间"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
value=""
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker-icon"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/time-picker/demo/basic.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker "
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<input
|
|
|
|
class="ant-time-picker-input"
|
|
|
|
placeholder="请选择时间"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
value=""
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker-icon"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/time-picker/demo/disable-options.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker "
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<input
|
|
|
|
class="ant-time-picker-input"
|
|
|
|
placeholder="Just Disabled"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
value=""
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker-icon"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker "
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<input
|
|
|
|
class="ant-time-picker-input"
|
|
|
|
placeholder="Hide Directly"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
value=""
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker-icon"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/time-picker/demo/disabled.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker "
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<input
|
|
|
|
class="ant-time-picker-input"
|
|
|
|
disabled=""
|
|
|
|
placeholder="请选择时间"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
value="12:08:23"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker-icon"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/time-picker/demo/hide-column.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker "
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<input
|
|
|
|
class="ant-time-picker-input"
|
|
|
|
placeholder="请选择时间"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
value="12:08"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker-icon"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/time-picker/demo/size.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker ant-time-picker-large"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<input
|
|
|
|
class="ant-time-picker-input"
|
|
|
|
placeholder="请选择时间"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
value="12:08:23"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker-icon"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker "
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<input
|
|
|
|
class="ant-time-picker-input"
|
|
|
|
placeholder="请选择时间"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
value="12:08:23"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker-icon"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker ant-time-picker-small"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<input
|
|
|
|
class="ant-time-picker-input"
|
|
|
|
placeholder="请选择时间"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
value="12:08:23"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker-icon"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/time-picker/demo/value.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker "
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<input
|
|
|
|
class="ant-time-picker-input"
|
|
|
|
placeholder="请选择时间"
|
|
|
|
readonly=""
|
|
|
|
type="text"
|
2017-03-17 18:56:30 +08:00
|
|
|
value=""
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-time-picker-icon"
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
|
|
|
`;
|