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
三咲智子
85226512e1
refactor(components): [upload] use JSX in Unit test ( #8268 )
2022-06-18 13:48:27 +08:00
三咲智子
73f48ae7a7
fix(components): [upload] two-way binding fileList ( #8258 )
2022-06-17 15:01:30 +08:00
三咲智子
b750aa87e7
fix(components): [upload] beforeUpload hook ( #8079 )
2022-06-04 10:50:17 +08:00
류한경
6521dbb42a
fix(components): [upload] show close tip text ( #7696 )
2022-05-16 20:58:25 +08:00
JeremyWuuuuu
5daf53e8e1
refactor(components)!: remove deprecated warning ( #7528 )
2022-05-06 13:19:01 +08:00
joson
f8eee1e668
style(components): [upload] dragger unlimited width ( #7330 )
...
* style(components): [upload] dragger unlimited width
* style(components): [upload] only modify the style when dragged
* style(components): [upload] set variables for dragger padding
* style(components): [upload] use getCssVar
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-04-28 00:06:31 +08:00
三咲智子
286824b793
fix(components): [upload] make action optional ( #7325 )
...
closes #7035
2022-04-23 08:39:09 +08:00
三咲智子
b6f6e8035f
fix: [upload] prevent preview link ( #7326 )
...
closes #6866
2022-04-23 03:31:57 +08:00
joson
b03cccab71
fix(components): [upload] stop bubble ( #7304 )
2022-04-22 10:38:37 +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
joson
ff7061d9b8
fix(components): [el-upload] icon is covered ( #6951 )
...
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-04-19 07:54:30 +08:00
LYlanfeng
c88e163931
fix(components): [update] fix onChange hook called twice ( #6885 )
...
second trigger is input.onchange event, because props has onChange bug not define in upload-content.vue props
2022-03-31 14:42:20 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports ( #6823 )
2022-03-25 15:35:56 +08:00
三咲智子
a9e579fef5
refactor(components): [upload] improve code and typings ( #6762 )
2022-03-23 18:36:31 +08:00
三咲智子
5d85fba20c
chore: self closing vue tag ( #6603 )
2022-03-13 16:16:11 -04:00
云游君
93ee392932
fix(components): [upload] photo-wall wrap ( #6546 )
...
* fix(components): upload photo-wall wrap
* refactor(components): upload conent with props by tsx
* fix: type generate for upload sfc tsx
* Revert "fix: type generate for upload sfc tsx"
This reverts commit beeb9fb164
.
* Revert "refactor(components): upload conent with props by tsx"
This reverts commit 425e4a9f34
.
* fix: upload content type by as any
* refactor: extract uploadContentProps to object
* refactor(components): upload use tamplate instead of h
* Update packages/components/upload/src/upload.vue
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
* refactor(components): remove useless key in upload-content
* refactor(components): fix type
Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-03-12 16:57:48 +08:00
msidolphin
61c6b97183
fix(components): [el-upload] jitter when remove file in the list ( #6505 )
...
* fix(components): [el-upload] jitter when remove file in the list
* chore: improve code
2022-03-11 15:56:07 +08:00
云游君
8929151b85
refactor(theme-chalk): [upload] use bem rewrite upload scss & fix bugs ( #6508 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-10 23:52:13 +08:00
Herb Brewer
428893f7fa
fix(components): [upload] fileList prop should sync uploadFiles ( #6492 )
...
* fix(components): [upload] fileList prop should sync uploadFiles
* fix(components): [upload] fileList prop should sync uploadFiles
* fix: typings
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-10 23:19:44 +08:00