Commit Graph

10 Commits

Author SHA1 Message Date
James Yeung
43b38b45f3
fix(module: select): EnumSelect throwing exception cause by nullable enum type (#3859) 2024-05-12 13:02:27 +08:00
James Yeung
7081c02af8
fix(module: rangepicker): value binding was confilct with enum select (#3856)
* fix(module: rangepicker): value binding was confilct with enum select

* update enum select for flags

* fix test
2024-05-09 23:14:57 +08:00
pankey888
f2c623d1c8
feat(module: select): Support using 'bind-Value' to get or set multiple enumeration values with the Flags attribute (#3843)
* feat(module: EnumSelect): Support using 'bind-Value' to get or set multiple enumeration values with the Flags attribute. (#3842)

* refactor

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-05-07 00:49:18 +08:00
James Yeung
50c13245cd
fix(module: core): enum name supports localization (#3536) 2023-12-01 00:30:45 +08:00
LeaFrock
9dcfb2898d
test(module: core): Add unit tests (#2821)
* Add tests for `StyleHelperTests`&`EnumHelperTests`

* Add tests for `ClassMapper`

* Add tests for `MomentHelper`

* Code style fixes for `JsonElementHelper`

* Code style fixes for `THelper`

* Roll back some break changes
2022-10-21 13:01:25 +08:00
James Yeung
83007bae22 feat(module: radio): support enum type for RadioGroup (#1840) 2021-08-15 00:27:41 +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
王俊
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
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
anranruye
aa3114f643 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>
2021-05-08 13:00:52 +08:00