Commit Graph

50 Commits

Author SHA1 Message Date
余晖
ff70fe9858 fix(components): [table-column] reactively update filterable state (#22879) 2025-11-29 11:35:27 +01:00
余晖
8170fca7ae fix(components): [table] fix header HMR and keep v-if fallback (#22884)
* fix(components): [table] fix header HMR and keep v-if fallback

* fix(components): [table] return text VNode in header fallback
2025-11-26 14:33:35 +01:00
Rainbow
5bd04c058f fix(components): [table] make resizable prop reactive (#22340) 2025-09-29 14:28:43 +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
Noblet Ouways
ada03b0798 fix(components): [table] make root show-overflow-tooltip dynamic (#21823) 2025-08-20 19:49:04 +08:00
ylcjwq
38bc248a4c Revert "fix(components): [table] render default slot only when it returns valid vnodes (#21651)" (#21728)
* revert: revert fix table slot rendering (#21651)

* Revert "fix(components): [table] render default slot only when it returns valid vnodes (#21651)"

This reverts commit 6bf6313f35.

---------

Co-authored-by: dopamine <coderzyou@gmail.com>
2025-08-13 21:02:11 +08:00
dopamine
6bf6313f35 fix(components): [table] render default slot only when it returns valid vnodes (#21651) 2025-08-06 14:39:10 +02:00
Noblet Ouways
164a8a5ee5 refactor(components): [table] remove @ts-nocheck (#21200)
* refactor(components): [table] remove `@ts-nocheck`

* chore: remove any wip

* chore: better types
2025-07-02 11:28:11 +08:00
Noblet Ouways
e3373b36e8 refactor(components): [table] remove @ts-nocheck (#21139)
* refactor(components): [table] remove `@ts-nocheck`

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

* fixup! refactor(components): [table] remove `@ts-nocheck`

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

* fixup! refactor(components): [table] remove `@ts-nocheck`

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

* chore: revert type

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

* Update packages/components/table/src/store/index.ts

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

---------

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2025-06-30 23:41:36 +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
Meet you
b44a4a3acf feat(components): [table-column] add expand slot (#20750)
* feat(components): [table-column] add `expand` slot

* fix(components): update

* Update packages/components/table/src/table-column/render-helper.ts

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* fix(docs): update

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2025-05-31 09:33:40 +02:00
pengpeng
e9d82e59e9 fix(components): [table] the selection column conflicts with setting both showOverflowTooltip and align='center' styles (#20157)
* fix(components): [table] type sets showOverflowTooltip centering style problem under `selection`

* Update index.ts

* Update index.ts
2025-03-18 10:30:46 +08:00
知晓同丶
462bff18de feat(components): [table] add tooltip-formatter table & table-column prop (#19524)
* feat(components): [table] add `tooltip-formatter` table-column prop

closed #19507

* docs: add example

* docs: demo remove tooltip formatter index

* refactor(components): refactor code

* docs: simpify tooltip demo

* fix: fix warning error

* feat(components): add table tooltip-formatter prop & merge slot

* refactor: reuse variables

* test: add tooltip-formatter test

* docs: upgrade version

* feat(components): [table] add `tooltip-formatter` table-column prop

closed #19507

* docs: add example

* docs: demo remove tooltip formatter index

* refactor(components): refactor code

* docs: simpify tooltip demo

* fix: fix warning error

* feat(components): add table tooltip-formatter prop & merge slot

* refactor: reuse variables

* test: add tooltip-formatter test

* docs: upgrade version

* refactor: change parameter to obj args

* fix: property change to prop

* fix: export `TableOverflowTooltipFormatterData`

* refactor: `TableOverflowTooltipFormatterData` to `TableTooltipData`

* fix: remove useless import

* fix: refactor code

---------

Co-authored-by: btea <2356281422@qq.com>
2025-01-23 20:15:12 +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
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
406087475
e48eec1c58 fix(components): [table] getColumnIndex may be undefned (#16782)
Fix table column getColumnIndex undefined bug

Fix table column getColumnIndex undefined bug

Co-authored-by: btea <2356281422@qq.com>
2024-08-27 20:47:45 +08:00
btea
c7dea71e81 feat(components): [table-column] add filter-icon slot (#17272)
* feat(components): [table] add `filter-icon` prop

* chore: remove

* chore: remove

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

* feat: filter-icon slot

* test: test case

* chore: update

* chore: update
2024-07-24 14:47:42 +08:00
Liao-js
3386e0af89 fix(components): [table] fix grouping head when dynamic column (#16433)
fix(components): [table] fix grouping head when dynamic column (#16417)
2024-04-20 13:51:34 +08:00
wzc520pyfm
4f18c6feda docs(components): [table] use new display tag (#15697) 2024-03-01 12:00:45 +08:00
xiaoming
034fb204bc feat(components): [table] add filterClassName props in TableColumn (#15389) 2024-01-07 13:30:10 +08:00
一只前端汪
005bdf6143 fix(components): [table] header slot not displayed (#15035)
* fix(components): [table] header slot not displayed

* fix(components): [table] header slot not displayed

* fix(components): null commit
2023-12-05 15:09:13 +08:00
wonderl17
b1572a9c17 fix(components): [table] add filteredValue watcher (#13121) 2023-07-22 08:49:23 +08:00
btea
74c2448ce4 fix(components): [table] adjust the showOverflowTooltip value logic (#13282)
* fix(components): [table] adjust the showOverflowTooltip value logic

* fix: set showOverflowTooltip default value to undefined
2023-06-20 16:04:26 +08:00
yuyin
b9799a1914 feat(components): [Table] add show-overflow-tooltip props (#13169)
* feat(components): [Table] add show-overflow-tooltip props

* docs(components): [Table] add usage for show-overflow-tooltip

* fix(components): [TableColumn] props priority

* test(components): add unit test for table
2023-06-17 21:30:53 +08:00
井柏然
9956249236 fix(components): [table-column] first default column set placeholder (#11705) 2023-03-14 12:30:29 +08:00
井柏然
9721912342 fix(components): [table-column] column miss update due to key (#8528) (#10679)
* fix(components): [table-column] column miss update due to key (#8528)

* fix(components): [table-column] column miss update due to key (#8528)

* fix(components): [table-column] ts lint (#8528)

* fix(components): [table-column] column miss update due to key (#8528)

* fix(components): [table-column] states.updateOrderFns remove ref (#8528)

* fix(components): [table-column] add test for table (#8528)

* Update packages/components/table/src/store/watcher.ts

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

* fix(components): [table-column] fix ts define (#8528)

* fix(components): [table-column] column miss update due to key (#8528)

---------

Co-authored-by: qiang <qw13131wang@gmail.com>
2023-01-28 10:28:08 +08:00
Zhongxiang Wang
cf5847263f feat(components): [table] overflow tooltip supports enterable and customization (#10984)
* feat(components): [table] overflow tooltip supports `enterable`

* fix(components): [table] fix modifiers merge

* fix(components): [table] refine logic & fix popperClass isn't respected

* docs(components): [table] add docs for `tooltip-options` & `show-overflow-tooltip`

* docs(components): [table]

* docs(components): [table] update version tag

Co-authored-by: Xc <124118265@qq.com>
2022-12-22 12:20:07 +08:00
LIUCHAO
401a275049 fix(components): [table] selection column don't create table placeholder (#9637)
closed #8363
2022-09-05 19:37:25 +08:00
小的的
d0dbd19f75 fix(components): [table] typed column's min-width not effect (#9540) (#9593) 2022-09-04 23:16:53 +08:00
wiidede
a8a556d0ea fix(components): [table] el-table__placeholder class disappear(#9527) (#9529) 2022-08-31 11:49:45 +08:00
三咲智子
7097940f4a refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
Xc
b2e9d630a6 chore(style): refine repetitive code (#7003)
* style: Refine repetitive code

* style: add default value

Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
2022-04-10 14:04:46 +08:00
msidolphin
7684dddac4 feat(components): [el-table] add placeholder for tree table (#6905) 2022-03-31 10:27:21 +08:00
bqy_fe
c9c1301e3b fix(components): [table-column] does not render defualt slot when children are comment nodes (#6745) 2022-03-25 19:08:25 +08:00
三咲智子
184facdb4c chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
三咲智子
b8c38a9fe5 chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
msidolphin
333b1b450a fix(components): [el-table] render failed when custom table column (#6398) 2022-03-06 18:01:40 +08:00
三咲智子
6503e55277 refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils): remove

* refactor(utils): rename

* refactor(utils): move EVENT_CODE to constants

* refactor: remove generic
2022-02-11 11:03:15 +08:00
三咲智子
c1e5d724d8 refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
msidolphin
2f521c419c refactor(components): [el-table] use namespace (#5528) 2022-01-22 10:37:59 +08:00
msidolphin
e3e59afc75 refactor: [el-table] using sticky position refactor fixed column (#4414)
* refactor: [el-table] using sticky position refactor fixed column

re #4399

* fix: solve the misalignment issue

* fix: optimize code
2022-01-05 15:13:01 +08:00
Carter Li
fcd11d9bb0 fix(components): [table-column, time-picker] improve typings (#4761) 2021-12-10 18:14:31 +08:00
Alan Wang
d36ef9d784 fix: about custom extension of table column (#3437) 2021-10-11 16:13:29 +08:00
三咲智子
0636e1e240 style: add import and stricter lint (#3440)
* style: add import lint

* chore: apply eslint rules

* chore: add stricter lint

* chore: lint all files

* auto fix

* manually fix

* restore build-indices.ts
2021-09-17 15:27:31 +08:00
三咲智子
c86c2b0fe9 style: eslint enable prefer-template (#3414)
* style: eslint enable prefer-template

* chore: apply eslint rules
2021-09-17 09:18:24 +08:00
Aex
03f02b5554 refactor(utils): improve debug warn (#3302) 2021-09-09 11:49:48 +08:00
三咲智子
55348b30b6 style: use prettier (#3228)
* style: use prettier

* style: just prettier format, no code changes

* style: eslint fix
object-shorthand, prefer-const

* style: fix no-void

* style: no-console
2021-09-04 19:29:28 +08:00
Sanxiaozhizi
6cc16bbd06 refactor: enhance type definition (#3062)
* chore: add vue-tsc for type check

* refactor(components): respect Vue's own style type

* refactor(components): improve props type

* chore(build): improve types

* fix(components): remove unnecessary props

* perf(components): use shallowRef

* fix(components): add missing property type for table

* refactor(components): improve time-picker types

* refactor(components): extract import type

* refactor(components): improve popper types

* refactor(components): upload list types

* fix(docs): fix type

* better type

* fix: remove index
2021-08-31 09:40:13 +08:00
Sanxiaozhizi
e9e56d5938 chore: upgrade & improve eslint rule (#3105)
* chore: remove unused ts-node

* chore: upgrade lodash

* chore: upgrade eslint

* perf: remove side effects in computed

* refactor: follow eslint rules

* chore: remove vue-template-compiler

* style: enhance eslint format rule

* style: format code
2021-08-27 17:46:06 +08:00
jeremywu
b0f4fc5f23 refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00