Commit Graph

1539 Commits

Author SHA1 Message Date
James Yeung
d565d09ca5
refactor(module: table): reduce rendering for dynamic columns (#4138)
* refactor(module: table): reduce rendering for dynamic columns

* revert
2024-08-28 09:26:44 +08:00
Weihan Li
9fa391449a
chore: Enable some code analyze rules (#4126)
* style: update editorconfig

- update editorconfig encoding to utf8
- add CA1852 and IDE0005 rules

* style: apply dotnet-format

* style: add IDE0040 rule

* style: apply dotnet-format

* refactor: sealed SimpleEmbeddedJsonLocalizerFactory

* style: add style rule for modifiers

* fix: resolve dotnet-format unmerged issue

* fix: add back translation

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-08-28 00:54:33 +08:00
James Yeung
eb5b19ac59
fix(module: form): exception during validation for some nullable types (#4137) 2024-08-28 00:14:03 +08:00
Stratos
d93817ad54
chore: reduce nuget package size by copying intellisense files before build (#4129) 2024-08-26 22:52:09 +08:00
Key Roche
4ad8e7ceab
docs: enhance documentation automation (#3013)
* Documentation automation. Build will generate documentation based on XML comments and attributes in the library. Translation will be done where necessary to generate the Chineese site.

Did some small code clean up on the way.
Removed or removed from public APIs:

AnchorLink.LinkDom
Button.RemoveAnimationAfter
Button.Icons - never used
Calendar.PrefixCls
All date pickers - method OnOkClick
Descriptions.Items
ListItem.PrefixName
AntList.PrefixName
ListItemMeta.PrefixName
Menu.Submenus
Menu.MenuItems
Transfer.ChildContent
Table.ColumnContext
Space.SetClass
Steps.Handler
Radio.OnClick

* Add Azure translation service. Requires adding your own key to a private appsettings JSON file to translate locally with it.

* Make translation services return null when unable to translate, have cache not cache it and return text asked to translate.

* Update documentation markdown file for new translation service

* Update DOCUMENTATION.md

* fix datepickerbase

* fix tree-select

* add docs for Flex and Watermark

* add zh

* add UserSecrets

* fix keywords

* fix button doc

* fix page

* fix internals visible to

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-08-25 14:37:41 +08:00
Weihan Li
61ddc2a74a
fix: remove duplicated InternalsVisibleTo (#4124) 2024-08-24 20:14:02 +08:00
Weihan Li
c6a8e839b5
build: remove source link pakcge (#4125) 2024-08-24 18:56:10 +08:00
James Yeung
f7466f2919
fix(module: drawer): closing animation effect (#4122) 2024-08-24 14:12:48 +08:00
James Yeung
b3018a3965
refactor: let the service register with WebAssembly and server using different life cycles (#4123) 2024-08-24 01:56:37 +08:00
pankey888
b390c24759
fix(module: select): An exception is raised when values change in some cases. (#4117) 2024-08-23 23:24:07 +08:00
pankey888
6d2676364b
refactor(module: menu): Hide overlay before handling OnClick event. (#4121) 2024-08-23 23:23:45 +08:00
kx500
8692221e7b
refactor(module: drawer): Change the Height and Width of the Drawer to the string type to support the percentage argument (#4120)
* #

* Drawer Width和Height 修改为string类型
2024-08-23 22:57:22 +08:00
Olegas Goncarovas
a69d169947
i18n: remove comments from locale json files (#4116)
* remove comments from lt locale json file

Fixes exception where JSON could not be deserialized

* remove comments from other locale json files
2024-08-22 20:00:41 +08:00
James Yeung
ce5e0983e5
fix(module: reusetabs): update title after menus were loaded (#4112)
* fix(module: reusetabs): update title after menus were loaded

* fix context menu click

* add comments
2024-08-22 10:46:32 +08:00
James Yeung
031bcc6f31
chore: fix duplicated xml files for package (#4110) 2024-08-21 17:02:33 +08:00
James Yeung
49afcc72d5
chore: fix nuget package duplicated file error (#4109) 2024-08-21 14:23:56 +08:00
James Yeung
58b2a5b8fd
chore: fix nuget package (#4108) 2024-08-21 09:50:13 +08:00
James Yeung
af8af28aeb
changelog 0.20.2 (#4106)
* 0.20.2

* update

* update
2024-08-21 07:02:09 +08:00
James Yeung
048b9aecd3
chore: add localized intellisense for zh-CN,ja-JP,ko-KR (#4107) 2024-08-21 00:38:10 +08:00
pankey888
a2f1ea3587
feat(module: upload): Disable the tooltip of the input component inside UpdateButton. (#4096)
* feat(module: upload): Disable the tooltip of the input component inside UpdateButton.

* fix test

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-08-20 22:27:11 +08:00
James Yeung
a81be3de54
feat(module: form): support nest property validation and add table form demo (#4102)
* fix(module: form): support table editor validation

* fix error

* fix DisplayName
2024-08-20 21:28:24 +08:00
James Yeung
e9307d4e32
fix(module: form): remove complex object validator (#4098)
* fix(module: form): locale transfer of attributes should ignore which has been set the ErrorMessageResourceName

* update demo

* replace complex object validator

* fix CompareAttribute
2024-08-18 22:59:47 +08:00
pankey888
681e625921
fix(module: tabs): The Ink is not rendered when changing active page through ActiveKey. (#4094) 2024-08-18 16:23:11 +08:00
James Yeung
0d05fe467a
fix(module: table): style would be messy when columns skipped fixed or no width was set (#4097) 2024-08-18 15:29:17 +08:00
James Yeung
ffa54d8ec2
fix(module: table): column dynamic change (#4093)
* fix(module: table): column change

* fix discover the contnet

* clear

* clean demo

* update demo
2024-08-18 14:49:01 +08:00
pankey888
c085679254
fix(module: tree): Fix the issue that node's 'CheckAllChildren' does not trigger a change in 'CheckedKeys'. (#4088) 2024-08-15 20:40:27 +08:00
James Yeung
2b609a1d35
feat(module: table): support multiple row grouping (#4089)
* support multiple grouping

* fix children

* fix rows

* fix group data cache and selection

* update demo

* update style and API
2024-08-15 20:39:06 +08:00
ysj265
4115dcec69
fix(module: table): Fix the issue of not displaying child nodes when adding them to Children (#4086)
* fix(module: table):The problem of not displaying when adding child nodes to Children

* refactor

* update children every time

* update demo

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-08-14 08:45:00 +08:00
James Yeung
e24930fc56
docs: update i18n document (#4085)
* docs: update i18n document

* update form i18n

* update i18n doc

* fix
2024-08-13 08:45:59 +08:00
James Yeung
04b4b47b94
fix(module: form): validation attributes transfer (#4084)
* fix(module: form): validation attribute transfer

* add missing required parameter to rules

* fix enum validate messages

* fix test

* fix field type

* fix test

* fix test

* fix test
2024-08-12 10:02:56 +08:00
James Yeung
5294ac5871
fix(module: form): validation exception (#4080)
* fix(module: form): validation exception

* fix test

* fix some types

* refactor built-in attributes message localize
2024-08-10 09:42:48 +08:00
James Yeung
5cb2b915b8
fix(module: select): control select visible (#4079)
* fix(module: select): control select visible

* fix auto close
2024-08-09 18:36:34 +08:00
James Yeung
cf7873a9ed
i18n: add more locales (#4078)
* i18n: add more locales

* update culture name
2024-08-09 18:36:09 +08:00
James Yeung
6124687ca2
i18n: update form locales (#4076) 2024-08-09 00:05:21 +08:00
James Yeung
cbef6000e0
fix(module: form): use FormItem label or property displayname as the label of error messages (#4074) 2024-08-08 22:27:18 +08:00
James Yeung
d1a0244b58 merge master to featue 2024-08-06 23:26:46 +08:00
James Yeung
28231fe739
fix(module: modal): maximize incorrectly after resizing (#4070) 2024-08-06 23:14:18 +08:00
三寸月光
d6d45054be
feat(module: form): Add support to set ValidationMessages. (#4014)
* fix(module: form): invoke BuildEditContext,but formitem's CurrentEditContext is not update (#4013)

* feat(module:form): Add support to update model's ValidationMessages. (#4006)

* refactor

* update demo

* update demo

* fix test

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-08-06 23:13:28 +08:00
James Yeung
80ddfe6aaa
fix(overlay): avoid interop during prerendering (#4068) 2024-08-06 10:58:00 +08:00
James Yeung
1bb97814ca
feat(module: form): using built-in i18n for validation message (#4058)
* feat(module: form): add locale for validation message

* replace the placeholder

* replace the validation message with localization

* fix test

* allow user defind attributes
2024-08-05 16:28:39 +08:00
Ashhhhhh520
437a224737
feat(module: table): add GetFilterExpression method for QueryModel (#3991)
* add extra expression<T,bool> method for FilterModel and Table's QueryModel

* rename and comments

* add comment

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-08-05 11:15:51 +08:00
James Yeung
5a6efa7250
feat(module: table): add the InvokeDataSourceHasChanged method to allow derived classes to call it for refresh the state of the table (#4067) 2024-08-04 21:59:46 +08:00
James Yeung
4c9cbc76f9
feat(module: Breadcrumb): auto match routes and generate items (#4065) 2024-08-04 01:54:41 +08:00
James Yeung
92144d0133
fix(module: table): scroll bar width adaptive (#4064) 2024-08-03 23:16:41 +08:00
James Yeung
182aaeddf7
feat(module: overlay): support @bind-Visible (#4057) 2024-08-03 16:46:01 +08:00
James Yeung
4b3faca586
feat(module: tag): Add icon theme parameter (#4063) 2024-08-03 14:39:09 +08:00
James Yeung
016842c39b
feat(module: carousel): add Dots and DotsClass parameters (#4062) 2024-08-03 01:16:12 +08:00
James Yeung
72d88bcf74
feat(module: form): support array index validation (#4053) 2024-08-01 20:16:40 +08:00
pankey888
ba605a16b8
fix(module: tree): Add support to DataItem without ChildrenExpression (#2759). (#4054) 2024-08-01 20:09:38 +08:00
pankey888
1b96b29145
fix(module:segmented): The bound value may be changed by AddItem if it is equal to default. (#4051) 2024-07-31 23:47:49 +08:00