Commit Graph

980 Commits

Author SHA1 Message Date
anranruye
90580e0a76 fix(module: select): remove ValueName null check for non-datasource approach (#1785) 2021-07-28 15:38:16 +08:00
lukblazewicz
f207a6d192 fix(module: tree): fix parent checkbox state calculation (#1781) 2021-07-27 17:46:12 +08:00
anranruye
b5afba7e56 refactor(module: table): use EnumSelect for table filter (#1777)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-27 13:43:23 +08:00
James Yeung
1f95a35b89 Add Change logs for 0.9.0 (#1778) 2021-07-27 00:57:04 +08: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
boukenka
fcd594fbe5 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>
2021-07-26 10:20:23 +00: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
zxyao
9739cd4161 fix(drawer): unexpected behavior of Drawer(#1749) (#1771)
* fix: unexpected behavior of Drawer(#1749)

1. The scroll bar of the body is enabled after closing one of the
   multiple drawers
2. Bad parameter NoAnimation.

* chore: remove debug output

* chore: add comments for ComponentStatus

* fix:  different behaviors in WASM and Server modes

* chore: remove debug output
2021-07-25 22:41:06 +08: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
Andrzej Bakun
361054ee15 fix(module: select): duplicated tags (#1766) 2021-07-23 22:48:14 +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
anranruye
9ca2200ce9 fix(module: select): can not set initial value for non-datasource approach (#1743)
* fix(module: select): can not set initial value for non-datasource approach

* Update Select.razor.cs

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-20 14:09:53 +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
James Yeung
3909e2c9d3 Merge 0.8.4 to Feature
Merge 0.8.4 to Feature
2021-07-18 00:37:56 +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
zxyao
977633ae93 fix(module: modal): wrong setter in ModalOptions.ConfirmLoading (#1742) 2021-07-16 23:45:15 +08:00
ElderJames
8fe830dc8b fix build process for static web assets 2021-07-14 15:42:06 +08:00
James Yeung
659204aa76 changelog 0.8.3 (#1730)
* change 0.8.3

* Update CHANGELOG.zh-CN.md

* Update CHANGELOG.en-US.md
2021-07-14 00:03:01 +08:00
zxyao
d07e3cb8fc fix(module: dialog): click dialog cause the mask click event triggered (#1727) 2021-07-12 23:27:09 +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
anranruye
f92dddf316 fix(module: select): allow change both data source and value in one render period (#1720)
* fix(module:select): allow change both datasource and value in one render period

* Update Select.razor.cs

* Update Select.razor.cs

* Update Select.razor.cs
2021-07-11 18:41:27 +08:00
lukblazewicz
e98a68625a feat(module: tree): support check all from code (#1722)
Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl>
2021-07-09 17:16:35 +08:00
Brian Ding
a3602eea15 feat(module: tabs): scroll over tab pane (#1581)
* feat(module: tabs): scroll over tab pane

* feat(module: tabs): drop down hide visible tabs

* clean up the code

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-09 10:24:27 +08:00
BeiYinZhiNian
fb4a80ab14 fix(module: upload): UploadFileItem Provide default configuration: ignore case (#1717) 2021-07-08 01:01:44 +08:00
HexJacaranda
f8da1efc9b fix(module: statistic): fix CountDown OnFinish callback exception(#1712) (#1714)
Calls to OnFinish callback now won't cause InvalidOperationException.
2021-07-08 00:17:14 +08:00
kuznecovIT
f856f3230d fix(i18n): russian locale resources additions (#1709)
* Russian locale resources additions

Based on https://github.com/ant-design-blazor/ant-design-blazor/issues/1707

* Change 'firstDayOfWeek' to 'Monday'
2021-07-06 11:27:40 +08:00
anranruye
e4e1289529 fix(module: locale-provider): add missing nodes default values (#1710) 2021-07-06 01:10:16 +08:00
James Yeung
486f6cb6cf fix(module: tabs): Exception caused by cascade assignment to TabTemplate (#1708) 2021-07-05 18:40:59 +08:00
anranruye
65857a63b7 fix(module: overlay): better judge whether mouse is inside the trigger when click (#1692)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-05 13:45:59 +08:00
James Yeung
c586455180 fix aot build 2021-07-04 23:39:57 +08:00
Henrik Widlund
f54d03f51c fix(module: upload): treat 2xx response codes success (#1705)
Treat all 2xx status codes as success in the upload module.
2021-07-04 23:31:44 +08:00
James Yeung
6705eb23e5 feat(module: tabs): add reuse tabs routeview (#1704) 2021-07-04 23:19:38 +08:00
Henrik Widlund
56fb02c6f9 feat(module: table): support expanding all items in table (#1695)
Add the ability to have all items in a table by setting  DefaultExpandAllRows to true.

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-02 13:45:24 +08:00
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