Commit Graph

48 Commits

Author SHA1 Message Date
LIUCHAO
5bcccfd756
fix(components): [virtual-list] fix type error (#9780) 2022-09-16 07:50:17 +08:00
Alwyn Ou
54f4353587
perf: RTLOffsetType compare (#9320) 2022-08-18 09:35:18 +08:00
jarven
48d0edfe99
fix(hooks): [use-lockscreen] fix namespace (#8711) 2022-07-26 18:12:14 +08:00
dopamine
2287dc3690
fix(components): [virtual-list] throw non-corresponding error message (#8835) 2022-07-17 17:28:26 +08:00
三咲智子
7097940f4a
refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
Flare
3374ab9a1c
fix(components): [virtual-list] fix namespace in virtual-list (#8255)
Co-authored-by: 迪恩 <dien@yottastudios.com>
2022-06-14 20:59:56 +08:00
JeremyWuuuuu
52a528fde7
fix(components): [virtual-table] horizontal scroll (#7538) 2022-05-06 21:28:57 +08:00
JeremyWuuuuu
77c7225a9d
docs(components): [virtual-table] basic usage (#7352)
- Add entry for table-v2
- Add basic usage for table-v2
2022-04-24 13:44:40 +08:00
JeremyWuuuuu
6d9e56a106
feat(components): [virtual-table] compsables (#7341)
- Split `use-table` into separate files for better readability
2022-04-23 20:05:20 +08:00
JeremyWuuuuu
655fecd8f2
feat(components): [virtual-table] renderers (#7273)
- Update table grid for dynamic height row rendering
- Expose reset rendered row methods for Grid
- Expose enums in virtual table for user facing usages.
- Update table-v2 style.
2022-04-20 18:06:45 +08:00
Delyan Haralanov
34f6f71042
test: enable clearMocks in vitest config (#7263) 2022-04-20 17:02:44 +08:00
Delyan Haralanov
0a0241e54d
test: fix console output errors and warnings (#7237) 2022-04-19 17:37:56 +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
JeremyWuuuuu
5716a94211
feat(components): [virtual-table] renderers (#7218)
- Temporarily removed ColumnResizer in HeaderCell
- Update VirtualScrollbar to match the design
- Style updates
2022-04-18 15:53:03 +08:00
JeremyWuuuuu
da63b35c6b
feat(components): [virtual-table] renderers (#7195)
- Move render function into rendering units
2022-04-17 15:34:52 +08:00
JeremyWuuuuu
83aba9fd7a
feat(components): [virtual-table] renderer (#7191)
- Add ExpandIcon for rendering expandable row
- Fix a potential bug in VirtualGrid component
- Add method for mapping expandable data
2022-04-17 11:36:14 +08:00
JeremyWuuuuu
dbebca623b
feat(components): [virtual-table] composables (#7143)
- Add implementation for virtual table composables
2022-04-13 15:24:17 +08:00
gjfei
851bd47c37
refactor(components): [virtual-list, visual-hidden] use useNamespace (#6461) 2022-04-12 22:52:48 +08:00
JeremyWuuuuu
993971e872
feat(components): [virtual-table] grid table (#7081)
- Add grid table props definitions
- Implemented TableGrid component
- Update Virtual Grid for rich typing
2022-04-10 14:05:12 +08:00
msidolphin
5021214d77
feat(components): [el-virtual-list] support native behaviours (#6945) 2022-04-01 14:37:41 +08:00
joson
cc9df6ea61
style: delete extra spaces (#6903)
Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com>
2022-03-31 09:11:29 +08:00
三咲智子
184facdb4c
chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
btea
d9b8ec2164
refactor(utils): remove isFF (#6507)
* refactor(utils): remove isFF

* chore: remove isObject
2022-03-10 11:30:10 +08:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +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
三咲智子
426a6a686c
feat: switch to lodash-unified (#5734)
* feat: switch to lodash-unified

* chore: move lodash mocks
2022-02-08 10:37:21 +08:00
三咲智子
6287c1f92d
refactor(utils): remove isServer (#4792) 2021-12-12 23:28:03 +08:00
btea
5b52336965
feat(components): [el-select-v2] mouse trigger scrollbar show/hide (#3722)
* feat(components): [el-select-v2] mouse trigger scrollbar show/hide

* feat: add always-on flag

* fix: change flag name and add transition

* docs: select-v2 add scrollbar-always-on flag

* test: add test cases
2021-11-04 14:37:40 +08:00
msidolphin
974e9d563f
fix(components): [el-tree-v2] empty-text supports empty string & virtual list width become no required (#4144) 2021-11-01 15:05:04 +08:00
三咲智子
edb5726c2d
refactor(utils): refactor buildProps & replace buildProp (#3775) 2021-10-06 19:56:24 +08:00
Kevin
cd2bd26d63 test: upgrade @vue/test-utils to v2.0.0-rc.15 2021-10-06 17:19:00 +08:00
jeremywu
50a1b6f892
feat(components): [el-virtualized-grid] fulfillment (#3612)
* feat(components): [el-virtualized-grid] fulfillment

- Add scrollabr and scroll handler to v-grid

* Address comments and code perfection

* Update render function

* fix linter

* address comments
2021-09-26 19:22:56 +08:00
jeremywu
2a0ebbc0b9
feat(components): [el-virtualized-list] enable virtual list perf mode (#3547)
* feat(components): [el-virtualized-list] enable virtual list perf mode

- Add perfMode API for both list and grid
- Code refactor

* fix linter issue
2021-09-22 18:29:54 +08:00
jeremywu
91d851f44d
fix(components): [el-virtual-list] potential mem issue (#3510)
- Replace memo with memoize-one for preventing mem outage
2021-09-19 22:09:18 +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
Summer
b5b67b489d
fix(components): [el-virtual-scrollbar] fix move bug (#3379)
Co-authored-by: 徐志伟 <zwxu01@wisedu.com>
2021-09-13 18:07:51 +08:00
三咲智子
2f23940152
refactor(utils): refactor throwError (#3301)
* refactor(utils): refactor error

* refactor(utils): remove default export
2021-09-10 10:01:17 +08:00
Summer
60be401c89
feat(components): [el-virtual-scroll-bar] handle click event (#3308)
Co-authored-by: 徐志伟 <zwxu01@wisedu.com>
2021-09-09 12:04:11 +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
BeADre
fdbbd15187
fix: remove useless and duplicate declaration (#3082) 2021-08-28 03:47:38 +08:00
Sanxiaozhizi
0617cdf9f8
test: fix test (#3109) 2021-08-27 19:13:37 +08:00
SongWuKong
7b79aae8ff
fix(input): autosize type problem (#3008) (#3012)
* fix(input): autosize type problem (#3008)

* fix(input/card):  ( autosize/bodyStyle )type problem (#3008)

* fix(input/card): (autosize/bodyStyle)type problem (#3008)

* fix(components): input/card (autosize/bodyStyle) type problem (#3008)

* fix(components): input/card (autosize/bodyStyle) type problem (#3008)
2021-08-26 17:00:18 +08:00
msidolphin
d6975c61df
feat(select-v2): support allow-create feature (#3017)
* feat(select-v2): support allow-create feature

support allow-create feature and refactored part of select-v2's code

* fix: optimized code
2021-08-25 17:23:13 +08:00
jeremywu
0738aed40c
fix(build) fix rollup full bundile issue (#3034) 2021-08-25 01:22:03 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00