Commit Graph

132 Commits

Author SHA1 Message Date
Daniel Matthews
b623c8a7e4 fix(module: menu): Wrap IconTemplate in corrected span (#2006)
* fix(module:menu): Wrap IconTemplate in corrected span
* wrap IconTemplate using span created by Icon component so InlineCollapse properly displays IconTemplate

*docs: Added missing docs for IconTemplate

* Update icontemplate.md

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-10-08 15:38:46 +00:00
James Yeung
5875929a89 refactor(module: tabs): improve rendering (#1970)
* refactor(module: tabs): improve rendering

* fix ForceRender & change constants to enums

* fix animated

* fix left extra content

* add Centered feature

* fix scroll distance

* fix scroll gap

* fix index out of range

* fix tests

* fix scroll distance

* fix dropdown button position

* fix ping left & right

* hide the dropdown button
2021-10-08 14:25:41 +08:00
rabberbock
c9c628070d fix(module: slider): Positioning Using Min/Max (#1940)
* Use Min/Max for position

Call SetStyle OnInitialize so two way binding initializes correctly

* Fix marker position for range

* track style for non ranges
2021-09-24 23:22:32 +08:00
James Yeung
bc284d025e fix(module: table): tree data sort & filter (#1966)
* fix(module: table): tree data sort & filter

* fix code block indent
2021-09-23 09:22:37 +08:00
anranruye
8640371e88 doc: fix code block in english pages (#1961)
* doc: fix code block in english pages

* remove react code

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-09-22 23:00:54 +08:00
James Yeung
c9448e635a fix(module: grid): issue with gutter match due to breakpoint enum name case (#1963)
* fix(module: grid):  issue with gutter match due to breakpoint enum name case

* add playground de
2021-09-22 22:08:32 +08:00
Luke Parker [SSW]
79af5022aa docs: Cleanup button docs (#1953) 2021-09-17 16:52:53 +00:00
Andrzej Bakun
c099874086 fix(module: menu): Overlay bug fix & menu renering optimization (#1949)
* fix(module:overlay): submenu causing crash

* fix(module:overlay): submenu causing crash

* fix(module:menu): show missing chevron

mark top menu as selected on init
do not render non-active overlay submenus

* tests: common js mock extracted

nullable enabled for test project

* tests: menu

* fix(module:menu): incorrect behavior in layout
2021-09-16 22:46:45 +08:00
anranruye
915d35a513 Merge 0.9.4 to feature 2021-09-14 21:57:15 +08:00
James Yeung
de794eae9b fix(module: timeline): label missing (#1941) 2021-09-13 22:04:47 +08:00
SmRiley
062526ab6c docs: Update index.zh-CN.md (#1936)
Update document ConfigProvider global configuration example code

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-09-12 14:09:04 +00:00
James Yeung
c29042e105 fix(module: list): resposive style doesn't work (#1937) 2021-09-12 21:59:11 +08:00
James Yeung
a226f18077 fix(module: menu): collapsed menu title can't hide while use router link (#1934) 2021-09-12 01:13:48 +08:00
James Yeung
9a1e6a8264 fix(module: table): It would be load twice at first time if pagesize is not 10 (#1933) 2021-09-11 14:04:03 +08:00
Andrzej Bakun
3d4f7adaaf perf(module: overlay): positioning moved to js (#1848)
* fix(module:overlay): move postion calculation to js

fixes #1836

* docs: TriggerBoundaryAdjustMode explanation

* docs: select & datepicker got BoundaryAdjustmetMode

cleanup

* test: fixes

optimization & cleanup

* fix(module:overlay): recalculate overlay position when trigger resizes

* Minor clean-up

* fix(module:overlay): wait for Show to finish in Hide

* fix: prevent vertical scrollbar on overlay adding

* fix: extract waiting function

* fix: overlay not to repostion when trigger vanishes (menu issue)

* fix: scroll adjustment for position: fixed

* fix: on menu mode change, keep

* merge conflict fix

* fix: nominal calculation reset on failed adjustment

* fix: bugs

* test: exclude log method from test coverage in overlay.ts
2021-09-10 19:06:50 +08:00
gmij
0abc1db548 feat(module: TreeSelect): add tree-select component 🚀 (#1773)
* fixed. Fix network error when requesting contributor list in local development environment

* fixed. Fix Chinese garbled code

* Update Dynamic.razor

* update. Adjust the base class of the select control to selectbase, and extract the common methods to prepare for tree select.

* fixed. Adjust the type of the parent control to selectbase

* tree-select完成基础编码工作。

* fix. 重新修订冲突解决时误删的变量

* fix. 修复在多选模式下无法显示初始值的bug

* fix some styles

* add. tree add Node UnSelect Event

* fix . Node Multiple Select Bug.

* fix Tree UnSelect invalid.

* fix. tree multiple select support.

* fix. select option sync tree node selected.

* fix. multiple select, old selected values has clear

* fix loop update exception

* 修复合并带来的冲突

* add. allow clear feat. but not finish.

* fix merge bug

* fix merge bug

* fix. supplementary notes

* update demo data with react demo

* add. 添加静态下拉树的能力,以及单选和多选的demo

* fix. 优化下拉显示树时,树选项的选中逻辑。

* fix demo

* fix. 静态下拉树时,出现错选的bug

* fix merge bugs.

* fix merge bugs.

* add. static dataObject Bind Support

* 将下拉树中,对偏平数据源的处理,移到simpleTreeSelect中

* fix ChildrenExpression
2021-09-08 19:00:05 +08:00
Maksim
fae8cf5178 fix(module: button): loading icon styles (#1902)
* Fix loading icon styles

* Fix button render test
2021-09-07 13:36:24 +00:00
Andrzej Bakun
6bc277c623 fix(module: textarea): add rows parameter (#1920)
doc: adjust to match antD
tests: sizing tests
2021-09-07 13:46:34 +08:00
anranruye
7e1cdea1c4 docs(module: select): update coordinate demo (#1914)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-09-06 09:29:13 +00:00
Chandan Rauniyar
793ed347b8 docs: Fixed typo (#1915) 2021-09-05 14:29:22 +00:00
Andrzej Bakun
de69cc5dd5 fix(module: select): value no longer reset on datasource set (#1906)
* fix(module:select): value no longer reset on datasource set

* fix(module:select): dataSource change detection

* fix: improve datasource detection
add item & set value in SelectOption

* tests: scenario from issue #1207

* fix: DataSourceEqualityComparer default
2021-09-05 18:13:38 +08:00
James Yeung
ccfa5f4d33 docs: add dynamic table demo (#1908)
* feat(module: table): add dynamic data demo

* add scroll x
2021-09-02 22:28:50 +08:00
James Yeung
ee845b906a feat(module: table): add CellData for CellRender (#1907) 2021-09-02 12:34:30 +08:00
James Yeung
3a6902a2c9 merge 0.9.3 to feature 2021-08-29 15:32:27 +08:00
James Yeung
063e404af3 feat(module: tree): add ChildContent for Tree and TreeNode (#1887)
* feat(module: tree): add ChildContent for Tree and TreeNode

Allow user set tree nodes directly.

* fix indent
2021-08-29 14:18:36 +08:00
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
7bfa819964 feat(module: image): support preview visible (#1842) 2021-08-15 22:03:23 +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
James Yeung
83007bae22 feat(module: radio): support enum type for RadioGroup (#1840) 2021-08-15 00:27:41 +08:00
James Yeung
6f9a36aeb3 feat(module: radio): add options for radio group (#1839) 2021-08-14 23:53:21 +08:00
ElderJames
71c53e1c9f merge 0.9.1 to feature 2021-08-13 17:22:52 +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
YongQuanRao
f09d57f165 feat(module: form): add properties Help, ValidateStatus and HasFeedback (#1807)
* Add properties Help, ValidateStatus and HasFeedback to FormItem

* refactor validation messages

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-08-04 19:02:29 +08:00
James Yeung
54ef39f82b feat(model: table): support responsive (#1802) 2021-08-01 21:18:50 +08:00
James Yeung
1c0a34ff0f feat(module: tree): bring SearchExpression back (#1796) 2021-07-31 00:32:45 +08:00
lukblazewicz
76ae40f727 refactor(module: tree): rename Checked/Dechecked methods to Check/Uncheck (#1792) 2021-07-31 00:32:19 +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
f80e40d1bf fix(module: table): edit row demo can't recovery the editing on cancel (#1745) 2021-07-18 13:04:25 +08:00