Commit Graph

991 Commits

Author SHA1 Message Date
James Yeung
1bc79e2539 fix(module: checkbox): fix the test following up PR #1689 (#1699)
* fix(module: checkbox): fix tests

* fix testkit package
2021-07-02 12:44:39 +08:00
James Yeung
3a295f5c54 feat(module: tabs): add OnClose event and TabTemplate (#1698)
* feat(module: tab): add onclose event and tabtemplate

* add tests
2021-07-02 01:16:53 +08:00
anranruye
be958dad87 fix(module: date-picker): fix date picker width (#1685)
* fix(module:date-picker): fix date picker width

* Update DatePickerBase.cs
2021-06-30 18:34:19 +08:00
anranruye
82739e9417 fix(module: table): add PopupContainerSelector for filter and/or selector (#1687)
* fix(module:table): add PopupContainerSelector for filter and/or selector

* Update Column.raz
2021-06-30 15:04:11 +08:00
Zonciu Liang
d22dae465f fix(module: checkbox): remove redundant class (#1689)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-06-30 15:01:58 +08:00
anranruye
1ec582bff3 fix(module: space): fix space items behavior when they are inside if block (#1684)
* fix(module:space): fix space item margin

* remove Index parameter

* remove additional using

* Update Customize.razor space demo

* Update SpaceItem.raz
2021-06-30 13:41:38 +08:00
gmij
23e0aa7185 feat(module: form): use DisplayName attribute as the default FormItem Label (#1682)
* add. 如果没有设置FormItem的Label参数,则尝试使用绑定字段的DisplayName

* Update components/form/FormItem.razor.cs

Co-authored-by: 陈斌 <chenb@teleware.cn>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-06-28 14:32:46 +08:00
anranruye
6cb660320a fix(module: table): allow set filters after table initialization (#1667)
* fix(module:table): allow set filters after table initialization

* Update Column.razor.cs
2021-06-28 14:19:33 +08:00
Andrzej Bakun
24d081ea8c fix(module: date-picker): Date picker blur/focus & regression tests (#1681)
* fix(module:datepicker): locale & blur issue fix

* tests(module:datepicker): add regression tests

* fix: focus is kept on picker false click & blur is applied when needed

* fix: tests
2021-06-28 11:28:18 +08:00
anranruye
4967a0bca4 fix(module: date-picker): fix low datetime error (#1663) 2021-06-27 09:53:01 +08:00
Newbe36524
ecee7ace46 chore: enable AOT for docs site (#1656)
* Build AOT site

* remove package publish

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-06-24 19:11:11 +08:00
anranruye
a06fd5c2e5 fix(module: form): fix input components inside customized form control (#1662) 2021-06-24 12:18:18 +08:00
Andrzej Bakun
1d3a13e57e feat(module: dropdown): each button customization (#1659)
* feat(module:dropdownbutton): each button customization

* fix: Tag tests
2021-06-22 23:55:14 +08:00
Andrzej Bakun
10e13c5059 fix(module: tag): show pointer cursor when OnClick.HasDelegate (#1660) 2021-06-21 18:57:02 +08:00
笨木头
7f840e9fdf feat(module: DatePicker): support disable one of range-picker inputs (#1648)
* feat(module: rangepicker): support disable one of inputs

* doc: update doc
2021-06-19 00:13:18 +08:00
James Yeung
7848635b55 Merge 0.8.2 to feature (#1651)
* test: DateHelperTests was in the wrong dir (#1529)

* fix(module: radio): add defaultChecked and defaultValue (#1494)

* fix(module: radio): add defaultChecked and defaultValue

* add tests

* add test for radio group

* feat: Added locale es-ES (#1534)

* fix(module: locale): add missing 'filterOptions' node to german locale file (#1562)

* docs(module: table): update ‘fork official sample’ demo (#1544)

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* fix(module: npuNumber): include parser in value evaluation (#1567)

* fix(module: input): fix & feat & docs & tests: Input general fixes (#1530)

* docs(module:input): api correction & comments

* fix(module:input): clear icon in sync with antD

* fix(module:input): add parameter bordered

* fix(module:textarea): add parameter ShowCounter

* fix(module:input): Focus with behaviors

* docs: add missing docs, rearrange order

* fix(module:search): update to match new standard look

doc(module:search): add API & demos

* fix(module:inputgroup): override style to remove whitespace\
docs: same as react

* fix(module:inputpassword): support custom icon
docs: same as react

* fix(module:input): add blur method
docs: add blur method

* fix(module:input): add readonly parameter

* tests

* fix

* fix(module:input): sequence correction

* Update components/core/Base/AntComponentBase.cs

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* review fixes

* fix: clean-up

* tests: fix missing mock

* fix: focus

* fix(module:input): bind clear button to _inputValue

* tests: clear button show/hide

* tests: package update

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* fix(module: drawer): OffsetX and offsetY do not work (#1435) (#1448)

* fix(module: drawer): OffsetX and offsetY do not work (#1435)

* docs: demo update

* fix: Placement is switched to the relative direction, the animation appears

* fix: the bug of closing animation missed

* fix: incorrect animation

* fix: different behaviors in WASM and Server side

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* docs: Added essential step in get started procedure (#1579)

* Added essential step in get started procedure

The article is missing the dependency registration. If these dependencies are not registered, the library couldn't be used (at least in my case).

* Update getting-started.en-US.md

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* docs: document improvement (#1578)

* fix the ordering of menu items

* add ueditor link

* fix icon document search style

* fix affix width for side menu

* add faq doc

* feat(module: datepicker): Picker clear button event (#1586)

* feat(module:datepicker): add OnClearClick eventcallback

* docs(module:datepicker): format docs has same behavior as react docs

* fix: adjust code to match net 3.1

* fix: eventcallback name fix

* Update site/AntDesign.Docs/Demos/Components/DatePicker/doc/index.zh-CN.md

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* fix(module: dropdown): align with react (#1588)

* fix(module:dropdownbutton): align with react version

* doc(module:dropdownbutton): align with react docs

* fix(module: table): fix can not close filter by confirm button (#1602)

* fix(module: table): fix filter icon wrong highlight, fix filter behavior when there is no input value (#1592)

* fix(module:table): fix filter icon wrong highlight

* Update Column.razor

* fix(module:table): fix filter for no input

* fix(module: table): fix filter not applied (#1594)

* fix(module: InputNumber): fix error when blur (#1612)

* fix(affix): remove wrong event listeners (#1616)

* fix(module: table): fix wrong compare operator, remove input components for unary filter operators (#1596)

* fix(module:table): fix wrong compare operator

* remove whitespace

* fix(module:table): remove input component for 'is null' and 'is not null' table filter

* Update Column.razor

* fix(module:table): allow remove first filter

* remove whitespace

* Update Column.razor

* Update Column.razor

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* fix(module: dropdown): dropdown button missing properties & docs fix for Dropdown & Button (#1609)

* fix:fix(module:dropdownbutton): add regular button behaviors and properties

* fix(module:button): add text type & docs

* docs(module:dropdown): version correction

* fix(module:overlay): re-add IsButton parameter

* fix: add xml comment to public methods

* fix(module:overlay): add xml documentation

* fix(module:dropdown): chrome block button force

* fix(module:button): remove Search parameter

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* fix(module: datepicker): in form behavior (#1617)

* i18n: Add missing elements to Dutch locales (#1624)

* chore(ci): fix coverage report uploading (#1614)

* chore(ci): fix coverage report uploading

* continue when fail to upload

* docs: update modal and drawer docs (#1625)

* docs: update modal docs

* docs: modify DropdownInDrawer

* docs: update demo for DrawerService and ModalService

* fix(module: modal): Modal dialogs not showing anymore (#1635)

* Fix issue #1634 - Modal dialogs not showing anymore

* Removed unnecessary Search from ButtonProps as part of #1634 fix - Modal dialogs not showing anymore

* fix(module: table): fix selection clear (#1632)

* fix(module:table): fix selection issues

* allow SetSeletion(null) when there is not a Selection column

* allow change selection by setting RowDate.Selected

* fix(module: checkbox): fix checkbox group in-form behavior (#1637)

* fix(module: image): fix the style property position (#1642)

* fix(module: tag): Issue solved & align with react antd & tests (#1631)

* fix(module:tag): close does not trigger onclick

add custom color handling
add animation handling
add status tags

* docs(module:tag): align with react antd

* tests(module:tag): add basic tests

* fix: style fixes

* fix: remove default animation; add custom animation demo

* fix: remove ExtraCls and use Class from base

* Update components/tag/Tag.razor

* clear the open animate after tag opened

* translate demo docs

Co-authored-by: James Yeung <shunjiey@hotmail.com>

* changelog 0.8.2 (#1649)

* add Visible back to Tag.razor.cs

* Update SearchLoading.razor and idnex.en-US.md

* Update index.zh-CN.md

Co-authored-by: 笨木头 <musicvs@163.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
Co-authored-by: Magehernan <magehernan@gmail.com>
Co-authored-by: Andrzej Bakun <andrzej@neelyc.com.cy>
Co-authored-by: zxyao <zxyao145@gmail.com>
Co-authored-by: black-snake <black-snake@users.noreply.github.com>
Co-authored-by: Gregory Loones <40325447+gregloones@users.noreply.github.com>
Co-authored-by: Razvan Predescu <rzvdaniel@gmail.com>
2021-06-18 23:17:49 +08:00
James Yeung
f6f430cb5c feat(module: form): add advanced search demo (#1654) 2021-06-18 19:17:57 +08:00
James Yeung
060e6f178c fix(module: grid): gutter adjustment on col initialize (#1653) 2021-06-18 18:49:18 +08:00
anranruye
db81521cd6 Update index.zh-CN.md 2021-06-18 18:45:19 +08:00
anranruye
c2c21c207c Update SearchLoading.razor and idnex.en-US.md 2021-06-18 18:20:28 +08:00
anranruye
eb8e92f1fd add Visible back to Tag.razor.cs 2021-06-18 16:31:31 +08:00
anranruye
b8658549e6 Merge 0.8.2 to feature 2021-06-18 16:09:13 +08:00
James Yeung
9af7821d9c changelog 0.8.2 (#1649) 2021-06-18 00:22:40 +08:00
Andrzej Bakun
cee5d6914c fix(module: tag): Issue solved & align with react antd & tests (#1631)
* fix(module:tag): close does not trigger onclick

add custom color handling
add animation handling
add status tags

* docs(module:tag): align with react antd

* tests(module:tag): add basic tests

* fix: style fixes

* fix: remove default animation; add custom animation demo

* fix: remove ExtraCls and use Class from base

* Update components/tag/Tag.razor

* clear the open animate after tag opened

* translate demo docs

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-06-16 13:49:46 +08:00
James Yeung
46199b8e30 fix(module: image): fix the style property position (#1642) 2021-06-16 11:29:38 +08:00
anranruye
be1f432217 fix(module: checkbox): fix checkbox group in-form behavior (#1637) 2021-06-16 10:07:28 +08:00
anranruye
3117e72344 fix(module: table): fix selection clear (#1632)
* fix(module:table): fix selection issues

* allow SetSeletion(null) when there is not a Selection column

* allow change selection by setting RowDate.Selected
2021-06-15 18:22:07 +08:00
anranruye
6cd8482292 fix(module: table): add RemoteDataSource (#1558)
* feat(module:table): add PaginationMode parameter

* fix(module:table): fix pagination

* docs(module:table): add doc for PaginationMode attribute

* add a demo file

* docs(module:table): add demo for pagination mode

* feat(module:table): add RemoteDataSource property

* delete the demo for PaginationMode

* Update Table.razor.cs

* add `ajax` demo

* Update ajax.md

* Update Ajax.razor

* fix demo

* clear demo

* fotmat demo

* delete StateHasChanged

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-06-15 16:13:06 +08:00
Razvan Predescu
92d7203815 fix(module: modal): Modal dialogs not showing anymore (#1635)
* Fix issue #1634 - Modal dialogs not showing anymore

* Removed unnecessary Search from ButtonProps as part of #1634 fix - Modal dialogs not showing anymore
2021-06-14 00:33:26 +08:00
zxyao
8dda4147c4 docs: update modal and drawer docs (#1625)
* docs: update modal docs

* docs: modify DropdownInDrawer

* docs: update demo for DrawerService and ModalService
2021-06-13 23:04:19 +08:00
anranruye
6e9ddb80df feat(module: select): support simple data source (#1541)
* feat(module: select): support simple data source

* remove judgement for type of item and value

* Update Select.razor.cs
2021-06-13 00:39:31 +08:00
James Yeung
5a7152fcab chore(ci): fix coverage report uploading (#1614)
* chore(ci): fix coverage report uploading

* continue when fail to upload
2021-06-10 16:28:54 +08:00
Gregory Loones
30e5988c6b i18n: Add missing elements to Dutch locales (#1624) 2021-06-10 11:06:30 +08:00
Andrzej Bakun
5cc5018c9c fix(module: datepicker): in form behavior (#1617) 2021-06-10 10:09:19 +08:00
Andrzej Bakun
4cac27f887 fix(module: dropdown): dropdown button missing properties & docs fix for Dropdown & Button (#1609)
* fix:fix(module:dropdownbutton): add regular button behaviors and properties

* fix(module:button): add text type & docs

* docs(module:dropdown): version correction

* fix(module:overlay): re-add IsButton parameter

* fix: add xml comment to public methods

* fix(module:overlay): add xml documentation

* fix(module:dropdown): chrome block button force

* fix(module:button): remove Search parameter

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-06-09 17:51:24 +08:00
anranruye
dc02db39da fix(module: table): fix wrong compare operator, remove input components for unary filter operators (#1596)
* fix(module:table): fix wrong compare operator

* remove whitespace

* fix(module:table): remove input component for 'is null' and 'is not null' table filter

* Update Column.razor

* fix(module:table): allow remove first filter

* remove whitespace

* Update Column.razor

* Update Column.razor

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-06-09 16:14:41 +08:00
James Yeung
19d4e69a78 fix(affix): remove wrong event listeners (#1616) 2021-06-09 12:36:07 +08:00
anranruye
1b319e63fc fix(module: InputNumber): fix error when blur (#1612) 2021-06-08 23:24:25 +08:00
anranruye
8157f61e84 refactor(module: table): restore Table.Filters to IEnumerable<TableFilter<TData>> type (#1608) 2021-06-08 16:51:30 +08:00
anranruye
0577db8a5c fix(module: table): fix filter not applied (#1594) 2021-06-08 00:04:12 +08:00
anranruye
840184fd51 fix(module: table): fix filter icon wrong highlight, fix filter behavior when there is no input value (#1592)
* fix(module:table): fix filter icon wrong highlight

* Update Column.razor

* fix(module:table): fix filter for no input
2021-06-07 23:47:03 +08:00
anranruye
fca845ab00 fix(module: table): fix can not close filter by confirm button (#1602) 2021-06-05 23:51:29 +08:00
anranruye
ce55fc0f1d refactor(module: table): optimize render fragments (#1597) 2021-06-05 23:35:04 +08:00
anranruye
477c57f9db feat(module: table): filter enhancement (#1563)
* feat(module: table): allow access to filter operator and condition

* feat(module: table): allow access to filter operator and condition

* feat(module:table): allow remove the first filter

* Update Column.razor

* feat(module:table): modify closing button position

* feat(module:table): match new style

* feat(module:table): add header column divider

* fix(module:table): apply filter when close the filter panel by clicking the filter icon

* Update Column.razor

* style(module:table): trim Column.razor

* Update Column.razor

* Update Column.razor

* Update Column.razor

* Update Column.razor

* fix(module:overlaytrigger): fix overlay not close after overlay size changes

* unify muiltiple filter popup containers to one
2021-06-03 18:54:41 +08:00
Andrzej Bakun
80e0043445 fix(module: dropdown): align with react (#1588)
* fix(module:dropdownbutton): align with react version

* doc(module:dropdownbutton): align with react docs
2021-06-02 10:46:58 +08:00
Andrzej Bakun
8e98528ce1 feat(module: datepicker): Picker clear button event (#1586)
* feat(module:datepicker): add OnClearClick eventcallback

* docs(module:datepicker): format docs has same behavior as react docs

* fix: adjust code to match net 3.1

* fix: eventcallback name fix

* Update site/AntDesign.Docs/Demos/Components/DatePicker/doc/index.zh-CN.md

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-06-01 10:16:07 +00:00
James Yeung
c264b7d022 docs: document improvement (#1578)
* fix the ordering of menu items

* add ueditor link

* fix icon document search style

* fix affix width for side menu

* add faq doc
2021-05-31 19:45:23 +08:00
black-snake
6b537f113b docs: Added essential step in get started procedure (#1579)
* Added essential step in get started procedure

The article is missing the dependency registration. If these dependencies are not registered, the library couldn't be used (at least in my case).

* Update getting-started.en-US.md

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-30 21:47:29 +08:00
笨木头
ec45abc4d7 feat(module: form): support set validation rules on FormItem (#1516)
* feat(module: form): support set validation rules on FormItem(not complete yet)

* refactor(module: form): optimized code

* feat(module: form): support Whitespace rule

* feat(module: form): support [message、pattern、transform、validator、whitespace] rules

* feat(module: form): support type rule

* feat(module: form): support [defaultField、oneOf、fields、type] rules

* feat(module: form): support custome validate messages(without test)

* test(module: form): complete RuleValidate_ValidateMessages test

* feat(module: form): complete DynamicRule demo, refactor code, fix bugs

* feat(module: form): support ValidateMessages param

* doc(module: form): add "Rules" and "ValidateMessages" docs

* fix: Rule.Max's errorMessage is wrong

* refactor: rename Rule to FormValidationRule

* test: rename Rule to FormValidationRule

* chore: refactor code and rename classes

* Update ValidateMode.razor

* Update FormValidateErrorMessages.cs

* Update FormValidateHelper.cs

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-28 09:08:42 +00:00
zxyao
895c758836 fix(module: drawer): OffsetX and offsetY do not work (#1435) (#1448)
* fix(module: drawer): OffsetX and offsetY do not work (#1435)

* docs: demo update

* fix: Placement is switched to the relative direction, the animation appears

* fix: the bug of closing animation missed

* fix: incorrect animation

* fix: different behaviors in WASM and Server side

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-28 06:10:44 +00:00