From c326b234316c6e32eb8778a996f4ab0c1ea5a93e Mon Sep 17 00:00:00 2001 From: Henrique Clausing Date: Thu, 17 Nov 2022 17:16:35 -0300 Subject: [PATCH 1/7] =?UTF-8?q?Prepara=C3=A7=C3=A3o=20para=20compatibilida?= =?UTF-8?q?de=20com=20.NET=207.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EficazFramework.Collections.csproj | 8 +++---- .../EficazFramework.Data.csproj | 23 +++++++++++++------ .../EficazFramework.Expressions.csproj | 8 +++---- .../EficazFramework.Utilities.csproj | 20 +++++++++++----- .../EficazFramework.Data.InMemory.csproj | 17 ++++++++++---- .../EficazFramework.Data.MsSqlServer.csproj | 18 +++++++++++---- .../EficazFramework.Data.MySql.csproj | 17 ++++++++++---- .../EficazFramework.Data.SqlLite.csproj | 17 ++++++++++---- .../EficazFramework.WPF.csproj | 8 +++---- .../EficazFramework.Tests.csproj | 6 ++--- .../EficazFramework.Tests.WPF.Views.csproj | 2 +- .../EficazFramework.Tests.WPF.csproj | 6 ++--- ...Framework.Tests.Generators.Metadata.csproj | 2 +- .../EficazFramework.Tests.Generators.csproj | 2 +- .../EficazFramework.Tests.Blazor.Views.csproj | 2 +- .../Pages/Components/Input/Styles.razor | 4 ++++ .../EficazFramework.Tests.Blazor.csproj | 16 +++++++++---- .../EficazFramework.Blazor.csproj | 10 ++++---- 18 files changed, 122 insertions(+), 64 deletions(-) diff --git a/src/Core/EficazFramework.Collections/EficazFramework.Collections.csproj b/src/Core/EficazFramework.Collections/EficazFramework.Collections.csproj index 518c05ca..ce05ee20 100644 --- a/src/Core/EficazFramework.Collections/EficazFramework.Collections.csproj +++ b/src/Core/EficazFramework.Collections/EficazFramework.Collections.csproj @@ -1,10 +1,10 @@ - net6.0 - 6.0.0 - 6.0.0.0 - 6.0.0.0 + net6.0;net7.0 + 6.1.0 + 6.1.0.0 + 6.1.0.0 EficazFramework true EfCore.snk diff --git a/src/Core/EficazFramework.Data/EficazFramework.Data.csproj b/src/Core/EficazFramework.Data/EficazFramework.Data.csproj index ab62feeb..32f0a534 100644 --- a/src/Core/EficazFramework.Data/EficazFramework.Data.csproj +++ b/src/Core/EficazFramework.Data/EficazFramework.Data.csproj @@ -1,10 +1,10 @@ - net6.0 - 6.0.0 - 6.0.0.0 - 6.0.0.0 + net6.0;net7.0 + 6.1.0 + 6.1.0.0 + 6.1.0.0 EficazFramework true EfCore.snk @@ -98,9 +98,18 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + + + + + + + + + + diff --git a/src/Core/EficazFramework.Expressions/EficazFramework.Expressions.csproj b/src/Core/EficazFramework.Expressions/EficazFramework.Expressions.csproj index 3c71e76c..7a328472 100644 --- a/src/Core/EficazFramework.Expressions/EficazFramework.Expressions.csproj +++ b/src/Core/EficazFramework.Expressions/EficazFramework.Expressions.csproj @@ -1,10 +1,10 @@ - net6.0 - 6.0.0 - 6.0.0.0 - 6.0.0.0 + net6.0;net7.0 + 6.1.0 + 6.1.0.0 + 6.1.0.0 EficazFramework true EfCore.snk diff --git a/src/Core/EficazFramework.Utilities/EficazFramework.Utilities.csproj b/src/Core/EficazFramework.Utilities/EficazFramework.Utilities.csproj index 2d4a9652..d8a0eb60 100644 --- a/src/Core/EficazFramework.Utilities/EficazFramework.Utilities.csproj +++ b/src/Core/EficazFramework.Utilities/EficazFramework.Utilities.csproj @@ -1,10 +1,10 @@ - net6.0 - 6.0.0 - 6.0.0.0 - 6.0.0.0 + net6.0;net7.0 + 6.1.0 + 6.1.0.0 + 6.1.0.0 EficazFramework Eficaz Sistemas Eficaz Sistemas de Gestão e Inteligência Tributária @@ -59,10 +59,18 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + + + + + + + + + True diff --git a/src/DataProviders/EficazFramework.Data.InMemory/EficazFramework.Data.InMemory.csproj b/src/DataProviders/EficazFramework.Data.InMemory/EficazFramework.Data.InMemory.csproj index 39f7845f..33724b5c 100644 --- a/src/DataProviders/EficazFramework.Data.InMemory/EficazFramework.Data.InMemory.csproj +++ b/src/DataProviders/EficazFramework.Data.InMemory/EficazFramework.Data.InMemory.csproj @@ -1,10 +1,10 @@ - net6.0 - 6.0.0 - 6.0.0.0 - 6.0.0.0 + net6.0;net7.0 + 6.1.0 + 6.1.0.0 + 6.1.0.0 EficazFramework true EfCore.snk @@ -64,9 +64,16 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + + + + + + + + diff --git a/src/DataProviders/EficazFramework.Data.MsSqlServer/EficazFramework.Data.MsSqlServer.csproj b/src/DataProviders/EficazFramework.Data.MsSqlServer/EficazFramework.Data.MsSqlServer.csproj index 66945a87..945addd6 100644 --- a/src/DataProviders/EficazFramework.Data.MsSqlServer/EficazFramework.Data.MsSqlServer.csproj +++ b/src/DataProviders/EficazFramework.Data.MsSqlServer/EficazFramework.Data.MsSqlServer.csproj @@ -1,10 +1,10 @@  - net6.0 - 6.0.0 - 6.0.0.0 - 6.0.0.0 + net6.0;net7.0 + 6.1.0 + 6.1.0.0 + 6.1.0.0 EficazFramework true EfCore.snk @@ -64,8 +64,16 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + + + + + + + + + diff --git a/src/DataProviders/EficazFramework.Data.MySql/EficazFramework.Data.MySql.csproj b/src/DataProviders/EficazFramework.Data.MySql/EficazFramework.Data.MySql.csproj index 405ae772..67776dc7 100644 --- a/src/DataProviders/EficazFramework.Data.MySql/EficazFramework.Data.MySql.csproj +++ b/src/DataProviders/EficazFramework.Data.MySql/EficazFramework.Data.MySql.csproj @@ -1,10 +1,10 @@ - net6.0 - 6.0.0 - 6.0.0.0 - 6.0.0.0 + net6.0;net7.0 + 6.1.0 + 6.1.0.0 + 6.1.0.0 EficazFramework true EfCore.snk @@ -62,7 +62,14 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + + + + + + + + diff --git a/src/DataProviders/EficazFramework.Data.SqlLite/EficazFramework.Data.SqlLite.csproj b/src/DataProviders/EficazFramework.Data.SqlLite/EficazFramework.Data.SqlLite.csproj index f8504764..5ce378a7 100644 --- a/src/DataProviders/EficazFramework.Data.SqlLite/EficazFramework.Data.SqlLite.csproj +++ b/src/DataProviders/EficazFramework.Data.SqlLite/EficazFramework.Data.SqlLite.csproj @@ -1,10 +1,10 @@ - net6.0 - 6.0.0 - 6.0.0.0 - 6.0.0.0 + net6.0;net7.0 + 6.1.0 + 6.1.0.0 + 6.1.0.0 EficazFramework true EfCore.snk @@ -56,7 +56,14 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + + + + + + + + diff --git a/src/Desktop/EficazFramework.WPF/EficazFramework.WPF.csproj b/src/Desktop/EficazFramework.WPF/EficazFramework.WPF.csproj index d4c692bd..dbf1987d 100644 --- a/src/Desktop/EficazFramework.WPF/EficazFramework.WPF.csproj +++ b/src/Desktop/EficazFramework.WPF/EficazFramework.WPF.csproj @@ -1,11 +1,11 @@  - net6.0-windows + net6.0-windows;net7.0-windows true - 6.0.0 - 6.0.0.0 - 6.0.0.0 + 6.1.0 + 6.1.0.0 + 6.1.0.0 EficazFramework Eficaz Sistemas Eficaz Sistemas de Gestão e Inteligência Tributária diff --git a/src/Tests/Core/EficazFramework.Tests/EficazFramework.Tests.csproj b/src/Tests/Core/EficazFramework.Tests/EficazFramework.Tests.csproj index eb99c61d..fb443a08 100644 --- a/src/Tests/Core/EficazFramework.Tests/EficazFramework.Tests.csproj +++ b/src/Tests/Core/EficazFramework.Tests/EficazFramework.Tests.csproj @@ -1,11 +1,11 @@ - + - net6.0 + net6.0;net7.0 false - 6.0.0-preview010 + 6.1.0 Biblioteca de testes da Eficaz Framework Core. diff --git a/src/Tests/Desktop/EficazFramework.Tests.WPF.Views/EficazFramework.Tests.WPF.Views.csproj b/src/Tests/Desktop/EficazFramework.Tests.WPF.Views/EficazFramework.Tests.WPF.Views.csproj index 6ab8d677..8c9e9e79 100644 --- a/src/Tests/Desktop/EficazFramework.Tests.WPF.Views/EficazFramework.Tests.WPF.Views.csproj +++ b/src/Tests/Desktop/EficazFramework.Tests.WPF.Views/EficazFramework.Tests.WPF.Views.csproj @@ -2,7 +2,7 @@ WinExe - net6.0-windows + net6.0-windows;net7.0-windows enable true framework.ico diff --git a/src/Tests/Desktop/EficazFramework.Tests.WPF/EficazFramework.Tests.WPF.csproj b/src/Tests/Desktop/EficazFramework.Tests.WPF/EficazFramework.Tests.WPF.csproj index 7c08290c..2629fe37 100644 --- a/src/Tests/Desktop/EficazFramework.Tests.WPF/EficazFramework.Tests.WPF.csproj +++ b/src/Tests/Desktop/EficazFramework.Tests.WPF/EficazFramework.Tests.WPF.csproj @@ -1,10 +1,10 @@  - net6.0-windows - enable + net6.0-windows;net7.0-windows + enable false - 6.0.0-preview007-update001 + 6.1.0 Biblioteca de testes para WPF da Eficaz Framework. EficazFramework True diff --git a/src/Tests/Generators/EficazFramework.Tests.Generators.Metadata/EficazFramework.Tests.Generators.Metadata.csproj b/src/Tests/Generators/EficazFramework.Tests.Generators.Metadata/EficazFramework.Tests.Generators.Metadata.csproj index f268a84c..5149b3ea 100644 --- a/src/Tests/Generators/EficazFramework.Tests.Generators.Metadata/EficazFramework.Tests.Generators.Metadata.csproj +++ b/src/Tests/Generators/EficazFramework.Tests.Generators.Metadata/EficazFramework.Tests.Generators.Metadata.csproj @@ -1,7 +1,7 @@  - net6.0 + net6.0;net7.0 enable enable diff --git a/src/Tests/Generators/EficazFramework.Tests.Generators/EficazFramework.Tests.Generators.csproj b/src/Tests/Generators/EficazFramework.Tests.Generators/EficazFramework.Tests.Generators.csproj index d8c1dca9..8625b983 100644 --- a/src/Tests/Generators/EficazFramework.Tests.Generators/EficazFramework.Tests.Generators.csproj +++ b/src/Tests/Generators/EficazFramework.Tests.Generators/EficazFramework.Tests.Generators.csproj @@ -1,7 +1,7 @@  - net6.0 + net6.0;net7.0 enable false diff --git a/src/Tests/Web/EficazFramework.Tests.Blazor.Views/EficazFramework.Tests.Blazor.Views.csproj b/src/Tests/Web/EficazFramework.Tests.Blazor.Views/EficazFramework.Tests.Blazor.Views.csproj index aed5b10d..51bf7ad5 100644 --- a/src/Tests/Web/EficazFramework.Tests.Blazor.Views/EficazFramework.Tests.Blazor.Views.csproj +++ b/src/Tests/Web/EficazFramework.Tests.Blazor.Views/EficazFramework.Tests.Blazor.Views.csproj @@ -1,7 +1,7 @@ - net6.0 + net6.0;net7.0 enable enable diff --git a/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Components/Input/Styles.razor b/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Components/Input/Styles.razor index 827a7c1f..c809f813 100644 --- a/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Components/Input/Styles.razor +++ b/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Components/Input/Styles.razor @@ -37,6 +37,10 @@ + + + +
- net6.0 + net6.0;net7.0 enable - 6.0.0 + 6.1.0 Biblioteca de testes para Blazor da Eficaz Framework. EficazFramework True @@ -18,8 +18,6 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - - @@ -35,4 +33,14 @@ + + + + + + + + + + diff --git a/src/Web/EficazFramework.Blazor/EficazFramework.Blazor.csproj b/src/Web/EficazFramework.Blazor/EficazFramework.Blazor.csproj index d90727d3..2e04004e 100644 --- a/src/Web/EficazFramework.Blazor/EficazFramework.Blazor.csproj +++ b/src/Web/EficazFramework.Blazor/EficazFramework.Blazor.csproj @@ -1,13 +1,13 @@ - net6.0 + net6.0;net7.0 enable enable true - 6.0.0 - 6.0.0.0 - 6.0.0.0 + 6.1.0 + 6.1.0.0 + 6.1.0.0 EficazFramework Eficaz Sistemas Eficaz Sistemas de Gestão e Inteligência Tributária @@ -96,7 +96,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + From be409d81add342ca01e28312b4957fcd9c940479 Mon Sep 17 00:00:00 2001 From: Henrique Clausing Date: Sun, 20 Nov 2022 20:26:06 -0300 Subject: [PATCH 2/7] =?UTF-8?q?Prepara=C3=A7=C3=A3o=20para=20compatibilida?= =?UTF-8?q?de=20com=20.NET=207.0=20-=20fix001:=20testes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Repositories/EntityRepository.cs | 1 - .../EficazFramework.Tests/Command/Actions.cs | 4 +-- .../EficazFramework.Tests.csproj | 35 +++++++++++++------ .../Repositories/EntityRepository.cs | 16 ++++----- .../EficazFramework.Tests.WPF.Views.csproj | 2 +- .../EficazFramework.Tests.WPF.csproj | 4 +-- ...EficazFramework.Tests.DocsApiPlugin.csproj | 2 +- ...Framework.Tests.Generators.Metadata.csproj | 2 +- .../EficazFramework.Tests.Generators.csproj | 4 +-- .../EficazFramework.Tests.Blazor.csproj | 4 +-- ...EficazFramework.Tests.FakeServerApi.csproj | 2 +- 11 files changed, 45 insertions(+), 31 deletions(-) diff --git a/src/Core/EficazFramework.Data/Repositories/EntityRepository.cs b/src/Core/EficazFramework.Data/Repositories/EntityRepository.cs index 08cd8008..f10d3e3a 100644 --- a/src/Core/EficazFramework.Data/Repositories/EntityRepository.cs +++ b/src/Core/EficazFramework.Data/Repositories/EntityRepository.cs @@ -89,7 +89,6 @@ public override System.Collections.ObjectModel.ObservableCollection Fet } catch (OperationCanceledException tkex) { - Console.WriteLine(tkex.ToString()); return new System.Collections.ObjectModel.ObservableCollection(); } } diff --git a/src/Tests/Core/EficazFramework.Tests/Command/Actions.cs b/src/Tests/Core/EficazFramework.Tests/Command/Actions.cs index 46b61363..2f8eddf6 100644 --- a/src/Tests/Core/EficazFramework.Tests/Command/Actions.cs +++ b/src/Tests/Core/EficazFramework.Tests/Command/Actions.cs @@ -13,7 +13,7 @@ public class Actions private const string MyConfig = "MyConfig"; private const int delay = 500; - [Test, Order(1)] + [Test] public void Invoke() { var parameters = new Dictionary @@ -28,7 +28,7 @@ public void Invoke() parameters[MyConfig].Should().Be(true); } - [Test, Order(2)] + [Test] public async Task InvokeAsync() { var parameters = new Dictionary diff --git a/src/Tests/Core/EficazFramework.Tests/EficazFramework.Tests.csproj b/src/Tests/Core/EficazFramework.Tests/EficazFramework.Tests.csproj index fb443a08..e3e0ddb8 100644 --- a/src/Tests/Core/EficazFramework.Tests/EficazFramework.Tests.csproj +++ b/src/Tests/Core/EficazFramework.Tests/EficazFramework.Tests.csproj @@ -30,24 +30,39 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + diff --git a/src/Tests/Core/EficazFramework.Tests/Repositories/EntityRepository.cs b/src/Tests/Core/EficazFramework.Tests/Repositories/EntityRepository.cs index 9837c9bc..0458a24d 100644 --- a/src/Tests/Core/EficazFramework.Tests/Repositories/EntityRepository.cs +++ b/src/Tests/Core/EficazFramework.Tests/Repositories/EntityRepository.cs @@ -42,7 +42,7 @@ public void TearDown() System.IO.File.Delete($"{DbConfiguration.SettingsPath}data_provider.json"); } - [Test, Order(1)] + [Test] public async Task SelectTest() { var repository = new EntityRepository(); @@ -93,7 +93,7 @@ public async Task SelectTest() repository.Dispose(); } - [Test, Order(2)] + [Test] public void CreateEntry() { var repository = new EntityRepository(); @@ -103,7 +103,7 @@ public void CreateEntry() (newPost as Resources.Mocks.Classes.Post).Should().NotBeNull(); } - [Test, Order(3)] + [Test] public async Task ValidationTest() { var repository = new EntityRepository(); @@ -142,7 +142,7 @@ public async Task ValidationTest() (await repository.ValidateAsync(newEntry)).Should().HaveCount(0); } - [Test, Order(4)] + [Test] public async Task InsertTest() { var repository = new EntityRepository(); @@ -181,7 +181,7 @@ public async Task InsertTest() repository.DbContextRequest = () => new Resources.Mocks.MockDbContext(); } - [Test, Order(5)] + [Test] public async Task DeleteTest() { var repository = new EntityRepository(); @@ -232,7 +232,7 @@ public async Task DeleteTest() repository.DbContextRequest = () => new Resources.Mocks.MockDbContext(); } - [Test, Order(6)] + [Test] public async Task UpdateTest() { var repository = new EntityRepository(); @@ -261,7 +261,7 @@ public async Task UpdateTest() } - [Test, Order(6)] + [Test] public async Task CancelEditingTest() { var repository = new EntityRepository(); @@ -290,7 +290,7 @@ public async Task CancelEditingTest() repository.DbContext.Entry(newEntry).State.Should().Be(EntityState.Detached); } - [Test, Order(7)] + [Test] public async Task RunCommandTest() { var repository = new EntityRepository(); diff --git a/src/Tests/Desktop/EficazFramework.Tests.WPF.Views/EficazFramework.Tests.WPF.Views.csproj b/src/Tests/Desktop/EficazFramework.Tests.WPF.Views/EficazFramework.Tests.WPF.Views.csproj index 8c9e9e79..6ab8d677 100644 --- a/src/Tests/Desktop/EficazFramework.Tests.WPF.Views/EficazFramework.Tests.WPF.Views.csproj +++ b/src/Tests/Desktop/EficazFramework.Tests.WPF.Views/EficazFramework.Tests.WPF.Views.csproj @@ -2,7 +2,7 @@ WinExe - net6.0-windows;net7.0-windows + net6.0-windows enable true framework.ico diff --git a/src/Tests/Desktop/EficazFramework.Tests.WPF/EficazFramework.Tests.WPF.csproj b/src/Tests/Desktop/EficazFramework.Tests.WPF/EficazFramework.Tests.WPF.csproj index 2629fe37..c846a304 100644 --- a/src/Tests/Desktop/EficazFramework.Tests.WPF/EficazFramework.Tests.WPF.csproj +++ b/src/Tests/Desktop/EficazFramework.Tests.WPF/EficazFramework.Tests.WPF.csproj @@ -1,7 +1,7 @@  - net6.0-windows;net7.0-windows + net6.0-windows enable false 6.1.0 @@ -26,7 +26,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Tests/Docs/EficazFramework.Tests.DocsApiPlugin/EficazFramework.Tests.DocsApiPlugin.csproj b/src/Tests/Docs/EficazFramework.Tests.DocsApiPlugin/EficazFramework.Tests.DocsApiPlugin.csproj index 50e84e0c..05eb46c8 100644 --- a/src/Tests/Docs/EficazFramework.Tests.DocsApiPlugin/EficazFramework.Tests.DocsApiPlugin.csproj +++ b/src/Tests/Docs/EficazFramework.Tests.DocsApiPlugin/EficazFramework.Tests.DocsApiPlugin.csproj @@ -27,7 +27,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Tests/Generators/EficazFramework.Tests.Generators.Metadata/EficazFramework.Tests.Generators.Metadata.csproj b/src/Tests/Generators/EficazFramework.Tests.Generators.Metadata/EficazFramework.Tests.Generators.Metadata.csproj index 5149b3ea..f268a84c 100644 --- a/src/Tests/Generators/EficazFramework.Tests.Generators.Metadata/EficazFramework.Tests.Generators.Metadata.csproj +++ b/src/Tests/Generators/EficazFramework.Tests.Generators.Metadata/EficazFramework.Tests.Generators.Metadata.csproj @@ -1,7 +1,7 @@  - net6.0;net7.0 + net6.0 enable enable diff --git a/src/Tests/Generators/EficazFramework.Tests.Generators/EficazFramework.Tests.Generators.csproj b/src/Tests/Generators/EficazFramework.Tests.Generators/EficazFramework.Tests.Generators.csproj index 8625b983..1dc463e3 100644 --- a/src/Tests/Generators/EficazFramework.Tests.Generators/EficazFramework.Tests.Generators.csproj +++ b/src/Tests/Generators/EficazFramework.Tests.Generators/EficazFramework.Tests.Generators.csproj @@ -1,7 +1,7 @@  - net6.0;net7.0 + net6.0 enable false @@ -12,7 +12,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Tests/Web/EficazFramework.Tests.Blazor/EficazFramework.Tests.Blazor.csproj b/src/Tests/Web/EficazFramework.Tests.Blazor/EficazFramework.Tests.Blazor.csproj index 6849ed88..d789e0c0 100644 --- a/src/Tests/Web/EficazFramework.Tests.Blazor/EficazFramework.Tests.Blazor.csproj +++ b/src/Tests/Web/EficazFramework.Tests.Blazor/EficazFramework.Tests.Blazor.csproj @@ -20,12 +20,12 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/src/Tests/Web/EficazFramework.Tests.FakeServerApi/EficazFramework.Tests.FakeServerApi.csproj b/src/Tests/Web/EficazFramework.Tests.FakeServerApi/EficazFramework.Tests.FakeServerApi.csproj index dce91b01..f1bde716 100644 --- a/src/Tests/Web/EficazFramework.Tests.FakeServerApi/EficazFramework.Tests.FakeServerApi.csproj +++ b/src/Tests/Web/EficazFramework.Tests.FakeServerApi/EficazFramework.Tests.FakeServerApi.csproj @@ -1,7 +1,7 @@ - net6.0 + net6.0;net7.0 enable enable From 47d58bbe9e910314d22224559eeae65e8ca15050 Mon Sep 17 00:00:00 2001 From: Henrique Clausing Date: Sun, 20 Nov 2022 22:29:34 -0300 Subject: [PATCH 3/7] BLAZOR: Fix for inputs and pickers style. --- .../Styles/Components/Input.scss | 89 ++++++++++++++++--- .../wwwroot/css/EficazFramework.css | 58 ++++++++++-- .../wwwroot/css/EficazFramework.min.css | 2 +- 3 files changed, 129 insertions(+), 20 deletions(-) diff --git a/src/Web/EficazFramework.Blazor/Styles/Components/Input.scss b/src/Web/EficazFramework.Blazor/Styles/Components/Input.scss index 8f9d956a..0fec31bb 100644 --- a/src/Web/EficazFramework.Blazor/Styles/Components/Input.scss +++ b/src/Web/EficazFramework.Blazor/Styles/Components/Input.scss @@ -1,4 +1,5 @@ -.text-right > +/*Text Alignment*/ +.text-right > .mud-input-control-input-container > .mud-input > input.mud-input-root { @@ -29,6 +30,8 @@ div.text-match div, div.mud-input input { text-align: match-parent; } + +/*Input Background*/ .mud-input-control-ef > .mud-input-control-input-container > .mud-input { @@ -56,6 +59,39 @@ div.text-match div, div.mud-input input { } } + +/*Picker Background*/ +.mud-input-control-ef > + .mud-input-control > + .mud-input-control-input-container > + .mud-input { + border-radius: 4px !important; + background-color: rgba(var(--mud-palette-primary-rgb),0.55); + border: solid 1px var(--mud-palette-lines-default) !important; +} + +.mud-input-control-ef > + .mud-input-control > + .mud-input-control-input-container > + .mud-input { + + &:before { + border-bottom: 0px solid var(--mud-palette-primary); + border-radius: 4px !important; + } + + &:after { + border-bottom: 3px solid var(--mud-palette-primary); + border-radius: 0px 0px 8px 8px !important; + } + + &.mud-input-error:after { + border-radius: 4px !important; + } +} + + +/*Cell*/ .edit-mode-cell > .mud-input-input-control > .mud-input-control-input-container > @@ -66,13 +102,24 @@ div.text-match div, div.mud-input input { } -.mud-input-control-ef > - .mud-input-control-input-container > - .mud-input > - input.mud-input-root { - padding: 8px !important; +/*Input Label*/ +.mud-input-control-ef > + .mud-input-control-input-container > + .mud-input-label-inputcontrol { + margin-left: 8px; + margin-right: 8px; + margin-top: 0px; +} +.mud-input-control-ef > + .mud-input-control > + .mud-input-control-input-container > + .mud-input-label-inputcontrol { + margin-left: 8px; + margin-right: 8px; + margin-top: 0px; } +/*Input text box*/ .mud-input-control-ef > .mud-input-control-input-container > .mud-input-adorned-start > @@ -95,11 +142,31 @@ div.text-match div, div.mud-input input { opacity: 0.5 } +.mud-input-control-ef > + .mud-input-control-input-container > + .mud-input > + input.mud-input-root { + padding: 8px !important; +} + +.mud-input-control-ef > + .mud-input-control-input-container > + .mud-input > + div.mud-select-input { + padding: 8px 0px 8px 8px !important +} + .mud-input-control-ef > - .mud-input-control-input-container > - .mud-input-label-inputcontrol { - margin-left: 8px; - margin-right: 8px; - margin-top: 0px; + .mud-input-control > + .mud-input-control-input-container > + .mud-input { + padding: 8px !important } +.mud-input-control-ef > + .mud-input-control > + .mud-input-control-input-container > + .mud-input > + input.mud-input-root { + padding: 0px !important; +} diff --git a/src/Web/EficazFramework.Blazor/wwwroot/css/EficazFramework.css b/src/Web/EficazFramework.Blazor/wwwroot/css/EficazFramework.css index 7cbf1360..76b9cd5b 100644 --- a/src/Web/EficazFramework.Blazor/wwwroot/css/EficazFramework.css +++ b/src/Web/EficazFramework.Blazor/wwwroot/css/EficazFramework.css @@ -1,4 +1,5 @@ -.text-right > .mud-input-control-input-container > .mud-input > input.mud-input-root { +/*Text Alignment*/ +.text-right > .mud-input-control-input-container > .mud-input > input.mud-input-root { text-align: right; } @@ -19,6 +20,7 @@ div.mud-input-slot.mud-input-root { text-align: match-parent; } +/*Input Background*/ .mud-input-control-ef > .mud-input-control-input-container > .mud-input { border-radius: 4px !important; background-color: rgba(var(--mud-palette-primary-rgb), 0.55); @@ -37,15 +39,45 @@ div.mud-input-slot.mud-input-root { border-radius: 4px !important; } +/*Picker Background*/ +.mud-input-control-ef > .mud-input-control > .mud-input-control-input-container > .mud-input { + border-radius: 4px !important; + background-color: rgba(var(--mud-palette-primary-rgb), 0.55); + border: solid 1px var(--mud-palette-lines-default) !important; +} + +.mud-input-control-ef > .mud-input-control > .mud-input-control-input-container > .mud-input:before { + border-bottom: 0px solid var(--mud-palette-primary); + border-radius: 4px !important; +} +.mud-input-control-ef > .mud-input-control > .mud-input-control-input-container > .mud-input:after { + border-bottom: 3px solid var(--mud-palette-primary); + border-radius: 0px 0px 8px 8px !important; +} +.mud-input-control-ef > .mud-input-control > .mud-input-control-input-container > .mud-input.mud-input-error:after { + border-radius: 4px !important; +} + +/*Cell*/ .edit-mode-cell > .mud-input-input-control > .mud-input-control-input-container > .mud-input-margin-dense > input.mud-input-root-margin-dense { padding-top: 3px; padding-bottom: 3px; } -.mud-input-control-ef > .mud-input-control-input-container > .mud-input > input.mud-input-root { - padding: 8px !important; +/*Input Label*/ +.mud-input-control-ef > .mud-input-control-input-container > .mud-input-label-inputcontrol { + margin-left: 8px; + margin-right: 8px; + margin-top: 0px; +} + +.mud-input-control-ef > .mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol { + margin-left: 8px; + margin-right: 8px; + margin-top: 0px; } +/*Input text box*/ .mud-input-control-ef > .mud-input-control-input-container > .mud-input-adorned-start > .mud-input-adornment-start { margin-right: 8px; margin-inline-end: 0px; @@ -62,10 +94,20 @@ div.mud-input-slot.mud-input-root { opacity: 0.5; } -.mud-input-control-ef > .mud-input-control-input-container > .mud-input-label-inputcontrol { - margin-left: 8px; - margin-right: 8px; - margin-top: 0px; +.mud-input-control-ef > .mud-input-control-input-container > .mud-input > input.mud-input-root { + padding: 8px !important; +} + +.mud-input-control-ef > .mud-input-control-input-container > .mud-input > div.mud-select-input { + padding: 8px 0px 8px 8px !important; +} + +.mud-input-control-ef > .mud-input-control > .mud-input-control-input-container > .mud-input { + padding: 8px !important; +} + +.mud-input-control-ef > .mud-input-control > .mud-input-control-input-container > .mud-input > input.mud-input-root { + padding: 0px !important; } .ef-mdi-host { @@ -608,4 +650,4 @@ div.mud-input-slot.mud-input-root { } } -/*# sourceMappingURL=data:application/json;charset=utf-8,%7B%22version%22:3,%22sourceRoot%22:%22%22,%22sources%22:%5B%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/Components/Input.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/Components/Mdi.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/Components/Navigator.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/Components/Table.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/General/Icons.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/General/Layout.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/General/Text.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/General/Transitions.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/EfCore.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/General/Print.scss%22%5D,%22names%22:%5B%5D,%22mappings%22:%22AAAC;EAIG;;;AAGJ;EAII;;;AAGJ;EAII;;;AAGJ;EACI;;;AAGJ;AAAA;EAGI;;;AAGJ;EAGI;EACA;EACA;;;AAOA;EACI;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;;;AAIR;EAKI;EACA;;;AAIJ;EAII;;;AAGJ;EAII;EACA;EACA;EACA;EACA;;;AAGJ;EAII;EACA;EACA;EACA;EACA;;;AAGJ;EAGI;EACA;EACA;;;ACtGH;EACG;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAKJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AC7DH;EACG;;;AAIJ;EACI;;;ACNH;EACG;;;AAGJ;EACI;EACA;;;ACNH;EACG;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;ACbH;EACG;EACA;;;AAGJ;EACI;EACA;;;ACPH;EACG;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AC7BA;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAxCJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAxCJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAxCJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAxCJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAxCJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAxCJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAKR;EACI;IACI;IACA;IACA;IACA;;EAGJ;IACI;IACA;IACA;IACA;;;AAIR;EACI;IACI;IACA;IACA;IACA;;EAGJ;IACI;IACA;IACA;IACA;;;AAIR;EACI;IACI;IACA;IACA;IACA;;EAGJ;IACI;IACA;IACA;IACA;;;AAIR;EACI;IACI;IACA;IACA;IACA;;EAGJ;IACI;IACA;IACA;IACA;;;AAIR;EACI;IACI;;EAGJ;IACI;;;AC7GR;AAAA;AACE;ACXD;EACG;IACI;;;EAGJ;IACI;;;EAGJ;AAAA;AAAA;AAAA;IAII;;;EAGJ;IACI;IACA;;;EAGJ;IACI;IACA;IACA;IACA;IACA;IACA%22%7D */ \ No newline at end of file +/*# sourceMappingURL=data:application/json;charset=utf-8,%7B%22version%22:3,%22sourceRoot%22:%22%22,%22sources%22:%5B%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/Components/Input.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/Components/Mdi.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/Components/Navigator.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/Components/Table.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/General/Icons.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/General/Layout.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/General/Text.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/General/Transitions.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/EfCore.scss%22,%22file:///E:/Henrique%2520Clausing/Repositorios/Current/EficazFramework/src/Web/EficazFramework.Blazor/Styles/General/Print.scss%22%5D,%22names%22:%5B%5D,%22mappings%22:%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%22%7D */ \ No newline at end of file diff --git a/src/Web/EficazFramework.Blazor/wwwroot/css/EficazFramework.min.css b/src/Web/EficazFramework.Blazor/wwwroot/css/EficazFramework.min.css index c0d0f1f9..27414ee9 100644 --- a/src/Web/EficazFramework.Blazor/wwwroot/css/EficazFramework.min.css +++ b/src/Web/EficazFramework.Blazor/wwwroot/css/EficazFramework.min.css @@ -1 +1 @@ -.text-right>.mud-input-control-input-container>.mud-input>input.mud-input-root{text-align:right;}.text-center>.mud-input-control-input-container>.mud-input>input.mud-input-root{text-align:center;}.text-justify>.mud-input-control-input-container>.mud-input>input.mud-input-root{text-align:justify;}div.text-match div,div.mud-input input{text-align:match-parent;}.text-match>.mud-input>input.mud-input-root,div.mud-input-slot.mud-input-root{text-align:match-parent;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input{border-radius:4px !important;background-color:rgba(var(--mud-palette-primary-rgb),.55);border:solid 1px var(--mud-palette-lines-default) !important;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input.mud-input-underline:before{border-bottom:0 solid var(--mud-palette-primary);border-radius:4px !important;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input.mud-input-underline:after{border-bottom:3px solid var(--mud-palette-primary);border-radius:0 0 8px 8px !important;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input.mud-input-underline.mud-input-error:after{border-radius:4px !important;}.edit-mode-cell>.mud-input-input-control>.mud-input-control-input-container>.mud-input-margin-dense>input.mud-input-root-margin-dense{padding-top:3px;padding-bottom:3px;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input>input.mud-input-root{padding:8px !important;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input-adorned-start>.mud-input-adornment-start{margin-right:8px;margin-inline-end:0;margin-inline-start:unset;margin-left:8px;opacity:.5;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input-adorned-end>.mud-input-adornment-end{margin-left:8px;margin-inline-start:0;margin-inline-end:unset;margin-right:8px;opacity:.5;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input-label-inputcontrol{margin-left:8px;margin-right:8px;margin-top:0;}.ef-mdi-host{position:relative;}.ef-mdi-window{position:absolute;box-shadow:var(--mud-elevation-3);background-color:var(--mud-palette-surface);border-radius:10px;}.ef-mdi-window-active{box-shadow:var(--mud-elevation-10);border-color:var(--mud-palette-primary);}.ef-mdi-start-menu{border:solid 1px var(--mud-palette-primary);border-radius:10px;max-width:746px;height:calc(100vh - 226px);}.ef-mdi-sections-menu{border:solid 1px var(--mud-palette-primary);border-radius:10px;width:calc(100vw - 120px);height:calc(100vh - 226px);}.ef-mdi-sections-current{height:32px;display:flex;align-items:center !important;}.ef-mdi-start-header{display:flex;align-items:center;border-radius:10px 10px 0 0;background-color:var(--mud-palette-background-grey);margin-left:-16px !important;margin-top:-16px !important;margin-right:-16px !important;padding-left:20px !important;padding-top:8px !important;padding-right:24px !important;padding-bottom:8px !important;}.ef-mdi-start-footer{border-radius:0 0 10px 10px;background-color:var(--mud-palette-background-grey);margin-left:-16px !important;margin-bottom:-16px !important;margin-right:-16px !important;padding-top:12px !important;padding-left:64px !important;padding-bottom:12px !important;padding-right:24px !important;}.mud-nav-link.active:not(.mud-nav-link-disabled){border-right:2px var(--mud-palette-primary) solid;}.mud-nav-link.active:not(.mud-nav-link-disabled) .mud-icon-root{color:var(--mud-palette-primary);}.ef-table-scroll{overflow-x:scroll;}.ef-table-scroll table td:first-child{position:sticky;left:0;}.brand{font-size:1.5rem;font-weight:400;letter-spacing:.1rem;line-height:1.7;color:var(--mud-theme-on-appbar);margin-left:auto;margin-right:auto;}.brand:hover{cursor:pointer;background-color:var(--mud-theme-default-hover);transition:color 250ms cubic-bezier(.4,0,.2,1) 0ms,box-shadow 250ms cubic-bezier(.4,0,.2,1) 0ms,border 250ms cubic-bezier(.4,0,.2,1) 0ms;}.ef-background{height:100vh;overflow:auto;}.mud-dialog{border-width:thin;border:1px solid var(--mud-palette-primary);}.text-right{text-align:right;}.text-center{text-align:center;}.text-justify{text-align:justify;}.text-trim{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.text-nowrap{white-space:nowrap;}.text-truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.mud-nav-link{font-weight:500;}.mud-nav-group>.mud-nav-link>.mud-nav-link-text{font-weight:600;}.fadeIn-125{animation:fadeIn .125s;}.fadeInLeft-125{animation:fadeInLeft .125s;}.fadeInRight-125{animation:fadeInRight .125s;}.fadeInUp-125{animation:fadeInUp .125s;}.fadeInDown-125{animation:fadeInDown .125s;}.transition-all-125{transition:all .125s;transition-timing-function:ease-out;}.transition-all-125{transition:all .125s;transition-timing-function:ease-out;}.transition-all-125{transition:all .125s;transition-timing-function:ease-out;}.transition-delay-125{transition-delay:.125s;}.transition-delay-125{transition-delay:.125s;}.fadeIn-250{animation:fadeIn .25s;}.fadeInLeft-250{animation:fadeInLeft .25s;}.fadeInRight-250{animation:fadeInRight .25s;}.fadeInUp-250{animation:fadeInUp .25s;}.fadeInDown-250{animation:fadeInDown .25s;}.transition-all-250{transition:all .25s;transition-timing-function:ease-out;}.transition-all-250{transition:all .25s;transition-timing-function:ease-out;}.transition-all-250{transition:all .25s;transition-timing-function:ease-out;}.transition-delay-250{transition-delay:.25s;}.transition-delay-250{transition-delay:.25s;}.fadeIn-500{animation:fadeIn .5s;}.fadeInLeft-500{animation:fadeInLeft .5s;}.fadeInRight-500{animation:fadeInRight .5s;}.fadeInUp-500{animation:fadeInUp .5s;}.fadeInDown-500{animation:fadeInDown .5s;}.transition-all-500{transition:all .5s;transition-timing-function:ease-out;}.transition-all-500{transition:all .5s;transition-timing-function:ease-out;}.transition-all-500{transition:all .5s;transition-timing-function:ease-out;}.transition-delay-500{transition-delay:.5s;}.transition-delay-500{transition-delay:.5s;}.fadeIn-1000{animation:fadeIn 1s;}.fadeInLeft-1000{animation:fadeInLeft 1s;}.fadeInRight-1000{animation:fadeInRight 1s;}.fadeInUp-1000{animation:fadeInUp 1s;}.fadeInDown-1000{animation:fadeInDown 1s;}.transition-all-1000{transition:all 1s;transition-timing-function:ease-out;}.transition-all-1000{transition:all 1s;transition-timing-function:ease-out;}.transition-all-1000{transition:all 1s;transition-timing-function:ease-out;}.transition-delay-1000{transition-delay:1s;}.transition-delay-1000{transition-delay:1s;}.fadeIn-1250{animation:fadeIn 1.25s;}.fadeInLeft-1250{animation:fadeInLeft 1.25s;}.fadeInRight-1250{animation:fadeInRight 1.25s;}.fadeInUp-1250{animation:fadeInUp 1.25s;}.fadeInDown-1250{animation:fadeInDown 1.25s;}.transition-all-1250{transition:all 1.25s;transition-timing-function:ease-out;}.transition-all-1250{transition:all 1.25s;transition-timing-function:ease-out;}.transition-all-1250{transition:all 1.25s;transition-timing-function:ease-out;}.transition-delay-1250{transition-delay:1.25s;}.transition-delay-1250{transition-delay:1.25s;}.fadeIn-1500{animation:fadeIn 1.5s;}.fadeInLeft-1500{animation:fadeInLeft 1.5s;}.fadeInRight-1500{animation:fadeInRight 1.5s;}.fadeInUp-1500{animation:fadeInUp 1.5s;}.fadeInDown-1500{animation:fadeInDown 1.5s;}.transition-all-1500{transition:all 1.5s;transition-timing-function:ease-out;}.transition-all-1500{transition:all 1.5s;transition-timing-function:ease-out;}.transition-all-1500{transition:all 1.5s;transition-timing-function:ease-out;}.transition-delay-1500{transition-delay:1.5s;}.transition-delay-1500{transition-delay:1.5s;}.fadeIn-2000{animation:fadeIn 2s;}.fadeInLeft-2000{animation:fadeInLeft 2s;}.fadeInRight-2000{animation:fadeInRight 2s;}.fadeInUp-2000{animation:fadeInUp 2s;}.fadeInDown-2000{animation:fadeInDown 2s;}.transition-all-2000{transition:all 2s;transition-timing-function:ease-out;}.transition-all-2000{transition:all 2s;transition-timing-function:ease-out;}.transition-all-2000{transition:all 2s;transition-timing-function:ease-out;}.transition-delay-2000{transition-delay:2s;}.transition-delay-2000{transition-delay:2s;}@keyframes fadeInLeft{from{opacity:0;-webkit-transform:translateX(-20px);-ms-transform:translateX(-20px);transform:translateX(-20px);}to{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}@keyframes fadeInRight{from{opacity:0;-webkit-transform:translateX(20px);-ms-transform:translateX(20px);transform:translateX(20px);}to{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}@keyframes fadeInUp{from{opacity:0;-webkit-transform:translateY(-20px);-ms-transform:translateY(-20px);transform:translateY(-20px);}to{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}@keyframes fadeInDown{from{opacity:0;-webkit-transform:translateY(20px);-ms-transform:translateY(20px);transform:translateY(20px);}to{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}@keyframes fadeIn{from{opacity:0;}to{opacity:1;}}@media print{*{overflow:visible !important;}.page{page-break-after:always;}.aside,.header,.mud-toolbar,.mud-appbar,.mud-drawer{display:none;}.content{margin-top:auto;height:auto;}.footer{position:fixed;bottom:0;background-color:#fff;border:1px solid transparent;padding:0 1.25rem 0 1.25rem;box-shadow:0 0 0 0 rgba(0,0,0,.25);}} \ No newline at end of file +.text-right>.mud-input-control-input-container>.mud-input>input.mud-input-root{text-align:right;}.text-center>.mud-input-control-input-container>.mud-input>input.mud-input-root{text-align:center;}.text-justify>.mud-input-control-input-container>.mud-input>input.mud-input-root{text-align:justify;}div.text-match div,div.mud-input input{text-align:match-parent;}.text-match>.mud-input>input.mud-input-root,div.mud-input-slot.mud-input-root{text-align:match-parent;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input{border-radius:4px !important;background-color:rgba(var(--mud-palette-primary-rgb),.55);border:solid 1px var(--mud-palette-lines-default) !important;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input.mud-input-underline:before{border-bottom:0 solid var(--mud-palette-primary);border-radius:4px !important;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input.mud-input-underline:after{border-bottom:3px solid var(--mud-palette-primary);border-radius:0 0 8px 8px !important;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input.mud-input-underline.mud-input-error:after{border-radius:4px !important;}.mud-input-control-ef>.mud-input-control>.mud-input-control-input-container>.mud-input{border-radius:4px !important;background-color:rgba(var(--mud-palette-primary-rgb),.55);border:solid 1px var(--mud-palette-lines-default) !important;}.mud-input-control-ef>.mud-input-control>.mud-input-control-input-container>.mud-input:before{border-bottom:0 solid var(--mud-palette-primary);border-radius:4px !important;}.mud-input-control-ef>.mud-input-control>.mud-input-control-input-container>.mud-input:after{border-bottom:3px solid var(--mud-palette-primary);border-radius:0 0 8px 8px !important;}.mud-input-control-ef>.mud-input-control>.mud-input-control-input-container>.mud-input.mud-input-error:after{border-radius:4px !important;}.edit-mode-cell>.mud-input-input-control>.mud-input-control-input-container>.mud-input-margin-dense>input.mud-input-root-margin-dense{padding-top:3px;padding-bottom:3px;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input-label-inputcontrol{margin-left:8px;margin-right:8px;margin-top:0;}.mud-input-control-ef>.mud-input-control>.mud-input-control-input-container>.mud-input-label-inputcontrol{margin-left:8px;margin-right:8px;margin-top:0;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input-adorned-start>.mud-input-adornment-start{margin-right:8px;margin-inline-end:0;margin-inline-start:unset;margin-left:8px;opacity:.5;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input-adorned-end>.mud-input-adornment-end{margin-left:8px;margin-inline-start:0;margin-inline-end:unset;margin-right:8px;opacity:.5;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input>input.mud-input-root{padding:8px !important;}.mud-input-control-ef>.mud-input-control-input-container>.mud-input>div.mud-select-input{padding:8px 0 8px 8px !important;}.mud-input-control-ef>.mud-input-control>.mud-input-control-input-container>.mud-input{padding:8px !important;}.mud-input-control-ef>.mud-input-control>.mud-input-control-input-container>.mud-input>input.mud-input-root{padding:0 !important;}.ef-mdi-host{position:relative;}.ef-mdi-window{position:absolute;box-shadow:var(--mud-elevation-3);background-color:var(--mud-palette-surface);border-radius:10px;}.ef-mdi-window-active{box-shadow:var(--mud-elevation-10);border-color:var(--mud-palette-primary);}.ef-mdi-start-menu{border:solid 1px var(--mud-palette-primary);border-radius:10px;max-width:746px;height:calc(100vh - 226px);}.ef-mdi-sections-menu{border:solid 1px var(--mud-palette-primary);border-radius:10px;width:calc(100vw - 120px);height:calc(100vh - 226px);}.ef-mdi-sections-current{height:32px;display:flex;align-items:center !important;}.ef-mdi-start-header{display:flex;align-items:center;border-radius:10px 10px 0 0;background-color:var(--mud-palette-background-grey);margin-left:-16px !important;margin-top:-16px !important;margin-right:-16px !important;padding-left:20px !important;padding-top:8px !important;padding-right:24px !important;padding-bottom:8px !important;}.ef-mdi-start-footer{border-radius:0 0 10px 10px;background-color:var(--mud-palette-background-grey);margin-left:-16px !important;margin-bottom:-16px !important;margin-right:-16px !important;padding-top:12px !important;padding-left:64px !important;padding-bottom:12px !important;padding-right:24px !important;}.mud-nav-link.active:not(.mud-nav-link-disabled){border-right:2px var(--mud-palette-primary) solid;}.mud-nav-link.active:not(.mud-nav-link-disabled) .mud-icon-root{color:var(--mud-palette-primary);}.ef-table-scroll{overflow-x:scroll;}.ef-table-scroll table td:first-child{position:sticky;left:0;}.brand{font-size:1.5rem;font-weight:400;letter-spacing:.1rem;line-height:1.7;color:var(--mud-theme-on-appbar);margin-left:auto;margin-right:auto;}.brand:hover{cursor:pointer;background-color:var(--mud-theme-default-hover);transition:color 250ms cubic-bezier(.4,0,.2,1) 0ms,box-shadow 250ms cubic-bezier(.4,0,.2,1) 0ms,border 250ms cubic-bezier(.4,0,.2,1) 0ms;}.ef-background{height:100vh;overflow:auto;}.mud-dialog{border-width:thin;border:1px solid var(--mud-palette-primary);}.text-right{text-align:right;}.text-center{text-align:center;}.text-justify{text-align:justify;}.text-trim{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.text-nowrap{white-space:nowrap;}.text-truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.mud-nav-link{font-weight:500;}.mud-nav-group>.mud-nav-link>.mud-nav-link-text{font-weight:600;}.fadeIn-125{animation:fadeIn .125s;}.fadeInLeft-125{animation:fadeInLeft .125s;}.fadeInRight-125{animation:fadeInRight .125s;}.fadeInUp-125{animation:fadeInUp .125s;}.fadeInDown-125{animation:fadeInDown .125s;}.transition-all-125{transition:all .125s;transition-timing-function:ease-out;}.transition-all-125{transition:all .125s;transition-timing-function:ease-out;}.transition-all-125{transition:all .125s;transition-timing-function:ease-out;}.transition-delay-125{transition-delay:.125s;}.transition-delay-125{transition-delay:.125s;}.fadeIn-250{animation:fadeIn .25s;}.fadeInLeft-250{animation:fadeInLeft .25s;}.fadeInRight-250{animation:fadeInRight .25s;}.fadeInUp-250{animation:fadeInUp .25s;}.fadeInDown-250{animation:fadeInDown .25s;}.transition-all-250{transition:all .25s;transition-timing-function:ease-out;}.transition-all-250{transition:all .25s;transition-timing-function:ease-out;}.transition-all-250{transition:all .25s;transition-timing-function:ease-out;}.transition-delay-250{transition-delay:.25s;}.transition-delay-250{transition-delay:.25s;}.fadeIn-500{animation:fadeIn .5s;}.fadeInLeft-500{animation:fadeInLeft .5s;}.fadeInRight-500{animation:fadeInRight .5s;}.fadeInUp-500{animation:fadeInUp .5s;}.fadeInDown-500{animation:fadeInDown .5s;}.transition-all-500{transition:all .5s;transition-timing-function:ease-out;}.transition-all-500{transition:all .5s;transition-timing-function:ease-out;}.transition-all-500{transition:all .5s;transition-timing-function:ease-out;}.transition-delay-500{transition-delay:.5s;}.transition-delay-500{transition-delay:.5s;}.fadeIn-1000{animation:fadeIn 1s;}.fadeInLeft-1000{animation:fadeInLeft 1s;}.fadeInRight-1000{animation:fadeInRight 1s;}.fadeInUp-1000{animation:fadeInUp 1s;}.fadeInDown-1000{animation:fadeInDown 1s;}.transition-all-1000{transition:all 1s;transition-timing-function:ease-out;}.transition-all-1000{transition:all 1s;transition-timing-function:ease-out;}.transition-all-1000{transition:all 1s;transition-timing-function:ease-out;}.transition-delay-1000{transition-delay:1s;}.transition-delay-1000{transition-delay:1s;}.fadeIn-1250{animation:fadeIn 1.25s;}.fadeInLeft-1250{animation:fadeInLeft 1.25s;}.fadeInRight-1250{animation:fadeInRight 1.25s;}.fadeInUp-1250{animation:fadeInUp 1.25s;}.fadeInDown-1250{animation:fadeInDown 1.25s;}.transition-all-1250{transition:all 1.25s;transition-timing-function:ease-out;}.transition-all-1250{transition:all 1.25s;transition-timing-function:ease-out;}.transition-all-1250{transition:all 1.25s;transition-timing-function:ease-out;}.transition-delay-1250{transition-delay:1.25s;}.transition-delay-1250{transition-delay:1.25s;}.fadeIn-1500{animation:fadeIn 1.5s;}.fadeInLeft-1500{animation:fadeInLeft 1.5s;}.fadeInRight-1500{animation:fadeInRight 1.5s;}.fadeInUp-1500{animation:fadeInUp 1.5s;}.fadeInDown-1500{animation:fadeInDown 1.5s;}.transition-all-1500{transition:all 1.5s;transition-timing-function:ease-out;}.transition-all-1500{transition:all 1.5s;transition-timing-function:ease-out;}.transition-all-1500{transition:all 1.5s;transition-timing-function:ease-out;}.transition-delay-1500{transition-delay:1.5s;}.transition-delay-1500{transition-delay:1.5s;}.fadeIn-2000{animation:fadeIn 2s;}.fadeInLeft-2000{animation:fadeInLeft 2s;}.fadeInRight-2000{animation:fadeInRight 2s;}.fadeInUp-2000{animation:fadeInUp 2s;}.fadeInDown-2000{animation:fadeInDown 2s;}.transition-all-2000{transition:all 2s;transition-timing-function:ease-out;}.transition-all-2000{transition:all 2s;transition-timing-function:ease-out;}.transition-all-2000{transition:all 2s;transition-timing-function:ease-out;}.transition-delay-2000{transition-delay:2s;}.transition-delay-2000{transition-delay:2s;}@keyframes fadeInLeft{from{opacity:0;-webkit-transform:translateX(-20px);-ms-transform:translateX(-20px);transform:translateX(-20px);}to{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}@keyframes fadeInRight{from{opacity:0;-webkit-transform:translateX(20px);-ms-transform:translateX(20px);transform:translateX(20px);}to{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}@keyframes fadeInUp{from{opacity:0;-webkit-transform:translateY(-20px);-ms-transform:translateY(-20px);transform:translateY(-20px);}to{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}@keyframes fadeInDown{from{opacity:0;-webkit-transform:translateY(20px);-ms-transform:translateY(20px);transform:translateY(20px);}to{opacity:1;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);}}@keyframes fadeIn{from{opacity:0;}to{opacity:1;}}@media print{*{overflow:visible !important;}.page{page-break-after:always;}.aside,.header,.mud-toolbar,.mud-appbar,.mud-drawer{display:none;}.content{margin-top:auto;height:auto;}.footer{position:fixed;bottom:0;background-color:#fff;border:1px solid transparent;padding:0 1.25rem 0 1.25rem;box-shadow:0 0 0 0 rgba(0,0,0,.25);}} \ No newline at end of file From 8223d7c8162db4e77826598f1a1554d9fd9e3bc9 Mon Sep 17 00:00:00 2001 From: Henrique Clausing Date: Sun, 20 Nov 2022 22:46:20 -0300 Subject: [PATCH 4/7] =?UTF-8?q?Prepara=C3=A7=C3=A3o=20para=20compatibilida?= =?UTF-8?q?de=20com=20.NET=207.0=20-=20fix002:=20testes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Tests/Core/EficazFramework.Tests/Command/Actions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tests/Core/EficazFramework.Tests/Command/Actions.cs b/src/Tests/Core/EficazFramework.Tests/Command/Actions.cs index 2f8eddf6..a09c6427 100644 --- a/src/Tests/Core/EficazFramework.Tests/Command/Actions.cs +++ b/src/Tests/Core/EficazFramework.Tests/Command/Actions.cs @@ -24,7 +24,7 @@ public void Invoke() TimeSpan start = DateTime.Now.TimeOfDay; EficazFramework.Commands.DelayedAction.Invoke(() => CustomAction(parameters), delay); TimeSpan delta = DateTime.Now.TimeOfDay - start; - delta.Milliseconds.Should().BeGreaterThanOrEqualTo(delay); + delta.Milliseconds.Should().BeCloseTo(delay, 50); parameters[MyConfig].Should().Be(true); } @@ -46,7 +46,7 @@ public async Task InvokeAsync() { await EficazFramework.Commands.DelayedAction.InvokeAsync(action, delay, tks.Token); TimeSpan delta = DateTime.Now.TimeOfDay - start; - delta.Milliseconds.Should().BeGreaterThanOrEqualTo(delay); + delta.Milliseconds.Should().BeCloseTo(delay, 50); } catch (TaskCanceledException tex) { From 1bc759b099e9efd942d62bb65d9f76a832b95b80 Mon Sep 17 00:00:00 2001 From: Henrique Clausing Date: Tue, 22 Nov 2022 12:20:52 -0300 Subject: [PATCH 5/7] UTILITIES: Fix for RemoveTextMask() when using UpperCase chars; TESTS: Added DocumentField for Blazor Input tests. --- src/Core/EficazFramework.Utilities/Extensions/Text.cs | 2 +- .../Pages/Components/Input/Styles.razor | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Core/EficazFramework.Utilities/Extensions/Text.cs b/src/Core/EficazFramework.Utilities/Extensions/Text.cs index 92710542..5cb89de8 100644 --- a/src/Core/EficazFramework.Utilities/Extensions/Text.cs +++ b/src/Core/EficazFramework.Utilities/Extensions/Text.cs @@ -504,7 +504,7 @@ public static string GetClearText(this string texto) /// public static string RemoveTextMask(this string texto) { - texto = Regex.Replace(texto, @"(?:[^a-z0-9]|(?<=['\'])s)", string.Empty, RegexOptions.IgnoreCase & RegexOptions.CultureInvariant); + texto = Regex.Replace(texto, @"(?:[^a-za-zA-Z0-9]|(?<=['\'])s)", string.Empty, RegexOptions.IgnoreCase & RegexOptions.CultureInvariant); return texto.Replace(" ", ""); } diff --git a/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Components/Input/Styles.razor b/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Components/Input/Styles.razor index c809f813..d739dec3 100644 --- a/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Components/Input/Styles.razor +++ b/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Components/Input/Styles.razor @@ -11,6 +11,9 @@ + + + From 46c78c8033c1fce637a30591c6dc903e891640cd Mon Sep 17 00:00:00 2001 From: Henrique Clausing Date: Tue, 22 Nov 2022 12:39:17 -0300 Subject: [PATCH 6/7] BLAZOR: Fix for ApplicationInstance on MdiHost responsible layout. --- .../EficazFramework.Blazor/Components/Panels/MdiHost.razor | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Web/EficazFramework.Blazor/Components/Panels/MdiHost.razor b/src/Web/EficazFramework.Blazor/Components/Panels/MdiHost.razor index 3d16c948..718ff21d 100644 --- a/src/Web/EficazFramework.Blazor/Components/Panels/MdiHost.razor +++ b/src/Web/EficazFramework.Blazor/Components/Panels/MdiHost.razor @@ -36,7 +36,9 @@
@if (_selectedApp != null) { - + + + } else { From a954835475088f4d8b898f93ac94b40a8dd2e180 Mon Sep 17 00:00:00 2001 From: Henrique Clausing Date: Tue, 22 Nov 2022 13:15:58 -0300 Subject: [PATCH 7/7] BLAZOR: Fix for tests. --- .../Components/Input/DocumentField.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tests/Web/EficazFramework.Tests.Blazor/Components/Input/DocumentField.cs b/src/Tests/Web/EficazFramework.Tests.Blazor/Components/Input/DocumentField.cs index f1ddf826..319482c2 100644 --- a/src/Tests/Web/EficazFramework.Tests.Blazor/Components/Input/DocumentField.cs +++ b/src/Tests/Web/EficazFramework.Tests.Blazor/Components/Input/DocumentField.cs @@ -39,8 +39,8 @@ public void Document_IE() input.Change("non valid IE..."); input.BlurAsync(new Microsoft.AspNetCore.Components.Web.FocusEventArgs()); }); - comp.Instance.Text.Should().Be("nonvalid"); - comp.Instance.Value.Should().Be("nonvalid"); + comp.Instance.Text.Should().Be("nonvalidIE"); + comp.Instance.Value.Should().Be("nonvalidIE"); // valid IE for MG, expecting to set non-formated text comp.InvokeAsync(() =>