sf-i-events 1.0.678 → 1.0.679

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.678",
4
+ "version": "1.0.679",
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
@@ -6874,7 +6874,10 @@ let SfIEvents = class SfIEvents extends LitElement {
6874
6874
  "approved": approved,
6875
6875
  "entityid": entityId,
6876
6876
  "locationid": locationId,
6877
- "username": this.userName
6877
+ "username": this.userName,
6878
+ "userid": this.userProfileId,
6879
+ "userrole": this.myRole,
6880
+ "year": this.calendarStartYYYY
6878
6881
  });
6879
6882
  // await this.uploadReview(entityId, locationId, mmddyyyy, eventId, comments, approved)
6880
6883
  // this.setSuccess("Updating " + (k + 1) + "/" + this.selectedItemIds.length + ", please wait...");
@@ -6934,7 +6937,10 @@ let SfIEvents = class SfIEvents extends LitElement {
6934
6937
  "approved": approved,
6935
6938
  "entityid": entityId,
6936
6939
  "locationid": locationId,
6937
- "username": this.userName
6940
+ "username": this.userName,
6941
+ "userid": this.userProfileId,
6942
+ "userrole": this.myRole,
6943
+ "year": this.calendarStartYYYY
6938
6944
  });
6939
6945
  // await this.uploadAudit(entityId, locationId, mmddyyyy, eventId, comments, approved);
6940
6946
  }
@@ -7071,7 +7077,10 @@ let SfIEvents = class SfIEvents extends LitElement {
7071
7077
  "approved": true,
7072
7078
  "entityid": entityId,
7073
7079
  "locationid": locationId,
7074
- "username": this.userName
7080
+ "username": this.userName,
7081
+ "userid": this.userProfileId,
7082
+ "userrole": this.myRole,
7083
+ "year": this.calendarStartYYYY
7075
7084
  });
7076
7085
  // await this.uploadReview(entityId, locationId, mmddyyyy, eventId, "Auto approved", true);
7077
7086
  }
@@ -13046,7 +13055,7 @@ let SfIEvents = class SfIEvents extends LitElement {
13046
13055
  const xhr = (await this.prepareXhr(bulkBody, url, this._SfLoader, authorization));
13047
13056
  this._SfLoader.innerHTML = '';
13048
13057
  if (xhr.status == 200) {
13049
- this.setSuccess("Audit report uploaded successfully!");
13058
+ this.setSuccess("Bulk upload initiated. Processing will occur in the background, and you'll receive an email notification once it's complete.");
13050
13059
  setTimeout(() => {
13051
13060
  this.clearMessages();
13052
13061
  }, 2000);
@@ -13100,7 +13109,7 @@ let SfIEvents = class SfIEvents extends LitElement {
13100
13109
  const xhr = (await this.prepareXhr(bulkBody, url, this._SfLoader, authorization));
13101
13110
  this._SfLoader.innerHTML = '';
13102
13111
  if (xhr.status == 200) {
13103
- this.setSuccess("Reviews uploaded successfully!");
13112
+ this.setSuccess("Bulk upload initiated. Processing will occur in the background, and you'll receive an email notification once it's complete.");
13104
13113
  setTimeout(() => {
13105
13114
  this.clearMessages();
13106
13115
  }, 2000);
@@ -13161,7 +13170,7 @@ let SfIEvents = class SfIEvents extends LitElement {
13161
13170
  const xhr = (await this.prepareXhr(bulkBody, url, this._SfLoader, authorization));
13162
13171
  this._SfLoader.innerHTML = '';
13163
13172
  if (xhr.status == 200) {
13164
- this.setSuccess("Reports uploaded successfully!");
13173
+ this.setSuccess("Bulk upload initiated. Processing will occur in the background, and you'll receive an email notification once it's complete.");
13165
13174
  setTimeout(() => {
13166
13175
  this.clearMessages();
13167
13176
  }, 2000);
@@ -10212,7 +10212,10 @@ export class SfIEvents extends LitElement {
10212
10212
  "approved": approved,
10213
10213
  "entityid": entityId,
10214
10214
  "locationid": locationId,
10215
- "username": this.userName
10215
+ "username": this.userName,
10216
+ "userid": this.userProfileId,
10217
+ "userrole": this.myRole,
10218
+ "year": this.calendarStartYYYY
10216
10219
  })
10217
10220
  // await this.uploadReview(entityId, locationId, mmddyyyy, eventId, comments, approved)
10218
10221
 
@@ -10283,7 +10286,10 @@ export class SfIEvents extends LitElement {
10283
10286
  "approved": approved,
10284
10287
  "entityid": entityId,
10285
10288
  "locationid": locationId,
10286
- "username": this.userName
10289
+ "username": this.userName,
10290
+ "userid": this.userProfileId,
10291
+ "userrole": this.myRole,
10292
+ "year": this.calendarStartYYYY
10287
10293
  })
10288
10294
  // await this.uploadAudit(entityId, locationId, mmddyyyy, eventId, comments, approved);
10289
10295
 
@@ -10458,7 +10464,10 @@ export class SfIEvents extends LitElement {
10458
10464
  "approved": true,
10459
10465
  "entityid": entityId,
10460
10466
  "locationid": locationId,
10461
- "username": this.userName
10467
+ "username": this.userName,
10468
+ "userid": this.userProfileId,
10469
+ "userrole": this.myRole,
10470
+ "year": this.calendarStartYYYY
10462
10471
  } )
10463
10472
  // await this.uploadReview(entityId, locationId, mmddyyyy, eventId, "Auto approved", true);
10464
10473
 
@@ -18174,7 +18183,7 @@ export class SfIEvents extends LitElement {
18174
18183
  this._SfLoader.innerHTML = '';
18175
18184
  if(xhr.status == 200) {
18176
18185
 
18177
- this.setSuccess("Audit report uploaded successfully!");
18186
+ this.setSuccess("Bulk upload initiated. Processing will occur in the background, and you'll receive an email notification once it's complete.");
18178
18187
  setTimeout(() => {
18179
18188
  this.clearMessages()
18180
18189
  }, 2000);
@@ -18232,7 +18241,7 @@ export class SfIEvents extends LitElement {
18232
18241
  const xhr : any = (await this.prepareXhr(bulkBody, url, this._SfLoader, authorization)) as any;
18233
18242
  this._SfLoader.innerHTML = '';
18234
18243
  if(xhr.status == 200) {
18235
- this.setSuccess("Reviews uploaded successfully!");
18244
+ this.setSuccess("Bulk upload initiated. Processing will occur in the background, and you'll receive an email notification once it's complete.");
18236
18245
  setTimeout(() => {
18237
18246
  this.clearMessages()
18238
18247
  }, 2000);
@@ -18300,7 +18309,7 @@ export class SfIEvents extends LitElement {
18300
18309
  this._SfLoader.innerHTML = '';
18301
18310
  if(xhr.status == 200) {
18302
18311
 
18303
- this.setSuccess("Reports uploaded successfully!");
18312
+ this.setSuccess("Bulk upload initiated. Processing will occur in the background, and you'll receive an email notification once it's complete.");
18304
18313
  setTimeout(() => {
18305
18314
  this.clearMessages()
18306
18315
  }, 2000);