Skip to content

Commit 4382146

Browse files
v24.1.41
1 parent 48688f4 commit 4382146

File tree

2,501 files changed

+636805
-2601
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,501 files changed

+636805
-2601
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ sitemap-demos.xml/
66
/Common/*.sln
77
/Common/*.sln
88
/Common/*.user
9+
/Common/wwwroot/scripts/**/*.txt
10+
/Common/wwwroot/scripts/**/*.min.js
11+
/Common/wwwroot/styles/**/*.min.css
12+
/**/wwwroot/*.min.js
913
/**/*.user
1014
/**/**/bin
1115
/**/**/.vs

.gitleaksignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/* Ignore False leaks */
2+
Common/Pages/PivotView/PivotTable/PivotCellTemplate.razor:aws-access-token:88
3+
Blazor-MAUI-Demos/Pages/PivotView/PivotTable/PivotCellTemplate.razor:aws-access-token:91

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
registry=https://registry.npmjs.org/
2+
@syncfusion:registry=https://nexus.syncfusion.com/repository/ej2-development/

Blazor-MAUI-Demos/App.xaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4+
xmlns:local="clr-namespace:Blazor_MAUI_Demos"
5+
x:Class="Blazor_MAUI_Demos.App">
6+
<Application.Resources>
7+
<ResourceDictionary>
8+
9+
<Color x:Key="PageBackgroundColor">#512bdf</Color>
10+
<Color x:Key="PrimaryTextColor">White</Color>
11+
12+
<Style TargetType="Label">
13+
<Setter Property="TextColor" Value="{DynamicResource PrimaryTextColor}" />
14+
<Setter Property="FontFamily" Value="OpenSansRegular" />
15+
</Style>
16+
17+
<Style TargetType="Button">
18+
<Setter Property="TextColor" Value="{DynamicResource PrimaryTextColor}" />
19+
<Setter Property="FontFamily" Value="OpenSansRegular" />
20+
<Setter Property="BackgroundColor" Value="#2b0b98" />
21+
<Setter Property="Padding" Value="14,10" />
22+
</Style>
23+
24+
</ResourceDictionary>
25+
</Application.Resources>
26+
</Application>

Blazor-MAUI-Demos/App.xaml.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#region Copyright Syncfusion Inc. 2001-2023.
2+
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
3+
// Use of this code is subject to the terms of our license.
4+
// A copy of the current license can be obtained at any time by e-mailing
5+
// licensing@syncfusion.com. Any infringement will be prosecuted under
6+
// applicable laws.
7+
#endregion
8+
namespace Blazor_MAUI_Demos;
9+
10+
public partial class App : Application
11+
{
12+
public App()
13+
{
14+
InitializeComponent();
15+
16+
MainPage = new MainPage();
17+
}
18+
}
Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
<Project Sdk="Microsoft.NET.Sdk.Razor">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net8.0-android</TargetFramework>
5+
<!-- <TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks> -->
6+
<!-- <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks> -->
7+
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
8+
<!-- <TargetFrameworks>$(TargetFrameworks);net8.0-tizen</TargetFrameworks> -->
9+
<OutputType>Exe</OutputType>
10+
<RootNamespace>Blazor_MAUI_Demos</RootNamespace>
11+
<UseMaui>true</UseMaui>
12+
<SingleProject>true</SingleProject>
13+
<ImplicitUsings>enable</ImplicitUsings>
14+
<DefineConstants>NET7_MAUI;MAUI</DefineConstants>
15+
16+
<!-- Display name -->
17+
<ApplicationTitle>Blazor MAUI Demos</ApplicationTitle>
18+
19+
<!-- App Identifier -->
20+
<ApplicationId>com.syncfusion.blazor_maui_demos</ApplicationId>
21+
<ApplicationIdGuid>8dbb3e6d-c5ae-45f1-ac83-b92cab89db60</ApplicationIdGuid>
22+
23+
<!-- Versions -->
24+
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
25+
<ApplicationVersion>1</ApplicationVersion>
26+
27+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
28+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>
29+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">24.0</SupportedOSPlatformVersion>
30+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
31+
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
32+
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
33+
34+
<AndroidApplication>True</AndroidApplication>
35+
<AndroidPackageFormat>apk</AndroidPackageFormat>
36+
<AndroidUseAapt2>True</AndroidUseAapt2>
37+
<AndroidCreatePackagePerAbi>true</AndroidCreatePackagePerAbi>
38+
</PropertyGroup>
39+
40+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
41+
<RunAOTCompilation>False</RunAOTCompilation>
42+
<PublishTrimmed>False</PublishTrimmed>
43+
</PropertyGroup>
44+
45+
<ItemGroup>
46+
<!-- App Icon -->
47+
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />
48+
49+
<!-- Splash Screen -->
50+
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />
51+
52+
<!-- Images -->
53+
<MauiImage Include="Resources\Images\*" />
54+
<MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" />
55+
56+
<!-- Custom Fonts -->
57+
<MauiFont Include="Resources\Fonts\*" />
58+
59+
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
60+
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
61+
</ItemGroup>
62+
63+
<ItemGroup>
64+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
65+
<PackageReference Include="Microsoft.Extensions.Localization" Version="8.0.0" />
66+
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
67+
<PackageReference Include="Markdig" Version="0.23.0" />
68+
<PackageReference Include="Syncfusion.Blazor.Themes" Version="24.1.41" />
69+
<PackageReference Include="Syncfusion.Blazor.Buttons" Version="24.1.41" />
70+
<PackageReference Include="Syncfusion.Blazor.DataForm" Version="24.1.41" />
71+
<PackageReference Include="Syncfusion.Blazor.Cards" Version="24.1.41" />
72+
<PackageReference Include="Syncfusion.Blazor.Spinner" Version="24.1.41" />
73+
<PackageReference Include="Syncfusion.Blazor.BarcodeGenerator" Version="24.1.41" />
74+
<PackageReference Include="Syncfusion.Blazor.CircularGauge" Version="24.1.41" />
75+
<PackageReference Include="Syncfusion.Blazor.LinearGauge" Version="24.1.41" />
76+
<PackageReference Include="Syncfusion.Blazor.Notifications" Version="24.1.41" />
77+
<PackageReference Include="Syncfusion.Blazor.Popups" Version="24.1.41" />
78+
<PackageReference Include="Syncfusion.Blazor.SplitButtons" Version="24.1.41" />
79+
<PackageReference Include="Syncfusion.Blazor.Layouts" Version="24.1.41" />
80+
<PackageReference Include="Syncfusion.Blazor.Inputs" Version="24.1.41" />
81+
<PackageReference Include="Syncfusion.Blazor.Calendars" Version="24.1.41" />
82+
<PackageReference Include="Syncfusion.Blazor.Navigations" Version="24.1.41" />
83+
<PackageReference Include="Syncfusion.Blazor.Diagrams" Version="24.1.41" />
84+
<PackageReference Include="Syncfusion.Blazor.Diagram" Version="24.1.41" />
85+
<PackageReference Include="Syncfusion.Blazor.DropDowns" Version="24.1.41" />
86+
<PackageReference Include="Syncfusion.Blazor.RichTextEditor" Version="24.1.41" />
87+
<PackageReference Include="Syncfusion.Blazor.ImageEditor" Version="24.1.41" />
88+
<PackageReference Include="Syncfusion.Blazor.QueryBuilder" Version="24.1.41" />
89+
<PackageReference Include="Syncfusion.Blazor.Schedule" Version="24.1.41" />
90+
<PackageReference Include="Syncfusion.Blazor.Kanban" Version="24.1.41" />
91+
<PackageReference Include="Syncfusion.Blazor.Grid" Version="24.1.41" />
92+
<PackageReference Include="Syncfusion.Blazor.TreeGrid" Version="24.1.41" />
93+
<PackageReference Include="Syncfusion.Blazor.Gantt" Version="24.1.41" />
94+
<PackageReference Include="Syncfusion.Blazor.TreeMap" Version="24.1.41" />
95+
<PackageReference Include="Syncfusion.Blazor.FileManager" Version="24.1.41" />
96+
<PackageReference Include="Syncfusion.Blazor.HeatMap" Version="24.1.41" />
97+
<PackageReference Include="Syncfusion.Blazor.InPlaceEditor" Version="24.1.41" />
98+
<PackageReference Include="Syncfusion.Blazor.Maps" Version="24.1.41" />
99+
<PackageReference Include="Syncfusion.Blazor.ProgressBar" Version="24.1.41" />
100+
<PackageReference Include="Syncfusion.Blazor.Charts" Version="24.1.41" />
101+
<PackageReference Include="Syncfusion.Blazor.RangeNavigator" Version="24.1.41" />
102+
<PackageReference Include="Syncfusion.Blazor.StockChart" Version="24.1.41" />
103+
<PackageReference Include="Syncfusion.Blazor.BulletChart" Version="24.1.41" />
104+
<PackageReference Include="Syncfusion.Blazor.SmithChart" Version="24.1.41" />
105+
<PackageReference Include="Syncfusion.Blazor.Sparkline" Version="24.1.41" />
106+
<PackageReference Include="Syncfusion.Blazor.WordProcessor" Version="24.1.41" />
107+
<PackageReference Include="Syncfusion.Blazor.SfPdfViewer" Version="24.1.41" />
108+
<PackageReference Include="Syncfusion.Blazor.PivotTable" Version="24.1.41" />
109+
<PackageReference Include="Syncfusion.Licensing" Version="24.1.41" />
110+
<PackageReference Include="Syncfusion.Presentation.Net.Core" Version="24.1.41" />
111+
<PackageReference Include="Syncfusion.PresentationRenderer.Net.Core" Version="24.1.41" />
112+
<PackageReference Include="Syncfusion.DocIO.Net.Core" Version="24.1.41" />
113+
<PackageReference Include="Syncfusion.DocIORenderer.Net.Core" Version="24.1.41" />
114+
<PackageReference Include="Syncfusion.Pdf.Imaging.Net.Core" Version="24.1.41" />
115+
<PackageReference Include="Syncfusion.XlsIO.Net.Core" Version="24.1.41" />
116+
<PackageReference Include="Syncfusion.XlsIORenderer.Net.Core" Version="24.1.41" />
117+
<PackageReference Include="Syncfusion.Pdf.Net.Core" Version="24.1.41" />
118+
</ItemGroup>
119+
120+
<ItemGroup>
121+
<None Include="Pages\**" CopyToOutputDirectory="Always" />
122+
</ItemGroup>
123+
124+
<ItemGroup>
125+
<Content Remove="Pages\DiagramComponent\DiagramComponent\KeyboardInteraction.razor" />
126+
<Content Remove="Pages\DiagramComponent\DiagramComponent\PrintSample.razor" />
127+
</ItemGroup>
128+
129+
<ItemGroup>
130+
<None Remove="Pages\DiagramComponent\DiagramComponent\KeyboardInteraction.razor" />
131+
<None Remove="Pages\DiagramComponent\DiagramComponent\PrintSample.razor" />
132+
</ItemGroup>
133+
134+
<ItemGroup>
135+
<Folder Include="wwwroot\data\pdfviewer2" />
136+
</ItemGroup>
137+
138+
<ItemGroup>
139+
<EmbeddedResource Include="wwwroot\data\rangenavigator\default-data.json" />
140+
<EmbeddedResource Include="wwwroot\data\rangenavigator\axes-data.json" />
141+
<EmbeddedResource Include="wwwroot\data\rangenavigator\chart-data.json" />
142+
<EmbeddedResource Include="wwwroot\data\rangenavigator\double-data-aus.json" />
143+
<EmbeddedResource Include="wwwroot\data\rangenavigator\double-data-sl.json" />
144+
<EmbeddedResource Include="wwwroot\data\rangenavigator\employee-data.json" />
145+
<EmbeddedResource Include="wwwroot\data\rangenavigator\export-data.json" />
146+
<EmbeddedResource Include="wwwroot\data\rangenavigator\financial-data.json" />
147+
<EmbeddedResource Include="wwwroot\data\rangenavigator\period-data.json" />
148+
<EmbeddedResource Include="wwwroot\data\rangenavigator\stock-data.json" />
149+
<EmbeddedResource Include="wwwroot\data\stockchart\aapl.json" />
150+
<EmbeddedResource Include="wwwroot\data\stockchart\amzn.json" />
151+
<EmbeddedResource Include="wwwroot\data\stockchart\chart-data.json" />
152+
<EmbeddedResource Include="wwwroot\data\stockchart\financial-stock-chart-data.json" />
153+
<EmbeddedResource Include="wwwroot\data\stockchart\goog.json" />
154+
<EmbeddedResource Include="wwwroot\data\stockchart\googl.json" />
155+
<EmbeddedResource Include="wwwroot\data\chart\annotation-data.json" />
156+
<EmbeddedResource Include="wwwroot\data\chart\financial-data.json" />
157+
<EmbeddedResource Include="wwwroot\data\chart\rainfall-data.json" />
158+
<EmbeddedResource Include="wwwroot\data\chart\range-data.json" />
159+
<EmbeddedResource Include="wwwroot\data\chart\stock-chart-data.json" />
160+
<EmbeddedResource Include="wwwroot\data\chart\synchronized-data.json" />
161+
<EmbeddedResource Include="wwwroot\data\pdfviewer2\pdf-succinctly.pdf" />
162+
<EmbeddedResource Include="wwwroot\data\pdfviewer2\hive-succinctly.pdf" />
163+
<EmbeddedResource Include="wwwroot\data\pdfviewer2\invisible-digital-signature.pdf" />
164+
<EmbeddedResource Include="wwwroot\data\pdfviewer2\form-filling-document.pdf" />
165+
<EmbeddedResource Include="wwwroot\data\pdfviewer2\hand-written-signature.pdf" />
166+
<EmbeddedResource Include="wwwroot\data\pdfviewer2\annotations.pdf" />
167+
</ItemGroup>
168+
169+
</Project>
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
#region Copyright Syncfusion Inc. 2001-2023.
2+
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
3+
// Use of this code is subject to the terms of our license.
4+
// A copy of the current license can be obtained at any time by e-mailing
5+
// licensing@syncfusion.com. Any infringement will be prosecuted under
6+
// applicable laws.
7+
#endregion
8+
using System.Collections.Generic;
9+
using System.Runtime.Serialization;
10+
using System.Text.Json.Serialization;
11+
12+
namespace Blazor_MAUI_Demos
13+
{
14+
public class SampleListType
15+
{
16+
public List<SampleListType> SourceData { get; set; }
17+
public string Name { get; set; }
18+
[JsonConverter(typeof(JsonStringEnumConverter))]
19+
public SampleType Type { get; set; }
20+
public List<Sample> Samples { get; set; }
21+
public string DemoPath { get; set; }
22+
public string Category { get; set; }
23+
public string InfoTooltip { get; set; }
24+
public bool IsHide { get; set; }
25+
}
26+
27+
public class SampleList
28+
{
29+
public string Name { get; set; }
30+
public string Directory { get; set; }
31+
public string Category { get; set; }
32+
[JsonConverter(typeof(JsonStringEnumConverter))]
33+
public SampleType Type { get; set; }
34+
public List<Sample> Samples { get; set; } = new List<Sample>();
35+
public string ControllerName { get; set; }
36+
public string DemoPath { get; set; }
37+
public bool IsPreview { get; set; }
38+
public string CustomDocLink { get; set; }
39+
public bool IsHideFromHomePageList { get; set; }
40+
public bool IsHide { get; set; }
41+
public string InfoTooltip { get; set; }
42+
public string ComponentIconName { get; set; }
43+
public string[] NotificationDescription { get; set; }
44+
}
45+
46+
public class Sample
47+
{
48+
public string Name { get; set; }
49+
public string Directory { get; set; }
50+
public string Category { get; set; }
51+
public string FileName { get; set; }
52+
public string Url { get; set; }
53+
public string MappingSampleName { get; set; }
54+
public string MetaTitle { get; set; }
55+
public string MetaDescription { get; set; }
56+
public string HeaderText { get; set; }
57+
public List<SourceCollection> SourceFiles { get; set; } = new List<SourceCollection>();
58+
[JsonConverter(typeof(JsonStringEnumConverter))]
59+
public SampleType Type { get; set; }
60+
public string[] NotificationDescription { get; set; }
61+
public bool IsHideInMobile { get; set; }
62+
}
63+
64+
public class SourceCollection
65+
{
66+
public string FileName { get; set; }
67+
public string Id { get; set; }
68+
}
69+
70+
internal static class SampleBrowser
71+
{
72+
public static List<SampleList> SampleList { get; set; } = new List<SampleList>();
73+
internal static List<string> SampleUrls = new List<string>();
74+
internal static SampleConfig Config { get; set; } = new SampleConfig();
75+
internal static List<string> PreLoadFiles = new List<string>()
76+
{
77+
"_content/styles/common/fonts/open-sans-700.woff2",
78+
"_content/styles/common/fonts/open-sans-regular.woff2"
79+
};
80+
}
81+
82+
[JsonConverter(typeof(JsonStringEnumConverter))]
83+
public enum SampleType
84+
{
85+
[EnumMember(Value = "none")]
86+
None,
87+
[EnumMember(Value = "new")]
88+
New,
89+
[EnumMember(Value = "updated")]
90+
Updated,
91+
[EnumMember(Value = "preview")]
92+
Preview
93+
}
94+
}

Blazor-MAUI-Demos/Main.razor

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<Router AppAssembly="@typeof(Main).Assembly">
2+
<Found Context="routeData">
3+
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
4+
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
5+
</Found>
6+
<NotFound>
7+
<LayoutView Layout="@typeof(MainLayout)">
8+
<p role="alert">Sorry, there's nothing at this address.</p>
9+
</LayoutView>
10+
</NotFound>
11+
</Router>

Blazor-MAUI-Demos/MainPage.xaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4+
xmlns:local="clr-namespace:Blazor_MAUI_Demos"
5+
x:Class="Blazor_MAUI_Demos.MainPage"
6+
BackgroundColor="{DynamicResource PageBackgroundColor}">
7+
8+
<BlazorWebView x:Name ="indexFile" HostPage="wwwroot/index.html">
9+
<BlazorWebView.RootComponents>
10+
<RootComponent Selector="#app" ComponentType="{x:Type local:Main}" />
11+
</BlazorWebView.RootComponents>
12+
</BlazorWebView>
13+
14+
</ContentPage>

Blazor-MAUI-Demos/MainPage.xaml.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#region Copyright Syncfusion Inc. 2001-2023.
2+
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
3+
// Use of this code is subject to the terms of our license.
4+
// A copy of the current license can be obtained at any time by e-mailing
5+
// licensing@syncfusion.com. Any infringement will be prosecuted under
6+
// applicable laws.
7+
#endregion
8+
namespace Blazor_MAUI_Demos;
9+
10+
public partial class MainPage : ContentPage
11+
{
12+
public MainPage()
13+
{
14+
InitializeComponent();
15+
}
16+
}

0 commit comments

Comments
 (0)