snowbitx
2d316c0e85
test(components): [image] add a test case for lazy image ( #23655 )
...
* test(components): [image] add a test case for lazy image
* fix: add clear logic
* chore: format
---------
Co-authored-by: rzzf <cszhjh@gmail.com >
2026-02-13 06:43:29 +00:00
snowbitx
bb1813bcf8
refactor(components): [image/image-viewer] use type-based definitions ( #23444 )
...
refactor(components): [image,image-viewer] use type-based definitions
2026-01-18 21:30:50 +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
Jeff
cefb765d23
fix(components): [timepicker] fix disabled props ( #23022 )
...
* fix(components): [timepicker] fix `disabled` attrs
Change 'disabled' prop to an object with type and default.
* fix: image test checks
---------
Co-authored-by: huangjunfeng <huangjunfeng@jilinxiangyun.com >
2025-12-08 14:16:54 +08:00
sea
63c7cd69fe
test: image stable loading in CI ( #22491 )
...
* test: image stable loading in CI
* test: avatar update
2025-10-16 17:59:37 +08:00
jiaxiang
0ff86060ab
feat(components): [image-viewer] add error slot ( #21961 )
...
* feat(components): [image-viewer] add custom failed content
* Update packages/components/image-viewer/src/image-viewer.vue
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* feat: rename error slot
* test: add custom load failed slot tests for Image and ImageViewer
* docs: perf dome
* fix: update v
* feat: add activeIndex and src properties
* fix: add key binding to img element for better reactivity
* fix: keep original structure
* fix: restore error source in image load-failed example
* feat: add image preview
* refactor: remove unused var
* fix: update demo
* chore: better contrast for dark mode
---------
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
Co-authored-by: Dsaquel <291874700n@gmail.com >
2025-09-17 17:46:35 +02:00
catanswer
8371deaa5d
feat(components): [image-viewer] add initial-scale prop ( #22071 )
...
* feat(components): [image-viewer] add initialScale attribute
* Update docs/en-US/component/image.md
Co-authored-by: btea <2356281422@qq.com >
* feat(components): [image-viewer] support set asynchronously
* feat(components): [image-viewer] Change initialScale to scale
* Update packages/components/image/src/image.ts
* Update packages/components/image-viewer/src/image-viewer.ts
* chore: format
---------
Co-authored-by: catanswer <--global>
Co-authored-by: btea <2356281422@qq.com >
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
Co-authored-by: Dsaquel <291874700n@gmail.com >
2025-09-17 15:06:50 +00:00
Zhong
df88ec60ec
chore(components): improve types and JSDoc for better code hints ( #21998 )
2025-09-02 09:02:00 +08:00
Noblet Ouways
7644c1fe4a
feat(components): [cascader/select/date-picker] add popper-style ( #21807 )
...
* feat(components): add popper style
* test: enforce ci passing
* chore: handle select-v2 & apply review
Co-authored-by: btea <2356281422@qq.com >
* chore: bump for select component
---------
Co-authored-by: btea <2356281422@qq.com >
2025-08-21 10:46:06 +02:00
知晓同丶
69d717028e
test(components): [avatar, image] improve image load test stability ( #21762 )
...
* test(components): [avatar] improve fallback slot test stability
* test: improve image test
2025-08-15 14:26:30 +08:00
Zhong
6cf0a1d48f
fix(components): [image] support lazy inside transformed containers ( #21573 )
...
* fix(components): [image] support lazy inside transformed containers
* fix: update
2025-08-05 14:33:14 +08:00
Zhong
c3711304e5
test(components): add close-on-press-escape test case ( #21367 )
2025-07-16 09:10:46 +08: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
Noblet Ouways
00c78d6fbf
fix(components): [image-viewer] dont persist image preview list ( #20807 )
...
* fix(components): [image-viewer] dont persist image preview list
* chore: rearrange tests
2025-05-23 16:00:42 +08:00
w2xi
3fc96e15f8
fix(components): [image] make show-progress prop available ( #20590 )
...
fix(components): [image] make `show-progress` prop available (close #20588 )
2025-04-29 09:39:29 +08: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
jiaxiang
ad2cbd2a23
refactor(components): [image] image-viewer standalone use ( #19715 )
...
* chore: remove prevent body scroll in image-viewer
* docs: format
---------
Co-authored-by: warmthsea <2586244885@qq.com >
2025-02-25 22:10:34 +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
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
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
jiaxiang
10fcc59ed4
refactor: replace Array.isArray with the built-in isArray ( #18671 )
...
chore(components): [descriptions] isArray replace Array.isArray
2024-10-28 15:36:44 +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
知晓同丶
aceefd7a24
fix(components): [image] cannot trigger event when image is loaded error ( #17692 )
...
* fix(components): [image] cannot trigger event when image is loaded error
closed #17540
* fix: use `excludeListeners` to exclude event listeners
* refactor: optimize code
* fix: replace exclude with pick
* refactor: pick container attrs
---------
Co-authored-by: zhixiaotong <947803089@qq.com >
2024-08-02 17:59:59 +08:00
Declan Chiu
c03c03b493
fix(components): [image] imageViewer crossorigin configuration missing ( #17341 )
...
* fix(components): [image] imageViewer crossorigin configuration missing
* fix: 修复代码格式化的问题和 crossorigin 的泛型类型缺失问题
* fix: 修复 imageViewer crossorigin props 没有传入的问题
* fix: 剔除 imageViewer 多余的 crossorigin 的 ref 定义
---------
Co-authored-by: 邱子健 <qiuzijian@realibox.com >
2024-07-01 17:40:37 +08:00
sea / 神秘海
48e75f53dd
test: fix ci image/avatar test error ( #16863 )
...
* test: fix ci image test error
* test: add test
* test: add test
* test: add ci
* test: add ci
* test: fix avatar emitted undefined
* test: fix ci image test error
* test: fix ci image/avatar test error
* test: fix ci image/avatar test error
* test: again test
* test: again test2
* test: delete test ci
2024-05-16 12:49:50 +08:00
kooriookami
f60db10134
fix(components): [image-viewer] Fix crossorigin ( #15511 )
...
* fix(components): [image-viewer] Fix crossorigin
closed #15468
* fix(components): update
2024-01-15 14:34:26 +08:00
云淑
52d89cc06d
docs(components): [image] add type of crossorigin ( #15471 )
...
* docs(components): [image] add type of crossorigin
* Revert "docs(components): [image] add type of crossorigin"
This reverts commit a87f7803cc .
* fix(components): [image] clear the default value of crossorigin.
* docs(components): [image] set crossorigin default type to ''.
* docs(components): [image] format table style
* fix(components): [image] remove the default value of crossorigin.
* Update docs/en-US/component/image.md
* fix(components): [image] remove type declarations for crossorigin constants
---------
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com >
2024-01-12 16:06:33 +08:00
Kasun Weligamage
4a3318f7b1
fix(components): [image, image-viewer] Add crossorigin property ( #15406 )
...
Co-authored-by: Xc <124118265@qq.com >
2024-01-08 17:21:21 +08:00
Icey Wu
39fe0a4e22
feat(components): [image-viewer] add minScale and maxScale ( #14120 )
...
* fix(components): [image-viewer] add scale props
* docs(components): [image] add min-scale and max-scale properties
* feat(components): [image] add minScale and maxScale properties
* docs(components): [image] add example properties
* docs(components): [image] add docs properties
* docs(components): [image] add docs properties
* docs(components): [image] update version tag
2023-10-12 15:23:48 +00:00
wzc520pyfm
abd6faecc3
docs(components): [image] update class by computed and new docs ( #13024 )
...
* docs(components): [image and image viewer] use new display tag
* refactor(components): [image | image-viewer] set class by computed
* docs(components): [image] update head of image viewer exposes
2023-06-03 20:54:43 +08:00
SaKura丶
caae0d1a48
fix(components): [image] fixed lazyLoad scroll end not loading ( #12596 )
...
Co-authored-by: cicada <ruoheng@pinduoduo.com >
2023-05-01 10:55:16 +08:00
btea
105d79b0d9
refactor: extract isClient and isNumber isBoolean ( #12504 )
...
* refactor: extract isClient and isNumber isBoolean
* test: update test
* refactor: extract isClient to browser
2023-04-20 20:00:49 +08:00
ljf1834
d172535084
fix(components): [image] Display error content when picture loading fails ( #11600 )
...
* fix(components): [image] Add status attribute and set styles
* fix(components): [image] remove image wrapper container
* chore(components): [image] remove invalid test
* fix(components): [image] update
* chore(components): [image] Remove unwanted code and optimize code
* chore(components): [image] optimize code
2023-04-09 16:11:26 +08:00
cx33
a4b73eccda
feat(components): el-image support set zoom-rate ( #10930 )
...
* feat(components): el-image support set zoom-rate
* docs(components): el-image add `zoom-rate` attr
2022-12-12 10:38:39 +08:00
Lucuai
8411ecc93a
feat(components): [image] fix #8919 bug ( #8920 )
...
Co-authored-by: wanyiding <wanyiding@tuhu.cn >
2022-07-26 17:53:35 +08:00
qiang
d10b02b422
fix(components): [image] position styles error when used slots ( #8109 )
...
* fix(components): [image] position styles error when used slots
* feat(components): [image] hide image on load
* feat(components): [image] load emit
2022-06-09 10:23:58 +08:00
qiang
60cd22b890
feat(components): [image] support native lazy loading ( #7968 )
2022-06-01 13:21:05 +08:00
三咲智子
21a7089ec5
refactor(build): use type unsafe ( #7523 )
...
* refactor(build): use type unsafe
* fix: windows
2022-05-13 16:55:10 +08:00
JeremyWuuuuu
5daf53e8e1
refactor(components)!: remove deprecated warning ( #7528 )
2022-05-06 13:19:01 +08:00
三咲智子
879be3ce28
fix(components): [image] fix attrs ( #7451 )
...
closes #7242
2022-05-02 14:49:25 +08:00
Xc
335569e8a7
feat(components)[image] imageviewer add close-on-press-escape( #7154 ) ( #7182 )
...
* feat: imageviewer add close-on-press-escape(#7154 )
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com >
2022-04-25 13:34:40 +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
btea
c14ac56be7
fix(components): [image] add infinite prop ( #7021 )
2022-04-06 17:36:08 +08:00
bqy_fe
8c26036e60
refactor(components): [image, image-viewer] refactor ( #6704 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe >
2022-03-30 21:44:30 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports ( #6823 )
2022-03-25 15:35:56 +08:00
三咲智子
5d85fba20c
chore: self closing vue tag ( #6603 )
2022-03-13 16:16:11 -04:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules ( #6476 )
...
* chore: enhance eslint rules
* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00