DDDDD12138
d4bb395291
fix(components): [date-picker] support remove same months from different years ( #20020 )
...
* fix: support selecting same months from different years
* feat: add test case
* chore: adjust description
2025-03-07 09:51:08 +08:00
知晓同丶
bb4d0535bc
fix(components): [date-picker] add user input validation ( #20021 )
...
* fix(components): [date-picker] add user input validation
closed #19841
* refactor: rename `checkUserInput` to `correctlyParseUserInput`
2025-03-06 16:17:59 +08:00
xingyixiang
f932ea2dcb
fix(components): [date-picker] change triggers twice when clearing ( #19804 )
...
* fix(components): [date-picker] change triggers twice when clearing
* fix(components): [date-picker] change triggers twice when clearing
* fix(components): [date-picker] add test
* fix(components): [date-picker] add test
* fix(components): [date-picker] add test
* fix(components): [date-picker] add test
2025-03-03 15:47:34 +08:00
qiang
845c07adef
feat(components): [date-picker] accessibility enhancement ( #18109 )
...
* feat(components): [date-picker] accessibility enhancement
closed #14150
* docs: update
* test: add test
* chore: change prevent to passive
* fix: long press the clear icon to open the time panel
* fix: cannot read $el
* fix: cannot read $el
* docs: updata
2024-10-27 12:14:53 +08:00
qiang
7017d19260
fix(components): [tooltip] change ariaHidden value after closed the dropdown ( #18207 )
...
* fix(components): [tooltip] change ariaHidden value after closed dropdown
closed #17720
* test: fix test
2024-09-10 15:58:53 +08:00
xingyixiang
9aa70ecd4e
fix(components): [date-picker] disabledDate is invalid when selecting year or month picker ( #15848 )
...
* fix(components): [date-picker] props.disabledDate is invalid
when selecting year or month picker
* test(components): [date-picker] props disabledDate
* fix(components): [date-picker] props.disabledDate is invalid
* fix: test
* fix: error
* fix: Disable time validation for date selectors of years and months
* fix: test
* fix: [date-picker] props.disabledDate is invalid
* fix: [date-picker] props.disabledDate is invalid
---------
Co-authored-by: qiang <qw13131wang@gmail.com >
2024-08-11 19:25:01 +08:00
btea
e815102d70
test(components): default slot test case with type of month or year ( #17837 )
2024-08-10 11:57:12 +08:00
lyric-zemin
d608f25170
fix(components): [date-picker] Return to normal when reopened ( #11802 )
...
* fix(components): [date-picker] Return to normal when reopened
closed #11612
* fix(components): [date-picker] Return to normal when reopened
* test(components): [date-picker] update test
* fix: repeatedly calling the onReset function
---------
Co-authored-by: wu.zeMin <244@qq.com >
Co-authored-by: qiang <qw13131wang@gmail.com >
2024-08-09 12:49:14 +08:00
btea
2c1b1ca62c
fix(components): [date-picker] slot not take effect when type is month ( #17748 )
...
* fix(components): [date-picker] slot not take effect when type is month
* feat: type year support slot
* fix: type
* fix: update
* style: update
* fix: test
2024-08-09 11:15:53 +08:00
Robert Zeng
8692965e80
feat(components): [date-picker] add type yearrange for DatePicker ( #14804 )
...
* fix(components): fix bug #14637
* refactor(components): [el-button]update props autoBlur name
* docs(components): [el-button] update docs ablout props clickAutoBlur
* fix(components): [date-picker] fix bug #14728
* feat(components): [date-picker] add yearrange
* feat(components): [date-picker] update yearrange codes
* feat(components): [date-picker]fix select range ui bug
* refactor(components): [date-picker]convert setup() to setup, add TS type
* refactor(components): refactor pane-year-range
* refactor(components): [date-picker] refactor panel-year-range styles
* docs(components): [date-picker] update year-range docs #6388 #2487 #7051
* style(components): [date-picker] remove repeat css
* feat(components): [date-picker]add yearrange unit test
* fix(components): [date-picker] fix unit test case failed error
* fix(components): [date-picker] resolve some pr problems
* docs(components): [yearrange] update docs
* fix(docs): [yearrange] update example of year-range
* refactor(components): [date-picker] resolve some code review suggestions
* fix(components): [date-picker] resolve some CR problems
* refactor(components): [date-picker] resolve some CR conversations
* refactor(components): [date-picker] uniform date compute logic
* fix(components): [date-picker] error occurs when mannul input the date
* refactor(components): [date-picker] resolve some CR conversations
* refactor(components): [date-picker] resolve some CR conversations
* refactor(components): [date-picker] resolve some CR conversations
* refactor(components): [date-picker] optimize YearTableClick func
---------
Co-authored-by: 曾咏波 <cherishtheyouth@qq.com >
Co-authored-by: yongbo.zeng_U+ <yongbo.zeng@united-imaging.com >
Co-authored-by: upthen <zyb.6616@icloud.com >
2024-08-08 11:32:58 +08:00
Masanori Doizaki
76b0ab0a5d
fix(components): [date-picker] fix user input error in monthrange ( #12943 )
...
* fix(components): [date-picker] monthrange类型选择器在输入结束后报错
* fix: the format change
---------
Co-authored-by: qiang <qw13131wang@gmail.com >
2024-08-03 21:39:42 +08:00
Panzer_Jack
dbfa93bab1
feat(components): [date-picker] type add months params ( #17342 )
...
* feat(components): [date-picker] `type` add `months` params
closed #17317
* feat(components): [date-picker] optimized code
* docs(components): [date-picker] enhanced multiple selection example
* test(components): [date-picker] add test
---------
Co-authored-by: Panzer_Jack <shenchang@bilibili.com >
2024-07-19 11:47:25 +08:00
锌小子
605499699e
fix(components): [date-picker] support dynamic setting of format ( #17161 )
...
* fix(components): [date-picker]
change format will not update component
closed #17149
* test(components): [date-picker]
Add a test case for supproting dynamic format
* test(components): [date-picker]
correct test case
---------
Co-authored-by: 张东 <A80784@internet.com >
Co-authored-by: zhangdong <a80369@gree.com.cn >
2024-06-21 15:25:08 +08:00
kooriookami
1163d27f71
feat(components): add empty-values and value-on-clear props ( #16361 )
...
* feat(components): add empty values
* feat(hooks): update
* feat(components): update
* feat(components): update
* feat: update
* feat(components): update
* feat(components): update
* feat(components): update
* feat: update doc
* feat: add doc
2024-04-12 13:33:21 +08:00
Ganlvin
b1926d59aa
fix(components): [date-picker] click the clear to reset the date panel ( #15835 )
...
* fix(components): [date-picker] click the clear to reset the date panel
* test: add test case
---------
Co-authored-by: qiuwenlang <v_wlaqiu@tencent.com >
Co-authored-by: btea <2356281422@qq.com >
2024-03-29 08:10:10 +08:00
betavs
0e1f6ffaa0
fix(components): [date-picker] selected value comparison logic error ( #15918 )
...
* fix(components): [date-picker] selected value comparison logic error
* test(components): [date-picker] selected value comparison logic error
* perf(components): [date-picker] selected value comparison logic error
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com >
---------
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com >
2024-02-28 12:09:47 +08:00
Xc
972f236a12
fix(components): [date-picker] add first click demo ( #15252 )
2023-12-25 10:50:10 +08:00
一只前端汪
cba217228f
feat(components): [date-picker] add dateFormat and timeFormat props ( #14330 )
...
* fix(components): [time-picker] extractDateFormat extractTimeFormat
* fix(components): [time-picker] Provide default return values
* feat(components): [date-picker] add dateFormat and timeFormat props
* feat(components): [date-picker] update demo
* Update docs/en-US/component/datetime-picker.md
Co-authored-by: btea <2356281422@qq.com >
* Update docs/en-US/component/datetime-picker.md
---------
Co-authored-by: qiang <qw13131wang@gmail.com >
Co-authored-by: btea <2356281422@qq.com >
2023-10-13 11:18:23 +08:00
inottn
a661de2482
fix(components): [date-picker] fix the logic of checking the date range ( #13377 )
2023-08-24 11:20:13 +08:00
kamesan012
b8e474089b
fix(components): fix the attribute conflict ( #13504 )
...
* fix(components): fix the attribute conflict
When value is input by shortcut, it's value will not be changed by defaultTime anymore
closed #13483
* fix(components): change param to pass the test
* fix(components): delete unnecessary changes
* fix(components): use let to replace ref variable
* fix(components): add test cases
2023-08-15 23:02:45 +08:00
Evan Liu
f2b6e1eb2b
chore(components): [date-picker] correct typo in test file ( #13876 )
2023-08-06 09:27:55 +08:00
btea
93b230166c
fix(components): [date-picker] disable button if now is disabled ( #13655 )
...
* fix(components): [date-picker] disbale button if now is disabled
* fix: test
* chore: add test
2023-07-29 19:21:48 +08:00
zz
8ab9d9ce95
fix(components): [date-picker] remove extra prop in unit test ( #9822 )
2022-09-19 19:54:21 +09:00
João Gonçalves
198dd0ae43
feat(components): [date-picker] add open and close handlers ( #9571 )
...
* feat(components): [date-picker] add handleOpen and handleClose methods
* chore: update date-picker docs
* chore: update date-picker docs
* feat(components): [date-picker] add handleOpen and handleClose methods
* fix: update the handlers description in the docs
Co-authored-by: João Gonçalves <jandretgoncalves@gmail.com >
2022-09-01 21:59:29 +08:00
LIUCHAO
718c23c923
refactor(components): [date-time-picker] use JSX in Unit test ( #9520 )
2022-09-01 18:56:53 +08:00
LIUCHAO
9f42ce8694
fix(components): [date-picker] disabled year not selectable ( #8414 )
...
closed #8409
2022-07-04 21:41:15 +08:00
三咲智子
7097940f4a
refactor: add ts-nocheck and check all files ( #8401 )
2022-06-22 08:04:42 +08:00
gjfei
884b0d71b7
fix(components): [time-picker] filter invalid value ( #8119 )
2022-06-08 11:16:44 +08:00
Giwayume
1758b12c7d
Fix/focus trap datepicker pick ( #8085 )
...
* fix(components): [focus-trap] escape while trapped
* fix(components): [date-picker] click to reopen while focused input
Co-authored-by: OpenGraphica <opengraphica@gmail.com >
2022-06-04 14:58:01 +08:00
opengraphica
cced377628
fix(components): [picker] Click to focus fires emit ( #8001 )
2022-05-31 10:04:45 +08:00
JeremyWuuuuu
bea3b1e7d7
refactor(components): [date-picker] date-range ( #7931 )
2022-05-27 21:19:42 +08:00
云游君
eafb60f89f
fix(theme-chalk): [DatetimePicker] change inner to wrapper & use css var ( #7703 )
...
* fix(theme-chalk): [DatetimePicker] change inner to wrapper & use css var for width
* test: use wrapper to fix test
2022-05-19 13:57:15 +08:00
lily-elephant
89b3239528
fix(components): date-picker add keydown events( #7506 ) ( #7536 )
...
* fix(components): date-picker add keyup events(#7506 )
* Update picker.vue
feat(components): keyup变更为keydown
* Update picker.vue
fix(components): picker delete superfluous code
* Update picker.vue
fix(components): emit事件
* feat: date-picker & timer-picker add unit test
* feat: picker add unit test expected results
* Update time-picker.test.ts
feat: 去除lint error
2022-05-16 21:10:06 +08:00
opengraphica
42ff59fc39
feat(components): [date-picker] work with modal focus trap; a11y controls and attributes ( #7598 )
...
* feat(components): [date-picker] a11y controls and attributes
* feat(components): [date-picker] keyboard controls for picker
* feat(components): [date-picker] unit test complete
* feat(components): [date-picker] remove immediate watch date
2022-05-10 21:51:17 +08:00
JeremyWuuuuu
7dc51f57e6
fix(components): [pickers] text button issue ( #7530 )
2022-05-06 13:16:44 +08:00
opengraphica
7173e402b7
feat(components): [form-item] auto attach labels to inputs ( #7450 )
...
* feat(components): [form-item] auto attach labels to inputs
* feat(components): [form-item] auto-attach up through select
* feat(components): [form-item] auto id complete for all inputs
* feat(components): [form-item] fix lint, remove unused usePopper hook
* feat(components): [form-item] PR comments
2022-05-05 22:04:32 +08:00
三咲智子
1d13ebb05d
feat: drop jest ( #7248 )
...
* feat: drop jest
* test: remove ssr
* test: rename
* chore: update tsconfig
2022-04-19 16:51:44 +08:00
Delyan Haralanov
de0ee53cf0
test(components): switch all components to vitest ( #7205 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe >
2022-04-19 12:46:57 +08:00
gjfei
e179ee6960
refactor(components): [time-picker] use useNamespace ( #6523 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe >
2022-03-23 22:58:43 +08:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules ( #6476 )
...
* chore: enhance eslint rules
* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
三咲智子
6503e55277
refactor(utils): migrate utils ( #5949 )
...
* refactor(utils-v2): migrate utils
* refactor(utils-v2): migrate utils
* refactor(utils-v2): migrate utils
* refactor(utils): remove
* refactor(utils): rename
* refactor(utils): move EVENT_CODE to constants
* refactor: remove generic
2022-02-11 11:03:15 +08:00
三咲智子
b80e5c69e9
refactor(hooks): refactor popup manager to useZIndex ( #5701 )
2022-02-09 16:31:31 +08:00
Alan Wang
a73f34844c
fix(components): [el-date-picker]make defaultValue be reactive ( #4808 )
...
* fix(components): [el-date-picker]make defaultValue be reactive
* fix(components): [el-date-picker]change toRefs to toRef
* Update packages/components/date-picker/__tests__/date-picker.spec.ts
Co-authored-by: btea <2356281422@qq.com >
* update date-picker.spec.ts
Co-authored-by: btea <2356281422@qq.com >
2022-01-19 16:48:22 +08:00
msidolphin
8a9747310e
feat(components): [el-date-picker] add panel change event ( #5304 )
...
* feat(components): [el-date-picker] add panel change event
* docs: [el-date-picker] add panel change event
2022-01-18 10:37:27 +08:00
0song
2606778d30
fix: fix DateRangePicker custom style & class bug ( #5300 )
2022-01-11 14:27:45 +08:00
Carter Li
5062ff106b
fix(components): make Datepicker value-format="x" emit number timestamp value ( #5187 )
2022-01-09 12:42:08 +08:00
msidolphin
53c3724b85
fix(components): [el-date-picker] ignore special flag ( #5200 )
...
fix #5067
2022-01-08 19:41:56 +08:00
jeremywu
dd19cae2bc
refactor(components): popper composables ( #5035 )
...
* refactor(components): popper composables
- Refactor popper composables
* updates
* updates for tooltip
* Updates for popper. TODO: fix controlled tooltip animation
* Fix controlled mode popper animation issue
* Add new feature for customizing tooltip theme
* Fix popover and popconfirm error
* - Add Collection component for wrapping a collection of component
- Add FocusTrap component for trap focus for popups
- Add RovingFocus component for roving focus component type
- Adjust dropdown component based on these newly added components
- Add popper-trigger component for placing the trigger
- TODO: Finish current dropdown component, and all component's tests plus documents
* Refactor popper
* Complete organizing popper
* Almost finish dropdown
* Update popper tests
* update only-child test
* Finish focus trap component test
* Finish tooltip content test
* Finish tooltip trigger tests
* Finish tooltip tests
* finish tests for Collection and RovingFocusGroup
* Fix test cases for timeselect & select & popover
* Fix popover, popconfirm, menu bug and test cases
* Fix select-v2 test error caused by updating popper
* Fix date-picker test issue for updating popper
* fix test cases
* Fix eslint
* Rebase dev & fix tests
* Remove unused code
2022-01-04 09:15:15 +08:00
云游君
2b209fd760
fix(components): input-number/input/dropdown/select/badge details ( #4866 )
2021-12-28 19:38:23 +08:00
btea
81efc44c3b
fix(components): [date-picker] filter custom content comment ( #4651 )
2021-12-11 12:35:47 +08:00