3741 Commits

Author SHA1 Message Date
dopamine
46c0bbb9a3 wip 2025-02-25 15:12:57 +08:00
jiaxiang
61d5dcc3ae
feat(components): [image-viewer] add toolbar slot (#19497)
* feat(components): [image-viewer] add toolbar slot

* feat(docs): add docs

* docs: update

* docs: update

* docs: update image viewer API types for clarity

* docs: update custom toolbar version in image documentation to 2.9.4

* Update docs/examples/image/custom-toolbar.vue

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* style: remove dividers

* revert: style

* docs: format

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-01-17 15:50:44 +08:00
Noblet Ouways
6c5cfbfce6
fix(components): [table-footer] update cols width on layout change (#19064)
fix(components): [table-footer]

update cols width on layout change

closed #19054

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-01-16 17:12:23 +08:00
jiaxiang
ac42b639ce
feat(components): [image-viewer] add progress slot and show-progress props (#19465)
* refactor(components): simplify computed properties in image-viewer

* feat(components): [image-viewer] add progress number

* test(components): remove console logs from image-viewer tests

* feat(components): [image-viewer] update progress display and style

* test(components): update progress selector in image-viewer tests

* feat(components): [image-viewer] add slot support for progress display

* docs(components): [image] add progress content description

* docs(components): update docs

* feat(components): [image] simplify progress slot binding

* docs(components): update

* Update packages/components/image-viewer/__tests__/image-viewer.test.tsx

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

* Update docs/en-US/component/image.md

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

* docs: update progress version in image documentation

* Update packages/components/image-viewer/src/image-viewer.vue

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* feat: add showProgress props

* docs: add demo

* docs: update v

* Update docs/en-US/component/image.md

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

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
2025-01-16 11:44:35 +08:00
Mouli Bheemaneti
ce5963774c
feat(i18n): add Telugu language (#19624)
* feat(i18n): add Telugu language

* chore(i18n): added missing keys in Telugu locale

* chore: format telugu locale file.

* chore(locale): fix lint in te.ts

* docs: add lang records
2025-01-16 03:00:26 +00:00
jiaxiang
a5f77e6e31
chore: [tree] remove unused arg (#19255) 2025-01-16 10:44:46 +08:00
jiaxiang
82aedc86c7
feat(components): [select] add popup-scroll event (#19589)
* feat(components): [select] add popup-scroll event

* Update docs/en-US/component/select.md

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

* chore: format

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: warmthsea <2586244885@qq.com>
2025-01-14 15:54:31 +08:00
Mark J
3b2eaed8f3
feat(locale): add language Chinese Hongkong and Chinese Macau (#19608) 2025-01-14 11:02:43 +08:00
jiaxiang
f63da8f5a3
chore: [message-box] remove @ts-nocheck directive (#19277)
* chore: [message-box] remove @ts-nocheck directive

* fix: type

* Update packages/components/message-box/src/index.vue

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

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2025-01-13 21:34:07 +08:00
jiaxiang
2f1e8b3a43
feat(components): [image-viewer] add showPreview method (#19466)
* feat(components): [image-viewer] add showPreview method

* docs(components): [image] update showPreview method version to 2.9.4
2025-01-11 21:50:29 +08:00
DDDDD12138
535c6e34f6
chore: [time-picker] correct typo in timePickerRangeTriggerProps (#19487)
* fix: correct typo in timePickerRangeTriggerProps

* chore: deprecate misspelled export `timePickerRngeTriggerProps`

---------

Co-authored-by: btea <2356281422@qq.com>
2025-01-11 01:00:24 +00:00
Noblet Ouways
22c3bd8e72
feat(component): [time-select] add include end time attribute (#19253)
* feat: [time-select] init includeEndTime 🚧

* test: time-select includeEndTime 🚧

* refactor: renaming & cleanup

* test(components): [time-select] add includeEndTime cases 

* docs(components): [time-select] add `includeEndTime` attribute

* chore: change release version

* chore: set `includeEndTime` default to false

* docs: fix props typo

* chore: remove useless assignment

* chore: rename optionValue to currentTime

* chore: update release version
2025-01-10 15:46:13 +08:00
sea
c976e945f5
style(components): [dialog] no rounded when in fullscreen (#19583) 2025-01-10 10:35:39 +08:00
changehu
cdcc3b5b29
feat(i18n): add Norsk(no) language (#19523) 2025-01-09 17:49:44 +08:00
xingyixiang
971d422e8b
test: [table] add show-overflow-tooltip trigger (#19556)
* test: [table] add show-overflow-tooltip trigger

* test: [table] add show-overflow-tooltip trigger
2025-01-09 17:36:59 +08:00
Meet you
062ac99aec
fix(components): [dialog] fix scroll bar not resetting to top on reopen (#19471)
* fix(components): [dialog] Fix scroll bar not resetting to top on reopen

closed #19420

* fix(components): update

* fix(components): [dialog] update

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-01-09 16:47:22 +08:00
btea
6316898909
improvement(components): [text] keep the inherited title attribute (#19551)
* improvement(components): [text] keep the inherited title attribute

* fix: content update recalculation
2025-01-09 13:53:36 +08:00
btea
b171baaca7
improvement(components): [text] add the title attribute (#19496) 2025-01-07 22:59:33 +08:00
白雾三语
d05f24bf1d
fix(components): [select] make sure the e-tag is not obstructed(#19529) (#19534)
Co-authored-by: baiwusanyu-c <chenzhihui@chabaidao.com>
2025-01-07 21:12:34 +08:00
steveWang13
217a4f934d
feat(i18n): add Hindi language (#19483)
* feat(i18n): add Hindi language

* feat(i18n): update component and hindi translations

* feat(i18n): update lint
2025-01-07 03:33:23 +00:00
DDDDD12138
f6c9fd54ca
fix(components): [tabs] set modelValue synchronously if beforeLeave is not set or is synchronous (#19387)
* fix: [tabs] sync modelValue if beforeLeave is not set or is synchronous

* feat: add unit test
2025-01-06 23:37:17 +08:00
Noblet Ouways
536548e753
fix(components): [form] on post rules update reset field (#19129)
* fix(components): [form] track rules on post update

closed #19109

* fix(components): [form] ensure reset field state if no rules

closed #19128

* test: add validate on rule change case

* chore: on rules update reset field error

* chore: fixup

---------

Co-authored-by: btea <2356281422@qq.com>
2025-01-06 22:58:08 +08:00
Noblet Ouways
5f72ca51cd
feat(components): [dialog/drawer] add custom sub classes (#19099)
* feat(components): [dialog/drawer] add custom sub classes

* docs(components): add custom classes for drawer/dialog slots

* docs(components): [dialog/drawer] keep same description

* test: add dialog/drawer sub classes

* refactor: sync typo docs with props

* chore: change release version

* chore: rename

* chore: fix doc

---------

Co-authored-by: btea <2356281422@qq.com>
2025-01-06 10:52:39 +08:00
Liao-js
a116f0ef71
fix(hooks): [use-lockscreen] remove hiddenCls (#19429)
* fix(hooks): [use-lockscreen] remove hiddenCls

* fix(hooks): [useLockscreen] unit test

* test(hooks): [useLockscreen] should not cleanup when not all unmounted

* test(hooks): [useLockscreen] update test

* test(hooks): [useLockscreen] update test
2025-01-05 23:07:27 +08:00
btea
45fa8d3b31
fix(components): [description] labelWidth is invalid when no border (#19162)
* fix(components): [description] `labelWidth` is invalid when no border

* test: add test case
2025-01-04 14:10:26 +08:00
btea
f3fec3203a
feat(components): [table] add allow-drag-last-column prop (#19374) 2025-01-03 11:36:19 +08:00
qiang
a03812db54
perf(components): [table] prioritize use rowKey to determine whether it is selected (#19451)
* perf(components): [table] use rowKey to determine whether it is selected

* chore: revert includes

* perf: use includes replace isEqual
2025-01-03 08:14:00 +08:00
Lo
6bc45440f8
feat(components): [select, select-v2] add loading class to validateIcon (#19379)
fix(components): [select, select-v2] add loading class to validateIcon
2025-01-02 18:02:46 +08:00
qiang
1ca9d9c3fa
fix(components): [select] input width fills the remaining width (#19292)
* fix(components): [select] input width fills the remaining width

closed #17886

* fix: type
2025-01-02 13:41:13 +08:00
Noblet Ouways
52ee847ff8
fix(components): [page-header] use $slots instead of useSlots (#19455)
* fix(components): [page-header] use `$slots` instead of `useSlots`

closed #19453

* test(components): [page-header] add classes slots rendering case
2025-01-01 22:01:09 +08:00
ly-yewu
1343d4cfac
fix(components): [upload] unable to delete files in removeFile (#19437)
* fix(components): [upload] unable to delete files in removeFile

* fix(components): [upload] remove file when fileList does not use v-model

* Update packages/components/upload/src/use-handlers.ts

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

---------

Co-authored-by: leiyu <leiyu@cmss.chinamobile.com>
Co-authored-by: btea <2356281422@qq.com>
2024-12-31 12:42:44 +08:00
xingyixiang
7d76dea667
fix(components): [table] the overflowTooltip cannot be refreshed (#19440)
fix(components): [table] the tooltip cannot be refreshed
2024-12-29 10:15:02 +08:00
btea
13506ffb81
fix(types): packing unexpected types (#19419)
* fix(types): packing unexpected types

* fix: update

* fix: autocomplete

* fix: update mention & transfer
2024-12-27 17:15:42 +08:00
btea
5d6e9298d2
docs(components): [anchor] add selectScrollTop prop (#19293)
* docs(components): [anchor] add `scrollTop` prop

* feat: rename
2024-12-26 14:42:21 +08:00
DDDDD12138
0e9c6c062d
fix(components): prevent blur event when is disabled (#19320)
fix: prevent blur event when is disabled
2024-12-25 21:55:44 +08:00
DDDDD12138
79c43db20e
fix(theme-chalk): [input-tag] correct input-tag placeholder color (#19386)
fix(components): [input-tag] correct input-tag placeholder color
2024-12-25 21:10:55 +08:00
momei
515359004b
fix(components): [color-picker] optimize the flickering issue (#18872)
* fix(components): [color-picker] Optimize the flickering issue

* fix(components): [color-picker] remove meaningless comments
2024-12-24 22:01:38 +08:00
DDDDD12138
d2b17bcd0c
fix(components): [inputnumber, input] resolve styling issues caused by using prefix and suffix (#19042)
* feat: use consistent line-height within `el-input` component

* feat: Adjust input padding based on `size`
2024-12-24 20:21:14 +08:00
伊墨
2c9d70dc94
feat(components): [select-v2] add fit-input-width prop (#18834)
* feat(components): [select-v2] add `width` prop

* feat(components): [select-v2] change `width` prop to `fit-input-width`

* docs(components): add description

* test(components): [select-v2] fix errors caused by canvas

* chore(components): optimize code and change documents

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

* feat: [select-v2] listen for `fit-input-width`

* fix: change the default value of the `fit-input-width` prop

* fix: the width did not change when remote search or creating temporary option

* docs: change document and example code

---------

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: btea <2356281422@qq.com>
2024-12-24 16:39:43 +08:00
qiang
456cccdace
fix(components): [focus-trap] tryFocus is invalid for document.body (#19272)
* fix(components): [focus-trap] optimize tryFocus

* test: add test

* chore: remove redundant code

* test: optimize test
2024-12-24 16:02:00 +08:00
btea
21964f6769
chore: add explicit type annoation (#19352)
* chore: add explicit type annoation

* chore: update

* chore: update
2024-12-23 13:15:20 +08:00
Liao-js
05a320329c
style(components): [notification] word wrap (#17052) 2024-12-23 11:08:39 +08:00
jiaxiang
a0a518718b
chore: [table] optimization type check (#19280)
* chore: [table] optimization type check

* feat: null

* chore: isNil

* fix: import
2024-12-21 15:10:12 +08:00
Evan-k
bd5c07ea72
fix(components): [anchor] scroll whether link is selected at the top (#18047)
fix(components): [anchor] Scroll whether link is selected at the top

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2024-12-16 21:17:59 +08:00
wen_lun
8b829ea7d3
fix(components): [menu] fix sliceIndex calculation error (#19164)
fix(components): [menu] Fix 'sliceIndex' calculation error

closed #19161
2024-12-16 18:53:03 +08:00
一只前端汪
83cda2115a
fix(components): [date-picker] model-value unexpected changes when type is week (#16795)
* fix(components): [date-picker] Unexpected changes when type is week

* fix: remove console

* fix: a11y error

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-12-15 11:05:40 +08:00
DDDDD12138
85bd36d825
fix(components): [select] resolve 'false' display issue when dropdown hides on search clear (#19244)
fix(components): [select] eliminate 'false' on search clear
2024-12-14 11:16:16 +08:00
hanchao-c0ldwave
5afdd99392
fix(components): [table-v2] dynamic height causes overall calculation errors (#19082)
fix(components): [table-v2] 修复虚拟表格同时设置了动态行高和冻结列时,table高度计算错误问题

虚拟表格同时设置了动态行高和冻结列时,计算fixedTable高度时使用estimatedRowHeight乘以行数,而实际行高与estimatedRowHeight存在差异。修复方案是累加实际行高得到表格的实际rowsHeigt

closed #18655
2024-12-11 19:58:47 +08:00
星如雨
ae22c959ac
feat(components): [badge] add content slot (#18922)
* feat(components): [badge] add `icon` prop and slot

* feat(components): [badge] remove icon prop

* feat(components): [badge] update badge icon slot test

* Update docs/en-US/component/badge.md

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

* Update docs/en-US/component/badge.md

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

* feat(components): [badge] update icon slot to content

* fix(components): [badge] remove legacy icon styles

* fix(docs): [badge] punctuation at the end of sentences in a document

* feat(components): [badge] `value` as the value of the `content` slot

* feat(docs): [badge] update badge's doc

* fix(docs): [badge] content slot value type

---------

Co-authored-by: btea <2356281422@qq.com>
2024-12-10 13:57:36 +08:00
伊墨
c40eeb7551
fix(components): [select] modify the logic of update the watch option (#18931) 2024-12-10 13:53:07 +08:00