Commit Graph

670 Commits

Author SHA1 Message Date
Zonciu Liang
75f01993b1 chore: fix SolutionDir for building (#1011) 2021-01-23 01:15:23 +08:00
Porkopek
93b58cbb42 feat(module: icon): Added Static class IconType for intellisense (#987)
* Added Static class IconType for intellisense

* Added: Static Class Generator

* move the generator file to cli

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-22 15:07:28 +08:00
Andrzej Bakun
990646b964 fix(module: menu): fix loop on same route & performance & duplicate highlight (#1027)
* fix(module:menu): fix loop on same route & performance

fix duplicate highlight
fixes 737
fixes 833
fixes 919
fixes 1014

* fix(module:menu): optimization and fix #8
2021-01-22 10:15:24 +08:00
James Yeung
8d50b1cb1a fix(module: table): selection was broken with scroll y (#1020) 2021-01-22 09:56:51 +08:00
Andrzej Bakun
ea46422738 feat(module: menu): Add Menu divider (#1017)
* feat(module:menudivider): new component

* docs(module:dropdown): dropdown with tooltip and menudivider

* docs(module:menu): menudivider for horizontal demo

* feat(module:menudivider): remove unnecessary method
2021-01-22 08:59:05 +08:00
James Yeung
bbc69f25af feat(module: table): support multiple sorter (#1019) 2021-01-22 00:45:15 +08:00
笨木头
e59a2b2540 fix(module: overlay): select issue with multiple modals (#1012) 2021-01-21 19:07:21 +08:00
Andrzej Bakun
152a574577 feat(module: overlay): OverlayTrigger not bound to a div (#937)
* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): OverlayTrigger not bound to a div

* feat(module:overlay): Logic transfer to single Overlay

* feat(module:overlay): remove obsolete duplication

* feat(module:Tooltip): Add for unbounded oncontextmenu event handler

* feat(module:tooltip): unbound js event listeners remove

* docs(module:tooltip): unbound explanation

* fix(module:button): attach Ref to top level html element @ref

* feat(module:dropdown&tooltip&popconfirm&popover): Overlay not bound to a div

* docs(module:dropdown&tooltip&popconfirm&popover): unbound explanation

* feat(module:OverlayTrigger): common logic relocation

* feat(module:overlaytrigger): Overlay not bound to a div

* feat(module:DatePicker): Overlay not bound to a div

* feat(module:select): Overlay not boud to div

* fix(module:select): onclickarrow event relocation

* fix(module:select): rename Show to OnArrowClick

* feat(module:avatar): Overlay not bound to a div

* docs(module:avatar): demo switch to unbound version

* feat(module:autocomplete): partial OverlayTrigger not bound to a div

* feat(module:slider): tooltip

* docs(module:slider): tooltip

* fix(module:overlay): add SetVisible method

* feat: set Ref where missing, performance

components register Ref when missing
IsFixed flag for CascadeValue changed
hard-code sequence numbers when using RenderTreeBuilder
Rate component use Tooltip Unbound version
Tabs test fix

* fix: revert changes (accidental)

* feat(module:upload): tooltip with unbound usage

* feat(module:table): column use of unbound tooltip

* feat(module:autocomplete):overlay unbound from div

* fix(module:upload): missing div restore

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-21 17:20:10 +08:00
fan0217
90e98e5487 feat(module: table): specific the position of the expand button (#1002)
* Table增加属性ExpandIconColumnIndex

* Table增加属性ExpandIconColumnIndex

* 调整Table的ExpandIconColumnIndex属性默认值为0

* 处理Table的Expand展开按钮和Tree展开按钮冲突的问题

* fix icon column index for expand row

* fix style

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-21 14:56:20 +08:00
Zonciu Liang
a09a8e6ac3 feat(module: table): add DataIndex support (#999)
* docs: correct parameter name

* feat(module: table): add data index

* refactor(module: table): make DataIndex expression cached

* refactor(module: core): recursive method for PropertyAccessHelper.GetRootParameterExpression

* refactor(module: table): make DataIndex feature clearer

* feat(module: table): support DataIndex format

* fix: sort column style

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-20 23:35:57 +08:00
Andrzej Bakun
c03e4c4c1b chore: bUnit update to 1.0.0-preview-01 (#1009) 2021-01-20 20:02:35 +08:00
Andrzej Bakun
81817ea3db fix(module: overlay): Interop delElementFrom() exception on page refresh (#1008)
* fix(module:overlay): page reload detection

* fix(module:overlaytrigger): event handler on window resize remove on dispose
2021-01-20 19:58:20 +08:00
James Yeung
375d72f90e fix(module: layout): missing trigger when sider open from zero-width mode (#1007) 2021-01-20 18:23:48 +08:00
James Yeung
187dd045ac docs: scroll to hash anchor after pages are rendered (#1006) 2021-01-20 15:53:32 +08:00
James Yeung
44ea5be92b fix(module: back-top): fix visible styles (#1005) 2021-01-20 15:36:46 +08:00
James Yeung
ddb09a9aa8 fix(module: upload): style of file list and picture card (#1001)
* fix(module: upload): file list style

* refactor upload button to fix ref conflict
2021-01-19 21:18:50 +08:00
Andrzej Bakun
e24e417ae5 fix(module: calendar): critical exception for ChangePickerValue (#993) 2021-01-19 20:50:23 +08:00
Andrzej Bakun
dffe33aed4 fix(module: overlay): getFirstChildDomInfo when firstElementChild is null (#989)
getFirstChildDomInfo returns passed domInfo when dom.firstElementChild is null
fixes #837
2021-01-17 15:41:28 +08:00
Andrzej Bakun
b7cb393967 fix(module: alert): missing html structure (#990) 2021-01-17 15:20:06 +08:00
imhmao
f65943813e fix(module: cascader): re-initialize options after options is changed (#980)
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-16 21:54:57 +08:00
James Yeung
2e727d9f47 fix(module: date-picker): prevent the year out of range (#973)
* fix(module: date-picker): year would out of range

* prevent out of range

* add two methods

* fix(module: datepicker): out of range error

* fix: decadePanel is still out of range

Co-authored-by: 钟迪龙 <musicvs@163.com>
2021-01-14 10:40:34 +08:00
Magehernan
3a6360524d fix(module: table): incorrect no data style with ExpandTemplate (#985) 2021-01-13 23:20:10 +08:00
James Yeung
6177804f03 fix(module: range-picker): throw exception when has default value (#972) 2021-01-12 12:48:45 +08:00
Zonciu Liang
9d9506bb5c feat(module: table): add SorterCompare parameter for sorter (#969)
* feat(module: table): add custom comparer

* docs: keep the DataSource of Table's blazor demo unchanged

* Update custom-sort.md

* refactor(module: table): change Comparer to SorterCompare

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-12 00:39:40 +08:00
motl2000
fe8ce412dd feat(module: button): add StopPropagation property for click event (#960) 2021-01-11 22:59:21 +08:00
James Yeung
d266f77346 fix(module: table): exception if field is null (#965) 2021-01-11 22:36:06 +08:00
ElderJames
1040574490 chore: prepare for 0.6.0 2021-01-11 15:13:34 +08:00
ElderJames
e16487b600 chore: fix release cmd 2021-01-11 14:18:50 +08:00
James Yeung
d24c7a5325 fix(module: table): sorter works incorrectly (#962)
* fix(module: table): sorter works incorrectly

* docs: delete the jsx block
2021-01-11 13:39:02 +08:00
ElderJames
41a1d2de9c docs: let user know they can use custom theme of ant design 2021-01-11 13:22:35 +08:00
James Yeung
93352807a5 chore: fix the release pack cammand 2021-01-10 23:26:50 +08:00
yanb1
2b3e037e14 feat(module: list): ListItemMeta support description template (#959)
* Added DescriptionTemplate

* Added support for DescriptionTemplate property.
2021-01-10 22:41:57 +08:00
James Yeung
1a2866cf9d feat(module: table): add ellipsis column (#957) 2021-01-10 21:44:25 +08:00
James Yeung
9a5cbb9255 fix(module: tree): add ComponentBase (#956) 2021-01-10 18:49:52 +08:00
James Yeung
3582075e22 chore: sync ant-design v4.10.1 (#955) 2021-01-10 15:39:20 +08:00
Andrzej Bakun
2a05064c25 fix(module:date-picker): OneOf to TValue, default value for picker, optimizations (#933)
* fix(module:DatePicker): input OnClick has new event handler

* fix(module:DateTime): remove misleading reliance on picker index

* fix(module: DatePicker & RangePicker): DefaultValue type change

DefaultValue type change to align with Value type

* fix(module:rangepicker): add default values helper with tests

* fix(module:datepicker): ChangePickerValue action declaration fix

Picker value is served based on input index (start/end)

* fix(module:DatePicker): optimization

ViewStartDate, MaxRow & MaxCol do not cause refresh if not changed

* fix(module:DatePicker): min date fix

ArgumentOutOfRangeException fix for dates before DateTime.MinValue

* fix(module:RangePicker): sorted values

Values get ordered on set

* fix(module:DatePicker): OneOf switch to TValue

* fix(module:DatePicker): code optimization and PickerValue fix

PickerValue fix gets first panel value and evaluates second panel value

* fix(module:DatePicker): default values evaluation

* fix(module:RangePicker): default picker value fix

* docs(module:DatePicker): switch to TValue for DefaultValue

* fix(module:RangePicker): other value picker fix

* fix(module:RangePicker): on value init include DefaultValue

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-10 13:19:07 +08:00
imhmao
d8ea75a81d fix(module: cascader): duplicated highlighting for the same label (#950)
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-10 00:53:33 +08:00
James Yeung
43664736f7 feat(module: table): fixed header & columns (#954)
* feat(module: table): support fixed header & columns

* fix layout of the fixed columns & header

* fix scrollbar hidding

* header and body sync scroll

* fix column width calc

* fix demo pagesize

* fix docs
2021-01-09 23:57:31 +08:00
James Yeung
56dfae7f62 chore: sync ant-design v4.10.0 (#943) 2021-01-09 09:07:02 +08:00
xrkffgg
241fb87183 chore: add issue labeled reply action (#948) 2021-01-08 22:23:17 +08:00
imhmao
f904676578 feat(module: tree): add expandAll and collapseAll method (#941)
* Tree:
1.add new node action
2.fixed data sort selection issue
3.add Expand() Collapse() Toggle()

* fixed Tree.OnRendered summary

* remove the `Is` prefix

* refactor(tree): renaming

Co-authored-by: 王的强 <wdq@sinotex.cn>
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-07 00:41:26 +08:00
TimChen
f388ca4fc0 feat(module: tree): support generic type (#777)
* feat: tree update

* feat: support generics

* feat: normal operation

* fix: review question
2020-12-30 18:38:35 +08:00
笨木头
2d0d1a7473 docs: overlayStyle should not change menu's width (#939) 2020-12-30 08:58:03 +08:00
James Yeung
2e668e1b54 docs: fix header breakpoint (#938) 2020-12-29 23:35:03 +08:00
zxyao
1bdece0ea8 feat(module: modal): add locale for Modal and Confirm (#932)
* feat(module: modal): add Modal locale

* feat(module: confirm): locale support for zh-cn, en-us

* docs: add the demo of override locale's custom text

* feat: locale's json files add confirm configuration

* fix: custom ButtonProps override Button[1,2,3]Text or OK(Cancel)Text

* docs: using InvokeAsync to invoke StateHasChanged

* docs(module: modal): add override locale de
2020-12-29 23:34:18 +08:00
James Yeung
06d96e88a0 fix(module: timeline): add/remove item dynamically (#931) 2020-12-27 01:17:32 +08:00
zxyao
bdcc394958 fix(module: modal): remove non auto destroyed Modal DOM created by ModalService (#926) (#930) 2020-12-26 23:41:02 +08:00
James Yeung
dc208f6491 fix(module: table): tree data doesn't work in asynchrony (#929) 2020-12-26 22:06:16 +08:00
dblleaf
ab9d0be1f0 fix(module: carousel): left/right dot position and dynamically slick rendering (#918)
* Issue#915,and fix the issue that can not render correctly when change carousel DotPosition

* Resolve exception exception of server side when refresh the browser.

* Fix Fade style.
2020-12-26 22:04:00 +08:00
zxyao
ef4701b6ed refactor(module: modal): refactor the code of Modal, Confirm (#914)
* refactor(module: modal): refactor the code of Modal, Confirm and Dialog

refactor details:
- Add DialogWrapper compontent to control the logic of dialog removal from DOM
- Add the appropriate folders for Dialog, Modal, and Confirm
- Remove methods with the same logic but different names in ConfirmService
- Split Title into Title (string) and Titletemplate (renderfragment)
- Add comments to code
- Rename ConfirmDialog to Confirm
- Specification of method name in ConfirmService
- Adjust the time of throttle function for draggabe modal
- Extract the common part of ModalOptions, ConfirmOptions and DialogOptions as DialogOptionsBase

* refactor: move DefaultCloseIcon etc. static members to DialogOptionsBase

* docs(module: modal): update docs

* fix: dialog incorrect waiting

* fix: pickup missing pr/7
2020-12-26 21:39:04 +08:00