sf-i-events 1.0.684 → 1.0.685
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/sf-i-events.js +5 -5
- package/src/sf-i-events.ts +5 -5
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -6327,7 +6327,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
6327
6327
|
};
|
|
6328
6328
|
this.fetchEventDetails = async (listEvent, mmddyyyy, currentColumnButton) => {
|
|
6329
6329
|
console.log('listEvent', listEvent, listEvent.id);
|
|
6330
|
-
let url = "https://" + this.apiId + "/
|
|
6330
|
+
let url = "https://" + this.apiId + "/getalleventdetails";
|
|
6331
6331
|
//console.log('fetch calendar url', url);
|
|
6332
6332
|
let urlBody = { "projectid": this.projectId, "userprofileid": this.userProfileId, "role": this.myRole, "eventid": listEvent.id, "entityid": listEvent.entityid, "locationid": listEvent.locationid, "mmddyyyy": mmddyyyy, "year": this.calendarStartYYYY };
|
|
6333
6333
|
//console.log('urlbody', urlBody);
|
|
@@ -13014,7 +13014,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
13014
13014
|
}
|
|
13015
13015
|
};
|
|
13016
13016
|
this.uploadAudit = async (entityId, locationId, mmddyyyy, eventid, comments, approved) => {
|
|
13017
|
-
let url = "https://" + this.apiId + "/
|
|
13017
|
+
let url = "https://" + this.apiId + "/uploadaudit";
|
|
13018
13018
|
const body = {
|
|
13019
13019
|
"mmddyyyy": mmddyyyy,
|
|
13020
13020
|
"projectid": this.projectId,
|
|
@@ -13066,7 +13066,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
13066
13066
|
}
|
|
13067
13067
|
};
|
|
13068
13068
|
this.uploadReview = async (entityId, locationId, mmddyyyy, eventid, comments, approved) => {
|
|
13069
|
-
let url = "https://" + this.apiId + "/
|
|
13069
|
+
let url = "https://" + this.apiId + "/uploadreview";
|
|
13070
13070
|
const body = {
|
|
13071
13071
|
"mmddyyyy": mmddyyyy,
|
|
13072
13072
|
"projectid": this.projectId,
|
|
@@ -13121,7 +13121,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
13121
13121
|
``;
|
|
13122
13122
|
};
|
|
13123
13123
|
this.uploadReport = async (entityId, locationId, mmddyyyy, eventid, comments, doc, docs, event, reportformatvalues = "", reportformatschema = "") => {
|
|
13124
|
-
let url = "https://" + this.apiId + "/
|
|
13124
|
+
let url = "https://" + this.apiId + "/uploadreport";
|
|
13125
13125
|
let body = {
|
|
13126
13126
|
"mmddyyyy": mmddyyyy,
|
|
13127
13127
|
"projectid": this.projectId,
|
|
@@ -14400,7 +14400,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
14400
14400
|
else {
|
|
14401
14401
|
view = "entity";
|
|
14402
14402
|
}
|
|
14403
|
-
path = "
|
|
14403
|
+
path = "getallcountryevents";
|
|
14404
14404
|
let sDate = "";
|
|
14405
14405
|
let eDate = "";
|
|
14406
14406
|
//console.log('currenttab', this.getCurrentTab());
|
package/src/sf-i-events.ts
CHANGED
|
@@ -9526,7 +9526,7 @@ export class SfIEvents extends LitElement {
|
|
|
9526
9526
|
|
|
9527
9527
|
fetchEventDetails = async (listEvent: any, mmddyyyy: any, currentColumnButton: HTMLButtonElement | null) => {
|
|
9528
9528
|
console.log('listEvent', listEvent, listEvent.id)
|
|
9529
|
-
let url = "https://"+this.apiId+"/
|
|
9529
|
+
let url = "https://"+this.apiId+"/getalleventdetails";
|
|
9530
9530
|
|
|
9531
9531
|
//console.log('fetch calendar url', url);
|
|
9532
9532
|
let urlBody :any = {"projectid": this.projectId, "userprofileid": this.userProfileId, "role": this.myRole, "eventid": listEvent.id, "entityid": listEvent.entityid, "locationid": listEvent.locationid, "mmddyyyy": mmddyyyy, "year": this.calendarStartYYYY};
|
|
@@ -18138,7 +18138,7 @@ export class SfIEvents extends LitElement {
|
|
|
18138
18138
|
}
|
|
18139
18139
|
|
|
18140
18140
|
uploadAudit = async (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, approved: any) => {
|
|
18141
|
-
let url = "https://"+this.apiId+"/
|
|
18141
|
+
let url = "https://"+this.apiId+"/uploadaudit";
|
|
18142
18142
|
|
|
18143
18143
|
const body = {
|
|
18144
18144
|
"mmddyyyy": mmddyyyy,
|
|
@@ -18195,7 +18195,7 @@ export class SfIEvents extends LitElement {
|
|
|
18195
18195
|
}
|
|
18196
18196
|
|
|
18197
18197
|
uploadReview = async (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, approved: any) => {
|
|
18198
|
-
let url = "https://"+this.apiId+"/
|
|
18198
|
+
let url = "https://"+this.apiId+"/uploadreview";
|
|
18199
18199
|
|
|
18200
18200
|
const body = {
|
|
18201
18201
|
"mmddyyyy": mmddyyyy,
|
|
@@ -18253,7 +18253,7 @@ export class SfIEvents extends LitElement {
|
|
|
18253
18253
|
}
|
|
18254
18254
|
|
|
18255
18255
|
uploadReport = async (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, doc: string, docs: any, event: any, reportformatvalues: string = "", reportformatschema: string = "") => {
|
|
18256
|
-
let url = "https://"+this.apiId+"/
|
|
18256
|
+
let url = "https://"+this.apiId+"/uploadreport";
|
|
18257
18257
|
|
|
18258
18258
|
let body = {
|
|
18259
18259
|
"mmddyyyy": mmddyyyy,
|
|
@@ -20053,7 +20053,7 @@ export class SfIEvents extends LitElement {
|
|
|
20053
20053
|
view = "entity";
|
|
20054
20054
|
}
|
|
20055
20055
|
|
|
20056
|
-
path = "
|
|
20056
|
+
path = "getallcountryevents";
|
|
20057
20057
|
|
|
20058
20058
|
let sDate = "";
|
|
20059
20059
|
let eDate = "";
|