-
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. 补齐 <util-menu> 相关标签的属性. 3. 补齐 <util-result> 相关标签的属性. 4. 补齐 <util-space> 相关标签的属性. 5. 补齐 <util-tab> 相关标签的属性. 6. 补齐 <util-tag> 相关标签的属性. 7. 修复表单组件使用 *nzSpaceItem 引用变量作用域导致的问题.
- Loading branch information
Showing
131 changed files
with
2,869 additions
and
1,144 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System.ComponentModel; | ||
|
||
namespace Util.Ui.NgZorro.Enums; | ||
|
||
/// <summary> | ||
/// 路由器链接查询参数处理方式 | ||
/// </summary> | ||
public enum QueryParamsHandling { | ||
/// <summary> | ||
/// merge, 将新参数与当前参数合并 | ||
/// </summary> | ||
[Description( "merge" )] | ||
Merge, | ||
/// <summary> | ||
/// preserve, 保留当前参数 | ||
/// </summary> | ||
[Description( "preserve" )] | ||
Preserve | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using Microsoft.AspNetCore.Razor.TagHelpers; | ||
using Util.Ui.NgZorro.Components.Base; | ||
using Util.Ui.NgZorro.Components.Buttons.Renders; | ||
using Util.Ui.Renders; | ||
|
||
namespace Util.Ui.NgZorro.Components.Buttons; | ||
|
||
/// <summary> | ||
/// 链接,生成的标签为<a></a> | ||
/// </summary> | ||
[HtmlTargetElement( "util-a" )] | ||
public class ATagHelper : ButtonTagHelperBase { | ||
/// <summary> | ||
/// 扩展属性,是否危险状态,默认值: false | ||
/// </summary> | ||
public bool Danger { get; set; } | ||
|
||
/// <inheritdoc /> | ||
protected override IRender GetRender( TagHelperContext context, TagHelperOutput output, TagHelperContent content ) { | ||
var config = new Config( context, output, content ); | ||
return new ARender( config ); | ||
} | ||
} |
Oops, something went wrong.