Commit Graph

1539 Commits

Author SHA1 Message Date
James Yeung
61ff399bfc
fix(module: table): avoid circular reference in caching (#4048)
* fix(module: table): avoid circular reference in caching

* reset
2024-07-31 23:46:09 +08:00
James Yeung
a92e10cb39
refactor(module: select): friendly error message for CustomTagLabelToValue (#4049) 2024-07-31 23:15:36 +08:00
James Yeung
b18c72308a
feat(module: cascader): add placement parameter (#4046)
* feat(module: cascader): add placement parameter

* update doc
2024-07-31 22:21:40 +08:00
James Yeung
53970f46b5
faat(module: watermark): support conent updating (#4043) 2024-07-30 23:12:42 +08:00
James Yeung
1cc44da3fb
fix(module: modal): merge conflict (#4042) 2024-07-30 12:30:24 +08:00
James Yeung
db24d3ecaa
feat(module: modal): support for ForceRender (#4041) 2024-07-30 08:44:20 +08:00
James Yeung
d51ebf29ea merge master to feature 2024-07-30 01:17:20 +08:00
James Yeung
3d908de327
feat(module: modal): support selection when disable mask & vertical resiable (#4040) 2024-07-29 23:56:47 +08:00
James Yeung
b86403b384
fix(module: modal): fix navigating exception (#4039)
* Revert "fix(module: modal): stete updating (#4022)"

This reverts commit 8e119a9bf5.

Revert "fix(module: modal): throwing exceprion when navigation after open (#4015)"

This reverts commit 49cadeebca.

* fix navigating excepition

* fix some issue again

* fix confirm

* makes deleting the dom safer

* fix test

* fix test

* fix lint
2024-07-29 23:13:49 +08:00
James Yeung
d15ea3c6fe
feat(module: table): support between compare for built-in filter of date types (#4036) 2024-07-28 01:02:25 +08:00
James Yeung
c6986164ba
feat(module: table): add built-in filter support for DateOnly & TimeOnly fields. (#4034)
* feat(module: table): add built-in filter support for DateOnly/TimeOnly fields.

* fix build
2024-07-28 00:14:10 +08:00
James Yeung
a16c1a4a0d fix merge conflict 2024-07-27 23:17:31 +08:00
James Yeung
2e642f10af
feat(module: DatePicker): enhance value format (#4029)
* feat(module: DatePicker): enhance value format

* fix time picker

* remove millisecond
2024-07-26 13:59:27 +08:00
pankey888
27359f322e
fix(module: tree-select): fix the issue of TreeSelect's bind-values(#4000) (#4012)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-07-26 07:50:23 +08:00
James Yeung
58a499f8bf
fix(module: tree-select): exception when searching with nodes have no title (#4024)
* fix(module: tree-select): exception when searching with nodes have no title

* fix focus
2024-07-26 00:01:15 +08:00
James Yeung
643ca11850
fix(module: radio): can't refresh the UI in Modal (#4023)
* fix(module: radio): can't refresh the UI in Modal

* invokeasync
2024-07-26 00:00:00 +08:00
James Yeung
8e119a9bf5
fix(module: modal): stete updating (#4022) 2024-07-25 14:02:35 +08:00
James Yeung
49cadeebca
fix(module: modal): throwing exceprion when navigation after open (#4015)
* fix(module: modal): throwing exceprion after open and navigation

* use modal service instead

* fix close

* fix loading update

* fix confirm template callback

* just close modal which was created by service during navigation

* clean
2024-07-25 08:10:46 +08:00
James Yeung
bcce6df3a8
refactor(module: select): fix IDE error (#4018) 2024-07-24 13:00:53 +08:00
James Yeung
0826e593db
fix(module: input): can't apply Class to input element (#4005)
* fix(module: input): can't apply Class to input element

* add tests

* fix test

* fix test
2024-07-23 12:36:29 +08:00
James Yeung
785214f8e6
fix(module: table): selection with radio mode can't work with tree data (#4002)
* fix(module: table): selection with radio mode can't work with tree data

* CheckStrictly always true when selection type is radio
2024-07-21 23:13:10 +08:00
moumousoup
fd33b1b3d5
feat(module: table): add group title template (#3962)
* add group title template

* use generic rowdata

* "Add documentation and demos"

* updae demo

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-07-21 01:19:16 +08:00
James Yeung
3888e49b07
fix(module: date-picker): OnChange won't be invoke after applying the presetted range (#3999)
* fix(module: date-picker): OnChange won't be invoke after click the reset range

* update datepicker btw
2024-07-21 01:15:54 +08:00
James Yeung
edffddfb8f
fix(module: table): dead loop render for tree data (#3998) 2024-07-20 18:27:40 +08:00
pankey888
c8b84d1bd3
fix(module: tree): The parent & other siblings will be checked if only the first child is in CheckedKeys/DefaultCheckedKeys. (#3985) 2024-07-16 20:02:50 +08:00
James Yeung
f6c0988ae9
fix(module: modal): broken on close which DestroyOnClose is true (#3982) 2024-07-16 06:00:40 +08:00
James Yeung
2286639039
fix(module: tabs): update the style of ink after tab title is changed (#3978)
* fix(module: tabs): update the style of ink after tab title is changed

* fix test

* fix test

* fix test

* fix test

* fix tests
2024-07-15 08:29:01 +08:00
James Yeung
2695c105a1
fix(module: menu): matched item would be unselected on first load (#3976) 2024-07-14 12:12:18 +08:00
James Yeung
8985e45ed7
fix(module: textarea): add missing borderless style (#3975) 2024-07-13 21:41:52 +08:00
James Yeung
f1228ad9fb
fix(module: modal): throwing exception when service-opened confirm was closed. (#3973) 2024-07-13 21:09:51 +08:00
James Yeung
3042a8393c
fix(module: auto-complete): open dropdown on click when options is not empty by default (#3971) 2024-07-12 20:47:30 +08:00
James Yeung
8f00d47fe5
docs: achieve a querying & editing demo for table (#3970)
* docs: add crud demo

* update demo
2024-07-11 22:31:40 +08:00
agolub-s
22a71d319e
fix(module: form): fix null reference exception (#3967)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-07-11 13:48:25 +08:00
ConanYao
af7d996633
feat(module: reuse-tabs): make a MenuService for supporting fetching title information across components (#3960)
* Separate 'ShouldMatch' method from 'MenuLink'

* make a `MenuService` for supporting fetching title information across components

* Update MenusService

* change 'MenuHelper' to static class and methods.

* Update MenuHelper

* feat(module: reuse-tabs): support for fetching tab title form menu

* clean up

* fix breadcrumb

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-07-07 12:26:22 +08:00
James Yeung
ffc161c4c1
fix(module: modal): modal can't open again after navagate to a same page (#3963) 2024-07-07 11:36:05 +08:00
Li
54da103867
feat(module: form): Add GenerateFormItem component for automatic generation basic FormItem (#3877)
* add HideColumnsByName parameter to handle GenerateColumns hide some column

* add docs

* Add GenerateFormItem component for automatic generation basic FormItem

* update doc

* update demo

* [GenerateFormItem] remove parameter RulesRequireByType, add ValidateRules

* [GenerateFormItem] delete the redundant variables.

* [GenerateFormItem] Support automatic generation of nested types.

* [GenerateFormItem] Support subfrom multi-style

* [GenerateFormItem] update demo

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-07-02 08:49:15 +08:00
pankey888
45aae2b047
feat(module: tree): Enable hover state display when CheckOnClickNode is true. (#3952) 2024-07-02 08:44:24 +08:00
James Yeung
119202a67c
fix(module: tree-select): set item itself as value (#3954) 2024-07-02 07:52:22 +08:00
pankey888
b3fa722fa7
feat(module: tree-select): Add TreeCheckStrictly and ShowCheckedStrategy to customize the checked values' outputting. (#3946)
* feat(module: tree-select): Add `TreeCheckStrictly` and `ShowCheckedStrategy` to customize the checked values' outputting.

* update demos

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-07-01 23:34:18 +08:00
pankey888
ac9c28d83a
feat(module: tree-select): Add TreeDefaultExpandParent & TreeDefaultExpandedKeys. (#3953) 2024-07-01 23:10:13 +08:00
James Yeung
45b242bd63
fix(module: checkbox): diabled style of wrapper (#3948) 2024-06-30 17:59:28 +08:00
pankey888
2c81ebefd8
fix(module: select): Fix a bug which may raise an exception 'Index was out of Range'. (#3942) (#3947) 2024-06-30 17:24:08 +08:00
James Yeung
0146b2996c
fix(module: modal): doesn't return Yes/No result when create confirm by service (#3945)
* fix(module: modal): doesn't return Yes/No result when create confirm by service

* fix comment
2024-06-30 15:29:14 +08:00
pankey888
bc159fd7c8
feat(module: tree-select): Customize the dropdown menu via DropdownRender. (#3939) 2024-06-30 09:58:55 +08:00
pankey888
18180c8676
refactor(module: tree): Refactor 'SelectAll' to select all the nodes in the tree. (#3938) 2024-06-27 22:46:55 +08:00
pankey888
9578332f3f
feat(module: tree): Support to check/uncheck all the child nodes recursively. (#3937)
* feat(module: tree): Support to check/uncheck all the child nodes recursively.

* Update tree demo & document.
2024-06-27 22:09:10 +08:00
James Yeung
cc230db8d8
fix(module: modal): set result to tcs after press esc (#3934) 2024-06-25 22:48:00 +08:00
James Yeung
de2fabfd51
fix(module: table): expression activator missing return (#3933) 2024-06-25 22:47:40 +08:00
pankey888
72476ad70e
feat(module: tree/tree-select): Add support to select/check and expand node when clicking the node's title. (#3902)
* feat(module: tree/tree-select): Add support to select/check and expand node when clicking the node's title.

* Update index.en-US.md

* Update index.zh-CN.md
2024-06-25 19:27:05 +08:00
James Yeung
700f9f694e
fix(module: table): trimming issue with ExpressionActivator (#3930) 2024-06-24 22:10:05 +08:00
James Yeung
6a58ce3d95
fix(module: auto-complete): open dropdown only when there are matched options (#3926)
* fix(module: auto-complete): open dropdown only when there are matched options

* fix docs
2024-06-23 23:20:28 +08:00
James Yeung
7539794e56
fix(module: select): throwing exception cause by browser's auto complete (#3925)
* fix(module: select): throwing exception cause by browser's  auto complete

* fix OnKeyDownAsync
2024-06-23 09:43:22 +08:00
James Yeung
2723233eb2
fix(module: date-picker): year unit was wrapping because of the format (#3919) 2024-06-21 21:59:06 +08:00
James Yeung
e552abf844
fix(module: checkbox): avoid propagation for the label (#3918) 2024-06-21 00:43:09 +08:00
James Yeung
81aecf68b3
feat(module: table): add support custom attributes for filter inupt (#3897)
* feat(module: table): add support custom attributes for filter inupt

* add input width

* update docs

* add setter
2024-06-20 23:22:33 +08:00
James Yeung
a2fa91608b
fix(module: image): ImagePreviewGroup throwing exception while there is no image. (#3917) 2024-06-20 22:29:41 +08:00
WoogaAndrew
4e76924eac
fix(module: select): Set parameters asynchronously (#3912)
This commit adds the AntInputComponentBase.OnValueChangeAsync method and updates the Select module to use OnParametersSetAsync instead of OnParametersSet with the new OnValueChangeAsync. This change ensures that exceptions thrown from user event callback handlers will be caught as they now have an ambient Task instance to report the exceptions on.
2024-06-19 23:06:12 +08:00
James Yeung
4dc471546f
fix(module: table): create TItem instance with default constructor (#3916) 2024-06-19 22:22:39 +08:00
James Yeung
be647f5b1b
fix(module: table): check all can't check the children rows with tree data (#3909)
* fix(module: table): check all can't check the children rows from tree data

* update doc

* update doc

* fix selected rows
2024-06-15 22:56:34 +08:00
James Yeung
19ac60e43f
feat(module: table): add parameter Filtered for marking filter is actived (#3911) 2024-06-15 22:55:21 +08:00
James Yeung
84ca33cac1
fix(module: select): the witdh of input string (#3910) 2024-06-13 23:17:23 +08:00
pankey888
dad6afb2d1
fix(module: tree-select): The TreeSelect with single selection raises an excecption when clicking clear icon. (#3905) (#3906) 2024-06-12 22:20:21 +08:00
James Yeung
391a8dca74
fix(module: select): flags enum splitting incorrectly (#3907) 2024-06-12 22:19:38 +08:00
James Yeung
63d184b63c
fix(module: checkbox): checked incorrectly with checkbox group (#3903) 2024-06-11 07:23:34 +08:00
pankey888
600c8595dc
feat(module: tree): Add 'Checkable' to TreeNode. (#3899)
* feat(module: tree): Add 'Checkable' to TreeNode.

* feat(module: tree): Remove the dependency of 'Uncheckable' on 'CheckStrictly'.
2024-06-09 09:03:17 +08:00
pankey888
b977e4e3ca
refactor(module: tree): Refactor tree's Selected/Checked/Expanded parameters (#3896)
* refactor(module: tree): Refactor tree's Selected/Checked/Expanded parameters.(#2112,#2577,#2754,#2848,#3238,#3641,#3730,#3845,#3881,#3890,#3891,#3892)

* Update the demo & document of tree & tree-select.

* refactor(module: tree): Remove IsSelected/IsChecked/IsExpanded.
2024-06-05 00:26:31 +08:00
iits-timon-holzhaeuser
f03452df50
fixed(module: menu): exec stateHasChanged on select/deselect (#3894)
Co-authored-by: Timon Holzhaeuser <holzhaeuser@creative-allocation.de>
2024-06-01 18:39:05 +08:00
Li
59a6614a42
feat(module: table): Add HideColumnsByName parameter to handle GenerateColumns hide some column (#3863)
* add HideColumnsByName parameter to handle GenerateColumns hide some column

* add docs

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-05-22 09:12:06 +08:00
James Yeung
72a195ab09
fix(module: table): enum field filter throwing null ref exception when the field type is nullable (#3870) 2024-05-19 16:42:23 +08:00
Jtfk
23c6160bf5
fix(module: InputNumber): Fix nullable floating types not round with "Precision" set (#3868)
* fix(module: InputNumber): Fix nullable floating types not round with "Precision" set

* test(module: InputNumber): Add test for nullable floating types with Precision
2024-05-16 19:41:55 +08:00
James Yeung
a53a8e24fc
feat(module: tree-select): add CascadingTypeParameter (#3864)
* feat(module: tree-select): add CascadingTypeParameter

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

* update enum select for flags

* fix test
2024-05-09 23:14:57 +08:00
James Yeung
379f862797
docs: form localization (#3852) 2024-05-08 22:41:45 +08:00
James Yeung
034ab8f8c0
fix(module: select): update select and checkbox enum demo (#3853) 2024-05-08 22:10:45 +08:00
James Yeung
7acf1c472d
fix(module: RangePicker): presetted ranges and two-way binding work incorrectly (#3850) 2024-05-08 08:00:33 +08:00
jeffersyuan1976
73168930c1
fix(module: upload): add ShowUploadList, showDownloadIcon, showRemoveIcon, showPreviewIcon (#3788)
* Fix ShowUploadList, showDownloadIcon, showRemoveIcon, showPreviewIcon

* Fix ShowUploadList, showDownloadIcon, showRemoveIcon, showPreviewIcon

* fix: split ShowUploadList Parameter type to ShowPreviewIcon, ShowDownloadIcon, ShowRemoveIcon

* fix: Modify test for Upload

* remove useless changes

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-05-07 12:46:34 +08:00
James Yeung
bdf2dc776b
fix(module: modal): throwing exception when JS remove element (#3847) 2024-05-07 12:31:08 +08:00
pankey888
f2c623d1c8
feat(module: select): Support using 'bind-Value' to get or set multiple enumeration values with the Flags attribute (#3843)
* feat(module: EnumSelect): Support using 'bind-Value' to get or set multiple enumeration values with the Flags attribute. (#3842)

* refactor

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-05-07 00:49:18 +08:00
pankey888
0e718c3150
feat(module: TreeSelect): Add ExpandedKeys and update document. (#3844)
* feat(module: TreeSelect): Add ExpandedKeys.

* docs: Update TreeSelect document.
2024-05-06 22:58:55 +08:00
HuaFangYun
11605334cb
fix(module: InputNumber): thousand-point pasting failure (#3841)
* Update InputNumber.razor.cs

Fixed the problem of failed copy and paste of each score of the number

* revert irrelevant changes

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-05-05 01:04:28 +08:00
pankey888
1d13568668
fix(module: tree-select): Mismatch occurs between tags and checked nodes in the TreeSelect if TreeCheckable is set (#3839)
* fix(module: tree-select): Mismatch occurs between tags and checked nodes in the TreeSelect if TreeCheckable is set. (#2757)

* remove irrelevant changes

* fix converting keys to value

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-05-05 00:43:27 +08:00
pankey888
7a57fcaaaa
fix(module: overlay): Parent overlay hides irregularly when child is open or closed. (#3838)
* fix(module: overlay): Parent overlay hides irregularly when child is open or closed. (#3836, #3837)

* clean code

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-05-05 00:12:16 +08:00
pankey888
0dfe569784
feat(module: TreeSelect): Add TitleIconTemplate. (#3834) 2024-05-04 17:46:21 +08:00
James Yeung
77cec3e2b6
feat(module: TreeSelect): supports generic value (#3831)
* feat(module: TreeSelect): supports generic value

* use keyexpression to conver get the key

* fix get tree key
2024-04-29 08:12:53 +08:00
pankey888
5ee8d16a4e
fix(module: tree-select): The tree will be collapsed after any node is selected. (#3827) 2024-04-28 08:37:02 +08:00
agolub-s
c0a207a1a1
fix(module: DatePicker): button breaks when using ShowTime and ChangeOnClose #3770 Fixed (#3830) 2024-04-27 22:10:44 +08:00
James Yeung
70f6e65b21
fix(module: reuse-tabs): shouldn't auto navigate to the first pinned tab (#3825)
* fix(module: reuse-tabs): shouldn't auto navigate to the first pinned tab

* update the doc
2024-04-26 01:37:04 +08:00
James Yeung
5c338640ba
feat(module: form): support interactive localization for DataAnnotations (#3823)
* feat(module: form): support interactive localization for DataAnnotations

* fix service register
2024-04-25 22:54:44 +08:00
James Yeung
b654223815
fix(module: form): null reference exception (#3815) 2024-04-23 23:58:34 +08:00
James Yeung
0faa05ca8d
fix(module: form): shouldn't validate until submit in non-validate-on-change (#3812)
* fix(module: form): shouldn't validate until submit in non-validate-on-change

* fix style

* fix test
2024-04-23 01:18:21 +08:00
James Yeung
ddb8e5171c
fix(module: form): the required data annotation doesn't work in dynamic model (#3811) 2024-04-23 00:39:56 +08:00
James Yeung
e644aad4bf
merge feature
merge feature to master
2024-04-22 23:14:39 +08:00
James Yeung
68e7f6a29f merge feature to master 2024-04-22 22:55:57 +08:00
James Yeung
61ed3bd293
docs: add reusetabs documation and demos (#3802)
* docs: add reusetabs demos

* add pages

* fix demo

* delete page

* add more demo

* clean

* fix encoding

* Update dynamic-title.md
2024-04-22 22:07:54 +08:00
Miguel Marques
d638c1ba57
fix(module: select): List order after datasource change (#3806)
* fix list order after datasource change

* Consider when IgnoreItemChanges is true

* test: add unit tests for this case
2024-04-19 08:23:08 +08:00
James Yeung
5b406496f6
feat(module: reuse-tabs): make the Page of ReuseTabsService public. (#3800)
* feat(module: reuse-tabs): make the Page of ReuseTabsService public.

* fix build
2024-04-15 21:32:43 +08:00
James Yeung
e3e1b51211
fix: make IsExternalInit internal for avoiding runtime conflicts between 3rd-party libs (#3799) 2024-04-15 00:53:45 +08:00
James Yeung
a16951758c
feat(module: modal): support updaet loading state of the confirm button (#3796) 2024-04-13 22:35:57 +08:00
James Yeung
11627dc47f
fix(module: form): IsModified work incorrectly when ValidateOnChange is false (#3795) 2024-04-13 22:21:52 +08:00