diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..63bb3a8 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,33 @@ +root = true + +[*] +end_of_line = crlf +tab_width = 4 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.xml] +indent_style = tab + +[*.xaml] +indent_style = tab + +[{*.cs, *.ts}] +indent_style = tab + +[*.json] +indent_style = tab + +[*.*proj] +indent_style = tab +tab_width = 2 +indent_size = 2 + +[*.js] +indent_style = space + +[*.yml] +indent_style = space + +[*.md] +indent_style = space diff --git a/.gitignore b/.gitignore index 01940b2..b067d18 100644 --- a/.gitignore +++ b/.gitignore @@ -25,8 +25,7 @@ bld/ # Visual Studio 2015 cache/options directory .vs/ # Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ -**/wwwroot/playground +wwwroot # MSTest test Results [Tt]est[Rr]esult*/ @@ -153,7 +152,7 @@ publish/ PublishScripts/ # NuGet Packages -#*.nupkg +*.nupkg # The packages folder can be ignored because of Package Restore **/packages/* # except build/, which is used as an MSBuild target. @@ -259,4 +258,4 @@ paket-files/ # Python Tools for Visual Studio (PTVS) __pycache__/ -*.pyc \ No newline at end of file +*.pyc diff --git a/NugetPackages/universalimageloader.1.9.5.8565.nupkg b/NugetPackages/universalimageloader.1.9.5.8565.nupkg deleted file mode 100644 index 4f47a05..0000000 Binary files a/NugetPackages/universalimageloader.1.9.5.8565.nupkg and /dev/null differ diff --git a/Uno.UI.Demo.AspnetShell/Controllers/HomeController.cs b/Uno.UI.Demo.AspnetShell/Controllers/HomeController.cs deleted file mode 100644 index 69523c8..0000000 --- a/Uno.UI.Demo.AspnetShell/Controllers/HomeController.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Mvc; -using Uno.UI.Demo.AspnetShell.Models; - -namespace Uno.UI.Demo.AspnetShell.Controllers -{ - public class HomeController : Controller - { - public IActionResult Index() - { - return View(); - } - - public IActionResult Error() - { - return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier }); - } - } -} diff --git a/Uno.UI.Demo.AspnetShell/Models/ErrorViewModel.cs b/Uno.UI.Demo.AspnetShell/Models/ErrorViewModel.cs deleted file mode 100644 index 0760e8a..0000000 --- a/Uno.UI.Demo.AspnetShell/Models/ErrorViewModel.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace Uno.UI.Demo.AspnetShell.Models -{ - public class ErrorViewModel - { - public string RequestId { get; set; } - - public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); - } -} \ No newline at end of file diff --git a/Uno.UI.Demo.AspnetShell/Program.cs b/Uno.UI.Demo.AspnetShell/Program.cs deleted file mode 100644 index 491613f..0000000 --- a/Uno.UI.Demo.AspnetShell/Program.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore; -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Logging; - -namespace Uno.UI.Demo.AspnetShell -{ - public class Program - { - public static void Main(string[] args) - { - BuildWebHost(args).Run(); - } - - public static IWebHost BuildWebHost(string[] args) => - WebHost.CreateDefaultBuilder(args) - .UseStartup() - .Build(); - } -} diff --git a/Uno.UI.Demo.AspnetShell/Views/Home/Index.cshtml b/Uno.UI.Demo.AspnetShell/Views/Home/Index.cshtml deleted file mode 100644 index d625cfd..0000000 --- a/Uno.UI.Demo.AspnetShell/Views/Home/Index.cshtml +++ /dev/null @@ -1 +0,0 @@ -Playground... diff --git a/Uno.UI.Demo.AspnetShell/Views/Shared/Error.cshtml b/Uno.UI.Demo.AspnetShell/Views/Shared/Error.cshtml deleted file mode 100644 index ec2ea6b..0000000 --- a/Uno.UI.Demo.AspnetShell/Views/Shared/Error.cshtml +++ /dev/null @@ -1,22 +0,0 @@ -@model ErrorViewModel -@{ - ViewData["Title"] = "Error"; -} - -

Error.

-

An error occurred while processing your request.

- -@if (Model.ShowRequestId) -{ -

- Request ID: @Model.RequestId -

-} - -

Development Mode

-

- Swapping to Development environment will display more detailed information about the error that occurred. -

-

- Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application. -

diff --git a/Uno.UI.Demo.AspnetShell/Views/Shared/_Layout.cshtml b/Uno.UI.Demo.AspnetShell/Views/Shared/_Layout.cshtml deleted file mode 100644 index e4fdad2..0000000 --- a/Uno.UI.Demo.AspnetShell/Views/Shared/_Layout.cshtml +++ /dev/null @@ -1,29 +0,0 @@ -@using System.Reflection -@using Microsoft.DotNet.PlatformAbstractions -@{ - var version = typeof(Program) - .GetTypeInfo() - .Assembly - .GetCustomAttribute() - ?.Version - ?? "0.0-dev"; -} - - - - - - @ViewData["Title"]Uno - - - - - - - - - @RenderBody() - - @RenderSection("Scripts", required: false) - - diff --git a/Uno.UI.Demo.AspnetShell/Views/Shared/_ValidationScriptsPartial.cshtml b/Uno.UI.Demo.AspnetShell/Views/Shared/_ValidationScriptsPartial.cshtml deleted file mode 100644 index a699aaf..0000000 --- a/Uno.UI.Demo.AspnetShell/Views/Shared/_ValidationScriptsPartial.cshtml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - diff --git a/Uno.UI.Demo.AspnetShell/Views/_ViewImports.cshtml b/Uno.UI.Demo.AspnetShell/Views/_ViewImports.cshtml deleted file mode 100644 index 210d6bd..0000000 --- a/Uno.UI.Demo.AspnetShell/Views/_ViewImports.cshtml +++ /dev/null @@ -1,3 +0,0 @@ -@using Uno.UI.Demo.AspnetShell -@using Uno.UI.Demo.AspnetShell.Models -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/Uno.UI.Demo.AspnetShell/Views/_ViewStart.cshtml b/Uno.UI.Demo.AspnetShell/Views/_ViewStart.cshtml deleted file mode 100644 index a5f1004..0000000 --- a/Uno.UI.Demo.AspnetShell/Views/_ViewStart.cshtml +++ /dev/null @@ -1,3 +0,0 @@ -@{ - Layout = "_Layout"; -} diff --git a/Uno.UI.Demo.AspnetShell/wwwroot/favicon.ico b/Uno.UI.Demo.AspnetShell/wwwroot/favicon.ico deleted file mode 100644 index 664023c..0000000 Binary files a/Uno.UI.Demo.AspnetShell/wwwroot/favicon.ico and /dev/null differ diff --git a/Uno.UI.Demo.AspnetShell/wwwroot/googlebbe0bf0f35d3c279.html b/Uno.UI.Demo.AspnetShell/wwwroot/googlebbe0bf0f35d3c279.html deleted file mode 100644 index 0d9a427..0000000 --- a/Uno.UI.Demo.AspnetShell/wwwroot/googlebbe0bf0f35d3c279.html +++ /dev/null @@ -1 +0,0 @@ -google-site-verification: googlebbe0bf0f35d3c279.html \ No newline at end of file diff --git a/Uno.UI.Demo.AspnetShell/wwwroot/images/favicon16.png b/Uno.UI.Demo.AspnetShell/wwwroot/images/favicon16.png deleted file mode 100644 index 1781dda..0000000 Binary files a/Uno.UI.Demo.AspnetShell/wwwroot/images/favicon16.png and /dev/null differ diff --git a/Uno.UI.Demo.AspnetShell/wwwroot/images/favicon24.png b/Uno.UI.Demo.AspnetShell/wwwroot/images/favicon24.png deleted file mode 100644 index b433714..0000000 Binary files a/Uno.UI.Demo.AspnetShell/wwwroot/images/favicon24.png and /dev/null differ diff --git a/Uno.UI.Demo.AspnetShell/wwwroot/images/favicon256.png b/Uno.UI.Demo.AspnetShell/wwwroot/images/favicon256.png deleted file mode 100644 index 4080d52..0000000 Binary files a/Uno.UI.Demo.AspnetShell/wwwroot/images/favicon256.png and /dev/null differ diff --git a/Uno.UI.Demo.AspnetShell/wwwroot/images/favicon32.png b/Uno.UI.Demo.AspnetShell/wwwroot/images/favicon32.png deleted file mode 100644 index e786487..0000000 Binary files a/Uno.UI.Demo.AspnetShell/wwwroot/images/favicon32.png and /dev/null differ diff --git a/Uno.UI.Demo.AspnetShell/wwwroot/images/favicon48.png b/Uno.UI.Demo.AspnetShell/wwwroot/images/favicon48.png deleted file mode 100644 index c9bcac2..0000000 Binary files a/Uno.UI.Demo.AspnetShell/wwwroot/images/favicon48.png and /dev/null differ diff --git a/Uno.UI.Demo.Shared/Samples/Animations.xaml b/Uno.UI.Demo.Shared/Samples/Animations.xaml deleted file mode 100644 index e8e135d..0000000 --- a/Uno.UI.Demo.Shared/Samples/Animations.xaml +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + VerticalAlignment="Center" + wasm:Visibility="Collapsed" /> + + + + + + + VerticalAlignment="Center" + FontWeight="Bold" + Margin="16,12" + Foreground="{StaticResource Color08Brush}" /> -