89 Commits

Author SHA1 Message Date
mortis.yi
9eadaed2b1 fix(components): [table-v2] keep scrollToRow from changing horiz offset (#22930)
* fix(components): [table-v2] Rebase merge dev branch

closed #22928

* feat(components): [table-v2] keep scrollToRow from changing horiz offset

closed #22928

---------

Co-authored-by: alex.yang <alex.yang@hytechc.com>
Co-authored-by: 云游君 <me@yunyoujun.cn>
2026-01-09 15:22:37 +08:00
keeplearning66
b73f23be74 fix(components): [table-v2] correct the indentation of sub-row (#23306)
* fix(components): [table-v2] correct the indentation of sub-row

* test: add test case

* test: update

* test: format
2026-01-07 14:31:28 +08:00
Rainbow
9d2bedc9d4 chore: remove unnecessary .gitkeep files (#23307) 2026-01-06 09:10:28 +08:00
mortis.yi
8bc34fd8d7 fix(components): [table-v2] respect column flexShrink configuration (#22914)
closed #22913

Co-authored-by: alex.yang <alex.yang@hytechc.com>
Co-authored-by: 云游君 <me@yunyoujun.cn>
2026-01-03 18:24:42 +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
qiang
974ba4d3bf feat(components): [table-v2] accessibility enhancement (#22983)
* feat(components): [table-v2] accessibility enhancement

* chore: add test

* chore: formatted
2025-12-13 20:27:41 +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
一只前端汪
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
Zhong
1ba0a6c9b5 refactor(components): unify BEM & CSS vars via helpers (#22226) 2025-09-19 16:46:50 +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
Noblet Ouways
db2b64159a fix(components): [table-v2] add missing LEFT member in Alignment (#22010)
closed #10113
2025-09-03 13:39:33 +08:00
micaiguai
748cf2a260 chore(components): [table-v2] fix the typo (#21936)
chore(components): [table-v2] Fix the typo
2025-08-28 23:15:37 +00:00
Zhong
22c02e0c8e fix(components): [table-v2] keep hover state after expanded (#21472)
* fix(components): [table-v2] keep hover state after expanded

* refactor(components): [table-v2] partial field change to optional
2025-07-24 17:27:30 +08:00
Zhong
bc9a95d9ba chore(components): fix typos (#21473) 2025-07-23 07:09:15 +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
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
betavs
8f380ce884 refactor(components): standardize injection keys (#20616) 2025-06-06 14:45:39 +08:00
sea
5905ab430a fix(components): [table-v2] use keep-alive position top error (#20813)
* fix(components): [table-v2] use `keep-alive` position top error

* chore: del useless code

* chore: del useless code

* chore: add nextTick
2025-05-22 10:30:59 +08:00
知晓同丶
73150c1214 refactor(components): improve alignment type definitions (#20695)
* refactor(components): improve alignment type definitions

* fix: rename Alignment to Align

* refactor: rename align to columnAlignment

* fix: use values to perf types

* fix: remove useless isValidColumnAlignment
2025-05-20 17:30:54 +08:00
jiaxiang
c64d00b1af chore: [table-v2] remove ts-nocheck directive (#20202)
* refactor: [table-v2] remove ts-nocheck directive

* revert: revert
2025-05-20 17:27:47 +08:00
伊墨
097e3f08a1 fix(components): [table-v2] modify the width calculation logic (#19021)
* fix(components): [table-v2] modify the width calculation logic

* fix(components): [table-v2] resolved scrollbar width issue

* test(components): [scrollbar] fix test case error
2025-05-14 21:32:03 +08:00
sea
27229ac4fa fix(components): [table-v2] onEndReached executes multiple times (#20517) 2025-04-23 14:23:03 +08:00
Noblet Ouways
cae0590f6d docs: table-v2 add @end-reached parameter description (#20484) 2025-04-22 20:40:33 +08:00
YnacyZhang
a5b60869bc fix(components): [table-v2] loss of precision causes endReached to fail to trigger (#17065)
* fix(components): [table-v2] 修复如果高度存在小数可能导致计算精度丢失导致无法触发触底事件EndReached问题

* fix(components): [table-v2] 修复如果高度存在小数可能导致计算精度丢失无法触发触底事件EndReached问题

* Update packages/components/table-v2/src/use-table.ts

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

* fix(components): [table-v2] format code for better readability in use-table.ts

* fix(components): [table-v2] format code for better readability in use-table.ts

* fix(components): [table-v2] loss of precision causes endReached to fail to trigger

* fix(components): [table-v2] loss of precision causes endReached to fail to trigger

---------

Co-authored-by: ZhangYang <yang.zhang@linkkids.cn>
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-04-22 11:16:28 +08:00
Noblet Ouways
8b93dfd72a fix(components): [table-v2] reset lastVisitedColumnIdx if width change (#19757)
fix(components): [table-v2] reset lastVisitedColumnIdx if width change
2025-02-06 19:29:43 +08:00
hanchao-c0ldwave
a1fdd2c8c6 fix(components): [table-v2] make the fixed columns scroll like mainTable (#19104)
fix(components): [table-v2] Make the fixed columns scroll like mainTable

Make the fixed columns behave like the mainTable, where the rows containing fixedData stick in
place, and the rest of the rows scroll.

closed #19103
2025-01-24 16:02:29 +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
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
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
btea
1c1b2743a1 fix(components): [table-v2] header rendering is misplaced (#18628)
* fix(components): [table-v2] header rendering is misplaced

* fix: update

* fix: update

* fix: update
2024-10-23 00:17:02 +08:00
betavs
0dc9b6479f fix(components): [table-v2] columns missing key field (#17891)
* fix(components): [table-v2] columns missing key field

* perf(components): [table-v2] columns missing key field

* test(components): [table-v2] columns missing key field

* perf(components): [table-v2] columns missing key field
2024-09-03 21:05:21 +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
Whbbit1999
7648011303 fix(components): [table-v2] the selector is invalid when row-key is a number (#16989)
* fix: rowKey use number or start of number onRowHovered Throw Error#16988

* fix: use String() replace to `as string` #16989
2024-06-11 21:44:19 +08:00
LIUCHAO
f3215b6bff fix(components): [table-v2] fix scrolling fail (#16470)
fix(components): [table-v2] Fix scrolling fail

closed 16266
2024-04-26 11:33:30 +08:00
Xc
f99257c816 fix(components): [table-v2] fixed mode hovering rerender cell (#12378)
* fix(components): [table-v2] fixed mode hovering rerender cell

* fix(components): [table-v2] fixed mode hovering rerender cell

* Update packages/components/table-v2/src/composables/use-row.ts

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

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2024-04-04 17:11:29 +08:00
btea
705c999f5f fix(components): [table-v2] header style error (#15950) 2024-02-27 14:27:27 +08:00
一只前端汪
0c8b6a5906 fix(components): [table-v2] cell, header-cell, empty slots not displayed (#15016)
Thanks for your contribution.
2023-12-05 15:08:08 +08:00
dopamine
c731027f9b fix(components): [table-v2] calculate the width of MainTable in the same way (#13584)
* fix(components): [table-v2] calculate the width of MainTable in the same way

* fix: duplicate properties
2023-08-15 21:01:46 +08:00
Xc
66e74c8f1b fix(components): [table-v2] Adjust the expandable (#12519) 2023-05-01 16:18:18 +08:00
井柏然
406ac68fc8 fix(components): [table-v2] endReached triggered twice when first (#11928) 2023-03-10 14:49:20 +08:00
qiang
6b983e1215 chore(components): [table-v2] accessibility improvement (#11891) 2023-03-08 15:14:06 +08:00
qiang
2734d50967 fix(components): [table-v2] class of column is not valid (#11815)
closed #11810
2023-03-04 21:45:28 +08:00
LIUCHAO
48b40a5f27 fix(components): [table-v2] fix scroll to bottom (#9959)
closed 9953
2022-10-18 12:15:21 +08:00
Xc
e008e92ce7 fix(components): [table-v2] cell and header-cell slots parmas (#9665)
* fix(components): [table-v2] cell and header-cell slots parmas

* fix(components): [table-v2] add slots scope test
2022-09-07 21:50:05 +08:00
btea
8fb1d458df fix(components): [table-v2] header-cell slots invalid (#9585) 2022-09-01 22:40:16 +08:00
Xc
49bc7fb66a fix(components): [table-v2] cell slots invalid (#9531) 2022-08-31 13:31:53 +08:00
zz
34d1d6f63e fix(components): [table-v2] fix style import (#9510) 2022-08-29 11:00:04 +08:00
三咲智子
7097940f4a refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
webfansplz
ab88ec505a fix(components): [table-v2] column's min-width should work normal (#8226) 2022-06-12 11:39:00 +08:00