梁灏
9d1add4d59
update Date example
2017-11-09 14:38:26 +08:00
Aresn
2df70ebdfb
Merge pull request #2356 from SergioCrisostomo/fix-2122
...
Patch Chromium bug
2017-11-09 00:37:27 -06:00
Aresn
4ab1ac531e
Merge pull request #2358 from SergioCrisostomo/ie-fix-2330
...
Don't use includes to make IE happy and avoid Polyfill
2017-11-08 19:17:32 -06:00
梁灏
22c27b7962
fixed #2215
2017-11-08 20:44:35 +08:00
Sergio Crisostomo
236e0bfd99
DOn't use includes to make IE happy and avoid Polyfill
2017-11-08 10:14:08 +01:00
Sergio Crisostomo
40aa935508
patch chromium bug
2017-11-08 09:54:14 +01:00
Sergio Crisostomo
65255c9637
fix date formatting when strings are supplied to DatePicker
2017-10-23 15:53:12 +02:00
Sergio Crisostomo
3ed12b4e43
Correct month calculation and add specs for date-picker labels
2017-10-23 11:13:06 +02:00
Aresn
f672ae027c
Merge pull request #2097 from SergioCrisostomo/use-locale-formated-year-month
...
use date.toLocaleDateString to format year/month
2017-10-22 20:29:51 -05:00
Sergio Crisostomo
5d1c24c7f4
correct behaviour when initialising date-picker with a empty string
2017-10-17 15:13:42 +02:00
Sergio Crisostomo
2537c26d18
add dateLabel to time panel
2017-10-17 14:26:12 +02:00
Sergio Crisostomo
b27858ddb5
add date panel label format logic
2017-10-17 13:09:04 +02:00
梁灏
6850c1da89
Scroll add height
prop
2017-10-16 18:32:47 +08:00
Danny Spangenberg
af6a7c488e
weekStartDay did not influence the order of the weekdays in the header
2017-10-11 17:38:03 +02:00
梁灏
7309b43422
InputNumber add editable
property.
2017-10-11 09:29:16 +08:00
Aresn
d9e0bcc987
Merge pull request #2000 from SergioCrisostomo/datepicker-refactor
...
refactor and reduce code logic
2017-09-27 02:20:40 -05:00
Aresn
5bd5dd5918
Merge pull request #2002 from SergioCrisostomo/avoid-throw-if-wrong-input
...
Return empty string if the date input doesn't parse
2017-09-27 02:10:38 -05:00
Aresn
1d8334dd3e
Merge pull request #1999 from SergioCrisostomo/remove-array-find
...
remove Array.find to make IE11 happy
2017-09-27 02:04:55 -05:00
Aresn
402dbd315f
Merge pull request #1997 from SergioCrisostomo/add-week-start-locale
...
Add week start (locale setting)
2017-09-27 02:02:20 -05:00
Sergio Crisostomo
77883b8c69
Return empty string if the date input doesn't parse
2017-09-27 08:42:28 +02:00
Sergio Crisostomo
0916642089
add weekStartDay logic to date-table
2017-09-27 07:35:30 +02:00
Sergio Crisostomo
d5e4481451
remove Array.find to make IE11 happy
2017-09-27 07:09:13 +02:00
Sergio Crisostomo
e9c0d04760
refactor and reduce code logic
2017-09-26 16:57:01 +02:00
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