91 Commits

Author SHA1 Message Date
btea
a170f52aa1 test: eliminate interfering logs (#23370) 2026-01-13 23:11:17 +01:00
rzzf
7b2180961c test(components): update outdated date-based test assertions (#23266)
* test(components): [calendar] fix controller-type test case

* fix: update

* test: date-picker
2026-01-01 13:53:44 +01:00
Noblet Ouways
2c8aa9356c fix(components): [date-picker] trigger clear evt in footer slot (#23174)
* fix(components): [date-picker] trigger clear evt in footer slot

closed #23173

* test: add test case

fix: typecheck

* test: enhance clear evt

* docs: add clear evt

* docs: change clear evt description
2025-12-21 18:53:17 +01:00
Noblet Ouways
ec60060a20 fix(components): [date-picker] duplicate panels after confirm time (#23158) 2025-12-19 11:49:56 +08:00
Rainbow
5862e866ab fix(components): [date-picker] input should not be editable when editable is false (#23085)
fix(components): input should not be editable when editable is false
2025-12-15 10:52:48 +08:00
Jeff
665aee397f fix(components): [data-picker] the panel disabled state should the same as component (#23029)
* fix(components): [DatePickerPanel] fix disabled

* add import

* fix style

* test: dataPicker add case

* Update packages/components/date-picker/src/date-picker.tsx

Co-authored-by: rzzf <cszhjh@gmail.com>

* Remove unused useFormDisabled import

Remove unused import of useFormDisabled from form components.

* test: update name

---------

Co-authored-by: huangjunfeng <huangjunfeng@jilinxiangyun.com>
Co-authored-by: rzzf <cszhjh@gmail.com>
2025-12-09 13:01:59 +08:00
Noblet Ouways
d22289e96c fix(components): [date-picker] keyboard navigation on first of the month (#22668) 2025-11-02 19:36:18 +08:00
btea
38a86acd60 test: fix date-picker test case (#22662) 2025-11-01 14:16:26 +08:00
Noblet Ouways
35dbfbf98a fix(components): [date-picker] time list sync with input change (#22589)
* fix(components): [date-picker] time list sync with input change

closed #22500

* test: add test case
2025-10-27 15:27:50 +08:00
Rainbow
e5495d89d5 fix(components): [date-picker-panel] wrong style when use showWeekNumber (#22559)
* fix: the selected row has '.current' class when show-week-number

* test: add test case
2025-10-24 16:46:33 +08:00
Rainbow
e6d5ddbde6 fix(components): [date-picker-panel] value-on-clear takes effect on monthrange and yearrange (#22507)
* fix(components): [date-picker-panel] sync clear value with valueOnClear

* test: add test case

* test: supplement tests
2025-10-17 16:59:19 +08:00
qiang
e5dd4ea86e fix(components): [date-picker] display value error when persistent:false (#22356)
closed #12689
2025-09-28 12:54:33 +02:00
Noblet Ouways
6001577516 fix(components): [date-picker] keyboard navigation (#22192)
* fix(components): [date-picker] keyboard navigation

* test: get test working
2025-09-17 18:06:47 +08:00
micaiguai
eef0aed8bc fix(components): [date-picker-panel] sync clear value with valueOnClear (#22059)
* fix(components): [date-picker-panel] The value after cleared

* chore: refactor logic to isEmptyValue method
2025-09-16 14:19:40 +02:00
Noblet Ouways
75322df994 fix(components): [date-picker-panel] sync panel with model-value (#22123)
* fix(components): [date-picker-panel] sync panel with model-value

closed #22050

* test: set tests cases

* refactor: apply review

Co-authored-by: Zhong <cszhjh@gmail.com>

---------

Co-authored-by: Zhong <cszhjh@gmail.com>
2025-09-12 18:14:59 +08:00
sea
ca4a798545 fix(components): [date-picker]: use array modelValue datetime type debacle (#22033)
fix(components): [date-picker]: use array value datetime type debacle
2025-09-06 07:46:11 +08:00
Anod Chow
7966f61d46 refactor(components): [date-picker-panel] emit after input instead of watch (#21899)
* fix(components): [date-picker] avoid update when modalValue is not change

* Revert "fix(components): [date-picker] avoid update when modalValue is not change"

This reverts commit 7f373ee642.

* fix(components): [date-picker-panel] emit after input instead of watch

* test: add test case

* test: add test

* chore: remove useless nextTick

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-09-04 20:39:02 +08:00
Noblet Ouways
2e19e59e67 fix(components): [date-picker] add missing data slot (#19839)
* feat: add missing date-picker data slot

* chore: fix review & forward old test case

Co-authored-by: btea <2356281422@qq.com>

* Update docs/en-US/component/date-picker.md

Co-authored-by: btea <2356281422@qq.com>

* chore: update

---------

Co-authored-by: btea <2356281422@qq.com>
2025-08-21 18:19:29 +02:00
Noblet Ouways
a985f511a0 chore: date-picker-panel tweaks (#21827)
* docs(components): [date-picker-panel] add missing props & make the doc clearer

* fix(components): [date-picker-panel] set default time-format & date-format

* refactor(components): [date-picker-panel] remove `format` property
2025-08-21 20:01:27 +08:00
Noblet Ouways
a1b0e504a3 feat(components): [date-picker-panel] externalize date-picker core component (#21331)
* feat(components): [date-picker-panel] add `date-picker` core component

Revert "feat(components): [date-picker] flat picker PoC"

This reverts commit 9952c7fc0f9aedd72723d553878f4282f9448951.

chore: get visual panel

chore: wip

chore: wip

chore: wip

chore: wip

chore: handleChange portable

chore: prettier

Revert "chore: prettier"

This reverts commit 87f1585e27f39c580d5f1f3439670bca44cedb6b.

Revert "chore: handleChange portable"

This reverts commit 99c1c1fc2e541703481c3933d154ab80677181c1.

chore: revert & be good

chore: prettier & lint

chore: some cleanup

chore: refine a bit

chore: refine

chore: style tweaks for panel

chore: handle disabled

chore: fix test

test: add disabled

chore: update

chore: refine

chore: save

chore: temp undo diff docs

chore: rename bordered => border

test: add time pickers

Revert "chore: temp undo diff docs"

This reverts commit ddf11fae1ab26d63e85b0fd5ab6f7739e90bbfb7.

chore: save

* chore: set `show-footer` default to false

* chore: review & simplify

Co-authored-by: btea <2356281422@qq.com>

* chore: add overview icon

* fix: doc typo

* chore: doc tweaks

* chore: rebase tweaks

* chore: remove change event for panel

* fix: css import path

Co-authored-by: btea <2356281422@qq.com>

* chore: rebase & doc tweak

* chore: fix review

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: warmthsea <2586244885@qq.com>

* fix: apply review

Co-authored-by: qiang <qw13131wang@gmail.com>

* chore: remove popper injection 1/2

* chore: remove popper injection 2/2

* chore: address same import

* docs: delete format example

* chore: remove useless passing prop

* chore: resolve conflict

* docs: update datetime props

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: warmthsea <2586244885@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2025-08-19 10:08:07 +02:00
Noblet Ouways
c83b99d2f2 feat(components): unify clear btn display on focus (#21732)
* feat(components): unify clear btn display on focus

* test: add tests

* chore: apply review
2025-08-18 10:54:32 +02:00
Noblet Ouways
24cbd4bdbb fix(components): [date-picker] ensure reset visibility on picker range (#21691)
closed #21689
2025-08-11 14:25:30 +02:00
Noblet Ouways
20652107fe fix(components): [date-picker] keep datetimerange close on value change (#21625)
* fix(components): [date-picker] keep datetimerange close on value change

* chore: review past solution

* test: add test case

* docs: update onChange event

* test: test
2025-08-05 16:28:26 +02:00
Dsaquel
9586d0efa8 feat(components): [date-picker] add show-footer prop 2025-07-27 19:00:25 +02:00
Dsaquel
5fe607c4cf fix(components): [date-time-picker] emit update:model-value when two dates reached
chore: better fix for my previous fix
2025-07-27 19:00:25 +02:00
fratzinger
667726b128 fix(components): [date-picker] pass showWeekNumber to panel (#21049)
* fix(components): prop show-week-number

* docs: [date-time-picker] add attribute showWeekNumber

* fix(components): [date-picker] range showWeekNumber

* refactor(components): date-table use ns class for week number header

* refactor: BooleanConstructor casts to false by default

* test(components): [date-picker] add showWeekNumber

* test(components): [date-picker] datetime showsWeekNumber
2025-06-18 22:59:01 +08:00
Noblet Ouways
2f17df1209 style(eslint-config): newline before import type (#21036)
* perf: change to import-x

* feat: add rules

* chore: fix rule

* chore: fix

* chore: fix

* chore: fix

* style: `pnpm lint:fix`

* Revert "style: `pnpm lint:fix`"

This reverts commit db0116a288.

* Revert "chore: fix"

This reverts commit 69c82a90c0.

* chore: fix

* style: `pnpm lint:fix`

* fix: lint

* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
jyp114110
07eff9e2f8 fix(components): [date-picker] getting month dates range error (#20932)
* fix(components): [date-picker] fix "disabledDate" bug

fix #20931

BREAKING CHANGE: N

closed #20931

* fix(components): [date-picker]

Add test case for fixing #20931

BREAKING CHANGE: N

closed #20931

* fix(components): [date-picker]

[date-picker] getting month dates range error #20932

BREAKING CHANGE: n

closed #20932

* Revert "fix(components): [date-picker]"

This reverts commit 710c1cc3d6.

* refactor: set time separately

---------

Co-authored-by: 金亚平 <yaping.jin@jinlihk.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-06-09 23:11:50 +08:00
betavs
8f380ce884 refactor(components): standardize injection keys (#20616) 2025-06-06 14:45:39 +08:00
Noblet Ouways
1b9d6df3f5 fix(components): [date-time-picker] inherit time across picker views (#20806)
* fix(components): [date-time-picker] inherit time across picker views

closed #20804

* typo

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-23 11:17:12 +08:00
Meet you
9d9d71a32c feat(components): [date-picker] add quick year and month selection (#19700)
* feat(components): [date-picker] add quick year and month selection

closed #1730

* fix(components): [date-picker] update

* test(components): [date-picker] add tests for year and month selection

* fix: update

* fix(components): update

* fix(components): update

* fix: [date-picker] fix conflicts

* fix(components): [date-picker] update

* Update packages/components/date-picker/src/date-picker-com/panel-date-range.ts

Co-authored-by: btea <2356281422@qq.com>

* fix(components): [date-picker] update

* fix(components): [date-picker] update

---------

Co-authored-by: btea <2356281422@qq.com>
2025-05-13 12:25:06 +08:00
btea
2e58b8259d fix(components): [date-picker] config format manual change value invalid (#20223)
* fix(components): [date-picker] config format manual change value invalid

* fix: update
2025-03-25 10:09:47 +08:00
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