change over primeng v22

This commit is contained in:
Kham
2026-09-18 15:19:16 +10:00
parent f74125a92c
commit 3807524412
108 changed files with 17705 additions and 84 deletions
+44
View File
@@ -0,0 +1,44 @@
export const MIMEType = {
png: 'image/png',
jpg: 'image/jpg',
jpeg: 'image/jpeg',
gif: 'image/gif',
txt: 'text/plain',
pdf: 'application/pdf'
};
//for status of object 0 no change, 1 changed , -1 is deleted.
export enum mState {
Delete = -1,
NoChange = 0,
Modified = 1,
New =2,
};
export enum PickListType {
Ok =0,
BodyPart = 16, // Body Part
Location = 17,
Equipment = 18,
LocationType = 19,
CheckList = 20,
Company = 21,
NonConformance = 22,
Occupation = 23,
IncidentType = 24,
InvestigationAgency = 25,
OutCome = 26,
Visibility = 27,
Surface = 28,
Lighting = 29,
Weather = 30,
CauseOfPrimaryInjury = 31,
ContributingFactor = 32,
HazardControlType = 33,
}
export enum userRole {
Normal = 1,
Admin = 2,
};