Compare commits

..

3 Commits

Author SHA1 Message Date
Mohaimen Hasan
a458cdba4c Bonus Process 2026-11-11 15:54:19 +06:00
Mohaimen Hasan
9944262dd1 Bonus Process Employee Loading 2026-11-11 13:15:14 +06:00
Mohaimen Hasan
072b0a63c4 Done 2026-11-09 18:44:05 +06:00
809 changed files with 13718 additions and 8731 deletions

5
.gitignore vendored
View File

@ -749,11 +749,6 @@ FodyWeavers.xsd
# Additional files built by Visual Studio # Additional files built by Visual Studio
# End of https://www.toptal.com/developers/gitignore/api/csharp,angular,aspnetcore,visualstudio,visualstudiocode # End of https://www.toptal.com/developers/gitignore/api/csharp,angular,aspnetcore,visualstudio,visualstudiocode
/HRM.UI/appsettings.json
/HRM.UI/appsettings.json
/HRM.UI/appsettings.json
/HRM.UI/appsettings.json
/HRM.UI/appsettings.json
# Employee photos written at runtime (approved thumbnails + photos awaiting approval). # Employee photos written at runtime (approved thumbnails + photos awaiting approval).
# Not source; regenerated/repopulated by the app. # Not source; regenerated/repopulated by the app.

View File

@ -1,59 +0,0 @@
/* ============================================================================
Bad login attempt - client IP address and device id
----------------------------------------------------------------------------
BadLoginAttemptInfoService.Save now records who tried to log in:
PCNumber computer name - reverse DNS of the client IP (falls back to the
IP when there is no name). Can be a fully-qualified host name,
so it is widened to NVARCHAR(255) below if it is narrower.
IPAddress client IP - first X-Forwarded-For entry, else the connection's
remote address. 45 chars fits the longest IPv6 text form.
DeviceId mobile / tab device id (request header X-Device-Id / DeviceId,
or set by the caller); NULL for a browser login.
Run order: run this BEFORE deploying the matching code. BadLoginAttemptInfoDA
.Insert and BadLoginAttemptInfoService.MapObject name both new columns, so
without them every bad-login save and the System Audit Trail's "Bad Login
Attempt" tab fail. Guarded; safe to re-run.
============================================================================ */
IF OBJECT_ID('dbo.BadLoginAttemptInfo') IS NULL
BEGIN
RAISERROR('dbo.BadLoginAttemptInfo does not exist on this database.', 16, 1);
RETURN;
END;
GO
IF COL_LENGTH('dbo.BadLoginAttemptInfo', 'IPAddress') IS NULL
BEGIN
ALTER TABLE dbo.BadLoginAttemptInfo ADD IPAddress NVARCHAR(45) NULL;
END;
GO
IF COL_LENGTH('dbo.BadLoginAttemptInfo', 'DeviceId') IS NULL
BEGIN
ALTER TABLE dbo.BadLoginAttemptInfo ADD DeviceId NVARCHAR(200) NULL;
END;
GO
/* Widen PCNumber to NVARCHAR(255) when it is narrower (keeping its nullability),
so a long host name can not make the insert fail. MAX (-1) is left alone. */
DECLARE @maxLength SMALLINT, @typeName SYSNAME, @isNullable BIT;
SELECT @maxLength = c.max_length, @typeName = t.name, @isNullable = c.is_nullable
FROM sys.columns c
JOIN sys.types t ON t.user_type_id = c.user_type_id
WHERE c.object_id = OBJECT_ID('dbo.BadLoginAttemptInfo')
AND c.name = 'PCNumber';
IF @maxLength IS NOT NULL
AND @maxLength <> -1
AND ( (@typeName IN ('nvarchar', 'nchar') AND @maxLength < 510)
OR (@typeName IN ('varchar', 'char') AND @maxLength < 255) )
BEGIN
DECLARE @sql NVARCHAR(400) =
N'ALTER TABLE dbo.BadLoginAttemptInfo ALTER COLUMN PCNumber NVARCHAR(255) '
+ CASE WHEN @isNullable = 1 THEN N'NULL' ELSE N'NOT NULL' END + N';';
EXEC sp_executesql @sql;
END;
GO

View File

@ -436,16 +436,6 @@ calendar's Users dropdown once came back silently empty for exactly this reason.
column: use the pattern in `CalendarItemDA.UserEmailExpression`, which checks `COL_LENGTH` once per process column: use the pattern in `CalendarItemDA.UserEmailExpression`, which checks `COL_LENGTH` once per process
and builds `COALESCE(EmailAddress, Email)` from whichever columns exist. Server-side SQL errors that the UI and builds `COALESCE(EmailAddress, Email)` from whichever columns exist. Server-side SQL errors that the UI
swallows land in `HRM.UI/Log/Error.log` (`ExceptionLog`), the first place to look. swallows land in `HRM.UI/Log/Error.log` (`ExceptionLog`), the first place to look.
Two places don't follow that pattern yet. `UserDA.Insert` writes only `Email`, so creating a user fails on a
database that lacks it (the pending `UsersEmailColumn_DB_Changes.sql` adds it; its header wrongly says Insert
writes both columns). `UserService.MapObject`
reads only `Email` (the `EmailAddress` line is commented out), so the user list's `email` is blank wherever
addresses live in `EmailAddress`.
Gotcha in user approval: `UserDA.Approve` always sets `Status = Approved` (5), whatever the request was. So
"approving" an `Inactive_Not_Yet_Approve` (9) or `Inactive` (8) user **re-activates** them, and a deactivation
can never actually be approved. The user list labels that action "Re-activate" for this reason; the fix
belongs in the server.
`PayrollTypeID` is the scoping key threaded through most payroll/attendance queries — when adding a `PayrollTypeID` is the scoping key threaded through most payroll/attendance queries — when adding a
query that returns employee data, check whether existing siblings filter by it. Reading `EmployeeID` query that returns employee data, check whether existing siblings filter by it. Reading `EmployeeID`
@ -555,10 +545,8 @@ Schema/proc changes are hand-authored `.sql` scripts named `<Feature>_DB_Changes
each database **manually**. They live in two places and the distinction is the whole point: each database **manually**. They live in two places and the distinction is the whole point:
- **Repo root** — the *pending* ones. `ls *_DB_Changes.sql` shows what has not been applied yet - **Repo root** — the *pending* ones. `ls *_DB_Changes.sql` shows what has not been applied yet
Write new scripts here, in the same commit as the code that needs them. The root also holds (at the initial import there were none). Write new scripts here, in the same commit as the code
generated DB analysis reports (`UnusedTables_<db>.txt`, `TablesWithoutPK_<db>.txt`). They are that needs them.
input for clean-up decisions, not proof a table is safe to drop: they only scan `HRM.DA/DA` SQL and
DB objects, and `HangFire.*` is used by the library itself.
- **[`db/Script/`](db/Script)** — the archive of shipped ones (`Calendar`, `MenuIcon`, - **[`db/Script/`](db/Script)** — the archive of shipped ones (`Calendar`, `MenuIcon`,
`AttendanceLeaveSummaryLM`, `TaxParameterEssDeadline`, `PMS_SquareAlign_IDP`, `EmpHistoricalData`). `AttendanceLeaveSummaryLM`, `TaxParameterEssDeadline`, `PMS_SquareAlign_IDP`, `EmpHistoricalData`).
Read them for precedent — they are the best worked examples of house style — but don't re-run one Read them for precedent — they are the best worked examples of house style — but don't re-run one
@ -671,9 +659,6 @@ What the earlier 19 → 21 upgrade fixed in place, so don't undo it:
under `src/`). Always edit the `.ts`; never the generated `.js`. under `src/`). Always edit the `.ts`; never the generated `.js`.
- Long-running actions show the shared loading panel: `<app-loading-panel></app-loading-panel>` in the - Long-running actions show the shared loading panel: `<app-loading-panel></app-loading-panel>` in the
template plus `loadingPanel.ShowLoadingPanel = true/false` around the call (~395 templates use it). template plus `loadingPanel.ShowLoadingPanel = true/false` around the call (~395 templates use it).
The flag must be on the injected **`loadingPanelService`** (`hrm-loding panel/loding.panel.service.ts`),
which is what `<app-loading-panel>` reads. `UntilityHandlerService` has a same-named
`ShowLoadingPanel` that nothing renders, so ~10 older components that set it never show a spinner.
Wrap every button/API action that can take a moment, and clear the flag in the error path too. Wrap every button/API action that can take a moment, and clear the flag in the error path too.
### App bootstrap and the initial route ### App bootstrap and the initial route

View File

@ -1,28 +0,0 @@
/*
EmployeeNoUnique_DB_Changes.sql
Why:
dbo.EMPLOYEE.EMPLOYEENO had no uniqueness guard, so two employees could be saved with the
same Employee No (bulk upload, manual entry, ESS lookups by number all assume it is unique).
What:
Adds unique constraint UQ_EMPLOYEE_EMPLOYEENO on dbo.EMPLOYEE (EMPLOYEENO).
Stops with an error (and changes nothing) if duplicate Employee Nos already exist -
fix those first with the query printed below.
Run order:
Any time; no code depends on it. Re-runnable: does nothing when the constraint exists.
*/
IF EXISTS (SELECT 1 FROM sys.objects WHERE name = 'UQ_EMPLOYEE_EMPLOYEENO' AND parent_object_id = OBJECT_ID('dbo.EMPLOYEE'))
PRINT 'UQ_EMPLOYEE_EMPLOYEENO already exists - nothing to do.';
ELSE IF EXISTS (SELECT EMPLOYEENO FROM dbo.EMPLOYEE GROUP BY EMPLOYEENO HAVING COUNT(*) > 1)
BEGIN
RAISERROR('Duplicate EMPLOYEENO values exist. Find them with: SELECT EMPLOYEENO, COUNT(*) FROM dbo.EMPLOYEE GROUP BY EMPLOYEENO HAVING COUNT(*) > 1', 16, 1);
END
ELSE
BEGIN
ALTER TABLE dbo.EMPLOYEE ADD CONSTRAINT UQ_EMPLOYEE_EMPLOYEENO UNIQUE NONCLUSTERED (EMPLOYEENO);
PRINT 'UQ_EMPLOYEE_EMPLOYEENO added.';
END
GO

View File

@ -24,17 +24,6 @@ namespace HRM.BO
public DateTime AttemptTime { get; set; } public DateTime AttemptTime { get; set; }
public string PCNumber { get; set; } public string PCNumber { get; set; }
// Client of the failed login (BadLoginAttemptInfo_ClientInfo_DB_Changes.sql).
// Filled by BadLoginAttemptInfoService.Save from the HTTP request when not set.
public string IPAddress { get; set; }
/// <summary>Mobile / tab device id; null for a browser login.</summary>
public string DeviceId { get; set; }
// Display only, not persisted: filled by GetAuditTrail (joined from Users)
// for the System Audit Trail screen.
public string LoginID { get; set; }
public string UserName { get; set; }
//#region Service Factory IBadLoginAttemptInfoService : IBadLoginAttemptInfoService //#region Service Factory IBadLoginAttemptInfoService : IBadLoginAttemptInfoService
@ -57,11 +46,9 @@ namespace HRM.BO
{ {
BadLoginAttemptInfo Get(int id); BadLoginAttemptInfo Get(int id);
List<BadLoginAttemptInfo> Get(); List<BadLoginAttemptInfo> Get();
void Save(BadLoginAttemptInfo item); int Save(BadLoginAttemptInfo item);
void SaveInThread(BadLoginAttemptInfo item);
List<BadLoginAttemptInfo> Get(DateTime dtFrom, DateTime dtTo); List<BadLoginAttemptInfo> Get(DateTime dtFrom, DateTime dtTo);
void Delete(int id); void Delete(int id);
List<BadLoginAttemptInfo> GetAuditTrail(DateTime dtFrom, DateTime dtTo);
} }
#endregion #endregion

View File

@ -28,18 +28,6 @@ namespace HRM.BO
public DateTime? LogoutTime { get; set; } public DateTime? LogoutTime { get; set; }
public EnumLogoutType? LogoutType { get; set; } public EnumLogoutType? LogoutType { get; set; }
public string PCNumber { get; set; } public string PCNumber { get; set; }
// Client of the login (UserLoginInfo_ClientInfo_DB_Changes.sql).
// Filled by UserLogInInfoService.Save from the HTTP request when not set.
public string IPAddress { get; set; }
/// <summary>Mobile / tab device id; null for a browser login.</summary>
public string DeviceId { get; set; }
#endregion
#region Audit Trail (display only, not persisted)
// Filled only by GetAuditTrail (joined from Users) for the System Audit Trail screen.
public string LoginID { get; set; }
public string UserName { get; set; }
#endregion #endregion
@ -70,7 +58,6 @@ namespace HRM.BO
void Delete(int id); void Delete(int id);
void UpdateLogoutTime(int nLoginID); void UpdateLogoutTime(int nLoginID);
long NoofLogin(int nUserID); long NoofLogin(int nUserID);
List<UserLogInInfo> GetAuditTrail(DateTime dtFrom, DateTime dtTo);
} }
#endregion #endregion

View File

@ -563,6 +563,7 @@ namespace HRM.BO
//void SaveBasicInfo(Employee item); //void SaveBasicInfo(Employee item);
List<Employee> GetByEmpIDs(string empIDs, int payrollTypeID); List<Employee> GetByEmpIDs(string empIDs, int payrollTypeID);
List<Employee> GetByEmpIDs(string empIDs); List<Employee> GetByEmpIDs(string empIDs);
List<EmployeeLite> GetLiteByEmpIDs(List<int> empIDs);
List<Employee> GetFssEmp(string empIDs, int payrollTypeID); List<Employee> GetFssEmp(string empIDs, int payrollTypeID);
List<Employee> GetEmpsWithDiscontinue(string empIDs, int payrollTypeID); List<Employee> GetEmpsWithDiscontinue(string empIDs, int payrollTypeID);
DataSet GetEmpJoining4Novartis(DateTime dEffectDate, int payrollTypeID); DataSet GetEmpJoining4Novartis(DateTime dEffectDate, int payrollTypeID);

View File

@ -0,0 +1,17 @@
using System;
namespace HRM.BO
{
/// <summary>
/// A light Employee: only the few columns that screens working on thousands of employees at once need
/// (Bonus Process today). Loading the whole Employee row for 10k+ employees never reached the browser.
/// To add a field: add the property here, the column in EmployeeDA.GetLiteByEmpIDs, and the read in
/// EmployeeService.GetLiteByEmpIDs (and in ClientApp _models/Employee/employeeLite.ts).
/// </summary>
public class EmployeeLite
{
public int EmployeeID { get; set; }
public bool IsConfirmed { get; set; }
public DateTime? JoiningDate { get; set; }
}
}

View File

@ -394,13 +394,6 @@ namespace HRM.BO
routerLink = "/authentication/data-permssion", routerLink = "/authentication/data-permssion",
icon = "pi pi-fw pi-database", icon = "pi pi-fw pi-database",
}, },
new WebMenuItem()
{
uniqueName = "WEB.01.08",
label = "Audit log",
routerLink = "/authentication/system-auditlog",
icon = "pi pi-fw pi-database",
},
} }
}, },

View File

@ -136,7 +136,7 @@ namespace HRM.BO
public int? EmployeeID { get; set; } public int? EmployeeID { get; set; }
public string MobileNo { get; set; } public string MobileNo { get; set; }
public string Email { get; set; } //erec public string Email { get; set; } //erec
//public string EmailAddress { get; set; } public string EmailAddress { get; set; }
public string ADloginID { get; set; } public string ADloginID { get; set; }
#region Payroll Specific #region Payroll Specific

View File

@ -19,9 +19,8 @@ namespace HRM.DA
internal static void Insert(TransactionContext tc, BadLoginAttemptInfo item) internal static void Insert(TransactionContext tc, BadLoginAttemptInfo item)
{ {
tc.ExecuteNonQuery("INSERT INTO BadLoginAttemptInfo(LoginID, AttemptTime, PCNumber, IPAddress, DeviceId)" + tc.ExecuteNonQuery("INSERT INTO BadLoginAttemptInfo(SlID, UserID, AttemptTime, PCNumber)" +
" VALUES(%s, %D, %s, %s, %s)", " VALUES(%n, %n, %D,%s)", item.ID, item.UserID, item.AttemptTime, item.PCNumber);
item.LoginID, item.AttemptTime, item.PCNumber, item.IPAddress, item.DeviceId);
} }
#endregion #endregion
@ -47,20 +46,6 @@ namespace HRM.DA
"select * from BadLoginAttemptInfo where AttemptTime between %D AND %D order by AttemptTime", dtf, dtt); "select * from BadLoginAttemptInfo where AttemptTime between %D AND %D order by AttemptTime", dtf, dtt);
} }
// System Audit Trail: every bad login attempt in the date range (both days
// inclusive), with the user's LoginID / Name, newest first.
internal static IDataReader GetAuditTrail(TransactionContext tc, DateTime dtFrom, DateTime dtTo)
{
string sql = SQLParser.MakeSQL(
@"SELECT a.*, u.LoginID, u.UserName
FROM BadLoginAttemptInfo a
LEFT JOIN Users u ON u.LoginID = a.LoginID
WHERE a.AttemptTime >= %d AND a.AttemptTime < %d
ORDER BY a.AttemptTime DESC",
dtFrom.Date, dtTo.Date.AddDays(1));
return tc.ExecuteReader(sql);
}
#endregion #endregion
} }
} }

View File

@ -20,10 +20,9 @@ namespace HRM.DA
internal static void Insert(TransactionContext tc, UserLogInInfo item) internal static void Insert(TransactionContext tc, UserLogInInfo item)
{ {
string sql = SQLParser.MakeSQL( string sql = SQLParser.MakeSQL(
@"INSERT INTO UserLoginInfo(SLID, UserID, LoginTime, PCNumber, LogoutTime, LogoutType, IPAddress, DeviceId) @"INSERT INTO UserLoginInfo(SLID, UserID, LoginTime, PCNumber,LogoutTime,LogoutType)
VALUES(%n, %n, %D, %s, %D, %n, %s, %s)", VALUES(%n, %n, %D,%s, %D,%n)",
item.ID, item.UserID, item.LoginTime, item.PCNumber, item.LogoutTime, item.LogoutType, item.ID, item.UserID, item.LoginTime, item.PCNumber, item.LogoutTime, item.LogoutType);
item.IPAddress, item.DeviceId);
tc.ExecuteNonQuery(sql); tc.ExecuteNonQuery(sql);
} }
@ -92,20 +91,6 @@ namespace HRM.DA
dtf, dtt); dtf, dtt);
} }
// System Audit Trail: every login in the date range (both days inclusive),
// with the user's LoginID / Name, newest first.
internal static IDataReader GetAuditTrail(TransactionContext tc, DateTime dtFrom, DateTime dtTo)
{
string sql = SQLParser.MakeSQL(
@"SELECT a.*, u.LoginID, u.UserName
FROM UserLoginInfo a
LEFT JOIN Users u ON u.UserID = a.UserID
WHERE a.LoginTime >= %d AND a.LoginTime < %d
ORDER BY a.LoginTime DESC",
dtFrom.Date, dtTo.Date.AddDays(1));
return tc.ExecuteReader(sql);
}
internal static long NoofLogin(TransactionContext tc, int UserID) internal static long NoofLogin(TransactionContext tc, int UserID)
{ {
string sql = SQLParser.MakeSQL("SELECT Count(*) FROM UserLoginInfo WHERE UserID=%n ", UserID); string sql = SQLParser.MakeSQL("SELECT Count(*) FROM UserLoginInfo WHERE UserID=%n ", UserID);

View File

@ -798,6 +798,34 @@ namespace HRM.DA
return dr; return dr;
} }
/// <summary>
/// The EmployeeLite columns only, for any number of employees (10k+ at a time).
/// The IDs go in as ONE varchar(max) parameter and land in a temp table with a primary key, so the
/// SQL text stays small and SQL Server knows how many rows to expect (an inline IN list or
/// STRING_SPLIT in the join is much slower at this size). Needs SQL Server 2016+ (STRING_SPLIT).
/// </summary>
internal static IDataReader GetLiteByEmpIDs(TransactionContext tc, List<int> empIDs)
{
const string sql = @"SET NOCOUNT ON;
IF OBJECT_ID('tempdb..#elEmpIds') IS NOT NULL DROP TABLE #elEmpIds;
CREATE TABLE #elEmpIds (ID int NOT NULL PRIMARY KEY);
INSERT INTO #elEmpIds (ID) SELECT DISTINCT CONVERT(int, value) FROM STRING_SPLIT(@empIds, ',') WHERE value <> '';
SELECT e.EMPLOYEEID AS EmployeeID, e.ISCONFIRMED AS IsConfirmed, e.JOININGDATE AS JoiningDate
FROM Employee e
INNER JOIN #elEmpIds t ON t.ID = e.EMPLOYEEID;
DROP TABLE #elEmpIds;";
// ints only (the caller passes List<int>), so the parameter can never carry anything but digits and commas
string ids = string.Join(",", empIDs);
// must be a SqlParameter[]: Ease.Core casts the array to SqlParameter[], and a lone parameter
// passed to "params IDataParameter[]" would arrive as an IDataParameter[] and fail that cast
SqlParameter[] parameters =
{
SqlHelperExtension.CreateInParam("@empIds", SqlDbType.VarChar, ids, -1) // varchar(max)
};
return tc.ExecuteReader(CommandType.Text, sql, parameters);
}
internal static IDataReader GetFssEmp(TransactionContext tc, string empIDs, int payrollTypeID) internal static IDataReader GetFssEmp(TransactionContext tc, string empIDs, int payrollTypeID)
{ {
string sTableName; string sTableName;

View File

@ -212,17 +212,54 @@ namespace HRM.DA
DataSet oIncomeTaxs = new DataSet(); DataSet oIncomeTaxs = new DataSet();
try try
{ {
string sql = SQLParser.MakeSQL(@"select salarytax.EMPLOYEENO,salarytax.Name,salarytax.EMPLOYEEID, salarytax.TaxAmount SalaryData, st.thisyeartotal TaxData from // The employee IDs used to be spliced in twice as "in(1,2,3,...)". With 10k+ employees
// SQL Server cannot build a plan for that ("The query processor ran out of internal
// resources", error 8623). Now they go in as ONE varchar(max) parameter, land in a temp
// table with a primary key, and both parts of the UNION read "in (SELECT ID FROM #tdrEmpIds)".
// The query itself (columns, conditions, result) is unchanged. Needs SQL Server 2016+ (STRING_SPLIT).
List<string> ids = new List<string>();
foreach (string part in (empids ?? string.Empty).Split(','))
{
string id = part.Trim();
if (id.Length == 0) continue;
if (!int.TryParse(id, out int empId))
throw new ArgumentException("Invalid employee id: " + id);
ids.Add(empId.ToString());
}
//string sql = SQLParser.MakeSQL(@"select salarytax.EMPLOYEENO,salarytax.Name,salarytax.EMPLOYEEID, salarytax.TaxAmount SalaryData, st.thisyeartotal TaxData from
// (Select tab.EMPLOYEENO,tab.Name,tab.EMPLOYEEID,sum(tab.TaxAmount) TaxAmount from
// (Select e.EMPLOYEENO,e.Name,e.EMPLOYEEID,sd.CHANGEDAMOUNT TaxAmount,s.salarymonth from SALARYMONTHLYDETAIL sd, SALARYMONTHLY s,Employee e where s.EMPLOYEEID=e.EMPLOYEEID and sd.SALARYMONTHLYID=s.SALARYMONTHLYID and s.SALARYMONTH
// between %d and %d and ITEMCODE=-129 and ITEMID=-129 and s.EMPLOYEEID in(%q)
// union
// Select e.EMPLOYEENO,e.Name,e.EMPLOYEEID,s.CHANGETAXAMOUNT TaxAmount,s.DISBURSEDATE salarymonth from BONUSPROCESSDETAIL s,Employee e where e.EMPLOYEEID=s.EMPLOYEEID and s.DISBURSEDATE between %d and %d and s.EMPLOYEEID in (%q)
// ) tab group by tab.EMPLOYEENO,tab.Name,tab.EMPLOYEEID) salarytax
// left join
// %q st on salarytax.Employeeid=st.employeeid and st.itemcode=-212 and st.itemid=-212",
//fromdate, toDate, empids, fromdate, toDate, empids, GetTableName(dataFrom));
string sql = SQLParser.MakeSQL(@"SET NOCOUNT ON;
IF OBJECT_ID('tempdb..#tdrEmpIds') IS NOT NULL DROP TABLE #tdrEmpIds;
CREATE TABLE #tdrEmpIds (ID int NOT NULL PRIMARY KEY);
INSERT INTO #tdrEmpIds (ID) SELECT DISTINCT CONVERT(int, value) FROM STRING_SPLIT(@empIds, ',') WHERE value <> '';
select salarytax.EMPLOYEENO,salarytax.Name,salarytax.EMPLOYEEID, salarytax.TaxAmount SalaryData, st.thisyeartotal TaxData from
(Select tab.EMPLOYEENO,tab.Name,tab.EMPLOYEEID,sum(tab.TaxAmount) TaxAmount from (Select tab.EMPLOYEENO,tab.Name,tab.EMPLOYEEID,sum(tab.TaxAmount) TaxAmount from
(Select e.EMPLOYEENO,e.Name,e.EMPLOYEEID,sd.CHANGEDAMOUNT TaxAmount,s.salarymonth from SALARYMONTHLYDETAIL sd, SALARYMONTHLY s,Employee e where s.EMPLOYEEID=e.EMPLOYEEID and sd.SALARYMONTHLYID=s.SALARYMONTHLYID and s.SALARYMONTH (Select e.EMPLOYEENO,e.Name,e.EMPLOYEEID,sd.CHANGEDAMOUNT TaxAmount,s.salarymonth from SALARYMONTHLYDETAIL sd, SALARYMONTHLY s,Employee e where s.EMPLOYEEID=e.EMPLOYEEID and sd.SALARYMONTHLYID=s.SALARYMONTHLYID and s.SALARYMONTH
between %d and %d and ITEMCODE=-129 and ITEMID=-129 and s.EMPLOYEEID in(%q) between %d and %d and ITEMCODE=-129 and ITEMID=-129 and s.EMPLOYEEID in (SELECT ID FROM #tdrEmpIds)
union union
Select e.EMPLOYEENO,e.Name,e.EMPLOYEEID,s.CHANGETAXAMOUNT TaxAmount,s.DISBURSEDATE salarymonth from BONUSPROCESSDETAIL s,Employee e where e.EMPLOYEEID=s.EMPLOYEEID and s.DISBURSEDATE between %d and %d and s.EMPLOYEEID in (%q) Select e.EMPLOYEENO,e.Name,e.EMPLOYEEID,s.CHANGETAXAMOUNT TaxAmount,s.DISBURSEDATE salarymonth from BONUSPROCESSDETAIL s,Employee e where e.EMPLOYEEID=s.EMPLOYEEID and s.DISBURSEDATE between %d and %d and s.EMPLOYEEID in (SELECT ID FROM #tdrEmpIds)
) tab group by tab.EMPLOYEENO,tab.Name,tab.EMPLOYEEID) salarytax ) tab group by tab.EMPLOYEENO,tab.Name,tab.EMPLOYEEID) salarytax
left join left join
%q st on salarytax.Employeeid=st.employeeid and st.itemcode=-212 and st.itemid=-212", %q st on salarytax.Employeeid=st.employeeid and st.itemcode=-212 and st.itemid=-212;
fromdate, toDate, empids, fromdate, toDate, empids, GetTableName(dataFrom)); DROP TABLE #tdrEmpIds;",
oIncomeTaxs = tc.ExecuteDataSet(sql); fromdate, toDate, fromdate, toDate, GetTableName(dataFrom));
// must be a Microsoft.Data.SqlClient.SqlParameter[]: Ease.Core casts the array to that type
Microsoft.Data.SqlClient.SqlParameter[] parameters =
{
Ease.Core.DataAccess.SQL.SqlHelperExtension.CreateInParam("@empIds", SqlDbType.VarChar, string.Join(",", ids), -1) // varchar(max)
};
oIncomeTaxs = tc.ExecuteDataSet(CommandType.Text, sql, parameters);
} }
catch (Exception ex) catch (Exception ex)
{ {

View File

@ -25,16 +25,16 @@ namespace HRM.DA
string sql = SQLParser.MakeSQL(@"INSERT INTO Users(USERID, COMPUTERNAME, APPROVEDCOMPUTERNAME, USERTYPE, STATUS," + string sql = SQLParser.MakeSQL(@"INSERT INTO Users(USERID, COMPUTERNAME, APPROVEDCOMPUTERNAME, USERTYPE, STATUS," +
" LOCKEDWORKSTATION,PASSWORDHINT,LOGINID,USERNAME,PASSWORD, ApprovedBy," + " LOCKEDWORKSTATION,PASSWORDHINT,LOGINID,USERNAME,PASSWORD, ApprovedBy," +
" ApprovedDate, EMPLOYEEID,ChangePasswordAtNextLogon,NeverExpire,MacAddress,IPAddress," + " ApprovedDate, EMPLOYEEID,ChangePasswordAtNextLogon,NeverExpire,MacAddress,IPAddress," +
" ExpireDate,CreatedDate,OwnerID, reason, authorizedBy, authorizedDate , Email)" + " ExpireDate,CreatedDate,OwnerID, reason, authorizedBy, authorizedDate, EmailAddress, Email)" +
" VALUES(%n, %s, %s, %n, %n, " + " VALUES(%n, %s, %s, %n, %n, " +
"%s, %s, %s, %s, %s, %n, " + "%s, %s, %s, %s, %s, %n, " +
" %d, %n, %n, %n, %s, %s, " + " %d, %n, %n, %n, %s, %s, " +
" %D, %D, %n, %s, %n, %D , %s)" , " %D, %D, %n, %s, %n, %D, %u, %s)" ,
item.ID, item.ComputerName, item.ApprovedComputerName, item.UserType, item.UserStatus, item.ID, item.ComputerName, item.ApprovedComputerName, item.UserType, item.UserStatus,
item.LockedWorkStation, item.PasswordHints, item.LoginID, item.UserName, item.Password, item.ApprovedBy, item.LockedWorkStation, item.PasswordHints, item.LoginID, item.UserName, item.Password, item.ApprovedBy,
item.ApprovedDate, item.EmployeeID, item.ChangePasswordAtNextLogon, item.NeverExpire, item.MacAddress, item.IPAddress, item.ApprovedDate, item.EmployeeID, item.ChangePasswordAtNextLogon, item.NeverExpire, item.MacAddress, item.IPAddress,
item.ExpireDate, item.CreatedDate,item.ParentID, item.Reason, item.AuthorizedBy, item.AuthorizedDate, item.ExpireDate, item.CreatedDate,item.ParentID, item.Reason, item.AuthorizedBy, item.AuthorizedDate,
string.IsNullOrWhiteSpace(item.EmailAddress) ? null : item.EmailAddress.Trim(),
string.IsNullOrWhiteSpace(item.Email) ? null : item.Email.Trim()); string.IsNullOrWhiteSpace(item.Email) ? null : item.Email.Trim());
tc.ExecuteNonQuery(sql); tc.ExecuteNonQuery(sql);
@ -49,12 +49,12 @@ namespace HRM.DA
string sql = SQLParser.MakeSQL(@"UPDATE Users SET COMPUTERNAME=%s, APPROVEDCOMPUTERNAME=%s, USERTYPE=%n, LOCKEDWORKSTATION=%s, " + string sql = SQLParser.MakeSQL(@"UPDATE Users SET COMPUTERNAME=%s, APPROVEDCOMPUTERNAME=%s, USERTYPE=%n, LOCKEDWORKSTATION=%s, " +
" LOGINID=%s, USERNAME=%s,PASSWORD=%s, PASSWORDHINT=%s, ApprovedBy=%n, ApprovedDate=%D, EMPLOYEEID=%n, " + " LOGINID=%s, USERNAME=%s,PASSWORD=%s, PASSWORDHINT=%s, ApprovedBy=%n, ApprovedDate=%D, EMPLOYEEID=%n, " +
" ChangePasswordAtNextLogon=%n, NeverExpire=%n, MacAddress = %s, IPAddress = %s , " + " ChangePasswordAtNextLogon=%n, NeverExpire=%n, MacAddress = %s, IPAddress = %s , " +
" ExpireDate = %D, Status = %n, reason = %s, authorizedBy = %n, authorizedDate = %D, Email = %s " + " ExpireDate = %D, Status = %n, reason = %s, authorizedBy = %n, authorizedDate = %D, EmailAddress = %u " +
" WHERE UserID=%n", item.ComputerName, item.ApprovedComputerName, item.UserType, item.LockedWorkStation, " WHERE UserID=%n", item.ComputerName, item.ApprovedComputerName, item.UserType, item.LockedWorkStation,
item.LoginID, item.UserName, item.Password, item.PasswordHints, item.ApprovedBy, DataReader.GetNullValue(item.ApprovedDate), item.EmployeeID, item.LoginID, item.UserName, item.Password, item.PasswordHints, item.ApprovedBy, DataReader.GetNullValue(item.ApprovedDate), item.EmployeeID,
item.ChangePasswordAtNextLogon, item.NeverExpire, item.MacAddress, item.IPAddress, item.ChangePasswordAtNextLogon, item.NeverExpire, item.MacAddress, item.IPAddress,
DataReader.GetNullValue(item.ExpireDate), item.UserStatus, item.Reason, item.AuthorizedBy, DataReader.GetNullValue(item.AuthorizedDate), item.Email, DataReader.GetNullValue(item.ExpireDate), item.UserStatus, item.Reason, item.AuthorizedBy, DataReader.GetNullValue(item.AuthorizedDate),
item.ID); string.IsNullOrWhiteSpace(item.EmailAddress) ? null : item.EmailAddress.Trim(), item.ID);
tc.ExecuteNonQuery(sql); tc.ExecuteNonQuery(sql);
} }
@ -99,7 +99,7 @@ namespace HRM.DA
{ {
tc.ExecuteNonQuery("UPDATE Users SET Status = %n, ApprovedBy=%n, ApprovedDate=%D,ComputerName=%s,ApprovedComputerName=%s," + tc.ExecuteNonQuery("UPDATE Users SET Status = %n, ApprovedBy=%n, ApprovedDate=%D,ComputerName=%s,ApprovedComputerName=%s," +
" ExpireDate=%D WHERE UserID = %n", " ExpireDate=%D WHERE UserID = %n",
item.UserStatus, item.ApprovedBy, item.ApprovedDate, item.ComputerName, EnumAuthStatus.Approved, item.ApprovedBy, item.ApprovedDate, item.ComputerName,
item.ApprovedComputerName, DataReader.GetNullValue(item.ExpireDate), item.ID); item.ApprovedComputerName, DataReader.GetNullValue(item.ExpireDate), item.ID);
} }
#endregion #endregion

View File

@ -16,11 +16,9 @@ namespace HRM.DA
private void MapObject(BadLoginAttemptInfo oBadLoginAttemptInfo, DataReader oReader) private void MapObject(BadLoginAttemptInfo oBadLoginAttemptInfo, DataReader oReader)
{ {
base.SetObjectID(oBadLoginAttemptInfo, oReader.GetInt32("SlID").Value); base.SetObjectID(oBadLoginAttemptInfo, oReader.GetInt32("SlID").Value);
oBadLoginAttemptInfo.LoginID = oReader.GetString("LoginID"); oBadLoginAttemptInfo.UserID = oReader.GetInt32("UserID", 0);
oBadLoginAttemptInfo.AttemptTime = oReader.GetDateTime("AttemptTime").Value; oBadLoginAttemptInfo.AttemptTime = oReader.GetDateTime("AttemptTime").Value;
oBadLoginAttemptInfo.PCNumber = oReader.GetString("PCNumber"); oBadLoginAttemptInfo.PCNumber = oReader.GetString("PCNumber");
oBadLoginAttemptInfo.IPAddress = oReader.GetString("IPAddress");
oBadLoginAttemptInfo.DeviceId = oReader.GetString("DeviceId");
} }
protected override T CreateObject<T>(DataReader oReader) protected override T CreateObject<T>(DataReader oReader)
@ -127,58 +125,19 @@ namespace HRM.DA
return BadLoginAttemptInfos; return BadLoginAttemptInfos;
} }
public List<BadLoginAttemptInfo> GetAuditTrail(DateTime dtFrom, DateTime dtTo) public int Save(BadLoginAttemptInfo oBadLoginAttemptInfo)
{
List<BadLoginAttemptInfo> items = new List<BadLoginAttemptInfo>();
TransactionContext tc = null;
try
{
tc = TransactionContext.Begin();
DataReader dr = new DataReader(BadLoginAttemptInfoDA.GetAuditTrail(tc, dtFrom, dtTo));
while (dr.Read())
{
BadLoginAttemptInfo item = this.CreateObject<BadLoginAttemptInfo>(dr);
item.LoginID = dr.GetString("LoginID");
item.UserName = dr.GetString("UserName");
items.Add(item);
}
dr.Close();
tc.End();
}
catch (Exception e)
{
#region Handle Exception
if (tc != null)
tc.HandleError();
ExceptionLog.Write(e);
throw new ServiceException(e.Message, e);
#endregion
}
return items;
}
public void Save(BadLoginAttemptInfo oBadLoginAttemptInfo)
{ {
TransactionContext tc = null; TransactionContext tc = null;
try try
{ {
// IP / device id come from the request (only reachable here when Save runs on
// the request thread; SaveInThread captures them before it leaves it). The
// computer name is a reverse-DNS lookup of that IP, done here because it can
// take a moment and SaveInThread runs this off the request thread.
CaptureRequestInfo(oBadLoginAttemptInfo);
if (string.IsNullOrWhiteSpace(oBadLoginAttemptInfo.PCNumber))
oBadLoginAttemptInfo.PCNumber = ClientRequestInfo.ResolveComputerName(oBadLoginAttemptInfo.IPAddress);
tc = TransactionContext.Begin(true); tc = TransactionContext.Begin(true);
int id = tc.GenerateID("BadLoginAttemptInfo", "SlID");
base.SetObjectID(oBadLoginAttemptInfo, id);
BadLoginAttemptInfoDA.Insert(tc, oBadLoginAttemptInfo); BadLoginAttemptInfoDA.Insert(tc, oBadLoginAttemptInfo);
tc.End(); tc.End();
return oBadLoginAttemptInfo.ID;
} }
catch (Exception e) catch (Exception e)
{ {
@ -193,30 +152,6 @@ namespace HRM.DA
} }
} }
public void SaveInThread(BadLoginAttemptInfo oBadLoginAttemptInfo)
{
// Read the request NOW: by the time the thread runs, the request may be over.
CaptureRequestInfo(oBadLoginAttemptInfo);
System.Threading.Thread saveThread = new System.Threading.Thread(() => Save(oBadLoginAttemptInfo))
{
IsBackground = true
};
saveThread.Start();
}
/// <summary>
/// Fills IPAddress and DeviceId from the current request, keeping whatever the caller
/// already set (e.g. the mobile login knows the DeviceID from its request body).
/// </summary>
private static void CaptureRequestInfo(BadLoginAttemptInfo oBadLoginAttemptInfo)
{
if (string.IsNullOrWhiteSpace(oBadLoginAttemptInfo.IPAddress))
oBadLoginAttemptInfo.IPAddress = ClientRequestInfo.GetIPAddress();
if (string.IsNullOrWhiteSpace(oBadLoginAttemptInfo.DeviceId))
oBadLoginAttemptInfo.DeviceId = ClientRequestInfo.GetDeviceId();
}
public void Delete(int id) public void Delete(int id)
{ {

View File

@ -1,111 +0,0 @@
using System;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace HRM.DA
{
/// <summary>
/// Who is on the other end of the current HTTP request: IP address, device id
/// (mobile / tab) and computer name.
///
/// Services in HRM.DA are created with <c>new</c>, not through DI, so they read the
/// request through the one <see cref="IHttpContextAccessor"/> that Startup hands to
/// <see cref="Configure"/>. Read it on the request thread only: once the request
/// has finished (e.g. inside a background save thread) there is no context left.
///
/// Note <c>Environment.MachineName</c> / <c>Dns.GetHostName()</c> are the name of
/// the web SERVER, never the user's computer.
/// </summary>
public static class ClientRequestInfo
{
/// <summary>Headers a mobile / tab app may send its device id in (first one found wins).</summary>
private static readonly string[] DeviceIdHeaders = { "X-Device-Id", "DeviceId", "DeviceID", "Device-Id" };
/// <summary>A reverse-DNS lookup that has no answer can hang for seconds; never wait longer than this.</summary>
private static readonly TimeSpan HostLookupTimeout = TimeSpan.FromSeconds(2);
private static IHttpContextAccessor _accessor;
/// <summary>Called once from Startup.Configure.</summary>
public static void Configure(IHttpContextAccessor accessor)
{
_accessor = accessor;
}
/// <summary>The current request, or null outside a request (background thread, console job).</summary>
private static HttpContext Current => _accessor?.HttpContext;
/// <summary>
/// The client's IP: the first X-Forwarded-For entry when behind a proxy / load balancer
/// (the same rule as the login rate limiter in Startup), else the socket's remote address.
/// </summary>
public static string GetIPAddress()
{
HttpContext context = Current;
if (context == null)
return null;
string forwarded = context.Request.Headers["X-Forwarded-For"].FirstOrDefault();
if (!string.IsNullOrWhiteSpace(forwarded))
{
string first = forwarded.Split(',')[0].Trim();
if (first != string.Empty)
return first;
}
IPAddress remote = context.Connection.RemoteIpAddress;
if (remote == null)
return null;
if (remote.IsIPv4MappedToIPv6)
remote = remote.MapToIPv4();
return remote.Equals(IPAddress.IPv6Loopback)
? IPAddress.Loopback.ToString() // "::1" -> "127.0.0.1"
: remote.ToString();
}
/// <summary>The device id a mobile / tab app sent as a request header, or null (browser).</summary>
public static string GetDeviceId()
{
HttpContext context = Current;
if (context == null)
return null;
foreach (string header in DeviceIdHeaders)
{
string value = context.Request.Headers[header].FirstOrDefault();
if (!string.IsNullOrWhiteSpace(value))
return value.Trim();
}
return null;
}
/// <summary>
/// The client's computer name by reverse DNS of its IP. Works on a company network
/// whose DNS registers workstations; otherwise (internet, mobile data) there is no
/// name and the IP itself is returned. Blocks for at most <see cref="HostLookupTimeout"/>,
/// so call it off the request thread where possible.
/// </summary>
public static string ResolveComputerName(string ipAddress)
{
if (string.IsNullOrWhiteSpace(ipAddress) || !IPAddress.TryParse(ipAddress, out IPAddress ip))
return ipAddress;
if (IPAddress.IsLoopback(ip))
return Environment.MachineName; // the user is on the server itself
try
{
Task<IPHostEntry> lookup = Dns.GetHostEntryAsync(ip);
if (lookup.Wait(HostLookupTimeout) && !string.IsNullOrWhiteSpace(lookup.Result?.HostName))
return lookup.Result.HostName;
}
catch (Exception)
{
// No PTR record / DNS unreachable: fall back to the IP.
}
return ipAddress;
}
}
}

View File

@ -19,8 +19,6 @@ namespace HRM.DA
oUserLogInInfo.UserID = oReader.GetInt32("UserID", 0); oUserLogInInfo.UserID = oReader.GetInt32("UserID", 0);
oUserLogInInfo.LoginTime = oReader.GetDateTime("LoginTime").Value; oUserLogInInfo.LoginTime = oReader.GetDateTime("LoginTime").Value;
oUserLogInInfo.PCNumber = oReader.GetString("PCNumber"); oUserLogInInfo.PCNumber = oReader.GetString("PCNumber");
oUserLogInInfo.IPAddress = oReader.GetString("IPAddress");
oUserLogInInfo.DeviceId = oReader.GetString("DeviceId");
if (oReader.GetDateTime("LogoutTime") != null) if (oReader.GetDateTime("LogoutTime") != null)
oUserLogInInfo.LogoutTime = Convert.ToDateTime(oReader.GetString("LogoutTime")); oUserLogInInfo.LogoutTime = Convert.ToDateTime(oReader.GetString("LogoutTime"));
oUserLogInInfo.LogoutType = oReader.GetString("LogoutType") == null oUserLogInInfo.LogoutType = oReader.GetString("LogoutType") == null
@ -219,39 +217,6 @@ namespace HRM.DA
return UserLogInInfos; return UserLogInInfos;
} }
public List<UserLogInInfo> GetAuditTrail(DateTime dtFrom, DateTime dtTo)
{
List<UserLogInInfo> items = new List<UserLogInInfo>();
TransactionContext tc = null;
try
{
tc = TransactionContext.Begin();
DataReader dr = new DataReader(UserLogInInfoDA.GetAuditTrail(tc, dtFrom, dtTo));
while (dr.Read())
{
UserLogInInfo item = this.CreateObject<UserLogInInfo>(dr);
item.LoginID = dr.GetString("LoginID");
item.UserName = dr.GetString("UserName");
items.Add(item);
}
dr.Close();
tc.End();
}
catch (Exception e)
{
#region Handle Exception
if (tc != null)
tc.HandleError();
ExceptionLog.Write(e);
throw new ServiceException(e.Message, e);
#endregion
}
return items;
}
public long NoofLogin(int nUserID) public long NoofLogin(int nUserID)
{ {
long nCount = 0; long nCount = 0;
@ -282,10 +247,6 @@ namespace HRM.DA
TransactionContext tc = null; TransactionContext tc = null;
try try
{ {
// Before the transaction: the computer-name lookup can take a moment.
if (oUserLogInInfo.IsNew)
FillClientInfo(oUserLogInInfo);
tc = TransactionContext.Begin(true); tc = TransactionContext.Begin(true);
if (oUserLogInInfo.IsNew) if (oUserLogInInfo.IsNew)
{ {
@ -319,7 +280,6 @@ namespace HRM.DA
{ {
if (oUserLogInInfo.IsNew) if (oUserLogInInfo.IsNew)
{ {
FillClientInfo(oUserLogInInfo);
UserLogInInfoDA.Insert(tc, oUserLogInInfo); UserLogInInfoDA.Insert(tc, oUserLogInInfo);
} }
else UserLogInInfoDA.Update(tc, oUserLogInInfo); else UserLogInInfoDA.Update(tc, oUserLogInInfo);
@ -340,31 +300,6 @@ namespace HRM.DA
/// <summary>
/// Fills IPAddress and DeviceId from the current HTTP request, keeping whatever the
/// caller already set (e.g. the mobile login knows the DeviceID from its request body).
/// Call it on the request thread BEFORE handing the login to a background thread
/// (UserService.SaveLoginfo): once the request is over there is nothing left to read.
/// </summary>
public static void CaptureRequestInfo(UserLogInInfo oUserLogInInfo)
{
if (string.IsNullOrWhiteSpace(oUserLogInInfo.IPAddress))
oUserLogInInfo.IPAddress = ClientRequestInfo.GetIPAddress();
if (string.IsNullOrWhiteSpace(oUserLogInInfo.DeviceId))
oUserLogInInfo.DeviceId = ClientRequestInfo.GetDeviceId();
}
/// <summary>
/// IP / device id from the request (when still reachable), then the computer name:
/// reverse DNS of that IP, or the IP itself when the network has no name for it.
/// </summary>
private static void FillClientInfo(UserLogInInfo oUserLogInInfo)
{
CaptureRequestInfo(oUserLogInInfo);
if (string.IsNullOrWhiteSpace(oUserLogInInfo.PCNumber))
oUserLogInInfo.PCNumber = ClientRequestInfo.ResolveComputerName(oUserLogInInfo.IPAddress);
}
public void Delete(int id) public void Delete(int id)
{ {
//Not Needed //Not Needed

View File

@ -860,8 +860,7 @@ namespace HRM.DA
else else
{ {
BonusProcessDA.Update(tc, oBonusProcess); BonusProcessDA.Update(tc, oBonusProcess);
BonusProcessDA.DeleteProcessDetailByProcessID(tc, oBonusProcess.BonusID, oBonusProcess.ID, BonusProcessDA.DeleteProcessDetailByProcessID(tc, oBonusProcess.BonusID, oBonusProcess.ID, oBonusProcess.PayrollTypeID);
oBonusProcess.PayrollTypeID);
BonusProcessDA.DeleteEmpCostCenter(tc, oBonusProcess.ID); BonusProcessDA.DeleteEmpCostCenter(tc, oBonusProcess.ID);
} }
List<IncomeTax> incometaxes = new List<IncomeTax>(); List<IncomeTax> incometaxes = new List<IncomeTax>();

View File

@ -1890,6 +1890,51 @@ namespace HRM.DA
return employees; return employees;
} }
/// <summary>
/// A light Employee (EmployeeLite) for each of the given employees — an alternative to GetByEmpIDs
/// for screens that need only a few fields for thousands of employees (Bonus Process).
/// </summary>
public List<EmployeeLite> GetLiteByEmpIDs(List<int> empIDs)
{
List<EmployeeLite> items = new List<EmployeeLite>();
if (empIDs == null || empIDs.Count == 0)
return items;
TransactionContext tc = null;
try
{
tc = TransactionContext.Begin();
DataReader dr = new DataReader(EmployeeDA.GetLiteByEmpIDs(tc, empIDs.Distinct().ToList()));
while (dr.Read())
{
items.Add(new EmployeeLite
{
EmployeeID = dr.GetInt32("EmployeeID").Value,
IsConfirmed = dr.GetBoolean("IsConfirmed", false),
JoiningDate = dr.GetDateTime("JoiningDate")
});
}
dr.Close();
tc.End();
}
catch (Exception e)
{
#region Handle Exception
if (tc != null)
tc.HandleError();
ExceptionLog.Write(e);
throw new ServiceException(e.Message, e);
#endregion
}
return items;
}
public void UpdateBanglaInformation(List<object> employeBanglaInfo) public void UpdateBanglaInformation(List<object> employeBanglaInfo)
{ {

View File

@ -338,7 +338,7 @@ namespace HRM.DA
userObject.EmployeeID = emp.ID; userObject.EmployeeID = emp.ID;
// the employee's e-mail becomes the user's (both e-mail columns); no e-mail on the employee leaves them empty // the employee's e-mail becomes the user's (both e-mail columns); no e-mail on the employee leaves them empty
userObject.Email = string.IsNullOrWhiteSpace(emp.EmailAddress) ? null : emp.EmailAddress.Trim(); userObject.Email = string.IsNullOrWhiteSpace(emp.EmailAddress) ? null : emp.EmailAddress.Trim();
// userObject.EmailAddress = userObject.Email; userObject.EmailAddress = userObject.Email;
userObject.UserStatus = EnumAuthStatus.Approved; userObject.UserStatus = EnumAuthStatus.Approved;
userObject.ChangePasswordAtNextLogon = true; userObject.ChangePasswordAtNextLogon = true;
userObject.SISU = false; userObject.SISU = false;

View File

@ -53,7 +53,7 @@ namespace HRM.DA
oUser.ChangePasswordAtNextLogon = oReader.GetBoolean("ChangePasswordAtNextLogon", false); oUser.ChangePasswordAtNextLogon = oReader.GetBoolean("ChangePasswordAtNextLogon", false);
oUser.EmployeeID = oReader.GetInt32("EmployeeID"); oUser.EmployeeID = oReader.GetInt32("EmployeeID");
oUser.Email = oReader.GetString("Email", true, string.Empty); oUser.Email = oReader.GetString("Email", true, string.Empty);
// oUser.EmailAddress = oReader.GetString("EmailAddress", true, null); oUser.EmailAddress = oReader.GetString("EmailAddress", true, null);
// oUser.LogInPayrollTypeID = oReader.GetInt32("PAYROLLTYPEID", 0); // oUser.LogInPayrollTypeID = oReader.GetInt32("PAYROLLTYPEID", 0);
// oUser.ChangePasswordAtNextLogon = oReader.GetBoolean("ChangePasswordAtNextLogon").Value; // oUser.ChangePasswordAtNextLogon = oReader.GetBoolean("ChangePasswordAtNextLogon").Value;
//oUser.NeverExpire = oReader.GetBoolean("NeverExpire").Value; //oUser.NeverExpire = oReader.GetBoolean("NeverExpire").Value;
@ -437,7 +437,9 @@ namespace HRM.DA
UserLogInInfo login = new UserLogInInfo(); UserLogInInfo login = new UserLogInInfo();
login.UserID = userID; login.UserID = userID;
login.LoginTime = DateTime.Now; login.LoginTime = DateTime.Now;
UserLogInInfoService.CaptureRequestInfo(login); // on the request thread, before the save thread login.PCNumber = Environment.MachineName + " ," +
System.Net.Dns.GetHostName() + " ," +
Environment.GetEnvironmentVariable("COMPUTERNAME");
Thread myNewThread = new Thread(() => SaveLoginfo(login)); Thread myNewThread = new Thread(() => SaveLoginfo(login));
myNewThread.Start(); myNewThread.Start();
} }
@ -494,7 +496,6 @@ namespace HRM.DA
login.UserID = oUser.ID; login.UserID = oUser.ID;
login.LoginTime = DateTime.Now; login.LoginTime = DateTime.Now;
UserLogInInfoService.CaptureRequestInfo(login); // on the request thread, before the save thread
Thread myNewThread = new Thread(() => SaveLoginfo(login)); Thread myNewThread = new Thread(() => SaveLoginfo(login));
myNewThread.Start(); myNewThread.Start();
@ -551,7 +552,6 @@ namespace HRM.DA
login.UserID = oUser.ID; login.UserID = oUser.ID;
login.LoginTime = DateTime.Now; login.LoginTime = DateTime.Now;
UserLogInInfoService.CaptureRequestInfo(login); // on the request thread, before the save thread
Thread myNewThread = new Thread(() => SaveLoginfo(login)); Thread myNewThread = new Thread(() => SaveLoginfo(login));
myNewThread.Start(); myNewThread.Start();
} }
@ -589,7 +589,6 @@ namespace HRM.DA
login.UserID = oUser.ID; login.UserID = oUser.ID;
login.LoginTime = DateTime.Now; login.LoginTime = DateTime.Now;
login.PCNumber = hostName; login.PCNumber = hostName;
UserLogInInfoService.CaptureRequestInfo(login); // on the request thread, before the save thread
Thread myNewThread = new Thread(() => SaveLoginfo(login)); Thread myNewThread = new Thread(() => SaveLoginfo(login));
myNewThread.Start(); myNewThread.Start();
} }
@ -641,10 +640,9 @@ namespace HRM.DA
public void SaveLoginfo(UserLogInInfo oTran) public void SaveLoginfo(UserLogInInfo oTran)
{ {
// PCNumber used to be Environment.MachineName / Dns.GetHostName() - the web oTran.PCNumber = Environment.MachineName + " ," +
// SERVER's name, the same for every login. UserLogInInfoService.Save now fills it System.Net.Dns.GetHostName() + " ," +
// with the client's computer name (reverse DNS of its IP) unless the caller set it Environment.GetEnvironmentVariable("COMPUTERNAME");
// (GetByLoginIDAndPasswordAndHostName passes the host name it was given).
new UserLogInInfoService().Save(oTran); new UserLogInInfoService().Save(oTran);
//if(GlobalFunctions.defaultConfigVal == null) //if(GlobalFunctions.defaultConfigVal == null)
//{ //{
@ -985,16 +983,7 @@ namespace HRM.DA
if (tc != null) if (tc != null)
tc.HandleError(); tc.HandleError();
ExceptionLog.Write(e); ExceptionLog.Write(e);
throw new ServiceException(e.Message, e);
// Unique index Unique_EmpNo on dbo.USERS: this employee already has a user.
for (Exception inner = e; inner != null; inner = inner.InnerException)
{
if (inner.Message.IndexOf("Cannot insert duplicate key row", StringComparison.OrdinalIgnoreCase) >= 0
&& inner.Message.IndexOf("Unique_EmpNo", StringComparison.OrdinalIgnoreCase) >= 0)
throw new ServiceException("User already exist in the system", e);
}
throw new ServiceException("Failed to Create/Update user.", e);
#endregion #endregion
} }
} }
@ -1155,7 +1144,6 @@ namespace HRM.DA
login.UserID = oUser.ID; login.UserID = oUser.ID;
login.LoginTime = DateTime.Now; login.LoginTime = DateTime.Now;
UserLogInInfoService.CaptureRequestInfo(login); // on the request thread, before the save thread
Thread myNewThread = new Thread(() => SaveLoginfo(login)); Thread myNewThread = new Thread(() => SaveLoginfo(login));
myNewThread.Start(); myNewThread.Start();
} }

View File

@ -64,14 +64,13 @@
"date-fns": "^4.4.0", "date-fns": "^4.4.0",
"exceljs": "^4.4.0", "exceljs": "^4.4.0",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"fix": "^0.0.3",
"hammerjs": "^2.0.8", "hammerjs": "^2.0.8",
"ng2-pdf-viewer": "^10.4.0", "ng2-pdf-viewer": "^10.4.0",
"ngx-extended-pdf-viewer": "^31.0.1", "ngx-extended-pdf-viewer": "^31.0.1",
"primeflex": "^4.0.0", "primeflex": "^4.0.0",
"primeicons": "^7.0.0", "primeicons": "^7.0.0",
"prismjs": "^1.30.0", "prismjs": "^1.30.0",
"quill": "^2.0.2", "quill": "^2.0.3",
"rxjs": "^7.8.2", "rxjs": "^7.8.2",
"sweetalert2": "^11.26.25", "sweetalert2": "^11.26.25",
"tslib": "^2.9.1", "tslib": "^2.9.1",
@ -80,8 +79,8 @@
}, },
"devDependencies": { "devDependencies": {
"@angular-eslint/builder": "^22.6.0", "@angular-eslint/builder": "^22.6.0",
"@angular-eslint/eslint-plugin": "^17.1.1", "@angular-eslint/eslint-plugin": "^22.6.0",
"@angular-eslint/eslint-plugin-template": "^17.1.1", "@angular-eslint/eslint-plugin-template": "^22.6.0",
"@angular-eslint/template-parser": "^22.6.0", "@angular-eslint/template-parser": "^22.6.0",
"@angular/build": "^22.2.5", "@angular/build": "^22.2.5",
"@angular/cli": "^22.2.5", "@angular/cli": "^22.2.5",
@ -202,163 +201,42 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@angular-eslint/eslint-plugin": { "node_modules/@angular-eslint/eslint-plugin": {
"version": "17.1.1", "version": "22.6.0",
"resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin/-/eslint-plugin-17.1.1.tgz", "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin/-/eslint-plugin-22.6.0.tgz",
"integrity": "sha512-fFOBlCOVObVu3gjLj+0BypqO1ZR/0bfJnDElqMdYwJG7zRaFT8NNQbrOo/q/GQoqOFoNna6mw3teTGsd5JnL2A==", "integrity": "sha512-zLQSfwNiOaWYp1IRQh4TlgBbUmaGm0OWNEO98E2U9DstHJTPTghRwG4wZX4Ly/YOYsb3WU06pD1/cCRUYHRgmw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@angular-eslint/utils": "17.1.1", "@angular-eslint/bundled-angular-compiler": "22.6.0",
"@typescript-eslint/utils": "6.13.1" "@angular-eslint/utils": "22.6.0",
"ts-api-utils": "^2.1.0"
}, },
"peerDependencies": { "peerDependencies": {
"eslint": "^7.20.0 || ^8.0.0", "@typescript-eslint/utils": "^8.0.0",
"eslint": "^9.0.0 || ^10.0.0",
"typescript": "*" "typescript": "*"
} }
}, },
"node_modules/@angular-eslint/eslint-plugin-template": { "node_modules/@angular-eslint/eslint-plugin-template": {
"version": "17.1.1", "version": "22.6.0",
"resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-17.1.1.tgz", "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-22.6.0.tgz",
"integrity": "sha512-unZ6QNwtxuB8Eni7UPdw7uK6iZipZUXIsH+ZuLMOxwFgGMqeRnpv8SW0212rto3d/Ec0jESzVHKcwZ9pT+jxgw==", "integrity": "sha512-e3ueYzr1ARovQtoBaiAeYtLR3MLIeJNKA46LBwKbRhVl1S8L1FiwYsWJvx0lRvcgdFWFt+WrSXeTxuc0ITW9eA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@angular-eslint/bundled-angular-compiler": "17.1.1", "@angular-eslint/bundled-angular-compiler": "22.6.0",
"@angular-eslint/utils": "17.1.1", "@angular-eslint/utils": "22.6.0",
"@typescript-eslint/type-utils": "6.13.1", "aria-query": "5.3.2",
"@typescript-eslint/utils": "6.13.1", "axobject-query": "4.1.0"
"aria-query": "5.3.0",
"axobject-query": "4.0.0"
}, },
"peerDependencies": { "peerDependencies": {
"eslint": "^7.20.0 || ^8.0.0", "@angular-eslint/template-parser": "22.6.0",
"@typescript-eslint/types": "^8.0.0",
"@typescript-eslint/utils": "^8.0.0",
"eslint": "^9.0.0 || ^10.0.0",
"typescript": "*" "typescript": "*"
} }
}, },
"node_modules/@angular-eslint/eslint-plugin-template/node_modules/@angular-eslint/bundled-angular-compiler": {
"version": "17.1.1",
"resolved": "https://registry.npmjs.org/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-17.1.1.tgz",
"integrity": "sha512-xRlSh9qjdUdUKAy/0UQsxX7wf1tHApAsHsfismebPriqfmVAPyEg4HBrM8ImWaZxiqaTGC1AyHsUBQD5FK8o6w==",
"dev": true,
"license": "MIT"
},
"node_modules/@angular-eslint/eslint-plugin-template/node_modules/@angular-eslint/utils": {
"version": "17.1.1",
"resolved": "https://registry.npmjs.org/@angular-eslint/utils/-/utils-17.1.1.tgz",
"integrity": "sha512-CTNPOb05S/DII/Fm8JYUvKo+B4u/ctHjGJ0X1YXUR0q31oaGqTE3KePGq76+Y6swRDf9NjUIcfcnZp3u3j4CBQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@angular-eslint/bundled-angular-compiler": "17.1.1",
"@typescript-eslint/utils": "6.13.1"
},
"peerDependencies": {
"eslint": "^7.20.0 || ^8.0.0",
"typescript": "*"
}
},
"node_modules/@angular-eslint/eslint-plugin-template/node_modules/@typescript-eslint/type-utils": {
"version": "6.13.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.13.1.tgz",
"integrity": "sha512-A2qPlgpxx2v//3meMqQyB1qqTg1h1dJvzca7TugM3Yc2USDY+fsRBiojAEo92HO7f5hW5mjAUF6qobOPzlBCBQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@typescript-eslint/typescript-estree": "6.13.1",
"@typescript-eslint/utils": "6.13.1",
"debug": "^4.3.4",
"ts-api-utils": "^1.0.1"
},
"engines": {
"node": "^16.0.0 || >=18.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"eslint": "^7.0.0 || ^8.0.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
}
},
"node_modules/@angular-eslint/eslint-plugin-template/node_modules/@typescript-eslint/utils": {
"version": "6.13.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.13.1.tgz",
"integrity": "sha512-ouPn/zVoan92JgAegesTXDB/oUp6BP1v8WpfYcqh649ejNc9Qv+B4FF2Ff626kO1xg0wWwwG48lAJ4JuesgdOw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.4.0",
"@types/json-schema": "^7.0.12",
"@types/semver": "^7.5.0",
"@typescript-eslint/scope-manager": "6.13.1",
"@typescript-eslint/types": "6.13.1",
"@typescript-eslint/typescript-estree": "6.13.1",
"semver": "^7.5.4"
},
"engines": {
"node": "^16.0.0 || >=18.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"eslint": "^7.0.0 || ^8.0.0"
}
},
"node_modules/@angular-eslint/eslint-plugin/node_modules/@angular-eslint/bundled-angular-compiler": {
"version": "17.1.1",
"resolved": "https://registry.npmjs.org/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-17.1.1.tgz",
"integrity": "sha512-xRlSh9qjdUdUKAy/0UQsxX7wf1tHApAsHsfismebPriqfmVAPyEg4HBrM8ImWaZxiqaTGC1AyHsUBQD5FK8o6w==",
"dev": true,
"license": "MIT"
},
"node_modules/@angular-eslint/eslint-plugin/node_modules/@angular-eslint/utils": {
"version": "17.1.1",
"resolved": "https://registry.npmjs.org/@angular-eslint/utils/-/utils-17.1.1.tgz",
"integrity": "sha512-CTNPOb05S/DII/Fm8JYUvKo+B4u/ctHjGJ0X1YXUR0q31oaGqTE3KePGq76+Y6swRDf9NjUIcfcnZp3u3j4CBQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@angular-eslint/bundled-angular-compiler": "17.1.1",
"@typescript-eslint/utils": "6.13.1"
},
"peerDependencies": {
"eslint": "^7.20.0 || ^8.0.0",
"typescript": "*"
}
},
"node_modules/@angular-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": {
"version": "6.13.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.13.1.tgz",
"integrity": "sha512-ouPn/zVoan92JgAegesTXDB/oUp6BP1v8WpfYcqh649ejNc9Qv+B4FF2Ff626kO1xg0wWwwG48lAJ4JuesgdOw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.4.0",
"@types/json-schema": "^7.0.12",
"@types/semver": "^7.5.0",
"@typescript-eslint/scope-manager": "6.13.1",
"@typescript-eslint/types": "6.13.1",
"@typescript-eslint/typescript-estree": "6.13.1",
"semver": "^7.5.4"
},
"engines": {
"node": "^16.0.0 || >=18.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"eslint": "^7.0.0 || ^8.0.0"
}
},
"node_modules/@angular-eslint/template-parser": { "node_modules/@angular-eslint/template-parser": {
"version": "22.6.0", "version": "22.6.0",
"resolved": "https://registry.npmjs.org/@angular-eslint/template-parser/-/template-parser-22.6.0.tgz", "resolved": "https://registry.npmjs.org/@angular-eslint/template-parser/-/template-parser-22.6.0.tgz",
@ -374,6 +252,21 @@
"typescript": "*" "typescript": "*"
} }
}, },
"node_modules/@angular-eslint/utils": {
"version": "22.6.0",
"resolved": "https://registry.npmjs.org/@angular-eslint/utils/-/utils-22.6.0.tgz",
"integrity": "sha512-Nd5pZGgkBTvcCNMBt88iG6r/Tzk1XTWHpQQccwYUWYhz4PMim0yyXAEvqAabxag8S9iLPUEufpaOw20OOxNJ3w==",
"dev": true,
"license": "MIT",
"dependencies": {
"@angular-eslint/bundled-angular-compiler": "22.6.0"
},
"peerDependencies": {
"@typescript-eslint/utils": "^8.0.0",
"eslint": "^9.0.0 || ^10.0.0",
"typescript": "*"
}
},
"node_modules/@angular/animations": { "node_modules/@angular/animations": {
"version": "22.2.4", "version": "22.2.4",
"resolved": "https://registry.npmjs.org/@angular/animations/-/animations-22.2.4.tgz", "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-22.2.4.tgz",
@ -3847,44 +3740,6 @@
"@emnapi/runtime": "^1.7.1 || 2.0.0-beta.2" "@emnapi/runtime": "^1.7.1 || 2.0.0-beta.2"
} }
}, },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
"integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
"dev": true,
"license": "MIT",
"dependencies": {
"@nodelib/fs.stat": "2.0.5",
"run-parallel": "^1.1.9"
},
"engines": {
"node": ">= 8"
}
},
"node_modules/@nodelib/fs.stat": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
"integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">= 8"
}
},
"node_modules/@nodelib/fs.walk": {
"version": "1.2.8",
"resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
"integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@nodelib/fs.scandir": "2.1.5",
"fastq": "^1.6.0"
},
"engines": {
"node": ">= 8"
}
},
"node_modules/@oxc-parser/binding-android-arm-eabi": { "node_modules/@oxc-parser/binding-android-arm-eabi": {
"version": "0.150.0", "version": "0.150.0",
"resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm-eabi/-/binding-android-arm-eabi-0.150.0.tgz", "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm-eabi/-/binding-android-arm-eabi-0.150.0.tgz",
@ -6182,32 +6037,75 @@
"@types/node": "*" "@types/node": "*"
} }
}, },
"node_modules/@typescript-eslint/scope-manager": { "node_modules/@typescript-eslint/project-service": {
"version": "6.13.1", "version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.13.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.72.1.tgz",
"integrity": "sha512-BW0kJ7ceiKi56GbT2KKzZzN+nDxzQK2DS6x0PiSMPjciPgd/JRQGMibyaN2cPt2cAvuoH0oNvn2fwonHI+4QUQ==", "integrity": "sha512-fAuVMkwdO/huI8nyo/WKnNKf6Gag93S56Rh3Ts5mGcavwSdaN8tRg1gCeIGX8PF+nzp1BjGfO4gHhGzW1J6jTg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"@typescript-eslint/types": "6.13.1", "@typescript-eslint/tsconfig-utils": "^8.72.1",
"@typescript-eslint/visitor-keys": "6.13.1" "@typescript-eslint/types": "^8.72.1",
"debug": "^4.4.3"
}, },
"engines": { "engines": {
"node": "^16.0.0 || >=18.0.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"typescript": ">=4.8.4 <6.1.0"
}
},
"node_modules/@typescript-eslint/scope-manager": {
"version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.72.1.tgz",
"integrity": "sha512-lC/t6eMCZZQAAKZEYGL6RDVSuFehpdmMT6h+nJIjIa6oylN/PwDgDVtEIbB7O9xFfZYtZAYLoLlDNWKJhtF+uQ==",
"dev": true,
"license": "MIT",
"peer": true,
"dependencies": {
"@typescript-eslint/types": "8.72.1",
"@typescript-eslint/visitor-keys": "8.72.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}, },
"funding": { "funding": {
"type": "opencollective", "type": "opencollective",
"url": "https://opencollective.com/typescript-eslint" "url": "https://opencollective.com/typescript-eslint"
} }
}, },
"node_modules/@typescript-eslint/types": { "node_modules/@typescript-eslint/tsconfig-utils": {
"version": "6.13.1", "version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.13.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.72.1.tgz",
"integrity": "sha512-gjeEskSmiEKKFIbnhDXUyiqVma1gRCQNbVZ1C8q7Zjcxh3WZMbzWVfGE9rHfWd1msQtPS0BVD9Jz9jded44eKg==", "integrity": "sha512-e4D5R5vpeAEPBxT2BAzsFQL3sbwyeeeo5+aczgNSRK1V734jE7pTqaGFU+fXapWEQwnZbpFaTn32+Z8DwS6OTg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"peer": true,
"engines": { "engines": {
"node": "^16.0.0 || >=18.0.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"typescript": ">=4.8.4 <6.1.0"
}
},
"node_modules/@typescript-eslint/types": {
"version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.72.1.tgz",
"integrity": "sha512-LmE5IhQet1BWOWEXqBrVtBPsMAOQ6Nzk35d+WLh3mk4EUF33sqlfxjio1MdYeSvKSG5skactKKuixBIKXhL4Rw==",
"dev": true,
"license": "MIT",
"peer": true,
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}, },
"funding": { "funding": {
"type": "opencollective", "type": "opencollective",
@ -6215,51 +6113,92 @@
} }
}, },
"node_modules/@typescript-eslint/typescript-estree": { "node_modules/@typescript-eslint/typescript-estree": {
"version": "6.13.1", "version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.13.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.72.1.tgz",
"integrity": "sha512-sBLQsvOC0Q7LGcUHO5qpG1HxRgePbT6wwqOiGLpR8uOJvPJbfs0mW3jPA3ujsDvfiVwVlWUDESNXv44KtINkUQ==", "integrity": "sha512-DAlUoUV93hIvrtIQLwCbmZQYVZwOMhiHJrOVUUIWicFZaIYjTRqlY3I/NZevfkLmSqkNHRu2qYDcq9lrn16oOQ==",
"dev": true, "dev": true,
"license": "BSD-2-Clause", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"@typescript-eslint/types": "6.13.1", "@typescript-eslint/project-service": "8.72.1",
"@typescript-eslint/visitor-keys": "6.13.1", "@typescript-eslint/tsconfig-utils": "8.72.1",
"debug": "^4.3.4", "@typescript-eslint/types": "8.72.1",
"globby": "^11.1.0", "@typescript-eslint/visitor-keys": "8.72.1",
"is-glob": "^4.0.3", "debug": "^4.4.3",
"semver": "^7.5.4", "minimatch": "^10.2.2",
"ts-api-utils": "^1.0.1" "semver": "^7.7.3",
"tinyglobby": "^0.2.15",
"ts-api-utils": "^2.5.0"
}, },
"engines": { "engines": {
"node": "^16.0.0 || >=18.0.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}, },
"funding": { "funding": {
"type": "opencollective", "type": "opencollective",
"url": "https://opencollective.com/typescript-eslint" "url": "https://opencollective.com/typescript-eslint"
}, },
"peerDependenciesMeta": { "peerDependencies": {
"typescript": { "typescript": ">=4.8.4 <6.1.0"
"optional": true }
} },
"node_modules/@typescript-eslint/utils": {
"version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.72.1.tgz",
"integrity": "sha512-5v5liypurJBFHCBNqh/RjsymAD+VWcE0djuGY/BUqp5fC3Qn+luWDEksjuTtWjPn6i5zQlUtkZCRG/CYG0yCkA==",
"dev": true,
"license": "MIT",
"peer": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.9.1",
"@typescript-eslint/scope-manager": "8.72.1",
"@typescript-eslint/types": "8.72.1",
"@typescript-eslint/typescript-estree": "8.72.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
"typescript": ">=4.8.4 <6.1.0"
} }
}, },
"node_modules/@typescript-eslint/visitor-keys": { "node_modules/@typescript-eslint/visitor-keys": {
"version": "6.13.1", "version": "8.72.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.13.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.72.1.tgz",
"integrity": "sha512-NDhQUy2tg6XGNBGDRm1XybOHSia8mcXmlbKWoQP+nm1BIIMxa55shyJfZkHpEBN62KNPLrocSM2PdPcaLgDKMQ==", "integrity": "sha512-SB8xqipSzZHUePCCLNeYxqnxq83X61/qzNhjQGbTfjxGZIeOEP7tBgWYX05Tcd6CgE02WdTJnh5b8kMZJ/+bnQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"peer": true,
"dependencies": { "dependencies": {
"@typescript-eslint/types": "6.13.1", "@typescript-eslint/types": "8.72.1",
"eslint-visitor-keys": "^3.4.1" "eslint-visitor-keys": "^5.0.0"
}, },
"engines": { "engines": {
"node": "^16.0.0 || >=18.0.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}, },
"funding": { "funding": {
"type": "opencollective", "type": "opencollective",
"url": "https://opencollective.com/typescript-eslint" "url": "https://opencollective.com/typescript-eslint"
} }
}, },
"node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz",
"integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==",
"dev": true,
"license": "Apache-2.0",
"peer": true,
"engines": {
"node": "^20.19.0 || ^22.13.0 || >=24"
},
"funding": {
"url": "https://opencollective.com/eslint"
}
},
"node_modules/@vitejs/plugin-basic-ssl": { "node_modules/@vitejs/plugin-basic-ssl": {
"version": "2.3.0", "version": "2.3.0",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-2.3.0.tgz", "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-2.3.0.tgz",
@ -6541,13 +6480,13 @@
"license": "Python-2.0" "license": "Python-2.0"
}, },
"node_modules/aria-query": { "node_modules/aria-query": {
"version": "5.3.0", "version": "5.3.2",
"resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz", "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz",
"integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==", "integrity": "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "engines": {
"dequal": "^2.0.3" "node": ">= 0.4"
} }
}, },
"node_modules/array-buffer-byte-length": { "node_modules/array-buffer-byte-length": {
@ -6589,16 +6528,6 @@
"url": "https://github.com/sponsors/ljharb" "url": "https://github.com/sponsors/ljharb"
} }
}, },
"node_modules/array-union": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
"integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
}
},
"node_modules/array.prototype.findlastindex": { "node_modules/array.prototype.findlastindex": {
"version": "1.2.6", "version": "1.2.6",
"resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.6.tgz", "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.6.tgz",
@ -6711,13 +6640,13 @@
} }
}, },
"node_modules/axobject-query": { "node_modules/axobject-query": {
"version": "4.0.0", "version": "4.1.0",
"resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.0.0.tgz", "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz",
"integrity": "sha512-+60uv1hiVFhHZeO+Lz0RYzsVHy5Wr1ayX0mwda9KPDVLNJgZ1T9Ny7VmFbLDzxsH0D87I86vgj3gFrjTJUYznw==", "integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "engines": {
"dequal": "^2.0.3" "node": ">= 0.4"
} }
}, },
"node_modules/balanced-match": { "node_modules/balanced-match": {
@ -7703,16 +7632,6 @@
"node": ">= 0.8" "node": ">= 0.8"
} }
}, },
"node_modules/dequal": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
"integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
}
},
"node_modules/destroy": { "node_modules/destroy": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
@ -7741,19 +7660,6 @@
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/dir-glob": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
"integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
"dev": true,
"license": "MIT",
"dependencies": {
"path-type": "^4.0.0"
},
"engines": {
"node": ">=8"
}
},
"node_modules/doctrine": { "node_modules/doctrine": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
@ -8771,36 +8677,6 @@
"integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==",
"license": "Apache-2.0" "license": "Apache-2.0"
}, },
"node_modules/fast-glob": {
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
"integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@nodelib/fs.stat": "^2.0.2",
"@nodelib/fs.walk": "^1.2.3",
"glob-parent": "^5.1.2",
"merge2": "^1.3.0",
"micromatch": "^4.0.8"
},
"engines": {
"node": ">=8.6.0"
}
},
"node_modules/fast-glob/node_modules/glob-parent": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dev": true,
"license": "ISC",
"dependencies": {
"is-glob": "^4.0.1"
},
"engines": {
"node": ">= 6"
}
},
"node_modules/fast-json-stable-stringify": { "node_modules/fast-json-stable-stringify": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
@ -8858,16 +8734,6 @@
"fast-string-width": "^3.0.2" "fast-string-width": "^3.0.2"
} }
}, },
"node_modules/fastq": {
"version": "1.20.3",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.3.tgz",
"integrity": "sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==",
"dev": true,
"license": "ISC",
"dependencies": {
"reusify": "^1.0.4"
}
},
"node_modules/fdir": { "node_modules/fdir": {
"version": "6.5.0", "version": "6.5.0",
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
@ -8935,17 +8801,6 @@
"url": "https://github.com/sponsors/sindresorhus" "url": "https://github.com/sponsors/sindresorhus"
} }
}, },
"node_modules/fix": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/fix/-/fix-0.0.3.tgz",
"integrity": "sha512-nDbGTpfpPiWYuJ2qwrF2Qxqga8ANe3BV31vFA943FmEvX9iUROH3YmCOM4aq3DPZWF2WsKHoH9+Gw3qLdXfcSA==",
"dependencies": {
"pipe": "0.0.1"
},
"engines": {
"node": "0.2.5"
}
},
"node_modules/flat-cache": { "node_modules/flat-cache": {
"version": "4.0.1", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
@ -9350,27 +9205,6 @@
"url": "https://github.com/sponsors/ljharb" "url": "https://github.com/sponsors/ljharb"
} }
}, },
"node_modules/globby": {
"version": "11.1.0",
"resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
"integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==",
"dev": true,
"license": "MIT",
"dependencies": {
"array-union": "^2.1.0",
"dir-glob": "^3.0.1",
"fast-glob": "^3.2.9",
"ignore": "^5.2.0",
"merge2": "^1.4.1",
"slash": "^3.0.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/gopd": { "node_modules/gopd": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
@ -11688,43 +11522,6 @@
"node": ">= 0.4" "node": ">= 0.4"
} }
}, },
"node_modules/merge2": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">= 8"
}
},
"node_modules/micromatch": {
"version": "4.0.8",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
"integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
"dev": true,
"license": "MIT",
"dependencies": {
"braces": "^3.0.3",
"picomatch": "^2.3.1"
},
"engines": {
"node": ">=8.6"
}
},
"node_modules/micromatch/node_modules/picomatch": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
"integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=8.6"
},
"funding": {
"url": "https://github.com/sponsors/jonschlinkert"
}
},
"node_modules/mime": { "node_modules/mime": {
"version": "2.6.0", "version": "2.6.0",
"resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz",
@ -11763,6 +11560,23 @@
"url": "https://github.com/sponsors/sindresorhus" "url": "https://github.com/sponsors/sindresorhus"
} }
}, },
"node_modules/minimatch": {
"version": "10.2.6",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz",
"integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==",
"dev": true,
"license": "BlueOak-1.0.0",
"peer": true,
"dependencies": {
"brace-expansion": "^5.0.8"
},
"engines": {
"node": "18 || 20 || >=22"
},
"funding": {
"url": "https://github.com/sponsors/isaacs"
}
},
"node_modules/minimist": { "node_modules/minimist": {
"version": "1.2.8", "version": "1.2.8",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
@ -12490,16 +12304,6 @@
"node": "20 || >=22" "node": "20 || >=22"
} }
}, },
"node_modules/path-type": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
}
},
"node_modules/path2d": { "node_modules/path2d": {
"version": "0.2.2", "version": "0.2.2",
"resolved": "https://registry.npmjs.org/path2d/-/path2d-0.2.2.tgz", "resolved": "https://registry.npmjs.org/path2d/-/path2d-0.2.2.tgz",
@ -12542,14 +12346,6 @@
"url": "https://github.com/sponsors/jonschlinkert" "url": "https://github.com/sponsors/jonschlinkert"
} }
}, },
"node_modules/pipe": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/pipe/-/pipe-0.0.1.tgz",
"integrity": "sha512-8tESQnbeUKIuET8aTNt3HL0EG7RuPT7C8gDrZ2lK2AjEUi7TOu6NPaJvk2Voe+tc7NkBqe4HRdftDA6w+caAvg==",
"engines": {
"node": "0.2.5"
}
},
"node_modules/piscina": { "node_modules/piscina": {
"version": "5.3.2", "version": "5.3.2",
"resolved": "https://registry.npmjs.org/piscina/-/piscina-5.3.2.tgz", "resolved": "https://registry.npmjs.org/piscina/-/piscina-5.3.2.tgz",
@ -12756,31 +12552,10 @@
"node": ">=0.9" "node": ">=0.9"
} }
}, },
"node_modules/queue-microtask": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
"integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
"dev": true,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
],
"license": "MIT"
},
"node_modules/quill": { "node_modules/quill": {
"version": "2.0.2", "version": "2.0.3",
"resolved": "https://registry.npmjs.org/quill/-/quill-2.0.2.tgz", "resolved": "https://registry.npmjs.org/quill/-/quill-2.0.3.tgz",
"integrity": "sha512-QfazNrhMakEdRG57IoYFwffUIr04LWJxbS/ZkidRFXYCQt63c1gK6Z7IHUXMx/Vh25WgPBU42oBaNzQ0K1R/xw==", "integrity": "sha512-xEYQBqfYx/sfb33VJiKnSJp8ehloavImQ2A6564GAbqG55PGw1dAWUn1MUbQB62t0azawUS2CZZhWCjO8gRvTw==",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"dependencies": { "dependencies": {
"eventemitter3": "^5.0.1", "eventemitter3": "^5.0.1",
@ -13047,17 +12822,6 @@
"url": "https://github.com/sponsors/sindresorhus" "url": "https://github.com/sponsors/sindresorhus"
} }
}, },
"node_modules/reusify": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
"integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
"dev": true,
"license": "MIT",
"engines": {
"iojs": ">=1.0.0",
"node": ">=0.10.0"
}
},
"node_modules/rfdc": { "node_modules/rfdc": {
"version": "1.4.1", "version": "1.4.1",
"resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz", "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz",
@ -13179,30 +12943,6 @@
"url": "https://github.com/sponsors/oxc-project" "url": "https://github.com/sponsors/oxc-project"
} }
}, },
"node_modules/run-parallel": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
"integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
"dev": true,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
],
"license": "MIT",
"dependencies": {
"queue-microtask": "^1.2.2"
}
},
"node_modules/rxjs": { "node_modules/rxjs": {
"version": "7.8.2", "version": "7.8.2",
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz",
@ -13921,16 +13661,6 @@
"simple-concat": "^1.0.0" "simple-concat": "^1.0.0"
} }
}, },
"node_modules/slash": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
"integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
}
},
"node_modules/slice-ansi": { "node_modules/slice-ansi": {
"version": "10.0.0", "version": "10.0.0",
"resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-10.0.0.tgz", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-10.0.0.tgz",
@ -14425,16 +14155,16 @@
} }
}, },
"node_modules/ts-api-utils": { "node_modules/ts-api-utils": {
"version": "1.4.3", "version": "2.5.0",
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz", "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz",
"integrity": "sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==", "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">=16" "node": ">=18.12"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": ">=4.2.0" "typescript": ">=4.8.4"
} }
}, },
"node_modules/tsconfig-paths": { "node_modules/tsconfig-paths": {

View File

@ -66,14 +66,13 @@
"date-fns": "^4.4.0", "date-fns": "^4.4.0",
"exceljs": "^4.4.0", "exceljs": "^4.4.0",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"fix": "^0.0.3",
"hammerjs": "^2.0.8", "hammerjs": "^2.0.8",
"ng2-pdf-viewer": "^10.4.0", "ng2-pdf-viewer": "^10.4.0",
"ngx-extended-pdf-viewer": "^31.0.1", "ngx-extended-pdf-viewer": "^31.0.1",
"primeflex": "^4.0.0", "primeflex": "^4.0.0",
"primeicons": "^7.0.0", "primeicons": "^7.0.0",
"prismjs": "^1.30.0", "prismjs": "^1.30.0",
"quill": "^2.0.2", "quill": "^2.0.3",
"rxjs": "^7.8.2", "rxjs": "^7.8.2",
"sweetalert2": "^11.26.25", "sweetalert2": "^11.26.25",
"tslib": "^2.9.1", "tslib": "^2.9.1",
@ -82,8 +81,8 @@
}, },
"devDependencies": { "devDependencies": {
"@angular-eslint/builder": "^22.6.0", "@angular-eslint/builder": "^22.6.0",
"@angular-eslint/eslint-plugin": "^17.1.1", "@angular-eslint/eslint-plugin": "^22.6.0",
"@angular-eslint/eslint-plugin-template": "^17.1.1", "@angular-eslint/eslint-plugin-template": "^22.6.0",
"@angular-eslint/template-parser": "^22.6.0", "@angular-eslint/template-parser": "^22.6.0",
"@angular/build": "^22.2.5", "@angular/build": "^22.2.5",
"@angular/cli": "^22.2.5", "@angular/cli": "^22.2.5",
@ -113,10 +112,6 @@
}, },
"allowScripts": { "allowScripts": {
"@progress/kendo-licensing@1.12.0": true, "@progress/kendo-licensing@1.12.0": true,
"esbuild@0.28.2": true, "esbuild@0.28.2": true
"canvas@3.2.3": true,
"@parcel/watcher@2.6.0": true,
"lmdb@3.5.6": true,
"msgpackr-extract@3.0.6": true
} }
} }

View File

@ -1,7 +1,28 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
export class AllowanceDeduction extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.AllowanceDeduction = void 0;
var baseObject_1 = require("../Basic/baseObject");
var AllowanceDeduction = /** @class */ (function (_super) {
__extends(AllowanceDeduction, _super);
function AllowanceDeduction() {
return _super.call(this) || this;
} }
} return AllowanceDeduction;
}(baseObject_1.BaseObject));
exports.AllowanceDeduction = AllowanceDeduction;
//# sourceMappingURL=allow-deduct.js.map //# sourceMappingURL=allow-deduct.js.map

View File

@ -1 +1 @@
{"version":3,"file":"allow-deduct.js","sourceRoot":"","sources":["allow-deduct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAE/C,MAAM,OAAO,kBAAmB,SAAQ,UAAU;IAC9C;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;CAIJ"} {"version":3,"file":"allow-deduct.js","sourceRoot":"","sources":["allow-deduct.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kDAA+C;AAE/C;IAAwC,sCAAU;IAC9C;QACI,OAAA,MAAK,WAAE,SAAC;IACZ,CAAC;IAIL,yBAAC;AAAD,CAAC,AAPD,CAAwC,uBAAU,GAOjD;AAPY,gDAAkB"}

View File

@ -1,5 +1,8 @@
export class updateRosterModel { "use strict";
constructor() { Object.defineProperty(exports, "__esModule", { value: true });
exports.updateRosterModel = void 0;
var updateRosterModel = /** @class */ (function () {
function updateRosterModel() {
this.empIds = []; this.empIds = [];
this.fromDate = new Date(); this.fromDate = new Date();
this.toDate = new Date(); this.toDate = new Date();
@ -13,5 +16,7 @@ export class updateRosterModel {
this.holiday1 = 0; this.holiday1 = 0;
this.holiday2 = 0; this.holiday2 = 0;
} }
} return updateRosterModel;
}());
exports.updateRosterModel = updateRosterModel;
//# sourceMappingURL=updateRosterModel.js.map //# sourceMappingURL=updateRosterModel.js.map

View File

@ -1 +1 @@
{"version":3,"file":"updateRosterModel.js","sourceRoot":"","sources":["updateRosterModel.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,iBAAiB;IAC1B;QACI,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,IAAI,IAAI,EAAE,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACzB,IAAI,CAAC,eAAe,GAAG,CAAC,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC;QACxB,IAAI,CAAC,iBAAiB,GAAG,CAAC,CAAC;QAC3B,IAAI,CAAC,eAAe,GAAG,CAAC,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;IACtB,CAAC;CAaJ"} {"version":3,"file":"updateRosterModel.js","sourceRoot":"","sources":["updateRosterModel.ts"],"names":[],"mappings":";;;AAEA;IACI;QACI,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,IAAI,IAAI,EAAE,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACzB,IAAI,CAAC,eAAe,GAAG,CAAC,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC;QACxB,IAAI,CAAC,iBAAiB,GAAG,CAAC,CAAC;QAC3B,IAAI,CAAC,eAAe,GAAG,CAAC,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;IACtB,CAAC;IAaL,wBAAC;AAAD,CAAC,AA3BD,IA2BC;AA3BY,8CAAiB"}

View File

@ -1,3 +1,10 @@
export class PayrollComponentList { "use strict";
} Object.defineProperty(exports, "__esModule", { value: true });
exports.PayrollComponentList = void 0;
var PayrollComponentList = /** @class */ (function () {
function PayrollComponentList() {
}
return PayrollComponentList;
}());
exports.PayrollComponentList = PayrollComponentList;
//# sourceMappingURL=PayrollComponentList.js.map //# sourceMappingURL=PayrollComponentList.js.map

View File

@ -1 +1 @@
{"version":3,"file":"PayrollComponentList.js","sourceRoot":"","sources":["PayrollComponentList.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,oBAAoB;CAOhC"} {"version":3,"file":"PayrollComponentList.js","sourceRoot":"","sources":["PayrollComponentList.ts"],"names":[],"mappings":";;;AAEA;IAAA;IAOA,CAAC;IAAD,2BAAC;AAAD,CAAC,AAPD,IAOC;AAPY,oDAAoB"}

View File

@ -1,9 +1,31 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
export class AccessCard extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(...arguments); extendStatics = Object.setPrototypeOf ||
this.accessCardType = []; ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.cardOperation = []; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.AccessCard = void 0;
var baseObject_1 = require("../Basic/baseObject");
var AccessCard = /** @class */ (function (_super) {
__extends(AccessCard, _super);
function AccessCard() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.accessCardType = [];
_this.cardOperation = [];
return _this;
} }
} return AccessCard;
}(baseObject_1.BaseObject));
exports.AccessCard = AccessCard;
//# sourceMappingURL=accessCard.js.map //# sourceMappingURL=accessCard.js.map

View File

@ -1 +1 @@
{"version":3,"file":"accessCard.js","sourceRoot":"","sources":["accessCard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAMjD,MAAM,OAAO,UAAW,SAAQ,UAAU;IAA1C;;QAII,mBAAc,GAAqB,EAAE,CAAC;QACtC,kBAAa,GAAoB,EAAE,CAAC;IAExC,CAAC;CAAA"} {"version":3,"file":"accessCard.js","sourceRoot":"","sources":["accessCard.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kDAAiD;AAMjD;IAAgC,8BAAU;IAA1C;;QAII,oBAAc,GAAqB,EAAE,CAAC;QACtC,mBAAa,GAAoB,EAAE,CAAC;;IAExC,CAAC;IAAD,iBAAC;AAAD,CAAC,AAPD,CAAgC,uBAAU,GAOzC;AAPY,gCAAU"}

View File

@ -1,3 +1,10 @@
export class AccessCardType { "use strict";
} Object.defineProperty(exports, "__esModule", { value: true });
exports.AccessCardType = void 0;
var AccessCardType = /** @class */ (function () {
function AccessCardType() {
}
return AccessCardType;
}());
exports.AccessCardType = AccessCardType;
//# sourceMappingURL=accessCardType.js.map //# sourceMappingURL=accessCardType.js.map

View File

@ -1 +1 @@
{"version":3,"file":"accessCardType.js","sourceRoot":"","sources":["accessCardType.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,cAAc;CAK1B"} {"version":3,"file":"accessCardType.js","sourceRoot":"","sources":["accessCardType.ts"],"names":[],"mappings":";;;AAGA;IAAA;IAKA,CAAC;IAAD,qBAAC;AAAD,CAAC,AALD,IAKC;AALY,wCAAc"}

View File

@ -1,10 +1,32 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
export class ActingResponsibilitySetup extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
this.fromDate = new Date(); ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.toDate = new Date(); function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
this.remarks = ""; return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActingResponsibilitySetup = void 0;
var baseObject_1 = require("../Basic/baseObject");
var ActingResponsibilitySetup = /** @class */ (function (_super) {
__extends(ActingResponsibilitySetup, _super);
function ActingResponsibilitySetup() {
var _this = _super.call(this) || this;
_this.fromDate = new Date();
_this.toDate = new Date();
_this.remarks = "";
return _this;
} }
} return ActingResponsibilitySetup;
}(baseObject_1.BaseObject));
exports.ActingResponsibilitySetup = ActingResponsibilitySetup;
//# sourceMappingURL=actingResponsibilitySetup.js.map //# sourceMappingURL=actingResponsibilitySetup.js.map

View File

@ -1 +1 @@
{"version":3,"file":"actingResponsibilitySetup.js","sourceRoot":"","sources":["actingResponsibilitySetup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,MAAM,OAAO,yBAA0B,SAAQ,UAAU;IAErD;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,QAAQ,GAAG,IAAI,IAAI,EAAE,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;IACtB,CAAC;CAeJ"} {"version":3,"file":"actingResponsibilitySetup.js","sourceRoot":"","sources":["actingResponsibilitySetup.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kDAAiD;AAGjD;IAA+C,6CAAU;IAErD;QACI,YAAA,MAAK,WAAE,SAAC;QAER,KAAI,CAAC,QAAQ,GAAG,IAAI,IAAI,EAAE,CAAC;QAC3B,KAAI,CAAC,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACzB,KAAI,CAAC,OAAO,GAAG,EAAE,CAAC;;IACtB,CAAC;IAeL,gCAAC;AAAD,CAAC,AAvBD,CAA+C,uBAAU,GAuBxD;AAvBY,8DAAyB"}

View File

@ -1,5 +1,8 @@
export class AttendanceRegularizationDTO { "use strict";
constructor() { Object.defineProperty(exports, "__esModule", { value: true });
exports.AttendanceRegularizationDTO = void 0;
var AttendanceRegularizationDTO = /** @class */ (function () {
function AttendanceRegularizationDTO() {
this.attendanceDate = ""; this.attendanceDate = "";
this.employeeNo = ""; this.employeeNo = "";
this.empName = ""; this.empName = "";
@ -11,5 +14,7 @@ export class AttendanceRegularizationDTO {
this.referenceId = 0; this.referenceId = 0;
this.reference = ""; this.reference = "";
} }
} return AttendanceRegularizationDTO;
}());
exports.AttendanceRegularizationDTO = AttendanceRegularizationDTO;
//# sourceMappingURL=attendanceRegularizationDTO.js.map //# sourceMappingURL=attendanceRegularizationDTO.js.map

View File

@ -1 +1 @@
{"version":3,"file":"attendanceRegularizationDTO.js","sourceRoot":"","sources":["attendanceRegularizationDTO.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,2BAA2B;IACpC;QACI,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QACzB,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;QAClB,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;QACrB,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;QAChB,IAAI,CAAC,mBAAmB,GAAG,EAAE,CAAC;QAC9B,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACxB,CAAC;CAoBJ"} {"version":3,"file":"attendanceRegularizationDTO.js","sourceRoot":"","sources":["attendanceRegularizationDTO.ts"],"names":[],"mappings":";;;AAGA;IACI;QACI,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QACzB,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;QAClB,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;QACrB,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;QAChB,IAAI,CAAC,mBAAmB,GAAG,EAAE,CAAC;QAC9B,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACxB,CAAC;IAoBL,kCAAC;AAAD,CAAC,AAhCD,IAgCC;AAhCY,kEAA2B"}

View File

@ -1,21 +1,43 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
import { EnumStatus, HolidayType } from '../enums'; var __extends = (this && this.__extends) || (function () {
export class AttnNationalHoliday extends BaseObject { var extendStatics = function (d, b) {
constructor() { extendStatics = Object.setPrototypeOf ||
super(); ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.attnNationalHolidayLocations = []; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
this.attnShiftWiseNationalHolidays = []; return extendStatics(d, b);
this.description = ''; };
this.fromTime = new Date().toISOString(); return function (d, b) {
this.toTime = new Date().toISOString(); if (typeof b !== "function" && b !== null)
this.fromDate = new Date(); throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
this.toDate = new Date(); extendStatics(d, b);
this.holidayType = HolidayType.General; function __() { this.constructor = d; }
this.holidayHour = undefined; d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
this.payrollTypeID = undefined; };
this.attnNationalHolidayLocations = []; })();
this.attnShiftWiseNationalHolidays = []; Object.defineProperty(exports, "__esModule", { value: true });
this.status = EnumStatus.Active; exports.AttnNationalHoliday = void 0;
var baseObject_1 = require("../Basic/baseObject");
var enums_1 = require("../enums");
var AttnNationalHoliday = /** @class */ (function (_super) {
__extends(AttnNationalHoliday, _super);
function AttnNationalHoliday() {
var _this = _super.call(this) || this;
_this.attnNationalHolidayLocations = [];
_this.attnShiftWiseNationalHolidays = [];
_this.description = '';
_this.fromTime = new Date().toISOString();
_this.toTime = new Date().toISOString();
_this.fromDate = new Date();
_this.toDate = new Date();
_this.holidayType = enums_1.HolidayType.General;
_this.holidayHour = undefined;
_this.payrollTypeID = undefined;
_this.attnNationalHolidayLocations = [];
_this.attnShiftWiseNationalHolidays = [];
_this.status = enums_1.EnumStatus.Active;
return _this;
} }
} return AttnNationalHoliday;
}(baseObject_1.BaseObject));
exports.AttnNationalHoliday = AttnNationalHoliday;
//# sourceMappingURL=attnNationalHoliday.js.map //# sourceMappingURL=attnNationalHoliday.js.map

View File

@ -1 +1 @@
{"version":3,"file":"attnNationalHoliday.js","sourceRoot":"","sources":["attnNationalHoliday.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAC,UAAU,EAAE,WAAW,EAAC,MAAM,UAAU,CAAC;AAIjD,MAAM,OAAO,mBAAoB,SAAQ,UAAU;IAC/C;QACI,KAAK,EAAE,CAAC;QAqBZ,iCAA4B,GAAkC,EAAE,CAAC;QACjE,kCAA6B,GAAmC,EAAE,CAAC;QArB/D,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,IAAI,CAAC,QAAQ,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;QACzC,IAAI,CAAC,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;QACvC,IAAI,CAAC,QAAQ,GAAG,IAAI,IAAI,EAAE,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACzB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC,OAAO,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,SAAS,CAAC;QAC7B,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,IAAI,CAAC,4BAA4B,GAAG,EAAE,CAAC;QACvC,IAAI,CAAC,6BAA6B,GAAG,EAAE,CAAC;QACxC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IACpC,CAAC;CAcJ"} {"version":3,"file":"attnNationalHoliday.js","sourceRoot":"","sources":["attnNationalHoliday.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kDAA+C;AAC/C,kCAAiD;AAIjD;IAAyC,uCAAU;IAC/C;QACI,YAAA,MAAK,WAAE,SAAC;QAqBZ,kCAA4B,GAAkC,EAAE,CAAC;QACjE,mCAA6B,GAAmC,EAAE,CAAC;QArB/D,KAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,KAAI,CAAC,QAAQ,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;QACzC,KAAI,CAAC,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;QACvC,KAAI,CAAC,QAAQ,GAAG,IAAI,IAAI,EAAE,CAAC;QAC3B,KAAI,CAAC,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACzB,KAAI,CAAC,WAAW,GAAG,mBAAW,CAAC,OAAO,CAAC;QACvC,KAAI,CAAC,WAAW,GAAG,SAAS,CAAC;QAC7B,KAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,KAAI,CAAC,4BAA4B,GAAG,EAAE,CAAC;QACvC,KAAI,CAAC,6BAA6B,GAAG,EAAE,CAAC;QACxC,KAAI,CAAC,MAAM,GAAG,kBAAU,CAAC,MAAM,CAAC;;IACpC,CAAC;IAcL,0BAAC;AAAD,CAAC,AA5BD,CAAyC,uBAAU,GA4BlD;AA5BY,kDAAmB"}

View File

@ -1,9 +1,31 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
export class AttnNationalHolidayLocation extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
this.attnNationalHolidayID = undefined; ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.locationID = undefined; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.AttnNationalHolidayLocation = void 0;
var baseObject_1 = require("../Basic/baseObject");
var AttnNationalHolidayLocation = /** @class */ (function (_super) {
__extends(AttnNationalHolidayLocation, _super);
function AttnNationalHolidayLocation() {
var _this = _super.call(this) || this;
_this.attnNationalHolidayID = undefined;
_this.locationID = undefined;
return _this;
} }
} return AttnNationalHolidayLocation;
}(baseObject_1.BaseObject));
exports.AttnNationalHolidayLocation = AttnNationalHolidayLocation;
//# sourceMappingURL=attnNationalHolidayLocation.js.map //# sourceMappingURL=attnNationalHolidayLocation.js.map

View File

@ -1 +1 @@
{"version":3,"file":"attnNationalHolidayLocation.js","sourceRoot":"","sources":["attnNationalHolidayLocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAE/C,MAAM,OAAO,2BAA4B,SAAQ,UAAU;IACvD;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,qBAAqB,GAAG,SAAS,CAAC;QACvC,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;IAChC,CAAC;CAGJ"} {"version":3,"file":"attnNationalHolidayLocation.js","sourceRoot":"","sources":["attnNationalHolidayLocation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kDAA+C;AAE/C;IAAiD,+CAAU;IACvD;QACI,YAAA,MAAK,WAAE,SAAC;QACR,KAAI,CAAC,qBAAqB,GAAG,SAAS,CAAC;QACvC,KAAI,CAAC,UAAU,GAAG,SAAS,CAAC;;IAChC,CAAC;IAGL,kCAAC;AAAD,CAAC,AARD,CAAiD,uBAAU,GAQ1D;AARY,kEAA2B"}

View File

@ -1,3 +1,10 @@
export class AttnRawData { "use strict";
} Object.defineProperty(exports, "__esModule", { value: true });
exports.AttnRawData = void 0;
var AttnRawData = /** @class */ (function () {
function AttnRawData() {
}
return AttnRawData;
}());
exports.AttnRawData = AttnRawData;
//# sourceMappingURL=attnRawData.js.map //# sourceMappingURL=attnRawData.js.map

View File

@ -1 +1 @@
{"version":3,"file":"attnRawData.js","sourceRoot":"","sources":["attnRawData.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,WAAW;CAevB"} {"version":3,"file":"attnRawData.js","sourceRoot":"","sources":["attnRawData.ts"],"names":[],"mappings":";;;AAIA;IAAA;IAeA,CAAC;IAAD,kBAAC;AAAD,CAAC,AAfD,IAeC;AAfY,kCAAW"}

View File

@ -1,10 +1,32 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
export class AttnShiftWiseNationalHoliday extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
this.aNationalHolidayID = undefined; ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.shiftID = undefined; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
this.workPlanGroupID = undefined; return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.AttnShiftWiseNationalHoliday = void 0;
var baseObject_1 = require("../Basic/baseObject");
var AttnShiftWiseNationalHoliday = /** @class */ (function (_super) {
__extends(AttnShiftWiseNationalHoliday, _super);
function AttnShiftWiseNationalHoliday() {
var _this = _super.call(this) || this;
_this.aNationalHolidayID = undefined;
_this.shiftID = undefined;
_this.workPlanGroupID = undefined;
return _this;
} }
} return AttnShiftWiseNationalHoliday;
}(baseObject_1.BaseObject));
exports.AttnShiftWiseNationalHoliday = AttnShiftWiseNationalHoliday;
//# sourceMappingURL=attnShiftWiseNationalHoliday.js.map //# sourceMappingURL=attnShiftWiseNationalHoliday.js.map

View File

@ -1 +1 @@
{"version":3,"file":"attnShiftWiseNationalHoliday.js","sourceRoot":"","sources":["attnShiftWiseNationalHoliday.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAE/C,MAAM,OAAO,4BAA6B,SAAQ,UAAU;IACxD;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,kBAAkB,GAAG,SAAS,CAAC;QACpC,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;QACzB,IAAI,CAAC,eAAe,GAAG,SAAS,CAAC;IACrC,CAAC;CAIJ"} {"version":3,"file":"attnShiftWiseNationalHoliday.js","sourceRoot":"","sources":["attnShiftWiseNationalHoliday.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kDAA+C;AAE/C;IAAkD,gDAAU;IACxD;QACI,YAAA,MAAK,WAAE,SAAC;QACR,KAAI,CAAC,kBAAkB,GAAG,SAAS,CAAC;QACpC,KAAI,CAAC,OAAO,GAAG,SAAS,CAAC;QACzB,KAAI,CAAC,eAAe,GAAG,SAAS,CAAC;;IACrC,CAAC;IAIL,mCAAC;AAAD,CAAC,AAVD,CAAkD,uBAAU,GAU3D;AAVY,oEAA4B"}

View File

@ -1,3 +1,10 @@
export class AttnWiseAllowance { "use strict";
} Object.defineProperty(exports, "__esModule", { value: true });
exports.AttnWiseAllowance = void 0;
var AttnWiseAllowance = /** @class */ (function () {
function AttnWiseAllowance() {
}
return AttnWiseAllowance;
}());
exports.AttnWiseAllowance = AttnWiseAllowance;
//# sourceMappingURL=attnWiseAllowance%20.js.map //# sourceMappingURL=attnWiseAllowance%20.js.map

View File

@ -1 +1 @@
{"version":3,"file":"attnWiseAllowance .js","sourceRoot":"","sources":["attnWiseAllowance .ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,iBAAiB;CAuB7B"} {"version":3,"file":"attnWiseAllowance .js","sourceRoot":"","sources":["attnWiseAllowance .ts"],"names":[],"mappings":";;;AAGA;IAAA;IAuBA,CAAC;IAAD,wBAAC;AAAD,CAAC,AAvBD,IAuBC;AAvBY,8CAAiB"}

View File

@ -1,7 +1,28 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
export class CardOperation extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.CardOperation = void 0;
var baseObject_1 = require("../Basic/baseObject");
var CardOperation = /** @class */ (function (_super) {
__extends(CardOperation, _super);
function CardOperation() {
return _super.call(this) || this;
} }
} return CardOperation;
}(baseObject_1.BaseObject));
exports.CardOperation = CardOperation;
//# sourceMappingURL=cardOperation.js.map //# sourceMappingURL=cardOperation.js.map

View File

@ -1 +1 @@
{"version":3,"file":"cardOperation.js","sourceRoot":"","sources":["cardOperation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAOjD,MAAM,OAAO,aAAc,SAAQ,UAAU;IAEzC;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;CAiBJ"} {"version":3,"file":"cardOperation.js","sourceRoot":"","sources":["cardOperation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kDAAiD;AAOjD;IAAmC,iCAAU;IAEzC;QACI,OAAA,MAAK,WAAE,SAAC;IACZ,CAAC;IAiBL,oBAAC;AAAD,CAAC,AArBD,CAAmC,uBAAU,GAqB5C;AArBY,sCAAa"}

View File

@ -1,4 +1,28 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
export class EmployeeCordinator extends BaseObject { var __extends = (this && this.__extends) || (function () {
} var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.EmployeeCordinator = void 0;
var baseObject_1 = require("../Basic/baseObject");
var EmployeeCordinator = /** @class */ (function (_super) {
__extends(EmployeeCordinator, _super);
function EmployeeCordinator() {
return _super !== null && _super.apply(this, arguments) || this;
}
return EmployeeCordinator;
}(baseObject_1.BaseObject));
exports.EmployeeCordinator = EmployeeCordinator;
//# sourceMappingURL=employeeCordinator.js.map //# sourceMappingURL=employeeCordinator.js.map

View File

@ -1 +1 @@
{"version":3,"file":"employeeCordinator.js","sourceRoot":"","sources":["employeeCordinator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAMjD,MAAM,OAAO,kBAAmB,SAAQ,UAAU;CASjD"} {"version":3,"file":"employeeCordinator.js","sourceRoot":"","sources":["employeeCordinator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kDAAiD;AAMjD;IAAwC,sCAAU;IAAlD;;IASA,CAAC;IAAD,yBAAC;AAAD,CAAC,AATD,CAAwC,uBAAU,GASjD;AATY,gDAAkB"}

View File

@ -1,19 +1,41 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
import { Employee } from '../Employee/employee'; var __extends = (this && this.__extends) || (function () {
import { OutsideDuty } from './outsideDuty'; var extendStatics = function (d, b) {
export class EmployeeOutsideDuty extends BaseObject { extendStatics = Object.setPrototypeOf ||
constructor() { ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
super(); function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
this.employeeID = undefined; return extendStatics(d, b);
this.employeeNo = ''; };
this.employeeName = ''; return function (d, b) {
this.employee = new Employee(); if (typeof b !== "function" && b !== null)
this.entryDate = new Date(); throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
this.startDate = new Date(); extendStatics(d, b);
this.endDate = new Date(); function __() { this.constructor = d; }
this.comments = ''; d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
this.outsideDutyID = undefined; };
this.outsideDuty = new OutsideDuty(); })();
Object.defineProperty(exports, "__esModule", { value: true });
exports.EmployeeOutsideDuty = void 0;
var baseObject_1 = require("../Basic/baseObject");
var employee_1 = require("../Employee/employee");
var outsideDuty_1 = require("./outsideDuty");
var EmployeeOutsideDuty = /** @class */ (function (_super) {
__extends(EmployeeOutsideDuty, _super);
function EmployeeOutsideDuty() {
var _this = _super.call(this) || this;
_this.employeeID = undefined;
_this.employeeNo = '';
_this.employeeName = '';
_this.employee = new employee_1.Employee();
_this.entryDate = new Date();
_this.startDate = new Date();
_this.endDate = new Date();
_this.comments = '';
_this.outsideDutyID = undefined;
_this.outsideDuty = new outsideDuty_1.OutsideDuty();
return _this;
} }
} return EmployeeOutsideDuty;
}(baseObject_1.BaseObject));
exports.EmployeeOutsideDuty = EmployeeOutsideDuty;
//# sourceMappingURL=employeeOutsideDuty.js.map //# sourceMappingURL=employeeOutsideDuty.js.map

View File

@ -1 +1 @@
{"version":3,"file":"employeeOutsideDuty.js","sourceRoot":"","sources":["employeeOutsideDuty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAE1C,MAAM,OAAO,mBAAoB,SAAQ,UAAU;IAW/C;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;QACrB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;QAC5B,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,IAAI,IAAI,EAAE,CAAC;QAC1B,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,IAAI,WAAW,EAAE,CAAC;IACzC,CAAC;CACJ"} {"version":3,"file":"employeeOutsideDuty.js","sourceRoot":"","sources":["employeeOutsideDuty.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kDAA+C;AAC/C,iDAA8C;AAC9C,6CAA0C;AAE1C;IAAyC,uCAAU;IAW/C;QACI,YAAA,MAAK,WAAE,SAAC;QACR,KAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,KAAI,CAAC,UAAU,GAAG,EAAE,CAAC;QACrB,KAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QACvB,KAAI,CAAC,QAAQ,GAAG,IAAI,mBAAQ,EAAE,CAAC;QAC/B,KAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;QAC5B,KAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;QAC5B,KAAI,CAAC,OAAO,GAAG,IAAI,IAAI,EAAE,CAAC;QAC1B,KAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,KAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,KAAI,CAAC,WAAW,GAAG,IAAI,yBAAW,EAAE,CAAC;;IACzC,CAAC;IACL,0BAAC;AAAD,CAAC,AAxBD,CAAyC,uBAAU,GAwBlD;AAxBY,kDAAmB"}

View File

@ -1,38 +1,60 @@
import { EnumDayOfWeek } from '../enums'; "use strict";
import { Shift } from './shift'; var __extends = (this && this.__extends) || (function () {
import { Employee } from '../Employee/employee'; var extendStatics = function (d, b) {
import { BaseObject } from '../Basic/baseObject'; extendStatics = Object.setPrototypeOf ||
export class EmployeeWorkPlanSetup extends BaseObject { ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
constructor() { function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
super(); return extendStatics(d, b);
this.employeeID = undefined; };
this.shiftID = undefined; return function (d, b) {
this.startDate = new Date(); if (typeof b !== "function" && b !== null)
this.workPlanGroupID = undefined; throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
this.workPlanGroupType = undefined; extendStatics(d, b);
this.weekEndOn = EnumDayOfWeek.Friday; function __() { this.constructor = d; }
this.weekEndOn2 = EnumDayOfWeek.Saturday; d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
this.payrolltypeID = undefined; };
this.employee = new Employee(); })();
this.shift = new Shift(); Object.defineProperty(exports, "__esModule", { value: true });
this.saturdayShiftID = undefined; exports.EmployeeWorkPlanSetup = void 0;
this.saturdayShift = new Shift(); var enums_1 = require("../enums");
this.sundayShiftID = undefined; var shift_1 = require("./shift");
this.sundayShift = new Shift(); var employee_1 = require("../Employee/employee");
this.mondayShiftID = undefined; var baseObject_1 = require("../Basic/baseObject");
this.mondayShift = new Shift(); var EmployeeWorkPlanSetup = /** @class */ (function (_super) {
this.tuesdayShiftID = undefined; __extends(EmployeeWorkPlanSetup, _super);
this.tuesdayShift = new Shift(); function EmployeeWorkPlanSetup() {
this.wednesdayShiftID = undefined; var _this = _super.call(this) || this;
this.wednesdayShift = new Shift(); _this.employeeID = undefined;
this.thursdayShiftID = undefined; _this.shiftID = undefined;
this.thursdayShift = new Shift(); _this.startDate = new Date();
this.fridayShiftID = undefined; _this.workPlanGroupID = undefined;
this.fridayShift = new Shift(); _this.workPlanGroupType = undefined;
this.shiftsName = ''; _this.weekEndOn = enums_1.EnumDayOfWeek.Friday;
this.employeeNoView = ''; _this.weekEndOn2 = enums_1.EnumDayOfWeek.Saturday;
this.employeeNameView = ''; _this.payrolltypeID = undefined;
this.workPlanGroupNameView = ''; _this.employee = new employee_1.Employee();
_this.shift = new shift_1.Shift();
_this.saturdayShiftID = undefined;
_this.saturdayShift = new shift_1.Shift();
_this.sundayShiftID = undefined;
_this.sundayShift = new shift_1.Shift();
_this.mondayShiftID = undefined;
_this.mondayShift = new shift_1.Shift();
_this.tuesdayShiftID = undefined;
_this.tuesdayShift = new shift_1.Shift();
_this.wednesdayShiftID = undefined;
_this.wednesdayShift = new shift_1.Shift();
_this.thursdayShiftID = undefined;
_this.thursdayShift = new shift_1.Shift();
_this.fridayShiftID = undefined;
_this.fridayShift = new shift_1.Shift();
_this.shiftsName = '';
_this.employeeNoView = '';
_this.employeeNameView = '';
_this.workPlanGroupNameView = '';
return _this;
} }
} return EmployeeWorkPlanSetup;
}(baseObject_1.BaseObject));
exports.EmployeeWorkPlanSetup = EmployeeWorkPlanSetup;
//# sourceMappingURL=employeeWorkPlanSetup.js.map //# sourceMappingURL=employeeWorkPlanSetup.js.map

View File

@ -1 +1 @@
{"version":3,"file":"employeeWorkPlanSetup.js","sourceRoot":"","sources":["employeeWorkPlanSetup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAoB,MAAM,UAAU,CAAC;AAC1D,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAG/C,MAAM,OAAO,qBAAsB,SAAQ,UAAU;IACjD;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;QACzB,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;QAC5B,IAAI,CAAC,eAAe,GAAG,SAAS,CAAC;QACjC,IAAI,CAAC,iBAAiB,GAAG,SAAS,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,aAAa,CAAC,MAAM,CAAC;QACtC,IAAI,CAAC,UAAU,GAAG,aAAa,CAAC,QAAQ,CAAC;QACzC,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;QAC/B,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,EAAE,CAAC;QACzB,IAAI,CAAC,eAAe,GAAG,SAAS,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,IAAI,KAAK,EAAE,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,IAAI,KAAK,EAAE,CAAC;QAC/B,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,IAAI,KAAK,EAAE,CAAC;QAC/B,IAAI,CAAC,cAAc,GAAG,SAAS,CAAC;QAChC,IAAI,CAAC,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;QAChC,IAAI,CAAC,gBAAgB,GAAG,SAAS,CAAC;QAClC,IAAI,CAAC,cAAc,GAAG,IAAI,KAAK,EAAE,CAAC;QAClC,IAAI,CAAC,eAAe,GAAG,SAAS,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,IAAI,KAAK,EAAE,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,IAAI,KAAK,EAAE,CAAC;QAC/B,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;QACrB,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QACzB,IAAI,CAAC,gBAAgB,GAAG,EAAE,CAAC;QAC3B,IAAI,CAAC,qBAAqB,GAAG,EAAE,CAAC;IACpC,CAAC;CAuCJ"} {"version":3,"file":"employeeWorkPlanSetup.js","sourceRoot":"","sources":["employeeWorkPlanSetup.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kCAA0D;AAC1D,iCAA8B;AAC9B,iDAA8C;AAC9C,kDAA+C;AAG/C;IAA2C,yCAAU;IACjD;QACI,YAAA,MAAK,WAAE,SAAC;QACR,KAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,KAAI,CAAC,OAAO,GAAG,SAAS,CAAC;QACzB,KAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;QAC5B,KAAI,CAAC,eAAe,GAAG,SAAS,CAAC;QACjC,KAAI,CAAC,iBAAiB,GAAG,SAAS,CAAC;QACnC,KAAI,CAAC,SAAS,GAAG,qBAAa,CAAC,MAAM,CAAC;QACtC,KAAI,CAAC,UAAU,GAAG,qBAAa,CAAC,QAAQ,CAAC;QACzC,KAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,KAAI,CAAC,QAAQ,GAAG,IAAI,mBAAQ,EAAE,CAAC;QAC/B,KAAI,CAAC,KAAK,GAAG,IAAI,aAAK,EAAE,CAAC;QACzB,KAAI,CAAC,eAAe,GAAG,SAAS,CAAC;QACjC,KAAI,CAAC,aAAa,GAAG,IAAI,aAAK,EAAE,CAAC;QACjC,KAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,KAAI,CAAC,WAAW,GAAG,IAAI,aAAK,EAAE,CAAC;QAC/B,KAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,KAAI,CAAC,WAAW,GAAG,IAAI,aAAK,EAAE,CAAC;QAC/B,KAAI,CAAC,cAAc,GAAG,SAAS,CAAC;QAChC,KAAI,CAAC,YAAY,GAAG,IAAI,aAAK,EAAE,CAAC;QAChC,KAAI,CAAC,gBAAgB,GAAG,SAAS,CAAC;QAClC,KAAI,CAAC,cAAc,GAAG,IAAI,aAAK,EAAE,CAAC;QAClC,KAAI,CAAC,eAAe,GAAG,SAAS,CAAC;QACjC,KAAI,CAAC,aAAa,GAAG,IAAI,aAAK,EAAE,CAAC;QACjC,KAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,KAAI,CAAC,WAAW,GAAG,IAAI,aAAK,EAAE,CAAC;QAC/B,KAAI,CAAC,UAAU,GAAG,EAAE,CAAC;QACrB,KAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QACzB,KAAI,CAAC,gBAAgB,GAAG,EAAE,CAAC;QAC3B,KAAI,CAAC,qBAAqB,GAAG,EAAE,CAAC;;IACpC,CAAC;IAuCL,4BAAC;AAAD,CAAC,AAtED,CAA2C,uBAAU,GAsEpD;AAtEY,sDAAqB"}

View File

@ -1,3 +1,10 @@
export class GatePass { "use strict";
} Object.defineProperty(exports, "__esModule", { value: true });
exports.GatePass = void 0;
var GatePass = /** @class */ (function () {
function GatePass() {
}
return GatePass;
}());
exports.GatePass = GatePass;
//# sourceMappingURL=gatePass.js.map //# sourceMappingURL=gatePass.js.map

View File

@ -1 +1 @@
{"version":3,"file":"gatePass.js","sourceRoot":"","sources":["gatePass.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,QAAQ;CAcpB"} {"version":3,"file":"gatePass.js","sourceRoot":"","sources":["gatePass.ts"],"names":[],"mappings":";;;AAGA;IAAA;IAcA,CAAC;IAAD,eAAC;AAAD,CAAC,AAdD,IAcC;AAdY,4BAAQ"}

View File

@ -1,13 +1,35 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
import { EnumHolidayType } from '../enums'; var __extends = (this && this.__extends) || (function () {
export class HolidayCalendar extends BaseObject { var extendStatics = function (d, b) {
constructor() { extendStatics = Object.setPrototypeOf ||
super(); ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.type = EnumHolidayType.Weekend; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
this.description = ''; return extendStatics(d, b);
this.holidayDate = new Date(); };
this.locationID = null; return function (d, b) {
this.weeklyHolidayType = null; if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.HolidayCalendar = void 0;
var baseObject_1 = require("../Basic/baseObject");
var enums_1 = require("../enums");
var HolidayCalendar = /** @class */ (function (_super) {
__extends(HolidayCalendar, _super);
function HolidayCalendar() {
var _this = _super.call(this) || this;
_this.type = enums_1.EnumHolidayType.Weekend;
_this.description = '';
_this.holidayDate = new Date();
_this.locationID = null;
_this.weeklyHolidayType = null;
return _this;
} }
} return HolidayCalendar;
}(baseObject_1.BaseObject));
exports.HolidayCalendar = HolidayCalendar;
//# sourceMappingURL=holidayCalendar.js.map //# sourceMappingURL=holidayCalendar.js.map

View File

@ -1 +1 @@
{"version":3,"file":"holidayCalendar.js","sourceRoot":"","sources":["holidayCalendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAEzC,MAAM,OAAO,eAAgB,SAAQ,UAAU;IAC3C;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC,OAAO,CAAC;QACpC,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,IAAI,CAAC,WAAW,GAAG,IAAI,IAAI,EAAE,CAAC;QAC9B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;IAClC,CAAC;CAMJ"} {"version":3,"file":"holidayCalendar.js","sourceRoot":"","sources":["holidayCalendar.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kDAA+C;AAC/C,kCAAyC;AAEzC;IAAqC,mCAAU;IAC3C;QACI,YAAA,MAAK,WAAE,SAAC;QACR,KAAI,CAAC,IAAI,GAAG,uBAAe,CAAC,OAAO,CAAC;QACpC,KAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,KAAI,CAAC,WAAW,GAAG,IAAI,IAAI,EAAE,CAAC;QAC9B,KAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,KAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;;IAClC,CAAC;IAML,sBAAC;AAAD,CAAC,AAdD,CAAqC,uBAAU,GAc9C;AAdY,0CAAe"}

View File

@ -1,12 +1,36 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
export class MonthlyWorkPlan extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.EmployeeWorkPlan = exports.MonthlyWorkPlan = void 0;
var baseObject_1 = require("../Basic/baseObject");
var MonthlyWorkPlan = /** @class */ (function (_super) {
__extends(MonthlyWorkPlan, _super);
function MonthlyWorkPlan() {
return _super.call(this) || this;
} }
} return MonthlyWorkPlan;
export class EmployeeWorkPlan extends BaseObject { }(baseObject_1.BaseObject));
constructor() { exports.MonthlyWorkPlan = MonthlyWorkPlan;
super(); var EmployeeWorkPlan = /** @class */ (function (_super) {
__extends(EmployeeWorkPlan, _super);
function EmployeeWorkPlan() {
return _super.call(this) || this;
} }
} return EmployeeWorkPlan;
}(baseObject_1.BaseObject));
exports.EmployeeWorkPlan = EmployeeWorkPlan;
//# sourceMappingURL=monthlyWorkPlan.js.map //# sourceMappingURL=monthlyWorkPlan.js.map

View File

@ -1 +1 @@
{"version":3,"file":"monthlyWorkPlan.js","sourceRoot":"","sources":["monthlyWorkPlan.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,MAAM,OAAO,eAAgB,SAAQ,UAAU;IAE3C;QAEI,KAAK,EAAE,CAAC;IACZ,CAAC;CAWJ;AAGD,MAAM,OAAO,gBAAiB,SAAQ,UAAU;IAC5C;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;CAaJ"} {"version":3,"file":"monthlyWorkPlan.js","sourceRoot":"","sources":["monthlyWorkPlan.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAGA,kDAAiD;AAGjD;IAAqC,mCAAU;IAE3C;QAEI,OAAA,MAAK,WAAE,SAAC;IACZ,CAAC;IAWL,sBAAC;AAAD,CAAC,AAhBD,CAAqC,uBAAU,GAgB9C;AAhBY,0CAAe;AAmB5B;IAAsC,oCAAU;IAC5C;QACI,OAAA,MAAK,WAAE,SAAC;IACZ,CAAC;IAaL,uBAAC;AAAD,CAAC,AAhBD,CAAsC,uBAAU,GAgB/C;AAhBY,4CAAgB"}

View File

@ -1,7 +1,28 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
export class OutsideDuty extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.OutsideDuty = void 0;
var baseObject_1 = require("../Basic/baseObject");
var OutsideDuty = /** @class */ (function (_super) {
__extends(OutsideDuty, _super);
function OutsideDuty() {
return _super.call(this) || this;
} }
} return OutsideDuty;
}(baseObject_1.BaseObject));
exports.OutsideDuty = OutsideDuty;
//# sourceMappingURL=outsideDuty.js.map //# sourceMappingURL=outsideDuty.js.map

View File

@ -1 +1 @@
{"version":3,"file":"outsideDuty.js","sourceRoot":"","sources":["outsideDuty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAE/C,MAAM,OAAO,WAAY,SAAQ,UAAU;IAEvC;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;CACJ"} {"version":3,"file":"outsideDuty.js","sourceRoot":"","sources":["outsideDuty.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kDAA+C;AAE/C;IAAiC,+BAAU;IAEvC;QACI,OAAA,MAAK,WAAE,SAAC;IACZ,CAAC;IACL,kBAAC;AAAD,CAAC,AALD,CAAiC,uBAAU,GAK1C;AALY,kCAAW"}

View File

@ -1,39 +1,61 @@
import { EnumWorkPlanGroup } from '../enums'; "use strict";
import { BaseObject } from '../Basic/baseObject'; var __extends = (this && this.__extends) || (function () {
export class Shift extends BaseObject { var extendStatics = function (d, b) {
constructor() { extendStatics = Object.setPrototypeOf ||
super(); ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.code = ''; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
this.name = ''; return extendStatics(d, b);
this.workHour = 0; };
this.flexibleHour = 0; return function (d, b) {
this.minimumInGraceTime = 0; if (typeof b !== "function" && b !== null)
this.minimumOutGraceTime = 0; throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
this.inTime = new Date(2000, 2, 10, 8, 30, 0); extendStatics(d, b);
this.outTime = new Date(2000, 2, 10, 13, 30, 0); function __() { this.constructor = d; }
this.hasAbsentTime = false; d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
this.isCounterClock = false; };
this.lunchHour = 0; })();
this.minimumInOTHour = 0; Object.defineProperty(exports, "__esModule", { value: true });
this.minimumOutOTHour = 0; exports.Shift = void 0;
this.absentTime = new Date(); var enums_1 = require("../enums");
this.lateCalcualtion = 0; var baseObject_1 = require("../Basic/baseObject");
this.delayCalcualtion = 0; var Shift = /** @class */ (function (_super) {
this.earlyExitBefore = 0; __extends(Shift, _super);
this.minimumOTHour = 0; function Shift() {
this.isOverlapingDay = false; var _this = _super.call(this) || this;
this.shiftType = EnumWorkPlanGroup.Fixed; _this.code = '';
this.shortName = ''; _this.name = '';
this.hasBenefits = false; _this.workHour = 0;
this.hasExtraHourAllowance = false; _this.flexibleHour = 0;
this.extraHourAllowanceFromTime = new Date(); _this.minimumInGraceTime = 0;
this.hasNightAllowance = false; _this.minimumOutGraceTime = 0;
this.hasHolidayAllowance = false; _this.inTime = new Date(2000, 2, 10, 8, 30, 0);
this.hasOtherAllowance = false; _this.outTime = new Date(2000, 2, 10, 13, 30, 0);
this.hasRegularOverTime = false; _this.hasAbsentTime = false;
this.hasHolidayOverTime = false; _this.isCounterClock = false;
this.hasTiffinAllowance = false; _this.lunchHour = 0;
this.hasSpecialAllowance = false; _this.minimumInOTHour = 0;
_this.minimumOutOTHour = 0;
_this.absentTime = new Date();
_this.lateCalcualtion = 0;
_this.delayCalcualtion = 0;
_this.earlyExitBefore = 0;
_this.minimumOTHour = 0;
_this.isOverlapingDay = false;
_this.shiftType = enums_1.EnumWorkPlanGroup.Fixed;
_this.shortName = '';
_this.hasBenefits = false;
_this.hasExtraHourAllowance = false;
_this.extraHourAllowanceFromTime = new Date();
_this.hasNightAllowance = false;
_this.hasHolidayAllowance = false;
_this.hasOtherAllowance = false;
_this.hasRegularOverTime = false;
_this.hasHolidayOverTime = false;
_this.hasTiffinAllowance = false;
_this.hasSpecialAllowance = false;
return _this;
} }
} return Shift;
}(baseObject_1.BaseObject));
exports.Shift = Shift;
//# sourceMappingURL=shift.js.map //# sourceMappingURL=shift.js.map

View File

@ -1 +1 @@
{"version":3,"file":"shift.js","sourceRoot":"","sources":["shift.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,iBAAiB,EAAC,MAAM,UAAU,CAAC;AACzD,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAG/C,MAAM,OAAO,KAAM,SAAQ,UAAU;IACjC;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;QACtB,IAAI,CAAC,kBAAkB,GAAG,CAAC,CAAC;QAC5B,IAAI,CAAC,mBAAmB,GAAG,CAAC,CAAC;QAC7B,IAAI,CAAC,MAAM,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;QAChD,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC3B,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAC5B,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC;QACnB,IAAI,CAAC,eAAe,GAAG,CAAC,CAAC;QACzB,IAAI,CAAC,gBAAgB,GAAG,CAAC,CAAC;QAC1B,IAAI,CAAC,UAAU,GAAG,IAAI,IAAI,EAAE,CAAC;QAC7B,IAAI,CAAC,eAAe,GAAG,CAAC,CAAC;QACzB,IAAI,CAAC,gBAAgB,GAAG,CAAC,CAAC;QAC1B,IAAI,CAAC,eAAe,GAAG,CAAC,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,SAAS,GAAG,iBAAiB,CAAC,KAAK,CAAC;QACzC,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QACzB,IAAI,CAAC,qBAAqB,GAAG,KAAK,CAAC;QACnC,IAAI,CAAC,0BAA0B,GAAG,IAAI,IAAI,EAAE,CAAC;QAC7C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QAC/B,IAAI,CAAC,mBAAmB,GAAG,KAAK,CAAC;QACjC,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QAC/B,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QAChC,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QAChC,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QAChC,IAAI,CAAC,mBAAmB,GAAG,KAAK,CAAC;IAErC,CAAC;CAiDJ"} {"version":3,"file":"shift.js","sourceRoot":"","sources":["shift.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kCAAyD;AACzD,kDAA+C;AAG/C;IAA2B,yBAAU;IACjC;QACI,YAAA,MAAK,WAAE,SAAC;QACR,KAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,KAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,KAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;QAClB,KAAI,CAAC,YAAY,GAAG,CAAC,CAAC;QACtB,KAAI,CAAC,kBAAkB,GAAG,CAAC,CAAC;QAC5B,KAAI,CAAC,mBAAmB,GAAG,CAAC,CAAC;QAC7B,KAAI,CAAC,MAAM,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;QAC9C,KAAI,CAAC,OAAO,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;QAChD,KAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC3B,KAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAC5B,KAAI,CAAC,SAAS,GAAG,CAAC,CAAC;QACnB,KAAI,CAAC,eAAe,GAAG,CAAC,CAAC;QACzB,KAAI,CAAC,gBAAgB,GAAG,CAAC,CAAC;QAC1B,KAAI,CAAC,UAAU,GAAG,IAAI,IAAI,EAAE,CAAC;QAC7B,KAAI,CAAC,eAAe,GAAG,CAAC,CAAC;QACzB,KAAI,CAAC,gBAAgB,GAAG,CAAC,CAAC;QAC1B,KAAI,CAAC,eAAe,GAAG,CAAC,CAAC;QACzB,KAAI,CAAC,aAAa,GAAG,CAAC,CAAC;QACvB,KAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,KAAI,CAAC,SAAS,GAAG,yBAAiB,CAAC,KAAK,CAAC;QACzC,KAAI,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,KAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QACzB,KAAI,CAAC,qBAAqB,GAAG,KAAK,CAAC;QACnC,KAAI,CAAC,0BAA0B,GAAG,IAAI,IAAI,EAAE,CAAC;QAC7C,KAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QAC/B,KAAI,CAAC,mBAAmB,GAAG,KAAK,CAAC;QACjC,KAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QAC/B,KAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QAChC,KAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QAChC,KAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC;QAChC,KAAI,CAAC,mBAAmB,GAAG,KAAK,CAAC;;IAErC,CAAC;IAiDL,YAAC;AAAD,CAAC,AApFD,CAA2B,uBAAU,GAoFpC;AApFY,sBAAK"}

View File

@ -1,14 +1,36 @@
import { EnumWorkPlanGroup } from '../enums'; "use strict";
import { Shift } from './shift'; var __extends = (this && this.__extends) || (function () {
import { BaseObject } from '../Basic/baseObject'; var extendStatics = function (d, b) {
export class ShiftRotation extends BaseObject { extendStatics = Object.setPrototypeOf ||
constructor() { ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
super(); function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
this.shiftID = undefined; return extendStatics(d, b);
this.workPlanType = EnumWorkPlanGroup.Fixed; };
this.workPlanGroupType = EnumWorkPlanGroup.Fixed; return function (d, b) {
this.shift = new Shift(); if (typeof b !== "function" && b !== null)
this.shortName = ''; throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.ShiftRotation = void 0;
var enums_1 = require("../enums");
var shift_1 = require("./shift");
var baseObject_1 = require("../Basic/baseObject");
var ShiftRotation = /** @class */ (function (_super) {
__extends(ShiftRotation, _super);
function ShiftRotation() {
var _this = _super.call(this) || this;
_this.shiftID = undefined;
_this.workPlanType = enums_1.EnumWorkPlanGroup.Fixed;
_this.workPlanGroupType = enums_1.EnumWorkPlanGroup.Fixed;
_this.shift = new shift_1.Shift();
_this.shortName = '';
return _this;
} }
} return ShiftRotation;
}(baseObject_1.BaseObject));
exports.ShiftRotation = ShiftRotation;
//# sourceMappingURL=shiftRotation.js.map //# sourceMappingURL=shiftRotation.js.map

View File

@ -1 +1 @@
{"version":3,"file":"shiftRotation.js","sourceRoot":"","sources":["shiftRotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAG/C,MAAM,OAAO,aAAc,SAAQ,UAAU;IACzC;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;QACzB,IAAI,CAAC,YAAY,GAAG,iBAAiB,CAAC,KAAK,CAAC;QAC5C,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,KAAK,CAAC;QACjD,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,EAAE,CAAC;QACzB,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACxB,CAAC;CAOJ"} {"version":3,"file":"shiftRotation.js","sourceRoot":"","sources":["shiftRotation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kCAA2C;AAC3C,iCAA8B;AAC9B,kDAA+C;AAG/C;IAAmC,iCAAU;IACzC;QACI,YAAA,MAAK,WAAE,SAAC;QACR,KAAI,CAAC,OAAO,GAAG,SAAS,CAAC;QACzB,KAAI,CAAC,YAAY,GAAG,yBAAiB,CAAC,KAAK,CAAC;QAC5C,KAAI,CAAC,iBAAiB,GAAG,yBAAiB,CAAC,KAAK,CAAC;QACjD,KAAI,CAAC,KAAK,GAAG,IAAI,aAAK,EAAE,CAAC;QACzB,KAAI,CAAC,SAAS,GAAG,EAAE,CAAC;;IACxB,CAAC;IAOL,oBAAC;AAAD,CAAC,AAfD,CAAmC,uBAAU,GAe5C;AAfY,sCAAa"}

View File

@ -1,22 +1,44 @@
import { EnumWorkPlanGroup, HolidayDayOfWeek } from '../enums'; "use strict";
import { BaseObject } from '../Basic/baseObject'; var __extends = (this && this.__extends) || (function () {
export class WorkPlanGroup extends BaseObject { var extendStatics = function (d, b) {
constructor() { extendStatics = Object.setPrototypeOf ||
super(); ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.name = ''; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
this.type = EnumWorkPlanGroup.Fixed; return extendStatics(d, b);
this.initialShiftID = undefined; };
this.saturdayShiftID = undefined; return function (d, b) {
this.sundayShiftID = undefined; if (typeof b !== "function" && b !== null)
this.mondayShiftID = undefined; throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
this.tuesdayShiftID = undefined; extendStatics(d, b);
this.wednesdayShiftID = undefined; function __() { this.constructor = d; }
this.thursdayShiftID = undefined; d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
this.fridayShiftID = undefined; };
this.holidayOne = HolidayDayOfWeek.None; })();
this.holidayTwo = HolidayDayOfWeek.None; Object.defineProperty(exports, "__esModule", { value: true });
this.workPlanGroupType = EnumWorkPlanGroup.Fixed; exports.WorkPlanGroup = void 0;
this.hasTwoHolidays = true; var enums_1 = require("../enums");
var baseObject_1 = require("../Basic/baseObject");
var WorkPlanGroup = /** @class */ (function (_super) {
__extends(WorkPlanGroup, _super);
function WorkPlanGroup() {
var _this = _super.call(this) || this;
_this.name = '';
_this.type = enums_1.EnumWorkPlanGroup.Fixed;
_this.initialShiftID = undefined;
_this.saturdayShiftID = undefined;
_this.sundayShiftID = undefined;
_this.mondayShiftID = undefined;
_this.tuesdayShiftID = undefined;
_this.wednesdayShiftID = undefined;
_this.thursdayShiftID = undefined;
_this.fridayShiftID = undefined;
_this.holidayOne = enums_1.HolidayDayOfWeek.None;
_this.holidayTwo = enums_1.HolidayDayOfWeek.None;
_this.workPlanGroupType = enums_1.EnumWorkPlanGroup.Fixed;
_this.hasTwoHolidays = true;
return _this;
} }
} return WorkPlanGroup;
}(baseObject_1.BaseObject));
exports.WorkPlanGroup = WorkPlanGroup;
//# sourceMappingURL=workPlanGroup.js.map //# sourceMappingURL=workPlanGroup.js.map

View File

@ -1 +1 @@
{"version":3,"file":"workPlanGroup.js","sourceRoot":"","sources":["workPlanGroup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAuC,MAAM,UAAU,CAAC;AACpG,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAG/C,MAAM,OAAO,aAAc,SAAQ,UAAU;IACzC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC,KAAK,CAAC;QACpC,IAAI,CAAC,cAAc,GAAG,SAAS,CAAC;QAChC,IAAI,CAAC,eAAe,GAAG,SAAS,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,IAAI,CAAC,cAAc,GAAG,SAAS,CAAC;QAChC,IAAI,CAAC,gBAAgB,GAAG,SAAS,CAAC;QAClC,IAAI,CAAC,eAAe,GAAG,SAAS,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,IAAI,CAAC,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC;QACxC,IAAI,CAAC,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC;QACxC,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,KAAK,CAAC;QACjD,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;IAC/B,CAAC;CAiBJ"} {"version":3,"file":"workPlanGroup.js","sourceRoot":"","sources":["workPlanGroup.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kCAAoG;AACpG,kDAA+C;AAG/C;IAAmC,iCAAU;IACzC;QACI,YAAA,MAAK,WAAE,SAAC;QAER,KAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,KAAI,CAAC,IAAI,GAAG,yBAAiB,CAAC,KAAK,CAAC;QACpC,KAAI,CAAC,cAAc,GAAG,SAAS,CAAC;QAChC,KAAI,CAAC,eAAe,GAAG,SAAS,CAAC;QACjC,KAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,KAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,KAAI,CAAC,cAAc,GAAG,SAAS,CAAC;QAChC,KAAI,CAAC,gBAAgB,GAAG,SAAS,CAAC;QAClC,KAAI,CAAC,eAAe,GAAG,SAAS,CAAC;QACjC,KAAI,CAAC,aAAa,GAAG,SAAS,CAAC;QAC/B,KAAI,CAAC,UAAU,GAAG,wBAAgB,CAAC,IAAI,CAAC;QACxC,KAAI,CAAC,UAAU,GAAG,wBAAgB,CAAC,IAAI,CAAC;QACxC,KAAI,CAAC,iBAAiB,GAAG,yBAAiB,CAAC,KAAK,CAAC;QACjD,KAAI,CAAC,cAAc,GAAG,IAAI,CAAC;;IAC/B,CAAC;IAiBL,oBAAC;AAAD,CAAC,AAnCD,CAAmC,uBAAU,GAmC5C;AAnCY,sCAAa"}

View File

@ -1,10 +1,32 @@
import { BaseObject } from '../HRBasic/baseObject'; "use strict";
import { EnumAuthStatus } from '../enums'; var __extends = (this && this.__extends) || (function () {
export class UserAccessType extends BaseObject { var extendStatics = function (d, b) {
constructor() { extendStatics = Object.setPrototypeOf ||
super(); ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.description = ""; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
this.accessTypeStatus = EnumAuthStatus.Approved; return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.UserAccessType = void 0;
var baseObject_1 = require("../HRBasic/baseObject");
var enums_1 = require("../enums");
var UserAccessType = /** @class */ (function (_super) {
__extends(UserAccessType, _super);
function UserAccessType() {
var _this = _super.call(this) || this;
_this.description = "";
_this.accessTypeStatus = enums_1.EnumAuthStatus.Approved;
return _this;
} }
} return UserAccessType;
}(baseObject_1.BaseObject));
exports.UserAccessType = UserAccessType;
//# sourceMappingURL=UserAccessType.js.map //# sourceMappingURL=UserAccessType.js.map

View File

@ -1 +1 @@
{"version":3,"file":"UserAccessType.js","sourceRoot":"","sources":["UserAccessType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,OAAO,cAAe,SAAQ,UAAU;IAG1C;QAEI,KAAK,EAAE,CAAC;QAKL,gBAAW,GAAW,EAAE,CAAC;QAJ5B,IAAI,CAAC,gBAAgB,GAAG,cAAc,CAAC,QAAQ,CAAC;IACpD,CAAC;CAOJ"} {"version":3,"file":"UserAccessType.js","sourceRoot":"","sources":["UserAccessType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,oDAAmD;AACnD,kCAA0C;AAE1C;IAAoC,kCAAU;IAG1C;QAEI,YAAA,MAAK,WAAE,SAAC;QAKL,iBAAW,GAAW,EAAE,CAAC;QAJ5B,KAAI,CAAC,gBAAgB,GAAG,sBAAc,CAAC,QAAQ,CAAC;;IACpD,CAAC;IAOL,qBAAC;AAAD,CAAC,AAdD,CAAoC,uBAAU,GAc7C;AAdY,wCAAc"}

View File

@ -1,24 +1,46 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
export class UserRole extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
this.isOld = true; ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.newRoleName = ""; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
this.userID = 0; return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.UserRole = void 0;
var baseObject_1 = require("../Basic/baseObject");
var UserRole = /** @class */ (function (_super) {
__extends(UserRole, _super);
function UserRole() {
var _this = _super.call(this) || this;
_this.isOld = true;
_this.newRoleName = "";
_this.userID = 0;
return _this;
} }
getRoleNames(users, useRoles) { UserRole.prototype.getRoleNames = function (users, useRoles) {
var useRole; var useRole;
var str = ''; var str = '';
users.forEach(u => { users.forEach(function (u) {
str = ''; str = '';
var temproles = useRoles.filter(x => u.id == x.userID); var temproles = useRoles.filter(function (x) { return u.id == x.userID; });
if (temproles = undefined) { if (temproles = undefined) {
temproles.forEach(y => { temproles.forEach(function (y) {
str = str + y.roleNameView; str = str + y.roleNameView;
}); });
} }
u.roleNames = str; u.roleNames = str;
}); });
} };
} return UserRole;
}(baseObject_1.BaseObject));
exports.UserRole = UserRole;
//# sourceMappingURL=UserRole.js.map //# sourceMappingURL=UserRole.js.map

View File

@ -1 +1 @@
{"version":3,"file":"UserRole.js","sourceRoot":"","sources":["UserRole.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAK/C,MAAM,OAAO,QAAS,SAAQ,UAAU;IACpC;QACI,KAAK,EAAE,CAAC;QAsBZ,UAAK,GAAa,IAAI,CAAC;QACvB,gBAAW,GAAY,EAAE,CAAC;QAtBtB,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;IACpB,CAAC;IAuBD,YAAY,CAAC,KAAa,EAAE,QAAoB;QAC5C,IAAI,OAAmB,CAAC;QACxB,IAAI,GAAG,GAAG,EAAE,CAAC;QACb,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;YACd,GAAG,GAAG,EAAE,CAAC;YACT,IAAI,SAAS,GAAe,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;YACnE,IAAI,SAAU,GAAG,SAAS,EAAE,CAAC;gBACzB,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;oBAClB,GAAG,GAAG,GAAG,GAAG,CAAC,CAAC,YAAY,CAAC;gBAE/B,CAAC,CAAC,CAAC;YACP,CAAC;YACD,CAAC,CAAC,SAAS,GAAG,GAAG,CAAC;QACtB,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"} {"version":3,"file":"UserRole.js","sourceRoot":"","sources":["UserRole.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kDAA+C;AAK/C;IAA8B,4BAAU;IACpC;QACI,YAAA,MAAK,WAAE,SAAC;QAsBZ,WAAK,GAAa,IAAI,CAAC;QACvB,iBAAW,GAAY,EAAE,CAAC;QAtBtB,KAAI,CAAC,MAAM,GAAG,CAAC,CAAC;;IACpB,CAAC;IAuBD,+BAAY,GAAZ,UAAa,KAAa,EAAE,QAAoB;QAC5C,IAAI,OAAmB,CAAC;QACxB,IAAI,GAAG,GAAG,EAAE,CAAC;QACb,KAAK,CAAC,OAAO,CAAC,UAAA,CAAC;YACX,GAAG,GAAG,EAAE,CAAC;YACT,IAAI,SAAS,GAAe,QAAQ,CAAC,MAAM,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,MAAM,EAAhB,CAAgB,CAAC,CAAC;YACnE,IAAI,SAAU,GAAG,SAAS,EAAE,CAAC;gBACzB,SAAS,CAAC,OAAO,CAAC,UAAA,CAAC;oBACf,GAAG,GAAG,GAAG,GAAG,CAAC,CAAC,YAAY,CAAC;gBAE/B,CAAC,CAAC,CAAC;YACP,CAAC;YACD,CAAC,CAAC,SAAS,GAAG,GAAG,CAAC;QACtB,CAAC,CAAC,CAAC;IACP,CAAC;IACL,eAAC;AAAD,CAAC,AA1CD,CAA8B,uBAAU,GA0CvC;AA1CY,4BAAQ"}

View File

@ -1,49 +0,0 @@
import { BaseObject } from '../Basic/baseObject';
/** One successful login (dbo.UserLoginInfo), as returned by api/Authentication/getUserAuditTrail. */
export class UserLogInInfo extends BaseObject {
userID: number;
loginTime: Date;
logoutTime?: Date;
logoutType?: number;
pcNumber: string;
ipAddress: string;
/** Mobile / tab device id; null for a browser login. */
deviceId: string;
loginID: string;
userName: string;
constructor() {
super();
this.userID = 0;
this.loginTime = undefined;
this.logoutTime = undefined;
this.logoutType = undefined;
this.pcNumber = '';
this.ipAddress = '';
this.deviceId = '';
this.loginID = '';
this.userName = '';
}
}
/** One failed login (dbo.BadLoginAttemptInfo), as returned by api/Authentication/getBadLoginAuditTrail. */
export class BadLoginAttemptInfo extends BaseObject {
userID: number;
attemptTime: Date;
pcNumber: string;
ipAddress: string;
/** Mobile / tab device id; null for a browser login. */
deviceId: string;
loginID: string;
userName: string;
constructor() {
super();
this.userID = 0;
this.attemptTime = undefined;
this.pcNumber = '';
this.ipAddress = '';
this.deviceId = '';
this.loginID = '';
this.userName = '';
}
}

View File

@ -1,9 +1,31 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
export class PasswordHistory extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
this.userID = undefined; ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.userPassword = ''; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.PasswordHistory = void 0;
var baseObject_1 = require("../Basic/baseObject");
var PasswordHistory = /** @class */ (function (_super) {
__extends(PasswordHistory, _super);
function PasswordHistory() {
var _this = _super.call(this) || this;
_this.userID = undefined;
_this.userPassword = '';
return _this;
} }
} return PasswordHistory;
}(baseObject_1.BaseObject));
exports.PasswordHistory = PasswordHistory;
//# sourceMappingURL=passwordHistory.js.map //# sourceMappingURL=passwordHistory.js.map

View File

@ -1 +1 @@
{"version":3,"file":"passwordHistory.js","sourceRoot":"","sources":["passwordHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAE/C,MAAM,OAAO,eAAgB,SAAQ,UAAU;IAG3C;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC;QACxB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;IAC3B,CAAC;CACJ"} {"version":3,"file":"passwordHistory.js","sourceRoot":"","sources":["passwordHistory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kDAA+C;AAE/C;IAAqC,mCAAU;IAG3C;QACI,YAAA,MAAK,WAAE,SAAC;QACR,KAAI,CAAC,MAAM,GAAG,SAAS,CAAC;QACxB,KAAI,CAAC,YAAY,GAAG,EAAE,CAAC;;IAC3B,CAAC;IACL,sBAAC;AAAD,CAAC,AARD,CAAqC,uBAAU,GAQ9C;AARY,0CAAe"}

View File

@ -1,27 +1,36 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
export class PayrollType extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayrollType = void 0;
var baseObject_1 = require("../Basic/baseObject");
var PayrollType = /** @class */ (function (_super) {
__extends(PayrollType, _super);
function PayrollType() {
return _super.call(this) || this;
} }
//public getFirstDateofMonth() { //public getFirstDateofMonth() {
// this.nextPayProcessDate = new Date(this.nextPayProcessDate); // this.nextPayProcessDate = new Date(this.nextPayProcessDate);
// return new Date(1, this.nextPayProcessDate.getMonth(), this.nextPayProcessDate.getFullYear()) // return new Date(1, this.nextPayProcessDate.getMonth(), this.nextPayProcessDate.getFullYear())
//} //}
getFirstDateofMonth(lastDate) { PayrollType.prototype.getFirstDateofMonth = function (lastDate) {
lastDate = new Date(lastDate); lastDate = new Date(lastDate);
return new Date(lastDate.getFullYear(), lastDate.getMonth(), 1); return new Date(lastDate.getFullYear(), lastDate.getMonth(), 1);
} };
getLastDateofMonth(lastDate) { return PayrollType;
return new Date(lastDate.getFullYear(), lastDate.getMonth() + 1, 0); }(baseObject_1.BaseObject));
} exports.PayrollType = PayrollType;
ISSameDate(date1, date2) {
if (date1 === null && date2 === null)
return true;
if (date1 === null || date2 === null)
return false;
return (date1.getFullYear() === date2.getFullYear() &&
date1.getMonth() === date2.getMonth() &&
date1.getDate() === date2.getDate());
}
}
//# sourceMappingURL=payrollType.js.map //# sourceMappingURL=payrollType.js.map

View File

@ -1 +1 @@
{"version":3,"file":"payrollType.js","sourceRoot":"","sources":["payrollType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAG/C,MAAM,OAAO,WAAY,SAAQ,UAAU;IAEvC;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IAUD,gCAAgC;IAChC,kEAAkE;IAClE,mGAAmG;IACnG,GAAG;IAEI,mBAAmB,CAAC,QAAc;QACrC,QAAQ,GAAG,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC9B,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,EAAE,QAAQ,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;IACpE,CAAC;IACM,kBAAkB,CAAC,QAAe;QACrC,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,EAAE,QAAQ,CAAC,QAAQ,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IACxE,CAAC;IACM,UAAU,CAAC,KAAkB,EAAE,KAAkB;QACpD,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,IAAI;YAAE,OAAO,IAAI,CAAC;QAClD,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,IAAI;YAAE,OAAO,KAAK,CAAC;QACnD,OAAO,CACH,KAAK,CAAC,WAAW,EAAE,KAAK,KAAK,CAAC,WAAW,EAAE;YAC3C,KAAK,CAAC,QAAQ,EAAE,KAAK,KAAK,CAAC,QAAQ,EAAE;YACrC,KAAK,CAAC,OAAO,EAAE,KAAK,KAAK,CAAC,OAAO,EAAE,CACtC,CAAC;IACN,CAAC;CACJ"} {"version":3,"file":"payrollType.js","sourceRoot":"","sources":["payrollType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kDAA+C;AAG/C;IAAiC,+BAAU;IAEvC;QACI,OAAA,MAAK,WAAE,SAAC;IACZ,CAAC;IASD,gCAAgC;IAChC,kEAAkE;IAClE,mGAAmG;IACnG,GAAG;IAEI,yCAAmB,GAA1B,UAA2B,QAAc;QACrC,QAAQ,GAAG,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC9B,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,EAAE,QAAQ,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;IACpE,CAAC;IACL,kBAAC;AAAD,CAAC,AAtBD,CAAiC,uBAAU,GAsB1C;AAtBY,kCAAW"}

View File

@ -1,33 +1,63 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
import { EnumAuthStatus } from '../enums'; var __extends = (this && this.__extends) || (function () {
export class Role extends BaseObject { var extendStatics = function (d, b) {
constructor() { extendStatics = Object.setPrototypeOf ||
super(); ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.rolePermissions = []; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
this.code = ''; return extendStatics(d, b);
this.name = ''; };
this.description = ''; return function (d, b) {
this.approveBy = undefined; if (typeof b !== "function" && b !== null)
this.approveDate = undefined; throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.RoleActionPermission = exports.MenuTree = exports.RolePermission = exports.Role = void 0;
var baseObject_1 = require("../Basic/baseObject");
var enums_1 = require("../enums");
var Role = /** @class */ (function (_super) {
__extends(Role, _super);
function Role() {
var _this = _super.call(this) || this;
_this.rolePermissions = [];
_this.code = '';
_this.name = '';
_this.description = '';
_this.approveBy = undefined;
_this.approveDate = undefined;
return _this;
} }
} return Role;
export class RolePermission { }(baseObject_1.BaseObject));
constructor() { exports.Role = Role;
var RolePermission = /** @class */ (function () {
function RolePermission() {
this.isBookmarked = false; this.isBookmarked = false;
this.menuKey = ''; this.menuKey = '';
this.status = EnumAuthStatus.Approved; this.status = enums_1.EnumAuthStatus.Approved;
} }
} return RolePermission;
export class MenuTree { }());
constructor() { exports.RolePermission = RolePermission;
var MenuTree = /** @class */ (function () {
function MenuTree() {
this.level = ''; this.level = '';
this.icon = 'pi pi-fw pi-home'; this.icon = 'pi pi-fw pi-home';
} }
prepareRolePermission(permissions) { MenuTree.prototype.prepareRolePermission = function (permissions) {
var menu = new MenuTree(); var menu = new MenuTree();
return menu; return menu;
};
return MenuTree;
}());
exports.MenuTree = MenuTree;
var RoleActionPermission = /** @class */ (function () {
function RoleActionPermission() {
} }
} return RoleActionPermission;
export class RoleActionPermission { }());
} exports.RoleActionPermission = RoleActionPermission;
//# sourceMappingURL=role.js.map //# sourceMappingURL=role.js.map

View File

@ -1 +1 @@
{"version":3,"file":"role.js","sourceRoot":"","sources":["role.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAgB,cAAc,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,OAAO,IAAK,SAAQ,UAAU;IAChC;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,eAAe,GAAG,EAAE,CAAC;QAC1B,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,WAAW,GAAG,SAAS,CAAC;IAEjC,CAAC;CAUJ;AAED,MAAM,OAAO,cAAc;IACvB;QACI,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC1B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAA;QACjB,IAAI,CAAC,MAAM,GAAG,cAAc,CAAC,QAAQ,CAAC;IAE1C,CAAC;CAaJ;AAED,MAAM,OAAO,QAAQ;IAEjB;QACI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;QAChB,IAAI,CAAC,IAAI,GAAI,kBAAkB,CAAA;IACnC,CAAC;IAOD,qBAAqB,CAAC,WAA6B;QAE/C,IAAI,IAAI,GAAc,IAAI,QAAQ,EAAE,CAAC;QAGrC,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAGD,MAAM,OAAO,oBAAoB;CAOhC"} {"version":3,"file":"role.js","sourceRoot":"","sources":["role.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,kDAAiD;AACjD,kCAAwD;AAExD;IAA0B,wBAAU;IAChC;QACI,YAAA,MAAK,WAAE,SAAC;QACR,KAAI,CAAC,eAAe,GAAG,EAAE,CAAC;QAC1B,KAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,KAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,KAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,KAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,KAAI,CAAC,WAAW,GAAG,SAAS,CAAC;;IAEjC,CAAC;IAUL,WAAC;AAAD,CAAC,AApBD,CAA0B,uBAAU,GAoBnC;AApBY,oBAAI;AAsBjB;IACI;QACI,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC1B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAA;QACjB,IAAI,CAAC,MAAM,GAAG,sBAAc,CAAC,QAAQ,CAAC;IAE1C,CAAC;IAaL,qBAAC;AAAD,CAAC,AAnBD,IAmBC;AAnBY,wCAAc;AAqB3B;IAEI;QACI,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;QAChB,IAAI,CAAC,IAAI,GAAI,kBAAkB,CAAA;IACnC,CAAC;IAOD,wCAAqB,GAArB,UAAsB,WAA6B;QAE/C,IAAI,IAAI,GAAc,IAAI,QAAQ,EAAE,CAAC;QAGrC,OAAO,IAAI,CAAC;IAChB,CAAC;IACL,eAAC;AAAD,CAAC,AAnBD,IAmBC;AAnBY,4BAAQ;AAsBrB;IAAA;IAOA,CAAC;IAAD,2BAAC;AAAD,CAAC,AAPD,IAOC;AAPY,oDAAoB"}

View File

@ -1,10 +1,32 @@
import { BaseObject } from '../Basic/baseObject'; "use strict";
export class User extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
this.isNew = true; ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.roleNames = ''; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
this.changePasswordAtNextLogon = true; return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.User = void 0;
var baseObject_1 = require("../Basic/baseObject");
var User = /** @class */ (function (_super) {
__extends(User, _super);
function User() {
var _this = _super.call(this) || this;
_this.isNew = true;
_this.roleNames = '';
_this.changePasswordAtNextLogon = true;
return _this;
} }
} return User;
}(baseObject_1.BaseObject));
exports.User = User;
//# sourceMappingURL=user.js.map //# sourceMappingURL=user.js.map

View File

@ -1 +1 @@
{"version":3,"file":"user.js","sourceRoot":"","sources":["user.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,MAAM,OAAO,IAAK,SAAQ,UAAU;IAEhC;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,IAAI,CAAC,yBAAyB,GAAG,IAAI,CAAC;IAC1C,CAAC;CAoBJ"} {"version":3,"file":"user.js","sourceRoot":"","sources":["user.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,kDAAiD;AAEjD;IAA0B,wBAAU;IAEhC;QACI,YAAA,MAAK,WAAE,SAAC;QACR,KAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,KAAI,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,KAAI,CAAC,yBAAyB,GAAG,IAAI,CAAC;;IAC1C,CAAC;IAmBL,WAAC;AAAD,CAAC,AA1BD,CAA0B,uBAAU,GA0BnC;AA1BY,oBAAI"}

View File

@ -1,7 +1,28 @@
import { BaseObject } from './baseObject'; "use strict";
export class DataPermission extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataPermission = void 0;
var baseObject_1 = require("./baseObject");
var DataPermission = /** @class */ (function (_super) {
__extends(DataPermission, _super);
function DataPermission() {
return _super.call(this) || this;
} }
} return DataPermission;
}(baseObject_1.BaseObject));
exports.DataPermission = DataPermission;
//# sourceMappingURL=DataPermission.js.map //# sourceMappingURL=DataPermission.js.map

View File

@ -1 +1 @@
{"version":3,"file":"DataPermission.js","sourceRoot":"","sources":["DataPermission.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAGxC,MAAM,OAAO,cAAe,SAAQ,UAAU;IAC1C;QAEI,KAAK,EAAE,CAAC;IACZ,CAAC;CASJ"} {"version":3,"file":"DataPermission.js","sourceRoot":"","sources":["DataPermission.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAAwC;AAGxC;IAAoC,kCAAU;IAC1C;QAEI,OAAA,MAAK,WAAE,SAAC;IACZ,CAAC;IASL,qBAAC;AAAD,CAAC,AAbD,CAAoC,uBAAU,GAa7C;AAbY,wCAAc"}

View File

@ -1,23 +1,45 @@
import { BaseObject } from './baseObject'; "use strict";
import { EnumFileType, EnumHrNotificationType, EnumStatus } from '../enums'; var __extends = (this && this.__extends) || (function () {
export class HrNotification extends BaseObject { var extendStatics = function (d, b) {
constructor() { extendStatics = Object.setPrototypeOf ||
super(); ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.isSendToAll = true; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
this.hrNotificationEmployees = []; return extendStatics(d, b);
this.payrolltypeID = 0; };
this.fileType = EnumFileType.Notification; return function (d, b) {
this.entryDate = new Date(); if (typeof b !== "function" && b !== null)
this.publishDate = new Date(); throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
this.publishEndDate = new Date(); extendStatics(d, b);
this.notificationText = ""; function __() { this.constructor = d; }
this.notificationTextDetail = ""; d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
this.status = EnumStatus.Active; };
this.notificationType = EnumHrNotificationType.News; })();
Object.defineProperty(exports, "__esModule", { value: true });
exports.HrNotificationEmployees = exports.HrNotification = void 0;
var baseObject_1 = require("./baseObject");
var enums_1 = require("../enums");
var HrNotification = /** @class */ (function (_super) {
__extends(HrNotification, _super);
function HrNotification() {
var _this = _super.call(this) || this;
_this.isSendToAll = true;
_this.hrNotificationEmployees = [];
_this.payrolltypeID = 0;
_this.fileType = enums_1.EnumFileType.Notification;
_this.entryDate = new Date();
_this.publishDate = new Date();
_this.publishEndDate = new Date();
_this.notificationText = "";
_this.notificationTextDetail = "";
_this.status = enums_1.EnumStatus.Active;
_this.notificationType = enums_1.EnumHrNotificationType.News;
return _this;
} }
} return HrNotification;
export class HrNotificationEmployees { }(baseObject_1.BaseObject));
constructor() { exports.HrNotification = HrNotification;
var HrNotificationEmployees = /** @class */ (function () {
function HrNotificationEmployees() {
this.id = 0; this.id = 0;
this.hrNotificationId = 0; this.hrNotificationId = 0;
this.employeeId = 0; this.employeeId = 0;
@ -26,5 +48,7 @@ export class HrNotificationEmployees {
this.department = ""; this.department = "";
this.designation = ""; this.designation = "";
} }
} return HrNotificationEmployees;
}());
exports.HrNotificationEmployees = HrNotificationEmployees;
//# sourceMappingURL=HrNotification.js.map //# sourceMappingURL=HrNotification.js.map

View File

@ -1 +1 @@
{"version":3,"file":"HrNotification.js","sourceRoot":"","sources":["HrNotification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,YAAY,EAAE,sBAAsB,EAAE,UAAU,EAAC,MAAM,UAAU,CAAC;AAE1E,MAAM,OAAO,cAAe,SAAQ,UAAU;IAC1C;QACI,KAAK,EAAE,CAAC;QAkBZ,gBAAW,GAAY,IAAI,CAAC;QAC5B,4BAAuB,GAA8B,EAAE,CAAC;QAExD,kBAAa,GAAW,CAAC,CAAC;QAI1B,aAAQ,GAAiB,YAAY,CAAC,YAAY,CAAC;QAxB/C,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;QAC5B,IAAI,CAAC,WAAW,GAAG,IAAI,IAAI,EAAE,CAAC;QAC9B,IAAI,CAAC,cAAc,GAAG,IAAI,IAAI,EAAE,CAAC;QACjC,IAAI,CAAC,gBAAgB,GAAE,EAAE,CAAC;QAC1B,IAAI,CAAC,sBAAsB,GAAC,EAAE,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,gBAAgB,GAAG,sBAAsB,CAAC,IAAI,CAAC;IACxD,CAAC;CAkBJ;AAED,MAAM,OAAO,uBAAuB;IAChC;QAGA,OAAE,GAAY,CAAC,CAAC;QAChB,qBAAgB,GAAY,CAAC,CAAC;QAC9B,eAAU,GAAY,CAAC,CAAC;QAGxB,eAAU,GAAY,EAAE,CAAC;QACzB,SAAI,GAAY,EAAE,CAAC;QACnB,eAAU,GAAY,EAAE,CAAC;QACzB,gBAAW,GAAY,EAAE,CAAC;IAT1B,CAAC;CAUJ"} {"version":3,"file":"HrNotification.js","sourceRoot":"","sources":["HrNotification.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAAwC;AACxC,kCAA0E;AAE1E;IAAoC,kCAAU;IAC1C;QACI,YAAA,MAAK,WAAE,SAAC;QAkBZ,iBAAW,GAAY,IAAI,CAAC;QAC5B,6BAAuB,GAA8B,EAAE,CAAC;QAExD,mBAAa,GAAW,CAAC,CAAC;QAI1B,cAAQ,GAAiB,oBAAY,CAAC,YAAY,CAAC;QAxB/C,KAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;QAC5B,KAAI,CAAC,WAAW,GAAG,IAAI,IAAI,EAAE,CAAC;QAC9B,KAAI,CAAC,cAAc,GAAG,IAAI,IAAI,EAAE,CAAC;QACjC,KAAI,CAAC,gBAAgB,GAAE,EAAE,CAAC;QAC1B,KAAI,CAAC,sBAAsB,GAAC,EAAE,CAAC;QAC/B,KAAI,CAAC,MAAM,GAAG,kBAAU,CAAC,MAAM,CAAC;QAChC,KAAI,CAAC,gBAAgB,GAAG,8BAAsB,CAAC,IAAI,CAAC;;IACxD,CAAC;IAkBL,qBAAC;AAAD,CAAC,AA5BD,CAAoC,uBAAU,GA4B7C;AA5BY,wCAAc;AA8B3B;IACI;QAGA,OAAE,GAAY,CAAC,CAAC;QAChB,qBAAgB,GAAY,CAAC,CAAC;QAC9B,eAAU,GAAY,CAAC,CAAC;QAGxB,eAAU,GAAY,EAAE,CAAC;QACzB,SAAI,GAAY,EAAE,CAAC;QACnB,eAAU,GAAY,EAAE,CAAC;QACzB,gBAAW,GAAY,EAAE,CAAC;IAT1B,CAAC;IAUL,8BAAC;AAAD,CAAC,AAbD,IAaC;AAbY,0DAAuB"}

View File

@ -1,31 +1,53 @@
import { BaseObject } from './baseObject'; "use strict";
export class JobDefinition extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
this.jdNo = undefined; ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.jdName = ''; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
this.revisionDate = new Date(); return extendStatics(d, b);
this.departmentId = 0; };
this.designationId = 0; return function (d, b) {
this.gradeId = 0; if (typeof b !== "function" && b !== null)
this.purpose = ''; throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
this.financialInformation = ''; extendStatics(d, b);
this.teamInformation = ''; function __() { this.constructor = d; }
this.lMDesignationId = 0; d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
this.internalComm = ''; };
this.externalComm = ''; })();
this.experienceMinYear = ''; Object.defineProperty(exports, "__esModule", { value: true });
this.experienceMaxYear = ''; exports.JobDefinition = void 0;
this.knowledgeUnderstanding = ''; var baseObject_1 = require("./baseObject");
this.adherenceToCompany = ''; var JobDefinition = /** @class */ (function (_super) {
this.approvedBy = 0; __extends(JobDefinition, _super);
this.approveDate = new Date(); function JobDefinition() {
this.approvarRemarks = ''; var _this = _super.call(this) || this;
this.unitID = 0; _this.jdNo = undefined;
this.jdEducationList = []; _this.jdName = '';
this.jdResponsibilityList = []; _this.revisionDate = new Date();
this.jdCertificationList = []; _this.departmentId = 0;
this.wfStatus = 0; //draft/initiate _this.designationId = 0;
_this.gradeId = 0;
_this.purpose = '';
_this.financialInformation = '';
_this.teamInformation = '';
_this.lMDesignationId = 0;
_this.internalComm = '';
_this.externalComm = '';
_this.experienceMinYear = '';
_this.experienceMaxYear = '';
_this.knowledgeUnderstanding = '';
_this.adherenceToCompany = '';
_this.approvedBy = 0;
_this.approveDate = new Date();
_this.approvarRemarks = '';
_this.unitID = 0;
_this.jdEducationList = [];
_this.jdResponsibilityList = [];
_this.jdCertificationList = [];
_this.wfStatus = 0; //draft/initiate
return _this;
} }
} return JobDefinition;
}(baseObject_1.BaseObject));
exports.JobDefinition = JobDefinition;
//# sourceMappingURL=JobDefinition.js.map //# sourceMappingURL=JobDefinition.js.map

View File

@ -1 +1 @@
{"version":3,"file":"JobDefinition.js","sourceRoot":"","sources":["JobDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAM1C,MAAM,OAAO,aAAc,SAAQ,UAAU;IACzC;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC;QACtB,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,YAAY,GAAG,IAAI,IAAI,EAAE,CAAC;QAC/B,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC;QACtB,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;QAClB,IAAI,CAAC,oBAAoB,GAAG,EAAE,CAAC;QAC/B,IAAI,CAAC,eAAe,GAAG,EAAE,CAAC;QAC1B,IAAI,CAAC,eAAe,GAAG,CAAC,CAAC;QACzB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QACvB,IAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,IAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,IAAI,CAAC,sBAAsB,GAAG,EAAE,CAAC;QACjC,IAAI,CAAC,kBAAkB,GAAG,EAAE,CAAC;QAC7B,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC;QACpB,IAAI,CAAC,WAAW,GAAG,IAAI,IAAI,EAAE,CAAC;QAC9B,IAAI,CAAC,eAAe,GAAG,EAAE,CAAC;QAC1B,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;QAChB,IAAI,CAAC,eAAe,GAAG,EAAE,CAAC;QAC1B,IAAI,CAAC,oBAAoB,GAAG,EAAE,CAAC;QAC/B,IAAI,CAAC,mBAAmB,GAAG,EAAE,CAAC;QAC9B,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,gBAAgB;IACvC,CAAC;CA+BJ"} {"version":3,"file":"JobDefinition.js","sourceRoot":"","sources":["JobDefinition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAA0C;AAM1C;IAAmC,iCAAU;IACzC;QACI,YAAA,MAAK,WAAE,SAAC;QACR,KAAI,CAAC,IAAI,GAAG,SAAS,CAAC;QACtB,KAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,KAAI,CAAC,YAAY,GAAG,IAAI,IAAI,EAAE,CAAC;QAC/B,KAAI,CAAC,YAAY,GAAG,CAAC,CAAC;QACtB,KAAI,CAAC,aAAa,GAAG,CAAC,CAAC;QACvB,KAAI,CAAC,OAAO,GAAG,CAAC,CAAC;QACjB,KAAI,CAAC,OAAO,GAAG,EAAE,CAAC;QAClB,KAAI,CAAC,oBAAoB,GAAG,EAAE,CAAC;QAC/B,KAAI,CAAC,eAAe,GAAG,EAAE,CAAC;QAC1B,KAAI,CAAC,eAAe,GAAG,CAAC,CAAC;QACzB,KAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QACvB,KAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QACvB,KAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,KAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,KAAI,CAAC,sBAAsB,GAAG,EAAE,CAAC;QACjC,KAAI,CAAC,kBAAkB,GAAG,EAAE,CAAC;QAC7B,KAAI,CAAC,UAAU,GAAG,CAAC,CAAC;QACpB,KAAI,CAAC,WAAW,GAAG,IAAI,IAAI,EAAE,CAAC;QAC9B,KAAI,CAAC,eAAe,GAAG,EAAE,CAAC;QAC1B,KAAI,CAAC,MAAM,GAAG,CAAC,CAAC;QAChB,KAAI,CAAC,eAAe,GAAG,EAAE,CAAC;QAC1B,KAAI,CAAC,oBAAoB,GAAG,EAAE,CAAC;QAC/B,KAAI,CAAC,mBAAmB,GAAG,EAAE,CAAC;QAC9B,KAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,gBAAgB;;IACvC,CAAC;IA+BL,oBAAC;AAAD,CAAC,AA1DD,CAAmC,uBAAU,GA0D5C;AA1DY,sCAAa"}

View File

@ -1,9 +1,31 @@
import { BaseObject } from './baseObject'; "use strict";
export class AllowanceDeduction extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
this.code = ""; ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.name = ""; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.AllowanceDeduction = void 0;
var baseObject_1 = require("./baseObject");
var AllowanceDeduction = /** @class */ (function (_super) {
__extends(AllowanceDeduction, _super);
function AllowanceDeduction() {
var _this = _super.call(this) || this;
_this.code = "";
_this.name = "";
return _this;
} }
} return AllowanceDeduction;
}(baseObject_1.BaseObject));
exports.AllowanceDeduction = AllowanceDeduction;
//# sourceMappingURL=allowanceDeduction.js.map //# sourceMappingURL=allowanceDeduction.js.map

View File

@ -1 +1 @@
{"version":3,"file":"allowanceDeduction.js","sourceRoot":"","sources":["allowanceDeduction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,OAAO,kBAAoB,SAAQ,UAAU;IAI/C;QAEI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;IACnB,CAAC;CACJ"} {"version":3,"file":"allowanceDeduction.js","sourceRoot":"","sources":["allowanceDeduction.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAEA,2CAA0C;AAE1C;IAAyC,sCAAU;IAI/C;QAEI,YAAA,MAAK,WAAE,SAAC;QACR,KAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,KAAI,CAAC,IAAI,GAAG,EAAE,CAAC;;IACnB,CAAC;IACL,yBAAC;AAAD,CAAC,AAVD,CAAyC,uBAAU,GAUlD;AAVY,gDAAkB"}

View File

@ -1,10 +1,32 @@
import { BaseObject } from './baseObject'; "use strict";
export class AssesmentValueDetails extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
this.valueID = undefined; ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
this.value = undefined; function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
this.description = ''; return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.AssesmentValueDetails = void 0;
var baseObject_1 = require("./baseObject");
var AssesmentValueDetails = /** @class */ (function (_super) {
__extends(AssesmentValueDetails, _super);
function AssesmentValueDetails() {
var _this = _super.call(this) || this;
_this.valueID = undefined;
_this.value = undefined;
_this.description = '';
return _this;
} }
} return AssesmentValueDetails;
}(baseObject_1.BaseObject));
exports.AssesmentValueDetails = AssesmentValueDetails;
//# sourceMappingURL=assesmentValueDetails.js.map //# sourceMappingURL=assesmentValueDetails.js.map

View File

@ -1 +1 @@
{"version":3,"file":"assesmentValueDetails.js","sourceRoot":"","sources":["assesmentValueDetails.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,MAAM,OAAO,qBAAsB,SAAQ,UAAU;IACjD;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;QACvB,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;IAC1B,CAAC;CAIJ"} {"version":3,"file":"assesmentValueDetails.js","sourceRoot":"","sources":["assesmentValueDetails.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAAwC;AAExC;IAA2C,yCAAU;IACjD;QACI,YAAA,MAAK,WAAE,SAAC;QACR,KAAI,CAAC,OAAO,GAAG,SAAS,CAAC;QACzB,KAAI,CAAC,KAAK,GAAG,SAAS,CAAC;QACvB,KAAI,CAAC,WAAW,GAAG,EAAE,CAAC;;IAC1B,CAAC;IAIL,4BAAC;AAAD,CAAC,AAVD,CAA2C,uBAAU,GAUpD;AAVY,sDAAqB"}

View File

@ -1,8 +1,30 @@
import { BaseObject } from './baseObject'; "use strict";
export class Bank extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
this.branchs = []; ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.Bank = void 0;
var baseObject_1 = require("./baseObject");
var Bank = /** @class */ (function (_super) {
__extends(Bank, _super);
function Bank() {
var _this = _super.call(this) || this;
_this.branchs = [];
return _this;
} }
} return Bank;
}(baseObject_1.BaseObject));
exports.Bank = Bank;
//# sourceMappingURL=bank.js.map //# sourceMappingURL=bank.js.map

View File

@ -1 +1 @@
{"version":3,"file":"bank.js","sourceRoot":"","sources":["bank.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,MAAM,OAAO,IAAK,SAAQ,UAAU;IAShC;QACI,KAAK,EAAE,CAAC;QANZ,YAAO,GAAa,EAAE,CAAC;IAOvB,CAAC;CACJ"} {"version":3,"file":"bank.js","sourceRoot":"","sources":["bank.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAEA,2CAAwC;AAExC;IAA0B,wBAAU;IAShC;QACI,YAAA,MAAK,WAAE,SAAC;QANZ,aAAO,GAAa,EAAE,CAAC;;IAOvB,CAAC;IACL,WAAC;AAAD,CAAC,AAZD,CAA0B,uBAAU,GAYnC;AAZY,oBAAI"}

View File

@ -1,11 +1,16 @@
import { EnumStatus } from '../enums'; "use strict";
export class BaseObject { Object.defineProperty(exports, "__esModule", { value: true });
constructor() { exports.BaseObject = void 0;
var enums_1 = require("../enums");
var BaseObject = /** @class */ (function () {
function BaseObject() {
this.stepSerial = 0; this.stepSerial = 0;
this.status = EnumStatus.Regardless; this.status = enums_1.EnumStatus.Regardless;
this.createdDate = new Date(); this.createdDate = new Date();
this.id = 0; this.id = 0;
this.createdBy = 0; this.createdBy = 0;
} }
} return BaseObject;
}());
exports.BaseObject = BaseObject;
//# sourceMappingURL=baseObject.js.map //# sourceMappingURL=baseObject.js.map

View File

@ -1 +1 @@
{"version":3,"file":"baseObject.js","sourceRoot":"","sources":["baseObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,MAAM,OAAO,UAAU;IAEnB;QACI,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC;QACpB,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,UAAU,CAAC;QACpC,IAAI,CAAC,WAAW,GAAG,IAAI,IAAI,EAAE,CAAC;QAC9B,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC;QACZ,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC;IACvB,CAAC;CAQJ"} {"version":3,"file":"baseObject.js","sourceRoot":"","sources":["baseObject.ts"],"names":[],"mappings":";;;AAAA,kCAAsC;AAEtC;IAEI;QACI,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC;QACpB,IAAI,CAAC,MAAM,GAAG,kBAAU,CAAC,UAAU,CAAC;QACpC,IAAI,CAAC,WAAW,GAAG,IAAI,IAAI,EAAE,CAAC;QAC9B,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC;QACZ,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC;IACvB,CAAC;IAQL,iBAAC;AAAD,CAAC,AAhBD,IAgBC;AAhBY,gCAAU"}

View File

@ -1,7 +1,28 @@
import { BaseObject } from './baseObject'; "use strict";
export class Bonus extends BaseObject { var __extends = (this && this.__extends) || (function () {
constructor() { var extendStatics = function (d, b) {
super(); extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.Bonus = void 0;
var baseObject_1 = require("./baseObject");
var Bonus = /** @class */ (function (_super) {
__extends(Bonus, _super);
function Bonus() {
return _super.call(this) || this;
} }
} return Bonus;
}(baseObject_1.BaseObject));
exports.Bonus = Bonus;
//# sourceMappingURL=bonus.js.map //# sourceMappingURL=bonus.js.map

View File

@ -1 +1 @@
{"version":3,"file":"bonus.js","sourceRoot":"","sources":["bonus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,MAAM,OAAO,KAAM,SAAQ,UAAU;IACjC;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;CAIJ"} {"version":3,"file":"bonus.js","sourceRoot":"","sources":["bonus.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAAwC;AAExC;IAA2B,yBAAU;IACjC;QACI,OAAA,MAAK,WAAE,SAAC;IACZ,CAAC;IAIL,YAAC;AAAD,CAAC,AAPD,CAA2B,uBAAU,GAOpC;AAPY,sBAAK"}

View File

@ -1,4 +1,28 @@
import { BaseObject } from './baseObject'; "use strict";
export class Bookmark extends BaseObject { var __extends = (this && this.__extends) || (function () {
} var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.Bookmark = void 0;
var baseObject_1 = require("./baseObject");
var Bookmark = /** @class */ (function (_super) {
__extends(Bookmark, _super);
function Bookmark() {
return _super !== null && _super.apply(this, arguments) || this;
}
return Bookmark;
}(baseObject_1.BaseObject));
exports.Bookmark = Bookmark;
//# sourceMappingURL=bookmark.js.map //# sourceMappingURL=bookmark.js.map

Some files were not shown because too many files have changed in this diff Show More