Noblet Ouways
ed94e7b61e
fix(components): [upload] append all values in formdata ( #23664 )
...
* fix(components): [upload] append all values in formdata
* chore: apply cb review
* fix(components): [upload] support both array and tuple in formdata
* chore: more guards
* chore: improve type
* Update packages/components/upload/src/ajax.ts
Co-authored-by: rzzf <cszhjh@gmail.com >
* fix: import
* chore: address cb review
---------
Co-authored-by: rzzf <cszhjh@gmail.com >
2026-02-25 11:36:38 +08:00
snowbitx
0c8b492dab
fix(components): [upload] keep delete icon visible on focus-within ( #23561 )
...
* fix(components): [upload] keep delete icon visible on focus-within
* chore: add aria-label
* Update packages/components/upload/src/upload-list.vue
Co-authored-by: rzzf <cszhjh@gmail.com >
* fix: tip style
---------
Co-authored-by: rzzf <cszhjh@gmail.com >
2026-02-06 17:22:53 +08:00
Meet you
53134da7f9
refactor(components): [upload] use type-based definitions ( #23442 )
...
* refactor(components): [upload] use type-based definitions
* fix: [upload]
* fix: update
* fix: update
* refactor: update
---------
Co-authored-by: btea <2356281422@qq.com >
Co-authored-by: rzzf <cszhjh@gmail.com >
2026-01-19 21:31:02 +08:00
rzzf
13e2c5fa92
fix(components): [upload] webkitdirectory="false" being preserved during hydration ( #23374 )
2026-01-14 20:29:27 +08:00
Yang
c6e2ed63b1
fix(components): [upload] make abort param optional ( #23353 )
...
- Change the parameter type definition of the bort function to optional
2026-01-09 13:37:21 +00:00
btea
09e157c01e
chore: add readEntries comment ( #23343 )
2026-01-07 21:46:27 +08:00
rzzf
305c3e5d94
feat(components): [upload] add directory prop ( #23265 )
...
* feat(components): [upload] add `directory` prop
* refactor: update
* test: update
* fix: update
* docs: add detailed desc
* fix: remove unnecessary compat code
* revert: compat code
2026-01-05 16:28:24 +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
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
yicheny
eaeba4f923
fix(components): [upload] ensure onChange receives updated fileList ( #22760 )
...
* fix(components): ensure onChange receives updated fileList
- defer onChange emission to next tick so v-model sync completes
- add regression test covering v-model:fileList synchronization
closed #22676
* test(components): annotate v-model sync test types
- import UploadFiles for the new regression test
- type refs and handlers to satisfy lint/typecheck
closed #22676
---------
Co-authored-by: 云游君 <me@yunyoujun.cn >
2025-11-12 20:56:46 +08:00
qiang
6388dc0f16
fix(components): avoid capturing focus when disabled ( #22616 )
...
closed #21095
2025-10-29 11:44:44 +01:00
Zhong
cfdf97ae19
chore(components): [upload] remove redundant rawFile parameter from TS ( #22295 )
2025-09-24 12:10:33 +02:00
yuhengshen
cfc661c626
feat(types): [components] add public prop types ( #21222 )
...
* feat(types): [utils] add ExtractPublicPropTypes type
* feat(types): [components] add props public type
* chore(types): use type-only import for Prop from 'vue'
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
---------
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
2025-07-07 00:51:32 +08:00
Zhong
58a5852d2d
refactor(components): improve component boolean type ( #21260 )
2025-07-06 14:56:17 +02: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
selicens
88c63db41e
fix(components): [upload-dragger] Blink when sliding over sub elements ( #21006 )
...
* fix(components): [upload]
Drag to upload flicker when passing through sub elements
* chore: type adjusting
* chore: adjusting
2025-06-13 17:57:55 +02:00
dopamine
7be4a3765e
chore: emits smaller declaration files ( #20109 )
...
* Revert "fix(types): packing unexpected types (#19419 )"
This reverts commit 13506ffb81 .
* Revert "chore: add explicit type annoation (#19352 )"
* fix(typescript): borken import paths in declaration files
* chore: emits smaller declaration files
2025-03-18 10:08:44 +08:00
btea
d4123cd558
fix(components): [upload] drag file add isDirectory attribute ( #20012 )
...
* fix(components): [upload] drag file add isDirectory attribute
* fix: compatibility test
* fix: extend UploadRawFile
2025-03-17 20:55:04 +08:00
sea
244e811b44
chore(eslint-config): add line-between-blocks rules ( #20051 )
2025-03-08 08:55:02 +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
Jungzl
7bba5332f1
chore: update dependencies ( #18573 )
...
* chore: update dependencies
typescript: v5.5
vue-tsc: v2
eslint: v8-latest
@commitlint/*: v18
* fix: apply suggestions
* fix: ignore some ts errors
2024-10-29 10:01:58 +08:00
dopamine
8618a6bcd0
refactor: import shared utilities from @element-plus/utils ( #18048 )
...
chore: import shared utilities from `@element-plus/utils`
2024-08-29 09:04:03 +08:00
Liao-js
c1863f508c
fix(components): [upload] remove file when fileList does not use v-model ( #16715 )
2024-08-07 17:03:26 +08:00
chaoling
61c828f493
feat(components): [upload] added index parameter to default slot ( #17143 )
...
* fix(components): add the index attribute to the upload-list component
* docs(components): add the index attribute to the upload-list component
* feat(components): added index parameter to default slot
2024-08-07 15:48:13 +08:00
dopamine
79938178dd
build: use vue-tsc to generate dts ( #16111 )
...
* build: use vue-tsc to generate dts
* reduce inline type declaration
* fix: type checking failed
* apply suggestions from code review
* address PR comments
2024-08-07 12:01:46 +08:00
mashuo
811a2f75cf
fix(components): add class name and disable style when disabling upload ( #17753 )
...
* fix(components): add class name and disable style when disabling upload
closed #17746
* style(components): hover and focus styles when the upload is disabled
* style(components): hover and focus styles when the upload is disabled
closed #17746
* style(components): simplifiser CSS-stiler
When disabling upload, use "pointer events" to unfocus the mouse and set "tabindex" to -1 to unfocus
the tab
closed #17746
* style(components): disable upload status and set focus style
closed #17746
* style(components): disable upload status and set focus style
closed #17746
* style(components): disable style for upload component
Add background color and text color for disabled status and add disabled attribute to input.
closed #17746
2024-08-06 20:38:41 +08:00
chouchouji
2564007850
refactor(components): optimize component boolean type ( #17622 )
...
* refactor(components): optimize component boolean type
* style(components): [overlay] fromat code
2024-07-25 14:17:23 +08:00
ZCDC_Ren
ae4eff6c44
fix(components): [upload] drag use before-upload to intercepting files ( #15861 )
2024-02-20 10:34:31 +08:00
Kasun Weligamage
95f4afe89d
fix(components): [upload] Add crossorigin property ( #15524 )
...
* fix(components): [upload] Add crossorigin property
* fix(components): [upload] Add crossorigin property
* Update packages/components/upload/src/upload.vue
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com >
* Update packages/components/upload/src/upload.vue
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com >
* Update packages/components/upload/src/upload-list.vue
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com >
* Update docs/en-US/component/upload.md
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com >
---------
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com >
2024-02-01 14:38:36 +08:00
wzc520pyfm
40b64dfb57
docs(components): [upload] use new display tag ( #12701 )
...
* docs(components): [upload] use new display tag
* docs(components): [upload] add description for beford-upload
* feat(components): [upload] delete useless attribute
* docs(components): [upload] adjust description and default for attr
* docs(components): [upload] add more detail for data attr
2023-10-15 08:02:13 -05:00
Jianjun Yu
d96555fa9c
feat(components): [upload] support async data ( #14015 )
...
* feat(components): [upload] support async data
* feat(components): [upload] support async data
* fix(components): [upload] unit test
* fix(components): [upload] unit test
* feat(components): [upload] update data docs
* fix(components): [upload] unit test
* chore: add version
---------
Co-authored-by: Hefty <yeyuqiudeng@gmail.com >
2023-09-08 15:57:05 +08:00
Hefty
2b3a34e6b5
refactor(components): [upload] reuse revkoeObjectURL function ( #14126 )
2023-08-28 10:29:30 +08:00
Hefty
788e27eaf4
refactor(components): [upload] remove useless useSlot ( #14053 )
...
refactor(components): [upload] remove useless useSlots
2023-08-23 17:34:05 +08:00
arvin
5c1306127f
fix(components): [upload] fix empty array error ( #13490 )
...
* fix(components): [upload] fix empty array error
在 components/upload/src/ajax.ts 73 行中,如果data 中key对应的value 是空数组的情况下`if (Array.isArray(value)) formData.append(key, ...value)`报错
* fix: reuse isArray
---------
Co-authored-by: btea <2356281422@qq.com >
2023-08-13 10:23:06 +08:00
YangtzeCoder
708f6ab5b8
refactor(components): [upload] fix the type of file ( #13637 )
...
change the type of UploadRequestOptions.file from File to UploadRawFile
2023-07-22 11:56:38 +09:00
btea
123c18fceb
feat(components): [upload] item add title attribute ( #13231 )
2023-06-16 15:37:01 +08:00
Gener
deba6c81fb
fix(components): [upload] before-upload change data in promise ( #12575 )
...
* fix(components): [upload] befroe-upload change data in promise
closed #12340
* fix(components): [upload] befroe-upload change data in promise
closed #12340
2023-05-08 20:26:38 +08:00
Xc
c668a88ac1
fix(components): [upload] add before-upload test ( #12287 )
...
* fix(components): [upload] add before-upload test
* fix(components): [upload] add before-upload test
* fix(components): [upload] add before-upload test
* fix(components): [upload] Invalid ref in transfer test
* fix(components): [upload] Invalid ref in transfer test
2023-04-04 01:30:48 +08:00
Jianjun Yu
cc68d3e924
fix: Upload data is not independent ( #12029 )
...
* fix: Upload data is not independent
* fix(components): [upload-content] copy data when beforeUpload
2023-03-31 17:56:53 +08:00
Jeremy
a30ae9d103
refactor(project): removing packages/tokens ( #11769 )
...
* refactor(tokens): remove tokens
* Remove tokens/breadcrumb.
* refactor(tokens): remove tokens/button
* refactor(tokens): remove tokens/carousel
* refactor(tokens): removing tokens/checkbox
* refactor(tokens): removing tokens/collapse
* refactor(tokens): removing tokens/dialog
* refactor(tokens): removing tokens/pagination
* refactor(tokens): removing tokens/radio
* refactor(tokens): removing tokens/row
* refactor(tokens): removing tokens/scrollbar
* refactor(tokens): removing tokens/slider
* refactor(tokens): removing tokens/tabs
* refactor(tokens): removing tokens/upload
* refactor(tokens): removing tokens/popper
* refactor(tokens): removing tokens/tooltip
* refactor(tokens): removing tokens/tooltip-v2
* refactor(tokens): removing tokens/date-picker
* refactor(project): removing tokens/experimentals
* Remove tokens/experimentals
* Remove package/tokens
* Remove tokens related parts
* refactor(project): removing packages/tokens completely
* chore: update import statement
2023-03-01 13:59:21 +08:00
Jeremy
11925c8231
refactor(tokens) - [form] ( #11743 )
...
* refactor(tokens): [form] - remove tokens/form
* Move content in tokens/form to components/form.
* Replace token imports in components/form.
* chore: remove form/tokens and replace imports
* refactor(components): [form/form-item]
* Move `useForm` related hooks to components/form
* Replace references to reduce circular dependencies.
2023-02-27 13:19:20 +08:00
acyza
203347f1aa
fix(components): [upload-dragger] Avoid firefox open file ( #11092 )
2023-02-11 20:51:07 +08:00
btea
762f9c0d7e
fix(components): [upload] use useDisabled ( #10663 )
2022-11-19 18:09:30 +09:00
init-qy
48f837baf9
fix(components): [upload] add uid for file handleStart ( #9876 )
2022-10-28 14:47:15 +08:00
류한경
56de777f2f
refactor(components): [upload] use JSX in Unit test ( #9811 )
2022-09-18 02:53:06 +00:00
三咲智子
861a7953b4
refactor(components): switch to vue macros ( #9306 )
2022-09-16 22:57:41 +08:00
zz
86538e441d
fix(components): [upload] always display upload trigger ( #9607 )
2022-09-03 23:21:10 +08:00
zz
eed57636e0
fix(components): [upload] onPreview not work when picture list type ( #9448 )
2022-08-27 16:32:07 +00:00
dopamine
ec311634f9
fix(components): [upload] onExceed is not called ( #9145 )
2022-08-27 18:27:43 +08:00
Xc
3d311c003c
fix(components): [upload] one-way cannot add attachments ( #8877 )
2022-07-19 07:32:48 +08:00