-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce core project and new infrastructor
- Loading branch information
Showing
670 changed files
with
3,332 additions
and
3,378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/UI/Attributes/FieldCompareAttribute.cs → ....Core/Attributes/FieldCompareAttribute.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 1 addition & 4 deletions
5
src/UI/Converters/AllTrueValueConverter.cs → ....Core/Converters/AllTrueValueConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Converters/BoolToOpacityValueConverter.cs → ...Converters/BoolToOpacityValueConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ateTimeToSimpleDateTimeStringConverter.cs → ...ateTimeToSimpleDateTimeStringConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nverters/HexToSolidColorBrushConverter.cs → ...nverters/HexToSolidColorBrushConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace MAUIsland; | ||
namespace MAUIsland.Core; | ||
|
||
public class HexToSolidColorBrushConverter : IValueConverter | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
.../Converters/ImageSourceToBoolConverter.cs → .../Converters/ImageSourceToBoolConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace MAUIsland; | ||
namespace MAUIsland.Core; | ||
|
||
public class ImageSourceToBoolConverter : IValueConverter | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
...ers/LineBreakModeEnumToStringConverter.cs → ...ers/LineBreakModeEnumToStringConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/UI/Converters/RatioValueConverter.cs → ...nd.Core/Converters/RatioValueConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace MAUIsland; | ||
namespace MAUIsland.Core; | ||
|
||
public class RatioValueConverter : IValueConverter | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
...verters/StringTernaryOperatorConverter.cs → ...verters/StringTernaryOperatorConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/UI/Converters/StringToColorConverter.cs → ...Core/Converters/StringToColorConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace MAUIsland; | ||
namespace MAUIsland.Core; | ||
|
||
public class StringToColorConverter : IValueConverter | ||
{ | ||
|
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...UI/Helpers/FormattedStringFormatHelper.cs → ...re/Helpers/FormattedStringFormatHelper.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/UI/Helpers/ServiceHelper.cs → ...e/MAUIsland.Core/Helpers/ServiceHelper.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/UI/Icons/FluentUIIcon.cs → ...Core/MAUIsland.Core/Icons/FluentUIIcon.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks> | ||
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks> | ||
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET --> | ||
<!-- <TargetFrameworks>$(TargetFrameworks);net8.0-tizen</TargetFrameworks> --> | ||
<UseMaui>true</UseMaui> | ||
<SingleProject>true</SingleProject> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
|
||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> | ||
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> | ||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="AcrylicView.Maui" Version="2.1.3" /> | ||
<PackageReference Include="ColorCode.Core" Version="2.0.15" /> | ||
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" /> | ||
<PackageReference Include="CommunityToolkit.Maui.Core" Version="7.0.1" /> | ||
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" /> | ||
<PackageReference Include="CommunityToolkit.Maui.MediaElement" Version="3.1.0" /> | ||
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.10" /> | ||
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.10" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.0.31903.59 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MAUIsland.Core", "MAUIsland.Core.csproj", "{F17849CD-1322-4054-AEFC-BEFE0E1C5409}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{F17849CD-1322-4054-AEFC-BEFE0E1C5409}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{F17849CD-1322-4054-AEFC-BEFE0E1C5409}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{F17849CD-1322-4054-AEFC-BEFE0E1C5409}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{F17849CD-1322-4054-AEFC-BEFE0E1C5409}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
2 changes: 1 addition & 1 deletion
2
...I/MarkupExtensions/EdgeInsetsExtension.cs → ...e/MarkupExtensions/EdgeInsetsExtension.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace MAUIsland.Core | ||
{ | ||
// All the code in this file is only included on Android. | ||
public class PlatformClass1 | ||
{ | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
src/Core/MAUIsland.Core/Platforms/MacCatalyst/PlatformClass1.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace MAUIsland.Core | ||
{ | ||
// All the code in this file is only included on Mac Catalyst. | ||
public class PlatformClass1 | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using System; | ||
|
||
namespace MAUIsland.Core | ||
{ | ||
// All the code in this file is only included on Tizen. | ||
public class PlatformClass1 | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace MAUIsland.Core | ||
{ | ||
// All the code in this file is only included on Windows. | ||
public class PlatformClass1 | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace MAUIsland.Core | ||
{ | ||
// All the code in this file is only included on iOS. | ||
public class PlatformClass1 | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using CommunityToolkit.Maui; | ||
using CommunityToolkit.Maui.Core; | ||
using Xe.AcrylicView; | ||
|
||
namespace MAUIsland.Core; | ||
|
||
public static class ServicesExtension | ||
{ | ||
public static MauiAppBuilder InitCore(this MauiAppBuilder builder) | ||
{ | ||
builder.UseAcrylicView(); | ||
builder.UseMauiCommunityToolkit(); | ||
builder.UseMauiCommunityToolkitCore(); | ||
builder.UseMauiCommunityToolkitMediaElement(); | ||
return builder; | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
src/Utils/MVVM/BaseFormModel.cs → ...AUIsland.Core/Utils/MVVM/BaseFormModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace MAUIsland; | ||
namespace MAUIsland.Core; | ||
|
||
public abstract class BaseFormModel : ObservableValidator | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
src/Utils/MVVM/BaseModel.cs → ...re/MAUIsland.Core/Utils/MVVM/BaseModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace MAUIsland; | ||
namespace MAUIsland.Core; | ||
|
||
public partial class BaseModel : ObservableObject | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
src/Utils/MVVM/BasePage.cs → ...ore/MAUIsland.Core/Utils/MVVM/BasePage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace MAUIsland; | ||
namespace MAUIsland.Core; | ||
|
||
public class BasePage : ContentPage | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
namespace MAUIsland.Core; | ||
|
||
public class BasePopup : BasePage { } |
2 changes: 1 addition & 1 deletion
2
src/Utils/MVVM/BaseViewModel.cs → ...AUIsland.Core/Utils/MVVM/BaseViewModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Utils/Navigation/IAppNavigator.cs → ...nd.Core/Utils/Navigation/IAppNavigator.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace MAUIsland; | ||
namespace MAUIsland.Core; | ||
|
||
public interface IAppNavigator | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
...avigation/NavigationAwareBaseViewModel.cs → ...avigation/NavigationAwareBaseViewModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Utils/Navigation/UriHelper.cs → ...Island.Core/Utils/Navigation/UriHelper.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace MAUIsland; | ||
namespace MAUIsland.Core; | ||
|
||
public static class UriHelper | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
src/UI/Views/DesignSystem/AppColors.cs → ...land.Core/Views/DesignSystem/AppColors.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace MAUIsland; | ||
namespace MAUIsland.Core; | ||
|
||
public static class AppColors | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
src/UI/Views/DesignSystem/AppConverters.cs → ....Core/Views/DesignSystem/AppConverters.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/UI/Views/DesignSystem/Dimensions.cs → ...and.Core/Views/DesignSystem/Dimensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace MAUIsland; | ||
namespace MAUIsland.Core; | ||
|
||
public static class Dimensions | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
src/UI/Views/DesignSystem/FontNames.cs → ...land.Core/Views/DesignSystem/FontNames.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace MAUIsland; | ||
namespace MAUIsland.Core; | ||
|
||
public static class FontNames | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
src/UI/Views/DesignSystem/Styles.cs → ...UIsland.Core/Views/DesignSystem/Styles.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.