Граф коммитов

846 Коммитов

Автор SHA1 Сообщение Дата
James Yeung 143a241fd1 style: add compact dark theme 2024-10-17 15:57:01 +08:00
Pat Hartl 2ea81fc38c
refactor(module: steps): Add steps constants (#4267)
* Add constants for various steps attributes

* Use new constants in Step component
2024-10-15 08:46:09 +08:00
James Yeung 9dbf90baf7
fix(module: reuse-tabs): page filter after getting the config from pages (#4266)
* add ignroe demo

* fix filter page
2024-10-13 20:09:40 +08:00
Weihan Li 7d1a0d3c18
chore: update .NET 9 target usage (#4262)
* refactor: update target framework net9 to net9.0

* ci: simplify dotnet 9 sdk setup
2024-10-13 00:29:29 +08:00
Pat Hartl afeeb57631
refacotr(module: space): Add space string constants (#4263)
* Add string constants for space size

* Add align constants

* Update docs
2024-10-12 15:51:15 +08:00
James Yeung d2f5a1a8c1
chore: Support .NET 9 (#4196)
* Update .NET 9.0 RC 1

* fix actions

* fix actions

* fix build

* fix actions

* discover aot for preview

* update the packages

* revert wasm site to net8

* remove .net sdk for site

* fix

* fix build

* update to rc2

* fix tfm

* wasm-tools

* remoev BlazorWasmPreRendering.Build

* update BlazorWasmPreRendering.Build

* update actions
2024-10-09 18:56:57 +08:00
agolub-s 803177f41a
fix(module: tabs): resize tabs when adding new tabPane (#4239) 2024-09-26 22:04:01 +08:00
ysj265 772cfda2ee
fix(module: table): fix AutoHeight algorithm (#4238)
* fix AutoHeight of table

* fix(module:table) Optimize tableHelper.ts code

* Update components/table/Table.razor.cs

* Update components/table/Table.razor.cs

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-09-26 13:58:30 +08:00
pankey888 5a59f87d25
feat(module: tree): Add `Selectable` & `SelectableExpression` to mark whether TreeNode can be selected or not. (#4229) 2024-09-24 12:36:17 +08:00
James Yeung e73f5d223d
docs: fix file name for prerendering html (#4223)
* docs: fix file name for prerendering html

* replace the duplicated title element

* fix path

* fix subtitle
2024-09-22 18:02:59 +08:00
rhodon-jargon 136828fdc3
feat(module: input): Allow overriding when clear button is shown (#4221)
* feat(module: input): Allow overriding when clear button is shown

* fix(module: input): Fix doc comments for ShowClear

---------

Co-authored-by: Rhodon <rhodonvantilburg@gmail.com>
2024-09-21 01:18:46 +08:00
James Yeung 5830d9a601
docs: fix component descption generate (#4219)
* docs: fix component descption generate

* fix

* fix the url rewrite of azrure static webapp

* fix build

* fix js import

* remove the doc dir from gitignore

* test doc files

* fix path

* Revert "fix js import"

This reverts commit f87f532c44.
2024-09-21 01:11:44 +08:00
James Yeung 8b6ad399c6
fix(module: popconfirm): hidding button by setting ButtonProps=null (#3895)
* docs(module: popconfirm): add button props demo

* fix build

* support hiding buttons
2024-09-20 13:06:26 +08:00
James Yeung e9b7beb2bc
Changelog 1.0.0 RC 1 (#4213)
* changelog 1.0.0 RC 1

* update

* update doc
2024-09-19 07:38:35 +08:00
James Yeung 23c15d2963
feat(module: reusetabs): Allow reusetabs to work without cascaded route data (#4205)
* feat(module: reusetabs): allows routedata to be passed without cascading

* tab activative is curretly

* fix keepalive

* render body after navigation

* rename body

* fix closing and updating

* update docs

* clean

* update docs
2024-09-19 00:45:35 +08:00
jeffersyuan1976 6fa0aeda73
feat(module: form): add tooltip (#4211)
* feat(FormItemTooltip): Add tooltips parameter to display formitem tooltips

* feat(FormItemTooltip) align to center

* Demo & Translation of Parameter added.

* fix class name and demo

---------

Co-authored-by: Jeffers <shaobo.yuan@waes.cn>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-09-19 00:18:25 +08:00
jsakamoto 6c624ec06c
docs: Enable static pre-rendering on the Docs WebAssembly app (#4207)
* Add the "BlazorWasmPreRendering.Build" package reference

* Cut out the service configuration to static method

- it is required for static pre-rendering

* Specify locale for pre-rendering to 'en-US' explicitly

- otherwise, an exception, "JsonException: '<' is an invalid start of a value" will happen.
- because there aren't "*.en.json" files, there are "*.en-US.json" files.

* Avoid doing "NavigateTo" during pre-rendering

- otherwise, the "NavigationException" will happen.

* Move caches of the DemoService to an individual singleton service.

- otherwise, a disposed HttpClient object will cause the "ObjectDisposedException" on a Blazor Server
- because a static field of a scoped service captures the HttpClient object that will disposed of after that scoped service has expired.

* Make it to be pre-rendered the zh-CN locale contents too

* Fix the invalid URL in the FAQ document

- both en-US and zh-CN.
- this caused 404 Not Found and a crash during the pre-rendering process.

* Change the pre-rendering output style to '{path}/{to}.html'.

- from the '{path}/{to}/index.html' style.

* Make the description part of the component pages be included in the static pre-rendering.

- To achieve that, load a DemoComponent object in the `OnIntializedAsync` life cycle method.
- and make sure to avoid invoking `NavigationTo` in the `OnIntializedAsync` life cycle method.
2024-09-18 00:54:16 +08:00
pankey888 dc3ed2ad27
feat(module: reusetabs): Add singleton page setting for reusing page instance. (#4151)
* feat(module: reusetabs): Add `NewPageForParams` to ReuseTabsPageAttribute.

* Update NewPageForParams's default value.

* rename the property

* add a demo

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-09-14 19:54:38 +08:00
算神 57ad7125fe
feat(module: form): GenerateFormItem support recognize ReadOnlyAttribute to set component's disabled (#4191)
* GenerateFormItem自动生成表单时,识别TModel属性中的ReadOnlyAttribute标识,并使其生效

* fix indent

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-09-14 16:09:27 +08:00
James Yeung 65ae78f904
fix(module: tabs): draggable and contextmenu incottectly (#4199)
* fix(module: tabs): draggable and context menu

* update position after exchange

* only update scroll list position when active tab is not the last one

* refactor navigate

* update doc

* fix test
2024-09-13 22:39:40 +08:00
James Yeung f0690f7d56
feat(module: button): add AutoLoading parameter (#4193) 2024-09-12 07:15:18 +08:00
James Yeung 3377ead53e
fix(module: treeselect): select content reference throwing exception (#4188) 2024-09-11 07:31:16 +08:00
James Yeung d0f46490db
docs: fix doc demo (#4184) 2024-09-10 12:30:05 +08:00
James Yeung beb9491bb1
docs: add monaco code view for demos (#3499)
* docs: add monaco code view

* fix code view render

* clean up

* fix css

* clean up

* try load wasm

* try copy dll files to output

* fix directory

* fix directory

* enable aot in preview build

* fix copy dll

* fix action

* fix

* show code before loaded
2024-09-10 01:15:18 +08:00
James Yeung ba1e5e407a
docs: fix demo name (#4174)
* docs: fix demo name

* update the radio translate

* add doc files back

* add the markdown description back
2024-09-09 00:50:28 +08:00
ysj265 eaf4130c39
feat(module: table): Add AutoHeight property to table (#4168)
* Fix the issue where the Tabs under the Card cannot remember the input status

* optimize performance

* Simplified writing style

* Revert "Simplified writing style"

This reverts commit 44ce256b0c.

* Simplified writing style

* Fix test case(Card.Render.Tests.razor)

* Add AutoHeight property to table

* docs:add api comments

* add demo

* fix algorithm for AutoHeight

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-09-08 21:55:03 +08:00
James Yeung 5598edf584
fix(module: drawer): closing effects (#4166)
* fix(module: drawer): closing effects

* fix build

* fix events

* fix test

* fix overflow hidden

* fix test
2024-09-07 18:29:28 +08:00
ysj265 94dfdfe447
fix(module: card): where the Tabs under the Card cannot remember the input status (#4164)
* Fix the issue where the Tabs under the Card cannot remember the input status

* optimize performance

* Simplified writing style

* Revert "Simplified writing style"

This reverts commit 44ce256b0c.

* Simplified writing style

* Fix test case(Card.Render.Tests.razor)
2024-09-05 12:46:55 +08:00
James Yeung 4459d3ea8c
refactor(module: tree): make some api public(#4162) 2024-09-04 06:36:12 +08:00
James Yeung 3ad90ba49e
docs: fix cascader subtitle (#4161)
* docs: fix subtitle

* fix anchor

* fix datepicker
2024-09-03 23:24:48 +08:00
James Yeung 9c8d6288eb
docs: fix demo discovery (#4159)
* docs: fix demo discovery

* fix
2024-09-03 15:12:58 +08:00
James Yeung 238b73310f
docs: fix menu generator (#4157)
* docs: fix menu generator

* fix subtitle

* ignore submenu in en
2024-09-03 13:29:19 +08:00
James Yeung fbb175f629
docs: add more api commonets (#4149)
* fix api comments

* update

* update

* update table doc

* refactor

* recognize componetns by doc files

* refactor datepicker

* update comments

* fix tests

* update

* update

* fix JSInvokable

* update

* update

* update xml
2024-09-03 00:23:44 +08:00
James Yeung dc1188dfc1
fix(module: tabs): dnd and reorder (#4147)
* fix(module: tabs): dnd and reorder

* update ink position after dnd

* fix position

* fix card tabs

* fix ink render

* fix test

* fix tests

* clean

* fix tests
2024-09-01 14:33:24 +08:00
James Yeung 946b89405b
feat(module: table): add SelectAll event callback (#4142)
* feat(module: table): add select all callback

* update demo
2024-08-29 09:48:57 +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
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
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
James Yeung 6d871fe30f
docs: add a demo for static form validation (#4105)
* docs: add a demo for static form validation

* fix build
2024-08-20 22:18:37 +08:00
阿蒙 bf9cd7cd9e
docs: Update GroupedColumn demo (#3524)
Fix error example code for incorrect examples of grouping bar charts

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-08-20 22:16:21 +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 3faebe2456
docs: fix anchors (#4100) 2024-08-19 13:58:12 +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
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
James Yeung 06f9742023
docs: Optimize document presentation performance (#4091)
* Optimize document presentation performance

* fix demo
2024-08-16 01:01:55 +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 5d153a6e05
docs: rerender demo on language changed (#4083) 2024-08-11 15:11:37 +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