Skip to content
Merged
Show file tree
Hide file tree
Changes from 100 commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
16a8722
Migrat to Mudblazor (vibe-kanban 00113e51)
ismcagdas Jan 15, 2026
52019de
created Volo.Abp.AspNetCore.Components.Web.Theming.MudBlazor package
ismcagdas Jan 15, 2026
76b2d68
created MudBlazor theming packages
ismcagdas Jan 15, 2026
d3303d1
add delete confirmation to AbpMudCrudPageBase
ismcagdas Jan 15, 2026
beb195b
created empty modules for MudBlazor similar to Blazorise dependent mo…
ismcagdas Jan 15, 2026
e1f1e47
added account module pages for MudBlazor
ismcagdas Jan 15, 2026
29aa409
created identity module pages for MudBlazor
ismcagdas Jan 15, 2026
2615988
created permission management module pages for MudBlazor
ismcagdas Jan 15, 2026
4393a24
created feature management module pages for MudBlazor
ismcagdas Jan 15, 2026
36a29c4
added setting-management and tenant-management module pages for MudBl…
ismcagdas Jan 16, 2026
d414a1d
created MudBlazor theme packages
ismcagdas Jan 16, 2026
ed7b6ee
implemented theme detail pages for MudBlazor themes
ismcagdas Jan 16, 2026
c798e45
replace Blazorise with MudBlazor in app template
ismcagdas Jan 16, 2026
4b74750
fixed several build problems
ismcagdas Jan 16, 2026
b54a5b6
fixed several build errors
ismcagdas Jan 16, 2026
26854c5
added MudBlazor projects to ABP solution
ismcagdas Jan 16, 2026
4bf9ceb
fixed build problem in several modules for MudBlazor
ismcagdas Jan 17, 2026
5c2bf08
fixed build problems on tenant management module for MudBlazor
ismcagdas Jan 17, 2026
e566843
fixed build problems on permission management module for MudBlazor
ismcagdas Jan 17, 2026
7358786
fixed build problems in account module for MudBlazor
ismcagdas Jan 17, 2026
b863bbb
replace LeptonXLiteTheme with MudBlazorBasicTheme
ismcagdas Jan 18, 2026
b1610f2
fixed build problems in app template
ismcagdas Jan 18, 2026
c5c20bf
fix several runtime errors
ismcagdas Jan 18, 2026
98b3834
fix dependent modules of AbpAspNetCoreComponentsWebThemingMudBlazorMo…
ismcagdas Jan 19, 2026
310ff90
Update MudBlazor theming module in Blazor app
maliming Jan 19, 2026
5f707a5
fix style loading problem on Blazor server template
ismcagdas Jan 19, 2026
788bc1e
fix LoginDisplay.razor not showing logged-in user info problem
ismcagdas Jan 19, 2026
7d97167
fix errors in MudDataGrid showing data
ismcagdas Jan 19, 2026
8f0c027
removed Volo.Abp.MudBlazorUI\BreadcrumbItem.cs
ismcagdas Jan 19, 2026
fd2581f
remove BreadcrumbItem related errors
ismcagdas Jan 19, 2026
5173c8e
fix PageHeader spacing problem
ismcagdas Jan 21, 2026
d91bab3
change @bind-IsVisible with @bind-Visible
ismcagdas Jan 21, 2026
1131c89
fix modal close problem for MudBlazor
ismcagdas Jan 21, 2026
27badac
refactored AbpMudCrudPageBase and AbpMudExtensibleDataGrid for clearity
ismcagdas Jan 21, 2026
204ba7e
Fix sorting problem for template columns
ismcagdas Jan 22, 2026
85aa80f
fix action buttons not being visible on grud data grids
ismcagdas Jan 22, 2026
65bd5a1
fix MudBlazor mapping error in identity module
ismcagdas Jan 22, 2026
08e8952
fix double delete confirmation on identity module for MudBlazor
ismcagdas Jan 22, 2026
6584bd6
correctly set checkbox values for role management
ismcagdas Jan 26, 2026
7804c65
replace bind-IsVisible with bind-Visible
ismcagdas Jan 27, 2026
582b01c
remove width of permission modal inline tab
ismcagdas Jan 27, 2026
377c04c
remove Variant="Variant.Outlined" from MudBlazor inputs
ismcagdas Jan 27, 2026
90bfe20
fix error on user list page
ismcagdas Jan 27, 2026
0affeb3
Render PageHeader in TenantManagement.razor
ismcagdas Jan 27, 2026
5f2af43
show tenant creation and edit modals correctly
ismcagdas Jan 27, 2026
35bfbfc
correctly use icon in MudBlazor menu items
ismcagdas Jan 28, 2026
24829ad
fix layout of FeatureManagementModal for MudBlazor
ismcagdas Jan 28, 2026
5ea02fa
remove unnecessary logout button
ismcagdas Jan 28, 2026
e7bc081
add missing namespace to App.razor for Blazor WebApp
ismcagdas Jan 28, 2026
3238a67
Fix home page layout for Blazor Web App
ismcagdas Jan 28, 2026
0a6709d
remove commented module dependencies
ismcagdas Jan 28, 2026
98cd53a
show button when there is only 1 action in datagrid
ismcagdas Jan 28, 2026
5982e28
several bug fixes for MudBlazor
ismcagdas Feb 2, 2026
b69ef77
Merge branch 'dev' into feat/mudblazor
maliming Feb 4, 2026
a2adf27
Standardize RequiredError localization keys
maliming Feb 4, 2026
ce78800
Enhance navigation components with improved layout and styling
maliming Feb 9, 2026
8b62569
Refactor navigation components.
maliming Feb 9, 2026
1d14438
Add PageAlert component and AlertWrapper
maliming Feb 9, 2026
aecd12d
Add MudBlazorExtensionPropertyPolicyChecker for feature and permissio…
maliming Feb 9, 2026
3049116
Add missing using directives.
maliming Feb 9, 2026
d5abc3f
Add MudBlazor theming support with bundling configuration and contrib…
maliming Feb 9, 2026
c434e89
Remove public font reference from MudBlazor style contributors
maliming Feb 9, 2026
540f9d4
Add Roboto font link to App.razor files for improved typography
maliming Feb 9, 2026
b169952
Add FontAwesome webfonts and update authentication URLs
maliming Feb 9, 2026
6c76cb1
Add missing using directives and update AbpStyles references in App.r…
maliming Feb 9, 2026
d820b08
Merge branch 'dev' into feat/mudblazor
maliming Feb 25, 2026
2ffd01d
refactor: remove unused MudBlazor theming module and update dependenc…
maliming Mar 3, 2026
1f854d2
Merge branch 'dev' into feat/mudblazor
maliming Mar 4, 2026
340416b
refactor: Clean up filter handling in UserManagement and optimize per…
maliming Mar 4, 2026
4a7fc63
feat: Add FodyWeavers configuration files for MudBlazor theming compo…
maliming Mar 4, 2026
83b3915
fix: Set width to 100% for form container in SettingManagement page
maliming Mar 4, 2026
ac0c96a
refactor: Simplify layout structure in FeatureManagementModal and imp…
maliming Mar 4, 2026
ba35f06
refactor: Remove unused ConfigureBundle method and update project SDK…
maliming Mar 4, 2026
5183038
Add FontAwesome webfont files for MudBlazor theming
maliming Mar 4, 2026
9099bac
refactor: Change project SDK from Web to Razor for MudBlazor theming
maliming Mar 4, 2026
609bf8a
Merge branch 'dev' into feat/mudblazor
maliming Mar 25, 2026
07a50ea
refactor: migrate Blazor project from LeptonXLite theme to MudBlazor …
maliming Mar 26, 2026
12643a7
fix: add padding class to MudMainContent for improved layout
maliming Mar 27, 2026
c0b0136
fix: update breadcrumb items to be disabled in Role, User, Setting, a…
maliming Mar 27, 2026
67cd855
fix: add dense margin to MudTextField components for improved spacing…
maliming Mar 27, 2026
451ace3
fix: update layout and styling for improved user experience across va…
maliming Mar 27, 2026
15e99a0
Refactor Index.razor pages to use MudBlazor components for improved U…
maliming Apr 3, 2026
e6c8ac6
fix: update MudMenu components in LanguageSwitch and LoginDisplay for…
maliming Apr 3, 2026
89bf2ee
fix: update login button href for consistency and remove loading spin…
maliming Apr 3, 2026
0e28516
fix: update login button href for consistency across Index.razor pages
maliming Apr 3, 2026
e5f5b58
fix: update user menu configuration to handle browser and non-browser…
maliming Apr 3, 2026
506fc80
fix: update logout menu item order for better placement in user menu
maliming Apr 3, 2026
3c09c68
fix: update stylesheet link for consistency in App component
maliming Apr 4, 2026
835d22f
feat: add MudBlazor theming support to various projects
maliming Apr 4, 2026
6b16452
fix: update MudCheckBox color to primary for better visibility across…
maliming Apr 7, 2026
27f644d
feat: standardize dialog options across various components for consis…
maliming Apr 7, 2026
49a4aab
feat: enhance sorting functionality by mapping SortBy func references…
maliming Apr 7, 2026
e686ed3
fix: update feature style margin property for improved layout consist…
maliming Apr 7, 2026
a6a988b
Remove Migration Plan for Volo.Abp.AspNetCore.Components.Web.Theming.…
maliming Apr 7, 2026
9fe5214
Merge remote-tracking branch 'origin/dev' into feat/mudblazor
maliming Apr 7, 2026
41bc282
feat: add culture-specific routing for account, authentication, role,…
maliming Apr 7, 2026
59f102d
feat: add Culture parameter to multiple management pages for localiza…
maliming Apr 7, 2026
e0d7c81
feat: implement culture-aware login redirection and update login URL …
maliming Apr 8, 2026
c3b461a
feat: update MudBlazor bundling and enhance email settings UI components
maliming Apr 12, 2026
7ddd755
fix: correct namespace reference for BlazorStandardBundles in MudBlaz…
maliming Apr 12, 2026
3efb0b1
Merge remote-tracking branch 'origin/dev' into feat/mudblazor
maliming Apr 21, 2026
7e312f6
docs: update package version changes [skip ci]
github-actions[bot] Apr 21, 2026
3cd90a0
Merge remote-tracking branch 'origin/dev' into feat/mudblazor
maliming Apr 26, 2026
9bea1ea
docs: update package version changes [skip ci]
github-actions[bot] Apr 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"allow": [
"Bash(yarn nx g:*)",
"Bash(npx vitest:*)",
"Bash(xargs:*)",
"Bash(dotnet build:*)",
Comment thread
maliming marked this conversation as resolved.
"Bash(git show:*)"
]
}
Expand Down
1 change: 1 addition & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<PackageVersion Include="Blazorise.Components" Version="2.0.0" />
<PackageVersion Include="Blazorise.DataGrid" Version="2.0.0" />
<PackageVersion Include="Blazorise.Snackbar" Version="2.0.0" />
<PackageVersion Include="MudBlazor" Version="8.0.0" />
<PackageVersion Include="Castle.Core" Version="5.2.1" />
<PackageVersion Include="Castle.Core.AsyncInterceptor" Version="2.1.0" />
<PackageVersion Include="CommonMark.NET" Version="0.15.1" />
Expand Down
7 changes: 7 additions & 0 deletions framework/Volo.Abp.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,19 @@
<Project Path="src/Volo.Abp.AspNetCore.Bundling/Volo.Abp.AspNetCore.Bundling.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.MauiBlazor.Bundling/Volo.Abp.AspNetCore.Components.MauiBlazor.Bundling.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.Bundling/Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.Bundling.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.MudBlazor.Bundling/Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.MudBlazor.Bundling.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.MudBlazor/Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.MudBlazor.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.MauiBlazor.Theming/Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.MauiBlazor/Volo.Abp.AspNetCore.Components.MauiBlazor.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.Server.Theming.MudBlazor/Volo.Abp.AspNetCore.Components.Server.Theming.MudBlazor.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.Server.Theming/Volo.Abp.AspNetCore.Components.Server.Theming.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.Server/Volo.Abp.AspNetCore.Components.Server.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.Web.Theming.MudBlazor/Volo.Abp.AspNetCore.Components.Web.Theming.MudBlazor.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.Web.Theming/Volo.Abp.AspNetCore.Components.Web.Theming.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.Web/Volo.Abp.AspNetCore.Components.Web.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.WebAssembly.Theming.Bundling/Volo.Abp.AspNetCore.Components.WebAssembly.Theming.Bundling.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.WebAssembly.Theming.MudBlazor.Bundling/Volo.Abp.AspNetCore.Components.WebAssembly.Theming.MudBlazor.Bundling.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.WebAssembly.Theming.MudBlazor/Volo.Abp.AspNetCore.Components.WebAssembly.Theming.MudBlazor.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.WebAssembly.Theming/Volo.Abp.AspNetCore.Components.WebAssembly.Theming.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo.Abp.AspNetCore.Components.WebAssembly.csproj" />
<Project Path="src/Volo.Abp.AspNetCore.Components/Volo.Abp.AspNetCore.Components.csproj" />
Expand Down Expand Up @@ -137,6 +143,7 @@
<Project Path="src/Volo.Abp.MemoryDb/Volo.Abp.MemoryDb.csproj" />
<Project Path="src/Volo.Abp.Minify/Volo.Abp.Minify.csproj" />
<Project Path="src/Volo.Abp.MongoDB/Volo.Abp.MongoDB.csproj" />
<Project Path="src/Volo.Abp.MudBlazorUI/Volo.Abp.MudBlazorUI.csproj" />
<Project Path="src/Volo.Abp.MultiLingualObjects/Volo.Abp.MultiLingualObjects.csproj" />
<Project Path="src/Volo.Abp.MultiTenancy.Abstractions/Volo.Abp.MultiTenancy.Abstractions.csproj" />
<Project Path="src/Volo.Abp.MultiTenancy/Volo.Abp.MultiTenancy.csproj" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
using Volo.Abp.Modularity;

namespace Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.MudBlazor.Bundling;

[DependsOn(
typeof(AbpAspNetCoreMvcUiBundlingAbstractionsModule)
)]
public class AbpAspNetCoreComponentsMauiBlazorThemingMudBlazorBundlingModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<AbpBundlingOptions>(options =>
{
options.GlobalAssets.Enabled = true;
options.GlobalAssets.GlobalStyleBundleName = MauiBlazorMudBlazorStandardBundles.Styles.Global;
options.GlobalAssets.GlobalScriptBundleName = MauiBlazorMudBlazorStandardBundles.Scripts.Global;

options
.StyleBundles
.Add(MauiBlazorMudBlazorStandardBundles.Styles.Global, bundle =>
{
bundle.AddContributors(typeof(MauiBlazorMudBlazorStyleContributor));
});

options
.ScriptBundles
.Add(MauiBlazorMudBlazorStandardBundles.Scripts.Global, bundle =>
{
bundle.AddContributors(typeof(MauiBlazorMudBlazorScriptContributor));
});
});
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- This file was generated by Fody. Manual changes to this file will be lost when your project is rebuilt. -->
<xs:element name="Weavers">
<xs:complexType>
<xs:all>
<xs:element name="ConfigureAwait" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="ContinueOnCapturedContext" type="xs:boolean" />
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="VerifyAssembly" type="xs:boolean">
<xs:annotation>
<xs:documentation>'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="VerifyIgnoreCodes" type="xs:string">
<xs:annotation>
<xs:documentation>A comma-separated list of error codes that can be safely ignored in assembly verification.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="GenerateXsd" type="xs:boolean">
<xs:annotation>
<xs:documentation>'false' to turn off automatic generation of the XML Schema file.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System.Collections.Generic;
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;

namespace Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.MudBlazor.Bundling;

public class MauiBlazorMudBlazorScriptContributor : BundleContributor
{
public override void ConfigureBundle(BundleConfigurationContext context)
{
context.Files.AddIfNotContains("_content/MudBlazor/MudBlazor.min.js");
context.Files.AddIfNotContains("_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/js/abp.js");
context.Files.AddIfNotContains("_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/js/lang-utils.js");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
namespace Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.MudBlazor.Bundling;

public class MauiBlazorMudBlazorStandardBundles
{
public static class Styles
{
public static string Global = "MauiBlazorMudBlazor.Global";
}

public static class Scripts
{
public static string Global = "MauiBlazorMudBlazor.Global";
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System.Collections.Generic;
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;

namespace Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.MudBlazor.Bundling;

public class MauiBlazorMudBlazorStyleContributor : BundleContributor
{
public override void ConfigureBundle(BundleConfigurationContext context)
{
context.Files.AddIfNotContains("_content/Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.MudBlazor/libs/fontawesome/css/all.css");
context.Files.AddIfNotContains("_content/MudBlazor/MudBlazor.min.css");
context.Files.AddIfNotContains("_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/css/abp.css");
context.Files.AddIfNotContains("_content/Volo.Abp.MudBlazorUI/volo.abp.mudblazorui.css");
context.Files.AddIfNotContains("_content/Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.MudBlazor/libs/flag-icon/css/flag-icon.css");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<Import Project="..\..\..\configureawait.props" />
<Import Project="..\..\..\common.props" />

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<WarningsAsErrors>Nullable</WarningsAsErrors>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Volo.Abp.AspNetCore.Mvc.UI.Bundling.Abstractions\Volo.Abp.AspNetCore.Mvc.UI.Bundling.Abstractions.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.MudBlazor.Bundling;
using Volo.Abp.AspNetCore.Components.Web.Theming.MudBlazor;
using Volo.Abp.AspNetCore.Components.MauiBlazor;
using Volo.Abp.Modularity;

namespace Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.MudBlazor;

[DependsOn(
typeof(AbpAspNetCoreComponentsMauiBlazorThemingMudBlazorBundlingModule),
typeof(AbpAspNetCoreComponentsWebThemingMudBlazorModule),
typeof(AbpAspNetCoreComponentsMauiBlazorModule)
)]
public class AbpAspNetCoreComponentsMauiBlazorThemingMudBlazorModule : AbpModule
{
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- This file was generated by Fody. Manual changes to this file will be lost when your project is rebuilt. -->
<xs:element name="Weavers">
<xs:complexType>
<xs:all>
<xs:element name="ConfigureAwait" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="ContinueOnCapturedContext" type="xs:boolean" />
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="VerifyAssembly" type="xs:boolean">
<xs:annotation>
<xs:documentation>'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="VerifyIgnoreCodes" type="xs:string">
<xs:annotation>
<xs:documentation>A comma-separated list of error codes that can be safely ignored in assembly verification.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="GenerateXsd" type="xs:boolean">
<xs:annotation>
<xs:documentation>'false' to turn off automatic generation of the XML Schema file.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<Import Project="..\..\..\configureawait.props" />
<Import Project="..\..\..\common.props" />

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<WarningsAsErrors>Nullable</WarningsAsErrors>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.MudBlazor.Bundling\Volo.Abp.AspNetCore.Components.MauiBlazor.Theming.MudBlazor.Bundling.csproj" />
<ProjectReference Include="..\Volo.Abp.AspNetCore.Components.Web.Theming.MudBlazor\Volo.Abp.AspNetCore.Components.Web.Theming.MudBlazor.csproj" />
<ProjectReference Include="..\Volo.Abp.AspNetCore.Components.MauiBlazor\Volo.Abp.AspNetCore.Components.MauiBlazor.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
using Volo.Abp.AspNetCore.Components.Server.Theming.MudBlazor.Bundling;
using Volo.Abp.AspNetCore.Components.Web.Theming.MudBlazor;
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
using Volo.Abp.Modularity;
using Volo.Abp.AspNetCore.Mvc.UI.Packages;

namespace Volo.Abp.AspNetCore.Components.Server.Theming.MudBlazor;

[DependsOn(
typeof(AbpAspNetCoreComponentsServerModule),
typeof(AbpAspNetCoreMvcUiPackagesModule),
typeof(AbpAspNetCoreComponentsWebThemingMudBlazorModule),
typeof(AbpAspNetCoreMvcUiBundlingModule)
)]
public class AbpAspNetCoreComponentsServerThemingMudBlazorModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<AbpBundlingOptions>(options =>
{
options
.StyleBundles
.Add(BlazorServerMudBlazorStandardBundles.Styles.Global, bundle =>
{
bundle.AddContributors(typeof(BlazorServerMudBlazorStyleContributor));
});

options
.ScriptBundles
.Add(BlazorServerMudBlazorStandardBundles.Scripts.Global, bundle =>
{
bundle.AddContributors(typeof(BlazorServerMudBlazorScriptContributor));
});
});
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Volo.Abp.AspNetCore.Bundling;
using Volo.Abp.AspNetCore.Components.Web.Theming.MudBlazor.Bundling;
Comment thread
maliming marked this conversation as resolved.
using Volo.Abp.DependencyInjection;

namespace Volo.Abp.AspNetCore.Components.Server.Theming.MudBlazor.Bundling;

public class BlazorServerMudBlazorComponentBundleManager : IComponentBundleManager, ITransientDependency
{
protected IBundleManager BundleManager { get; }

public BlazorServerMudBlazorComponentBundleManager(IBundleManager bundleManager)
{
BundleManager = bundleManager;
}

public virtual async Task<IReadOnlyList<string>> GetStyleBundleFilesAsync(string bundleName)
{
return (await BundleManager.GetStyleBundleFilesAsync(bundleName)).Select(f => f.FileName).ToList();
}

public virtual async Task<IReadOnlyList<string>> GetScriptBundleFilesAsync(string bundleName)
{
return (await BundleManager.GetScriptBundleFilesAsync(bundleName)).Select(f => f.FileName).ToList();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using System.Collections.Generic;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Volo.Abp.AspNetCore.Components.Web;
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;

namespace Volo.Abp.AspNetCore.Components.Server.Theming.MudBlazor.Bundling;

public class BlazorServerMudBlazorScriptContributor : BundleContributor
{
public override void ConfigureBundle(BundleConfigurationContext context)
{
var options = context.ServiceProvider.GetRequiredService<IOptions<AbpAspNetCoreComponentsWebOptions>>().Value;
if (!options.IsBlazorWebApp)
{
context.Files.AddIfNotContains("/_framework/blazor.server.js");
}
context.Files.AddIfNotContains("/_content/MudBlazor/MudBlazor.min.js");
context.Files.AddIfNotContains("/_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/js/abp.js");
context.Files.AddIfNotContains("/_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/js/authentication-state-listener.js");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
namespace Volo.Abp.AspNetCore.Components.Server.Theming.MudBlazor.Bundling;

public class BlazorServerMudBlazorStandardBundles
{
public static class Styles
{
public static string Global = "Blazor.Global";
}

public static class Scripts
{
public static string Global = "Blazor.Global";
Comment thread
maliming marked this conversation as resolved.
Comment thread
maliming marked this conversation as resolved.
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System.Collections.Generic;
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;

namespace Volo.Abp.AspNetCore.Components.Server.Theming.MudBlazor.Bundling;

public class BlazorServerMudBlazorStyleContributor : BundleContributor
{
public override void ConfigureBundle(BundleConfigurationContext context)
{
context.Files.AddIfNotContains("/_content/Volo.Abp.AspNetCore.Components.Server.Theming.MudBlazor/libs/fontawesome/css/all.css");
context.Files.AddIfNotContains("/_content/MudBlazor/MudBlazor.min.css");
context.Files.AddIfNotContains("/_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/css/abp.css");
context.Files.AddIfNotContains("/_content/Volo.Abp.MudBlazorUI/volo.abp.mudblazorui.css");
context.Files.AddIfNotContains("/_content/Volo.Abp.AspNetCore.Components.Server.Theming.MudBlazor/libs/flag-icon/css/flag-icon.css");
Comment thread
maliming marked this conversation as resolved.
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait ContinueOnCapturedContext="false" />
</Weavers>
Loading
Loading