54 lines
1.1 KiB
C#
54 lines
1.1 KiB
C#
using EgwCoreLib.Lux.Data.DbModel.Sales;
|
|
|
|
namespace Lux.UI.Components.Pages
|
|
{
|
|
public partial class Template
|
|
{
|
|
#region Protected Methods
|
|
|
|
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
await base.OnInitializedAsync();
|
|
await Task.Delay(100);
|
|
isLoading = false;
|
|
}
|
|
|
|
#endregion Protected Methods
|
|
|
|
#region Private Fields
|
|
|
|
private bool isLoading = true;
|
|
|
|
private string searchVal = "";
|
|
|
|
private TemplateModel? SelRecord = null;
|
|
|
|
private EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS CurrEnvir = EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.NULL;
|
|
|
|
#endregion Private Fields
|
|
|
|
#region Private Properties
|
|
|
|
private string mainCss
|
|
{
|
|
get => SelRecord != null ? "col-4" : "col-12";
|
|
}
|
|
|
|
#endregion Private Properties
|
|
|
|
#region Private Methods
|
|
|
|
private void DoSelect(TemplateModel selrec)
|
|
{
|
|
SelRecord = selrec;
|
|
}
|
|
|
|
private void ResetSearch()
|
|
{
|
|
searchVal = "";
|
|
}
|
|
|
|
#endregion Private Methods
|
|
}
|
|
} |