2018-03-29 18:03:14 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2018-12-27 14:32:23 +08:00
|
|
|
exports[`WeekPicker should support dateRender 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
2019-12-05 16:15:10 +08:00
|
|
|
class="ant-calendar-picker-container"
|
|
|
|
style="opacity:0"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar ant-calendar-week-number"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-panel"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date-panel"
|
2019-01-03 11:52:31 +08:00
|
|
|
tabindex="0"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-header"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
style="position:relative"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
class="ant-calendar-prev-year-btn"
|
|
|
|
role="button"
|
|
|
|
title="Last year (Control + left)"
|
|
|
|
/>
|
|
|
|
<a
|
|
|
|
class="ant-calendar-prev-month-btn"
|
|
|
|
role="button"
|
|
|
|
title="Previous month (PageUp)"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-calendar-my-select"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
class="ant-calendar-month-select"
|
|
|
|
role="button"
|
|
|
|
title="Choose a month"
|
|
|
|
>
|
2018-12-28 10:50:17 +08:00
|
|
|
Sep
|
2018-12-27 14:32:23 +08:00
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
class="ant-calendar-year-select"
|
|
|
|
role="button"
|
|
|
|
title="Choose a year"
|
|
|
|
>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017
|
2018-12-27 14:32:23 +08:00
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
<a
|
|
|
|
class="ant-calendar-next-month-btn"
|
|
|
|
title="Next month (PageDown)"
|
|
|
|
/>
|
|
|
|
<a
|
|
|
|
class="ant-calendar-next-year-btn"
|
|
|
|
title="Next year (Control + right)"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-body"
|
|
|
|
>
|
|
|
|
<table
|
|
|
|
cellspacing="0"
|
|
|
|
class="ant-calendar-table"
|
|
|
|
role="grid"
|
|
|
|
>
|
|
|
|
<thead>
|
|
|
|
<tr
|
|
|
|
role="row"
|
|
|
|
>
|
|
|
|
<th
|
|
|
|
class="ant-calendar-column-header ant-calendar-week-number-header"
|
|
|
|
role="columnheader"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-calendar-column-header-inner"
|
|
|
|
>
|
|
|
|
x
|
|
|
|
</span>
|
|
|
|
</th>
|
|
|
|
<th
|
|
|
|
class="ant-calendar-column-header"
|
|
|
|
role="columnheader"
|
|
|
|
title="Sun"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-calendar-column-header-inner"
|
|
|
|
>
|
|
|
|
Su
|
|
|
|
</span>
|
|
|
|
</th>
|
|
|
|
<th
|
|
|
|
class="ant-calendar-column-header"
|
|
|
|
role="columnheader"
|
|
|
|
title="Mon"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-calendar-column-header-inner"
|
|
|
|
>
|
|
|
|
Mo
|
|
|
|
</span>
|
|
|
|
</th>
|
|
|
|
<th
|
|
|
|
class="ant-calendar-column-header"
|
|
|
|
role="columnheader"
|
|
|
|
title="Tue"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-calendar-column-header-inner"
|
|
|
|
>
|
|
|
|
Tu
|
|
|
|
</span>
|
|
|
|
</th>
|
|
|
|
<th
|
|
|
|
class="ant-calendar-column-header"
|
|
|
|
role="columnheader"
|
|
|
|
title="Wed"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-calendar-column-header-inner"
|
|
|
|
>
|
|
|
|
We
|
|
|
|
</span>
|
|
|
|
</th>
|
|
|
|
<th
|
|
|
|
class="ant-calendar-column-header"
|
|
|
|
role="columnheader"
|
|
|
|
title="Thu"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-calendar-column-header-inner"
|
|
|
|
>
|
|
|
|
Th
|
|
|
|
</span>
|
|
|
|
</th>
|
|
|
|
<th
|
|
|
|
class="ant-calendar-column-header"
|
|
|
|
role="columnheader"
|
|
|
|
title="Fri"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-calendar-column-header-inner"
|
|
|
|
>
|
|
|
|
Fr
|
|
|
|
</span>
|
|
|
|
</th>
|
|
|
|
<th
|
|
|
|
class="ant-calendar-column-header"
|
|
|
|
role="columnheader"
|
|
|
|
title="Sat"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-calendar-column-header-inner"
|
|
|
|
>
|
|
|
|
Sa
|
|
|
|
</span>
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody
|
|
|
|
class="ant-calendar-tbody"
|
|
|
|
>
|
|
|
|
<tr
|
|
|
|
class=""
|
|
|
|
role="row"
|
|
|
|
>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-week-number-cell"
|
|
|
|
role="gridcell"
|
|
|
|
>
|
2018-12-28 10:50:17 +08:00
|
|
|
35
|
2018-12-27 14:32:23 +08:00
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell ant-calendar-last-month-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="August 27, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-08-27
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell ant-calendar-last-month-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="August 28, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-08-28
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell ant-calendar-last-month-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="August 29, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-08-29
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell ant-calendar-last-month-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="August 30, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-08-30
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
2018-12-28 10:50:17 +08:00
|
|
|
class="ant-calendar-cell ant-calendar-last-month-cell ant-calendar-last-day-of-month"
|
2018-12-27 14:32:23 +08:00
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="August 31, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-08-31
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
2018-12-28 10:50:17 +08:00
|
|
|
class="ant-calendar-cell"
|
2018-12-27 14:32:23 +08:00
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 1, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-01
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 2, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-02
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr
|
|
|
|
class=""
|
|
|
|
role="row"
|
|
|
|
>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-week-number-cell"
|
|
|
|
role="gridcell"
|
|
|
|
>
|
2018-12-28 10:50:17 +08:00
|
|
|
36
|
2018-12-27 14:32:23 +08:00
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 3, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-03
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 4, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-04
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 5, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-05
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 6, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-06
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 7, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-07
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 8, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-08
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 9, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-09
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr
|
|
|
|
class=""
|
|
|
|
role="row"
|
|
|
|
>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-week-number-cell"
|
|
|
|
role="gridcell"
|
|
|
|
>
|
2018-12-28 10:50:17 +08:00
|
|
|
37
|
2018-12-27 14:32:23 +08:00
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 10, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-10
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 11, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-11
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 12, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-12
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 13, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-13
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 14, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-14
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 15, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-15
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 16, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-16
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr
|
2018-12-28 10:50:17 +08:00
|
|
|
class="ant-calendar-current-week ant-calendar-active-week"
|
2018-12-27 14:32:23 +08:00
|
|
|
role="row"
|
|
|
|
>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-week-number-cell"
|
|
|
|
role="gridcell"
|
|
|
|
>
|
2018-12-28 10:50:17 +08:00
|
|
|
38
|
2018-12-27 14:32:23 +08:00
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 17, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-17
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
2018-12-28 10:50:17 +08:00
|
|
|
class="ant-calendar-cell ant-calendar-today ant-calendar-selected-day"
|
2018-12-27 14:32:23 +08:00
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 18, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-18
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 19, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-19
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 20, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-20
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 21, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-21
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 22, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-22
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 23, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-23
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr
|
2018-12-28 10:50:17 +08:00
|
|
|
class=""
|
2018-12-27 14:32:23 +08:00
|
|
|
role="row"
|
|
|
|
>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-week-number-cell"
|
|
|
|
role="gridcell"
|
|
|
|
>
|
2018-12-28 10:50:17 +08:00
|
|
|
39
|
2018-12-27 14:32:23 +08:00
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 24, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-24
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 25, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-25
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 26, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-26
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 27, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-27
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
2018-12-28 10:50:17 +08:00
|
|
|
class="ant-calendar-cell"
|
2018-12-27 14:32:23 +08:00
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 28, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-28
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 29, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-29
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
2018-12-28 10:50:17 +08:00
|
|
|
class="ant-calendar-cell ant-calendar-last-day-of-month"
|
2018-12-27 14:32:23 +08:00
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="September 30, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-09-30
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr
|
|
|
|
class=""
|
|
|
|
role="row"
|
|
|
|
>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-week-number-cell"
|
|
|
|
role="gridcell"
|
|
|
|
>
|
2018-12-28 10:50:17 +08:00
|
|
|
40
|
2018-12-27 14:32:23 +08:00
|
|
|
</td>
|
|
|
|
<td
|
2018-12-28 10:50:17 +08:00
|
|
|
class="ant-calendar-cell ant-calendar-next-month-btn-day"
|
2018-12-27 14:32:23 +08:00
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="October 1, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-10-01
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
2018-12-28 10:50:17 +08:00
|
|
|
class="ant-calendar-cell ant-calendar-next-month-btn-day"
|
2018-12-27 14:32:23 +08:00
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="October 2, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-10-02
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell ant-calendar-next-month-btn-day"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="October 3, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-10-03
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell ant-calendar-next-month-btn-day"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="October 4, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-10-04
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell ant-calendar-next-month-btn-day"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="October 5, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-10-05
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell ant-calendar-next-month-btn-day"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="October 6, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-10-06
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td
|
|
|
|
class="ant-calendar-cell ant-calendar-next-month-btn-day"
|
|
|
|
role="gridcell"
|
2018-12-28 10:50:17 +08:00
|
|
|
title="October 7, 2017"
|
2018-12-27 14:32:23 +08:00
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-calendar-date"
|
|
|
|
>
|
|
|
|
<span>
|
2018-12-28 10:50:17 +08:00
|
|
|
2017-10-07
|
2018-12-27 14:32:23 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2018-03-29 18:03:14 +08:00
|
|
|
exports[`WeekPicker should support style prop 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-calendar-picker"
|
2018-08-22 00:41:29 +08:00
|
|
|
style="width: 400px;"
|
2018-03-29 18:03:14 +08:00
|
|
|
>
|
2018-12-07 12:31:30 +08:00
|
|
|
<span
|
2018-12-18 10:32:33 +08:00
|
|
|
style="display: inline-block; width: 100%;"
|
2018-12-07 12:31:30 +08:00
|
|
|
>
|
2018-03-29 18:03:14 +08:00
|
|
|
<input
|
|
|
|
class="ant-calendar-picker-input ant-input"
|
|
|
|
placeholder="Select date"
|
|
|
|
readonly=""
|
|
|
|
value=""
|
|
|
|
/>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="calendar"
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-calendar ant-calendar-picker-icon"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="calendar"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-02 19:53:29 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-02 19:53:29 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"
|
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2018-03-29 18:03:14 +08:00
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
`;
|