diff --git a/src/Core/EficazFramework.Collections/EficazFramework.Collections.csproj b/src/Core/EficazFramework.Collections/EficazFramework.Collections.csproj index b6caf2f7..0a082f14 100644 --- a/src/Core/EficazFramework.Collections/EficazFramework.Collections.csproj +++ b/src/Core/EficazFramework.Collections/EficazFramework.Collections.csproj @@ -2,9 +2,9 @@ net6.0;net7.0 - 6.1.6 - 6.1.6.0 - 6.1.6.0 + 6.1.7 + 6.1.7.0 + 6.1.7.0 EficazFramework true EfCore.snk diff --git a/src/Core/EficazFramework.Data/EficazFramework.Data.csproj b/src/Core/EficazFramework.Data/EficazFramework.Data.csproj index 0533f51c..1881ee7c 100644 --- a/src/Core/EficazFramework.Data/EficazFramework.Data.csproj +++ b/src/Core/EficazFramework.Data/EficazFramework.Data.csproj @@ -2,9 +2,9 @@ net6.0;net7.0 - 6.1.6 - 6.1.6.0 - 6.1.6.0 + 6.1.7 + 6.1.7.0 + 6.1.7.0 EficazFramework true EfCore.snk diff --git a/src/Core/EficazFramework.Expressions/EficazFramework.Expressions.csproj b/src/Core/EficazFramework.Expressions/EficazFramework.Expressions.csproj index 5839831b..1d61fbcf 100644 --- a/src/Core/EficazFramework.Expressions/EficazFramework.Expressions.csproj +++ b/src/Core/EficazFramework.Expressions/EficazFramework.Expressions.csproj @@ -2,9 +2,9 @@ net6.0;net7.0 - 6.1.6 - 6.1.6.0 - 6.1.6.0 + 6.1.7 + 6.1.7.0 + 6.1.7.0 EficazFramework true EfCore.snk diff --git a/src/Core/EficazFramework.Utilities/Application/ApplicationManager.cs b/src/Core/EficazFramework.Utilities/Application/ApplicationManager.cs index a2d62e9d..952c3384 100644 --- a/src/Core/EficazFramework.Utilities/Application/ApplicationManager.cs +++ b/src/Core/EficazFramework.Utilities/Application/ApplicationManager.cs @@ -215,15 +215,15 @@ private void AddTargetProperties(IDictionary sourceTa { foreach (var sourceTarget in sourceTargets) { - Targets.Add(sourceTarget); + Targets.Add(sourceTarget.Key, sourceTarget.Value.Clone()); ; } } public void Close() - { - AppClosed?.Invoke(this, EventArgs.Empty); - Dispose(); - } + { + AppClosed?.Invoke(this, EventArgs.Empty); + Dispose(); + } public void Dispose() { diff --git a/src/Core/EficazFramework.Utilities/Application/ApplicationTarget.cs b/src/Core/EficazFramework.Utilities/Application/ApplicationTarget.cs index 7c3515ec..6b354f20 100644 --- a/src/Core/EficazFramework.Utilities/Application/ApplicationTarget.cs +++ b/src/Core/EficazFramework.Utilities/Application/ApplicationTarget.cs @@ -1,4 +1,5 @@ -using System; +using EficazFramework.Extensions; +using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Drawing; @@ -40,4 +41,22 @@ public abstract class ApplicationTarget /// public Dictionary Properties { get; } = new(); + + public ApplicationTarget Clone() + { + var target = Activator.CreateInstance(GetType()) as ApplicationTarget; + + target!.Icon = Icon; + target!.SplashScreen = SplashScreen; + target!.InitialSize = InitialSize; + target!.StartupUriOrType = StartupUriOrType; + + foreach (var item in Properties) + { + target.Properties.Add(item.Key, item.Value); + } + + return target; + } + } diff --git a/src/Core/EficazFramework.Utilities/EficazFramework.Utilities.csproj b/src/Core/EficazFramework.Utilities/EficazFramework.Utilities.csproj index 53aba512..5e2af2bd 100644 --- a/src/Core/EficazFramework.Utilities/EficazFramework.Utilities.csproj +++ b/src/Core/EficazFramework.Utilities/EficazFramework.Utilities.csproj @@ -2,9 +2,9 @@ net6.0;net7.0 - 6.1.6 - 6.1.6.0 - 6.1.6.0 + 6.1.7 + 6.1.7.0 + 6.1.7.0 enable EficazFramework Eficaz Sistemas diff --git a/src/DataProviders/EficazFramework.Data.InMemory/EficazFramework.Data.InMemory.csproj b/src/DataProviders/EficazFramework.Data.InMemory/EficazFramework.Data.InMemory.csproj index c7af4514..944f3bf9 100644 --- a/src/DataProviders/EficazFramework.Data.InMemory/EficazFramework.Data.InMemory.csproj +++ b/src/DataProviders/EficazFramework.Data.InMemory/EficazFramework.Data.InMemory.csproj @@ -2,9 +2,9 @@ net6.0;net7.0 - 6.1.6 - 6.1.6.0 - 6.1.6.0 + 6.1.7 + 6.1.7.0 + 6.1.7.0 EficazFramework true EfCore.snk diff --git a/src/DataProviders/EficazFramework.Data.MsSqlServer/EficazFramework.Data.MsSqlServer.csproj b/src/DataProviders/EficazFramework.Data.MsSqlServer/EficazFramework.Data.MsSqlServer.csproj index 1229cb1a..d9911c1e 100644 --- a/src/DataProviders/EficazFramework.Data.MsSqlServer/EficazFramework.Data.MsSqlServer.csproj +++ b/src/DataProviders/EficazFramework.Data.MsSqlServer/EficazFramework.Data.MsSqlServer.csproj @@ -2,9 +2,9 @@ net6.0;net7.0 - 6.1.6 - 6.1.6.0 - 6.1.6.0 + 6.1.7 + 6.1.7.0 + 6.1.7.0 EficazFramework true EfCore.snk diff --git a/src/DataProviders/EficazFramework.Data.MySql/EficazFramework.Data.MySql.csproj b/src/DataProviders/EficazFramework.Data.MySql/EficazFramework.Data.MySql.csproj index 8e24ce27..18107d8b 100644 --- a/src/DataProviders/EficazFramework.Data.MySql/EficazFramework.Data.MySql.csproj +++ b/src/DataProviders/EficazFramework.Data.MySql/EficazFramework.Data.MySql.csproj @@ -2,9 +2,9 @@ net6.0;net7.0 - 6.1.6 - 6.1.6.0 - 6.1.6.0 + 6.1.7 + 6.1.7.0 + 6.1.7.0 EficazFramework true EfCore.snk diff --git a/src/DataProviders/EficazFramework.Data.SqlLite/EficazFramework.Data.SqlLite.csproj b/src/DataProviders/EficazFramework.Data.SqlLite/EficazFramework.Data.SqlLite.csproj index ff587bc9..4138bfc9 100644 --- a/src/DataProviders/EficazFramework.Data.SqlLite/EficazFramework.Data.SqlLite.csproj +++ b/src/DataProviders/EficazFramework.Data.SqlLite/EficazFramework.Data.SqlLite.csproj @@ -2,9 +2,9 @@ net6.0;net7.0 - 6.1.6 - 6.1.6.0 - 6.1.6.0 + 6.1.7 + 6.1.7.0 + 6.1.7.0 EficazFramework true EfCore.snk diff --git a/src/Desktop/EficazFramework.WPF/EficazFramework.WPF.csproj b/src/Desktop/EficazFramework.WPF/EficazFramework.WPF.csproj index 7cb9d350..9f5cad60 100644 --- a/src/Desktop/EficazFramework.WPF/EficazFramework.WPF.csproj +++ b/src/Desktop/EficazFramework.WPF/EficazFramework.WPF.csproj @@ -3,9 +3,9 @@ net6.0-windows;net7.0-windows true - 6.1.6 - 6.1.6.0 - 6.1.6.0 + 6.1.7 + 6.1.7.0 + 6.1.7.0 EficazFramework Eficaz Sistemas Eficaz Sistemas de Gestão e Inteligência Tributária diff --git a/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Components/Panels/MdiApps/AnotherCoolApp.razor b/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Components/Panels/MdiApps/AnotherCoolApp.razor index c82bdd9f..169e9e24 100644 --- a/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Components/Panels/MdiApps/AnotherCoolApp.razor +++ b/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Components/Panels/MdiApps/AnotherCoolApp.razor @@ -38,7 +38,8 @@ { return @
Hello World!
; + style="position: absolute; left:25%; right: 25%;background-color:red" + @onpointerdown:stopPropagation>Header Override; } } \ No newline at end of file diff --git a/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Icons/Assets.razor b/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Icons/Assets.razor index 57005156..ce0b5c65 100644 --- a/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Icons/Assets.razor +++ b/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Pages/Icons/Assets.razor @@ -118,4 +118,24 @@
Rural (Alt)
+ + + + + + + +
Social (Filled)
+
+
+ + + + + + +
Social (Alt)
+
+
+ \ No newline at end of file diff --git a/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Resources/Mocks/Applications.cs b/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Resources/Mocks/Applications.cs index 85d9f01b..ff9d1ce4 100644 --- a/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Resources/Mocks/Applications.cs +++ b/src/Tests/Web/EficazFramework.Tests.Blazor.Views/Resources/Mocks/Applications.cs @@ -143,6 +143,7 @@ public static void GenerateApps(EficazFramework.Application.IApplicationManager? applicationManager.AllApplications.Add(appHello); applicationManager.AllApplications.Add(appAnother); applicationManager.AllApplications.Add(appPerSection); + applicationManager.AllApplications.Add(appPerSection2); applicationManager.AllApplications.Add(appHello2); applicationManager.AllApplications.Add(appAnother2); applicationManager.AllApplications.Add(appEmptyIcon); diff --git a/src/Web/EficazFramework.Blazor/Components/Panels/MdiWindow.razor b/src/Web/EficazFramework.Blazor/Components/Panels/MdiWindow.razor index 77d8747d..b13dc472 100644 --- a/src/Web/EficazFramework.Blazor/Components/Panels/MdiWindow.razor +++ b/src/Web/EficazFramework.Blazor/Components/Panels/MdiWindow.razor @@ -25,8 +25,7 @@ @onpointermove:preventDefault> @(ApplicationInstance != null ? ApplicationInstance.Title : Title) -
+
@HeaderContent
@@ -41,7 +40,7 @@ @onpointermove:preventDefault/> -
enable enable true - 6.1.6 - 6.1.6.2 - 6.1.6.2 + 6.1.7 + 6.1.7.2 + 6.1.7.2 EficazFramework Eficaz Sistemas Eficaz Sistemas de Gestão e Inteligência Tributária diff --git a/src/Web/EficazFramework.Blazor/Icons/Products.cs b/src/Web/EficazFramework.Blazor/Icons/Products.cs index cdea3f68..4df43489 100644 --- a/src/Web/EficazFramework.Blazor/Icons/Products.cs +++ b/src/Web/EficazFramework.Blazor/Icons/Products.cs @@ -45,4 +45,14 @@ public class Products /// public static string EficazRuralAlt => ""; + /// + /// ViewBox Sugerido: 0 0 24 24 (padrão) + /// + public static string EficazSocial => "\r\n"; + + /// + /// ViewBox Sugerido: 0 0 24 24 (padrão) + /// + public static string EficazSocialAlt => "\r\n"; + }