4 changed files
WPE.App.Base | ||
AppAttribute.cs | ||
OverlayAttribute.cs + | ||
WPE.App.Base.csproj | ||
ReadMe.md | ||
Add comment 1 namespace Infsoft.WPE.App.Base
Add comment 2 {
Add comment 3 /// <summary>
Add comment 4 Minus /// Marks a component as app to be displayed in full screen (no navbar visible)
Add comment 4 Plus /// Marks a component as app to be displayed in full screen (with specified navBar mode)
Add comment 5 /// </summary>
Add comment 6 /// <remarks>
Add comment 7 /// To use this attribute the following interface must be implemented:
Add comment 1 Plus namespace Infsoft.WPE.App.Base
Add comment 2 Plus {
Add comment 3 Plus /// <summary>
Add comment 4 Plus /// Marks a component as overlay, which is always being rendered.
Add comment 5 Plus ///
Add comment 6 Plus /// When nothing should be shown, simply render no content.
Add comment 7 Plus /// </summary>
Add comment 8 Plus /// <remarks>
Add comment 9 Plus /// You must inherit from <see cref="AppComponent"/> or <see cref="AppJsComponent{T}"/> to implement this attribute.
Add comment 10 Plus /// </remarks>
Add comment 11 Plus [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
Add comment 12 Plus public class OverlayAttribute() : Attribute
Add comment 13 Plus {
Add comment 14 Plus }
Add comment 15 Plus }
Add comment 16 Plus
Add comment 15 <PackageIcon>icon.png</PackageIcon>
Add comment 16 <PackageReadmeFile>ReadMe.md</PackageReadmeFile>
Add comment 17 <PackageTags>WPE;Workplace Experience;Blazor;MAUI;infsoft</PackageTags>
Add comment 18 Minus <Version>1.0.0-next28</Version>
Add comment 18 Plus <Version>1.0.0</Version>
Add comment 19 <GenerateDocumentationFile>true</GenerateDocumentationFile>
Add comment 20 </PropertyGroup>
Add comment 21
Add comment 22 <ItemGroup>
Add comment 23 Minus <PackageReference Include="Autofac" Version="8.0.0" />
Add comment 24 Minus <PackageReference Include="Infsoft.WPE.App.DTO" Version="1.0.1-next10" />
Add comment 25 Minus <PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.6" />
Add comment 23 Plus <PackageReference Include="Autofac" Version="8.1.0" />
Add comment 24 Plus <PackageReference Include="Infsoft.WPE.App.DTO" Version="1.1.0" />
Add comment 25 Plus <PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.8" />
Add comment 26 </ItemGroup>
Add comment 27
Add comment 28 <ItemGroup>
Add comment 27 Any PoI component receives the unique identifier of the PoI it was opened for,
Add comment 28 as well as any properties the PoI might specify,
Add comment 29 but in constrast to the other components no further parameters are allowed
Add comment 30 Plus - [**Overlay**](WPE.App.Base/OverlayAttribute.cs)
Add comment 31 Plus Provides the possibility to render popups or other overlays ontop of the whole app
Add comment 30 32
Add comment 31 33 Notable changes to pre 1.0:
Add comment 32 34 - No mobile attribute present or necessary, use media-queries instead.