Commit Graph

251 Commits (9a2f6897c7ca7b5862f76a4986ba6981bf1ad19b)

Author SHA1 Message Date
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
cinwell.li 5631a49c64 DatePicker: fix time spinner style (#2961) 2017-02-22 16:37:44 +08:00
Diamond 1b8657ce0d pass test
find other bug and fixed it-
2017-02-22 11:54:35 +08:00
Diamond 87b842cfa3 fixed #2071 change the time-picker style and scroll compute 2017-02-22 11:54:35 +08:00
youngerheart 99e8d11910 picker: fix time and bug for value validate 2017-02-14 11:30:29 +08:00
qingwei.li 5fc34777b7 DatePicker: fix marks are displaced when type is range, fixed #2612 2017-02-13 19:08:45 +08:00
Leopoldthecoder 3243b8fc98 Merge branch 'dev' into 1.2-merge1
# Conflicts:
#	package.json
#	src/utils/popup/index.js
#	yarn.lock
2017-02-09 17:33:42 +08:00
Leopoldthecoder d888e44cc2 Publish
- element-carousel@1.0.0
 - element-table@1.0.0
 - element-upload@1.0.0
 - element-datepicker@1.0.0
 - element-loading@1.0.0
 - element-pagination@1.0.0
2017-01-23 17:20:52 +08:00
Leopoldthecoder 4d899d4a4d reset version number of Table and DatePicker 2017-01-23 16:17:16 +08:00
qingwei.li 82932c0040 DatePicker: add range-separator prop, close #2568 2017-01-23 15:49:44 +08:00
qingwei.li 1f53559c20 DatePicker: fix toDate, fixed #2538 2017-01-23 14:07:05 +08:00
cinwell.li 9f5c08e6e6 Clean packages (#2345) 2017-01-23 14:06:01 +08:00
baiyaaaaa 20fabc7b09 change vue-pomper 'options' to 'popperOptions' 2017-01-18 17:36:37 +08:00
baiyaaaaa 9898ac49e1 Merge pull request #2390 from QingWei-Li/fix/datepicker/value
DatePicker: fix null value shows 1970, fixed #2388
2017-01-13 14:57:44 +08:00
qingwei.li 92d5522c37 DatePicker: fix null value shows 1970, fixed #2388 2017-01-13 13:43:46 +08:00
qingwei.li 024ff2a96c DatePicker: fix firstDayOfWeek is not work when the daterange type, fixed #2353 2017-01-12 16:29:55 +08:00
Francisco Neves cbce532ab4 Fix year label space in year picker 2017-01-05 16:14:31 +00:00
baiyaaaaa 3574e62cb6 Merge pull request #2171 from QingWei-Li/fix/datepicker/change
DatePicker: fix change event no trigger when setting the initial valu…
2017-01-05 15:12:50 +08:00
baiyaaaaa 7562e82bf6 Merge pull request #2195 from QingWei-Li/fix/datepicker/date
Fix the next year is calulated incorrectly, fixed #2152
2017-01-05 11:23:57 +08:00
qingwei.li 02e1cb84ee Fix the next year is calulated incorrectly, fixed #2152 2017-01-04 14:33:58 +08:00
qingwei.li 9ee7afc1c5 TimeSelect: fix maxTime range, fixed #2158 2017-01-03 18:54:37 +08:00
qingwei.li 1bdecf9c39 DatePicker: fix change event no trigger when setting the initial value, fixed #2167 2017-01-03 18:27:48 +08:00
qingwei.li 560d31982b TimePicker: fix range timepicker 2016-12-30 15:18:03 +08:00