-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2. NgZorro配置 Util.Ui.NgZorro.NgZorroOptions 新增属性 EnableTableRowCheckedClass ,用于勾选表格复选框时,为表格行添加 table-row-checked 样式类. 3. NgZorro配置 Util.Ui.NgZorro.NgZorroOptions 新增属性 RazorRootDirectory ,用于设置Razor文件根路径,并将默认值修改为: /ClientApp. 4. NgZorro配置 Util.Ui.NgZorro.NgZorroOptions 新增属性 GenerateHtmlVersion, 控制Razor页面生成html文件路径的方式,使用传统方式需要设置为 v1 . 5. 内置Razor生成Html控制器 Util.Ui.NgZorro.Controllers.GenerateHtmlController. 6. 修复文件监视操作类 Util.Helpers.FileWatcher 多次触发同一个监视事件的问题.
- Loading branch information
Showing
23 changed files
with
304 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
src/Util.Ui.NgZorro/Components/Descriptions/DescriptionItemTagHelper.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
src/Util.Ui.NgZorro/Components/Tables/Builders/TableHeadRowBuilder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using Util.Ui.Razor; | ||
|
||
namespace Util.Ui.NgZorro.Controllers; | ||
|
||
/// <summary> | ||
/// Razor生成Html控制器 | ||
/// </summary> | ||
[ApiController] | ||
[Route( "api/html" )] | ||
public class GenerateHtmlController : ControllerBase { | ||
/// <summary> | ||
/// 生成所有Razor页面的Html | ||
/// </summary> | ||
[HttpGet] | ||
public async Task<string> GenerateAsync() { | ||
var message = new StringBuilder(); | ||
var result = await HtmlGenerator.GenerateAsync(); | ||
message.AppendLine( "======================= 欢迎使用 Util 应用框架 - 开始生成全部Razor页面html =======================" ); | ||
message.AppendLine(); | ||
message.AppendLine(); | ||
foreach ( var path in result ) | ||
message.AppendLine( path ); | ||
message.AppendLine(); | ||
message.AppendLine(); | ||
message.Append( "======================================== html文件生成完成 ========================================" ); | ||
return message.ToString(); | ||
} | ||
} |
Oops, something went wrong.