Commit Graph

666 Commits

Author SHA1 Message Date
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
zxyao
4f4b8ea767 fix(module: modal): dom cannot be destroyed when the page changed on DestroyOnClose is false (#799)
* fix(module: modal): dom cannot be destroyed when the page changed

* chore: remove console.log info of debug
2020-11-18 16:01:31 +08:00
笨木头
353876cb43 fix(module: date-picker): bind-value is useless without form (#798) 2020-11-18 10:43:47 +08:00
abdelkrim boutkhil
6b0e9cb153 fix(module: badge): preset color of ribbon (#791)
* Fix ribbon syle

Text color was same as background color.

* Ribbon documentation

Added two ribbon examples with color set (preset and custom)

* fix : badgeribbon html content

Html content must be the same as in the react version

* revert changes

We don't change less files. They are copied from react version.

* revert

* tests: fix badgeribbon unit tests

Modified expected html to match markup from react version.

* Update tests/badge/RibbonTests.cs

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-11-17 16:38:32 +08:00
James Yeung
ab1d3cc2b1 chore: sync ant-design v4.8.4 (#792) 2020-11-16 22:44:31 +08:00
ElDiddi
f710fdae11 feat(module: menu): Menu Multiple and Menu-Item Title (#787)
* fix(module: menu): multiple and accordion demo

Co-authored-by: Lars Diederich <diederich@evodata.de>
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-16 12:57:42 +08:00
James Yeung
9d6c31ccf4 chore: sync ant-design v4.8.3 (#789) 2020-11-16 10:20:32 +08:00
James Yeung
93c85d54dc chore: sync ant-design v4.8.2 (#770) 2020-11-15 17:03:30 +08:00
ElderJames
ffca0f1edb fix: missing net 3.1 sdk for master action 2020-11-15 13:19:30 +08:00
Huei Feng
e672e4f363 chore: add .NET 5 target framework to all projects (#758)
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-14 23:44:48 +08:00
笨木头
a6d38a6faf fix(module: autocomplete): overlay couldn't close (#783) 2020-11-13 00:22:41 +08:00
James Yeung
af862ae537 fix(module: menu): menulink active incorrectly (#784) 2020-11-12 22:52:27 +08:00
ElderJames
20406e6e22 chore: fix build cmd for release action 2020-11-12 19:56:51 +08:00
ElderJames
5b711fadc0 chore: fix the release action 2020-11-12 17:38:05 +08:00
Micah Osborne
6b21265ae1 fix: absolute positioning before doesn't take the scroll position into account (#744) 2020-11-12 16:53:14 +08:00
Henry.zhang
d3f3d795dd fix(module: switch): loading icon has a little shift (#766)
* fix:  the issue #762 switch loading icon has a little shift

* test: comment the table tests provisionally

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-12 15:39:58 +08:00
James Yeung
a23e431d3c fix(module: menu): mark state has changed after menu items were deselect (#779) 2020-11-12 14:05:22 +08:00
James Yeung
7fb7d36873 fix(module: progress): single stroke color (#776)
* fix(module: progress): single stroke color

* fix: change value type
2020-11-10 22:40:00 +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
ElDiddi
9c61068c26 fix(module: step): progress size (#760)
Co-authored-by: Lars Diederich <diederich@evodata.de>
2020-11-05 17:34:52 +08:00
James Yeung
c71501109a fix(module: table): header col mistake (#689) 2020-11-03 13:31:22 +08:00
James Yeung
b63c6784c1 docs: update links (#756) 2020-11-03 00:49:13 +08:00
TimChen
d95fd71eb0 refactor(module: auto-complate): add generic options (#741)
* feat: modify demo

* feat: refactor autocomplate
2020-11-02 23:05:17 +08:00
James Yeung
abb5791ddb fix(module: input): doesn't show the loading icon on search was pressed 'enter' (#752) 2020-11-01 22:38:43 +08:00
Kieran Coldron
504b8bceae fix(module: overlay): don't close overlay if is controlled via visible param fixes #742 (#743) 2020-11-01 16:15:48 +08:00
James Yeung
4f250e11e9 fix(module: input): value wouldn't change while input blur in inputting compositionally (#751) 2020-11-01 16:06:16 +08:00
zxyao
228d979e8f fix(module: confirm): cannot remove from dom when confirm is hidden (#750) 2020-11-01 16:00:23 +08:00
James Yeung
af97be3121 chore: add source link (#748) 2020-10-31 14:21:48 +08:00
Dylan R. E. Moonfire
d5b1d53241 test(module: grid): added rendering tests for properties of columns (#747)
- This is to complete #343.

Co-authored-by: Moonfire <Dylan.Moonfire@ryan.com>
2020-10-31 10:43:20 +08:00
老九
2d2652317d fix(module: table): make _waitingReload alaways is true in DataSource setter (#746) 2020-10-30 22:40:19 +08:00
Kieran Coldron
57a69e7254 fix(module: date-picker): improvements (#736)
* fix: hide footer from range time picker so no duplicate footer

* fix: invoke onopenchange for datepicker when panel state changes

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-29 18:18:48 +08:00
笨木头
b4c8b52ba6 fix(module: date-picker): event callback args (#713)
* fix: rangepicker parameter error

* refactor: use EventCallback instead of Action

* refactor: use EventCallback instead of Action

* fix: rename the class name

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-10-29 01:20:11 +08:00
James Yeung
428255086e chore: sync ant-design v4.7.3 (#719) 2020-10-25 23:07:27 +08:00
TimChen
6200953db5 refactor(module: checkbox): optimize code (#687) 2020-10-25 23:01:54 +08:00
zxyao
86942d7e18 fix: modal box randomly closed when multiple mouse click performed within it (#696) (#715)
* fix: invalid type mapping

* fix: frequent click results in modal self-closing (#696)

* fix(module: radio): the onclick event is repeatedly triggered
2020-10-25 19:21:36 +08:00
老九
651d0d0e14 fix: array remove issue (#723)
* 当array==null时,改为返回Array.Empty<T>()
* 考虑T类型为引用类型时,集合元素可能为null,原有逻辑会触发null.Equals()的问题
2020-10-25 19:11:45 +08:00
老九
3a0a6073d6 refactor: replace HashCode.Combine in CssSizeLength.cs (#721) 2020-10-25 19:08:11 +08:00
老九
6b1875c83c refactor: use single RequiredAttribute in PropertyReflector (#722) 2020-10-25 19:03:58 +08:00
老九
b6f21b5cf7 perf: Optimize for value converting performance (#720)
* 使用UnSafe替换表达树的编译实现,提高性能

* fix: translate the comments

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-10-25 19:00:51 +08:00
老九
2d685ebe4b fix: deserialization UTF8 encoding issue in extension method of HttpClient (#717)
* 修复HttpClientExtensions反序列化时没有判断内容是否为utf8编码的问题

(cherry picked from commit f6e4903c9336d0f1a43f1da3fe148e08bb917f3f)

* fix: translation comments

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-10-25 18:54:59 +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
ElDiddi
7b4d258656 fix(module: select): fixed multiple issues #674 #557 #695 #588 #698 (#718)
* fix-module-select-commit3

fix-module-select-commit3

* fix: demo translation

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-10-25 14:59:10 +08:00
ElDiddi
2cd069a6ac fix(module: transfer): fixed multiple issues #711 #645 (#712)
* fix(module: transfer): Fixed multiple issues

fix(module: transfer): Added localization support (LocaleProvider.CurrentLocale.Transfer).  Property name is 'Locale'. #645
fix(module: transfer): Fixed no data image.
fix(module: transfer): Header alignment
fix(module: transfer): Fixed header count suffix
fix(module: transfer): Fixed a bug in the checkbox state if there is 'no item' or no 'not deactivated' item in the selection list.
fix(module: transfer): Duplicate item filter bug fixed (#711)
feat(module: transfer): Added clear button to the filter input
feat(module: transfer): Filter option is now InvariantCultureIgnoreCase (please change it if there is a problem with chinese language)
style(module: transfer): removed unused usings, fixed some style issues
docs(module: transfer): Added Local Property description - Please take a look at the chinese version (Google translate)

* Update index.zh-CN.md

Co-authored-by: Lars Diederich <diederich@evodata.de>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-24 13:39:02 +08:00
老九
1b53d1a425 fix(module: table): incorrect SetSortType method (#709) 2020-10-23 21:52:15 +08:00
ElDiddi
98edad243e feat(module: input-number): add callback after value is changed (#703) 2020-10-22 12:48:57 +08:00
kefengwei
c0ec36aab9 feat(module: tree): add methods to find nodes and expand a node (#694)
* ### tree enhancement
1. change `TreeNode`'s `ChildNodes` accessbility to public
2. add `FindFirstOrDefaultNode` funcation
3. add `ExpandToNode` function

* fix `FindFirstOrDefaultNode` not correct recursive problem

* Update components/tree/TreeNode.razor.cs

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-21 13:51:41 +08:00
Kieran Coldron
7989288559 fix(module: date-picker): duplicate footer on rangepicker (#690) 2020-10-19 12:04:24 +08:00
James Yeung
0a44438cdc docs: fix the missing globalization data by linking (#688) 2020-10-18 17:48:24 +08:00