sf-i-events 1.0.789 → 1.0.790

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.789",
4
+ "version": "1.0.790",
5
5
  "description": "Superflows Navigation Component",
6
6
  "main": "sf-i-events.js",
7
7
  "module": "sf-i-events.js",
package/sf-i-events.js CHANGED
@@ -16546,6 +16546,9 @@ let SfIEvents = class SfIEvents extends LitElement {
16546
16546
  else {
16547
16547
  const jsonRespose = JSON.parse(xhr.responseText);
16548
16548
  this.setError(jsonRespose.message);
16549
+ setTimeout(() => {
16550
+ this.clearMessages();
16551
+ }, 3000);
16549
16552
  }
16550
16553
  };
16551
16554
  this.uploadReportsReviewsBulk = async (bulkBody) => {
@@ -16562,6 +16565,9 @@ let SfIEvents = class SfIEvents extends LitElement {
16562
16565
  else {
16563
16566
  const jsonRespose = JSON.parse(xhr.responseText);
16564
16567
  this.setError(jsonRespose.message);
16568
+ setTimeout(() => {
16569
+ this.clearMessages();
16570
+ }, 3000);
16565
16571
  }
16566
16572
  };
16567
16573
  this.uploadReviewsBulk = async (bulkBody) => {
@@ -16578,6 +16584,9 @@ let SfIEvents = class SfIEvents extends LitElement {
16578
16584
  else {
16579
16585
  const jsonRespose = JSON.parse(xhr.responseText);
16580
16586
  this.setError(jsonRespose.message);
16587
+ setTimeout(() => {
16588
+ this.clearMessages();
16589
+ }, 3000);
16581
16590
  }
16582
16591
  };
16583
16592
  this.uploadReport = async (entityId, locationId, mmddyyyy, eventid, comments, doc, docs, event, reportformatvalues = "", reportformatschema = "", module = "events") => {
@@ -16623,6 +16632,9 @@ let SfIEvents = class SfIEvents extends LitElement {
16623
16632
  else {
16624
16633
  const jsonRespose = JSON.parse(xhr.responseText);
16625
16634
  this.setError(jsonRespose.message);
16635
+ setTimeout(() => {
16636
+ this.clearMessages();
16637
+ }, 3000);
16626
16638
  }
16627
16639
  };
16628
16640
  this.uploadReportsBulk = async (bulkBody, showSuccess = true) => {
@@ -16643,6 +16655,9 @@ let SfIEvents = class SfIEvents extends LitElement {
16643
16655
  else {
16644
16656
  const jsonRespose = JSON.parse(xhr.responseText);
16645
16657
  this.setError(jsonRespose.message);
16658
+ setTimeout(() => {
16659
+ this.clearMessages();
16660
+ }, 3000);
16646
16661
  }
16647
16662
  };
16648
16663
  this.uploadMapping = async () => {
@@ -22048,6 +22048,9 @@ export class SfIEvents extends LitElement {
22048
22048
  } else {
22049
22049
  const jsonRespose = JSON.parse(xhr.responseText);
22050
22050
  this.setError(jsonRespose.message);
22051
+ setTimeout(() => {
22052
+ this.clearMessages();
22053
+ }, 3000);
22051
22054
  }
22052
22055
  }
22053
22056
  uploadReportsReviewsBulk = async (bulkBody: any) => {
@@ -22065,6 +22068,9 @@ export class SfIEvents extends LitElement {
22065
22068
  } else {
22066
22069
  const jsonRespose = JSON.parse(xhr.responseText);
22067
22070
  this.setError(jsonRespose.message);
22071
+ setTimeout(() => {
22072
+ this.clearMessages();
22073
+ }, 3000);
22068
22074
  }
22069
22075
  }
22070
22076
  uploadReviewsBulk = async (bulkBody: any) => {
@@ -22082,6 +22088,9 @@ export class SfIEvents extends LitElement {
22082
22088
  } else {
22083
22089
  const jsonRespose = JSON.parse(xhr.responseText);
22084
22090
  this.setError(jsonRespose.message);
22091
+ setTimeout(() => {
22092
+ this.clearMessages();
22093
+ }, 3000);
22085
22094
  }
22086
22095
  }
22087
22096
 
@@ -22132,6 +22141,9 @@ export class SfIEvents extends LitElement {
22132
22141
  } else {
22133
22142
  const jsonRespose = JSON.parse(xhr.responseText);
22134
22143
  this.setError(jsonRespose.message);
22144
+ setTimeout(() => {
22145
+ this.clearMessages();
22146
+ }, 3000);
22135
22147
  }
22136
22148
  }
22137
22149
 
@@ -22154,6 +22166,9 @@ export class SfIEvents extends LitElement {
22154
22166
  } else {
22155
22167
  const jsonRespose = JSON.parse(xhr.responseText);
22156
22168
  this.setError(jsonRespose.message);
22169
+ setTimeout(() => {
22170
+ this.clearMessages();
22171
+ }, 3000);
22157
22172
  }
22158
22173
  }
22159
22174