Commit graph

81 commits

Author SHA1 Message Date
Sergio Crisostomo
b61002ba33 force string dates parse 2017-09-26 13:30:25 +02:00
梁灏
acb79ba30e fixed #433 2017-09-22 15:29:50 +08:00
Sergio Crisostomo
030a522daa make picker close on blur 2017-09-21 08:22:36 +02:00
梁灏
0460a1e811 fixed #812 2017-09-19 16:45:02 +08:00
Sergio Crisostomo
9ffdd6daea Propagate type changes to panel 2017-09-14 08:25:38 +02:00
Aresn
68e3642119 Merge pull request #1712 from SergioCrisostomo/add-more-datepicker-tests
Refactor cell click handler and add more date picker and date range picker tests
2017-09-01 11:20:13 +08:00
Sergio Crisostomo
58ff14d782 Make date more IE friendly 2017-08-31 16:51:15 +02:00
Sergio Crisostomo
3747aecd53 Refactor date-picker cell click
Added `cell.date` so we don’t need `. getDateOfCell()` anymore
Passed `cell` directly in `@click="handleClick(cell)”` so we don’t need
`const cell =
this.cells[parseInt(event.target.getAttribute('index’))];` anymore
2017-08-29 09:38:20 +02:00
梁灏
f00a037cd4 some Components's size add default 2017-08-25 10:53:52 +08:00
Aresn
3485243a4d Merge pull request #1677 from SergioCrisostomo/fix-timepicker-scroll
Broken initial scroll in time-picker with steps
2017-08-24 16:01:36 +08:00
Sergio Crisostomo
c91c30ccbb Date utils improvements and specs
Date utility functions `prevMonth` and `nextMonth` change the source
date when using `src.set[Date|Month|FullYear]()`. This change creates a
copy of the date at entrance of function so we have a pure function.

Made some code refactor and added specs for these functions.
2017-08-24 08:21:50 +02:00
Sergio Crisostomo
23cf31cea8 use .getItemIndex() so we get the correct index
since now the index of the `[hours|minutes|seconds]List` might not
anymore match the correct number in value
2017-08-23 11:00:45 +02:00
Sergio Crisostomo
9b37683241 Add feature: allow spinner to have steps
This ads the possibility to choose `steps` in the formatting of the
lists. So we can have ”5 in five minutes” or ”every 15 minutes” instead
of having always lists of 60 items/minutes.
2017-08-13 09:12:53 +02:00
Rijn
61d5d48b9c return array of format string when type is datetimerange 2017-08-08 14:17:47 -05:00
梁灏
ecaf8d51e0 Date add transfer prop 2017-07-20 11:53:18 +08:00
Aresn
f1f0206c70 fixed Date bug 2017-06-07 10:49:15 +08:00
梁灏
b9a4026ff7 fixed #845 2017-05-11 17:38:05 +08:00
梁灏
762c8ddfef update DatePicker 2017-03-30 10:52:01 +08:00
梁灏
7b7178f165 fixed #528 2017-03-29 10:29:12 +08:00
梁灏
fc0c4c7815 fixed #494
watch trigger after form emit, so the value of date not change when
validate, change to async
2017-03-27 10:30:45 +08:00
梁灏
21dad188c1 prevent dispatch form event
when component import an Input, prevent dispatch event from Input to
Form
2017-03-13 18:58:31 +08:00
梁灏
cd78c9c488 some comps support dispatch event to FormItem
some comps support dispatch event to FormItem
2017-03-09 11:14:40 +08:00
梁灏
531cd1654b support DatePicker & TimePicker
support DatePicker & TimePicker
2017-03-07 18:06:56 +08:00
梁灏
b89a982e64 fixed #205
fixed #205
2017-01-16 12:29:03 +08:00
梁灏
356953d958 fixed #201
fixed #201
2017-01-13 20:32:24 +08:00
梁灏
4ab118119a some component support i18n
some component support i18n
2017-01-11 21:02:55 +08:00
梁灏
1b7aefeab2 update Picker
update Picker
2017-01-09 19:57:10 +08:00
梁灏
73d10c280b update DatePicker
update DatePicker
2017-01-04 14:22:27 +08:00
梁灏
7c4c9d9ce9 update TimePicker css
update TimePicker css
2017-01-03 11:52:22 +08:00
梁灏
a2a78c382f update DateTimePicker
update DateTimePicker
2016-12-30 17:54:27 +08:00
梁灏
2dc2771349 update DateTimePicker
update DateTimePicker
2016-12-30 17:00:26 +08:00
梁灏
3693144258 update DateTimePicker
update DateTimePicker
2016-12-30 13:56:34 +08:00
梁灏
acde7262ef update DateTimePicker
update DateTimePicker
2016-12-30 12:03:24 +08:00
梁灏
a8571a5fa1 update DateTimePicker
update DateTimePicker
2016-12-30 11:34:01 +08:00
梁灏
62c7f99780 update DateTimePicker
update DateTimePicker
2016-12-30 11:15:13 +08:00
梁灏
5cc9b892b8 update DateTimePicker
update DateTimePicker
2016-12-30 10:57:10 +08:00
梁灏
d596b9e4f8 update TimePicker
update TimePicker
2016-12-29 18:09:16 +08:00
梁灏
4db5926d6b fixed #153
fixed #153
2016-12-29 12:11:22 +08:00
梁灏
b27687d35f update TimePicker
update TimePicker
2016-12-29 10:50:51 +08:00
梁灏
db9985a94e update TimePicker
update TimePicker
2016-12-29 10:44:47 +08:00
梁灏
964582b399 update TimePicker
update TimePicker
2016-12-29 09:54:29 +08:00
梁灏
3a435d65da update TimePicker
update TimePicker
2016-12-28 17:46:42 +08:00
梁灏
0dd7b94a4d update TimePicker
update TimePicker
2016-12-28 17:30:34 +08:00
梁灏
d609ba8682 update TimePicker
update TimePicker
2016-12-28 16:07:11 +08:00
梁灏
456877a165 update TimePicker
update TimePicker
2016-12-28 15:21:25 +08:00
梁灏
0fd1369660 fixed DatePicker event when type = daterange
fixed DatePicker event when type = daterange
2016-12-27 17:55:13 +08:00
梁灏
af713093ab update TimePicker
update TimePicker
2016-12-27 17:41:35 +08:00
梁灏
2dbbd7dea6 update TimePicker
update TimePicker
2016-12-27 17:16:11 +08:00
梁灏
915055614b TimePicker
TimePicker
2016-12-27 16:14:45 +08:00
梁灏
d70cad45ec update TimePicker
update TimePicker
2016-12-27 15:50:07 +08:00