sf-i-events 1.0.973 → 1.0.974
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 +4 -4
- package/sf-i-events.js +6 -6
- package/src/sf-i-events.ts +6 -6
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sf-i-events",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.974",
|
|
5
5
|
"description": "Superflows Navigation Component",
|
|
6
6
|
"main": "sf-i-events.js",
|
|
7
7
|
"module": "sf-i-events.js",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"sf-checklist": "^1.0.17",
|
|
59
59
|
"sf-i-bricks": "^1.0.8",
|
|
60
60
|
"sf-i-elastic-text": "^1.0.17",
|
|
61
|
-
"sf-i-form": "^1.0.
|
|
61
|
+
"sf-i-form": "^1.0.189",
|
|
62
62
|
"sf-i-multitextarea": "^1.0.7",
|
|
63
|
-
"sf-i-reporting": "^1.0.
|
|
63
|
+
"sf-i-reporting": "^1.0.122",
|
|
64
64
|
"sf-i-select": "^1.0.80",
|
|
65
65
|
"sf-i-sub-select": "^1.0.68",
|
|
66
|
-
"sf-i-uploader": "^1.0.
|
|
66
|
+
"sf-i-uploader": "^1.0.129",
|
|
67
67
|
"sf-new-feature": "^1.0.1",
|
|
68
68
|
"sinon": "^15.0.1",
|
|
69
69
|
"update": "^0.7.4",
|
package/sf-i-events.js
CHANGED
|
@@ -22755,9 +22755,9 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
22755
22755
|
};
|
|
22756
22756
|
this.uploadReview = async (entityId, locationId, mmddyyyy, eventid, comments, approved, module = "compliance") => {
|
|
22757
22757
|
let url = "https://" + this.apiId + "/uploadreview";
|
|
22758
|
-
|
|
22759
|
-
|
|
22760
|
-
|
|
22758
|
+
if (module == "rcmresource" && this.apiId2 != null) {
|
|
22759
|
+
url = "https://" + this.apiId2 + "/uploadreview1";
|
|
22760
|
+
}
|
|
22761
22761
|
const body = {
|
|
22762
22762
|
"mmddyyyy": mmddyyyy,
|
|
22763
22763
|
"projectid": this.projectId,
|
|
@@ -22853,9 +22853,9 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
22853
22853
|
};
|
|
22854
22854
|
this.uploadReport = async (entityId, locationId, mmddyyyy, eventid, comments, doc, docs, event, reportformatvalues = "", reportformatschema = "", module = "compliance", percentage = "100", makercheckers, reportedlocations = "") => {
|
|
22855
22855
|
let url = "https://" + this.apiId + "/uploadreport";
|
|
22856
|
-
|
|
22857
|
-
|
|
22858
|
-
|
|
22856
|
+
if (module == "rcmresource" && this.apiId2 != null) {
|
|
22857
|
+
url = "https://" + this.apiId2 + "/uploadreport";
|
|
22858
|
+
}
|
|
22859
22859
|
let yearStr = this.getFinancialYear(mmddyyyy);
|
|
22860
22860
|
let body = {
|
|
22861
22861
|
"mmddyyyy": mmddyyyy,
|
package/src/sf-i-events.ts
CHANGED
|
@@ -28643,9 +28643,9 @@ export class SfIEvents extends LitElement {
|
|
|
28643
28643
|
|
|
28644
28644
|
uploadReview = async (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, approved: any, module: string = "compliance") => {
|
|
28645
28645
|
let url = "https://" + this.apiId + "/uploadreview";
|
|
28646
|
-
|
|
28647
|
-
|
|
28648
|
-
|
|
28646
|
+
if(module == "rcmresource" && this.apiId2 != null) {
|
|
28647
|
+
url = "https://" + this.apiId2 + "/uploadreview1";
|
|
28648
|
+
}
|
|
28649
28649
|
const body = {
|
|
28650
28650
|
"mmddyyyy": mmddyyyy,
|
|
28651
28651
|
"projectid": this.projectId,
|
|
@@ -28745,9 +28745,9 @@ export class SfIEvents extends LitElement {
|
|
|
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
28747
|
let url = "https://" + this.apiId + "/uploadreport";
|
|
28748
|
-
|
|
28749
|
-
|
|
28750
|
-
|
|
28748
|
+
if(module == "rcmresource" && this.apiId2 != null) {
|
|
28749
|
+
url = "https://" + this.apiId2 + "/uploadreport";
|
|
28750
|
+
}
|
|
28751
28751
|
let yearStr = this.getFinancialYear(mmddyyyy)
|
|
28752
28752
|
let body = {
|
|
28753
28753
|
"mmddyyyy": mmddyyyy,
|