33 Commits

Author SHA1 Message Date
tjyuanpeng
96168bfe29 fix(components): [date-picker-panel] add missing is-disabled class to disabled buttons when using unlink-panels (#23393)
fix(components): [date-picker] add btns disabled class in unlinkPanels
2026-01-22 13:17:11 +01:00
Noblet Ouways
e856d8baa1 fix(components): [date-picker-panel] reliable startDate of weekstart (#23422)
fix #23221
2026-01-21 22:18:27 +08:00
Noblet Ouways
5450c6d819 fix(components): [date-picker-panel] weekstart incorrect select offset (#23226)
* fix(components): [date-picker-panel] weekstart incorrect select offset

closed #23221

* chore: apply rabbit comment
2026-01-17 21:35:49 +08: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
Shane Cranor
aac871274c fix(components): [date-picker-panel] remove incorrect is-disabled class from range panel header (#23113)
* fix: remove incorrect is-disabled class from range panel header

closed #23102

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

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* noissue: Remove disabled class test for date picker header

Removed a test case that checks if the date picker panel header has the 'is-disabled' class when enabled.

* style: fmt

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-12-18 10:48:44 +08:00
Noblet Ouways
c1c421e410 fix(components): [date-picker-panel] remove pick emit declaration (#23081)
* fix(components): [date-picker-panel] remove pick emit declaration

* fix: dont duplicate onPick calls

if we remove the 'pick' emit the onPick calls are duplicated with the
common/picker.vue one
2025-12-16 10:19:22 +08:00
dopamine
0ca1570aa1 chore: upgrade to Vue 3.5 (#22096)
* chore: upgrade deps

* chore: replace __ExtractPublicPropTypes with ExtractPublicPropTypes

* fix: get rid of type errors

* fix: resolve test errors with @vue/test-utils v2.4.6

* fix: resolve test errors with Vue 3.5.22

* ci: set pnpm flag

* chore: update the Vue peer dependency version

* Apply suggestion from @tolking

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

* docs: update example code

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

* chore: remove csstype (#22487)

* chore: fix merge code type error

* chore: fix test:ssr error

- Cannot read properties of undefined (reading 'getSSRProps')

* chore: fix typecheck:vitest error

* chore: update pnpm yaml file

* test: fix collapse accordion error

* chore: update deps

* chore: fix type error

* chore: lock file

* chore: sync change

sync with the remove of vue macro

* refactor: use computed instead of eagerComputed

* fix: timeline.test.tsx typecheck

* chore: clean lock file

try dont throw CodeFactor issues in ci

did:
- rm pnpm-lock.yaml
- rm -rf ./**/node_modules
- pnpm store prune
- pnpm cache delete
- pnpm install

Also stay in 3.1.0 for vue-tsc in order to avoid the warnings of
template refs, see https://github.com/vuejs/language-tools/issues/5815

* chore: format code

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: warmthsea <2586244885@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2025-12-16 09:34:03 +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
Noblet Ouways
39adcf4882 fix(components): [date-picker] sync input value with time-picker (#20713)
* fix(components): [date-picker] sync input value with time-picker

* test: set test case
2025-12-11 22:56:27 +01:00
btea
2d64179491 refactor!: the disabled value of component has the highest priority (#18739)
* refactor!: the disabled value of component has the highest priority

* fix: update

* fix: compatible with switch loading

* feat: apply to cascader, select, select-v2

* fix: update

* fix: update selectv2

* fix: update autocomplete

* fix: date-picker-panel

* fix: update rate/slider/upload

* fix: slider error

* fix: update checkbox

* fix: checkbox error
2025-12-01 21:20:57 +08:00
rzzf
f3b3140f5d fix(components): avoid focusing disabled elements (#22940) 2025-11-28 08:01:52 +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
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
Lensiq
c252273a57 chore: normalize classname (#22537)
* chore: normalize classname

* Update packages/components/date-picker-panel/src/composables/use-basic-date-table.ts

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

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

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

* Update packages/components/loading/src/loading.ts

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

* Update packages/components/tour/src/step.vue

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

* chore: normalize classname

* fix: update

* chore: update

---------

Co-authored-by: Zhong <cszhjh@gmail.com>
2025-10-22 13:45:30 +08:00
Noblet Ouways
8d32bc31d8 chore: replace ns.is condition (#22531)
* chore: replace ns.is condition

* chore: sgconfig

* Revert "chore: sgconfig"

This reverts commit fa56c22673.
2025-10-20 10:09:03 +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
Noblet Ouways
6eb677fa00 refactor(components): [date-picker] externalize formatToString (#22349)
* refactor(components): [date-picker] externalize formatToString

Co-authored-by: inottn <inottn@outlook.com>

* chore: add rebase lost code

---------

Co-authored-by: inottn <inottn@outlook.com>
2025-09-29 17:39:32 +08:00
一只前端汪
7c16480bcd refactor(style): Update Eslint to V9 and Prettier to V3 (#21949)
* refactor(style): Update Eslint to V9 and Prettier to V3

* fix: vscode color

* fix: vscode color

* chore: remove Useless dependence and old config file

* chore: format

* Merge branch 'dev' into eslintV9

* fix: fix

* fix: ssr test

* fix: ssr test

* fix: use defineConfig

* fix: prettier format and ignore docs dist

* fix: index.mjs => index.js

* fix: Vscode color

* fix: prettier ignore global.d.ts

* fix: format

---------

Co-authored-by: 2586740555 <15972343+CYJ090915@user.noreply.gitee.com>
2025-09-29 14:14:30 +08:00
qiang
9043e16d94 fix: the KeyboardEvent.code is always empty string on Android (#22228)
closed #20330
2025-09-21 01:23:38 +02:00
Zhong
1ba0a6c9b5 refactor(components): unify BEM & CSS vars via helpers (#22226) 2025-09-19 16:46:50 +08: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
sea
cd2285f5bb chore: add consistent-type-imports eslint rules to .ts file (#22195)
* chore: add import type rules to .ts

* chore: update

* chore: update
2025-09-17 10:11:26 +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
b8397d2353 chore(components): [date-picker-panel] remove some typescript casting (#22143) 2025-09-14 08:43:34 +08: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
f5e90de682 fix(components): [date-picker-panel] remove duplicate panels on inner date input change (#21888)
* fix(components): [date-picker-panel] remove duplicate panels on inner date input change

* test: add test case
2025-08-25 18:13:31 +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