Commit Graph

78 Commits

Author SHA1 Message Date
James Yeung
8d50b1cb1a fix(module: table): selection was broken with scroll y (#1020) 2021-01-22 09:56:51 +08:00
James Yeung
bbc69f25af feat(module: table): support multiple sorter (#1019) 2021-01-22 00:45:15 +08:00
Andrzej Bakun
152a574577 feat(module: overlay): OverlayTrigger not bound to a div (#937)
* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): Logic transfer to single Overlay

* feat(module:overlay): remove obsolete duplication

* feat(module:Tooltip): Add for unbounded oncontextmenu event handler

* feat(module:tooltip): unbound js event listeners remove

* docs(module:tooltip): unbound explanation

* fix(module:button): attach Ref to top level html element @ref

* feat(module:dropdown&tooltip&popconfirm&popover): Overlay not bound to a div

* docs(module:dropdown&tooltip&popconfirm&popover): unbound explanation

* feat(module:OverlayTrigger): common logic relocation

* feat(module:overlaytrigger): Overlay not bound to a div

* feat(module:DatePicker): Overlay not bound to a div

* feat(module:select): Overlay not boud to div

* fix(module:select): onclickarrow event relocation

* fix(module:select): rename Show to OnArrowClick

* feat(module:avatar): Overlay not bound to a div

* docs(module:avatar): demo switch to unbound version

* feat(module:autocomplete): partial OverlayTrigger not bound to a div

* feat(module:slider): tooltip

* docs(module:slider): tooltip

* fix(module:overlay): add SetVisible method

* feat: set Ref where missing, performance

components register Ref when missing
IsFixed flag for CascadeValue changed
hard-code sequence numbers when using RenderTreeBuilder
Rate component use Tooltip Unbound version
Tabs test fix

* fix: revert changes (accidental)

* feat(module:upload): tooltip with unbound usage

* feat(module:table): column use of unbound tooltip

* feat(module:autocomplete):overlay unbound from div

* fix(module:upload): missing div restore

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-21 17:20:10 +08:00
fan0217
90e98e5487 feat(module: table): specific the position of the expand button (#1002)
* Table增加属性ExpandIconColumnIndex

* Table增加属性ExpandIconColumnIndex

* 调整Table的ExpandIconColumnIndex属性默认值为0

* 处理Table的Expand展开按钮和Tree展开按钮冲突的问题

* fix icon column index for expand row

* fix style

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-21 14:56:20 +08:00
Zonciu Liang
a09a8e6ac3 feat(module: table): add DataIndex support (#999)
* docs: correct parameter name

* feat(module: table): add data index

* refactor(module: table): make DataIndex expression cached

* refactor(module: core): recursive method for PropertyAccessHelper.GetRootParameterExpression

* refactor(module: table): make DataIndex feature clearer

* feat(module: table): support DataIndex format

* fix: sort column style

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-20 23:35:57 +08:00
Magehernan
3a6360524d fix(module: table): incorrect no data style with ExpandTemplate (#985) 2021-01-13 23:20:10 +08:00
Zonciu Liang
9d9506bb5c feat(module: table): add SorterCompare parameter for sorter (#969)
* feat(module: table): add custom comparer

* docs: keep the DataSource of Table's blazor demo unchanged

* Update custom-sort.md

* refactor(module: table): change Comparer to SorterCompare

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-12 00:39:40 +08:00
James Yeung
d266f77346 fix(module: table): exception if field is null (#965) 2021-01-11 22:36:06 +08:00
James Yeung
d24c7a5325 fix(module: table): sorter works incorrectly (#962)
* fix(module: table): sorter works incorrectly

* docs: delete the jsx block
2021-01-11 13:39:02 +08:00
James Yeung
1a2866cf9d feat(module: table): add ellipsis column (#957) 2021-01-10 21:44:25 +08:00
James Yeung
43664736f7 feat(module: table): fixed header & columns (#954)
* feat(module: table): support fixed header & columns

* fix layout of the fixed columns & header

* fix scrollbar hidding

* header and body sync scroll

* fix column width calc

* fix demo pagesize

* fix docs
2021-01-09 23:57:31 +08:00
James Yeung
56dfae7f62 chore: sync ant-design v4.10.0 (#943) 2021-01-09 09:07:02 +08:00
James Yeung
dc208f6491 fix(module: table): tree data doesn't work in asynchrony (#929) 2020-12-26 22:06:16 +08:00
fan0217
b8a6062f6f fix(module: table): add header style and fix the table size (#909)
* rename to header style

* fix selection and action

* delete  useless style

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-12-23 00:47:35 +08:00
Elliot
4ba4a301fb feat(module: table): add TitleTemplate for column title (#857)
* feat(module: table): add TitleTemplate for column title

* fix: action column templated title and add a demo

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-12-05 18:44:38 +08:00
James Yeung
df99bad7e5 chore: sync ant-design v4.9.0 (#842) 2020-12-01 11:02:28 +08:00
Alex Friedman
456c0819ba feat(module: table): add OnRowClick to Table component (#785)
* Add OnRowClick to Table component

This adds a new Parameter to the Table component called OnRowClick that will trigger whenever a user clicks on any of the rows in the table.

* Updated Table row click to pass RowData

* refactor: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-18 17:10:35 +08:00
James Yeung
fcd8393742 feat(module: table): support for tree data (#771)
* feat(module: table): support for tree data

* feat(module: table): support for tree data

* fix: tests
2020-11-09 22:17:27 +08:00
James Yeung
fec86ed11b feat(module: table): support for expand row (#768)
* feat(module: table): support for expand row

* feat(module: table): add RowExpandable
2020-11-08 23:29:05 +08:00
James Yeung
c3484dd846 fix(module: table): pagination didn't change while pageindex was changed (#767) 2020-11-08 16:55:34 +08:00
James Yeung
c71501109a fix(module: table): header col mistake (#689) 2020-11-03 13:31:22 +08:00
老九
2d2652317d fix(module: table): make _waitingReload alaways is true in DataSource setter (#746) 2020-10-30 22:40:19 +08:00
James Yeung
428255086e chore: sync ant-design v4.7.3 (#719) 2020-10-25 23:07:27 +08:00
老九
b1bbe30323 perf(module: table): use hash-code comparison for all the parameters to control UI rendering (#716)
* 为组件增加GetParametersHashCode()扩展方法,以支持控制组件的渲染方式;
为Table组件增加RenderMode的渲染模式参数;

* fix: translate the comments

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-10-25 18:31:31 +08:00
老九
1b53d1a425 fix(module: table): incorrect SetSortType method (#709) 2020-10-23 21:52:15 +08:00
James Yeung
66f6183e0f feat(module: avatar): add avatar group (#677)
feat: add max count style

feat(module: avatar): add avatar group
2020-10-14 13:56:59 +08:00
James Yeung
3fb5998d19 chore: sync ant-design v4.7.0 (#675) 2020-10-14 13:31:22 +08:00
bingbingtalk
0930f79da8 feat(module: table): add colspan & rowspan (#649)
* feat(module: table): add colspan & rowspan

* fix: unit test

* test: add colspan and rowspan case

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-09-28 16:06:02 +08:00
James Yeung
a8d04b6237 chore: sync ant-design v4.6.5 (#633) 2020-09-20 14:53:20 +08:00
TimChen
cbc5e823f0 refactor(module: all): separate the normal and template parameters (#552)
* fix: card title template

* fix: template:badge,collapse

* fix: comment refactor template

* fix: ribbonTests

* feat: descriptions refactor template

* feat: empty refactor template

* feat: list refactor template

* feat: menu refactor template

* feat: confirm add question icon

* feat: pageHeader and statistic refactor template

* feat: popconfirm refactor template

* feat: popver refactor template

* feat: result refactor template

* feat: step refactor template

* feat: switch refactor template

* feat: table refactor template

* feat: transfer refactor template

* feat: optimized code

* fix: pageheader

* refactor(module: empty): remove empty image constant images

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-09-16 13:58:16 +08:00
James Yeung
5af08ef933 chore: sync ant-design v4.6.4 (#596) 2020-09-13 22:16:12 +08:00
James Yeung
19bfe1bfff chore: sync ant-design v4.6.3 (#577) 2020-09-11 15:44:34 +08:00
James Yeung
95df2c811d fix(module: table): the sorter doesn't work (#582) 2020-09-08 17:13:26 +08:00
James Yeung
bd34858efd feat: support for globalization & localization (#578)
* feat: add locale

* feat: add locale interfaces

* fix: add locale interfaces for components

* fix: use local classes instead of interfaces

* feat: implement the locale provider

* feat: make some components to support localization

* fix: default language

* fix: test

* chore: remove the useless reference
2020-09-07 22:46:50 +08:00
James Yeung
58504bba1b refactor(formatter): merge the special method of timespan into formatter (#575)
* refactor(formatter): merge the special method of timespan into formatter

* test: add test for formatte
2020-09-06 15:31:40 +08:00
Diego Frata
7119351b9f fix(module: table): fix collection modified exception (#570) 2020-09-05 20:27:52 +08:00
James Yeung
a4e4d6f556 refactor: get PropertyInfo from expression (#559) 2020-09-01 17:23:31 +08:00
James Yeung
91b6e0efcc chore: sync ant-design v4.6.0 (#524) 2020-08-23 16:06:08 +08:00
James Yeung
7e4fb7405b fix(module: table): empty column count and formatter (#493) 2020-08-11 15:27:15 +08:00
James Yeung
ce6ac9c2d6 chore: sync ant-design v4.5.2 (#451) 2020-08-03 12:42:59 +08:00
James Yeung
e9fed3ea00 feat(module: table): add router pagging demo (#450)
* feat(module: table): support router pagging

* fix: selection
2020-08-02 22:10:47 +08:00
James Yeung
afcc3c088c fix(module: table): clear cached items that are not on current page (#442) 2020-08-01 23:45:48 +08:00
LI ZICHAO
71bac2e85d fix: children components dispose (#399)
* Children components using CascadingParameter add itself to parent component.However, when children components disposed, they are not remove from parent component. For example, when items in checkgroup have changed , it may causes Index was outside the bounds of the array at AntDesign.CheckboxGroup.OnCheckboxChange.To fix these bug, Adding remove function in dispose process is the solution of this commit.

* fix: some exception

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-21 23:48:43 +08:00
James Yeung
0557633da0 chore: sync ant-design v4.4.3 (#392) 2020-07-21 00:19:16 +08:00
James Yeung
4d2b192115 chore: sync ant-design v4.4.2 (#346) 2020-07-11 22:52:35 +08:00
James Yeung
726cff7a72 feat(module: table): support paging selection (#341)
* refactor: selection

* feat: add table datasource cache

* feat: support paging selection

* refactor: clean code

* fix: two-way binding for selecteditems
2020-07-10 17:57:20 +08:00
James Yeung
715149e21f feat(module: table): sortable (#319)
* feat(module: table): add sorter

* feat: add sorter tooltip

* feat: add table change event
2020-07-08 16:12:49 +08:00
Meeleem
bef19775a8 fix(module: table): crush without selection column (#316) 2020-07-06 19:21:03 +08:00
James Yeung
60ac146ba8 chore: sync ant-design v4.4.1 (#314) 2020-07-06 14:12:11 +08:00
James Yeung
e19d09fd96 feat(module: table): support string formatting for field columns (#311) 2020-07-05 00:09:53 +08:00