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

2104 Коммитов

Автор SHA1 Сообщение Дата
James Yeung 1162213f06 merge 1.0 rc2 2024-10-10 23:28:50 +08:00
James Yeung aea640c49b
Changelog 1.0 RC2 (#4259) 2024-10-09 23:57:15 +08:00
James Yeung fad13e9511
fix(module: table): table layout default to fixed when the auto height is set (#4258) 2024-10-09 22:46:07 +08:00
James Yeung 2793e5a8ff
pref(module: tabs): make tab pane only render once (#4255)
* pref(module: tabs): render pane content only once

* fix reuse tabs content delay

* fix reusetabs reload

* fix title reload and update

* refactor
2024-10-09 18:57:31 +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
Olegas Goncarovas 2f7843cee6
fix(module: datepicker): prevent from crash when browser autoprefills date (#4251) 2024-10-08 09:46:41 +08:00
James Yeung f3d1bf844b
fix(module: form): prevent building edit context in dead loop (#4254) 2024-10-08 09:46:17 +08:00
James Yeung de0cff05d8
fix(module: tabs): fix tab scrolling size issue (#4253)
* fix(module:tabs) Fix tab size issue

* revert style

* refactor

---------

Co-authored-by: ysj265 <ysj265@163.com>
2024-10-08 00:37:20 +08:00
James Yeung d3668d9cec
fix(module: form): support field validation (#4240)
* fix(module: form): support field validation

* get _propertyReflector
2024-09-27 23:54:23 +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 be49a3b376
fix(module: TreeSelect): Fix a bug which may trigger `OnSelectedItemChanged` twice. (#4232) 2024-09-24 22:05:39 +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
James Yeung 8ef2f237a5
fix(module: tabs): getting size indefinitely when it is rendered but hidden. (#4225) 2024-09-22 07:42:20 +08:00
pankey888 b37d522bcc
fix(module: input): Remove the invalid attribute for search component. (#4224) 2024-09-21 21:16:18 +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 f0c5996cbd
fix(module: menu): tooltip doesn't work (#4222)
* fix(module: menu): tooltip invaild

* fix run error
2024-09-21 01:11:23 +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 31ea0883d9
fix(module: tabs): GoTo method would throwing null reference exception (#4217) 2024-09-20 00:43:04 +08:00
James Yeung 4d9ebaab3d
docs: add breaking changes for 1.0 RC1 (#4216) 2024-09-19 23:10:20 +08:00
James Yeung d96bc191b5
fix(module: modal): fix the locale of buttons when it's created by modal service (#4215) 2024-09-19 23:10:05 +08:00
jeffersyuan1976 64e624764e
fix(module: input): Search component disable parameter doesnot disable button (#4214)
Co-authored-by: Jeffers <shaobo.yuan@waes.cn>
2024-09-19 21:32:37 +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
ysj265 70e0c719b3
fix(module: table): resolve conflicts between AutoHeight and Resizable (#4195)
* 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

* fix(module:table) AutoHeight and Resizable conflict

* fix(module:table) Call setBodyHeight immediately

* fix(module:table) change overflow to scroll

* fix(module:table) fix algorithm for AutoHeight

* fix(module:table) AutoHeight supports specifying containers

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-09-19 00:20:32 +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
James Yeung 7393fbf4ac
refactor(module: reusetabs): inherts tabs (#4200)
* refactor(module: reusetabs): inherts tabs

* OnRemoveTab

* fix refresh

* fix ink position

* fix closing
2024-09-15 00:11:51 +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 a4130ba1bc
fix(module: tabs): should active previous tab when the actived tab was removed. (#4197) 2024-09-13 07:19:11 +08:00
James Yeung 87b90e30fe
fix(module: menu): avoid the SelectedKeys set to null when it was not bound. (#4194) 2024-09-12 22:18: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 930b8f3784
docs: fix g2plot js (#4185) 2024-09-10 15:02:54 +08:00
James Yeung d0f46490db
docs: fix doc demo (#4184) 2024-09-10 12:30:05 +08:00
James Yeung 39ba7cc945
fix(module: select): dropdown broken (#4183) 2024-09-10 11:40:25 +08:00
James Yeung f3ef72990f
fix build action (#4182)
* fix build action

* Update release-AOT.yml

* Update release-AOT.yml
2024-09-10 08:04:56 +08:00
James Yeung 854bb98759
chore: fix upload-artifact actions (#4181)
* chore: fix upload-artifact actions

* copy dll files to output
2024-09-10 07:27:53 +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 ab8135c1cf
Changelog 0.20.4 (#4179)
* Changelog 0.20.4

* update
2024-09-10 00:28:04 +08:00
James Yeung 506bcec9ff
refactor(module: date-picker): make close() public (#4178) 2024-09-09 23:59:59 +08:00
James Yeung 6b2d40caf5
fix(module: tree): recover pointer events (#4176) 2024-09-09 07:16:52 +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
James Yeung 2506bbf1cd
fix(module: tabs): add end remove (#4173) 2024-09-09 00:50:14 +08:00
James Yeung 7732465489
fix(module: select): fix reference and remove the duplicaed div (#4175) 2024-09-09 00:37:57 +08:00
James Yeung aaa1377ea6
fix(module: auto-complete): open panel immediately when options was changed (#4172) 2024-09-08 21:57:19 +08:00