Commit Graph

450 Commits

Author SHA1 Message Date
James Yeung
14bdbbb0db feat(module: table): add nested table demo (#1884) 2021-08-28 16:12:30 +08:00
Maksim
cddfca399d feat(module: breadcrumb): add Href parameter and overlay dropdown (#1859)
* Setup breadcrumb dropdown

* Setup breadcrumb href

* fix dropdown style

* fix dropdown trigger class

* fix tests

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-08-28 03:07:46 +00:00
Guyiming
a9e0feb3b6 feat(module: menu): Add IconTemplate for menu item (#1879) 2021-08-27 22:13:43 +08:00
James Yeung
fa99d6e8fa fix(module: table): avoid OnChange being called multiple times during initialization (#1855)
* fix(module: table): avoid OnChange being called multiple times during initialisation

* fix indent
2021-08-21 01:34:25 +08:00
Noah Potash
9925cf288b feat(module: upload): add method parameter (#1853)
* add method parameter to upload component
* update documentation
* add test

Co-authored-by: Noah Potash <noah.potash@outbreaklabs.com>
2021-08-21 01:25:38 +08:00
James Yeung
482e4a7f45 fix(module: tree): SelectedNodeChanged would be fired twice twice (#1849) 2021-08-17 23:36:10 +08:00
James Yeung
5b4b49a7bc fix(module: checkbox): checked state didn't follow the value change (#1841) 2021-08-15 01:18:47 +08:00
heroboy
b4f610a36e doc: fix api markdown for autocomplete (#1808)
* Update index.en-US.md

* Update index.zh-CN.md

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-08-06 15:40:59 +00:00
James Yeung
900be7da88 fix(module: layout): fix OnBreakpoint and OnCollapse only when they was changed (#1815) 2021-08-05 21:40:37 +08:00
James Yeung
1c0a34ff0f feat(module: tree): bring SearchExpression back (#1796) 2021-07-31 00:32:45 +08:00
Andrzej Bakun
1ac305a41e fix(module: select): MaxTagCount behaves properly for non-responsive scenarios (#1776)
* fix(module:select) MaxTagCount behaves property for non-responsive scenarios

docs: added XML comments
      fixed order in English docs
      redid Chinese docs (missing translations)

test: add scenario for MaxTagCount when non-responsive

* merge with changes coming from feature branch

* docs: example of MaxTagCount change

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-28 14:40:37 +00:00
James Yeung
64f8061a0b Merge feature into master (#1775)
* refactor: replace PropertyAccessHelper to PathHelper (#1386)

* feat(module: core): add member path helper

* refactor(module: table): replace PropertyAccessHelper to PathHelper

* docs: replace path-based-property-access to member-path-helper

* refactor(module: select): replace SelectItemPropertyHelper to PathHelper

* feat(module: table): add pagination template (#1409)

* feat(module: table): add Hidden for columns (#1410)

* feat(module: form): expose EditContext (#1464)

* feat(module:form): allow access to validation messages

* feat(module:form): expose EditContext as readonly property

* feat(module: table): add built-in filter for enum types, support null value for List filter type (#1439)

* feat(module:table): add built-in filter for not composable enum types, support null value for List filter type

* feat(module:table): throw an exception for composable enum types when use built-in filter

* Revert "feat(module:table): throw an exception for composable enum types when use built-in filter"

This reverts commit 0e04ed91f58e23b93a441ac2aa00a794ae1a9b46.

* feat(module:table): add support for null value localization

* docs(module: table): update for enum build-in filter

* feat(module:table): add built-in filter for composable enum types

* docs(module: table): update for enum built-in filter

* feat(module: table): add enum built-in filter

* feat: add static constructor to EnumHelper

Co-authored-by: 令远 孔 <lingyuan.kong@outlook.com>

* fix(module: form): expose LabelStyle property (#1503)

* feat:(module: form): edit context dynamic change (#1504)

* tests: project up to standards

* fix(module:form): allow EditContext change

* feat(module: notification): add NotificationRef support (#1498)

* feat: add NotificationRef support

* docs: update docs

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

* feat(module: tag): Add custom colors and Enum of Preset Colors (#1514)

* merge

* feat(tag): add custom colors and enum presets

* Update package.json

fix: remove vscode rubbish

* feat: add global PresetColor, and new PresetColor param

* feat: add preset color to Badge

* feat: tag style calcuated on setter

* fix: user style is appended to stringbuilder

* empty commit

Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>

* chore: sync ant-design v4.16.0 (#1569)

* feat(i18n): Add French short week days (#1521)

* 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>

* 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

* refactor(module: table): optimize render fragments (#1597)

* refactor(module: table): restore Table.Filters to IEnumerable<TableFilter<TData>> type (#1608)

* 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

* 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>

* add Visible back to Tag.razor.cs

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

* Update index.zh-CN.md

* feat(module: DatePicker): support disable one of range-picker inputs (#1648)

* feat(module: rangepicker): support disable one of inputs

* doc: update doc

* feat(module: dropdown): each button customization (#1659)

* feat(module:dropdownbutton): each button customization

* fix: Tag tests

* feat(module: tabs): add OnClose event and TabTemplate (#1698)

* feat(module: tab): add onclose event and tabtemplate

* add tests

* feat(module: tabs): add reuse tabs routeview (#1704)

* fix(module: tabs): Exception caused by cascade assignment to TabTemplate (#1708)

* feat(module: tree): support check all from code (#1722)

Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl>

* refactor(module: tree): add draggable, fix default value binding (#1517)

* delete demo docs

* fix tree default value and dnd

* fix tree line and keys

* fix switcher icon and line

* fix line demo

* fix switcher

* add DirectoryTree demo

* fix draggable demo

* clean code

* clean code

* clean up the classmapper call

* update docs

* fix the docs

* fix comment

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

* fix(module: dialog): click dialog cause the mask click event triggered (#1727)

* docs: update recommend (#1755)

* docs: update recommend

* fix test

* refactor(module: table): remove the breaking change for pagination mode (#1754)

* docs: fix encoding error (#1760)

* fixed. Fix network error when requesting contributor list in local development environment

* fixed. Fix Chinese garbled code

* Update Dynamic.razor

Co-authored-by: Gmij <chenb@teleware.cn>
Co-authored-by: James Yeung <shunjiey@hotmail.com>

* feat(module: upload): support drag (#1765)

* feat(module: upload): support drag

* fix button text

* add tests

* delete useless field

* feat(module: select): add EnumSelect for select componet with enum (#1759)

* feat(module: select): add EnumSelect for select componet with enum

* refactor: extract EnumLabelValue to the core directory

* feat: add enum select demo

* refactor: extracts the GetLabelValueList method to EnumHelper

* refactor: refactor EnumSelect with simple data source

* feat: add enum DisplayName support

* fix: modify the reflection of the enum get attribute with field

* add test

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

* feat(module: button): add colors (#1774)

* add color property for button

* separate the color

* fix tests

* fix typo

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

* feat(module: table): add guid built-in filter (#1756)

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

Co-authored-by: Zonciu Liang <zonciu@zonciu.com>
Co-authored-by: ldsenow <ldsenow@gmail.com>
Co-authored-by: Andrzej Bakun <andrzej@neelyc.com.cy>
Co-authored-by: anranruye <54608128+anranruye@users.noreply.github.com>
Co-authored-by: 令远 孔 <lingyuan.kong@outlook.com>
Co-authored-by: zxyao <zxyao145@gmail.com>
Co-authored-by: MihailsKuzmins <47413092+MihailsKuzmins@users.noreply.github.com>
Co-authored-by: mihails.kuzmins <mihails.kuzmins@daytongroup.lv>
Co-authored-by: 笨木头 <musicvs@163.com>
Co-authored-by: Maksim <maksalmak@gmail.com>
Co-authored-by: Ivan Ocoka <ocokanet@gmail.com>
Co-authored-by: Ocoka <somewhere@network>
Co-authored-by: Patrick <42546986+MutatePat@users.noreply.github.com>
Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
Co-authored-by: Romain J <dust63@hotmail.fr>
Co-authored-by: anranruye <hehewewe@hotmail.com>
Co-authored-by: Magehernan <magehernan@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>
Co-authored-by: lukblazewicz <39852149+lukblazewicz@users.noreply.github.com>
Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl>
Co-authored-by: 琢磨先生 <308360781@qq.com>
Co-authored-by: gmij <gmij@qq.com>
Co-authored-by: Gmij <chenb@teleware.cn>
Co-authored-by: 王俊 <wang_j90@hotmail.com>
Co-authored-by: wangjun <wangjun@chemical.ai>
Co-authored-by: boukenka <mbogais@free.fr>
2021-07-26 20:54:59 +08:00
anranruye
4c674d7b3a feat(module: table): add guid built-in filter (#1756)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-26 19:29:32 +08:00
王俊
5b3e89a07a feat(module: select): add EnumSelect for select componet with enum (#1759)
* feat(module: select): add EnumSelect for select componet with enum

* refactor: extract EnumLabelValue to the core directory

* feat: add enum select demo

* refactor: extracts the GetLabelValueList method to EnumHelper

* refactor: refactor EnumSelect with simple data source

* feat: add enum DisplayName support

* fix: modify the reflection of the enum get attribute with field

* add test

Co-authored-by: wangjun <wangjun@chemical.ai>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-26 05:16:19 +00:00
James Yeung
11bfaef22e feat(module: upload): support drag (#1765)
* feat(module: upload): support drag

* fix button text

* add tests

* delete useless field
2021-07-24 21:29:31 +08:00
gmij
1ff7067f2b docs: fix encoding error (#1760)
* fixed. Fix network error when requesting contributor list in local development environment

* fixed. Fix Chinese garbled code

* Update Dynamic.razor

Co-authored-by: Gmij <chenb@teleware.cn>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-22 19:48:11 +08:00
anranruye
a344daf6f6 refactor(module: table): remove the breaking change for pagination mode (#1754) 2021-07-20 17:27:14 +00:00
James Yeung
095fd1bae2 docs: update recommend (#1755)
* docs: update recommend

* fix test
2021-07-21 00:47:23 +08:00
James Yeung
f80e40d1bf fix(module: table): edit row demo can't recovery the editing on cancel (#1745) 2021-07-18 13:04:25 +08:00
anranruye
16654f5b51 Merge 0.8.4 to feature 2021-07-18 00:04:11 +08:00
James Yeung
1758181dea fix(module: form): DisplayName for FormItem will be not default to property name (#1738)
* fix(module: form): DisplayName for FormItem will be not default to property name

* add a demo for display name attribute
2021-07-16 23:47:34 +08:00
ElderJames
8fe830dc8b fix build process for static web assets 2021-07-14 15:42:06 +08:00
James Yeung
74f1488a8a chore: refactor the build process (#1729)
* refactor the build process

* add message
2021-07-12 18:11:23 +08:00
zxyao
6aff9d370c fix(module: dialog): Modal and Drawer render reducing and update document and demo (#1701)
* fix(module: Modal&Drawer): render reducing and demo update

* docs(module: modal): add FAQ section

* docs: add English comments

* fix: wrong format in Modal_service_for_confirm.razor

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-11 20:48:16 +08:00
琢磨先生
300123045f refactor(module: tree): add draggable, fix default value binding (#1517)
* delete demo docs

* fix tree default value and dnd

* fix tree line and keys

* fix switcher icon and line

* fix line demo

* fix switcher

* add DirectoryTree demo

* fix draggable demo

* clean code

* clean code

* clean up the classmapper call

* update docs

* fix the docs

* fix comment

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-11 18:43:25 +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
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
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
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
f6f430cb5c feat(module: form): add advanced search demo (#1654) 2021-06-18 19:17:57 +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
b8658549e6 Merge 0.8.2 to feature 2021-06-18 16:09:13 +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
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
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
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
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
笨木头
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
Andrzej Bakun
2d693740c6 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>
2021-05-27 18:13:26 +08:00
anranruye
8ab168bad7 docs(module: table): update ‘fork official sample’ demo (#1544)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-20 17:17:04 +00:00
Patrick
ea43ee7555 feat(module: tag): Add custom colors and Enum of Preset Colors (#1514)
* merge

* feat(tag): add custom colors and enum presets

* Update package.json

fix: remove vscode rubbish

* feat: add global PresetColor, and new PresetColor param

* feat: add preset color to Badge

* feat: tag style calcuated on setter

* fix: user style is appended to stringbuilder

* empty commit

Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
2021-05-17 00:40:52 +08:00