Commit Graph

108 Commits

Author SHA1 Message Date
msidolphin
cfc43e2a6d
fix(components): [el-table] some columns are missing in older chrome (#6111)
* fix(components): [el-table] some columns are missing in older chrome

* fix: unit tests

* fix: unit tests

* fix: lint
2022-02-21 14:20:44 +08:00
msidolphin
c60f75a0c5
fix(components): [el-table] column width calc error during resize (#6171) 2022-02-21 09:43:46 +08:00
msidolphin
78b24dfdfd
fix(components): [el-table] optimize popover performance (#6170) 2022-02-21 09:21:59 +08:00
msidolphin
8a9086d93e
fix(components): [el-table] footer layout error (#6090) 2022-02-21 09:14:45 +08:00
msidolphin
aa639e81f1
fix(components): [el-table] auto-load missing scrollbar style (#6045) 2022-02-15 09:36:00 +08:00
msidolphin
43c41015eb
fix(components): [el-table] avoid scrollbar not display (#5920)
* fix(components): [el-table] avoid scrollbar not display

* chore: optimize code
2022-02-11 15:17:34 +08:00
msidolphin
b6be179a2c
feat(components): [el-table] maxHeight support more units (#5904)
* feat(components): [el-table] maxHeight support more formats (vh、calc...)

re #5888

* chore: optimize code

* fix: resolve import issue
2022-02-11 15:00:33 +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
jeremywu
bcd5c8b848
test(components): removing mock folder (#5911)
- Remove mock folder from the project root
- Add mock for each component test file accordingly
2022-02-10 16:35:44 +08:00
msidolphin
04ed04effd
feat(components): [el-table] support tableLayout (#5860)
* feat(components): [el-table] support tableLayout

* fix: typo

* fix: remove unused var

* fix: optimize code

* fix: typo
2022-02-10 09:35:29 +08:00
三咲智子
c1e5d724d8
refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
三咲智子
b80e5c69e9
refactor(hooks): refactor popup manager to useZIndex (#5701) 2022-02-09 16:31:31 +08:00
msidolphin
21c646d4da
fix(components): [el-table] group header not supported fixed column (#5873)
fix #5864
2022-02-09 15:09:25 +08:00
三咲智子
426a6a686c
feat: switch to lodash-unified (#5734)
* feat: switch to lodash-unified

* chore: move lodash mocks
2022-02-08 10:37:21 +08:00
jeremywu
44dc9a1cf5
test(components): remove all sleep statement in the tests (#5784) 2022-02-06 00:37:20 +08:00
msidolphin
f860941d8e
fix(components): [el-table] hover not working in fixed mode (#5638) 2022-01-26 14:06:22 +08:00
msidolphin
043d20403f
fix(components): [el-table] fix invalid maxHeight issue (#5584)
* fix(components): [el-table] fix invalid maxHeight issue

fix #5580

* fix: remove native scrollbar
2022-01-26 14:05:35 +08:00
msidolphin
2f521c419c
refactor(components): [el-table] use namespace (#5528) 2022-01-22 10:37:59 +08:00
msidolphin
13be920c9a
refactor: [el-table] refactoring table with el-scrollbar (#5384)
* refactor: [el-table] refactoring table with el-scrollbar

* refactor: remove gutter

* fix: remove unused

* fix: optimize code
2022-01-19 17:12:58 +08:00
msidolphin
3a857c0695
fix: [el-table] fix checkbox cleared when data reference is not changed (#5443)
fix #5390
2022-01-18 10:43:02 +08:00
msidolphin
300a570b5a
fix(components): [el-table] fixed column position error issue (#5430) 2022-01-18 10:33:04 +08:00
kooriookami
c2ee36a7fc
fix: tooltip with compoents add persistent (#5250) 2022-01-09 17:38:51 +08:00
msidolphin
ab783fa8d6
fix(components): [el-table] improve scrollable condition (#5149) 2022-01-07 16:36:31 +08:00
神楽坂みずき
e7d71cce2b
fix(components): width reset to empty string should be parsed to auto (#5186)
fix #4878
2022-01-07 16:02:32 +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
jeremywu
dd19cae2bc
refactor(components): popper composables (#5035)
* refactor(components): popper composables

- Refactor popper composables

* updates

* updates for tooltip

* Updates for popper. TODO: fix controlled tooltip animation

* Fix controlled mode popper animation issue

* Add new feature for customizing tooltip theme

* Fix popover and popconfirm error

* - Add Collection component for wrapping a collection of component
- Add FocusTrap component for trap focus for popups
- Add RovingFocus component for roving focus component type
- Adjust dropdown component based on these newly added components
- Add popper-trigger component for placing the trigger
- TODO: Finish current dropdown component, and all component's tests plus documents

* Refactor popper

* Complete organizing popper

* Almost finish dropdown

* Update popper tests

* update only-child test

* Finish focus trap component test

* Finish tooltip content test

* Finish tooltip trigger tests

* Finish tooltip tests

* finish tests for Collection and RovingFocusGroup

* Fix test cases for timeselect & select & popover

* Fix popover, popconfirm, menu bug and test cases

* Fix select-v2 test error caused by updating popper

* Fix date-picker test issue for updating popper

* fix test cases

* Fix eslint

* Rebase dev & fix tests

* Remove unused code
2022-01-04 09:15:15 +08:00
三咲智子
4335b01d6c
refactor(utils)!: refactor global config (#4793)
* refactor(utils)!: remove global config

* refactor(utils): named export PopupManager

* fix tests
2021-12-30 19:31:35 +08:00
三咲智子
6287c1f92d
refactor(utils): remove isServer (#4792) 2021-12-12 23:28:03 +08:00
Carter Li
fcd11d9bb0
fix(components): [table-column, time-picker] improve typings (#4761) 2021-12-10 18:14:31 +08:00
三咲智子
db1d9401fe
feat(components): [el-config-provider] add size (#4730) 2021-12-10 17:21:01 +08:00
张仕春
f0162167aa
fix(components): [el-table] tooltip wrong style
fix #4697
2021-12-07 16:23:11 +08:00
三咲智子
5087026948
refactor: change icon package name (#4625) 2021-12-04 11:20:06 +08:00
三咲智子
bbd16a08e9
refactor(hooks): refactor hooks (#4253)
* refactor(hooks): remove use-css-var

* refactor(hooks): remove use-events

* refactor(hooks): remove use-migrating

* refactor(hooks): remove use-transition

* refactor(hooks): named export useAttrs

* refactor(hooks): named export useFocus

* refactor(hooks): refactor useFormItem

* refactor(hooks): refactor useGlobalConfig

* refactor(hooks): refactor useLocale

* refactor(hooks): refactor useLockscreen

* refactor(hooks): refactor useModal

* refactor(hooks): refactor useModelToggle

* refactor(hooks): refactor usePreventGlobal

* refactor(hooks): refactor useRestoreActive

* refactor(hooks): refactor useTeleport

* refactor(hooks): refactor useThrottleRender

* refactor(hooks): refactor useTimeout

* refactor(hooks): refactor useTransitionFallthrogh
2021-11-29 15:58:44 +08:00
msidolphin
e5e9d654a4
fix(components): [el-table] development environment warning issues (#4167)
fix #4166
2021-11-05 18:34:47 +08:00
神楽坂みずき
65276c3e4a
fix(components): ensure table size affects inner selection (#3979)
* fix(components): ensure table size affects selection

* refactor
2021-11-05 18:30:32 +08:00
msidolphin
c72ea9c1a1
fix(components): [el-table] fixed mode layout misalignment (#4188)
fix #4141
2021-11-05 17:36:05 +08:00
btea
d6c6c99ffc
fix(components): [el-table] refresh data, selected error (#3908) 2021-10-31 10:52:21 +08:00
Aex
883fd8d6ef
epic: refactor icons (#3492)
* refactor(components): el-alert icon (#3441)

* refactor(components): el-alert icon

* fix: el-alert test

* fix: [el-alert] lint error

* feat(utils): add icon util

* refactor(components): el-alert icon

* refactor(utils): icon

* test: update alert test

* refactor: remove el-icon in util

* refactor(components): el-notification icon (#3512)

* chore: temp save changes

* refactor: update icon

* fix: var

* docs: update icon

* fix: type class error

* style: remove unused class

* fix: update icon type

* docs: update icon

* fix: update iconComponent

* refactor(components): el-dialog icon (#3505)

* refactor(components): [el-dialog] icon

* fix: typo

* refactor: dialog icon ref

* refactor: dialog icon

* style: update close button size

* refactor(components): el-message-box icon (#3507)

* refactor(components): message-box icon

* refactor(components): message icon

* fix: test

* refactor: update ref

* fix: test

* docs: update icon

* fix: delete unused code

* docs: update type

* fix: update close button size

* fix: type

* fix: icon type class

* fix: icon type

* fix: update type class

* refactor(components): el-popconfirm icon (#3513)

* refactor(components): el-popconfirm icon

* fix: space styles

* docs: update example

* docs: update example for trigger event

* refactor(components): el-page-header icon (#3518)

* refactor(components): el-page-header icon

* docs: update icon

* fix: space errors

* refactor(components): el-steps icon (#3520)

* refactor(components): el-backtop icon (#3514)

* refactor(components): el-backtop icon

* fix: update font size

* refactor(components): el-button icon (#3536)

* refactor(components): el-button icon

* fix: update example

* refactor(components): el-button icon

* refactor: style simplify

Co-authored-by: imswk <syfzxx@vip.qq.com>

* refactor(components): el-tree icon (#3590)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-avatar icon (#3599)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-carousel icon (#3602)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-progress icon (#3607)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-result icon (#3609)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-timeline icon (#3646)

Co-authored-by: qianjie <qianjie@patsnap.com>

* refactor(components): el-table icon (#3611)

Co-authored-by: qianjie <qianjie@patsnap.com>

* chore: add vue to gitignore

* fix: buildProp error

* refactor(components): el-pagination icon (#3605)

* test: el-menu deprecated icon font (#3794)

* test: el-loading deprecated icon font (#3795)

* chore: Update changelog 1.1.0-beta.20 (#3838)

* fix: about custom extension of table column (#3437)

* refactor(components): el-autocomplete icon (#3783)

* refactor(components): el-dropdown icon (#3517)

* refactor(components): el-dropdown icon

* fix: arrow down icon size

* style: revert

* fix: font-size

* refactor(components): el-link icon (#3538)

* refactor(components): el-link icon

* refactor: update example

* fix: import icons

* docs: add tip

* refactor: update link icon

* fix: icon align

* fix: typo

* refactor(components): el-select icon (#3780)

* refactor(components): el-input icon (#3565)

* refactor(components): input icon

* docs: update example

* refactor(components): el-select icon

* docs: icon usage

* fix: input style

* fix: add scoped

* docs: fix icon

* fix: icon align

* fix: icon align

* fix: typo

* fix: typo

* refactor(components): el-input-number icon (#3566)

* refactor(components): el-input-number icon

* fix: icon align

* refactor(components): el-tag icon (#3793)

* refactor(components): el-tag icon

* fix: icon align

* fix: icon margin

* refactor(components): el-switch icon (#3787)

* refactor(components): el-switch icon

* fix: icon align

* docs: add icon usage

* refactor(components): el-collapse icon (#3788)

* refactor(components): el-collapse icon

* docs: update icon demo

* fix: typo

* refactor(components): el-uplod icon (#3598)

* refactor(components): el-uplod icon

* docs: update icon useage

* docs: fix icon

* docs: fix icon

* docs: update upload-filled icon

* fix: icon align

* fix: item icon align

* refactor(components): el-select-v2 icon (#3781)

* refactor(components): el-select-v2 icon

* revert: play/main.ts

* fix: icon style

* fix: icon solt

* refactor(components): el-cascader icon (#3785)

* refactor(components): input icon

* docs: update example

* refactor(components): el-select icon

* refactor(components): el-cascader icon

* refactor(components): el-tag icon

* fix: icon align

* fix: icon margin

* docs: icon usage

* fix: input style

* fix: add scoped

* test: remove unuesd code

* fix: cascader-panel

* fix: icon style

* fix: icon animation

* refactor(components): el-drawer icon (#3796)

* refactor(components): el-drawer icon

* fix: close icon size

* fix: close icon align

* refactor(components): el-transfer icon (#3792)

* refactor(components): el-transfer icon

* fix: icon align

* refactor(components): el-image-viewer icon (#3797)

* refactor(components): el-image-view icon

* fix: icon size

* docs: update domo

* style: format vue

* fix: fullscreen icon

* Add cursor for icons

Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

* refactor(components): rate-icon (#3891)

* refactor(components): el-rate icon

* docs: update example

* docs: update

* test: update

* docs: update

* fix: variable rename

* fix: demo update

* fix: allow half bug

* refactor(components): el-time-picker icon (#3834)

* refactor(components): el-button icon

* refactor(components): date-picker icon

* refactor(components): input icon

* docs: update example

* refactor(components): el-select icon

* refactor(components): el-time-select icon

* fix: icon width

* docs: icon usage

* fix: input style

* fix: add scoped

* fix: icon size

* docs: icon display

* fix: icon in button

* docs: fix error

* refactor(components): el-time-picker icon

* fix: var

* fix: icon align

* test: delete unused code

* test: fix error

* fix: remove unused code

* docs: fix typo

* docs: update icon

* fix: default prefix icon

* fix: range picker icon align

* Update cursor for picker

Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

* fix(components): el-input close icon

* chore: delete fonts

* fix: copy full style

Co-authored-by: imswk <syfzxx@vip.qq.com>
Co-authored-by: bastarder <85257684@qq.com>
Co-authored-by: qianjie <qianjie@patsnap.com>
Co-authored-by: Element <wallement@gmail.com>
Co-authored-by: Alan Wang <948467222@qq.com>
Co-authored-by: jeremywuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-10-27 23:17:13 +08:00
Alan Wang
89ede5d05f
fix: popover repeat when exist fixed column in table (#3394)
* fix: popover repeat when exist fixed column in table

* Update render-helper.ts
2021-10-26 17:19:12 +08:00
deepthan
e8043abca8
fix: capitalize the first letter of the error message (#3882)
* Fix: fix erros message typo

Co-authored-by: linkun.he <helinkun@ithinkdt.com>
Co-authored-by: Herrington Darkholme <2883231+HerringtonDarkholme@users.noreply.github.com>
2021-10-15 17:51:15 +08:00
Alan Wang
39c286f140
fix: table lazy rows can't expand at the first time (#3731)
* fix: Table Attributes expand-row-keys has changed, but fold not work

* fix: Table lazy column can't expand at the first time

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

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>

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

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-10-14 17:38:00 +08:00
Alan Wang
d36ef9d784
fix: about custom extension of table column (#3437) 2021-10-11 16:13:29 +08:00
Alan Wang
a267c75965
fix: Table Attributes expand-row-keys has changed, but fold not work (#3675)
* fix: Table Attributes expand-row-keys has changed, but fold not work

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

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>

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

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>

Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com>
2021-09-29 09:53:51 +08:00
jeremywu
3138dea797
fix(components): sub components no install issue (#3615)
- Add noop install for all sub components for supress the warning
2021-09-24 19:11:56 +08:00
啝裳
48a787d55f
fix: [el-table] an extra 0 after the total line at safari (#3471) 2021-09-18 10:25:54 +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
Alan Wang
b14f45006c
fix: [el-table] default-expand-all doesn't work (#3321)
close #2776
2021-09-12 18:00:22 +08:00
三咲智子
200effa261
refactor(utils): drop ie support (#3304)
* refactor(utils): drop ie support

* fix(utils): remove unused
2021-09-10 15:00:39 +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
SongWuKong
5f847e3590
fix(components): [el-table] width init error (close #3087) (#3117) 2021-08-31 14:23:45 +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
wanghaitao
c1445d80de
Table: fix Destructuring assignment bug (#2893) 2021-08-28 03:48:03 +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
Aex
13c1183cf7
fix(components): [table] avoid table border style conflict (#3064) 2021-08-26 09:58:58 +08:00
JeremyWuuuuu
b4342c5ef4 fix missing folders and umd locale builds and i18n docs for umd builds 2021-08-25 17:07:06 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00