Commit Graph

481 Commits

Author SHA1 Message Date
老九
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
TimChen
30d99c380b refactor(module: autocomplete): optimize performance (#686) 2020-10-16 13:08:43 +08:00
笨木头
3ca6a1ba96 fix(module: dropdown): context menu would show on "OnClick" event (#678)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-14 17:42:57 +08:00
Brian Ding
20ec26034d feat(module: back-top): display and disappear on scroll (#679)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-14 17:33:36 +08:00
笨木头
34fff47114 fix(overlay): bugs when overlay is nested (#681) 2020-10-14 17:24:26 +08:00
zxyao
6bf817d1ea feat(module: modal): support creating Modal dialog from ModalService (#676)
* refactor: change the name of ModalRef to ConfirmRef

in order to create a Modal dialog in service mode

BREAKING CHANGE: all using of ModalRef must rename to ConfirmRef

* refactor: chang the name of ModalTemplate to ConfirmTemplate

in order to create a Modal dialog in service mode

BREAKING CHANGE: all using of ModalTemplate must rename to ConfirmTemplate

* feat(module: modal): support creating Modal dialog from ModalService

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-14 15:09:11 +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
Kieran Coldron
83ab94cc92 fix(input): allow number type in input (#630)
* fix: allow number type in input

* fix: parse empty string to value

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-10-12 00:20:33 +08:00
TimChen
a2e4bc4ef3 feat: simplify drawer calling method (#657)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-10 22:19:15 +08:00
Vladislav Richter
059491d749 refactor: replace IdGeneratorHelper with DI service that can be replaced by user (#664)
* Replaced IdGeneratorHelper with DI service that can be replaced by user

* removed license comments and unnecessary usings

* check Id null before assigning autogenerated id

* fix: unit test

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-10-10 15:31:32 +08:00
TimChen
35b5029117 feat(module: auto-complete): add disabled and placeholder properties (#655)
* feat: add Disabled Placeholder

* fix: api doc

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-09 16:32:40 +08:00
TimChen
542b66d383 refactor: tree (#672)
* feat: refactor tree

* feat: refactor tree

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-09 15:13:32 +08:00
Vladislav Richter
7ed9c6550f feat(module: collapse): panel toggle and SetActive propagation to Collapse, De/activate panels by keys (#666)
* When Panel is set as active, call parent Collapse in case it is in a accordion mode, Allow shortcut Toggle method and always null-check referenced Collapse.

* Alllow de/activating child Panels by their keys.

* docs: update the demo and api doc

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-09 14:11:23 +08:00
zxyao
0c90ef19d7 fix: await with null propagation system null referenceexception (#663)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-09 11:32:32 +08:00
TimChen
914dfed427 feat: complete backtop (#660)
* feat: complete backtop

* fix: backtop

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-10-09 10:59:52 +08:00
zxyao
86cd7a1184 fix(module: confirm): cannot config confirm width (#651) (#654) 2020-09-28 23:46:27 +08:00
Brian Ding
62c84aa84f fix(module: slider): cannot slide (#653)
* feat: deserialize event listner args

* fix(module: slider): update ts method

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-09-28 16:44:11 +08:00
James Yeung
5aa5f8cedf chore: sync ant-design v4.6.6 (#648) 2020-09-28 16:07:59 +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
笨木头
48c9cc7143 fix(module: auto-complete): could not select value by chance (#647)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-09-27 23:05:23 +08:00
TimChen
474b768c49 fix: textarea display bug (#650) 2020-09-27 22:01:04 +08:00
James Yeung
14e695d8aa fix(module: badge): incorrect status dot & disappeared scroll number (#642) 2020-09-23 16:00:03 +08:00
James Yeung
d81f9a583f fix: the prerendering interop exception with some components (#636) 2020-09-21 17:20:19 +08:00
笨木头
feef9f7863 fix(module: menu): rendering for lv >1 submenu is invalid (#634)
* fix: subMenu of subMenu rendering is invalid

* feat: add demo for 2 level submenu

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-09-21 01:01:14 +08:00
James Yeung
a8d04b6237 chore: sync ant-design v4.6.5 (#633) 2020-09-20 14:53:20 +08:00
Kieran Coldron
0b7341bc99 fix(module: statistic): allow setting class (#632) 2020-09-20 11:45:58 +08:00
James Yeung
95c54a4461 fix(module: card): grid and tabs has wrong styles (#627) 2020-09-20 10:43:40 +08:00
笨木头
143b16335b fix(module: select): incorrect dropdown style (#629) 2020-09-20 10:42:42 +08:00
笨木头
edba6e5d4f fix(dropdown, select): work incorrectly in modal (#621)
* fix(module: select): broken removing of selected tag

* fix: [dropdown、select] work incorrectly in modal
2020-09-19 09:15:16 +08:00
Yuanxw
eb361b0d8b fix(module select): works incorrectly in modal (#620)
* feat: add text keyboard parameter,and update demo

* fix(module select): works incorrectly in modal
2020-09-18 17:28:46 +08:00
James Yeung
124df13fdb fix(module: list): list item layout in ListItem (#618) 2020-09-18 00:03:44 +08:00
James Yeung
20c1197793 docs: follow up the .net 5 docs and fix the culture issue (#615) 2020-09-17 16:42:23 +08:00
笨木头
ef7f557a7f fix(module: select): broken removing of selected tag (#613)
* fix(module: select): broken removing of selected tag

* refactor: remove comment
2020-09-17 14:14:48 +08:00
James Yeung
2d03d7fa53 fix(module: menu): the selected menu item would unselect itself (#611) 2020-09-17 11:10:44 +08:00
笨木头
6d0d8020a3 docs(select&auto-complete): add popupContainerSelector demos (#607)
* docs: add popupContainer

* docs(module: auto-complete): add popupContainer demo

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-09-17 10:37:47 +08:00
James Yeung
128464c681 refactor(module: list): allow to setup each list item (#603)
* refactor(module: list): allow to setup each list item

* fix: itemLayout type
2020-09-17 10:09:20 +08:00
wusanwa
2a8c846eb8 fix(module: select): add PopupContainerSelector parameter (#606)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-09-16 20:07:30 +08:00
TimChen
19f51c87fa fix(module: drawer): close event bug (#599)
* fix: drawer close event bug

* refactor: translate some comments

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-09-16 19:42:48 +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
Diego Frata
a5e203e60b feat(module: tabs): add support to ForceRender (#589)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-09-11 14:37:38 +08:00
Micah Osborne
1fb8e2f244 fix(module: menu): initial state of being collapsed not reflected in menu
When Menu is in Sider, Initial state of being collapsed not reflected in menu.

Co-authored-by: Micah Osborne <micah@blockarray.com>
Co-authored-by: Diego Frata <d@frata.io>
2020-09-10 19:39:24 +01:00
chaldea
322e491d67 fix(module: list): grid not working (#587) 2020-09-10 10:18:46 +08:00
笨木头
2cdc2654d9 fix(module: select): wrong overlay style (#586) 2020-09-10 08:27:48 +08:00
笨木头
d2c5202c51 refactor(module: select): add overlay, fix some serious bugs (#584) 2020-09-09 22:12:12 +08:00
zxyao
f509117d02 fix(module: drawer): merge oncancel and onclose (#522) (#547)
* fix(module: drawer): merge oncancel and onclose (#522)

* docs: update drawer docs

* fix: drawer service cannot catch onclose on 'x' clicked

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-09-09 11:33:41 +08:00
James Yeung
360fe0d3c0 fix(hosting): server prerendering issue (#583)
* refactor: rename JSInterop constants

* docs: fix typo

* fix: server prerendering issue
2020-09-09 00:52:14 +08:00
James Yeung
95df2c811d fix(module: table): the sorter doesn't work (#582) 2020-09-08 17:13:26 +08:00
James Yeung
5d57bab600 docs: add i18n docs (#581) 2020-09-08 16:43:44 +08:00
James Yeung
d0dee68e3c feat(module: i18n): add more languages (#580)
* feat(module:  i18n): add more languages

* feat: add a method for additional languages
2020-09-08 12:40:58 +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
b257d17844 fix(module: cascader): crashes when options is null (#572) 2020-09-05 16:11:42 +08:00
zxyao
88a26ac583 fix(module: modal&drawer): body scroll bar does not respond correctly (#573) 2020-09-05 16:09:58 +08:00
James Yeung
5e63c10d6e fix(module: statistic): there is no title but the element is rendered (#569) 2020-09-05 00:51:50 +08:00
yxw
8438b1aaab feat: add text keyboard parameter,and update demo (#566) 2020-09-04 11:24:50 +08:00
Diego Frata
4fb04f401d fix(module: button): allows type and shape to change (#564) 2020-09-03 06:02:30 +08:00
James Yeung
716785b6b2 fix(module: upload): fileList can't be refreshed while it was changed (#561) 2020-09-02 15:15:59 +08:00
TimChen
2e9b89f3e5 fix: modal button sort (#553)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-09-02 14:56:20 +08:00
James Yeung
af781d51c6 fix(module: upload): files that aren't pictures can't be downloaded (#560) 2020-09-02 10:31:21 +08:00
James Yeung
a4e4d6f556 refactor: get PropertyInfo from expression (#559) 2020-09-01 17:23:31 +08:00
James Yeung
56ab40ba2c fix(module: carousel): make carousel responsive (#558) 2020-09-01 13:49:31 +08:00
James Yeung
e3bb43a3ff fix(module: checkbox): options.value works incorrectly (#554) 2020-08-31 23:41:33 +08:00
James Yeung
47ad157c8b refactor: make the extensions class for HttpClient internal (#549)
* refactor: make httpclient extensions internal

* fix: set property name case-Insensitive
2020-08-31 15:59:47 +08:00
TimChen
3d23cfd5c1 fix(module: pageheader): onback icon (#544)
* feat: fix pageheader onbackicon

* docs: pageheader doc

* docs: pageheader

* fix: anchor _flatLinks is null bug

* fix: custom icon

* fix: custom icon and statictic value converting

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-08-31 11:51:11 +08:00
James Yeung
fdbb825910 fix(module: input): composition event conflict (#542)
Co-authored-by: 笨木头 <musicvs@163.com>
2020-08-28 14:04:46 +08:00
James Yeung
a6219ab0bd fix(module: menu): can't open submenu while sider is collapsed (#539) 2020-08-28 13:51:01 +08:00
James Yeung
e249eaa25f fix(module: statistic): separate decimal incorrectly (#538) 2020-08-28 00:13:54 +08:00
bingbingtalk
6ce885667e fix(module: menu): submenu was closed when router active (#535)
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-08-26 23:18:49 +08:00
TimChen
f09e71ba06 feat: auto complete refactor (#529)
* feat: auto complete refactor

* feat: autocomplete Refactor

* feat: autocomplete property

* feat: autocomplate

* feat: autocomplete

* feat: autocomplete

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-26 22:37:08 +08:00
Brian Ding
77af5a3dc7 refactor(JS Interop): reuse the global event listener (#466)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-26 11:13:36 +08:00
zxyao
ec6886ae24 feat(module: modal): support draggable (#523)
* feat(module: modal): allow drag Modal

* feat(module: demo): add draggable modal demo

* fix(module: modal): support reset position on show in draggable mode

* fix: width error when modal close immediately after opening

* docs: change demo order of Modal compontent

* fix: modal reset to antd style when close immediately after opening

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-26 07:28:44 +08:00
James Yeung
07747546ce fix(module: steps): incorrect activation and clickable (#530) 2020-08-23 21:20:29 +08:00
笨木头
933d67f474 fix: submenu could not open when switch mode (#527)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-23 17:33:53 +08:00
James Yeung
91b6e0efcc chore: sync ant-design v4.6.0 (#524) 2020-08-23 16:06:08 +08:00
James Yeung
b2231305f2 fix(module: checkbox): default value for options (#525) 2020-08-23 14:38:24 +08:00
zxyao
84a3b742c2 feat(module: modal): support getting the result from confirm (#476)
* feat(module: confirm): support blocking to get the result of confirm

* refactor: change modalservice Confirm return value,add ConfirmAsync FUNC

* feat: add ConfirmService

* fix: button text

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-08-22 09:24:55 +08:00
James Yeung
a91a5d6644 fix(module: sider): can't collapse in demo (#513) 2020-08-18 18:05:44 +08:00
Henry.zhang
4e0a3028bb fix: get the icon list of application icons from existed IconServices (#506)
* feat: get the icon list of application icons from existed IconServices

* fix:  iconlist always is loading issue
2020-08-16 22:51:24 +08:00
笨木头
e42aa8aeb7 feat(module: range-picker): support form (#496)
* feat(module: range-picker): support form

* fix(module: range-picker): has no default value in from

* fix: picker's close behaviour and range arrow's style is wrong

* feat(module: datepicker): change placeholder on mouse over

* style(module: datepicker): adjust range arrow

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-14 12:43:48 +08:00
Henry.zhang
7b31935f74 docs: add icon list (#478)
* feat: add icon list for demo page of icon

* feat: add copy function for icon list

* feat: get existed icon

* feat: remove some blanks in list.razor

* feat: remove some blanks

* fix: default value is outline for icon list

* fix: click to copy for icon list

* feat: add async to load icon list

* feat: update iconlistService

* chore: update icons

* fix: icon load async

* feat: add application icons in IconlistServices

* fix: remove the exist icon from existed catogory if duplicated

* fix: add @key for list items

* fix: revert the change

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-08-14 07:13:28 +08:00
James Yeung
81cce2a2d5 fix(module: radio): disabled in radio group doesn't work (#503) 2020-08-13 23:32:51 +08:00
James Yeung
9b0f95ef3a fix(module: alert): close motion 'Smoothly Unmount' (#502)
* fix(module: alert): close motion

* fix: add de
2020-08-13 16:04:58 +08:00
James Yeung
13ee3634a0 chore: sync ant-design v4.5.4 (#499) 2020-08-13 06:43:07 +08:00
chaldea
ce50786311 fix(module: sider): cannot update theme dynamically (#498)
* fix(module: sider): cannot update theme dynamically

* fix(module: sider): update theme dynamically
2020-08-12 14:59:56 +08:00
James Yeung
a4823c49d8 fix(module: tabs): missing evnet callbacks (#497) 2020-08-11 22:26:49 +08:00
James Yeung
bc0f6e7efc fix(module: typography): missing Style property (#494) 2020-08-11 17:30:14 +08:00
James Yeung
7e4fb7405b fix(module: table): empty column count and formatter (#493) 2020-08-11 15:27:15 +08:00
James Yeung
914421651b feat(module: list): add OnItemClick event callback for list items (#489)
* feat(module: list): add event callback for list items

* docs: add onitemclick in doc
2020-08-10 23:58:17 +08:00
James Yeung
22bb2b4f25 fix: ignore wwwroot for copying .less source files (#490) 2020-08-10 23:38:26 +08:00
James Yeung
d84300651d fix(module: table): formatting with nullable type for table column (#487) 2020-08-10 16:05:50 +08:00
Kieran Coldron
853ba18649 feat(module: badge): add badge ribbon (#484)
* feat: badge ribbon

* fix: demo for ribbon

* docs: add chinese api doc for ribbon

* fix: scroll number style

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-08-10 14:21:24 +08:00
James Yeung
c18d61df72 chore: sync ant-design v4.5.3 (#480) 2020-08-10 11:28:52 +08:00
Kieran Coldron
0420ae26dd feat(module: steps): add progress step (#468)
* feat: add progress step

* docs: add demos

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-08 11:44:21 +08:00
zxyao
79b3440a41 fix(module: message): remove the last message DOM after message disappears (#467) 2020-08-06 23:14:41 +08:00
Dragos Morar
e713b6e9c1 feat(module: carousel): add slick navigation methods (#461) (#462)
* feat(module:carousel): add new methods (#461)

* feat(module:carousel): add demo (#461)

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-06 13:45:42 +08:00
Diego Frata
15f9d942df build(gulp): add .less source files as part of the output (#457)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-05 17:57:06 +08:00
Diego Frata
6662870ac8 test(button): add some button tests (#460)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-08-05 17:06:14 +08:00
Diego Frata
4ced9a3d16 fix(module:date-picker): fix inability to select new start date (#458) (#459) 2020-08-05 07:47:32 +08:00
chaldea
e6edefebc0 feat(module: drawer): add parameter handler (#455) 2020-08-04 18:49:04 +08:00
James Yeung
6b50a4b35f docs: fix styles (#454) 2020-08-04 15:10:29 +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
378e8370b0 fix(module: form): null check for submit (#448) 2020-08-02 16:34:34 +08:00
James Yeung
4c4f9b085c chore: sync ant-design v4.5.1 (#433) 2020-08-02 15:13:53 +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
TimChen
4a7099e6a0 fix: autoComplete bind-value bug (#440)
* fix: autoComplete bind-value bug

* fix: currentValue

* fix: autoComplete

* fix: arrowDown

* fix: select bug

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-31 12:43:46 +08:00
Zhiyuan Zheng
5a7a5d7ac6 docs(button): use Task.Delay instead Thread.Sleep (#439)
**Problem:**
According to the current implementation of Blazor(dotnet/aspnetcore#16213 (comment)), it runs in single-thread mode. Thus the call to `System.Threading.Thread.Sleep` will block the UI thread as well. It means when clicking the button, the UI freezes.
For example, in button component, the UI will freeze of 500ms. It's a relatively small time, however Chrome do give a warning to this:
*[Violation] 'setTimeout' handler took 500ms*
**Changes:**
Use `Task.Delay` which is a kind of built-in timer from dotnet. It won't block the UI thread.

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-31 01:12:54 +08:00
Meeleem
8829a233be feat(module: upload): support picture card (#438)
* feat(module: upload): Picture card demo

* fix: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-31 00:46:46 +08:00
James Yeung
1f76b2afc5 fix(module: checkbox): default value binding (#437)
* fix(module: checkbox): default value binding

* fix: default value for select-group
2020-07-30 23:54:31 +08:00
James Yeung
feae8a07f5 fix(module: input): incorrect OnPressEnter (#435)
* fix(module: input): incorrect OnPressEnter

* fix: can't fire onSearch event when search button is clicked

* fix: mack input value generic

Co-authored-by: 笨木头 <musicvs@163.com>
2020-07-30 09:06:56 +08:00
liuhai
5fd4aa9a7d fix(module: select): two-way binding #305 (#320)
* feat: add auto-complete component

* Select 组件
1. 组件支持双向绑定
2. 优化效率
3. 修复多选模式点击时下拉面板折叠问题

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-29 12:44:16 +08:00
James Yeung
0fa6c5eea9 fix(module: upload): add OnRemove delegate (#434) 2020-07-29 11:26:20 +08:00
Henry.zhang
ceb95bbe69 feat: add overview (#425)
* feat: add overview page

* feat: update language changed in overview

* fix: add cover in demo

* fix: overview

* fix: width of docsearch inputbox

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-28 11:15:41 +08:00
James Yeung
337afae0bb docs: add home page (#427) 2020-07-26 19:20:16 +08:00
zxyao
506dded208 fix(module: AntInputComponentBase ): always triggers statehaschanged (#426)
* fix(module: antinputcomponentbase): always trigger statehaschanged

* refactor: modify the judgment of value change

* refactor: modify the judgment of CurrentValue change
2020-07-26 13:45:43 +08:00
zxyao
5b328dbdc6 Issue 406 (#420)
* feat(module: tooltip): support markupstring rendering

* docs(module: tooltip): change JSX type to C# type

* fix(module: tooltip): change MarkupString rendering mothod

* refactor(module: tooltip): redundant code deleted

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-24 23:05:38 +08:00
Bishnu Rawal
8a9ab57bb1 refactor : replace system.tuple with value tuples (#412) 2020-07-24 20:20:29 +08:00
James Yeung
2351cb7097 fix(module: timeline): missing default constructor (#424) 2020-07-24 17:17:06 +08:00
笨木头
7a4ab2a302 fix(module: dropdown): couldn't auto close menu (#394)
* fix(module: dropdown): couldn't auto close menu

* refactor(module: overlay): change public function to internal

* fix(module: dropdown): couldn't close in modal
2020-07-23 22:51:02 +08:00
Brian Ding
fa60c9c8bf fix(module: slider): not working under wasm (#415)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-23 15:49:23 +08:00
zxyao
20b5bb5e7d fix(module:modal): the width will be added when there is no scroll bar (#408) 2020-07-22 22:24:58 +08:00
TimChen
1e02c38d97 fix(module: form): OnFinishEvent is null (#407) 2020-07-22 16:58:47 +08:00
James Yeung
04fc69fd4b feat(module: tabs): two-way binding for ActiveKey (#402) 2020-07-22 00:30:31 +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
zxyao
871a955872 fix: drawer, modal and confirm multi level open scroll bar bug (#401)
fixed #393
2020-07-21 22:32:54 +08:00
Meeleem
914f9eff1f fix(module: upload): Upload with other form parameters (#398) 2020-07-21 15:50:38 +08:00
Meeleem
32794af9a0 fix(module: upload): fix event listener (#395)
* fix(module: upload): fix event listener

* fix(module: upload): add dispose method

* Update components/upload/Upload.razor.cs

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-21 12:53:56 +08:00
James Yeung
0557633da0 chore: sync ant-design v4.4.3 (#392) 2020-07-21 00:19:16 +08:00
Meeleem
93045f5162 feat(module: upload): add support for fileList, pictureStyle and avatar (#391)
* feat (module: upload): FileList, PictureStyle, Avatar

* fix: adding eventlistener

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-21 00:16:02 +08:00
Mei
f9051fcf09 fix(module: modal): button text for confirm dialog (#389)
Co-authored-by: meijinyi <meijinyi@gloudtek.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-20 22:49:53 +08:00
James Yeung
79d8a24aae fix(module: avatar): dead-loop rendering (#378) 2020-07-17 13:45:19 +08:00
James Yeung
01394b356f fix(module: icon): put spin class on outside (#372)
* fix(module: icon): put spin class on outside

* fix: make rotate style outside
2020-07-16 18:26:39 +08:00
zxyao
a30dc39314 fix(module: modal): crashes when DestroyOnClose is set to true (#373)
fixed #373
2020-07-16 16:57:13 +08:00
TimChen
2a8827f565 fix(module: descriptions): responsive issue (#370)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-16 14:28:42 +08:00
Brian Ding
e6f8ce66c7 feat(docs): add affixed demo anchor (#366)
* feat(module: anchor): update rendering when childcontent changed

* feat: add affixed demo list

* fix(module: affix): offsettop does not work until scroll to the top

* fix: display title

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-16 13:59:56 +08:00
TimChen
4cb0df719f fix(module: auto-complete): select menu offset and binding issue
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-16 13:00:23 +08:00