anranruye
50f9ee4295
fix(module: overlay): use right positioning for bottom-right placement ( #1799 )
2021-08-01 18:52:43 +08:00
anranruye
bb6d32e940
fix(module: overlay): fix overlay position when container element has border ( #1797 )
2021-07-31 23:12:48 +08:00
Andrzej Bakun
29e3ce3583
refactor(interop): reorganization into classes and typescript tests ( #1791 )
...
* fix(module:interop): reorganization into classes
* comments clean-up
* Add typescript test project
* fix: sync with pull request #1765 : support drag
* github test action fix attempt
* tests: jsinterop test mock fix
* codecov added to ts tests
* add generated split js to gitignore
* fix: coverage github action
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-29 22:45:47 +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
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
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
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
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
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
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
anranruye
a06fd5c2e5
fix(module: form): fix input components inside customized form control ( #1662 )
2021-06-24 12:18:18 +08:00
anranruye
b8658549e6
Merge 0.8.2 to feature
2021-06-18 16:09:13 +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
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
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
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
zxyao
d3434398e3
feat(module: notification): add NotificationRef support ( #1498 )
...
* feat: add NotificationRef support
* docs: update docs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-16 21:55:44 +08:00
James Yeung
bfb5e4f396
merge 0.8.1 to feature
2021-05-16 19:58:03 +08:00
Andrzej Bakun
ae58374282
fix: missing using is causing build failure ( #1518 )
2021-05-12 22:34:41 +08:00
zxyao
daced4479f
fix: js function getDom return null bug ( #1417 )
...
* fix: js function getDom return null bug (#1374 )
* fix: add IF precompiled instruction for observer attribute
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-12 03:31:57 +00:00
Ivan Ocoka
201172f122
fix:(module: overlay): positioning should take scroll into account ( #1511 )
...
Co-authored-by: Ocoka <somewhere@network>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-12 02:48:09 +00:00
Andrzej Bakun
3ae339a749
fix(module: input): guid optimization ( #1515 )
2021-05-12 09:41:17 +08:00
anranruye
7967828f2e
fix(module: input): fix Input component for Guid type ( #1510 )
...
* fix(module:input): fix Input component for Guid type
* docs(module:input): add Guid generic sample code
* fix(module:input): add a comment to explain the change
2021-05-12 00:17:49 +08:00
anranruye
9671b8e940
fix(module: datepicker): fix multiple CultureInfo properties ( #1492 )
...
* fix(module:datepicker): fix multiple CultureInfo properties
* fix(module:datepicker): fix multiple CultureInfo properties
2021-05-11 21:58:40 +08:00
Andrzej Bakun
2d36dd4081
feat:(module: form): edit context dynamic change ( #1504 )
...
* tests: project up to standards
* fix(module:form): allow EditContext change
2021-05-11 11:13:14 +08:00
Andrzej Bakun
8fb2d262e6
fix(module: inputNumber): allow culture info to format input ( #1480 )
...
* fix(module:inputnumber): allow culture info to format input
* docs(module:inputnumber): demo & docs
* fix translation
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-05-08 09:21:46 +00: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
Andrzej Bakun
a7fabae919
fix(module: datepicker): Date picker panel click closing + some issues from #1431 ( #1452 )
...
* fix(module:datetime) keep open when click on panel
fix: tab key behavior
blur/show optimization
* fix(module:rangepicker): tab key behavior improvements
blur/focus optimizations
* fix(module:overlay): overlay visible before positioning
fix: flickering
* fix(module:datepicker): handle escape key
* fix(module:datepicker): mark properly current date on panel
* fix(module:datepicker): week mode calculates weeks properly
2021-05-07 15:31:13 +08:00
anranruye
0d208ab362
fix(module: select): fix dropdown width for IE ( #1469 )
...
* fix(module:select): fix dropdown width for IE
* fix(module:select): add a comment to explain the change
* revert 'merge local branch'
* revert 'merge local branch'
* revert 'merge local branch'
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-06 06:07:34 +00:00
Andrzej Bakun
9509603489
fix(module: select): support IEnumerable in form ( #1460 )
...
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-06 05:42:19 +00:00
Andrzej Bakun
f23f5088dc
fix(module: checkbox): remove Value initialization blocking ( #1459 )
...
* fix(module:checkbox): remove Value initialization blocking
* Update CheckboxTests.razor
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-05-06 05:23:19 +00:00
anranruye
90dc038394
fix(module: select): fix error for nullable TItem ( #1451 )
2021-05-06 13:00:16 +08:00
James Yeung
4ea72e2720
fix(module: cascader): add SelectedNodesChanged and invoke it after clear selected ( #1437 )
2021-04-29 14:31:03 +08:00
笨木头
ece46d4759
fix(module: overlay): issues in boundaryAdjustMode ( #1420 )
...
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-28 12:44:23 +00:00
Andrzej Bakun
b27e4d47a6
fix(module: datepicker): validate manually entered date against format ( #1389 )
...
* fix(module:datepicker): validate manually entered date against format
* fix(module:datepicker): keep frozen the panel until valid date entered
* fix(module:datepicker): switch to current culture format
* fix(module:datepicker): build fix
* fix(module:datepicker): use InvariantCulture when calling ToString on date
* fix(module:datepicker): FormatAnalyzer handles also year, week, month & quarter picker
* fix(module:datepicker): FormatAnalyzer broken tests
* fix: FormatAnalyzer handles prefixes in format.
Suffix is handled for picker type = "year"
Tests include validation of not changing state
* fix: all modes go through format analyzing (inluding week&quarter)
* fix(module:datepickerbase): InternalFormat initalized properly for all modes
* fix(module:rangepicker): reset opposing date when in conflict with current
* fix(module:rangePicker): handle null in second part of range
* fix(module:datepicker): switch from BindConverter to partials
* tests(module:datepicker): FormatAnalyzer new tests to cover switch from BindConverter
* tests(module:datepicker): missed change in tests
* fix: focus, key events, reset value to original if not confirmed
* fix: bug fix on range & clean-up
* Update DatePicker.razor
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-28 03:54:19 +00:00
Andrzej Bakun
b22f9495f4
feat: use ResizeObserver Api instead of window.resize ( #1392 )
...
* feat: use ResizeObserver Api instead of window.resize
* fix(module:select): fall back to window.resize in IE11.
* fix(module:domEventService): switch from IsIE11 to IsResizeObserverSupported
* fix: Console.WriteLine removed
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-27 06:03:39 +00:00
Andrzej Bakun
47ebd7f076
fix(module: table): DataIndex filter pop up ( #1421 )
...
* fix(module:overlayTrigger): TrigerRefernece points to OverlayTrigger.Ref.
* fix(module:overlay): Show waits for competing code to finish
* Update OverlayTrigger.razor.cs
* clean code
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-27 05:02:29 +00:00
Andrzej Bakun
555fdb9a43
fix(module: checkbox & switch): Checked parameter binding ( #1394 )
...
* fix(module:checkbox): allow binding to Checked parameter
* fix(module:switch): allow binding to Checked parameter
* fix(modules): checkbox & switch get AntInputBoolComponentBase class
* test(module:switch): add tests
* test(module:checkbox): add tests
* test(module:divider): simplify by using id:ignore
* docs(module:checkbox): bind example
* docs(module:switch): bind example
* fix(module:switch): add Control + docs + tests
* feat(module:checkboxgroup): add layout and mixed mode
* fix: review comments + tests
* fix(module:checkboxgroup): parameter name should be MixedMode
added more tests
* fix demo
* fix(module:checkboxgroup): allow toggling between modes
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-25 01:04:21 +08:00
Zonciu Liang
d0e40fbdfd
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 PathHelpe
2021-04-24 13:07:27 +08:00
MihailsKuzmins
c0f8859914
fix(module: input): preserve focus and caret position for input password when visibility is toggled ( #1377 )
...
* set focus when the password button is clicked
* add methods for selection
* set selectionStart after Focus
* fix typescript
* set selectionEnd as well
* fix a stupid if-condition-bug
* remove checks for element
* add selectionStart to getDomInfo
* get selectionStart from Element
* delete unneeded js method
Co-authored-by: mihails.kuzmins <mihails.kuzmins@daytongroup.lv>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-18 08:06:06 +00:00
James Yeung
d4cbc6d4e0
feat: add element component ( #1378 )
...
* refactor: rename `HtmlElement` property case
* rename the directory name for overlay
* add element component
2021-04-17 22:14:01 +08:00
Andrzej Bakun
fc5086a3f7
fix(module: avatar): size calculation & CssSizeLength functionality expansion ( #1364 )
...
* core: expand CssSizeLength to handle double & decimal (with tests)
* fix(module:avatar): move to CssSizeLength
fix: explicit size calculation
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-16 02:50:31 +00:00
James Yeung
e8965eb369
chore: merge feature into master ( #1350 )
...
* feat(module: table): add a method to get query model (#1202 )
* feat(module: table): add OnExpand event (#1208 )
* feat(module: table): add summary (#1218 )
* feat(module: table): add summary row
* feat: add fixed summary cell
* feat(module: InputNumber): Add long-click and keyboard operation (#1235 )
* feat(module: InputNumber): Add long click and keyboard event
1. When hold mouse down button will always trigger the increase or decrease
2. Add event listener to "ArrowUp" and "ArrowDown" key
* feat(module: InputNumber): Add long click and keyboard event
1. When hold mouse down button will always trigger the increase or decrease
2. Add event listener to "ArrowUp" and "ArrowDown" key
* fix null reference exception
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* refactor(module: pagination): cover the apis of react (#1220 )
* feat(module: config-provider): support RTL (#1238 )
* feat(module: config-provider): support RTL
* add rtl for each component
* fix rtl for pagination
* add rtl for overlay
* chore: sync ant-design v4.14.0 (#1249 )
* feat(module: tag): add closing event (#1268 )
* tag add onclosing
event
* clean code
* translate the comment
* translation
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* chore: sync ant-design v4.15.0 (#1281 )
* feat: add built-in themes (#1286 )
* feat: add themes
* add docs theming styles
* fix the RTL for FixedWidgets
* fix aliyun theme
* fix docs style
* feat(module: form): Form lable supports left alignment (#1292 )
* feat: Form lable supports left alignment
* Update and rename components/grid/Col.razor.cs to 组件/格网/Col.razor.cs
* Delete Col.razor.cs
* no message
* PR:1292
* typo LabelAlign
* add the property in Col instead FormItem
* clean code
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: upload): missing and new event (#1302 )
* feat(module:upload): missing and new event
* docs(module:upload): new events (missing Chinese)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* refactor: unified use of FeedbackComponent for modal comfirm and drawer (#1263 )
* refactor: support to use the same template for confirm and modal
* refactor: support to use the same template for drawer
* refactor: separate interface IOkCancelRef
* chore: modify EventUtil class summary
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: alert): add message template and loop banner demo (#1250 )
* feat(Alert): added alert loop component
* fix: move cmp into main
* feat: add parameters for looping text
* feat: add new messages loop
* fix: create new internal looptext cmp
* doc: add demo
* doc: add demo markdown
* doc: update alert api
* doc: update cn docs
* fix: add missing dependency
* fix: update param name
* impleement loop text with css
* fix the document
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: table): add support for Display attribute (#1310 )
feat(module:table): add support for Display attribute
Display attribute is widely used to specify display text for entity properties.
Table component should get column names from Display attribute instances.
Closes #1278
* test: add TestKit for public tests (#1248 )
* test: change folder structure and add new TestKit csproj for public testing of AntDesign-based applications
* docs: added CN and EN docs about TestKit
* fix doc translate
* change the directory structure
Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: space): add wrap, split and size array (#1314 )
* fix(module: datepicker): incorrect in RTL mode (#1300 )
* fix(module: dropdown): default PlacementType is incorrect in RTL mode
* fix(module: datepicker): not correct in RTL mode
* fix(module: datepicker): styles is incorrect when switch to LTR from RTL
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* docs: fix default css link (#1318 )
* fix(module: table): bring PR1208 to PR1303 merge master into feature (#1326 )
* feat(module: pagination): add TotalBoundaryShowSizeChanger parameter (#1325 )
* feat(module: pagination): add TotalBoundaryShowSizeChanger
* docs(module: pagination): update API
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* docs: dynamic primary color changing (#1332 )
* feat(docs): change color dynamically
* docs: dynamic primary color changing
* fix file path
* delete the script
* feat(module: table): add build-in filters (#1267 )
* tablefilter-moreoptions
* tablefilter-moreoptions
* tablefilter-moreoptions
* tablefilter-moreoptions
* tablefilter-moreoptions
* fix demo and docs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: tooltip): wrong popup direction (#1348 )
* fix merge conflicts
Co-authored-by: Andrzej Bakun <andrzej@neelyc.com.cy>
Co-authored-by: LingDev <lingjing0921@live.com>
Co-authored-by: Zonciu Liang <zonciu@zonciu.com>
Co-authored-by: TimChen <TimChen44@users.noreply.github.com>
Co-authored-by: unsung189 <52531536+unsung189@users.noreply.github.com>
Co-authored-by: zxyao <zxyao145@gmail.com>
Co-authored-by: Patrick <42546986+MutatePat@users.noreply.github.com>
Co-authored-by: anranruye <54608128+anranruye@users.noreply.github.com>
Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
Co-authored-by: 笨木头 <musicvs@163.com>
Co-authored-by: Magehernan <magehernan@gmail.com>
Co-authored-by: ldsenow <ldsenow@gmail.com>
Co-authored-by: Leishi <lluo@octet.com>
Co-authored-by: YMohd <31305504+YMohd@users.noreply.github.com>
2021-04-15 14:28:14 +08:00