Commit graph

171 commits

Author SHA1 Message Date
Sergio Crisostomo
90ebd5a72c Expose changed date component 2018-04-11 14:31:14 +02:00
Sergio Crisostomo
6d8c5666a5 Correct logic for side panel date 2018-04-11 08:39:54 +02:00
Aresn
eeeceb5446
Merge pull request #3314 from SergioCrisostomo/fix-3246
Allow disableDate function to limit time-spinner numbers
2018-04-10 17:30:24 +08:00
Aresn
92513e8b5f
Merge pull request #3316 from SergioCrisostomo/fix-3277
compute calendar so we react on showWeekNumbers changes
2018-04-10 17:13:24 +08:00
Sergio Crisostomo
524dc2a5f6 Fix date parsing
Fixes #3232
2018-04-06 23:16:44 +02:00
Sergio Crisostomo
3cd62242a8 Allow disableDate function to limit time-spinner numbers
Fixes #3246
2018-04-06 23:15:20 +02:00
Sergio Crisostomo
5ca5a6eb98 compute calendar so we react on showWeekNumbers changes
fixes #3277
2018-04-06 16:09:29 +02:00
Aresn
f13df74fef
Merge pull request #3176 from SergioCrisostomo/fix-3158
Always apply same increment to not splited panels
2018-03-20 09:58:49 +08:00
Sergio Crisostomo
94790b84e7 Fix type passed when no value is given for timerange 2018-03-16 11:49:55 +01:00
Sergio Crisostomo
4b082de222 Always apply same increment to not splited panels 2018-03-16 11:16:44 +01:00
huanghong
e09b07b79c 解决drop弹出动画异常 2018-03-16 00:43:11 +08:00
Sergio Crisostomo
02859de9b1 Use the last picked date as reference for the date panel 2018-03-05 08:59:25 +01:00
Sergio Crisostomo
2332ac9bff Fix error in formater for multiple values 2018-03-05 08:48:25 +01:00
Aresn
c3beef276c
Merge pull request #3091 from SergioCrisostomo/datepicker
Allow DatePicker to receive TimePicker options
2018-03-05 09:59:52 +08:00
Sergio Crisostomo
79ac2457fd Allow DatePicker to receive TimePicker options 2018-03-03 12:51:53 +01:00
Aresn
ab3ff750a3
Merge pull request #3070 from SergioCrisostomo/datepicker
Pass Strings to @on-change and Dates to v-model
2018-02-27 18:22:19 +08:00
Sergio Crisostomo
b42322fe06 Pass Strings to @on-change and Dates to v-model 2018-02-27 11:01:06 +01:00
梁灏
226c7f3dd0 Merge branch '2.0' of https://github.com/iview/iview into 2.0 2018-02-27 16:21:03 +08:00
梁灏
f8bba1ac99 fixed DatePicker style in range type 2018-02-27 16:20:58 +08:00
Sergio Crisostomo
c10c5aae55 Prevent clicking in week number label 2018-02-27 08:35:28 +01:00
Sergio Crisostomo
57f0582b71 Pass correct arguments to on-change callback 2018-02-11 20:46:22 +01:00
Sergio Crisostomo
ebf1f86b12 show only 1 date in preselecting mode 2018-02-08 11:46:28 +01:00
Sergio Crisostomo
e8a990f54f hide ranges in month and year tables 2018-02-08 11:46:10 +01:00
Sergio Crisostomo
a781ad1a11 hide range and selections outside currentMonth 2018-02-08 11:45:51 +01:00
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
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