Browse Source

Release 0.1

pull/4/head 0.1
liangshiwei 4 years ago
parent
commit
a1f16f780d
  1. 109
      README.md
  2. 11
      common.props
  3. BIN
      img/1.png
  4. BIN
      img/2.png
  5. BIN
      img/3.png
  6. BIN
      img/left1.png
  7. BIN
      img/left2.png
  8. BIN
      img/top1.png
  9. BIN
      img/top2.png
  10. 15
      lsw.Abp.AntDesignUI.sln
  11. 2
      modules/FeatureManagement/Lsw.Abp.FeatureManagement.Blazor.AntDesignUI/Components/FeatureManagementModal.razor.cs
  12. 3
      modules/FeatureManagement/Lsw.Abp.FeatureManagement.Blazor.AntDesignUI/FodyWeavers.xml
  13. 3
      modules/FeatureManagement/Lsw.Abp.FeatureManagement.Blazor.AntDesignUI/Lsw.Abp.FeatureManagement.Blazor.AntDesignUI.csproj
  14. 3
      modules/FeatureManagement/Lsw.Abp.FeatureManagement.Blazor.Server.AntDesignUI/FodyWeavers.xml
  15. 7
      modules/FeatureManagement/Lsw.Abp.FeatureManagement.Blazor.Server.AntDesignUI/Lsw.Abp.FeatureManagement.Blazor.Server.AntDesignUI.csproj
  16. 3
      modules/FeatureManagement/Lsw.Abp.FeatureManagement.Blazor.WebAssembly.AntDesignUI/FodyWeavers.xml
  17. 3
      modules/FeatureManagement/Lsw.Abp.FeatureManagement.Blazor.WebAssembly.AntDesignUI/Lsw.Abp.FeatureManagement.Blazor.WebAssembly.AntDesignUI.csproj
  18. 3
      modules/IdentityManagement/Lsw.Abp.IdentityManagement.Blazor.AntDesignUI/FodyWeavers.xml
  19. 3
      modules/IdentityManagement/Lsw.Abp.IdentityManagement.Blazor.AntDesignUI/Lsw.Abp.IdentityManagement.Blazor.AntDesignUI.csproj
  20. 3
      modules/IdentityManagement/Lsw.Abp.IdentityManagement.Blazor.Server.AntDesignUI/FodyWeavers.xml
  21. 3
      modules/IdentityManagement/Lsw.Abp.IdentityManagement.Blazor.Server.AntDesignUI/Lsw.Abp.IdentityManagement.Blazor.Server.AntDesignUI.csproj
  22. 3
      modules/IdentityManagement/Lsw.Abp.IdentityManagement.Blazor.WebAssembly.AntDesignUI/FodyWeavers.xml
  23. 3
      modules/IdentityManagement/Lsw.Abp.IdentityManagement.Blazor.WebAssembly.AntDesignUI/Lsw.Abp.IdentityManagement.Blazor.WebAssembly.AntDesignUI.csproj
  24. 2
      modules/Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme/FodyWeavers.xml
  25. 2
      modules/Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme/Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme.csproj
  26. 2
      modules/Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme/FodyWeavers.xml
  27. 2
      modules/Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme/Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.csproj
  28. 2
      modules/Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme/Themes/AntDesignTheme/DefaultLayout.razor.cs
  29. 2
      modules/Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme/FodyWeavers.xml
  30. 1
      modules/Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme/Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme.csproj
  31. 2
      modules/PermissionManagement/Lsw.Abp.PermissionManagement.Blazor.AntDesignUI/Components/PermissionManagementModal.razor.cs
  32. 3
      modules/PermissionManagement/Lsw.Abp.PermissionManagement.Blazor.AntDesignUI/FodyWeavers.xml
  33. 3
      modules/PermissionManagement/Lsw.Abp.PermissionManagement.Blazor.AntDesignUI/Lsw.Abp.PermissionManagement.Blazor.AntDesignUI.csproj
  34. 3
      modules/PermissionManagement/Lsw.Abp.PermissionManagement.Blazor.Server.AntDesignUI/FodyWeavers.xml
  35. 3
      modules/PermissionManagement/Lsw.Abp.PermissionManagement.Blazor.Server.AntDesignUI/Lsw.Abp.PermissionManagement.Blazor.Server.AntDesignUI.csproj
  36. 3
      modules/PermissionManagement/Lsw.Abp.PermissionManagement.Blazor.WebAssembly.AntDesignUI/FodyWeavers.xml
  37. 3
      modules/PermissionManagement/Lsw.Abp.PermissionManagement.Blazor.WebAssembly.AntDesignUI/Lsw.Abp.PermissionManagement.Blazor.WebAssembly.AntDesignUI.csproj
  38. 6
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/AbpSettingManagementBlazorAntDesignModule.cs
  39. 3
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/FodyWeavers.xml
  40. 0
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/ISettingComponentContributor.cs
  41. 3
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Lsw.Abp.SettingManagement.Blazor.AntDesignUI.csproj
  42. 0
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/AntDesignThemeGroup/AntDesignThemeGroupViewComponent.razor
  43. 2
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/AntDesignThemeGroup/AntDesignThemeGroupViewComponent.razor.cs
  44. 0
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/EmailSettingGroup/EmailSettingGroupViewComponent.razor
  45. 5
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/EmailSettingGroup/EmailSettingGroupViewComponent.razor.cs
  46. 1
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/SettingManagement.razor
  47. 6
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/SettingManagement.razor.cs
  48. 0
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/SettingComponentCreationContext.cs
  49. 1
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/SettingComponentGroup.cs
  50. 3
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/SettingManagementBlazorAutoMapperProfile.cs
  51. 5
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/SettingManagementComponentOptions.cs
  52. 4
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/SettingManagementMenuContributor.cs
  53. 2
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/SettingManagementMenus.cs
  54. 8
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Settings/AntDesignSettingDefultPageContributor.cs
  55. 0
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/_Imports.razor
  56. 6
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.Server.AntDesignUI/AbpSettingManagementBlazorServerAntDesignModule.cs
  57. 3
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.Server.AntDesignUI/FodyWeavers.xml
  58. 5
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.Server.AntDesignUI/Lsw.Abp.SettingManagement.Blazor.Server.AntDesignUI.csproj
  59. 5
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI/AbpSettingManagementBlazorWebAssemblyAntDesignModule.cs
  60. 3
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI/FodyWeavers.xml
  61. 5
      modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI/Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI.csproj
  62. 3
      modules/TenantManagement/Lsw.Abp.TenantManagement.Blazor.AntDesignUI/FodyWeavers.xml
  63. 3
      modules/TenantManagement/Lsw.Abp.TenantManagement.Blazor.AntDesignUI/Lsw.Abp.TenantManagement.Blazor.AntDesignUI.csproj
  64. 3
      modules/TenantManagement/Lsw.Abp.TenantManagement.Blazor.Server.AntDesignUI/FodyWeavers.xml
  65. 3
      modules/TenantManagement/Lsw.Abp.TenantManagement.Blazor.Server.AntDesignUI/Lsw.Abp.TenantManagement.Blazor.Server.AntDesignUI.csproj
  66. 3
      modules/TenantManagement/Lsw.Abp.TenantManagement.Blazor.WebAssembly.AntDesignUI/FodyWeavers.xml
  67. 3
      modules/TenantManagement/Lsw.Abp.TenantManagement.Blazor.WebAssembly.AntDesignUI/Lsw.Abp.TenantManagement.Blazor.WebAssembly.AntDesignUI.csproj
  68. 2
      samples/BookStore/BookStore.BlazorServer/BookStore.BlazorServer.csproj
  69. 6
      samples/BookStore/BookStore.BlazorServer/BookStoreBlazorModule.cs
  70. 2
      samples/BookStore/BookStore.BlazorServer/Menus/BookStoreMenuContributor.cs
  71. 2
      samples/BookStore/src/BookStore.Blazor/BookStore.Blazor.csproj
  72. 2
      samples/BookStore/src/BookStore.Blazor/BookStoreBlazorModule.cs
  73. 5
      src/Lsw.Abp.AntDesignUI/Components/UiPageProgress.razor.cs
  74. 2
      src/Lsw.Abp.AntDesignUI/Lsw.Abp.AntDesignUI.csproj
  75. 12
      test/AntDesignUIApp/AntDesignAppBrandBrandingProvider.cs
  76. 19
      test/AntDesignUIApp/AntDesignUIApp.csproj
  77. 36
      test/AntDesignUIApp/AntDesignUIAppMenuContributor.cs
  78. 51
      test/AntDesignUIApp/AntDesignUIAppModule.cs
  79. 33
      test/AntDesignUIApp/FakeAbpApplicationConfigurationAppService.cs
  80. 13
      test/AntDesignUIApp/FakeAuthStateProvider.cs
  81. 14
      test/AntDesignUIApp/Pages/Index.razor
  82. 65
      test/AntDesignUIApp/Pages/Index.razor.cs
  83. 6
      test/AntDesignUIApp/Pages/Roles.razor
  84. 18
      test/AntDesignUIApp/Pages/Roles.razor.cs
  85. 6
      test/AntDesignUIApp/Pages/Users.razor
  86. 18
      test/AntDesignUIApp/Pages/Users.razor.cs
  87. 16
      test/AntDesignUIApp/Program.cs
  88. 30
      test/AntDesignUIApp/Properties/launchSettings.json
  89. 14
      test/AntDesignUIApp/_Imports.razor
  90. 3
      test/AntDesignUIApp/wwwroot/appsettings.json
  91. BIN
      test/AntDesignUIApp/wwwroot/favicon.ico
  92. 143
      test/AntDesignUIApp/wwwroot/global.css
  93. 13
      test/AntDesignUIApp/wwwroot/global.js
  94. BIN
      test/AntDesignUIApp/wwwroot/icon-192.png
  95. 27
      test/AntDesignUIApp/wwwroot/index.html
  96. 43
      test/AntDesignUIApp/wwwroot/logo.svg
  97. 27
      test/AntDesignUIApp/wwwroot/sample-data/weather.json

109
README.md

@ -1,7 +1,110 @@
# Lsw.Abp.AntDesignUI # Lsw.Abp.AntDesignUI
## Still in progress! **An Abp Blazor Theme based [Ant-Design-Blazor](https://github.com/ant-design-blazor/ant-design-blazor) !**
An Abp Blazor Theme based [Ant-Design-Blazor](https://github.com/ant-design-blazor/ant-design-blazor) [![NuGet](https://img.shields.io/nuget/v/Lsw.Abp.AntDesignUI.svg)](https://www.nuget.org/packages/Lsw.Abp.AntDesignUI/)
[![NuGet](https://img.shields.io/nuget/dt/Lsw.Abp.AntDesignUI.svg)](https://www.nuget.org/packages/Lsw.Abp.AntDesignUI/)
![introduce](img/introduce.gif) ## Samples
Check the [samples](/samples/BookStore/)
![1](img/1.png)
![2](img/2.png)
## Quick Start
First step, Use ABP CLI to create a new project.
`abp new BookStore -u blazor`
> See the [ABP official documentation](https://docs.abp.io) learn [ABP framework](https://github.com/abpframework/abp).
Open `BookStore.Blazor.csproj` and replace with the following:
```csharp
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<Import Project="..\..\common.props" />
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<BlazorWebAssemblyLoadAllGlobalizationData>true</BlazorWebAssemblyLoadAllGlobalizationData>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.Autofac.WebAssembly" Version="5.1.4" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Lsw.Abp.IdentityManagement.Blazor.WebAssembly.AntDesignUI" Version="0.1.0" />
<PackageReference Include="Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI" Version="0.1.0" />
<PackageReference Include="Lsw.Abp.TenantManagement.Blazor.WebAssembly.AntDesignUI" Version="0.1.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\BookStore.HttpApi.Client\BookStore.HttpApi.Client.csproj" />
</ItemGroup>
</Project>
```
Open `_Imports.razor` and add with the following:
```csharp
@using AntDesign
@using Lsw.Abp.AntDesignUI
@using Lsw.Abp.AntDesignUI.Components
@using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Layout
```
Open `BookStoreBlazorModule` make the following changes:
* Remove the `ConfigureBlazorise` method
* Fix wrong using namespace
* Update module dependencies
* For example, replace `AbpIdentityBlazorWebAssemblyModule` with `AbpIdentityBlazorWebAssemblyAntDesignModule`
Open `BookStoreMenuContributor` to update icon:
* `"fas fa-home"` to `IconType.Outline.Home`
* `"fa fa-cog"` to `IconType.Outline.Setting`
Open `Index.razor` and replace with the following:
```csharp
@page "/"
@inherits BookStoreComponentBase
<AbpPageHeader Title="Index"></AbpPageHeader>
<div class="page-content">
<div style="text-align: center">
<Alert Type="@AlertType.Success"
Message="Success"
Description=" Congratulations, BookStore is successfully running!"
ShowIcon="true"/>
<Divider/>
</div>
</div>
```
Run the `abp bundle` command in the `BookStore.Blazor` folder.
That all, enjoy your code :).
![3](img/3.png)
## Road map
Updating...

11
common.props

@ -0,0 +1,11 @@
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Version>0.1</Version>
<!--TODO <PackageIconUrl></PackageIconUrl> -->
<PackageProjectUrl>https://github.com/realLiangshiwei/Lsw.Abp.AntDesignUI</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/realLiangshiwei/Lsw.Abp.AntDesignUI</RepositoryUrl>
</PropertyGroup>
</Project>

BIN
img/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
img/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

BIN
img/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
img/left1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

BIN
img/left2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

BIN
img/top1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

BIN
img/top2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

15
lsw.Abp.AntDesignUI.sln

@ -14,10 +14,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lsw.Abp.AspnetCore.Componen
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{E36D7268-C7A6-4A7F-81DB-57070F4B049C}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{E36D7268-C7A6-4A7F-81DB-57070F4B049C}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{DA09D6FA-2DA0-4C76-AF49-BF24A015FF49}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AntDesignUIApp", "test\AntDesignUIApp\AntDesignUIApp.csproj", "{62B99860-4CED-404F-A378-37B40043F10C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BookStore", "BookStore", "{1F85F600-70F9-4286-B8BD-6A124D9DC43D}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BookStore", "BookStore", "{1F85F600-70F9-4286-B8BD-6A124D9DC43D}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BookStore.Application", "samples\BookStore\src\BookStore.Application\BookStore.Application.csproj", "{39E479A5-92DB-4F5B-918A-1920886D4D60}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BookStore.Application", "samples\BookStore\src\BookStore.Application\BookStore.Application.csproj", "{39E479A5-92DB-4F5B-918A-1920886D4D60}"
@ -74,11 +70,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lsw.Abp.TenantManagement.Bl
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SettingManagement", "SettingManagement", "{CCAB1F41-EAB4-4564-B956-C32ED0B03EC2}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SettingManagement", "SettingManagement", "{CCAB1F41-EAB4-4564-B956-C32ED0B03EC2}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volo.Abp.SettingManagement.Blazor.AntDesignUI", "modules\SettingManagement\Volo.Abp.SettingManagement.Blazor.AntDesignUI\Volo.Abp.SettingManagement.Blazor.AntDesignUI.csproj", "{2E033BD6-16C2-4F3A-ADD5-C08D6FB8482B}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lsw.Abp.SettingManagement.Blazor.AntDesignUI", "modules\SettingManagement\Lsw.Abp.SettingManagement.Blazor.AntDesignUI\Lsw.Abp.SettingManagement.Blazor.AntDesignUI.csproj", "{2E033BD6-16C2-4F3A-ADD5-C08D6FB8482B}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volo.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI", "modules\SettingManagement\Volo.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI\Volo.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI.csproj", "{3D8714C4-B78B-4B5E-8675-F6531C21AE2C}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI", "modules\SettingManagement\Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI\Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI.csproj", "{3D8714C4-B78B-4B5E-8675-F6531C21AE2C}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volo.Abp.SettingManagement.Blazor.Server.AntDesignUI", "modules\SettingManagement\Volo.Abp.SettingManagement.Blazor.Server.AntDesignUI\Volo.Abp.SettingManagement.Blazor.Server.AntDesignUI.csproj", "{F3ADEF50-755E-4FCB-9746-C946CB0306B3}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lsw.Abp.SettingManagement.Blazor.Server.AntDesignUI", "modules\SettingManagement\Lsw.Abp.SettingManagement.Blazor.Server.AntDesignUI\Lsw.Abp.SettingManagement.Blazor.Server.AntDesignUI.csproj", "{F3ADEF50-755E-4FCB-9746-C946CB0306B3}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BookStore.BlazorServer", "samples\BookStore\BookStore.BlazorServer\BookStore.BlazorServer.csproj", "{1E5B082C-96F6-44B4-856E-AC26A5395243}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BookStore.BlazorServer", "samples\BookStore\BookStore.BlazorServer\BookStore.BlazorServer.csproj", "{1E5B082C-96F6-44B4-856E-AC26A5395243}"
EndProject EndProject
@ -92,7 +88,6 @@ Global
{75753009-1BE9-4994-8D2E-890829844C46} = {0C432416-770F-4331-84E6-5835408A9BD8} {75753009-1BE9-4994-8D2E-890829844C46} = {0C432416-770F-4331-84E6-5835408A9BD8}
{7C86BBAF-609E-4651-B1AF-FBF3EA669E3A} = {0C432416-770F-4331-84E6-5835408A9BD8} {7C86BBAF-609E-4651-B1AF-FBF3EA669E3A} = {0C432416-770F-4331-84E6-5835408A9BD8}
{84F26612-0056-4CD1-849B-B0B8F046350D} = {0C432416-770F-4331-84E6-5835408A9BD8} {84F26612-0056-4CD1-849B-B0B8F046350D} = {0C432416-770F-4331-84E6-5835408A9BD8}
{62B99860-4CED-404F-A378-37B40043F10C} = {DA09D6FA-2DA0-4C76-AF49-BF24A015FF49}
{1F85F600-70F9-4286-B8BD-6A124D9DC43D} = {E36D7268-C7A6-4A7F-81DB-57070F4B049C} {1F85F600-70F9-4286-B8BD-6A124D9DC43D} = {E36D7268-C7A6-4A7F-81DB-57070F4B049C}
{39E479A5-92DB-4F5B-918A-1920886D4D60} = {1F85F600-70F9-4286-B8BD-6A124D9DC43D} {39E479A5-92DB-4F5B-918A-1920886D4D60} = {1F85F600-70F9-4286-B8BD-6A124D9DC43D}
{BBBBFA7B-B24D-4ED4-9DAE-71A60EDAA640} = {1F85F600-70F9-4286-B8BD-6A124D9DC43D} {BBBBFA7B-B24D-4ED4-9DAE-71A60EDAA640} = {1F85F600-70F9-4286-B8BD-6A124D9DC43D}
@ -143,10 +138,6 @@ Global
{84F26612-0056-4CD1-849B-B0B8F046350D}.Debug|Any CPU.Build.0 = Debug|Any CPU {84F26612-0056-4CD1-849B-B0B8F046350D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{84F26612-0056-4CD1-849B-B0B8F046350D}.Release|Any CPU.ActiveCfg = Release|Any CPU {84F26612-0056-4CD1-849B-B0B8F046350D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{84F26612-0056-4CD1-849B-B0B8F046350D}.Release|Any CPU.Build.0 = Release|Any CPU {84F26612-0056-4CD1-849B-B0B8F046350D}.Release|Any CPU.Build.0 = Release|Any CPU
{62B99860-4CED-404F-A378-37B40043F10C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{62B99860-4CED-404F-A378-37B40043F10C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{62B99860-4CED-404F-A378-37B40043F10C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{62B99860-4CED-404F-A378-37B40043F10C}.Release|Any CPU.Build.0 = Release|Any CPU
{39E479A5-92DB-4F5B-918A-1920886D4D60}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {39E479A5-92DB-4F5B-918A-1920886D4D60}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{39E479A5-92DB-4F5B-918A-1920886D4D60}.Debug|Any CPU.Build.0 = Debug|Any CPU {39E479A5-92DB-4F5B-918A-1920886D4D60}.Debug|Any CPU.Build.0 = Debug|Any CPU
{39E479A5-92DB-4F5B-918A-1920886D4D60}.Release|Any CPU.ActiveCfg = Release|Any CPU {39E479A5-92DB-4F5B-918A-1920886D4D60}.Release|Any CPU.ActiveCfg = Release|Any CPU

2
modules/FeatureManagement/Lsw.Abp.FeatureManagement.Blazor.AntDesignUI/Components/FeatureManagementModal.razor.cs

@ -77,7 +77,7 @@ public partial class FeatureManagementModal
} }
} }
_visible = true; _visible = true;
StateHasChanged(); await InvokeAsync(StateHasChanged);
} }
catch (Exception ex) catch (Exception ex)
{ {

3
modules/FeatureManagement/Lsw.Abp.FeatureManagement.Blazor.AntDesignUI/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>

3
modules/FeatureManagement/Lsw.Abp.FeatureManagement.Blazor.AntDesignUI/Lsw.Abp.FeatureManagement.Blazor.AntDesignUI.csproj

@ -1,5 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>

3
modules/FeatureManagement/Lsw.Abp.FeatureManagement.Blazor.Server.AntDesignUI/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>

7
modules/FeatureManagement/Lsw.Abp.FeatureManagement.Blazor.Server.AntDesignUI/Lsw.Abp.FeatureManagement.Blazor.Server.AntDesignUI.csproj

@ -1,9 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

3
modules/FeatureManagement/Lsw.Abp.FeatureManagement.Blazor.WebAssembly.AntDesignUI/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>

3
modules/FeatureManagement/Lsw.Abp.FeatureManagement.Blazor.WebAssembly.AntDesignUI/Lsw.Abp.FeatureManagement.Blazor.WebAssembly.AntDesignUI.csproj

@ -1,5 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>

3
modules/IdentityManagement/Lsw.Abp.IdentityManagement.Blazor.AntDesignUI/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>

3
modules/IdentityManagement/Lsw.Abp.IdentityManagement.Blazor.AntDesignUI/Lsw.Abp.IdentityManagement.Blazor.AntDesignUI.csproj

@ -1,5 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>

3
modules/IdentityManagement/Lsw.Abp.IdentityManagement.Blazor.Server.AntDesignUI/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>

3
modules/IdentityManagement/Lsw.Abp.IdentityManagement.Blazor.Server.AntDesignUI/Lsw.Abp.IdentityManagement.Blazor.Server.AntDesignUI.csproj

@ -1,5 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>

3
modules/IdentityManagement/Lsw.Abp.IdentityManagement.Blazor.WebAssembly.AntDesignUI/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>

3
modules/IdentityManagement/Lsw.Abp.IdentityManagement.Blazor.WebAssembly.AntDesignUI/Lsw.Abp.IdentityManagement.Blazor.WebAssembly.AntDesignUI.csproj

@ -1,5 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>

2
modules/Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme/FodyWeavers.xml

@ -1,3 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd"> <Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait /> <ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers> </Weavers>

2
modules/Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme/Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme.csproj

@ -1,5 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\common.props" />
<Import Project="..\..\configureawait.props" /> <Import Project="..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>

2
modules/Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme/FodyWeavers.xml

@ -1,3 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd"> <Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait /> <ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers> </Weavers>

2
modules/Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme/Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.csproj

@ -1,5 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\common.props" />
<Import Project="..\..\configureawait.props" /> <Import Project="..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>

2
modules/Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme/Themes/AntDesignTheme/DefaultLayout.razor.cs

@ -31,7 +31,7 @@ public partial class DefaultLayout
protected virtual async Task OnSettingChanged() protected virtual async Task OnSettingChanged()
{ {
await SetLayout(); await SetLayout();
StateHasChanged(); await InvokeAsync(StateHasChanged);
} }
private async Task SetLayout() private async Task SetLayout()

2
modules/Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme/FodyWeavers.xml

@ -1,3 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd"> <Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait /> <ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers> </Weavers>

1
modules/Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme/Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme.csproj

@ -1,5 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\common.props" />
<Import Project="..\..\configureawait.props" /> <Import Project="..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>

2
modules/PermissionManagement/Lsw.Abp.PermissionManagement.Blazor.AntDesignUI/Components/PermissionManagementModal.razor.cs

@ -84,7 +84,7 @@ public partial class PermissionManagementModal
_selectedTabName = GetNormalizedGroupName(_groups.First().Name); _selectedTabName = GetNormalizedGroupName(_groups.First().Name);
_visible = true; _visible = true;
StateHasChanged(); await InvokeAsync(StateHasChanged);
} }
catch (Exception ex) catch (Exception ex)
{ {

3
modules/PermissionManagement/Lsw.Abp.PermissionManagement.Blazor.AntDesignUI/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>

3
modules/PermissionManagement/Lsw.Abp.PermissionManagement.Blazor.AntDesignUI/Lsw.Abp.PermissionManagement.Blazor.AntDesignUI.csproj

@ -1,5 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>

3
modules/PermissionManagement/Lsw.Abp.PermissionManagement.Blazor.Server.AntDesignUI/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>

3
modules/PermissionManagement/Lsw.Abp.PermissionManagement.Blazor.Server.AntDesignUI/Lsw.Abp.PermissionManagement.Blazor.Server.AntDesignUI.csproj

@ -1,5 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>

3
modules/PermissionManagement/Lsw.Abp.PermissionManagement.Blazor.WebAssembly.AntDesignUI/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>

3
modules/PermissionManagement/Lsw.Abp.PermissionManagement.Blazor.WebAssembly.AntDesignUI/Lsw.Abp.PermissionManagement.Blazor.WebAssembly.AntDesignUI.csproj

@ -1,5 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>

6
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/AbpSettingManagementBlazorAntDesignModule.cs → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/AbpSettingManagementBlazorAntDesignModule.cs

@ -4,10 +4,12 @@ using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Routing;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.AutoMapper; using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity; using Volo.Abp.Modularity;
using Volo.Abp.SettingManagement.Blazor.AntDesignUI.Settings; using Lsw.Abp.SettingManagement.Blazor.AntDesignUI.Settings;
using Volo.Abp.SettingManagement;
using Volo.Abp.SettingManagement.Blazor;
using Volo.Abp.UI.Navigation; using Volo.Abp.UI.Navigation;
namespace Volo.Abp.SettingManagement.Blazor.AntDesignUI; namespace Lsw.Abp.SettingManagement.Blazor.AntDesignUI;
[DependsOn( [DependsOn(
typeof(AbpAutoMapperModule), typeof(AbpAutoMapperModule),

3
modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>

0
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/ISettingComponentContributor.cs → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/ISettingComponentContributor.cs

3
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/Volo.Abp.SettingManagement.Blazor.AntDesignUI.csproj → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Lsw.Abp.SettingManagement.Blazor.AntDesignUI.csproj

@ -1,5 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>

0
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/AntDesignThemeGroup/AntDesignThemeGroupViewComponent.razor → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/AntDesignThemeGroup/AntDesignThemeGroupViewComponent.razor

2
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/AntDesignThemeGroup/AntDesignThemeGroupViewComponent.razor.cs → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/AntDesignThemeGroup/AntDesignThemeGroupViewComponent.razor.cs

@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Options; using Microsoft.Extensions.Options;
using Volo.Abp.SettingManagement.Localization; using Volo.Abp.SettingManagement.Localization;
namespace Volo.Abp.SettingManagement.Blazor.AntDesignUI.Pages.SettingManagement.AntDesignThemeGroup; namespace Lsw.Abp.SettingManagement.Blazor.AntDesignUI.Pages.SettingManagement.AntDesignThemeGroup;
//TODO localization //TODO localization

0
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/EmailSettingGroup/EmailSettingGroupViewComponent.razor → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/EmailSettingGroup/EmailSettingGroupViewComponent.razor

5
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/EmailSettingGroup/EmailSettingGroupViewComponent.razor.cs → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/EmailSettingGroup/EmailSettingGroupViewComponent.razor.cs

@ -1,12 +1,11 @@
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Volo.Abp.AspNetCore.Components.Messages;
using Volo.Abp.AspNetCore.Components.Web.Configuration; using Volo.Abp.AspNetCore.Components.Web.Configuration;
using Volo.Abp.SettingManagement;
using Volo.Abp.SettingManagement.Localization; using Volo.Abp.SettingManagement.Localization;
namespace Volo.Abp.SettingManagement.Blazor.AntDesignUI.Pages.SettingManagement.EmailSettingGroup; namespace Lsw.Abp.SettingManagement.Blazor.AntDesignUI.Pages.SettingManagement.EmailSettingGroup;
public partial class EmailSettingGroupViewComponent public partial class EmailSettingGroupViewComponent
{ {

1
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/SettingManagement.razor → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/SettingManagement.razor

@ -2,6 +2,7 @@
@using Microsoft.AspNetCore.Authorization @using Microsoft.AspNetCore.Authorization
@using Volo.Abp.Features @using Volo.Abp.Features
@using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Layout @using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Layout
@using Volo.Abp.SettingManagement
@attribute [Authorize] @attribute [Authorize]
@attribute [RequiresFeature(SettingManagementFeatures.Enable)] @attribute [RequiresFeature(SettingManagementFeatures.Enable)]

6
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/SettingManagement.razor.cs → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Pages/SettingManagement/SettingManagement.razor.cs

@ -1,16 +1,14 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using AntDesign;
using Lsw.Abp.AntDesignUI; using Lsw.Abp.AntDesignUI;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Localization; using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Options; using Microsoft.Extensions.Options;
using Volo.Abp.SettingManagement.Blazor.AntDesignUI.Pages.SettingManagement.AntDesignThemeGroup; using Volo.Abp.SettingManagement.Blazor;
using Volo.Abp.SettingManagement.Localization; using Volo.Abp.SettingManagement.Localization;
namespace Volo.Abp.SettingManagement.Blazor.AntDesignUI.Pages.SettingManagement; namespace Lsw.Abp.SettingManagement.Blazor.AntDesignUI.Pages.SettingManagement;
public partial class SettingManagement public partial class SettingManagement
{ {

0
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/SettingComponentCreationContext.cs → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/SettingComponentCreationContext.cs

1
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/SettingComponentGroup.cs → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/SettingComponentGroup.cs

@ -3,6 +3,7 @@
using System; using System;
using JetBrains.Annotations; using JetBrains.Annotations;
// ReSharper disable once CheckNamespace
namespace Volo.Abp.SettingManagement.Blazor; namespace Volo.Abp.SettingManagement.Blazor;

3
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/SettingManagementBlazorAutoMapperProfile.cs → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/SettingManagementBlazorAutoMapperProfile.cs

@ -1,6 +1,7 @@
using AutoMapper; using AutoMapper;
using Volo.Abp.SettingManagement;
namespace Volo.Abp.SettingManagement.Blazor.AntDesignUI; namespace Lsw.Abp.SettingManagement.Blazor.AntDesignUI;
public class SettingManagementBlazorAutoMapperProfile : Profile public class SettingManagementBlazorAutoMapperProfile : Profile
{ {

5
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/SettingManagementComponentOptions.cs → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/SettingManagementComponentOptions.cs

@ -1,7 +1,6 @@
// ReSharper disable once CheckNamespace using System.Collections.Generic;
using System.Collections.Generic;
// ReSharper disable once CheckNamespace
namespace Volo.Abp.SettingManagement.Blazor; namespace Volo.Abp.SettingManagement.Blazor;
public class SettingManagementComponentOptions public class SettingManagementComponentOptions

4
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/SettingManagementMenuContributor.cs → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/SettingManagementMenuContributor.cs

@ -4,10 +4,12 @@ using AntDesign;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options; using Microsoft.Extensions.Options;
using Volo.Abp.Features; using Volo.Abp.Features;
using Volo.Abp.SettingManagement;
using Volo.Abp.SettingManagement.Blazor;
using Volo.Abp.SettingManagement.Localization; using Volo.Abp.SettingManagement.Localization;
using Volo.Abp.UI.Navigation; using Volo.Abp.UI.Navigation;
namespace Volo.Abp.SettingManagement.Blazor.AntDesignUI; namespace Lsw.Abp.SettingManagement.Blazor.AntDesignUI;
public class SettingManagementMenuContributor : IMenuContributor public class SettingManagementMenuContributor : IMenuContributor
{ {

2
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/SettingManagementMenus.cs → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/SettingManagementMenus.cs

@ -1,4 +1,4 @@
namespace Volo.Abp.SettingManagement.Blazor.AntDesignUI; namespace Lsw.Abp.SettingManagement.Blazor.AntDesignUI;
public class SettingManagementMenus public class SettingManagementMenus
{ {

8
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/Settings/AntDesignSettingDefultPageContributor.cs → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/Settings/AntDesignSettingDefultPageContributor.cs

@ -4,11 +4,13 @@ using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization; using Microsoft.Extensions.Localization;
using Volo.Abp.Features; using Volo.Abp.Features;
using Volo.Abp.MultiTenancy; using Volo.Abp.MultiTenancy;
using Volo.Abp.SettingManagement.Blazor.AntDesignUI.Pages.SettingManagement.AntDesignThemeGroup; using Lsw.Abp.SettingManagement.Blazor.AntDesignUI.Pages.SettingManagement.AntDesignThemeGroup;
using Volo.Abp.SettingManagement.Blazor.AntDesignUI.Pages.SettingManagement.EmailSettingGroup; using Lsw.Abp.SettingManagement.Blazor.AntDesignUI.Pages.SettingManagement.EmailSettingGroup;
using Volo.Abp.SettingManagement;
using Volo.Abp.SettingManagement.Blazor;
using Volo.Abp.SettingManagement.Localization; using Volo.Abp.SettingManagement.Localization;
namespace Volo.Abp.SettingManagement.Blazor.AntDesignUI.Settings; namespace Lsw.Abp.SettingManagement.Blazor.AntDesignUI.Settings;
public class AntDesignSettingDefultPageContributor : ISettingComponentContributor public class AntDesignSettingDefultPageContributor : ISettingComponentContributor
{ {

0
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.AntDesignUI/_Imports.razor → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.AntDesignUI/_Imports.razor

6
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.Server.AntDesignUI/AbpSettingManagementBlazorWebAssemblyAntDesignModule.cs → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.Server.AntDesignUI/AbpSettingManagementBlazorServerAntDesignModule.cs

@ -1,14 +1,14 @@
using Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme; using Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme;
using Volo.Abp.Modularity; using Volo.Abp.Modularity;
using Volo.Abp.SettingManagement.Blazor.AntDesignUI; using Lsw.Abp.SettingManagement.Blazor.AntDesignUI;
namespace Volo.Abp.SettingManagement.Blazor.Server.AntDesignUI; namespace Lsw.Abp.SettingManagement.Blazor.Server.AntDesignUI;
[DependsOn( [DependsOn(
typeof(AbpSettingManagementBlazorAntDesignModule), typeof(AbpSettingManagementBlazorAntDesignModule),
typeof(AbpAspNetCoreComponentsServerAntDesignThemeModule) typeof(AbpAspNetCoreComponentsServerAntDesignThemeModule)
)] )]
public class AbpSettingManagementBlazorWebAssemblyAntDesignModule : AbpModule public class AbpSettingManagementBlazorServerAntDesignModule : AbpModule
{ {
} }

3
modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.Server.AntDesignUI/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>

5
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.Server.AntDesignUI/Volo.Abp.SettingManagement.Blazor.Server.AntDesignUI.csproj → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.Server.AntDesignUI/Lsw.Abp.SettingManagement.Blazor.Server.AntDesignUI.csproj

@ -1,12 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme\Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme.csproj" /> <ProjectReference Include="..\..\Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme\Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme.csproj" />
<ProjectReference Include="..\Volo.Abp.SettingManagement.Blazor.AntDesignUI\Volo.Abp.SettingManagement.Blazor.AntDesignUI.csproj" /> <ProjectReference Include="..\Lsw.Abp.SettingManagement.Blazor.AntDesignUI\Lsw.Abp.SettingManagement.Blazor.AntDesignUI.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>

5
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI/AbpSettingManagementBlazorWebAssemblyAntDesignModule.cs → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI/AbpSettingManagementBlazorWebAssemblyAntDesignModule.cs

@ -1,8 +1,9 @@
using Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme; using Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme;
using Volo.Abp.Modularity; using Volo.Abp.Modularity;
using Volo.Abp.SettingManagement.Blazor.AntDesignUI; using Lsw.Abp.SettingManagement.Blazor.AntDesignUI;
using Volo.Abp.SettingManagement;
namespace Volo.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI; namespace Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI;
[DependsOn( [DependsOn(
typeof(AbpSettingManagementBlazorAntDesignModule), typeof(AbpSettingManagementBlazorAntDesignModule),

3
modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>

5
modules/SettingManagement/Volo.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI/Volo.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI.csproj → modules/SettingManagement/Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI/Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI.csproj

@ -1,5 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>
@ -10,7 +13,7 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme\Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme.csproj" /> <ProjectReference Include="..\..\Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme\Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme.csproj" />
<ProjectReference Include="..\Volo.Abp.SettingManagement.Blazor.AntDesignUI\Volo.Abp.SettingManagement.Blazor.AntDesignUI.csproj" /> <ProjectReference Include="..\Lsw.Abp.SettingManagement.Blazor.AntDesignUI\Lsw.Abp.SettingManagement.Blazor.AntDesignUI.csproj" />
</ItemGroup> </ItemGroup>

3
modules/TenantManagement/Lsw.Abp.TenantManagement.Blazor.AntDesignUI/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>

3
modules/TenantManagement/Lsw.Abp.TenantManagement.Blazor.AntDesignUI/Lsw.Abp.TenantManagement.Blazor.AntDesignUI.csproj

@ -1,5 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>

3
modules/TenantManagement/Lsw.Abp.TenantManagement.Blazor.Server.AntDesignUI/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>

3
modules/TenantManagement/Lsw.Abp.TenantManagement.Blazor.Server.AntDesignUI/Lsw.Abp.TenantManagement.Blazor.Server.AntDesignUI.csproj

@ -1,5 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>

3
modules/TenantManagement/Lsw.Abp.TenantManagement.Blazor.WebAssembly.AntDesignUI/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>

3
modules/TenantManagement/Lsw.Abp.TenantManagement.Blazor.WebAssembly.AntDesignUI/Lsw.Abp.TenantManagement.Blazor.WebAssembly.AntDesignUI.csproj

@ -1,5 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\..\common.props" />
<Import Project="..\..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>

2
samples/BookStore/BookStore.BlazorServer/BookStore.BlazorServer.csproj

@ -19,7 +19,7 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\..\modules\IdentityManagement\Lsw.Abp.IdentityManagement.Blazor.Server.AntDesignUI\Lsw.Abp.IdentityManagement.Blazor.Server.AntDesignUI.csproj" /> <ProjectReference Include="..\..\..\modules\IdentityManagement\Lsw.Abp.IdentityManagement.Blazor.Server.AntDesignUI\Lsw.Abp.IdentityManagement.Blazor.Server.AntDesignUI.csproj" />
<ProjectReference Include="..\..\..\modules\Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme\Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme.csproj" /> <ProjectReference Include="..\..\..\modules\Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme\Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme.csproj" />
<ProjectReference Include="..\..\..\modules\SettingManagement\Volo.Abp.SettingManagement.Blazor.Server.AntDesignUI\Volo.Abp.SettingManagement.Blazor.Server.AntDesignUI.csproj" /> <ProjectReference Include="..\..\..\modules\SettingManagement\Lsw.Abp.SettingManagement.Blazor.Server.AntDesignUI\Lsw.Abp.SettingManagement.Blazor.Server.AntDesignUI.csproj" />
<ProjectReference Include="..\..\..\modules\TenantManagement\Lsw.Abp.TenantManagement.Blazor.Server.AntDesignUI\Lsw.Abp.TenantManagement.Blazor.Server.AntDesignUI.csproj" /> <ProjectReference Include="..\..\..\modules\TenantManagement\Lsw.Abp.TenantManagement.Blazor.Server.AntDesignUI\Lsw.Abp.TenantManagement.Blazor.Server.AntDesignUI.csproj" />
<ProjectReference Include="..\src\BookStore.Application\BookStore.Application.csproj" /> <ProjectReference Include="..\src\BookStore.Application\BookStore.Application.csproj" />
<ProjectReference Include="..\src\BookStore.HttpApi\BookStore.HttpApi.csproj" /> <ProjectReference Include="..\src\BookStore.HttpApi\BookStore.HttpApi.csproj" />

6
samples/BookStore/BookStore.BlazorServer/BookStoreBlazorModule.cs

@ -27,8 +27,8 @@ using Volo.Abp.Autofac;
using Volo.Abp.AutoMapper; using Volo.Abp.AutoMapper;
using Volo.Abp.Localization; using Volo.Abp.Localization;
using Volo.Abp.Modularity; using Volo.Abp.Modularity;
using Volo.Abp.SettingManagement.Blazor.AntDesignUI; using Lsw.Abp.SettingManagement.Blazor.AntDesignUI;
using Volo.Abp.SettingManagement.Blazor.Server.AntDesignUI; using Lsw.Abp.SettingManagement.Blazor.Server.AntDesignUI;
using Volo.Abp.Swashbuckle; using Volo.Abp.Swashbuckle;
using Volo.Abp.UI.Navigation; using Volo.Abp.UI.Navigation;
using Volo.Abp.UI.Navigation.Urls; using Volo.Abp.UI.Navigation.Urls;
@ -48,7 +48,7 @@ namespace BookStore.Blazor;
typeof(AbpAccountWebIdentityServerModule), typeof(AbpAccountWebIdentityServerModule),
typeof(AbpIdentityBlazorServerAntDesignModule), typeof(AbpIdentityBlazorServerAntDesignModule),
typeof(AbpTenantManagementBlazorServerAntDesignModule), typeof(AbpTenantManagementBlazorServerAntDesignModule),
typeof(AbpSettingManagementBlazorAntDesignModule) typeof(AbpSettingManagementBlazorServerAntDesignModule)
)] )]
public class BookStoreBlazorModule : AbpModule public class BookStoreBlazorModule : AbpModule
{ {

2
samples/BookStore/BookStore.BlazorServer/Menus/BookStoreMenuContributor.cs

@ -4,7 +4,7 @@ using BookStore.Localization;
using BookStore.MultiTenancy; using BookStore.MultiTenancy;
using Lsw.Abp.IdentityManagement.Blazor.AntDesignUI; using Lsw.Abp.IdentityManagement.Blazor.AntDesignUI;
using Lsw.Abp.TenantManagement.Blazor.AntDesignUI; using Lsw.Abp.TenantManagement.Blazor.AntDesignUI;
using Volo.Abp.SettingManagement.Blazor.AntDesignUI; using Lsw.Abp.SettingManagement.Blazor.AntDesignUI;
using Volo.Abp.UI.Navigation; using Volo.Abp.UI.Navigation;
namespace BookStore.Blazor.Menus; namespace BookStore.Blazor.Menus;

2
samples/BookStore/src/BookStore.Blazor/BookStore.Blazor.csproj

@ -29,7 +29,7 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\..\..\modules\IdentityManagement\Lsw.Abp.IdentityManagement.Blazor.WebAssembly.AntDesignUI\Lsw.Abp.IdentityManagement.Blazor.WebAssembly.AntDesignUI.csproj" /> <ProjectReference Include="..\..\..\..\modules\IdentityManagement\Lsw.Abp.IdentityManagement.Blazor.WebAssembly.AntDesignUI\Lsw.Abp.IdentityManagement.Blazor.WebAssembly.AntDesignUI.csproj" />
<ProjectReference Include="..\..\..\..\modules\Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme\Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme.csproj" /> <ProjectReference Include="..\..\..\..\modules\Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme\Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme.csproj" />
<ProjectReference Include="..\..\..\..\modules\SettingManagement\Volo.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI\Volo.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI.csproj" /> <ProjectReference Include="..\..\..\..\modules\SettingManagement\Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI\Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI.csproj" />
<ProjectReference Include="..\..\..\..\modules\TenantManagement\Lsw.Abp.TenantManagement.Blazor.WebAssembly.AntDesignUI\Lsw.Abp.TenantManagement.Blazor.WebAssembly.AntDesignUI.csproj" /> <ProjectReference Include="..\..\..\..\modules\TenantManagement\Lsw.Abp.TenantManagement.Blazor.WebAssembly.AntDesignUI\Lsw.Abp.TenantManagement.Blazor.WebAssembly.AntDesignUI.csproj" />
<ProjectReference Include="..\..\src\BookStore.HttpApi.Client\BookStore.HttpApi.Client.csproj" /> <ProjectReference Include="..\..\src\BookStore.HttpApi.Client\BookStore.HttpApi.Client.csproj" />
</ItemGroup> </ItemGroup>

2
samples/BookStore/src/BookStore.Blazor/BookStoreBlazorModule.cs

@ -13,7 +13,7 @@ using Lsw.Abp.TenantManagement.Blazor.WebAssembly.AntDesignUI;
using Volo.Abp.Autofac.WebAssembly; using Volo.Abp.Autofac.WebAssembly;
using Volo.Abp.AutoMapper; using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity; using Volo.Abp.Modularity;
using Volo.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI; using Lsw.Abp.SettingManagement.Blazor.WebAssembly.AntDesignUI;
using Volo.Abp.UI.Navigation; using Volo.Abp.UI.Navigation;
namespace BookStore.Blazor; namespace BookStore.Blazor;

5
src/Lsw.Abp.AntDesignUI/Components/UiPageProgress.razor.cs

@ -1,5 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks;
using AntDesign; using AntDesign;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Volo.Abp.AspNetCore.Components.Progression; using Volo.Abp.AspNetCore.Components.Progression;
@ -28,7 +29,7 @@ public partial class UiPageProgress : ComponentBase
UiPageProgressService.ProgressChanged += OnProgressChanged; UiPageProgressService.ProgressChanged += OnProgressChanged;
} }
protected virtual void OnProgressChanged(object sender, UiPageProgressEventArgs e) protected virtual async void OnProgressChanged(object sender, UiPageProgressEventArgs e)
{ {
_percent = e.Percentage ?? new Random().Next(0, 100); _percent = e.Percentage ?? new Random().Next(0, 100);
@ -42,7 +43,7 @@ public partial class UiPageProgress : ComponentBase
HideProgress(); HideProgress();
} }
StateHasChanged(); await InvokeAsync(StateHasChanged);
} }
protected virtual void ShowProgress() protected virtual void ShowProgress()

2
src/Lsw.Abp.AntDesignUI/Lsw.Abp.AntDesignUI.csproj

@ -1,5 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor"> <Project Sdk="Microsoft.NET.Sdk.Razor">
<Import Project="..\..\common.props" />
<Import Project="..\..\configureawait.props" /> <Import Project="..\..\configureawait.props" />
<PropertyGroup> <PropertyGroup>

12
test/AntDesignUIApp/AntDesignAppBrandBrandingProvider.cs

@ -1,12 +0,0 @@
using Volo.Abp.DependencyInjection;
using Volo.Abp.Ui.Branding;
namespace AntDesignUIApp;
[Dependency(ReplaceServices = true)]
public class AntDesignAppBrandBrandingProvider : DefaultBrandingProvider
{
public override string AppName => "AntDesignApp";
public override string LogoUrl => "logo.svg";
}

19
test/AntDesignUIApp/AntDesignUIApp.csproj

@ -1,19 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.1" PrivateAssets="all" />
<PackageReference Include="Volo.Abp.Autofac.WebAssembly" Version="5.1.4" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\modules\Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme\Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme.csproj" />
</ItemGroup>
</Project>

36
test/AntDesignUIApp/AntDesignUIAppMenuContributor.cs

@ -1,36 +0,0 @@
using Volo.Abp.UI.Navigation;
namespace AntDesignUIApp;
public class AntDesignUiAppMenuContributor : IMenuContributor
{
public Task ConfigureMenuAsync(MenuConfigurationContext context)
{
if (context.Menu.Name == StandardMenus.Main)
{
context.Menu.Items.Insert(
0,
new ApplicationMenuItem(
"Home",
"Home",
"/",
icon: "home"
)
);
var admin = new ApplicationMenuItem("Admin", "Admin");
admin.AddItem(new ApplicationMenuItem("Users",
"Users",
"/Users"));
admin.AddItem(new ApplicationMenuItem("Roles",
"Roles",
"/Roles"));
context.Menu.AddItem(admin);
}
return Task.CompletedTask;
}
}

51
test/AntDesignUIApp/AntDesignUIAppModule.cs

@ -1,51 +0,0 @@
using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Routing;
using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Themes.AntDesignTheme;
using Lsw.Abp.AspnetCore.Components.WebAssembly.AntDesignTheme;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies;
using Volo.Abp.Autofac.WebAssembly;
using Volo.Abp.Modularity;
using Volo.Abp.UI.Navigation;
namespace AntDesignUIApp;
[DependsOn(
typeof(AbpAutofacWebAssemblyModule),
typeof(AbpAspNetCoreComponentsWebAssemblyAntDesignThemeModule))]
public class AntDesignUIAppModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
var environment = context.Services.GetSingletonInstance<IWebAssemblyHostEnvironment>();
var builder = context.Services.GetSingletonInstance<WebAssemblyHostBuilder>();
Configure<AbpRouterOptions>(options =>
{
options.AppAssembly = typeof(AntDesignUIAppModule).Assembly;
});
Configure<AbpNavigationOptions>(options =>
{
options.MenuContributors.Add(new AntDesignUiAppMenuContributor());
});
context.Services.AddTransient(sp => new HttpClient
{
BaseAddress = new Uri(environment.BaseAddress)
});
context.Services.AddAuthorizationCore();
context.Services.AddAlwaysAllowAuthorization();
context.Services.AddScoped<AuthenticationStateProvider, FakeAuthStateProvider>();
builder.RootComponents.Add<AppWithoutAuth>("#ApplicationContainer");
context.Services.RemoveAll(x => x.ImplementationType == typeof(AbpApplicationConfigurationClientProxy));
context.Services.AddTransient<AbpApplicationConfigurationClientProxy, FakeAbpApplicationConfigurationAppService>();
}
}

33
test/AntDesignUIApp/FakeAbpApplicationConfigurationAppService.cs

@ -1,33 +0,0 @@
using Volo.Abp.AspNetCore.Components.WebAssembly;
using Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations;
using Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies;
using Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ObjectExtending;
using Volo.Abp.AspNetCore.Mvc.MultiTenancy;
using Volo.Abp.DependencyInjection;
namespace AntDesignUIApp;
public class FakeAbpApplicationConfigurationAppService : AbpApplicationConfigurationClientProxy
{
public override Task<ApplicationConfigurationDto> GetAsync()
{
var result = new ApplicationConfigurationDto()
{
Setting =new ApplicationSettingConfigurationDto(),
Auth = new ApplicationAuthConfigurationDto(),
Clock = new ClockDto(),
CurrentTenant = new CurrentTenantDto(),
CurrentUser = new CurrentUserDto()
{
Name = "admin",
UserName = "admin"
},
Features = new ApplicationFeatureConfigurationDto(),
Localization = new ApplicationLocalizationConfigurationDto(),
MultiTenancy = new MultiTenancyInfoDto(),
ObjectExtensions = new ObjectExtensionsDto(),
Timing = new TimingDto()
};
return Task.FromResult(result);
}
}

13
test/AntDesignUIApp/FakeAuthStateProvider.cs

@ -1,13 +0,0 @@
using System.Security.Claims;
using Microsoft.AspNetCore.Components.Authorization;
namespace AntDesignUIApp;
public class FakeAuthStateProvider : AuthenticationStateProvider
{
public override async Task<AuthenticationState> GetAuthenticationStateAsync()
{
var anonymous = new ClaimsIdentity();
return await Task.FromResult(new AuthenticationState(new ClaimsPrincipal(anonymous)));
}
}

14
test/AntDesignUIApp/Pages/Index.razor

@ -1,14 +0,0 @@
@page "/"
@using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Settings
<AbpPageHeader Title="Index" BreadcrumbItems="@BreadcrumbItems" Toolbar="@Toolbar"/>
<div class="page-content">
<h4>Menu Placement</h4>
<Button Type="@ButtonType.Primary" OnClick="() => ChangeMenuPlacement(MenuPlacement.Top)">Top</Button>
<Button Type="@ButtonType.Primary" OnClick="() => ChangeMenuPlacement(MenuPlacement.Left)">Left</Button>
<h4>Menu Theme</h4>
<Button Type="@ButtonType.Primary" OnClick="() => ChangeMenuTheme(MenuTheme.Dark)">Dark</Button>
<Button Type="@ButtonType.Primary" OnClick="() => ChangeMenuTheme(MenuTheme.Light)">Light</Button>
</div>

65
test/AntDesignUIApp/Pages/Index.razor.cs

@ -1,65 +0,0 @@
using AntDesign;
using Lsw.Abp.AntDesignUI;
using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme;
using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.PageToolbars;
using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Settings;
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Options;
using Volo.Abp.AspNetCore.Components.Notifications;
using Volo.Abp.AspNetCore.Components.Progression;
namespace AntDesignUIApp.Pages;
public partial class Index : ComponentBase
{
public List<AbpBreadcrumbItem> BreadcrumbItems { get; set; } = new();
public PageToolbar Toolbar { get; set; } = new();
[Inject]
public IUiNotificationService NotificationService { get; set; }
[Inject]
public IUiPageProgressService UiPageProgressService { get; set; }
[Inject]
protected IOptions<AbpAntDesignThemeOptions> Options { get; set; }
[Inject]
protected IAntDesignSettingsProvider AntDesignSettingsProvider { get; set; }
protected override void OnInitialized()
{
BreadcrumbItems = new List<AbpBreadcrumbItem>()
{
new("Index")
};
Toolbar.AddButton("Notification", () => NotificationService.Info("new item!"), "plus");
Toolbar.AddButton("Page progress", async () =>
{
var i = 0;
while (i < 100)
{
i++;
await UiPageProgressService.Go(i);
await Task.Delay(50);
}
await UiPageProgressService.Go(null);
}, "double-right");
}
private async Task ChangeMenuPlacement(MenuPlacement menuPlacement)
{
Options.Value.Menu.Placement = menuPlacement;
await AntDesignSettingsProvider.TriggerSettingChanged();
}
private async Task ChangeMenuTheme(MenuTheme menuTheme)
{
Options.Value.Menu.Theme = menuTheme;
await AntDesignSettingsProvider.TriggerSettingChanged();
}
}

6
test/AntDesignUIApp/Pages/Roles.razor

@ -1,6 +0,0 @@
@page "/roles"
<AbpPageHeader Title="Roles" BreadcrumbItems="@BreadcrumbItems"/>
<div class="page-content">
<p>Role page</p>
</div>

18
test/AntDesignUIApp/Pages/Roles.razor.cs

@ -1,18 +0,0 @@
using Lsw.Abp.AntDesignUI;
using Microsoft.AspNetCore.Components;
namespace AntDesignUIApp.Pages;
public partial class Roles : ComponentBase
{
public List<AbpBreadcrumbItem> BreadcrumbItems { get; set; } = new();
protected override void OnInitialized()
{
BreadcrumbItems = new List<AbpBreadcrumbItem>()
{
new("Admin"),
new("Roles")
};
}
}

6
test/AntDesignUIApp/Pages/Users.razor

@ -1,6 +0,0 @@
@page "/users"
<AbpPageHeader Title="Users" BreadcrumbItems="@BreadcrumbItems"/>
<div class="page-content">
<p>Users page</p>
</div>

18
test/AntDesignUIApp/Pages/Users.razor.cs

@ -1,18 +0,0 @@
using Lsw.Abp.AntDesignUI;
using Microsoft.AspNetCore.Components;
namespace AntDesignUIApp.Pages;
public partial class Users : ComponentBase
{
public List<AbpBreadcrumbItem> BreadcrumbItems { get; set; } = new();
protected override void OnInitialized()
{
BreadcrumbItems = new List<AbpBreadcrumbItem>()
{
new("Admin"),
new("Users")
};
}
}

16
test/AntDesignUIApp/Program.cs

@ -1,16 +0,0 @@
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using AntDesignUIApp;
var builder = WebAssemblyHostBuilder.CreateDefault(args);
var application = await builder.AddApplicationAsync<AntDesignUIAppModule>(options =>
{
options.UseAutofac();
});
var host = builder.Build();
await application.InitializeApplicationAsync(host.Services);
await host.RunAsync();

30
test/AntDesignUIApp/Properties/launchSettings.json

@ -1,30 +0,0 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:35665",
"sslPort": 44353
}
},
"profiles": {
"AntDesignUIApp": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "https://localhost:7161;http://localhost:5161",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

14
test/AntDesignUIApp/_Imports.razor

@ -1,14 +0,0 @@
@using System.Net.Http
@using System.Net.Http.Json
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.WebAssembly.Http
@using Microsoft.JSInterop
@using AntDesignUIApp
@using AntDesign
@using Lsw.Abp.AntDesignUI
@using Lsw.Abp.AntDesignUI.Components
@using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Layout;

3
test/AntDesignUIApp/wwwroot/appsettings.json

@ -1,3 +0,0 @@
{
}

BIN
test/AntDesignUIApp/wwwroot/favicon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

143
test/AntDesignUIApp/wwwroot/global.css

File diff suppressed because one or more lines are too long

13
test/AntDesignUIApp/wwwroot/global.js

File diff suppressed because one or more lines are too long

BIN
test/AntDesignUIApp/wwwroot/icon-192.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

27
test/AntDesignUIApp/wwwroot/index.html

@ -1,27 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>AntDesignUIApp</title>
<base href="/" />
<!--ABP:Styles-->
<link href="global.css?_v=637820998049203967" rel="stylesheet"/>
<!--/ABP:Styles-->
</head>
<body class="abp-application-layout bg-light">
<div id="ApplicationContainer">
<div class="spinner">
<div class="double-bounce1"></div>
<div class="double-bounce2"></div>
</div>
</div>
<!--ABP:Scripts-->
<script src="global.js?_v=637820998050943368"></script>
<!--/ABP:Scripts-->
</body>
</html>

43
test/AntDesignUIApp/wwwroot/logo.svg

@ -1,43 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="200px" height="200px" viewBox="0 0 200 200" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 47.1 (45422) - http://www.bohemiancoding.com/sketch -->
<title>Group 28 Copy 5</title>
<desc>Created with Sketch.</desc>
<defs>
<linearGradient x1="62.1023273%" y1="0%" x2="108.19718%" y2="37.8635764%" id="linearGradient-1">
<stop stop-color="#4285EB" offset="0%"></stop>
<stop stop-color="#2EC7FF" offset="100%"></stop>
</linearGradient>
<linearGradient x1="69.644116%" y1="0%" x2="54.0428975%" y2="108.456714%" id="linearGradient-2">
<stop stop-color="#29CDFF" offset="0%"></stop>
<stop stop-color="#148EFF" offset="37.8600687%"></stop>
<stop stop-color="#0A60FF" offset="100%"></stop>
</linearGradient>
<linearGradient x1="69.6908165%" y1="-12.9743587%" x2="16.7228981%" y2="117.391248%" id="linearGradient-3">
<stop stop-color="#FA816E" offset="0%"></stop>
<stop stop-color="#F74A5C" offset="41.472606%"></stop>
<stop stop-color="#F51D2C" offset="100%"></stop>
</linearGradient>
<linearGradient x1="68.1279872%" y1="-35.6905737%" x2="30.4400914%" y2="114.942679%" id="linearGradient-4">
<stop stop-color="#FA8E7D" offset="0%"></stop>
<stop stop-color="#F74A5C" offset="51.2635191%"></stop>
<stop stop-color="#F51D2C" offset="100%"></stop>
</linearGradient>
</defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="logo" transform="translate(-20.000000, -20.000000)">
<g id="Group-28-Copy-5" transform="translate(20.000000, 20.000000)">
<g id="Group-27-Copy-3">
<g id="Group-25" fill-rule="nonzero">
<g id="2">
<path d="M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z" id="Shape" fill="url(#linearGradient-1)"></path>
<path d="M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z" id="Shape" fill="url(#linearGradient-2)"></path>
</g>
<path d="M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z" id="Shape" fill="url(#linearGradient-3)"></path>
</g>
<ellipse id="Combined-Shape" fill="url(#linearGradient-4)" cx="100.519339" cy="100.436681" rx="23.6001926" ry="23.580786"></ellipse>
</g>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.6 KiB

27
test/AntDesignUIApp/wwwroot/sample-data/weather.json

@ -1,27 +0,0 @@
[
{
"date": "2018-05-06",
"temperatureC": 1,
"summary": "Freezing"
},
{
"date": "2018-05-07",
"temperatureC": 14,
"summary": "Bracing"
},
{
"date": "2018-05-08",
"temperatureC": -13,
"summary": "Freezing"
},
{
"date": "2018-05-09",
"temperatureC": -16,
"summary": "Balmy"
},
{
"date": "2018-05-10",
"temperatureC": -2,
"summary": "Chilly"
}
]
Loading…
Cancel
Save