17 changed files
WPE.App.Shared.BaseComponents | ||
Business | ||
Alert | ||
AlertManager.cs + | ||
IAlertManager.cs + | ||
ServiceCollectionExtensions.cs | ||
Pages | ||
Buttons | ||
ButtonPrimaryFullscreen.razor.css | ||
ButtonSecondaryFullscreen.razor.css | ||
Card | ||
Card_ExtensionContainer.razor | ||
Card_ExtensionContainer.razor.css | ||
Components | ||
BaseComponents.razor | ||
Form | ||
FormCheckbox.razor + | ||
FormCheckbox.razor.css + | ||
FormRadioButton.razor + | ||
FormRadioButton.razor.css + | ||
Module/Alert | ||
AnimatedAlert.razor + | ||
AnimatedAlert.razor.css + | ||
Navigation | ||
NavigationTab.razor + | ||
NavigationTab.razor.css + | ||
WPE.App.Shared.BaseComponents.csproj | ||
AlertManager.cs
/WPE.App.Shared.BaseComponents/Business/Alert/AlertManager.cs+13/WPE.App.Shared.BaseComponents/Business/Alert/AlertManager.cs
Add comment 1 Plus namespace Infsoft.WPE.App.Shared.BaseComponents.Business.Alert
Add comment 2 Plus {
Add comment 3 Plus public class AlertManager : IAlertManager
Add comment 4 Plus {
Add comment 5 Plus public event Action<string, string, int>? OnShowAnimatedAlert;
Add comment 6 Plus
Add comment 7 Plus public void ShowAnimatedAlert(string text, string icon, int timeVisibleInMillis = 2000)
Add comment 8 Plus {
Add comment 9 Plus OnShowAnimatedAlert?.Invoke(text, icon, timeVisibleInMillis);
Add comment 10 Plus }
Add comment 11 Plus }
Add comment 12 Plus }
Add comment 13 Plus
IAlertManager.cs
/WPE.App.Shared.BaseComponents/Business/Alert/IAlertManager.cs+15/WPE.App.Shared.BaseComponents/Business/Alert/IAlertManager.cs
Add comment 1 Plus using System;
Add comment 2 Plus using System.Collections.Generic;
Add comment 3 Plus using System.Linq;
Add comment 4 Plus using System.Text;
Add comment 5 Plus using System.Threading.Tasks;
Add comment 6 Plus
Add comment 7 Plus namespace Infsoft.WPE.App.Shared.BaseComponents.Business.Alert
Add comment 8 Plus {
Add comment 9 Plus public interface IAlertManager
Add comment 10 Plus {
Add comment 11 Plus event Action<string, string, int>? OnShowAnimatedAlert;
Add comment 12 Plus void ShowAnimatedAlert(string text, string icon, int timeVisibleInMillis = 2000);
Add comment 13 Plus }
Add comment 14 Plus }
Add comment 15 Plus
ServiceCollectionExtensions.cs
/WPE.App.Shared.BaseComponents/Business/ServiceCollectionExtensions.cs+2/WPE.App.Shared.BaseComponents/Business/ServiceCollectionExtensions.cs
Add comment 1 Plus using Infsoft.WPE.App.Shared.BaseComponents.Business.Alert;
Add comment 1 2 using Infsoft.WPE.App.Shared.BaseComponents.Business.Confirmation;
Add comment 2 3 using Infsoft.WPE.App.Shared.BaseComponents.Business.Info;
Add comment 3 4 using Microsoft.Extensions.DependencyInjection;
Add comment 10 11 {
Add comment 11 12 services.AddScoped<InfoManager>();
Add comment 12 13 services.AddScoped<ConfirmationDialogManager>();
Add comment 14 Plus services.AddScoped<IAlertManager, AlertManager>();
Add comment 13 15 }
Add comment 14 16 }
Add comment 15 17 }
ButtonPrimaryFullscreen.razor.css
/WPE.App.Shared.BaseComponents/Pages/Buttons/ButtonPrimaryFullscreen.razor.css/WPE.App.Shared.BaseComponents/Pages/Buttons/ButtonPrimaryFullscreen.razor.css
ButtonSecondaryFullscreen.razor.css
/WPE.App.Shared.BaseComponents/Pages/Buttons/ButtonSecondaryFullscreen.razor.css/WPE.App.Shared.BaseComponents/Pages/Buttons/ButtonSecondaryFullscreen.razor.css
Card_ExtensionContainer.razor
/WPE.App.Shared.BaseComponents/Pages/Card/Card_ExtensionContainer.razor/WPE.App.Shared.BaseComponents/Pages/Card/Card_ExtensionContainer.razor
Card_ExtensionContainer.razor.css
/WPE.App.Shared.BaseComponents/Pages/Card/Card_ExtensionContainer.razor.css/WPE.App.Shared.BaseComponents/Pages/Card/Card_ExtensionContainer.razor.css
BaseComponents.razor
/WPE.App.Shared.BaseComponents/Pages/Components/BaseComponents.razor/WPE.App.Shared.BaseComponents/Pages/Components/BaseComponents.razor
FormCheckbox.razor
/WPE.App.Shared.BaseComponents/Pages/Form/FormCheckbox.razor/WPE.App.Shared.BaseComponents/Pages/Form/FormCheckbox.razor
FormCheckbox.razor.css
/WPE.App.Shared.BaseComponents/Pages/Form/FormCheckbox.razor.css/WPE.App.Shared.BaseComponents/Pages/Form/FormCheckbox.razor.css
FormRadioButton.razor
/WPE.App.Shared.BaseComponents/Pages/Form/FormRadioButton.razor/WPE.App.Shared.BaseComponents/Pages/Form/FormRadioButton.razor
FormRadioButton.razor.css
/WPE.App.Shared.BaseComponents/Pages/Form/FormRadioButton.razor.css/WPE.App.Shared.BaseComponents/Pages/Form/FormRadioButton.razor.css
AnimatedAlert.razor
/WPE.App.Shared.BaseComponents/Pages/Module/Alert/AnimatedAlert.razor/WPE.App.Shared.BaseComponents/Pages/Module/Alert/AnimatedAlert.razor
AnimatedAlert.razor.css
/WPE.App.Shared.BaseComponents/Pages/Module/Alert/AnimatedAlert.razor.css/WPE.App.Shared.BaseComponents/Pages/Module/Alert/AnimatedAlert.razor.css
NavigationTab.razor
/WPE.App.Shared.BaseComponents/Pages/Navigation/NavigationTab.razor/WPE.App.Shared.BaseComponents/Pages/Navigation/NavigationTab.razor
NavigationTab.razor.css
/WPE.App.Shared.BaseComponents/Pages/Navigation/NavigationTab.razor.css/WPE.App.Shared.BaseComponents/Pages/Navigation/NavigationTab.razor.css
WPE.App.Shared.BaseComponents.csproj
/WPE.App.Shared.BaseComponents/WPE.App.Shared.BaseComponents.csproj/WPE.App.Shared.BaseComponents/WPE.App.Shared.BaseComponents.csproj