Commit graph

132 commits

Author SHA1 Message Date
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
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
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
Graham Fairweather
e6029f1d5d Fix: Missing steps attribute in time range. 2017-12-06 13:28:34 +01:00
梁灏
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