├── .gitattributes ├── .github ├── FUNDING.yml ├── deploy │ ├── azure-static-webapp │ │ └── routes.json │ └── gh-pages │ │ ├── .nojekyll │ │ ├── .spa │ │ ├── 404.html │ │ └── index.html └── workflows │ ├── azure-static-web-apps-brave-coast-0edcf6600.yml │ ├── gh-pages.yml │ ├── pr-checks.yml │ └── release.yml ├── .gitignore ├── .template.config ├── dotnetcli.host.json ├── template.json └── templates │ ├── assets │ ├── .gitignore │ ├── Directory.Build.props │ ├── README.md │ └── package.json │ ├── server │ ├── AntDesign.Pro.Template.csproj │ ├── Pages │ │ ├── Welcome.razor │ │ ├── Welcome.razor.css │ │ ├── Welcome.razor.less │ │ └── _Host.cshtml │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── _Imports.razor │ ├── appsettings.Development.json │ ├── appsettings.json │ └── gulpfile.js │ ├── wasm │ ├── AntDesign.Pro.Template.csproj │ ├── Pages │ │ ├── Welcome.razor │ │ ├── Welcome.razor.css │ │ └── Welcome.razor.less │ ├── Program.cs │ ├── _Imports.razor │ └── gulpfile.js │ └── webapp │ ├── AntDesign.Pro.Template.sln │ ├── Directory.Build.props │ ├── package.json │ └── src │ ├── AntDesign.Pro.Template.Client │ ├── AntDesign.Pro.Template.Client.csproj │ ├── gulpfile.js │ └── wwwroot │ │ ├── appsettings.Development.json │ │ └── appsettings.json │ └── AntDesign.Pro.Template │ ├── AntDesign.Pro.Template.csproj │ ├── Components │ ├── App.razor │ ├── Pages │ │ └── Error.razor │ └── _Imports.razor │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── appsettings.Development.json │ ├── appsettings.json │ └── wwwroot │ └── app.css ├── AntDesign.Pro.sln ├── LICENSE ├── README.md ├── README.zh-CN.md ├── logo.png ├── package.json ├── src └── AntDesign.Pro │ ├── AntDesign.Pro.csproj │ ├── App.razor │ ├── Components │ └── GlobalHeader │ │ ├── RightContent.razor │ │ └── RightContent.razor.cs │ ├── Extensions │ └── DateTimeExtension.cs │ ├── GlobalUsings.cs │ ├── Layouts │ ├── BasicLayout.razor │ ├── BasicLayout.razor.cs │ ├── UserLayout.razor │ └── UserLayout.razor.less │ ├── Models │ ├── ActivitiesType.cs │ ├── ActivityGroup.cs │ ├── ActivityProject.cs │ ├── ActivityUser.cs │ ├── AdvancedOperation.cs │ ├── AdvancedProfileData.cs │ ├── BasicGood.cs │ ├── BasicProfileDataType.cs │ ├── BasicProgress.cs │ ├── ChartData.cs │ ├── ChartDataItem.cs │ ├── CurrentUser.cs │ ├── FormModel.cs │ ├── ListFormModel.cs │ ├── ListItemDataType.cs │ ├── LoginParamsType.cs │ ├── NoticeItem.cs │ ├── NoticeType.cs │ ├── OfflineChartDataItem.cs │ ├── OfflineDataItem.cs │ ├── RadarDataItem.cs │ └── SearchDataItem.cs │ ├── Pages │ ├── Account │ │ ├── Center │ │ │ ├── Components │ │ │ │ ├── Applications │ │ │ │ │ ├── Applications.razor │ │ │ │ │ ├── Applications.razor.cs │ │ │ │ │ └── Applications.razor.less │ │ │ │ ├── ArticleListContent │ │ │ │ │ ├── ArticleListContent.razor │ │ │ │ │ └── ArticleListContent.razor.less │ │ │ │ ├── Articles │ │ │ │ │ ├── Articles.razor │ │ │ │ │ ├── Articles.razor.cs │ │ │ │ │ └── Articles.razor.less │ │ │ │ ├── AvatarList │ │ │ │ │ ├── AvatarList.razor │ │ │ │ │ ├── AvatarList.razor.cs │ │ │ │ │ ├── AvatarList.razor.less │ │ │ │ │ ├── AvatarListItem.razor │ │ │ │ │ └── AvatarListItem.razor.cs │ │ │ │ └── Projects │ │ │ │ │ ├── Projects.razor │ │ │ │ │ ├── Projects.razor.cs │ │ │ │ │ └── Projects.razor.less │ │ │ ├── Index.razor │ │ │ ├── Index.razor.cs │ │ │ └── Index.razor.less │ │ └── Settings │ │ │ ├── Components │ │ │ ├── BaseView.razor │ │ │ ├── BaseView.razor.cs │ │ │ ├── BaseView.razor.less │ │ │ ├── BindingView.razor │ │ │ ├── BindingView.razor.cs │ │ │ ├── GeographicView.razor │ │ │ ├── GeographicView.razor.less │ │ │ ├── NotificationView.razor │ │ │ ├── NotificationView.razor.cs │ │ │ ├── PhoneView.razor │ │ │ ├── PhoneView.razor.less │ │ │ ├── SecurityView.razor │ │ │ └── SecurityView.razor.cs │ │ │ ├── Index.razor │ │ │ ├── Index.razor.cs │ │ │ └── Index.razor.less │ ├── Dashboard │ │ ├── Analysis │ │ │ ├── Components │ │ │ │ ├── Charts │ │ │ │ │ ├── Bar │ │ │ │ │ │ └── Bar.razor │ │ │ │ │ ├── ChartCard │ │ │ │ │ │ ├── ChartCard.razor │ │ │ │ │ │ ├── ChartCard.razor.cs │ │ │ │ │ │ └── ChartCard.razor.less │ │ │ │ │ ├── Field │ │ │ │ │ │ ├── Field.razor │ │ │ │ │ │ ├── Field.razor.cs │ │ │ │ │ │ └── Field.razor.less │ │ │ │ │ ├── Gauge │ │ │ │ │ │ └── Gauge.razor │ │ │ │ │ ├── MiniArea │ │ │ │ │ │ ├── MiniArea.razor │ │ │ │ │ │ └── MiniArea.razor.cs │ │ │ │ │ ├── MiniBar │ │ │ │ │ │ └── MiniBar.razor │ │ │ │ │ ├── MiniProgress │ │ │ │ │ │ ├── MiniProgress.razor │ │ │ │ │ │ └── MiniProgress.razor.less │ │ │ │ │ ├── Pie │ │ │ │ │ │ ├── Pie.razor │ │ │ │ │ │ └── Pie.razor.less │ │ │ │ │ ├── TagCloud │ │ │ │ │ │ ├── TagCloud.razor │ │ │ │ │ │ └── TagCloud.razor.less │ │ │ │ │ ├── TimelineChart │ │ │ │ │ │ ├── TimelineChart.razor │ │ │ │ │ │ └── TimelineChart.razor.less │ │ │ │ │ ├── WaterWave │ │ │ │ │ │ ├── WaterWave.razor │ │ │ │ │ │ └── WaterWave.razor.less │ │ │ │ │ └── index.less │ │ │ │ ├── NumberInfo │ │ │ │ │ ├── NumberInfo.razor │ │ │ │ │ └── NumberInfo.razor.less │ │ │ │ ├── PageLoading │ │ │ │ │ └── PageLoading.razor │ │ │ │ ├── SaleItem.cs │ │ │ │ ├── SalesCard.razor │ │ │ │ ├── SalesCard.razor.cs │ │ │ │ └── Trend │ │ │ │ │ ├── Trend.razor │ │ │ │ │ ├── Trend.razor.cs │ │ │ │ │ └── Trend.razor.less │ │ │ ├── Index.razor │ │ │ └── Index.razor.less │ │ ├── Monitor │ │ │ ├── Components │ │ │ │ ├── ActiveChart │ │ │ │ │ ├── ActiveChart.razor │ │ │ │ │ └── ActiveChart.razor.less │ │ │ │ └── Charts │ │ │ │ │ ├── Gauge │ │ │ │ │ ├── Gauge.razor │ │ │ │ │ └── Gauge.razor.cs │ │ │ │ │ ├── Map │ │ │ │ │ ├── Map.razor │ │ │ │ │ └── MiniArea.razor │ │ │ │ │ ├── Pie │ │ │ │ │ ├── Pie.razor │ │ │ │ │ └── Pie.razor.cs │ │ │ │ │ ├── TagCloud │ │ │ │ │ ├── TagCloud.razor │ │ │ │ │ └── TagCloud.razor.cs │ │ │ │ │ └── WaterWave │ │ │ │ │ ├── WaterWave.razor │ │ │ │ │ └── WaterWave.razor.cs │ │ │ ├── Index.razor │ │ │ └── Index.razor.less │ │ └── Workplace │ │ │ ├── Components │ │ │ ├── EditableLinkGroup │ │ │ │ ├── EditableLinkGroup.razor │ │ │ │ ├── EditableLinkGroup.razor.cs │ │ │ │ └── EditableLinkGroup.razor.less │ │ │ └── Radar │ │ │ │ ├── AutoHeight.razor │ │ │ │ ├── Radar.razor │ │ │ │ └── Radar.razor.less │ │ │ ├── Index.razor │ │ │ ├── Index.razor.cs │ │ │ └── Index.razor.less │ ├── Exception │ │ ├── 403 │ │ │ └── 403.razor │ │ ├── 404 │ │ │ └── 404.razor │ │ └── 500 │ │ │ └── 500.razor │ ├── Form │ │ ├── AdvancedForm │ │ │ ├── AdvancedForm.razor │ │ │ ├── AdvancedForm.razor.cs │ │ │ └── AdvancedForm.razor.less │ │ ├── BasicForm │ │ │ ├── BasicForm.razor │ │ │ ├── BasicForm.razor.cs │ │ │ └── BasicForm.razor.less │ │ └── StepForm │ │ │ ├── Components │ │ │ ├── Step1 │ │ │ │ ├── Step1.razor │ │ │ │ ├── Step1.razor.cs │ │ │ │ └── Step1.razor.less │ │ │ ├── Step2 │ │ │ │ ├── Step2.razor │ │ │ │ ├── Step2.razor.cs │ │ │ │ └── Step2.razor.less │ │ │ └── Step3 │ │ │ │ ├── Step3.razor │ │ │ │ ├── Step3.razor.cs │ │ │ │ └── Step3.razor.less │ │ │ ├── StepForm.razor │ │ │ ├── StepForm.razor.cs │ │ │ └── StepForm.razor.less │ ├── List │ │ ├── BasicList │ │ │ ├── BasicList.razor │ │ │ ├── BasicList.razor.cs │ │ │ ├── BasicList.razor.less │ │ │ └── utils │ │ │ │ └── utils.less │ │ ├── CardList │ │ │ ├── CardList.razor │ │ │ ├── CardList.razor.cs │ │ │ ├── CardList.razor.less │ │ │ └── utils │ │ │ │ └── utils.less │ │ ├── Search │ │ │ ├── Applications │ │ │ │ ├── Applications.razor │ │ │ │ ├── Applications.razor.cs │ │ │ │ ├── Applications.razor.less │ │ │ │ ├── Components │ │ │ │ │ ├── StandardFormRow │ │ │ │ │ │ ├── StandardFormRow.razor │ │ │ │ │ │ ├── StandardFormRow.razor.cs │ │ │ │ │ │ └── StandardFormRow.razor.less │ │ │ │ │ └── TagSelect │ │ │ │ │ │ ├── TagSelect.razor │ │ │ │ │ │ ├── TagSelect.razor.cs │ │ │ │ │ │ ├── TagSelect.razor.less │ │ │ │ │ │ ├── TagSelectOption.razor │ │ │ │ │ │ └── TagSelectOption.razor.cs │ │ │ │ └── utils │ │ │ │ │ └── utils.less │ │ │ ├── Articles │ │ │ │ ├── Articles.razor │ │ │ │ ├── Articles.razor.cs │ │ │ │ └── Articles.razor.less │ │ │ ├── Projects │ │ │ │ ├── Projects.razor │ │ │ │ └── Projects.razor.cs │ │ │ ├── SearchList.razor │ │ │ └── SearchList.razor.cs │ │ └── TableList │ │ │ ├── TableList.razor │ │ │ └── TableList.razor.less │ ├── Profile │ │ ├── Advanced │ │ │ ├── Advanced.razor │ │ │ ├── Advanced.razor.cs │ │ │ └── Advanced.razor.less │ │ └── Basic │ │ │ ├── Basic.razor │ │ │ ├── Basic.razor.cs │ │ │ └── Basic.razor.less │ ├── Result │ │ ├── Fail │ │ │ ├── Fail.razor │ │ │ └── Fail.razor.less │ │ └── Success │ │ │ ├── Success.razor │ │ │ └── Success.razor.less │ └── User │ │ ├── Login │ │ ├── Login.razor │ │ ├── Login.razor.cs │ │ └── Login.razor.less │ │ ├── Register │ │ ├── Register.razor │ │ ├── Register.razor.cs │ │ └── Register.razor.less │ │ └── RegisterResult │ │ ├── RegisterResult.razor │ │ └── RegisterResult.razor.less │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Resources │ ├── I18n.cs │ ├── I18n.resx │ └── I18n.zh-CN.resx │ ├── Routes.razor │ ├── Services │ ├── AccountService.cs │ ├── ChartService.cs │ ├── ProfileService.cs │ ├── ProjectService.cs │ └── UserService.cs │ ├── Utils │ └── LongToDateTimeConverter.cs │ ├── _Imports.razor │ ├── gulpfile.js │ ├── styles │ └── global.less │ └── wwwroot │ ├── appsettings.json │ ├── assets │ ├── 403.svg │ └── logo.svg │ ├── data │ ├── activities.json │ ├── advanced.json │ ├── basic.json │ ├── current_user.json │ ├── fake_chart_data.json │ ├── fake_list.json │ ├── menu.json │ ├── notice.json │ └── notices.json │ ├── favicon.ico │ ├── index.html │ └── pro_icon.svg └── templates.csproj /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: ant-design-blazor # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: ['http://jamesyeung.cn/qrcode/alipay.jpg','http://jamesyeung.cn/qrcode/wepay.jpg'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /.github/deploy/azure-static-webapp/routes.json: -------------------------------------------------------------------------------- 1 | { 2 | "routes": [ 3 | { 4 | "route": "/*", 5 | "serve": "/index.html", 6 | "statusCode": 200 7 | } 8 | ] 9 | } -------------------------------------------------------------------------------- /.github/deploy/gh-pages/.nojekyll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ant-design-blazor/ant-design-pro-blazor/d6479a1076497d8c31a91b912e2a8fef1f7f0c92/.github/deploy/gh-pages/.nojekyll -------------------------------------------------------------------------------- /.github/deploy/gh-pages/.spa: -------------------------------------------------------------------------------- 1 | This file is used to enable gitee pages' spa mode. 2 | https://gitee.com/help/articles/4237 -------------------------------------------------------------------------------- /.github/deploy/gh-pages/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | dotnet new --install AntDesign.Templates::0.1.0-*
17 | dotnet new antdesign --host=server
25 | dotnet new antdesign --host=server --full
33 | 35 | Want to add more pages? Please refer to 36 | 37 | ant-design-pro-blazor project 38 | 39 | . 40 |
41 | dotnet new --install AntDesign.Templates::0.1.0-*
17 | dotnet new antdesign --host=wasm
25 | dotnet new antdesign --host=wasm --full
33 | 35 | Want to add more pages? Please refer to 36 | 37 | ant-design-pro-blazor project 38 | 39 | . 40 |
41 |
12 | Request ID: @RequestId
13 |
18 | Swapping to Development environment will display more detailed information about the error that occurred. 19 |
20 |21 | The Development environment shouldn't be enabled for deployed applications. 22 | It can result in displaying sensitive information from exceptions to end users. 23 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 24 | and restarting the app. 25 |
26 | 27 | @code{ 28 | [CascadingParameter] 29 | private HttpContext? HttpContext { get; set; } 30 | 31 | private string? RequestId { get; set; } 32 | private bool ShowRequestId => !string.IsNullOrEmpty(RequestId); 33 | 34 | protected override void OnInitialized() => 35 | RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier; 36 | } 37 | -------------------------------------------------------------------------------- /.template.config/templates/webapp/src/AntDesign.Pro.Template/Components/_Imports.razor: -------------------------------------------------------------------------------- 1 | @using System.Net.Http 2 | @using System.Net.Http.Json 3 | @using Microsoft.AspNetCore.Components.Forms 4 | @using Microsoft.AspNetCore.Components.Routing 5 | @using Microsoft.AspNetCore.Components.Web 6 | @using static Microsoft.AspNetCore.Components.Web.RenderMode 7 | @using Microsoft.AspNetCore.Components.Web.Virtualization 8 | @using Microsoft.JSInterop 9 | @using AntDesign.Pro.Template 10 | @using AntDesign.Pro.Template.Client 11 | @using AntDesign.Pro.Template.Components 12 | -------------------------------------------------------------------------------- /.template.config/templates/webapp/src/AntDesign.Pro.Template/Program.cs: -------------------------------------------------------------------------------- 1 | using AntDesign.Pro.Template.Client.Pages; 2 | using AntDesign.Pro.Template.Components; 3 | using AntDesign.ProLayout; 4 | 5 | var builder = WebApplication.CreateBuilder(args); 6 | 7 | // Add services to the container. 8 | builder.Services.AddRazorComponents() 9 | .AddInteractiveServerComponents() 10 | .AddInteractiveWebAssemblyComponents(); 11 | 12 | builder.Services.AddHttpContextAccessor(); 13 | 14 | builder.Services.AddAntDesign(); 15 | 16 | builder.Services.AddScoped(sp => 17 | { 18 | var httpContext = sp.GetRequiredService@(ActiveData.OrderBy(x => x.Y).Last().Y + 200) Billion
14 |@(ActiveData.OrderBy(x=>x.Y).ToArray()[ActiveData.Length/2].Y) Billion
15 |11 | 12 | 13 |
14 | 15 |