ReportUpdate { get; set; }
-
private async Task ReloadData()
{
ListRecords = null;
diff --git a/GPW.CORE.SMART/Components/RegRichieste.razor b/GPW.CORE.SMART/Components/RegRichieste.razor
index 811b28f..2522361 100644
--- a/GPW.CORE.SMART/Components/RegRichieste.razor
+++ b/GPW.CORE.SMART/Components/RegRichieste.razor
@@ -49,9 +49,12 @@ else
diff --git a/GPW.CORE.SMART/Components/RegRichieste.razor.cs b/GPW.CORE.SMART/Components/RegRichieste.razor.cs
index 71e66cf..b913626 100644
--- a/GPW.CORE.SMART/Components/RegRichieste.razor.cs
+++ b/GPW.CORE.SMART/Components/RegRichieste.razor.cs
@@ -11,7 +11,6 @@ using Microsoft.AspNetCore.Components.Routing;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.Web.Virtualization;
using Microsoft.JSInterop;
-using GPW.CORE.Comp;
using GPW.CORE.Data.DbModels;
using GPW.CORE.Smart;
using GPW.CORE.Smart.Components;
diff --git a/GPW.CORE.SMART/Components/TestWeekCal.razor.cs b/GPW.CORE.SMART/Components/TestWeekCal.razor.cs
index 46cd774..db3efe4 100644
--- a/GPW.CORE.SMART/Components/TestWeekCal.razor.cs
+++ b/GPW.CORE.SMART/Components/TestWeekCal.razor.cs
@@ -1,4 +1,4 @@
-using GPW.CORE.Comp;
+using Egw.Core.Razor.Comp.Data;
using Microsoft.AspNetCore.Components;
namespace GPW.CORE.Smart.Components
diff --git a/GPW.CORE.SMART/Components/UserQrCode.razor.cs b/GPW.CORE.SMART/Components/UserQrCode.razor.cs
index 1587c1d..ad8ad0f 100644
--- a/GPW.CORE.SMART/Components/UserQrCode.razor.cs
+++ b/GPW.CORE.SMART/Components/UserQrCode.razor.cs
@@ -1,8 +1,8 @@
+using Egw.Core.Razor.Comp;
using GPW.CORE.Data.DbModels;
using GPW.CORE.Smart.Data;
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
-using static GPW.CORE.Comp.Toggler;
namespace GPW.CORE.Smart.Components
{
@@ -80,7 +80,7 @@ namespace GPW.CORE.Smart.Components
private DipendentiModel? recordDip { get; set; } = null;
- private SelectGlobalToggle ToggleData { get; set; } = new SelectGlobalToggle();
+ private Toggler.SelectGlobalToggle ToggleData { get; set; } = new Toggler.SelectGlobalToggle();
private string UrlLinkExt { get; set; } = "";
@@ -90,7 +90,7 @@ namespace GPW.CORE.Smart.Components
#region Private Methods
- private async Task evToggled(SelectGlobalToggle newTogData)
+ private async Task evToggled(Toggler.SelectGlobalToggle newTogData)
{
ToggleData = newTogData;
await Task.Delay(1);
@@ -109,7 +109,7 @@ namespace GPW.CORE.Smart.Components
private void initToggler()
{
- ToggleData = new SelectGlobalToggle()
+ ToggleData = new Toggler.SelectGlobalToggle()
{
leftString = "Link Esterno",
rightString = "Link Interno",
diff --git a/GPW.CORE.SMART/Data/CoreSmartDataService.cs b/GPW.CORE.SMART/Data/CoreSmartDataService.cs
index aa51a05..b5ba204 100644
--- a/GPW.CORE.SMART/Data/CoreSmartDataService.cs
+++ b/GPW.CORE.SMART/Data/CoreSmartDataService.cs
@@ -1,4 +1,4 @@
-using GPW.CORE.Comp;
+using Egw.Core.Razor.Comp.Data;
using GPW.CORE.Data.DbModels;
using GPW.CORE.Data.DTO;
using Microsoft.AspNetCore.Identity.UI.Services;
@@ -647,7 +647,7 @@ namespace GPW.CORE.Smart.Data
return dbResult;
}
- public string DeriptData(string encData)
+ public string DecriptData(string encData)
{
return SteamCrypto.DecryptString(encData, passPhrase);
}
diff --git a/GPW.CORE.SMART/GPW.CORE.SMART.csproj b/GPW.CORE.SMART/GPW.CORE.SMART.csproj
index bcdb0db..5afdea0 100644
--- a/GPW.CORE.SMART/GPW.CORE.SMART.csproj
+++ b/GPW.CORE.SMART/GPW.CORE.SMART.csproj
@@ -3,7 +3,7 @@
net6.0
enable
- 3.0.2301.2518
+ 3.0.2302.0216
enable
www.egalware.com
GPW Smart UI
@@ -26,12 +26,12 @@
+
-
diff --git a/GPW.CORE.SMART/Pages/About.razor.cs b/GPW.CORE.SMART/Pages/About.razor.cs
index 9e09e6d..54899fe 100644
--- a/GPW.CORE.SMART/Pages/About.razor.cs
+++ b/GPW.CORE.SMART/Pages/About.razor.cs
@@ -1,21 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
-using System.Net.Http;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Components.Authorization;
-using Microsoft.AspNetCore.Components.Forms;
-using Microsoft.AspNetCore.Components.Routing;
-using Microsoft.AspNetCore.Components.Web;
-using Microsoft.AspNetCore.Components.Web.Virtualization;
-using Microsoft.JSInterop;
-using GPW.CORE.Comp;
-using GPW.CORE.Data.DbModels;
-using GPW.CORE.Smart;
-using GPW.CORE.Smart.Components;
-using GPW.CORE.Smart.Shared;
namespace GPW.CORE.Smart.Pages
{
diff --git a/GPW.CORE.SMART/Pages/DayOff.razor.cs b/GPW.CORE.SMART/Pages/DayOff.razor.cs
index 985aca7..8c8e6b0 100644
--- a/GPW.CORE.SMART/Pages/DayOff.razor.cs
+++ b/GPW.CORE.SMART/Pages/DayOff.razor.cs
@@ -1,8 +1,8 @@
-using GPW.CORE.Comp;
+using Egw.Core.Razor.Comp;
+using Egw.Core.Razor.Comp.Data;
using GPW.CORE.Data.DbModels;
using GPW.CORE.Smart.Data;
using Microsoft.AspNetCore.Components;
-using static GPW.CORE.Comp.Toggler;
namespace GPW.CORE.Smart.Pages
{
@@ -114,9 +114,9 @@ namespace GPW.CORE.Smart.Pages
private bool showRichieste { get; set; } = false;
- private SelectGlobalToggle ToggleShow { get; set; } = new SelectGlobalToggle();
+ private Toggler.SelectGlobalToggle ToggleShow { get; set; } = new Toggler.SelectGlobalToggle();
- private SelectGlobalToggle ToggleTipo { get; set; } = new SelectGlobalToggle();
+ private Toggler.SelectGlobalToggle ToggleTipo { get; set; } = new Toggler.SelectGlobalToggle();
#endregion Private Properties
@@ -184,14 +184,14 @@ namespace GPW.CORE.Smart.Pages
MService.ReportDateChange();
}
- private async Task evTogShow(SelectGlobalToggle newTogData)
+ private async Task evTogShow(Toggler.SelectGlobalToggle newTogData)
{
ToggleShow = newTogData;
showRichieste = !ToggleShow.isActive;
await Task.Delay(1);
}
- private async Task evTogTipo(SelectGlobalToggle newTogData)
+ private async Task evTogTipo(Toggler.SelectGlobalToggle newTogData)
{
ToggleTipo = newTogData;
showMalattie = !ToggleTipo.isActive;
@@ -206,13 +206,13 @@ namespace GPW.CORE.Smart.Pages
private void initToggler()
{
- ToggleTipo = new SelectGlobalToggle()
+ ToggleTipo = new Toggler.SelectGlobalToggle()
{
leftString = "Malattie",
rightString = "Ferie e Permessi",
placardCss = "bg-light border-light text-dark",
};
- ToggleShow = new SelectGlobalToggle()
+ ToggleShow = new Toggler.SelectGlobalToggle()
{
leftString = "Mostra Richieste",
rightString = "Solo Calendario",
diff --git a/GPW.CORE.SMART/Pages/ForceReset.razor.cs b/GPW.CORE.SMART/Pages/ForceReset.razor.cs
index 4791556..bc2433d 100644
--- a/GPW.CORE.SMART/Pages/ForceReset.razor.cs
+++ b/GPW.CORE.SMART/Pages/ForceReset.razor.cs
@@ -1,4 +1,4 @@
-using GPW.CORE.Comp;
+using Egw.Core.Razor.Comp.Data;
using GPW.CORE.Smart.Data;
using Microsoft.AspNetCore.Components;
diff --git a/GPW.CORE.SMART/Pages/Index.razor.cs b/GPW.CORE.SMART/Pages/Index.razor.cs
index cb503f3..5cdbaaf 100644
--- a/GPW.CORE.SMART/Pages/Index.razor.cs
+++ b/GPW.CORE.SMART/Pages/Index.razor.cs
@@ -1,4 +1,3 @@
-using GPW.CORE.Comp;
using GPW.CORE.Smart.Data;
using Microsoft.AspNetCore.Components;
@@ -6,12 +5,15 @@ namespace GPW.CORE.Smart.Pages
{
public partial class Index : IDisposable
{
- #region Protected Properties
+ #region Public Methods
- [Inject]
- private MessageService MService { get; set; } = null!;
+ public void Dispose()
+ {
+ MService.EA_DipUpdated -= MService_EA_DipUpdated;
+ GC.Collect();
+ }
- #endregion Protected Properties
+ #endregion Public Methods
#region Protected Methods
@@ -25,18 +27,14 @@ namespace GPW.CORE.Smart.Pages
#region Private Properties
- public void Dispose()
- {
- MService.EA_DipUpdated -= MService_EA_DipUpdated;
- GC.Collect();
- }
-
-
///
/// IdxDipCurr
///
private int idxDipendente { get; set; } = 0;
+ [Inject]
+ private MessageService MService { get; set; } = null!;
+
#endregion Private Properties
#region Private Methods
diff --git a/GPW.CORE.SMART/Pages/Jumper.razor.cs b/GPW.CORE.SMART/Pages/Jumper.razor.cs
index 7184343..0ddd0fc 100644
--- a/GPW.CORE.SMART/Pages/Jumper.razor.cs
+++ b/GPW.CORE.SMART/Pages/Jumper.razor.cs
@@ -1,12 +1,10 @@
-using GPW.CORE.Comp;
+using Egw.Core.Razor.Comp.Data;
using GPW.CORE.Data.DbModels;
using GPW.CORE.Smart.Data;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.JSInterop;
using NLog;
-using Org.BouncyCastle.Asn1;
-using System.Net;
namespace GPW.CORE.Smart.Pages
{
@@ -133,7 +131,7 @@ namespace GPW.CORE.Smart.Pages
if (currDip.AuthKey == authKey)
{
// creo la DeviceSecret
- devSec = CDService.EncriptData($"{rndTxt01}|{dtData}|{idxDipendente}|{devIp}|{rndTxt02}");
+ devSec = CDService.EncriptData($"{rndTxt01}|{dtData}|{idxDipendente}|{devIp}|{rndTxt02}");
// ...e la salvo sul DB
AnagDeviceModel newDev = new AnagDeviceModel()
{
diff --git a/GPW.CORE.SMART/Pages/RegNewDevice.razor.cs b/GPW.CORE.SMART/Pages/RegNewDevice.razor.cs
index c4f7306..b8ef4a1 100644
--- a/GPW.CORE.SMART/Pages/RegNewDevice.razor.cs
+++ b/GPW.CORE.SMART/Pages/RegNewDevice.razor.cs
@@ -1,20 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Components;
-using System.Net.Http;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Components.Authorization;
-using Microsoft.AspNetCore.Components.Forms;
-using Microsoft.AspNetCore.Components.Routing;
-using Microsoft.AspNetCore.Components.Web;
-using Microsoft.AspNetCore.Components.Web.Virtualization;
-using Microsoft.JSInterop;
-using GPW.CORE.Smart;
-using GPW.CORE.Smart.Shared;
-using GPW.CORE.Comp;
-
namespace GPW.CORE.Smart.Pages
{
public partial class RegNewDevice
diff --git a/GPW.CORE.SMART/_Imports.razor b/GPW.CORE.SMART/_Imports.razor
index c263ebf..5eae3ba 100644
--- a/GPW.CORE.SMART/_Imports.razor
+++ b/GPW.CORE.SMART/_Imports.razor
@@ -6,7 +6,7 @@
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.JSInterop
-@using GPW.CORE.Comp
+@using Egw.Core.Razor.Comp
@using GPW.CORE.Data.DbModels
@using GPW.CORE.Smart
@using GPW.CORE.Smart.Components
diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html
index 91afe73..80ef4d4 100644
--- a/Resources/ChangeLog.html
+++ b/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
GPW - Gestione Presenze Web
- Versione: 3.0.2301.2711
+ Versione: 3.0.2302.0216
Note di rilascio:
-
diff --git a/Resources/VersNum.txt b/Resources/VersNum.txt
index 9864f12..c9a1a84 100644
--- a/Resources/VersNum.txt
+++ b/Resources/VersNum.txt
@@ -1 +1 @@
-3.0.2301.2711
+3.0.2302.0216
diff --git a/Resources/manifest.xml b/Resources/manifest.xml
index e594784..a9243b9 100644
--- a/Resources/manifest.xml
+++ b/Resources/manifest.xml
@@ -1,7 +1,7 @@
-
- 3.0.2301.2711
- http://nexus.steamware.net/repository/SWS/GPW/stable/GPW.UI.zip
+ 3.0.2302.0216
+ http://nexus.steamware.net/repository/SWS/GPW/stable/GPW.Smart.zip
http://nexus.steamware.net/repository/SWS/GPW/stable/ChangeLog.html
false