mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
Add focus() blur() and autoFocus to DatePicker (#8345)
This commit is contained in:
parent
4aeb811b72
commit
b44a0c93cd
@ -46,6 +46,8 @@ export default class RangePicker extends React.Component<any, any> {
|
|||||||
showToday: false,
|
showToday: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
private picker: HTMLSpanElement;
|
||||||
|
|
||||||
constructor(props: any) {
|
constructor(props: any) {
|
||||||
super(props);
|
super(props);
|
||||||
const value = props.value || props.defaultValue || [];
|
const value = props.value || props.defaultValue || [];
|
||||||
@ -128,6 +130,18 @@ export default class RangePicker extends React.Component<any, any> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
focus() {
|
||||||
|
this.picker.focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
blur() {
|
||||||
|
this.picker.blur();
|
||||||
|
}
|
||||||
|
|
||||||
|
savePicker = (node: HTMLSpanElement) => {
|
||||||
|
this.picker = node;
|
||||||
|
}
|
||||||
|
|
||||||
renderFooter = (...args: any[]) => {
|
renderFooter = (...args: any[]) => {
|
||||||
const { prefixCls, ranges, renderExtraFooter } = this.props;
|
const { prefixCls, ranges, renderExtraFooter } = this.props;
|
||||||
if (!ranges && !renderExtraFooter) {
|
if (!ranges && !renderExtraFooter) {
|
||||||
@ -254,6 +268,7 @@ export default class RangePicker extends React.Component<any, any> {
|
|||||||
value={(start && start.format(props.format)) || ''}
|
value={(start && start.format(props.format)) || ''}
|
||||||
placeholder={startPlaceholder}
|
placeholder={startPlaceholder}
|
||||||
className={`${prefixCls}-range-picker-input`}
|
className={`${prefixCls}-range-picker-input`}
|
||||||
|
tabIndex={-1}
|
||||||
/>
|
/>
|
||||||
<span className={`${prefixCls}-range-picker-separator`}> ~ </span>
|
<span className={`${prefixCls}-range-picker-separator`}> ~ </span>
|
||||||
<input
|
<input
|
||||||
@ -262,6 +277,7 @@ export default class RangePicker extends React.Component<any, any> {
|
|||||||
value={(end && end.format(props.format)) || ''}
|
value={(end && end.format(props.format)) || ''}
|
||||||
placeholder={endPlaceholder}
|
placeholder={endPlaceholder}
|
||||||
className={`${prefixCls}-range-picker-input`}
|
className={`${prefixCls}-range-picker-input`}
|
||||||
|
tabIndex={-1}
|
||||||
/>
|
/>
|
||||||
{clearIcon}
|
{clearIcon}
|
||||||
<span className={`${prefixCls}-picker-icon`} />
|
<span className={`${prefixCls}-picker-icon`} />
|
||||||
@ -271,11 +287,12 @@ export default class RangePicker extends React.Component<any, any> {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<span
|
<span
|
||||||
|
ref={this.savePicker}
|
||||||
className={classNames(props.className, props.pickerClass)}
|
className={classNames(props.className, props.pickerClass)}
|
||||||
style={{
|
style={{ ...style, ...pickerStyle }}
|
||||||
...style,
|
tabIndex={props.disabled ? -1 : 0}
|
||||||
...pickerStyle,
|
onFocus={props.onFocus}
|
||||||
}}
|
onBlur={props.onBlur}
|
||||||
>
|
>
|
||||||
<RcDatePicker
|
<RcDatePicker
|
||||||
{...props}
|
{...props}
|
||||||
|
@ -14,6 +14,9 @@ export default class WeekPicker extends React.Component<any, any> {
|
|||||||
format: 'YYYY-Wo',
|
format: 'YYYY-Wo',
|
||||||
allowClear: true,
|
allowClear: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
private input: any;
|
||||||
|
|
||||||
constructor(props: any) {
|
constructor(props: any) {
|
||||||
super(props);
|
super(props);
|
||||||
const value = props.value || props.defaultValue;
|
const value = props.value || props.defaultValue;
|
||||||
@ -63,6 +66,19 @@ export default class WeekPicker extends React.Component<any, any> {
|
|||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
this.handleChange(null);
|
this.handleChange(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
focus() {
|
||||||
|
this.input.focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
blur() {
|
||||||
|
this.input.blur();
|
||||||
|
}
|
||||||
|
|
||||||
|
saveInput = (node: any) => {
|
||||||
|
this.input = node;
|
||||||
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const {
|
const {
|
||||||
prefixCls, className, disabled, pickerClass, popupStyle,
|
prefixCls, className, disabled, pickerClass, popupStyle,
|
||||||
@ -100,11 +116,14 @@ export default class WeekPicker extends React.Component<any, any> {
|
|||||||
return (
|
return (
|
||||||
<span>
|
<span>
|
||||||
<input
|
<input
|
||||||
|
ref={this.saveInput}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
readOnly
|
readOnly
|
||||||
value={(value && value.format(format)) || ''}
|
value={(value && value.format(format)) || ''}
|
||||||
placeholder={placeholder}
|
placeholder={placeholder}
|
||||||
className={pickerInputClass}
|
className={pickerInputClass}
|
||||||
|
onFocus={this.props.onFocus}
|
||||||
|
onBlur={this.props.onBlur}
|
||||||
/>
|
/>
|
||||||
{clearIcon}
|
{clearIcon}
|
||||||
<span className={`${prefixCls}-picker-icon`} />
|
<span className={`${prefixCls}-picker-icon`} />
|
||||||
|
6
components/date-picker/__tests__/DatePicker.test.js
Normal file
6
components/date-picker/__tests__/DatePicker.test.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import DatePicker from '..';
|
||||||
|
import focusTest from '../../../tests/shared/focusTest';
|
||||||
|
|
||||||
|
describe('DatePicker', () => {
|
||||||
|
focusTest(DatePicker);
|
||||||
|
});
|
6
components/date-picker/__tests__/MonthPicker.test.js
Normal file
6
components/date-picker/__tests__/MonthPicker.test.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { MonthPicker } from '..';
|
||||||
|
import focusTest from '../../../tests/shared/focusTest';
|
||||||
|
|
||||||
|
describe('MonthPicker', () => {
|
||||||
|
focusTest(MonthPicker);
|
||||||
|
});
|
@ -2,8 +2,11 @@ import React from 'react';
|
|||||||
import { mount, render } from 'enzyme';
|
import { mount, render } from 'enzyme';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { RangePicker } from '../';
|
import { RangePicker } from '../';
|
||||||
|
import focusTest from '../../../tests/shared/focusTest';
|
||||||
|
|
||||||
describe('RangePicker', () => {
|
describe('RangePicker', () => {
|
||||||
|
focusTest(RangePicker);
|
||||||
|
|
||||||
it('show month panel according to value', () => {
|
it('show month panel according to value', () => {
|
||||||
const birthday = moment('2000-01-01', 'YYYY-MM-DD').locale('zh-cn');
|
const birthday = moment('2000-01-01', 'YYYY-MM-DD').locale('zh-cn');
|
||||||
const wrapper = mount(
|
const wrapper = mount(
|
||||||
|
6
components/date-picker/__tests__/WeekPicker.test.js
Normal file
6
components/date-picker/__tests__/WeekPicker.test.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { WeekPicker } from '..';
|
||||||
|
import focusTest from '../../../tests/shared/focusTest';
|
||||||
|
|
||||||
|
describe('WeekPicker', () => {
|
||||||
|
focusTest(WeekPicker);
|
||||||
|
});
|
@ -36,6 +36,7 @@ exports[`renders ./components/date-picker/demo/basic.md correctly 1`] = `
|
|||||||
<br />
|
<br />
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -44,6 +45,7 @@ exports[`renders ./components/date-picker/demo/basic.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start date"
|
placeholder="Start date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -55,6 +57,7 @@ exports[`renders ./components/date-picker/demo/basic.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End date"
|
placeholder="End date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -100,6 +103,7 @@ exports[`renders ./components/date-picker/demo/date-render.md correctly 1`] = `
|
|||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -108,6 +112,7 @@ exports[`renders ./components/date-picker/demo/date-render.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start date"
|
placeholder="Start date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -119,6 +124,7 @@ exports[`renders ./components/date-picker/demo/date-render.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End date"
|
placeholder="End date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -167,6 +173,7 @@ exports[`renders ./components/date-picker/demo/disabled.md correctly 1`] = `
|
|||||||
<br />
|
<br />
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
|
tabindex="-1"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input ant-input-disabled"
|
class="ant-calendar-picker-input ant-input ant-input-disabled"
|
||||||
@ -176,6 +183,7 @@ exports[`renders ./components/date-picker/demo/disabled.md correctly 1`] = `
|
|||||||
disabled=""
|
disabled=""
|
||||||
placeholder="Start date"
|
placeholder="Start date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value="2015-06-06"
|
value="2015-06-06"
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -188,6 +196,7 @@ exports[`renders ./components/date-picker/demo/disabled.md correctly 1`] = `
|
|||||||
disabled=""
|
disabled=""
|
||||||
placeholder="End date"
|
placeholder="End date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value="2015-06-06"
|
value="2015-06-06"
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -235,6 +244,7 @@ exports[`renders ./components/date-picker/demo/disabled-date.md correctly 1`] =
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width:350px"
|
style="width:350px"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -243,6 +253,7 @@ exports[`renders ./components/date-picker/demo/disabled-date.md correctly 1`] =
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start date"
|
placeholder="Start date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -254,6 +265,7 @@ exports[`renders ./components/date-picker/demo/disabled-date.md correctly 1`] =
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End date"
|
placeholder="End date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -298,6 +310,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = `
|
|||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -306,6 +319,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start date"
|
placeholder="Start date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -317,6 +331,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End date"
|
placeholder="End date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -327,6 +342,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width:350px"
|
style="width:350px"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -335,6 +351,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start date"
|
placeholder="Start date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -346,6 +363,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End date"
|
placeholder="End date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -413,6 +431,7 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = `
|
|||||||
<br />
|
<br />
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -421,6 +440,7 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start date"
|
placeholder="Start date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value="2015/01/01"
|
value="2015/01/01"
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -432,6 +452,7 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End date"
|
placeholder="End date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value="2015/01/01"
|
value="2015/01/01"
|
||||||
/>
|
/>
|
||||||
<i
|
<i
|
||||||
@ -465,6 +486,7 @@ exports[`renders ./components/date-picker/demo/mode.md correctly 1`] = `
|
|||||||
<br />
|
<br />
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -473,6 +495,7 @@ exports[`renders ./components/date-picker/demo/mode.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start month"
|
placeholder="Start month"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -484,6 +507,7 @@ exports[`renders ./components/date-picker/demo/mode.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End month"
|
placeholder="End month"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -498,6 +522,7 @@ exports[`renders ./components/date-picker/demo/presetted-ranges.md correctly 1`]
|
|||||||
<div>
|
<div>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -506,6 +531,7 @@ exports[`renders ./components/date-picker/demo/presetted-ranges.md correctly 1`]
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start date"
|
placeholder="Start date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -517,6 +543,7 @@ exports[`renders ./components/date-picker/demo/presetted-ranges.md correctly 1`]
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End date"
|
placeholder="End date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -528,6 +555,7 @@ exports[`renders ./components/date-picker/demo/presetted-ranges.md correctly 1`]
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width:350px"
|
style="width:350px"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -536,6 +564,7 @@ exports[`renders ./components/date-picker/demo/presetted-ranges.md correctly 1`]
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start date"
|
placeholder="Start date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -547,6 +576,7 @@ exports[`renders ./components/date-picker/demo/presetted-ranges.md correctly 1`]
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End date"
|
placeholder="End date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -654,6 +684,7 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = `
|
|||||||
<br />
|
<br />
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker ant-calendar-picker-default"
|
class="ant-calendar-picker ant-calendar-picker-default"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -662,6 +693,7 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start date"
|
placeholder="Start date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -673,6 +705,7 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End date"
|
placeholder="End date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -755,6 +788,7 @@ exports[`renders ./components/date-picker/demo/time.md correctly 1`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width:350px"
|
style="width:350px"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -763,6 +797,7 @@ exports[`renders ./components/date-picker/demo/time.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start Time"
|
placeholder="Start Time"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -774,6 +809,7 @@ exports[`renders ./components/date-picker/demo/time.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End Time"
|
placeholder="End Time"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
|
@ -21,6 +21,8 @@ export default function createPicker(TheCalendar: React.ComponentClass): any {
|
|||||||
showToday: true,
|
showToday: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
private input: any;
|
||||||
|
|
||||||
constructor(props: any) {
|
constructor(props: any) {
|
||||||
super(props);
|
super(props);
|
||||||
const value = props.value || props.defaultValue;
|
const value = props.value || props.defaultValue;
|
||||||
@ -66,6 +68,18 @@ export default function createPicker(TheCalendar: React.ComponentClass): any {
|
|||||||
props.onChange(value, (value && value.format(props.format)) || '');
|
props.onChange(value, (value && value.format(props.format)) || '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
focus() {
|
||||||
|
this.input.focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
blur() {
|
||||||
|
this.input.blur();
|
||||||
|
}
|
||||||
|
|
||||||
|
saveInput = (node: any) => {
|
||||||
|
this.input = node;
|
||||||
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { value } = this.state;
|
const { value } = this.state;
|
||||||
const props = omit(this.props, ['onChange']);
|
const props = omit(this.props, ['onChange']);
|
||||||
@ -130,6 +144,7 @@ export default function createPicker(TheCalendar: React.ComponentClass): any {
|
|||||||
const input = ({ value: inputValue }: { value: moment.Moment | null }) => (
|
const input = ({ value: inputValue }: { value: moment.Moment | null }) => (
|
||||||
<div>
|
<div>
|
||||||
<input
|
<input
|
||||||
|
ref={this.saveInput}
|
||||||
disabled={props.disabled}
|
disabled={props.disabled}
|
||||||
readOnly
|
readOnly
|
||||||
value={(inputValue && inputValue.format(props.format)) || ''}
|
value={(inputValue && inputValue.format(props.format)) || ''}
|
||||||
@ -146,7 +161,12 @@ export default function createPicker(TheCalendar: React.ComponentClass): any {
|
|||||||
pickerValue.locale(localeCode);
|
pickerValue.locale(localeCode);
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<span className={classNames(props.className, props.pickerClass)} style={props.style}>
|
<span
|
||||||
|
className={classNames(props.className, props.pickerClass)}
|
||||||
|
style={props.style}
|
||||||
|
onFocus={props.onFocus}
|
||||||
|
onBlur={props.onBlur}
|
||||||
|
>
|
||||||
<RcDatePicker
|
<RcDatePicker
|
||||||
{...props}
|
{...props}
|
||||||
{...pickerProps}
|
{...pickerProps}
|
||||||
|
@ -3,6 +3,7 @@ order: 0
|
|||||||
title:
|
title:
|
||||||
zh-CN: 基本
|
zh-CN: 基本
|
||||||
en-US: Basic
|
en-US: Basic
|
||||||
|
only: true
|
||||||
---
|
---
|
||||||
|
|
||||||
## zh-CN
|
## zh-CN
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../../button/style/mixin";
|
||||||
|
|
||||||
.@{calendar-prefix-cls}-picker-container {
|
.@{calendar-prefix-cls}-picker-container {
|
||||||
.reset-component;
|
.reset-component;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -44,6 +46,10 @@
|
|||||||
border-color: @primary-color;
|
border-color: @primary-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:focus &-input:not(.@{ant-prefix}-input-disabled) {
|
||||||
|
.active();
|
||||||
|
}
|
||||||
|
|
||||||
&-clear,
|
&-clear,
|
||||||
&-icon {
|
&-icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -40,11 +40,46 @@ export default function wrapPicker(Picker: React.ComponentClass<any>, defaultFor
|
|||||||
inputPrefixCls: 'ant-input',
|
inputPrefixCls: 'ant-input',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
private picker: any;
|
||||||
|
|
||||||
|
componentDidMount() {
|
||||||
|
const { autoFocus, disabled } = this.props;
|
||||||
|
if (autoFocus && !disabled) {
|
||||||
|
this.focus();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
handleOpenChange = (open: boolean) => {
|
handleOpenChange = (open: boolean) => {
|
||||||
const { onOpenChange } = this.props;
|
const { onOpenChange } = this.props;
|
||||||
onOpenChange(open);
|
onOpenChange(open);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
handleFocus = (e: React.FocusEventHandler<HTMLInputElement>) => {
|
||||||
|
const { onFocus } = this.props;
|
||||||
|
if (onFocus) {
|
||||||
|
onFocus(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
handleBlur = (e: React.FocusEventHandler<HTMLInputElement>) => {
|
||||||
|
const { onBlur } = this.props;
|
||||||
|
if (onBlur) {
|
||||||
|
onBlur(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
focus() {
|
||||||
|
this.picker.focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
blur() {
|
||||||
|
this.picker.blur();
|
||||||
|
}
|
||||||
|
|
||||||
|
savePicker = (node: any) => {
|
||||||
|
this.picker = node;
|
||||||
|
}
|
||||||
|
|
||||||
getDefaultLocale() {
|
getDefaultLocale() {
|
||||||
const locale = require('./locale/en_US');
|
const locale = require('./locale/en_US');
|
||||||
return locale.default || locale;
|
return locale.default || locale;
|
||||||
@ -84,12 +119,15 @@ export default function wrapPicker(Picker: React.ComponentClass<any>, defaultFor
|
|||||||
return (
|
return (
|
||||||
<Picker
|
<Picker
|
||||||
{...props}
|
{...props}
|
||||||
|
ref={this.savePicker}
|
||||||
pickerClass={pickerClass}
|
pickerClass={pickerClass}
|
||||||
pickerInputClass={pickerInputClass}
|
pickerInputClass={pickerInputClass}
|
||||||
locale={locale}
|
locale={locale}
|
||||||
localeCode={localeCode}
|
localeCode={localeCode}
|
||||||
timePicker={timePicker}
|
timePicker={timePicker}
|
||||||
onOpenChange={this.handleOpenChange}
|
onOpenChange={this.handleOpenChange}
|
||||||
|
onFocus={this.handleFocus}
|
||||||
|
onBlur={this.handleBlur}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -1834,6 +1834,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
|
|||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -1842,6 +1843,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start date"
|
placeholder="Start date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -1853,6 +1855,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End date"
|
placeholder="End date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -1886,6 +1889,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width:350px"
|
style="width:350px"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -1894,6 +1898,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start date"
|
placeholder="Start date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -1905,6 +1910,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End date"
|
placeholder="End date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
|
@ -244,6 +244,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width:200px"
|
style="width:200px"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -252,6 +253,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start date"
|
placeholder="Start date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -263,6 +265,7 @@ exports[`renders ./components/locale-provider/demo/all.md correctly 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End date"
|
placeholder="End date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
|
@ -182,6 +182,7 @@ exports[`Locale Provider should display the text as locale changed 1`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -190,6 +191,7 @@ exports[`Locale Provider should display the text as locale changed 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start date"
|
placeholder="Start date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -201,6 +203,7 @@ exports[`Locale Provider should display the text as locale changed 1`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End date"
|
placeholder="End date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -1746,6 +1749,7 @@ exports[`Locale Provider should display the text as locale changed 2`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -1754,6 +1758,7 @@ exports[`Locale Provider should display the text as locale changed 2`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Data de início"
|
placeholder="Data de início"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -1765,6 +1770,7 @@ exports[`Locale Provider should display the text as locale changed 2`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Data de fim"
|
placeholder="Data de fim"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -3310,6 +3316,7 @@ exports[`Locale Provider should display the text as locale changed 3`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -3318,6 +3325,7 @@ exports[`Locale Provider should display the text as locale changed 3`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Data inicial"
|
placeholder="Data inicial"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -3329,6 +3337,7 @@ exports[`Locale Provider should display the text as locale changed 3`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Data final"
|
placeholder="Data final"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -4874,6 +4883,7 @@ exports[`Locale Provider should display the text as locale changed 4`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -4882,6 +4892,7 @@ exports[`Locale Provider should display the text as locale changed 4`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Начальная дата"
|
placeholder="Начальная дата"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -4893,6 +4904,7 @@ exports[`Locale Provider should display the text as locale changed 4`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Конечная дата"
|
placeholder="Конечная дата"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -6438,6 +6450,7 @@ exports[`Locale Provider should display the text as locale changed 5`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -6446,6 +6459,7 @@ exports[`Locale Provider should display the text as locale changed 5`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Fecha inicial"
|
placeholder="Fecha inicial"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -6457,6 +6471,7 @@ exports[`Locale Provider should display the text as locale changed 5`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Fecha final"
|
placeholder="Fecha final"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -8002,6 +8017,7 @@ exports[`Locale Provider should display the text as locale changed 6`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -8010,6 +8026,7 @@ exports[`Locale Provider should display the text as locale changed 6`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Startdatum"
|
placeholder="Startdatum"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -8021,6 +8038,7 @@ exports[`Locale Provider should display the text as locale changed 6`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Slutdatum"
|
placeholder="Slutdatum"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -9566,6 +9584,7 @@ exports[`Locale Provider should display the text as locale changed 7`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -9574,6 +9593,7 @@ exports[`Locale Provider should display the text as locale changed 7`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Date de début"
|
placeholder="Date de début"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -9585,6 +9605,7 @@ exports[`Locale Provider should display the text as locale changed 7`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Date de fin"
|
placeholder="Date de fin"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -11130,6 +11151,7 @@ exports[`Locale Provider should display the text as locale changed 8`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -11138,6 +11160,7 @@ exports[`Locale Provider should display the text as locale changed 8`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Startdatum"
|
placeholder="Startdatum"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -11149,6 +11172,7 @@ exports[`Locale Provider should display the text as locale changed 8`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Enddatum"
|
placeholder="Enddatum"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -12694,6 +12718,7 @@ exports[`Locale Provider should display the text as locale changed 9`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -12702,6 +12727,7 @@ exports[`Locale Provider should display the text as locale changed 9`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Begin datum"
|
placeholder="Begin datum"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -12713,6 +12739,7 @@ exports[`Locale Provider should display the text as locale changed 9`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Eind datum"
|
placeholder="Eind datum"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -14258,6 +14285,7 @@ exports[`Locale Provider should display the text as locale changed 10`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -14266,6 +14294,7 @@ exports[`Locale Provider should display the text as locale changed 10`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Data inicial"
|
placeholder="Data inicial"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -14277,6 +14306,7 @@ exports[`Locale Provider should display the text as locale changed 10`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Data final"
|
placeholder="Data final"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -15822,6 +15852,7 @@ exports[`Locale Provider should display the text as locale changed 11`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -15830,6 +15861,7 @@ exports[`Locale Provider should display the text as locale changed 11`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Od"
|
placeholder="Od"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -15841,6 +15873,7 @@ exports[`Locale Provider should display the text as locale changed 11`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Do"
|
placeholder="Do"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -17386,6 +17419,7 @@ exports[`Locale Provider should display the text as locale changed 12`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -17394,6 +17428,7 @@ exports[`Locale Provider should display the text as locale changed 12`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="시작일"
|
placeholder="시작일"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -17405,6 +17440,7 @@ exports[`Locale Provider should display the text as locale changed 12`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="종료일"
|
placeholder="종료일"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -18950,6 +18986,7 @@ exports[`Locale Provider should display the text as locale changed 13`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -18958,6 +18995,7 @@ exports[`Locale Provider should display the text as locale changed 13`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Algus kuupäev"
|
placeholder="Algus kuupäev"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -18969,6 +19007,7 @@ exports[`Locale Provider should display the text as locale changed 13`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Lõpu kuupäev"
|
placeholder="Lõpu kuupäev"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -20514,6 +20553,7 @@ exports[`Locale Provider should display the text as locale changed 14`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -20522,6 +20562,7 @@ exports[`Locale Provider should display the text as locale changed 14`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Od"
|
placeholder="Od"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -20533,6 +20574,7 @@ exports[`Locale Provider should display the text as locale changed 14`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Do"
|
placeholder="Do"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -22078,6 +22120,7 @@ exports[`Locale Provider should display the text as locale changed 15`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -22086,6 +22129,7 @@ exports[`Locale Provider should display the text as locale changed 15`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="開始日付"
|
placeholder="開始日付"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -22097,6 +22141,7 @@ exports[`Locale Provider should display the text as locale changed 15`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="終了日付"
|
placeholder="終了日付"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -23642,6 +23687,7 @@ exports[`Locale Provider should display the text as locale changed 16`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -23650,6 +23696,7 @@ exports[`Locale Provider should display the text as locale changed 16`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Başlangıç Tarihi"
|
placeholder="Başlangıç Tarihi"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -23661,6 +23708,7 @@ exports[`Locale Provider should display the text as locale changed 16`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Bitiş Tarihi"
|
placeholder="Bitiş Tarihi"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -25206,6 +25254,7 @@ exports[`Locale Provider should display the text as locale changed 17`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -25214,6 +25263,7 @@ exports[`Locale Provider should display the text as locale changed 17`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="開始日期"
|
placeholder="開始日期"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -25225,6 +25275,7 @@ exports[`Locale Provider should display the text as locale changed 17`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="結束日期"
|
placeholder="結束日期"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -26770,6 +26821,7 @@ exports[`Locale Provider should display the text as locale changed 18`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -26778,6 +26830,7 @@ exports[`Locale Provider should display the text as locale changed 18`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Alku päivä"
|
placeholder="Alku päivä"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -26789,6 +26842,7 @@ exports[`Locale Provider should display the text as locale changed 18`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Loppu päivä"
|
placeholder="Loppu päivä"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -28334,6 +28388,7 @@ exports[`Locale Provider should display the text as locale changed 19`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -28342,6 +28397,7 @@ exports[`Locale Provider should display the text as locale changed 19`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Data początkowa"
|
placeholder="Data początkowa"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -28353,6 +28409,7 @@ exports[`Locale Provider should display the text as locale changed 19`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Data końcowa"
|
placeholder="Data końcowa"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -29898,6 +29955,7 @@ exports[`Locale Provider should display the text as locale changed 20`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -29906,6 +29964,7 @@ exports[`Locale Provider should display the text as locale changed 20`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Начална"
|
placeholder="Начална"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -29917,6 +29976,7 @@ exports[`Locale Provider should display the text as locale changed 20`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Крайна"
|
placeholder="Крайна"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -31462,6 +31522,7 @@ exports[`Locale Provider should display the text as locale changed 21`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -31470,6 +31531,7 @@ exports[`Locale Provider should display the text as locale changed 21`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Start date"
|
placeholder="Start date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -31481,6 +31543,7 @@ exports[`Locale Provider should display the text as locale changed 21`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="End date"
|
placeholder="End date"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -33026,6 +33089,7 @@ exports[`Locale Provider should display the text as locale changed 22`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -33034,6 +33098,7 @@ exports[`Locale Provider should display the text as locale changed 22`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Date de début"
|
placeholder="Date de début"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -33045,6 +33110,7 @@ exports[`Locale Provider should display the text as locale changed 22`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Date de fin"
|
placeholder="Date de fin"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -34590,6 +34656,7 @@ exports[`Locale Provider should display the text as locale changed 23`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -34598,6 +34665,7 @@ exports[`Locale Provider should display the text as locale changed 23`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Begin datum"
|
placeholder="Begin datum"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -34609,6 +34677,7 @@ exports[`Locale Provider should display the text as locale changed 23`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Eind datum"
|
placeholder="Eind datum"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -36154,6 +36223,7 @@ exports[`Locale Provider should display the text as locale changed 24`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -36162,6 +36232,7 @@ exports[`Locale Provider should display the text as locale changed 24`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Data d'inizio"
|
placeholder="Data d'inizio"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -36173,6 +36244,7 @@ exports[`Locale Provider should display the text as locale changed 24`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Data di fine"
|
placeholder="Data di fine"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -37718,6 +37790,7 @@ exports[`Locale Provider should display the text as locale changed 25`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -37726,6 +37799,7 @@ exports[`Locale Provider should display the text as locale changed 25`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Ngày bắt đầu"
|
placeholder="Ngày bắt đầu"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -37737,6 +37811,7 @@ exports[`Locale Provider should display the text as locale changed 25`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Ngày kết thúc"
|
placeholder="Ngày kết thúc"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -39282,6 +39357,7 @@ exports[`Locale Provider should display the text as locale changed 26`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -39290,6 +39366,7 @@ exports[`Locale Provider should display the text as locale changed 26`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="วันเริ่มต้น"
|
placeholder="วันเริ่มต้น"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -39301,6 +39378,7 @@ exports[`Locale Provider should display the text as locale changed 26`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="วันสิ้นสุด"
|
placeholder="วันสิ้นสุด"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -40846,6 +40924,7 @@ exports[`Locale Provider should display the text as locale changed 27`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -40854,6 +40933,7 @@ exports[`Locale Provider should display the text as locale changed 27`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="تاریخ شروع"
|
placeholder="تاریخ شروع"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -40865,6 +40945,7 @@ exports[`Locale Provider should display the text as locale changed 27`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="تاریخ پایان"
|
placeholder="تاریخ پایان"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -42410,6 +42491,7 @@ exports[`Locale Provider should display the text as locale changed 28`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -42418,6 +42500,7 @@ exports[`Locale Provider should display the text as locale changed 28`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Αρχική ημερομηνία"
|
placeholder="Αρχική ημερομηνία"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -42429,6 +42512,7 @@ exports[`Locale Provider should display the text as locale changed 28`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Τελική ημερομηνία"
|
placeholder="Τελική ημερομηνία"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -43974,6 +44058,7 @@ exports[`Locale Provider should display the text as locale changed 29`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -43982,6 +44067,7 @@ exports[`Locale Provider should display the text as locale changed 29`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Startdato"
|
placeholder="Startdato"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -43993,6 +44079,7 @@ exports[`Locale Provider should display the text as locale changed 29`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Sluttdato"
|
placeholder="Sluttdato"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -45538,6 +45625,7 @@ exports[`Locale Provider should display the text as locale changed 30`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -45546,6 +45634,7 @@ exports[`Locale Provider should display the text as locale changed 30`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Početni datum"
|
placeholder="Početni datum"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -45557,6 +45646,7 @@ exports[`Locale Provider should display the text as locale changed 30`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Krajnji datum"
|
placeholder="Krajnji datum"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -47102,6 +47192,7 @@ exports[`Locale Provider should display the text as locale changed 31`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -47110,6 +47201,7 @@ exports[`Locale Provider should display the text as locale changed 31`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Upphafsdagur"
|
placeholder="Upphafsdagur"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -47121,6 +47213,7 @@ exports[`Locale Provider should display the text as locale changed 31`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Lokadagur"
|
placeholder="Lokadagur"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -48666,6 +48759,7 @@ exports[`Locale Provider should display the text as locale changed 32`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -48674,6 +48768,7 @@ exports[`Locale Provider should display the text as locale changed 32`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="البداية"
|
placeholder="البداية"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -48685,6 +48780,7 @@ exports[`Locale Provider should display the text as locale changed 32`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="النهاية"
|
placeholder="النهاية"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -50230,6 +50326,7 @@ exports[`Locale Provider should display the text as locale changed 33`] = `
|
|||||||
<span
|
<span
|
||||||
class="ant-calendar-picker"
|
class="ant-calendar-picker"
|
||||||
style="width: 200px;"
|
style="width: 200px;"
|
||||||
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
class="ant-calendar-picker-input ant-input"
|
class="ant-calendar-picker-input ant-input"
|
||||||
@ -50238,6 +50335,7 @@ exports[`Locale Provider should display the text as locale changed 33`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Початкова дата"
|
placeholder="Початкова дата"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
@ -50249,6 +50347,7 @@ exports[`Locale Provider should display the text as locale changed 33`] = `
|
|||||||
class="ant-calendar-range-picker-input"
|
class="ant-calendar-range-picker-input"
|
||||||
placeholder="Кінцева дата"
|
placeholder="Кінцева дата"
|
||||||
readonly=""
|
readonly=""
|
||||||
|
tabindex="-1"
|
||||||
value=""
|
value=""
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
|
Loading…
Reference in New Issue
Block a user