Commit Graph

792 Commits

Author SHA1 Message Date
ldsenow
7b7ab782c6 feat(module: table): add Hidden for columns (#1410) 2021-04-26 17:35:01 +08:00
ldsenow
64979aef3c feat(module: table): add pagination template (#1409) 2021-04-25 14:09:24 +08: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
zxyao
8a4bebc313 feat(module: modal): support define modal's style in ModalOptions (#1400) 2021-04-21 22:31:47 +08:00
James Yeung
efbdf684d3 fix(module: tag): closable typo and delete mode (#1393)
* fix(module: tag): closable typo and delete mode

* return early
2021-04-21 10:01:48 +08:00
James Yeung
555e398336 fix(module: form): validation message unique (#1391) 2021-04-20 16:03:25 +08:00
anranruye
3abec5f4ba fix(module: table): column header sorter not refresh after ClearSorter is called (#1385)
* fix(module:table): column header sorter not refresh after ClearSorter is called

* add judgment condition for calling StateHasChanged in IFieldColumn.ClearSorter()
2021-04-19 15:07:36 +08:00
anranruye
fb3d5b8d5b fix(module: table): can not use DataIndex nullable mode with not nullable property (#1382) 2021-04-18 20:53:57 +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
zxyao
1a10f34029 fix(dialog): add Dispose lifecycle function to Dialog (#1379)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-18 15:14:54 +08:00
Zonciu Liang
4a680e6b76 fix(module: table): Unify FieldName, add DisplayAttribute for DiplayName, fix Filter for DataIndex (#1372)
* fix(module: table): Unify FieldName value

* fix(module: table): Get column name from DisplayAttribute

* fix(module: table): Filter for DataIndex

* docs(module: table): Intuitive sorterCompare for Filter demo

* fix(module: table): fix header title doesn't display when Sortable is false

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-17 16:27:52 +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
James Yeung
fe0be94b55 fix(module: table): ellipsis can't work (#1376) 2021-04-17 18:52:15 +08:00
James Yeung
04a5b8def4 fix(module: input): binding data when the Enter key is pressed (#1375) 2021-04-17 17:42:28 +08:00
James Yeung
105cfa2e8d fix(module: affix): can't affix while OffsetTop is zero (#1373)
* fix(module: affix): can't affix while OffsetTop is zero

* use affixed setter for rerendering

* limit rerendering
2021-04-17 14:43:42 +08:00
Andrzej Bakun
55ae35c224 fix(module: select): enum default value protection (#1368) 2021-04-16 18:50:36 +08:00
Andrzej Bakun
ae74972643 fix(module: drawer): z-index has no effect (#1362)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-16 03:16:16 +00: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
4292201125 fix(module: table): incorrect bool filter (#1361) 2021-04-16 09:18:57 +08:00
Andrzej Bakun
b2a729af82 fix(module: table): locale fix (#1356) 2021-04-16 00:08:28 +08:00
Andrzej Bakun
6cccab2c04 fix(module: avatar): text size calc regional independent (#1352)
* fix(module:avatar): text size calc regional independent

* fix(module: avatar): removed limitation on number of decimal laces
2021-04-15 08:59:33 +00:00
Andrzej Bakun
1e5464d396 fix(module: input): add WrapperStyle (#1351)
* fix(module:input): add WrapperStyle

* translate the doc

* Update index.zh-CN.md

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-15 07:43:29 +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
Andrzej Bakun
242084e774 fix: multiple bugs originating from js (#1342)
* fix: multiple bugs originating from js

* fix(module:input): remove preventScroll from Focus method

fix: keep focus on clear

* fix(module:input): debug info clean-up

* fix(module:select): wait for browser to finish render

* fix(module:select): wait for ElementReference.Id

* fix doc assets

* fix(module:select): increase wait time for ElementRefernece.Id

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-15 14:19:26 +08:00
ElderJames
433d376739 merge master into feature 2021-04-15 12:55:36 +08:00
James Yeung
f4a3b60047 fix(module: tooltip): wrong popup direction (#1348) 2021-04-15 12:20:48 +08:00
skystardust
54259ea62a fix(module: affix): affix to the viewport (#1327) (#1335)
* fix(module: affix): affix to the viewport (#1327)

* fix target to element

* rename to target selector

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-04-14 23:20:36 +08:00
Andrzej Bakun
9bde09b45f fix(module: datepicker): OnChange invoke after typing (#1347) 2021-04-14 23:17:57 +08:00
Andrzej Bakun
941f58cc65 fix(module: table): Table tree children limit remove (#1345) 2021-04-14 10:45:45 +08:00
Andrzej Bakun
d64388c0ab feat(module: select): Select responsive max tag count (#1338)
* feat(module:select): add MaxTagTextLength, MaxTagCount & MaxTagPlaceHolder

* feat(module:select): responsive maxTagCount using window.resize

* docs(module:select): MaxTagCount functionality

* fix docs

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-04-13 13:12:18 +08:00
Jason Luo
002331df8b fix(module: result): modify status unsuccessfully after initialization(#1328) (#1336)
* fix(module:result): modify status unsuccessfully after initialization(#1328)

* fix(module:result): determine whether the Icon is empty string(#1328)

* doc: add changeTheResult demo(#1328)

* delete some lines
2021-04-12 18:22:38 +08:00
YMohd
9ff708eb31 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>
2021-04-11 01:11:19 +08:00
James Yeung
0b738663a1 docs: dynamic primary color changing (#1332)
* feat(docs): change color dynamically

* docs: dynamic primary color changing

* fix file path

* delete the script
2021-04-10 12:34:41 +08:00
Zonciu Liang
ea69864204 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>
2021-04-09 14:17:20 +08:00
Andrzej Bakun
7b5b08c95b fix(module: table): bring PR1208 to PR1303 merge master into feature (#1326) 2021-04-09 00:49:20 +08:00
ElderJames
aaff88adf7 merge master into feature 2021-04-08 22:32:48 +08:00
Andrzej Bakun
851c970f1d fix(module: overlaytrigger): correct method disposal (#1322)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-08 14:30:53 +00:00
Andrzej Bakun
70e724d630 fix(module: select): Select overlay resize & allow growing (#1309)
* feat(module:select): allow overlay to match item width

* fix(module:select): resize selectbox on window resize

* docs(module:select): add new parameters

* fix(module:select): add DropdownMatchSelectWidth & DropdownMaxWidth

* fix(module:select): apply same layout as antD

apply same behavior as antD for backspace
split code to default/multiple&tags
always focus on input for search-able
handle overflow & ellipsis for to long items
rendering optimization for SelectContent

* fix(module:select): backspace functionality limit
2021-04-08 22:17:44 +08:00
笨木头
d0922fbc50 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>
2021-04-06 20:02:53 +08:00
James Yeung
6a8036ca57 feat(module: space): add wrap, split and size array (#1314) 2021-04-06 14:20:29 +08:00
Zonciu Liang
8476eccd30 fix(module: table): fix table re-render when ScrollX is set (#1311) 2021-04-04 21:02:47 +08:00
anranruye
c06e73ba5b 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
2021-04-04 20:38:57 +08:00
Patrick
3da9e703fa 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>
2021-04-04 19:03:18 +08:00
zxyao
31aac9f914 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>
2021-04-04 15:40:54 +08:00
Andrzej Bakun
b8bc754f80 fix(module: select): propagation on item remove (#1308) 2021-04-04 14:01:38 +08:00
Andrzej Bakun
a9a0f2e937 fix(module: table): perf optimization & data source change issue (#1304)
* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:table): guard against false entries in _dataSourceCache

* fix(module:table): perf - double to single render on datasource change

* fix(module:table): perf optimization to avoid multiple renders

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-03 18:40:23 +00:00
Andrzej Bakun
251a6e18ad fix(module: select): load icon for multiple mode & value reload on delay (#1307)
* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:select): add loading for multiple mode

* fix(module:select): selected items duplication for multiple mode when values changed outside the component

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-03 17:53:25 +00:00
James Yeung
f8ec6256ba fix(module: grid): missing flex and wrap style (#1296)
* fix(module: grid): missing flex style

* remove the old md file

* fix demos

* fix build error

* fix no warp class
2021-04-03 23:36:46 +08:00
Andrzej Bakun
1d4ea440fa fix(module: textarea): default to empty string (#1305)
* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:textarea): add parameter DefaultToEmptyString

* fix(module:textarea): occasional crashes of js in firefox

* docs(module:input): added new param DefaultToEmptyString

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-03 15:22:11 +08:00
Andrzej Bakun
f5216bed80 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>
2021-04-03 00:45:55 +08:00
Andrzej Bakun
19e0f61961 fix(module: upload): Upload list update fix (#1301)
* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:upload): file list update

* fix(module:upload): typed args for file upload

* fix(module:upload): delete button remove from picture-card

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-02 16:23:00 +00:00
笨木头
32d1f27708 fix(module: datepicker): DatePicker DisabledDate works incorect (#1298)
* fix(module: datepicker): DatePicker DisabledDate works incorect

* test(module: dateHelperTests): modify test case

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-02 16:08:36 +00:00
Zonciu Liang
3bf616b735 fix(module: table): fix DataIndex Column with incorrect sorting and filter (#1295)
* refactor(module: table): Unify the behavior of Field and DataIndex

* fix(module: table): Fix DataIndex Column doesn't refresh

* doc(module: table): add DataIndex column filter demo

* doc(module: table): fix Blazor table

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-02 15:54:56 +00:00
unsung189
b68e70fd76 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>
2021-04-02 23:13:44 +08:00
ldsenow
527f39456b feat(module: form): Add LabelTemplate for FormItem (#1293)
Co-authored-by: Leishi <lluo@octet.com>
2021-04-02 23:10:37 +08:00
Andrzej Bakun
822dfa3830 fix(module: rate): Value has priority over DefaultValue (#1303)
* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:rate): prevent reset to default value

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-02 22:03:13 +08:00
Magehernan
71f49c5c15 fix(module: table): ExpandableRow not working with ActionColumn #1284 (#1285)
* (fix) Table ExpandableRow not working with ActionColumn #1284

* Add Tree Button Expand on Action Columm.

Check the position of Selection Column when calculate the position for expand button on tree mode and expand mode.
2021-04-01 12:50:30 +08:00
James Yeung
822ce2dd36 feat: add built-in themes (#1286)
* feat: add themes

* add docs theming styles

* fix the RTL for FixedWidgets

* fix aliyun theme

* fix docs style
2021-03-31 19:23:32 +08:00
James Yeung
68359f5c6f chore: sync ant-design v4.15.0 (#1281) 2021-03-31 19:23:31 +08:00
TimChen
004777367d 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>
2021-03-31 19:23:30 +08:00
James Yeung
469bbc511b chore: sync ant-design v4.14.0 (#1249) 2021-03-31 19:23:29 +08:00
James Yeung
d2e9c4b247 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
2021-03-31 19:23:26 +08:00
Zonciu Liang
d7ce701daa refactor(module: pagination): cover the apis of react (#1220) 2021-03-31 19:03:00 +08:00
LingDev
b71f655449 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>
2021-03-31 19:02:58 +08:00
James Yeung
1181673273 feat(module: table): add summary (#1218)
* feat(module: table): add summary row

* feat: add fixed summary cell
2021-03-31 19:02:57 +08:00
Andrzej Bakun
d1f1227a4f feat(module: table): add OnExpand event (#1208) 2021-03-31 19:02:55 +08:00
James Yeung
16f56f7e9d feat(module: table): add a method to get query model (#1202) 2021-03-31 19:02:52 +08:00
笨木头
93b14fe81d fix(module: dropdown): Animations for down and up are inverse (#1274)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-03-24 14:11:28 +00:00
TimChen
0966029022 fix(module: tree): expand incorrectly (#1275) 2021-03-24 13:41:27 +00:00
James Yeung
0b065dfb63 docs: add the copyright of .NET Foundation (#1272) 2021-03-23 17:38:41 +08:00
James Yeung
10b3346c4f fix(module: cascader): style and class properties (#1269) 2021-03-23 12:59:20 +08:00
笨木头
e5225afb05 fix(module: rangepicker): [selected date on end picker]、[quarter panel's ranges] are incorrect (#1260)
* fix(model: rangepicker): quarter panel's ranges are not correct

* fix(module: rangepicker): selected date on end picker is incorrect
2021-03-23 11:08:07 +08:00
Nino Padrutt
a5b612d892 fix(module: progress): add missing trailing color (#1241)
* add description to chart documentation

* translate general configuration to english.

* apply trailling color and adjust documentation a bit

* remove typo

* apply trail color for circle type aswell

* fix Chinese demo doc

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-03-12 15:47:55 +08:00
Zonciu Liang
da55e9e7e8 fix(animation): missing prefix (#1243)
* fix: add class name prefix for zoom and slide-up animations.

* fix(module: popconfirm): fix animation

* fix(module: popover): correct animation, sync de
2021-03-12 15:46:48 +08:00
笨木头
1a86a88002 fix(module: table): clicking outside couldn't close filter panel (#1232) 2021-03-10 20:03:55 +08:00
Patrick
f20d863bc3 test: Add ability to use OverlayTrigger in tests (#1227)
* Add TestDomEventService to TestBase

* chore(tests): update to net5

* feat(testdomeventservice): override eventdomservice to null

* fix(AddEventListener): make AddEventListener virtual

* feat(test): add basic overlay test

* fix(name): make name .cs
2021-03-09 13:54:30 +00:00
Andrzej Bakun
87c8db905e fix(module: upload): Disable and delete button fix (#1219) 2021-03-08 19:37:19 +08:00
James Yeung
ca4dfaaf04 fix(module: badge): color behavior (#1216)
* fix(module: badge): color behaviour

* fix sup refleshing
2021-03-07 17:54:40 +08:00
James Yeung
91206103d1 fix(module: divider): style was default to plain (#1215) 2021-03-07 12:19:57 +08:00
Andrzej Bakun
be836a2f4e fix(module: select): Compiled method .ToString() was throwing AmbigiousMethod (#1214) 2021-03-07 00:44:13 +08:00
James Yeung
853eef8244 fix(module: table): invoke OnChange twice on pagination was changed (#1211)
* fix(module: table): invoke OnChange twice on pagination was changed

* fix preview ci
2021-03-06 10:20:41 +08:00
Andrzej Bakun
00040d4904 fix(module: select): reset when changed to a not existing value (#1209)
* chore: add GitHub Actions for auto preview (#1205)

* chore: add github actions for auto preview

* fix setup job

* chore: add GitHub Actions for auto preview (#1205)

* fix(module:select): reset value when changed to non-existing

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-03-05 20:43:30 +08:00
Andrzej Bakun
a92a9e4ffc fix(module: select): press enter on form cause validation to fail (#1196)
* fix(module:select): enter behavior on form

* fix(module:select): add DisableSubmitFormOnEnter attribute

* fix(module:select): remove proposed DisableSubmitFormOnEnte
2021-03-04 23:16:24 +08:00
James Yeung
ad99e38fce fix(module: table): bring OnRowClick back (#1200) 2021-03-04 17:31:48 +08:00
James Yeung
1aadcecf35 fix(module: table): fix doesn't refresh when expand row (#1199) 2021-03-04 17:30:52 +08:00
Andrzej Bakun
e57e89bec5 fix(module: input): Loading animation toggling properly (#1195) 2021-03-04 12:50:16 +08:00
Andrzej Bakun
7bab36dea7 fix(module: select): bind value change lock, tags and labels fix, overlay reposition (#1191)
* fix(module:select) _setLabel not needed for non-tags

fix for exception when label is a property with getter only

* fix(module:select): bind-Value lock if changed outside component

* fix(module:Select): overlay reposition SelectContent resize
2021-03-02 22:01:57 +08:00
James Yeung
b65c11ae61 fix(module: table): tree data error (#1188) 2021-03-02 00:46:03 +08:00
qinhuaihe
cc4a7bbf13 feat(module: table): add on row and cell (#1175)
* fix(module:table): set selectedRows exception

* fix(module:table): set selectedRows exception

* fix(module: tree) selected highlight confusion

* Revert "fix(module: tree) selected highlight confusion"

This reverts commit 91300ac664f8dcebc20f1a96e21f8afc1fac079d.

* fix(module: tree): remove the IsFixed attribute

* feat(module: table): add table onrow method

* feat(module: table) add onrow method to table column

* feat(module: table) add onrow method to table column

* feat(module: table) add onheaderrow and onheadercell methods to table

* feat(module: table) fix doc encoding

* fix demo

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-03-01 23:47:16 +08:00
zxyao
5fe1e94f4d fix: animation classs name change of Modal, Message and Notification componments (#1186)
* fix(module: modal): sync animation class name with official

* fix(module: message): sync animation class name with official

* fix(module: notification): sync animation class name with official
2021-03-01 23:45:30 +08:00
Andrzej Bakun
6ebb1b311a fix(module: TextArea): sizing bug for components outside viewport (#1155)
* fix(module:TextArea): sizing bug for components outside viewport

* fix(module:textarea): single js method to get textarea info

* fix(module:textArea): clean up unnecessary slice

* fix(module:textarea): autosize has proper effect

* chore: adjusting the release cycle and versioning

* fix(module:textarea): resize on type fix

* fix white line

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-03-01 14:50:22 +00:00
James Yeung
a49da1ffed chore: sync ant-design v4.13.0 (#1181) 2021-02-28 22:41:28 +08:00
James Yeung
28ffc2d184 fix(module: table): show empty status when there are no data (#1180) 2021-02-28 12:51:36 +08:00
Zonciu Liang
0f6702b5ed refactor(module: select): use Func to get or set value instead of reflection (#1168)
* refactor(module: select): use Func to get or set value instead of reflection

* refactor(module: select): add delegate cache

* chore: add DelegateCacheKeyComparer

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-02-27 16:13:13 +00:00
James Yeung
4065869806 feat(module: table): add filters (#1178)
* feat: add table filter

* add filter buttons

* fix filter menu

* make filter work

* support multiple filters

* delete the old files

* support single select
2021-02-27 23:55:48 +08:00
Andrzej Bakun
04ca22eaea fix(module: select): click to select on new tag (#1162) 2021-02-24 00:01:00 +08:00
zmayor
387234e0b9 fix(module: tree): selected highlight confusion (#1161)
* fix(module:table): set selectedRows exception

* fix(module:table): set selectedRows exception

* fix(module: tree) selected highlight confusion

* Revert "fix(module: tree) selected highlight confusion"

This reverts commit 91300ac664f8dcebc20f1a96e21f8afc1fac079d.

* fix(module: tree): remove the IsFixed attribute

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-02-23 07:15:50 +00:00
Andrzej Bakun
1082a29941 fix(module: grid): gutter (#1158)
* fix(module:row): grid gutter switch to row-gap

* docs(module:grid): gutter docs in sync with react antDesign

* add DefaultBreakpoint

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-02-23 05:38:05 +00:00
Sardine Tuna
3209c088a6 fix(module: list): unintended output from SetGutterStyle (#1159)
Removed an unintended console writeline that is causing flooded output
2021-02-23 12:57:37 +08:00
Andrzej Bakun
9dc73fbd9a fix(module: inputpassword): focus style (#1146)
* fix(module:inputpassword): focus fix

* fix(module:search): focus fix

* fix(module:input): (and descendants) focuse fix
2021-02-22 14:26:17 +08:00
Andrzej Bakun
1ca564ae95 fix(module: cascader): OnChange called twice (#1151) 2021-02-22 04:58:42 +00:00
James Yeung
0c13eb7198 docs(module: table): add editable cell/row demo (#1152)
* feat(module: table): add editable cell demo

* add editable row de
2021-02-22 11:29:56 +08:00
Andrzej Bakun
609502bc61 fix(module: date-picker): date typing, enter behavior, overlay toggle (#1145)
* fix(module:datepicker):date typing, enter behavior, overlay toggle, key navigation

* fix(module:datetime): picker value set to previous on key actions
2021-02-20 17:54:12 +08:00
zmayor
b8522e27de fix(module: table): set selectedRows exception (#1148)
* fix(module:table): set selectedRows exception

* fix(module:table): set selectedRows exception
2021-02-20 17:50:27 +08:00
笨木头
febccb3a05 fix(module: menu): Nav Menu Collapse Unresponsive (#1144) 2021-02-19 11:35:06 +08:00
James Yeung
597133363a fix(module: table): support more generic units for scroll x/y (#1137) 2021-02-14 20:15:53 +08:00
Andrzej Bakun
d98c851c70 fix(module: select): new tag item label and value fix (#1121)
* fix(module:select): new tag item label and value fix

* fix: interop firefox "Permission Denied" fix

* fix(module:select): prefixIcon styling and positioning
2021-02-14 17:42:44 +08:00
Andrzej Bakun
954461119e fix(module: menu): active parent menu for routed links (#1134) 2021-02-14 17:26:54 +08:00
笨木头
314b07daf9 feat(model: overlay): add boundary detection adjustment (#1109)
* feat(model: overlay): add boundary detection and orientation adjustment

* feat: suport inview and inscroll mode
2021-02-09 10:01:42 +08:00
Andrzej Bakun
b0c9509264 fix(module: select): property rename to follow docs (#1115)
* fix(module:select): property rename to follow docs

comma in decimal causing wrong css value for select box width

comment translation

* fix(module:select): delayed DefaultActiveFirstOption fix

change of values fix
2021-02-09 00:31:44 +08:00
笨木头
63e20bf6b8 feat(module: cascader): switch menu implement to overlay (#1112)
* feat: Add a pull-down effect to Cascader (integrated Overlay components)

* switch trigger to unbound div

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-02-07 18:13:27 +08:00
James Yeung
93310a1d14 docs: fix anchor and improvement (#1107)
* docs: fix anchor and improvement

* fix docsearch

* fix docsearch action
2021-02-06 19:27:48 +08:00
James Yeung
af300c6ecc fix(module: table): missing value for the sort property of SortModel (#1105) 2021-02-06 00:55:46 +08:00
Andrzej Bakun
9d6f2a7dac fix(module: date-picker): set default value on clear for not nullable datetime type (#1100) 2021-02-05 22:18:40 +08:00
Andrzej Bakun
dcbaecc919 fix(module: date-picker): incorrect date format strings (#1097)
* fix(module:datepicker): incorrect date format strings fix

culture set takes effect
fallback to default local when locale json does not exist

* fix(module:datepicker): do not replace Locale if is set in attribute
2021-02-05 16:50:12 +08:00
Luke Parker
11fcd44993 fix(module: input): pressing enter would not update the value (#1094)
Co-authored-by: Luke Parker <10430890+TheRealHona@users.noreply.github.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-02-05 15:05:24 +08:00
Andrzej Bakun
0a4364c869 fix(module: date-picker): weekday header fix (#1054)
* fix(module:datepicker): weekday header fix

* fix(module:rangepicker): reverse to only fix #1045
2021-02-05 14:32:25 +08:00
Andrzej Bakun
a592fa4dd0 fix(module: range-picker): placeholder and value equals null (#1088)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-02-05 10:27:32 +08:00
Andrzej Bakun
ea061850ec fix(module: select): multiple fixes and optimizations (#1087)
* fix(module:select): multiple select & tags & tokenization fix

performance optimizations
add PrefixIcon
keep focus on selected item

* fix(module:select): on clear button make first active

* docs(module:select): reflect changes
2021-02-04 23:40:47 +08:00
James Yeung
e6076271c0 feat(module: menu): add menu item tooltip and submenu trigger type (#1082)
* feat(module: menu): add menuitem tooltip and submenu trigger type

* add the doc
2021-02-04 16:21:56 +08:00
James Yeung
436917ff9b feat(module: menu): add inline indent parameter (#1076) 2021-02-03 23:32:17 +08:00
James Yeung
d5869acb7f fix(module: steps): wrong progress style (#1072) 2021-02-03 18:37:13 +08:00
James Yeung
c02dbe02ee chore: sync ant-design v4.12.0 (#1067) 2021-02-03 15:47:48 +08:00
TsTeaTime
b950fba58d fix(module: steps): navigation was blocked (#1071)
* Update Step.razor.cs

I believe that we should be invoking a State Change here. Currently the navigation is not working otherwise.

* Update Step.razor.cs

Resolved error from Disposal
2021-02-03 15:33:32 +08:00
James Yeung
5b14e8e975 fix(menu): collapsed follow sider (#1069)
* fix(menu): collapsed follow sider

* clean the code

* fix DefaultOpenKeys

* refactor the updae mode method
2021-02-03 14:38:59 +08:00
James Yeung
82031e0a66 fix(module: table): fix the scroll position calc method (#1063) 2021-02-01 23:42:54 +08:00
Kane
a84382f64b fix(module: table): sorter was blocked (#1061) 2021-02-01 23:17:54 +08:00
Zonciu Liang
ea412b24ec feat(core): access object's property by path-based string (#1056)
* fix: DataIndex access maybe null object

* feat: access object's property by path-based string

* doc: update Table DataIndex demo

* doc: correct Table/demo/custom-row-style.md file encoding

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-31 01:25:25 +08:00
James Yeung
2b82f3bdbd fix(module: image): disables previewing error images and hides buttons when there is only one image (#1060) 2021-01-30 23:39:40 +08:00
James Yeung
def6eca435 feat(module: image): add preview group (#1059) 2021-01-30 22:39:56 +08:00
James Yeung
50cb65956a fix(module: table): mistaken sortable (#1058) 2021-01-30 22:21:26 +08:00
Andrzej Bakun
536bb9a586 fix(module: input): missing disabled attribute (#1048) 2021-01-27 13:42:04 +08:00
zxyao
234dcc93e7 feat(module: image): add animation for image preview (#1042)
* feat(module image): add animation for image preview

* feat(module image): add mask closeable

* fix(module dialog): cannot close dialog by clicking mask

if content is clicked, mask click cannot close dialog
2021-01-27 13:23:15 +08:00
Andrzej Bakun
e7b01d509c fix(module: table): table exception on refresh (#1040)
* fix(module:overlay): remove obsolete js call

check for Ref.Id before any js operation on it

* fix(module:table): js interop exceptions on dispose

* docs(module:slider): typo fix

* docs(module:spider): typ
2021-01-25 12:53:19 +08:00
James Yeung
d65ffabdc7 chore: sync ant-design v4.11.1 (#1039) 2021-01-25 08:31:53 +08:00
James Yeung
c9656ca227 feat(module: image): add image component (#1038)
* feat(module: image): add image

* add image preview

* add locale
2021-01-25 02:05:18 +08:00
Andrzej Bakun
142e2f3b79 fix(module: form): validation would be reset when model changes (#1035)
* fix(module:form): form.reset() will make new editContext

fixes 947

* fix(module:form): validation is reset when model changes

fixes 851
fixes 982
fixes 991

* feat(module:form): validation reset method
2021-01-24 22:52:19 +08:00
James Yeung
4e8e8fc33e fix(module: tabs): ink delay change (#1037) 2021-01-24 22:18:09 +08:00
matt
e40f93127d feat(module: table): add RowClassName (#1031)
* feat(module: table): add row styling

* docs: add RowClassName to docs

* docs: add custom row style subtext

* feat(module: table): add ExpandedRowClassName

* remove RowClassName for expand row

* add chinese doc

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-24 13:56:27 +08:00
cqgis
080d4dda43 feat(module: table): add sort directions and default sort order (#778)
* feat: table  column sort add sortway support singleness or mutiple

* fix: error method name

* add sort directions

* delete useless property

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-24 13:52:57 +08:00
James Yeung
f4b8e51e1e feat(module: card): add a separate action component and demos for click event (#1030) 2021-01-23 01:18:05 +08:00
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
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
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
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
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
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
dblleaf
17989ff980 fix: overlay can be aligned to right when trigger is not button. (#925) 2020-12-25 13:32:54 +08:00
Bintel
bb700cd7cc feat(module: menu): expose SubMenu's Placement (#921)
* Expose SubMenu's Placement

The Placement of SubMenu can now be changed and it will be set to BottomLeft or RightTop as before if you don't set it.

* Try fix #922

I'm not sure if it will bring new problems, but it solved my problem. I hope someone can help me review it to make sure it doesn't break other things.

* Just optimize code style
2020-12-25 13:28:17 +08:00
TimChen
75d0d4c569 feat(module: form): add ValidateOnChange parameter (#920)
* feat: autoValidate

* refactor

* fix comments

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-12-25 12:51:55 +08:00
zxyao
51ebd03624 fix(module: modal): using ConfimRef to close Confirm dialog but not reset body's scroll bar (#883) (#884) 2020-12-24 14:00:06 +08:00
chaldea
ab214a6325 fix(module: list): the width is overwritten by flex style after setting grid column (#913) 2020-12-24 11:02:22 +08:00
Andrzej Bakun
94a06a8256 fix(module: overlay): overlay will reposition on window resize (#897)
fixes #895
2020-12-24 10:55:08 +08:00
fan0217
b8a6062f6f fix(module: table): add header style and fix the table size (#909)
* rename to header style

* fix selection and action

* delete  useless style

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-12-23 00:47:35 +08:00
Yuanxw
85256eb57c fix(module: descriptions): colspan calculates error (#911) 2020-12-22 10:24:09 +08:00
Andrzej Bakun
5afafa35c3 fix(module: slider): drag, select, focus and rapid reposition fix (#903)
* fix(module:slider): drag lag and reposition fix

remove unnecessary check from OnMouseMove
change position calculation - remove handle size

* fix(module:slider): text select issue while slider drag fix

* fix: remove the style

* clean value

* fix(module:slider): text select while slider drag fix

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-12-21 17:31:59 +08:00
Maksim
dd17701ca2 fix(module: grid): actualBreakpoint NRE in Row (#908) 2020-12-21 16:30:59 +08:00
Luke Parker
bfb92f9664 feat(module: input): implement optional key debouncing (#899)
* Implement optional key debouncing

* Fixes & refactor

* Force update value on blur

* Only change value on blur if debounce is disabled

* fix: default to enable debounce and change value on blur directly

Co-authored-by: Luke Parker <10430890+TheRealHona@users.noreply.github.com>
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-12-21 14:12:48 +08:00
张鹏
47961f6c54 fix(module: upload): change to use responseCode not a "error" string when upload failed. (#905) 2020-12-20 13:42:20 +08:00
James Yeung
a04231277a docs: make the site menu responsive (#901) 2020-12-18 16:00:51 +08:00
James Yeung
c4490d4876 fix(module: tabs): style change dynamically (#900) 2020-12-18 15:59:25 +08:00
James Yeung
ca3e80d35e fix(module: statistic): remove the redundant 0 (#896) 2020-12-16 17:42:33 +08:00