Commit graph

1588 commits

Author SHA1 Message Date
Sergio Crisostomo
65ce6cedcb keep this.$refs.drop.update(); because of transfer 2018-02-08 11:45:08 +01:00
Sergio Crisostomo
755693b58b update also timeSpinnerEnd's scroll 2018-02-07 09:33:31 +01:00
Sergio Crisostomo
29a91fbb61 Correct passing of confirm prop, correct initial values when no value is passed 2018-02-05 10:01:19 +01:00
Sergio Crisostomo
732b32e451 correct wrong spread syntax 2018-02-05 08:44:31 +01:00
Sergio Crisostomo
6017ed7509 update scroll when panel opens 2018-02-05 07:50:23 +01:00
Sergio Crisostomo
8878e4a351 Remove validator function (because:)
We have too many use cases and we cannot access props inside validator
function, so we cannot do proper checking anyway
2018-02-02 14:35:55 +01:00
Sergio Crisostomo
4a1734b77e fix time and time-range parsers 2018-02-02 14:26:44 +01:00
Sergio Crisostomo
a1c88ebaf8 Correct showWeekNumbers cells logic 2018-02-02 11:51:30 +01:00
Sergio Crisostomo
88d24200e8 Fix date toggle in "multiple mode" 2018-02-02 11:36:11 +01:00
Sergio Crisostomo
abb0cc87cf Correct arrows showing in split panels labels 2018-02-02 11:27:53 +01:00
Sergio Crisostomo
b990d2f413 move logic to inside the correct if clause 2018-02-02 11:21:37 +01:00
Sergio Crisostomo
34867ff9a9 normalise empty initial values 2018-02-02 11:21:12 +01:00
Sergio Crisostomo
8d5323069b update panel date on every value change 2018-02-02 10:58:09 +01:00
Sergio Crisostomo
7d6ea205db fix broken spec 2018-02-02 09:30:34 +01:00
Sergio Crisostomo
5092777d17 Fix sort of date arrays 2018-01-31 13:30:01 +01:00
Sergio Crisostomo
73a34dfab5 Fix year/month pre-selection 2018-01-31 12:14:11 +01:00
Sergio Crisostomo
8c16b30149 return empty strings for invalid dates instead of null 2018-01-24 15:07:09 +01:00
Sergio Crisostomo
72f225e938 Fix date manual input so it falls back to old value when parser don't parse the input 2018-01-24 14:54:03 +01:00
Sergio Crisostomo
22ff9a62f2 fix showSeconds flag logic 2018-01-24 13:34:02 +01:00
Sergio Crisostomo
46726afdf4 Fix panels reset on blur and 2018-01-24 13:33:48 +01:00
Sergio Crisostomo
bcf09be744 fix handlePick and remove console.log
removed if/else related to b52e02e436
2018-01-24 11:34:50 +01:00
Sergio Crisostomo
71b68751f8 Fix date/time panel toggle 2018-01-24 11:19:43 +01:00
Sergio Crisostomo
283b90aa38 Fix daterange manual date insertion 2018-01-24 11:15:20 +01:00
Sergio Crisostomo
b5ca23f5ef Use same API for on-change, but add Date object(s) also 2018-01-24 11:01:25 +01:00
Sergio Crisostomo
c2b7fed05f Reset panel selectionMode and positioning on blur 2018-01-24 10:55:42 +01:00
Sergio Crisostomo
15457562ea Reset panel date when dates are null 2018-01-24 10:24:54 +01:00
Sergio Crisostomo
b52e02e436 Fix month|year preselection/shortcut when picking a date 2018-01-24 09:46:07 +01:00
Sergio Crisostomo
5426dcf989 fix specs, fix merge conflicts and cleanup 2018-01-22 14:23:05 +01:00
Sergio Crisostomo
d9ff845f63 Emit input event in mounted if parsed value diffs 2018-01-22 14:21:42 +01:00
Sergio Crisostomo
2fb29faeb1 export utilities and fix multiple dates bugs 2018-01-22 14:21:42 +01:00
Sergio Crisostomo
4863a75d92 Correct logic when manually inputing disabledDates 2018-01-22 14:21:42 +01:00
Sergio Crisostomo
77e43f2b87 Correct year date navigation logic 2018-01-22 14:21:42 +01:00
Sergio Crisostomo
8f6aeda4be Fix parser and formater 2018-01-22 14:21:42 +01:00
Sergio Crisostomo
4ec8bc8af8 Fix month picker value 2018-01-22 14:21:42 +01:00
Sergio Crisostomo
e55ba7a249 Add week numbers 2018-01-22 14:21:42 +01:00
Sergio Crisostomo
ac231c9ab4 examples 2018-01-22 14:20:20 +01:00
Sergio Crisostomo
435bf7814a add split panel props 2018-01-22 14:20:20 +01:00
Sergio Crisostomo
63bd0f7d3f Add start-date prop to force placing of date picker in date 2018-01-22 14:20:20 +01:00
Sergio Crisostomo
4c6836512e improve dev examples 2018-01-22 14:20:20 +01:00
Sergio Crisostomo
d07b4f3301 fix logic for multiple picker 2018-01-22 14:20:20 +01:00
Sergio Crisostomo
95eae081bc refactor Datepicker
refactor Datepicker  to render subcomponents in template instead of
creating new Vue instances
2018-01-22 14:20:20 +01:00
Sergio Crisostomo
0b51803bce Add functions to utils.js 2018-01-22 14:20:20 +01:00
Sergio Crisostomo
ca8e830cc3 move files to subfolders 2018-01-22 14:20:20 +01:00
Sergio Crisostomo
c4e3fe331f move date-range.vue to subfolder 2018-01-22 14:20:20 +01:00
Sergio Crisostomo
e32b86e97f move date.vue to subfolder 2018-01-22 14:20:20 +01:00
梁灏
11867c87a7 update vue-loader & fixed #2795 2018-01-22 19:15:40 +08:00
Aresn
342390e691
Merge pull request #2882 from iview/pr/2867
Pr/2867
2018-01-22 18:09:19 +08:00
梁灏
a646fc36fe optimize box-shadow
use two box-shadow when focus, and a :after to make focus style looks better
2018-01-22 17:47:06 +08:00
Aresn
105af4ee57
Merge pull request #2872 from lison16/menu
update Menu
2018-01-22 13:35:40 +08:00
zhigang.li
5a2efc4a6c update 2018-01-22 13:16:06 +08:00