Skip to content
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
d6205b7
doc: 更新参数表格
ArgoZhang Jan 18, 2026
aa97c6b
Please provide the file changes to generate a commit message.
j4587698 Jan 19, 2026
a8add04
Merge branch 'main' into doc-comment
ArgoZhang Jan 19, 2026
50376ff
Revert "Please provide the file changes to generate a commit message."
ArgoZhang Jan 19, 2026
1d05aa5
Reapply "Please provide the file changes to generate a commit message."
ArgoZhang Jan 19, 2026
952c00e
refactor: 更新多语言
ArgoZhang Jan 19, 2026
e72df34
doc: 更新资源文件
ArgoZhang Jan 19, 2026
7f495ee
test: 更新单元测试
ArgoZhang Jan 19, 2026
ed2f693
test: 增加文件尾部新行
ArgoZhang Jan 20, 2026
17c4472
feat: 增加支持是否为组件参数
ArgoZhang Jan 20, 2026
dea6a7e
doc: 使用新方法自动生成参数说明
ArgoZhang Jan 20, 2026
da545f8
doc: 更新注释
ArgoZhang Jan 20, 2026
33635db
doc: 删除冗余多语言配置
ArgoZhang Jan 20, 2026
f2ee031
doc: 调整列宽
ArgoZhang Jan 20, 2026
4abbd05
refactor: 重构资源文件检查单元测试
ArgoZhang Jan 20, 2026
e38c7a7
feat: add BootstrapBlazor.Term sample page and menu integration
j4587698 Jan 20, 2026
94ec3a1
Merge branch 'main' into feat-term
ArgoZhang Jan 20, 2026
4a39883
Merge branch 'main' into feat-term
ArgoZhang Jan 23, 2026
2abc1d3
chore: 增加 term 路由配置信息
ArgoZhang Jan 23, 2026
e407a84
doc: 更新示例
ArgoZhang Jan 23, 2026
ae82cfe
doc: 更新项目依赖
ArgoZhang Jan 23, 2026
f631455
wip: 临时提交
ArgoZhang Jan 23, 2026
01a7ba2
Merge branch 'main' into feat-term
ArgoZhang Jan 23, 2026
49f5bde
doc: 更新示例文档
ArgoZhang Jan 23, 2026
573e100
chore: 增加依赖
ArgoZhang Jan 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<TableColumns>
<TableColumn @bind-Field="@context.Name" />
<TableColumn @bind-Field="@context.Description" TextWrap="true" />
<TableColumn @bind-Field="@context.Type" />
<TableColumn @bind-Field="@context.Type" TextWrap="true" Width="180"></TableColumn>
<TableColumn @bind-Field="@context.Version" />
</TableColumns>
<TableFooter>
Expand Down
72 changes: 0 additions & 72 deletions src/BootstrapBlazor.Server/Components/Samples/Alerts.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,76 +116,4 @@ private static EventItem[] GetEvents() =>
Type = "EventCallback<MouseEventArgs>"
}
];

/// <summary>
/// 获得属性方法
/// </summary>
/// <returns></returns>
private static AttributeItem[] GetAttributes() =>
[
new()
{
Name = "ChildContent",
Description = "Content",
Type = "RenderFragment",
ValueList = " — ",
DefaultValue = " — "
},
new()
{
Name = "Class",
Description = "Style",
Type = "string",
ValueList = " — ",
DefaultValue = " — "
},
new()
{
Name = "Color",
Description = "Color",
Type = "Color",
ValueList = "Primary / Secondary / Success / Danger / Warning / Info / Dark",
DefaultValue = "Primary"
},
new()
{
Name = "Icon",
Description = "Icon",
Type = "string",
ValueList = " — ",
DefaultValue = " — "
},
new()
{
Name = "ShowDismiss",
Description = "Close Button",
Type = "bool",
ValueList = " — ",
DefaultValue = "false"
},
new()
{
Name = "ShowBar",
Description = "Show the left Bar",
Type = "bool",
ValueList = "true|false",
DefaultValue = "false"
},
new()
{
Name = "ShowBorder",
Description = "Show border",
Type = "bool",
ValueList = "true|false",
DefaultValue = "false"
},
new()
{
Name = "ShowShadow",
Description = "Show Shadow",
Type = "bool",
ValueList = "true|false",
DefaultValue = "false"
}
];
}
36 changes: 0 additions & 36 deletions src/BootstrapBlazor.Server/Components/Samples/AnchorLinks.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,40 +13,4 @@ public partial class AnchorLinks
[Inject]
[NotNull]
private IStringLocalizer<AnchorLinks>? Localizer { get; set; }

private AttributeItem[] GetAttributes() =>
[
new()
{
Name = nameof(AnchorLink.Id),
Description = Localizer[$"Attr{nameof(AnchorLink.Id)}"],
Type = "string",
ValueList = " — ",
DefaultValue = " — "
},
new()
{
Name = nameof(AnchorLink.Icon),
Description = Localizer[$"Attr{nameof(AnchorLink.Icon)}"],
Type = "string",
ValueList = " — ",
DefaultValue = "fa-solid fa-link"
},
new()
{
Name = nameof(AnchorLink.Text),
Description = Localizer[$"Attr{nameof(AnchorLink.Text)}"],
Type = "string",
ValueList = " — ",
DefaultValue = " — "
},
new()
{
Name = nameof(AnchorLink.TooltipText),
Description = Localizer[$"Attr{nameof(AnchorLink.TooltipText)}"],
Type = "string",
ValueList = " — ",
DefaultValue = " — "
}
];
}
48 changes: 0 additions & 48 deletions src/BootstrapBlazor.Server/Components/Samples/Anchors.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,52 +13,4 @@ public partial class Anchors
[Inject]
[NotNull]
private IStringLocalizer<Anchors>? Localizer { get; set; }

/// <summary>
/// 获得属性方法
/// </summary>
/// <returns></returns>
private AttributeItem[] GetAttributes() =>
[
new()
{
Name = "Target",
Description = Localizer["DescTarget"],
Type = "string",
ValueList = " — ",
DefaultValue = " — "
},
new()
{
Name = "Container",
Description = Localizer["DescContainer"],
Type = "string",
ValueList = " — ",
DefaultValue = " — "
},
new()
{
Name = "IsAnimation",
Description = Localizer["DescIsAnimation"],
Type = "boolean",
ValueList = "true|false",
DefaultValue = "true"
},
new()
{
Name = "Offset",
Description = Localizer["DescOffset"],
Type = "int",
ValueList = " — ",
DefaultValue = "0"
},
new()
{
Name = "ChildContent",
Description = Localizer["DescChildContent"],
Type = "RenderFragment",
ValueList = " — ",
DefaultValue = " — "
}
];
}
128 changes: 0 additions & 128 deletions src/BootstrapBlazor.Server/Components/Samples/AutoCompletes.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,132 +48,4 @@ private Task GroupOnSelectedItemChanged(string val)
GroupLogger.Log($"Value: {val}");
return Task.CompletedTask;
}

/// <summary>
/// 获得属性方法
/// </summary>
/// <returns></returns>
private AttributeItem[] GetAttributes() =>
[
new()
{
Name = "ShowLabel",
Description = Localizer["Att1"],
Type = "bool",
ValueList = "true|false",
DefaultValue = "true"
},
new()
{
Name = "ChildContent",
Description = Localizer["Att2"],
Type = "RenderFragment",
ValueList = " — ",
DefaultValue = " — "
},
new()
{
Name = "ItemTemplate",
Description = Localizer["AttItemTemplate"],
Type = "RenderFragment<string>",
ValueList = " — ",
DefaultValue = " — "
},
new()
{
Name = "Items",
Description = Localizer["Att3"],
Type = "IEnumerable<string>",
ValueList = " — ",
DefaultValue = " — "
},
new()
{
Name = "NoDataTip",
Description = Localizer["Att4"],
Type = "string",
ValueList = " — ",
DefaultValue = Localizer["Att4DefaultValue"]!
},
new()
{
Name = "DisplayCount",
Description = Localizer["Att5"],
Type = "int?",
ValueList = " — ",
DefaultValue = " — "
},
new()
{
Name = "ValueChanged",
Description = Localizer["Att6"],
Type = "Action<string>",
ValueList = " — ",
DefaultValue = " — "
},
new()
{
Name = "IsLikeMatch",
Description = Localizer["Att7"],
Type = "bool",
ValueList = "true|false",
DefaultValue = "false"
},
new()
{
Name = "IgnoreCase",
Description = Localizer["Att8"],
Type = "bool",
ValueList = "true|false",
DefaultValue = "true"
},
new()
{
Name = "OnCustomFilter",
Description = Localizer["Att9"],
Type = "Func<string, Task<IEnumerable<string>>>",
ValueList = " — ",
DefaultValue = " — "
},
new()
{
Name = "Debounce",
Description = Localizer["Debounce"],
Type = "int",
ValueList = " — ",
DefaultValue = "0"
},
new()
{
Name = nameof(AutoComplete.SkipEnter),
Description = Localizer[nameof(AutoComplete.SkipEnter)],
Type = "bool",
ValueList = "true/false",
DefaultValue = "false"
},
new()
{
Name = nameof(AutoComplete.SkipEsc),
Description = Localizer[nameof(AutoComplete.SkipEsc)],
Type = "bool",
ValueList = "true/false",
DefaultValue = "false"
},
new()
{
Name = nameof(AutoComplete.OnValueChanged),
Description = Localizer[nameof(AutoComplete.OnValueChanged)],
Type = "Func<string, Task>",
ValueList = " — ",
DefaultValue = " — "
},
new()
{
Name = nameof(AutoComplete.OnSelectedItemChanged),
Description = Localizer[nameof(AutoComplete.OnSelectedItemChanged)],
Type = "Func<string, Task>",
ValueList = " — ",
DefaultValue = " — "
}
];
}
Loading