sf-i-events 1.0.971 → 1.0.972
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/dev/index.html +4 -4
- package/package.json +1 -1
- package/sf-i-events.js +3 -3
- package/src/sf-i-events.ts +3 -3
package/dev/index.html
CHANGED
|
@@ -999,7 +999,7 @@
|
|
|
999
999
|
</div>
|
|
1000
1000
|
|
|
1001
1001
|
</sf-i-events> -->
|
|
1002
|
-
|
|
1002
|
+
<sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
|
|
1003
1003
|
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
|
1004
1004
|
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
|
|
1005
1005
|
apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
|
|
@@ -1028,7 +1028,7 @@
|
|
|
1028
1028
|
<sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
|
|
1029
1029
|
</div>
|
|
1030
1030
|
|
|
1031
|
-
</sf-i-events>
|
|
1031
|
+
</sf-i-events>
|
|
1032
1032
|
<!-- <sf-i-events id="sf-i-events-next" name="Next Compliances" apiid="dwqyez2puoxmu.cloudfront.net/event"
|
|
1033
1033
|
apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance"
|
|
1034
1034
|
apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
|
|
@@ -1231,7 +1231,7 @@
|
|
|
1231
1231
|
</div>
|
|
1232
1232
|
|
|
1233
1233
|
</sf-i-events> -->
|
|
1234
|
-
<sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api" mode="consumer"
|
|
1234
|
+
<!-- <sf-i-events name="Calendar" apiid="api2.flagggrc.tech/event-api" mode="consumer"
|
|
1235
1235
|
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
|
1236
1236
|
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
|
|
1237
1237
|
apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
|
|
@@ -1259,7 +1259,7 @@
|
|
|
1259
1259
|
<sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
|
|
1260
1260
|
</div>
|
|
1261
1261
|
|
|
1262
|
-
</sf-i-events>
|
|
1262
|
+
</sf-i-events> -->
|
|
1263
1263
|
<!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiIdUserProfiles="dnytrdlrmxgsy.cloudfront.net/userprofile" mode="reports" fill="pattern"
|
|
1264
1264
|
username="Local Reporter 1" userprofileid="e9684b5d-ddbc-46d3-ae07-51706bf75410"
|
|
1265
1265
|
projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" calendarstartyyyy="2025"
|
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -14308,7 +14308,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
14308
14308
|
};
|
|
14309
14309
|
this.fetchEventDetails = async (listEvent, mmddyyyy, currentColumnButton, eventsContainer, previousId = "", nextId = "", flagUploadGuidance = false, listEventContainer = null, reportercomments = null, approvercomments = null, inputReportingPercentage = null, selectReportedLocation = null, documents = null, dateOfCompletion = null, fromDrilldown = false) => {
|
|
14310
14310
|
console.log('listEvent', listEvent, listEvent.id);
|
|
14311
|
-
let url = "https://" + this.apiId + "/
|
|
14311
|
+
let url = "https://" + this.apiId + "/getalleventdetails1";
|
|
14312
14312
|
//console.log('fetch calendar url', url);
|
|
14313
14313
|
let urlBody = { "projectid": this.projectId, "userprofileid": this.userProfileId, "role": this.myRole, "eventid": listEvent.id, "entityid": listEvent.entityid, "locationid": listEvent.locationid, "mmddyyyy": mmddyyyy, "year": this.getFinancialYear(mmddyyyy) };
|
|
14314
14314
|
//console.log('urlbody', urlBody);
|
|
@@ -22852,9 +22852,9 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
22852
22852
|
}
|
|
22853
22853
|
};
|
|
22854
22854
|
this.uploadReport = async (entityId, locationId, mmddyyyy, eventid, comments, doc, docs, event, reportformatvalues = "", reportformatschema = "", module = "compliance", percentage = "100", makercheckers, reportedlocations = "") => {
|
|
22855
|
-
let url = "https://" + this.apiId + "/
|
|
22855
|
+
let url = "https://" + this.apiId + "/uploadreport3";
|
|
22856
22856
|
if (module == "rcmresource" && this.apiId2 != null) {
|
|
22857
|
-
url = "https://" + this.apiId2 + "/
|
|
22857
|
+
url = "https://" + this.apiId2 + "/uploadreport3";
|
|
22858
22858
|
}
|
|
22859
22859
|
let yearStr = this.getFinancialYear(mmddyyyy);
|
|
22860
22860
|
let body = {
|
package/src/sf-i-events.ts
CHANGED
|
@@ -18255,7 +18255,7 @@ export class SfIEvents extends LitElement {
|
|
|
18255
18255
|
|
|
18256
18256
|
fetchEventDetails = async (listEvent: any, mmddyyyy: any, currentColumnButton: HTMLButtonElement | null, eventsContainer: HTMLDivElement, previousId: string = "", nextId: string = "", flagUploadGuidance: boolean = false, listEventContainer: HTMLDivElement | null = null, reportercomments: string | null = null, approvercomments: string | null = null, inputReportingPercentage: string | null = null, selectReportedLocation: string | null = null, documents: any | null = null, dateOfCompletion: string | null = null, fromDrilldown: boolean = false) => {
|
|
18257
18257
|
console.log('listEvent', listEvent, listEvent.id)
|
|
18258
|
-
let url = "https://" + this.apiId + "/
|
|
18258
|
+
let url = "https://" + this.apiId + "/getalleventdetails1";
|
|
18259
18259
|
|
|
18260
18260
|
//console.log('fetch calendar url', url);
|
|
18261
18261
|
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.getFinancialYear(mmddyyyy) };
|
|
@@ -28744,9 +28744,9 @@ export class SfIEvents extends LitElement {
|
|
|
28744
28744
|
}
|
|
28745
28745
|
|
|
28746
28746
|
uploadReport = async (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, doc: string, docs: any, event: any, reportformatvalues: string = "", reportformatschema: string = "", module: string = "compliance", percentage: string = "100", makercheckers: any, reportedlocations: string = "") => {
|
|
28747
|
-
let url = "https://" + this.apiId + "/
|
|
28747
|
+
let url = "https://" + this.apiId + "/uploadreport3";
|
|
28748
28748
|
if(module == "rcmresource" && this.apiId2 != null) {
|
|
28749
|
-
url = "https://" + this.apiId2 + "/
|
|
28749
|
+
url = "https://" + this.apiId2 + "/uploadreport3";
|
|
28750
28750
|
}
|
|
28751
28751
|
let yearStr = this.getFinancialYear(mmddyyyy)
|
|
28752
28752
|
let body = {
|