2018-06-09 05:14:14 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`MonthPicker and WeekPicker render MonthPicker 1`] = `
|
|
|
|
<div>
|
|
|
|
<div class="ant-calendar-picker-container ant-calendar-picker-container-placement-bottomLeft" style="left: -999px; top: -1002px;">
|
|
|
|
<div tabindex="0" class="ant-calendar ant-calendar-month-calendar ant-calendar-month ant-calendar-picker-container-content">
|
|
|
|
<div class="ant-calendar-month-calendar-content">
|
|
|
|
<div class="ant-calendar-month-header-wrap">
|
|
|
|
<div class="ant-calendar-header">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div style="position: relative;"><a role="button" title="Last year (Control + left)" class="ant-calendar-prev-year-btn"></a><a role="button" title="Previous month (PageUp)" class="ant-calendar-prev-month-btn"></a><span class="ant-calendar-my-select"><a role="button" title="Choose a month" class="ant-calendar-month-select">1æ</a><a role="button" title="Choose a year" class="ant-calendar-year-select">2000</a></span><a title="Next month (PageDown)" class="ant-calendar-next-month-btn"></a><a title="Next year (Control + right)" class="ant-calendar-next-year-btn"></a></div>
|
2018-06-09 05:14:14 +00:00
|
|
|
<div class="ant-calendar-month-panel">
|
|
|
|
<div>
|
2018-09-05 13:58:32 +00:00
|
|
|
<div class="ant-calendar-month-panel-header"><a role="button" title="Last year (Control + left)" class="ant-calendar-month-panel-prev-year-btn"></a><a role="button" title="Choose a year" class="ant-calendar-month-panel-year-select"><span class="ant-calendar-month-panel-year-select-content">2000</span><span class="ant-calendar-month-panel-year-select-arrow">x</span></a><a role="button" title="Next year (Control + right)" class="ant-calendar-month-panel-next-year-btn"></a></div>
|
2018-06-09 05:14:14 +00:00
|
|
|
<div class="ant-calendar-month-panel-body">
|
|
|
|
<table cellspacing="0" role="grid" class="ant-calendar-month-panel-table">
|
|
|
|
<tbody class="ant-calendar-month-panel-tbody">
|
|
|
|
<tr role="row">
|
2018-09-05 13:58:32 +00:00
|
|
|
<td role="gridcell" title="ä¸æ" class="ant-calendar-month-panel-cell ant-calendar-month-panel-selected-cell"><a class="ant-calendar-month-panel-month">ä¸æ</a></td>
|
|
|
|
<td role="gridcell" title="äēæ" class="ant-calendar-month-panel-cell"><a class="ant-calendar-month-panel-month">äēæ</a></td>
|
|
|
|
<td role="gridcell" title="ä¸æ" class="ant-calendar-month-panel-cell"><a class="ant-calendar-month-panel-month">ä¸æ</a></td>
|
2018-06-09 05:14:14 +00:00
|
|
|
</tr>
|
|
|
|
<tr role="row">
|
2018-09-05 13:58:32 +00:00
|
|
|
<td role="gridcell" title="åæ" class="ant-calendar-month-panel-cell"><a class="ant-calendar-month-panel-month">åæ</a></td>
|
|
|
|
<td role="gridcell" title="äēæ" class="ant-calendar-month-panel-cell"><a class="ant-calendar-month-panel-month">äēæ</a></td>
|
|
|
|
<td role="gridcell" title="å
æ" class="ant-calendar-month-panel-cell"><a class="ant-calendar-month-panel-month">å
æ</a></td>
|
2018-06-09 05:14:14 +00:00
|
|
|
</tr>
|
|
|
|
<tr role="row">
|
2018-09-05 13:58:32 +00:00
|
|
|
<td role="gridcell" title="ä¸æ" class="ant-calendar-month-panel-cell"><a class="ant-calendar-month-panel-month">ä¸æ</a></td>
|
|
|
|
<td role="gridcell" title="å
Ģæ" class="ant-calendar-month-panel-cell"><a class="ant-calendar-month-panel-month">å
Ģæ</a></td>
|
|
|
|
<td role="gridcell" title="äšæ" class="ant-calendar-month-panel-cell"><a class="ant-calendar-month-panel-month">äšæ</a></td>
|
2018-06-09 05:14:14 +00:00
|
|
|
</tr>
|
|
|
|
<tr role="row">
|
2018-09-05 13:58:32 +00:00
|
|
|
<td role="gridcell" title="åæ" class="ant-calendar-month-panel-cell"><a class="ant-calendar-month-panel-month">åæ</a></td>
|
|
|
|
<td role="gridcell" title="åä¸æ" class="ant-calendar-month-panel-cell"><a class="ant-calendar-month-panel-month">åä¸æ</a></td>
|
|
|
|
<td role="gridcell" title="åäēæ" class="ant-calendar-month-panel-cell"><a class="ant-calendar-month-panel-month">åäēæ</a></td>
|
2018-06-09 05:14:14 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`MonthPicker and WeekPicker render WeekPicker 1`] = `
|
|
|
|
<div>
|
|
|
|
<div class="ant-calendar-picker-container ant-calendar-picker-container-placement-bottomLeft" style="left: -999px; top: -1002px;">
|
|
|
|
<div tabindex="0" class="ant-calendar ant-calendar-week-number ant-calendar-picker-container-content">
|
|
|
|
<div class="ant-calendar-panel">
|
|
|
|
<div class="ant-calendar-date-panel">
|
|
|
|
<div class="ant-calendar-header">
|
2018-09-05 13:58:32 +00:00
|
|
|
<div style="position: relative;"><a role="button" title="Last year (Control + left)" class="ant-calendar-prev-year-btn"></a><a role="button" title="Previous month (PageUp)" class="ant-calendar-prev-month-btn"></a><span class="ant-calendar-my-select"><a role="button" title="Choose a month" class="ant-calendar-month-select">1æ</a><a role="button" title="Choose a year" class="ant-calendar-year-select">2000</a></span><a title="Next month (PageDown)" class="ant-calendar-next-month-btn"></a><a title="Next year (Control + right)" class="ant-calendar-next-year-btn"></a></div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</div>
|
|
|
|
<div class="ant-calendar-body">
|
|
|
|
<table cellspacing="0" role="grid" class="ant-calendar-table">
|
|
|
|
<thead>
|
|
|
|
<tr role="row">
|
|
|
|
<th role="columnheader" class="ant-calendar-column-header ant-calendar-week-number-header"><span class="ant-calendar-column-header-inner">x</span></th>
|
|
|
|
<th role="columnheader" title="å¨ä¸" class="ant-calendar-column-header"><span class="ant-calendar-column-header-inner">ä¸</span></th>
|
|
|
|
<th role="columnheader" title="å¨äē" class="ant-calendar-column-header"><span class="ant-calendar-column-header-inner">äē</span></th>
|
|
|
|
<th role="columnheader" title="å¨ä¸" class="ant-calendar-column-header"><span class="ant-calendar-column-header-inner">ä¸</span></th>
|
|
|
|
<th role="columnheader" title="å¨å" class="ant-calendar-column-header"><span class="ant-calendar-column-header-inner">å</span></th>
|
|
|
|
<th role="columnheader" title="å¨äē" class="ant-calendar-column-header"><span class="ant-calendar-column-header-inner">äē</span></th>
|
|
|
|
<th role="columnheader" title="å¨å
" class="ant-calendar-column-header"><span class="ant-calendar-column-header-inner">å
</span></th>
|
|
|
|
<th role="columnheader" title="å¨æĨ" class="ant-calendar-column-header"><span class="ant-calendar-column-header-inner">æĨ</span></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody class="ant-calendar-tbody">
|
|
|
|
<tr role="row" class="ant-calendar-active-week">
|
|
|
|
<td role="gridcell" class="ant-calendar-week-number-cell">52</td>
|
|
|
|
<td role="gridcell" title="1999åš´12æ27æĨ" class="ant-calendar-cell ant-calendar-last-month-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">27</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="1999åš´12æ28æĨ" class="ant-calendar-cell ant-calendar-last-month-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">28</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="1999åš´12æ29æĨ" class="ant-calendar-cell ant-calendar-last-month-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">29</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="1999åš´12æ30æĨ" class="ant-calendar-cell ant-calendar-last-month-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">30</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="1999åš´12æ31æĨ" class="ant-calendar-cell ant-calendar-last-month-cell ant-calendar-last-day-of-month">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">31</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ1æĨ" class="ant-calendar-cell ant-calendar-selected-date ant-calendar-selected-day">
|
|
|
|
<div class="ant-calendar-selected-day">
|
|
|
|
<div class="ant-calendar-date">1</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ2æĨ" class="ant-calendar-cell">
|
|
|
|
<div class="ant-calendar-selected-day">
|
|
|
|
<div class="ant-calendar-date">2</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr role="row" class="">
|
|
|
|
<td role="gridcell" class="ant-calendar-week-number-cell">1</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ3æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">3</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ4æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">4</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ5æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">5</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ6æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">6</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ7æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">7</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ8æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">8</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ9æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">9</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr role="row" class="">
|
|
|
|
<td role="gridcell" class="ant-calendar-week-number-cell">2</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ10æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">10</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ11æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">11</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ12æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">12</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ13æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">13</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ14æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">14</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ15æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">15</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ16æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">16</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr role="row" class="">
|
|
|
|
<td role="gridcell" class="ant-calendar-week-number-cell">3</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ17æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">17</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ18æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">18</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ19æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">19</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ20æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">20</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ21æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">21</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ22æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">22</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ23æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">23</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr role="row" class="">
|
|
|
|
<td role="gridcell" class="ant-calendar-week-number-cell">4</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ24æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">24</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ25æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">25</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ26æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">26</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ27æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">27</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ28æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">28</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ29æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">29</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ30æĨ" class="ant-calendar-cell">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">30</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr role="row" class="">
|
|
|
|
<td role="gridcell" class="ant-calendar-week-number-cell">5</td>
|
|
|
|
<td role="gridcell" title="2000åš´1æ31æĨ" class="ant-calendar-cell ant-calendar-last-day-of-month">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">31</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´2æ1æĨ" class="ant-calendar-cell ant-calendar-next-month-btn-day">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">1</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´2æ2æĨ" class="ant-calendar-cell ant-calendar-next-month-btn-day">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">2</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´2æ3æĨ" class="ant-calendar-cell ant-calendar-next-month-btn-day">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">3</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´2æ4æĨ" class="ant-calendar-cell ant-calendar-next-month-btn-day">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">4</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´2æ5æĨ" class="ant-calendar-cell ant-calendar-next-month-btn-day">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">5</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
<td role="gridcell" title="2000åš´2æ6æĨ" class="ant-calendar-cell ant-calendar-next-month-btn-day">
|
2018-09-05 13:28:54 +00:00
|
|
|
<div class="ant-calendar-date">6</div>
|
2018-06-09 05:14:14 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<!---->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|