Commit Graph

273 Commits (787c27c8d9e5a6d8152efd74a1160fc50ef16455)

Author SHA1 Message Date
Jordan Pickwell e86cb785b3 Fix #9121 (#9122) 2018-01-04 10:28:25 +08:00
remizovvv 324ee72446 Picker: Only emit 'change' event when value is changed. (#9029)
* isue#9027 picker emit only real user change

* issue#9027 date-picker emit change if user real change only

* issue#9027 date-picker emit change if user real change only
2017-12-28 16:36:42 +08:00
Leopoldthecoder c69adb0458 publish independent packages 2017-12-20 11:52:49 +08:00
Leopoldthecoder d58814290e Picker: fix blur event 2017-12-12 15:54:29 +08:00
wangshaobo b566c6156d Add Document for AM/PM `A` time format 2017-12-10 16:16:20 +08:00
firesh f5aa24e419 DatePicker: add am/pm mode in time selector (#8620)
* time-picker: add am/pm mode in time selector (#8270)

* time-picker: add 'hh:mm:ss A' format test

* time-picker: add am/pm mode in time selector (#8270)

* time-picker: add am/pm mode in time selector (#8270)

* time-picker: add am/pm mode in time selector (#8270)

* Update time-spinner.vue

* Update time-spinner.vue

* Update time-spinner.vue
2017-12-04 13:44:49 +08:00
Leopoldthecoder 0462d9ce1a DatetimePicker: disable inputs when selecting range 2017-11-23 19:22:16 +08:00
Leslie 55617e0d1a DatetimePicker: fix max time error when init value is empty (#8336)
1.no init data
2.click start time and comfirm
3.click end time and comfirm(the end time is not change)
4.error
reason:
not evaluate 'maxDate' value in step1
I will show more details in conversation
2017-11-23 19:15:16 +08:00
Leopoldthecoder 5406a97359 Chore: misc updates 2017-11-17 12:46:52 +08:00
Chris Anderson 52bbf4f3e1 Fixes #7959 by providing aria labels for buttons 2017-11-03 10:26:30 +08:00
Leopoldthecoder 343e9fa438 DatePicker: fix editable and readonly in range pick 2017-11-01 11:51:37 +08:00
胡明昊 fecc38f495 DatePicker: fix bug for wrong year number when week cross the year like 2014/12/29 2017-10-31 14:24:10 +08:00
Leopoldthecoder 146e02c4a3 DatePicker: workaround for Chromium 55 - 57 2017-10-30 04:03:19 -05:00
Leopoldthecoder 8479b2fbaf bug fixes 2017-10-28 03:10:52 -05:00
wacky6.AriesMBP 07acf66a69 picker: fix clear value 2017-10-25 23:48:47 -05:00
Leopoldthecoder 00e8c7454f misc updates and fixes 2017-10-25 22:21:35 -05:00
wacky6.AriesMBP c856d9268b date-picker: support array for name attr 2017-10-25 21:48:55 -05:00
Leopoldthecoder 6e65590775 DatePicker: register el-button 2017-10-23 21:18:11 -05:00
Leopoldthecoder 917b8e78f2 theme-chalk tuning 2017-10-23 21:18:11 -05:00
杨奕 7d55d47b67 some style updates (#7603)
* some style updates

* fix a datepicker typo
2017-10-20 01:03:34 -05:00
Jiewei Qian af46f968ab DatePicker: Daylight Saving Time (#7599)
* date-table: fix daylight saving time highlight

* test: update date-picker range test
2017-10-19 22:06:44 -05:00
Black Wayne 457f9f97ed DatePicker: add unlink-panels (#7537) 2017-10-19 01:09:05 -05:00
Leopoldthecoder bd0114454e DatePicker: fix disabled in range mode 2017-10-18 23:16:31 -05:00
wacky6.AriesMBP 55bc6f35ba date-picker: fix value-format change event 2017-10-16 23:11:50 -05:00
wacky6.AriesMBP 7ceecce564 date-picker: fix typo, fix value-format parsing 2017-10-16 18:18:05 -05:00
杨奕 38459ae850 update dependencies (#7476)
* update el-input change event

* upgrade to vue 2.5.0

* upgrade webpack to 3.7

* upgrade vue to 2.5.2

* minor style updates
2017-10-16 14:07:24 +08:00
Black Wayne 9b09f6aa9f Form: add size attribute (#7428) 2017-10-12 04:50:06 -05:00
Jiewei Qian 83245f846d DatePicker: fix date time picker cancel (#7442)
* date-time-picker: fix cancel button

* test: add date-time-picker tests
2017-10-11 21:46:16 -05:00
Leopoldthecoder 553e89568b TimePicker: add arrow-control 2017-10-11 05:34:08 -05:00
Leopoldthecoder 9dcc4eb0b7 Docs: add algolia search 2017-10-10 05:23:42 -05:00
Jiewei Qian f93798446e *-picker: refactor (#7367)
* Revert "Picker only emit user change (#6214)"

This reverts commit 1912c473ef.

* picker/util: add helper methods

range: n => Array
modify{Date, Time}: Date => Date
clear{Time, Milliseconds}: Date => Date
limitTimeRange: Date => Date
timeWithinRange: Date, [Date] => Boolean

* time-spinner: refactory

* time-panel: refactory

* picker refactory

* date-panel, *-table: refactory

* time-select: refactory

* test: update time-picker

* test: update date-picker

* time-range: refactory

* date-range: refactory

* test: update time-select

* test: update form date-picker/time-picker

* docs: update date-picker
2017-10-10 04:49:41 -05:00
杨奕 e089516e36 Changelog: update for 2.0.0-alpha.1 (#7303)
* minor updates & fixes

* Changelog: update for 2.0.0-alpha.1

* update zh installation doc

* update demo block scroll
2017-09-30 02:57:08 -05:00
Leopoldthecoder 257473f305 Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	examples/app.vue
#	examples/docs/en-US/tree.md
#	examples/docs/zh-CN/tree.md
#	examples/versions.json
#	packages/select/src/select.vue
#	packages/theme-default/package.json
2017-09-29 16:21:29 +08:00
Leopoldthecoder a4eb891a21 DatePicker: fix initial value of [] in range type 2017-09-26 19:32:49 -05:00
Leopoldthecoder ffe6b8933c DatePicker: fix date input format 2017-09-23 02:06:40 -05:00
杨奕 9acdc8e4c3 DatePicker/TimePicker: add chalk theme (#7169)
* DatePicker/TimePicker: add chalk theme

* minor updates
2017-09-22 23:46:37 -05:00
Dreamacro 1912c473ef Picker only emit user change (#6214)
* only emit user change for timepicker and datepicker

* Test: remove custom timeout
2017-09-20 01:34:49 -05:00
Leopoldthecoder b922664aa6 Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	examples/docs/en-US/input.md
#	examples/docs/zh-CN/input.md
2017-09-20 12:23:38 +08:00
Leopoldthecoder dba797416e DatePicker: fix disabled dates for the west hemisphere 2017-09-19 23:07:35 -05:00
杨奕 ad88dd2ec7 TimePicker: add chalk theme (#7102)
* TimePicker: add chalk theme

* minor style fixes
2017-09-19 09:35:57 -05:00
baiyaaaaa 6e31e61516 support success validate status 2017-09-18 00:37:43 -05:00
wacky6.AriesMBP d35ae01042 DatePicker: support default-value for date-range 2017-09-17 21:46:31 -05:00
Leopoldthecoder 43ecb8818c Merge branch 'dev' into carbon
# Conflicts:
#	packages/date-picker/src/panel/time.vue
2017-09-14 19:33:49 +08:00
Leopoldthecoder a750f5d6b1 TimePicker: fix cancel button 2017-09-14 05:39:54 -05:00
QingDeng adf357fb36 DatePicker:fix month status check Bug
fix month status check Bug
2017-09-03 20:46:23 +08:00
Leopoldthecoder ef61460688 Merge branch 'carbon-1' into carbon 2017-09-01 10:56:25 +08:00
QingDeng 5f05fd18fd TimePicker:fix hour selection can't select 23 bug 2017-08-28 11:20:35 +08:00
杨奕 c7ce5c78ce Update month-table.vue 2017-08-19 19:49:00 +08:00
lingchenxuan 74970c8bde DatePicker: fix month viewer disable date bug 2017-08-19 19:49:00 +08:00
Leopoldthecoder d6f3be8354 DatePicker: support amPm i18n 2017-08-18 14:57:51 +08:00
Dreamacro a1324324a2 DateTimePicker: limit timepicker (#6076)
* fix: #5045

* fix: #5045
2017-08-13 12:00:33 +08:00
Leopoldthecoder e3aa5ac594 Merge branch 'dev' into carbon 2017-08-09 12:37:42 +08:00
Leopoldthecoder 22aae94936 DatePicker: fix fecha i18n not responsive 2017-08-09 09:55:00 +08:00
Dreamacro 5b7a40e951 DateTimePicker: add timeformat for datetimerange (#6052)
* DateTimePicker: add timeformat for datetimerange

* fix
2017-08-05 16:44:53 +08:00
Dreamacro 5d097a0a4a DatePicker: picker interaction (#6090)
* DatePicker: fix picker interaction

* DatePicker: fix picker interaction

* fix

* DatePicker: fix picker interaction
2017-08-05 16:35:42 +08:00
Dreamacro 97183e3bc6 DatePicker: support keyboard control (#6131)
* DatePicker: support keyboard control

* DatePicker: support keyboard control

* update test timeout

* fix space
2017-08-01 19:04:31 +08:00
baiyaaaaa 258a165416 add name prop to form components (#6042)
add name prop

Revert "feature menu collapse"

This reverts commit e5ef11d87825f02357c434aedfcef79192600b1b.
2017-07-30 16:26:05 +08:00
Dreamacro de28477064 TimePicker: support keyboard control (#6050)
* TimePicker: support keyboard control

* fix time-range

* fix timeformat
2017-07-30 16:23:01 +08:00
Dreamacro 5afe091c0e TimeSelect: support select with up & down (#6023)
* TimeSelect: support select with up&down

* using map & indexOf instead of findIndex

* fix select when time disabled

* fix ArrowUp

* TimeSelect: valid data when component blur or enter

* fix: #2514
2017-07-30 16:08:58 +08:00
Dreamacro b86fc3e13c fix implement 2017-07-30 15:46:11 +08:00
Dreamacro df16836163 DatePicker: close timepicker before dodestroy 2017-07-30 15:46:11 +08:00
Dreamacro e4f52e9221 DatePicker: fix emit pick 2017-07-27 14:36:25 +08:00
Leopoldthecoder 1cecdbc057 Merge branch 'dev' into carbon 2017-07-24 19:13:02 +08:00
Leopoldthecoder fc2704fb71 Changelog: update for 1.4.0 2017-07-21 13:53:57 +08:00
Leopoldthecoder 96f542e024 Merge branch 'dev' into carbon 2017-07-20 20:51:59 +08:00
Dreamacro 0a2dd8bd53 Add focus method for some form component 2017-07-20 16:50:38 +08:00
liyangworld 3cf5fd94c6 date-picker : fix disabledDate bug 。
未改之前,设置禁用日期后,年和月的禁用状态不准。因为只选取了年和月的某一天进行判断。修改为年和月的每一天都进行判断。
2017-07-20 14:25:55 +08:00
ChuckFields be6cc78004 DateTimePicker: Fixes DateTinePicker format is not taken into the picker itself #4931 (#5293)
* DatePicker: Fix Typing a date and tabbing does not close the calendar #4948

* DatePicker: Fix Typing a date and tabbing does not close the calendar #4948 -Updated test case

* Fixes #4931
2017-07-20 14:15:03 +08:00
Leopoldthecoder d791775683 DatePicker: fix align=center 2017-07-20 11:33:55 +08:00
wacky6.AriesMBP a32a3ef88b TimeSelect: auto scroll to selected option 2017-07-20 11:16:37 +08:00
杨奕 2106eea52c DatePicker: set milliseconds to 0 (#5663) 2017-07-05 16:34:24 +08:00
杨奕 005415143c DatePicker: use fecha i18n (#5485) 2017-06-21 12:04:38 +08:00
Leopoldthecoder 3f7cf2dcc7 Changelog: update for 1.3.7 2017-06-18 21:22:25 +08:00
rodrigore 7986126ab4 DatePicker: Fix year picker 2017-06-18 20:21:56 +08:00
Leopoldthecoder 3cc37e4df4 publish independent packages 2017-06-09 20:18:40 +08:00
patriciussanctus 433a66cc40 Picker: esc => close and stop 2017-06-09 19:04:56 +08:00
ChuckFields 66cad95a4b DatePicker: Fix Typing a date and tabbing does not close the calendar #4948 (#5149)
* DatePicker: Fix Typing a date and tabbing does not close the calendar #4948

* DatePicker: Fix Typing a date and tabbing does not close the calendar #4948 -Updated test case
2017-06-09 18:41:30 +08:00
Leopoldthecoder cb2e43f696 fix DatePicker and Select bug 2017-06-09 16:22:02 +08:00
emododu 6563a3a804 DatePicker: timezone 2017-06-03 17:45:39 +08:00
emododu 3284e0a662 DatePicker: timezone 2017-06-03 17:45:39 +08:00
Iaroslav Mamalat 7e1c5958a2 DatePicker: bump version (#4912) 2017-06-01 07:42:06 +08:00
wacky6 3902bcc3e8 DatePicker: fix, add test for unwanted 'input' event emission
Fixes issue: https://github.com/ElemeFE/element/issues/4624
2017-05-13 18:36:31 +08:00
Leopoldthecoder 595271f463 DatePicker: update week when value changes 2017-05-10 19:53:48 +08:00
wacky6 6ee73f7715 DatePicker: fix, add test for default-value 2017-05-03 18:35:18 +08:00
杨奕 d892b0a33d Update date.vue 2017-04-28 14:24:03 +08:00
杨奕 653ad34c75 Update date.vue 2017-04-28 14:24:03 +08:00
ousiri 313ec8de51 DatePicker: 当format不包括秒时,时间下拉菜单不展示ss 2017-04-28 14:24:03 +08:00
CoffeeDeveloper 4243920a17 DatePicker: make type responsive(#4417) 2017-04-28 12:28:09 +08:00
wacky6.AriesMBP 3fe9acf294 DatePicker: supports default value
default-value sets a default value when picker opens
2017-04-28 12:09:37 +08:00
pengchongfu ed4b666167 TimePicker: adjust number position, fixed #4323 2017-04-25 10:46:35 +08:00
xingoxu 46650289b7 DatePicker: fix date not disabled when type=datetime and input by text 2017-04-21 13:44:08 +08:00
pengchongfu 9be5a40b3f DatePicker: set default value when clear, fix #4135 (#4186) 2017-04-19 18:05:18 +08:00
Marcel Eschmann 658a91ee23 DatePicker: Fix repository url (#3985) 2017-04-05 10:40:53 +08:00
cinwell.li eac95e99c4 DatePicker: fix setMonth, fixed #3923 (#3935) 2017-04-01 10:55:48 +08:00
cinwell.li 01d747358b TimePicker: fix time calculation error, fixed #3479 (#3721) 2017-03-28 15:07:45 +08:00
cinwell.li 43bb065e69 DatePicker: fix format week, fixed #2774 (#3687) 2017-03-24 15:44:23 +08:00
cinwell.li 8f9b473911 DatePicker: add onPick option, close #2921 (#3681)
* DatePicker: add onPick option, close #2921

* DatePicker: fix typo
2017-03-24 15:32:34 +08:00
cinwell.li fd42bf1efc DatePicker: fix defualt selected in weekpicker, fixed #3058 (#3680) 2017-03-24 15:10:17 +08:00
杨奕 e695088606 DatePicker: fix range-separator not working with more than one instances (#3378) 2017-03-09 15:53:25 +08:00
qingwei.li 58c19ebaf0 DatePicker: fix time range 2017-02-22 17:46:36 +08:00