sf-i-events 1.0.771 → 1.0.773

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.771",
4
+ "version": "1.0.773",
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
@@ -2161,9 +2161,11 @@ let SfIEvents = class SfIEvents extends LitElement {
2161
2161
  }
2162
2162
  html += '<button id="button-refresh" part="button-duration-title" class="align-center d-flex justify-center"><h4 part="duration-title">' + parametersTitle + '</h4><span part="duration-title-icon" class="material-icons ml-10">refresh</span></div>';
2163
2163
  if (showBackgroundButton) {
2164
- html += '</button><button id="button-background-process" part="button-background-process" class="align-center d-flex justify-center"><h4 part="processing-title" class="mr-10">background processing</h4><div class="lds-dual-ring1"></div></button>';
2164
+ html += '<div class="align-center d-flex flex-wrap align-center mb-10 w-100-m-0" part="last-update-title-container" id="button-background-process"><h6 part="last-update-title" class="align-start d-flex"><div class="lds-dual-ring1"></div>&nbsp;&nbsp;&nbsp;&nbsp;Syncronizing in the background</h6></div>';
2165
+ }
2166
+ else {
2167
+ html += '<div class="align-center d-flex flex-wrap align-center mb-10 w-100-m-0" part="last-update-title-container"><h6 part="last-update-title" class="align-center d-flex"><span class="material-symbols-outlined">update</span>&nbsp;&nbsp;Last Updated on ' + this.lastupdated + '</h6></div>';
2165
2168
  }
2166
- html += '<div class="align-center d-flex flex-wrap align-center mb-10 w-100-m-0" part="last-update-title-container"><h6 part="last-update-title" class="align-center d-flex"><span class="material-symbols-outlined">update</span>&nbsp;&nbsp;Last Updated on ' + this.lastupdated + '</h6></div>';
2167
2169
  if (showGraph) {
2168
2170
  html += '<div part="stream-event-chart-selection" class="mb-20">';
2169
2171
  html += '<div part="td-head" class="mb-5">Select Chart</div>';
@@ -3191,6 +3193,7 @@ let SfIEvents = class SfIEvents extends LitElement {
3191
3193
  buttonClick.innerHTML = "Saving...";
3192
3194
  const comments = listReportingContainer.querySelector('#input-approver-comments').value;
3193
3195
  const approved = listReportingContainer.querySelector('#input-approve-yes').checked;
3196
+ let flagBulk = false;
3194
3197
  if (this.selectedItemIds.length == 0) {
3195
3198
  await this.uploadReview(event.entityid, event.locationid, mmddyyyy, event["id"], comments, approved, event.isnotice != null ? "notices" : "events");
3196
3199
  for (var p = 0; p < this.events[mmdd].length; p++) {
@@ -3246,6 +3249,7 @@ let SfIEvents = class SfIEvents extends LitElement {
3246
3249
  for (var p = 0; p < this.events[mmdd].length; p++) {
3247
3250
  if (this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationid && this.events[mmdd][p].entityid == entityid) {
3248
3251
  this.events[mmdd][p].isbulk = true;
3252
+ flagBulk = true;
3249
3253
  }
3250
3254
  }
3251
3255
  }
@@ -3267,7 +3271,7 @@ let SfIEvents = class SfIEvents extends LitElement {
3267
3271
  await this.fetchBulkReportingData();
3268
3272
  }
3269
3273
  console.log('events', this.events);
3270
- this.renderAppropriateStream(this.sdate, this.edate, true);
3274
+ this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
3271
3275
  }
3272
3276
  }
3273
3277
  });
@@ -3283,6 +3287,7 @@ let SfIEvents = class SfIEvents extends LitElement {
3283
3287
  }, 3000);
3284
3288
  }
3285
3289
  else {
3290
+ let flagBulk = false;
3286
3291
  if (this.selectedItemIds.length == 0) {
3287
3292
  await this.uploadAudit(event.entityid, event.locationid, mmddyyyy, event["id"], comments, approved, event.isnotice != null ? "notices" : "events");
3288
3293
  for (var p = 0; p < this.events[mmdd].length; p++) {
@@ -3335,6 +3340,7 @@ let SfIEvents = class SfIEvents extends LitElement {
3335
3340
  for (var p = 0; p < this.events[mmdd].length; p++) {
3336
3341
  if (this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId) {
3337
3342
  this.events[mmdd][p].isbulk = true;
3343
+ flagBulk = true;
3338
3344
  }
3339
3345
  }
3340
3346
  }
@@ -3354,7 +3360,7 @@ let SfIEvents = class SfIEvents extends LitElement {
3354
3360
  if (this.selectedItemIds.length > 0) {
3355
3361
  await this.fetchBulkReportingData();
3356
3362
  }
3357
- this.renderAppropriateStream(this.sdate, this.edate, true);
3363
+ this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
3358
3364
  // if(currentColumnButton != null) {
3359
3365
  // currentColumnButton.click();
3360
3366
  // }
@@ -3414,6 +3420,7 @@ let SfIEvents = class SfIEvents extends LitElement {
3414
3420
  }, 3000);
3415
3421
  }
3416
3422
  else {
3423
+ let flagBulk = false;
3417
3424
  if (this.selectedItemIds.length == 0) {
3418
3425
  await this.uploadReport(event.entityid, event.locationid, mmddyyyy, event["id"], reportercomments, reporterdoc, docs, event, reportformatvalues, reportformatschema, event.isnotice != null ? "notices" : "events");
3419
3426
  console.log('this.events', this.events);
@@ -3515,6 +3522,7 @@ let SfIEvents = class SfIEvents extends LitElement {
3515
3522
  let mmdd = mmddyyyy.split('/')[0] + '/' + mmddyyyy.split('/')[1];
3516
3523
  for (var p = 0; p < this.events[mmdd].length; p++) {
3517
3524
  if (this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId) {
3525
+ flagBulk = true;
3518
3526
  this.events[mmdd][p].isbulk = true;
3519
3527
  }
3520
3528
  }
@@ -3535,7 +3543,7 @@ let SfIEvents = class SfIEvents extends LitElement {
3535
3543
  if (this.selectedItemIds.length > 0) {
3536
3544
  await this.fetchBulkReportingData();
3537
3545
  }
3538
- this.renderAppropriateStream(this.sdate, this.edate, true);
3546
+ this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
3539
3547
  // if(currentColumnButton != null) {
3540
3548
  // currentColumnButton.click();
3541
3549
  // }
@@ -8515,6 +8523,7 @@ let SfIEvents = class SfIEvents extends LitElement {
8515
8523
  });
8516
8524
  this._SfDetailContainer.querySelector('#button-detail-close').dispatchEvent(clickEvent);
8517
8525
  // await this.uploadReview(entityId, locationId, mmddyyyy, event["id"], comments, approved)
8526
+ let flagBulk = false;
8518
8527
  if (this.selectedItemIds.length === 0) {
8519
8528
  console.log('mmddyyyy', mmddyyyy);
8520
8529
  await this.uploadReview(entityId, locationId, mmddyyyy, listEvent["id"], comments, approved, listEvent.isnotice != null ? "notices" : "events");
@@ -8568,6 +8577,7 @@ let SfIEvents = class SfIEvents extends LitElement {
8568
8577
  for (var p = 0; p < this.events[mmdd].length; p++) {
8569
8578
  if (this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId) {
8570
8579
  this.events[mmdd][p].isbulk = true;
8580
+ flagBulk = true;
8571
8581
  }
8572
8582
  }
8573
8583
  }
@@ -8589,7 +8599,7 @@ let SfIEvents = class SfIEvents extends LitElement {
8589
8599
  if (this.selectedItemIds.length > 0) {
8590
8600
  await this.fetchBulkReportingData();
8591
8601
  }
8592
- this.renderAppropriateStream(this.sdate, this.edate, true);
8602
+ this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
8593
8603
  var clickEvent = new MouseEvent("click", {
8594
8604
  "view": window,
8595
8605
  "bubbles": true,
@@ -8614,6 +8624,7 @@ let SfIEvents = class SfIEvents extends LitElement {
8614
8624
  }, 3000);
8615
8625
  }
8616
8626
  else {
8627
+ let flagBulk = false;
8617
8628
  if (this.selectedItemIds.length === 0) {
8618
8629
  await this.uploadAudit(entityId, locationId, mmddyyyy, listEvent["id"], comments, approved, listEvent.isnotice != null ? "notices" : "events");
8619
8630
  for (var p = 0; p < this.events[mmdd].length; p++) {
@@ -8664,6 +8675,7 @@ let SfIEvents = class SfIEvents extends LitElement {
8664
8675
  for (var p = 0; p < this.events[mmdd].length; p++) {
8665
8676
  if (this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId) {
8666
8677
  this.events[mmdd][p].isbulk = true;
8678
+ flagBulk = true;
8667
8679
  }
8668
8680
  }
8669
8681
  }
@@ -8690,7 +8702,7 @@ let SfIEvents = class SfIEvents extends LitElement {
8690
8702
  if (this.selectedItemIds.length > 0) {
8691
8703
  await this.fetchBulkReportingData();
8692
8704
  }
8693
- this.renderAppropriateStream(this.sdate, this.edate, true);
8705
+ this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
8694
8706
  // if(currentColumnButton != null) {
8695
8707
  // currentColumnButton.click();
8696
8708
  // }
@@ -8756,6 +8768,7 @@ let SfIEvents = class SfIEvents extends LitElement {
8756
8768
  "cancelable": false
8757
8769
  });
8758
8770
  this._SfDetailContainer.querySelector('#button-detail-close').dispatchEvent(clickEvent);
8771
+ let flagBulk = false;
8759
8772
  if (this.selectedItemIds.length === 0) {
8760
8773
  await this.uploadReport(entityId, locationId, mmddyyyy, listEvent["id"], reportercomments, reporterdoc, docs, event, reportformatvalues, reportformatschema, "notices");
8761
8774
  console.log('this.events', this.events);
@@ -8862,6 +8875,7 @@ let SfIEvents = class SfIEvents extends LitElement {
8862
8875
  for (var p = 0; p < this.events[mmdd].length; p++) {
8863
8876
  if (this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId) {
8864
8877
  this.events[mmdd][p].isbulk = true;
8878
+ flagBulk = true;
8865
8879
  }
8866
8880
  }
8867
8881
  }
@@ -8881,7 +8895,7 @@ let SfIEvents = class SfIEvents extends LitElement {
8881
8895
  if (this.selectedItemIds.length > 0) {
8882
8896
  await this.fetchBulkReportingData();
8883
8897
  }
8884
- this.renderAppropriateStream(this.sdate, this.edate, true);
8898
+ this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
8885
8899
  // if(currentColumnButton != null) {
8886
8900
  // currentColumnButton.click();
8887
8901
  // }
@@ -9607,6 +9621,7 @@ let SfIEvents = class SfIEvents extends LitElement {
9607
9621
  });
9608
9622
  this._SfDetailContainer.querySelector('#button-detail-close').dispatchEvent(clickEvent);
9609
9623
  // await this.uploadReview(entityId, locationId, mmddyyyy, event["id"], comments, approved)
9624
+ let flagBulk = false;
9610
9625
  if (this.selectedItemIds.length === 0) {
9611
9626
  // console.log('mmddyyyy', mmddyyyy)
9612
9627
  await this.uploadReview(entityId, locationId, mmddyyyy, event["id"], comments, approved, event.isnotice != null ? "notices" : "events");
@@ -9659,6 +9674,7 @@ let SfIEvents = class SfIEvents extends LitElement {
9659
9674
  for (var p = 0; p < this.events[mmdd].length; p++) {
9660
9675
  if (this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId) {
9661
9676
  this.events[mmdd][p].isbulk = true;
9677
+ flagBulk = true;
9662
9678
  }
9663
9679
  }
9664
9680
  }
@@ -9679,7 +9695,7 @@ let SfIEvents = class SfIEvents extends LitElement {
9679
9695
  if (this.selectedItemIds.length > 0) {
9680
9696
  await this.fetchBulkReportingData();
9681
9697
  }
9682
- this.renderAppropriateStream(this.sdate, this.edate, true);
9698
+ this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
9683
9699
  var clickEvent = new MouseEvent("click", {
9684
9700
  "view": window,
9685
9701
  "bubbles": true,
@@ -9704,6 +9720,7 @@ let SfIEvents = class SfIEvents extends LitElement {
9704
9720
  }, 3000);
9705
9721
  }
9706
9722
  else {
9723
+ let flagBulk = false;
9707
9724
  if (this.selectedItemIds.length === 0) {
9708
9725
  await this.uploadAudit(entityId, locationId, mmddyyyy, event["id"], comments, approved, event.isnotice != null ? "notices" : "events");
9709
9726
  for (var p = 0; p < this.events[mmdd].length; p++) {
@@ -9753,6 +9770,7 @@ let SfIEvents = class SfIEvents extends LitElement {
9753
9770
  for (var p = 0; p < this.events[mmdd].length; p++) {
9754
9771
  if (this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId) {
9755
9772
  this.events[mmdd][p].isbulk = true;
9773
+ flagBulk = true;
9756
9774
  }
9757
9775
  }
9758
9776
  }
@@ -9778,7 +9796,7 @@ let SfIEvents = class SfIEvents extends LitElement {
9778
9796
  if (this.selectedItemIds.length > 0) {
9779
9797
  await this.fetchBulkReportingData();
9780
9798
  }
9781
- this.renderAppropriateStream(this.sdate, this.edate, true);
9799
+ this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
9782
9800
  // if(currentColumnButton != null) {
9783
9801
  // currentColumnButton.click();
9784
9802
  // }
@@ -9844,6 +9862,7 @@ let SfIEvents = class SfIEvents extends LitElement {
9844
9862
  "cancelable": false
9845
9863
  });
9846
9864
  this._SfDetailContainer.querySelector('#button-detail-close').dispatchEvent(clickEvent);
9865
+ let flagBulk = false;
9847
9866
  if (this.selectedItemIds.length === 0) {
9848
9867
  //console.log('makerscheckers', makercheckers, reportercomments);
9849
9868
  // console.log('reportformatvalues', reportformatvalues)
@@ -9967,6 +9986,7 @@ let SfIEvents = class SfIEvents extends LitElement {
9967
9986
  for (var p = 0; p < this.events[mmdd].length; p++) {
9968
9987
  if (this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId) {
9969
9988
  this.events[mmdd][p].isbulk = true;
9989
+ flagBulk = true;
9970
9990
  }
9971
9991
  }
9972
9992
  }
@@ -9986,7 +10006,7 @@ let SfIEvents = class SfIEvents extends LitElement {
9986
10006
  if (this.selectedItemIds.length > 0) {
9987
10007
  await this.fetchBulkReportingData();
9988
10008
  }
9989
- this.renderAppropriateStream(this.sdate, this.edate, true);
10009
+ this.renderAppropriateStream(this.sdate, this.edate, true, flagBulk);
9990
10010
  // if(currentColumnButton != null) {
9991
10011
  // currentColumnButton.click();
9992
10012
  // }
@@ -20714,14 +20734,7 @@ SfIEvents.styles = css `
20714
20734
  right: 10px
20715
20735
  }
20716
20736
  #button-background-process {
20717
- display:none;
20718
- position: fixed;
20719
- top: 10px;
20720
- left:0;
20721
- right: 0;
20722
- margin-left: auto;
20723
- margin-right: auto;
20724
- width: fit-content;
20737
+ cursor: pointer
20725
20738
  }
20726
20739
 
20727
20740
  .small-icon {
@@ -2695,14 +2695,7 @@ export class SfIEvents extends LitElement {
2695
2695
  right: 10px
2696
2696
  }
2697
2697
  #button-background-process {
2698
- display:none;
2699
- position: fixed;
2700
- top: 10px;
2701
- left:0;
2702
- right: 0;
2703
- margin-left: auto;
2704
- margin-right: auto;
2705
- width: fit-content;
2698
+ cursor: pointer
2706
2699
  }
2707
2700
 
2708
2701
  .small-icon {
@@ -4281,9 +4274,10 @@ export class SfIEvents extends LitElement {
4281
4274
  }
4282
4275
  html += '<button id="button-refresh" part="button-duration-title" class="align-center d-flex justify-center"><h4 part="duration-title">' + parametersTitle + '</h4><span part="duration-title-icon" class="material-icons ml-10">refresh</span></div>';
4283
4276
  if(showBackgroundButton){
4284
- html += '</button><button id="button-background-process" part="button-background-process" class="align-center d-flex justify-center"><h4 part="processing-title" class="mr-10">background processing</h4><div class="lds-dual-ring1"></div></button>'
4277
+ html += '<div class="align-center d-flex flex-wrap align-center mb-10 w-100-m-0" part="last-update-title-container" id="button-background-process"><h6 part="last-update-title" class="align-start d-flex"><div class="lds-dual-ring1"></div>&nbsp;&nbsp;&nbsp;&nbsp;Syncronizing in the background</h6></div>'
4278
+ }else{
4279
+ html += '<div class="align-center d-flex flex-wrap align-center mb-10 w-100-m-0" part="last-update-title-container"><h6 part="last-update-title" class="align-center d-flex"><span class="material-symbols-outlined">update</span>&nbsp;&nbsp;Last Updated on ' + this.lastupdated + '</h6></div>';
4285
4280
  }
4286
- html += '<div class="align-center d-flex flex-wrap align-center mb-10 w-100-m-0" part="last-update-title-container"><h6 part="last-update-title" class="align-center d-flex"><span class="material-symbols-outlined">update</span>&nbsp;&nbsp;Last Updated on ' + this.lastupdated + '</h6></div>';
4287
4281
  if(showGraph) {
4288
4282
  html += '<div part="stream-event-chart-selection" class="mb-20">';
4289
4283
  html += '<div part="td-head" class="mb-5">Select Chart</div>';
@@ -5520,6 +5514,7 @@ export class SfIEvents extends LitElement {
5520
5514
  buttonClick.innerHTML = "Saving..."
5521
5515
  const comments = (listReportingContainer.querySelector('#input-approver-comments') as HTMLInputElement).value;
5522
5516
  const approved = (listReportingContainer.querySelector('#input-approve-yes') as HTMLInputElement).checked;
5517
+ let flagBulk = false;
5523
5518
  if(this.selectedItemIds.length == 0){
5524
5519
  await this.uploadReview(event.entityid, event.locationid, mmddyyyy, event["id"], comments, approved, event.isnotice != null ? "notices" : "events")
5525
5520
  for( var p = 0 ; p < this.events[mmdd].length; p ++){
@@ -5581,6 +5576,7 @@ export class SfIEvents extends LitElement {
5581
5576
  if(this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationid && this.events[mmdd][p].entityid == entityid){
5582
5577
 
5583
5578
  this.events[mmdd][p].isbulk = true
5579
+ flagBulk = true
5584
5580
  }
5585
5581
  }
5586
5582
  }
@@ -5600,7 +5596,7 @@ export class SfIEvents extends LitElement {
5600
5596
  await this.fetchBulkReportingData();
5601
5597
  }
5602
5598
  console.log('events', this.events);
5603
- this.renderAppropriateStream(this.sdate,this.edate, true);
5599
+ this.renderAppropriateStream(this.sdate,this.edate, true, flagBulk);
5604
5600
  }
5605
5601
  }
5606
5602
 
@@ -5620,6 +5616,7 @@ export class SfIEvents extends LitElement {
5620
5616
  }, 3000);
5621
5617
 
5622
5618
  } else {
5619
+ let flagBulk = false;
5623
5620
  if(this.selectedItemIds.length == 0){
5624
5621
  await this.uploadAudit(event.entityid, event.locationid, mmddyyyy, event["id"], comments, approved, event.isnotice != null ? "notices" : "events")
5625
5622
  for( var p = 0 ; p < this.events[mmdd].length; p ++){
@@ -5678,6 +5675,7 @@ export class SfIEvents extends LitElement {
5678
5675
  if(this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId){
5679
5676
 
5680
5677
  this.events[mmdd][p].isbulk = true
5678
+ flagBulk = true;
5681
5679
  }
5682
5680
  }
5683
5681
  }
@@ -5694,7 +5692,7 @@ export class SfIEvents extends LitElement {
5694
5692
  if(this.selectedItemIds.length > 0) {
5695
5693
  await this.fetchBulkReportingData();
5696
5694
  }
5697
- this.renderAppropriateStream(this.sdate,this.edate,true);
5695
+ this.renderAppropriateStream(this.sdate,this.edate,true, flagBulk);
5698
5696
  // if(currentColumnButton != null) {
5699
5697
  // currentColumnButton.click();
5700
5698
  // }
@@ -5780,6 +5778,7 @@ export class SfIEvents extends LitElement {
5780
5778
  }, 3000);
5781
5779
 
5782
5780
  } else {
5781
+ let flagBulk = false;
5783
5782
  if(this.selectedItemIds.length == 0){
5784
5783
 
5785
5784
  await this.uploadReport(event.entityid, event.locationid, mmddyyyy, event["id"], reportercomments, reporterdoc, docs, event, reportformatvalues, reportformatschema, event.isnotice != null ? "notices" : "events")
@@ -5892,7 +5891,7 @@ export class SfIEvents extends LitElement {
5892
5891
  let mmdd = mmddyyyy.split('/')[0] + '/' + mmddyyyy.split('/')[1]
5893
5892
  for( var p = 0 ; p < this.events[mmdd].length; p ++){
5894
5893
  if(this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId){
5895
-
5894
+ flagBulk = true;
5896
5895
  this.events[mmdd][p].isbulk = true
5897
5896
  }
5898
5897
  }
@@ -5911,7 +5910,7 @@ export class SfIEvents extends LitElement {
5911
5910
  if(this.selectedItemIds.length > 0) {
5912
5911
  await this.fetchBulkReportingData();
5913
5912
  }
5914
- this.renderAppropriateStream(this.sdate,this.edate,true)
5913
+ this.renderAppropriateStream(this.sdate,this.edate,true, flagBulk)
5915
5914
  // if(currentColumnButton != null) {
5916
5915
  // currentColumnButton.click();
5917
5916
  // }
@@ -12025,7 +12024,7 @@ export class SfIEvents extends LitElement {
12025
12024
  ((this._SfDetailContainer as HTMLDivElement).querySelector('#button-detail-close') as HTMLButtonElement)!.dispatchEvent(clickEvent);
12026
12025
 
12027
12026
  // await this.uploadReview(entityId, locationId, mmddyyyy, event["id"], comments, approved)
12028
-
12027
+ let flagBulk = false;
12029
12028
  if(this.selectedItemIds.length === 0) {
12030
12029
  console.log('mmddyyyy', mmddyyyy)
12031
12030
  await this.uploadReview(entityId, locationId, mmddyyyy, listEvent["id"], comments, approved, listEvent.isnotice != null ? "notices" : "events")
@@ -12086,6 +12085,7 @@ export class SfIEvents extends LitElement {
12086
12085
  if(this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId){
12087
12086
 
12088
12087
  this.events[mmdd][p].isbulk = true
12088
+ flagBulk = true;
12089
12089
  }
12090
12090
  }
12091
12091
  }
@@ -12105,7 +12105,7 @@ export class SfIEvents extends LitElement {
12105
12105
  if(this.selectedItemIds.length > 0) {
12106
12106
  await this.fetchBulkReportingData();
12107
12107
  }
12108
- this.renderAppropriateStream(this.sdate,this.edate, true);
12108
+ this.renderAppropriateStream(this.sdate,this.edate, true, flagBulk);
12109
12109
  var clickEvent = new MouseEvent("click", {
12110
12110
  "view": window,
12111
12111
  "bubbles": true,
@@ -12135,7 +12135,7 @@ export class SfIEvents extends LitElement {
12135
12135
  }, 3000);
12136
12136
 
12137
12137
  } else {
12138
-
12138
+ let flagBulk = false;
12139
12139
  if(this.selectedItemIds.length === 0) {
12140
12140
 
12141
12141
  await this.uploadAudit(entityId, locationId, mmddyyyy, listEvent["id"], comments, approved, listEvent.isnotice != null ? "notices" : "events")
@@ -12193,6 +12193,7 @@ export class SfIEvents extends LitElement {
12193
12193
  if(this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId){
12194
12194
 
12195
12195
  this.events[mmdd][p].isbulk = true
12196
+ flagBulk = true;
12196
12197
  }
12197
12198
  }
12198
12199
  }
@@ -12219,7 +12220,7 @@ export class SfIEvents extends LitElement {
12219
12220
  if(this.selectedItemIds.length > 0) {
12220
12221
  await this.fetchBulkReportingData();
12221
12222
  }
12222
- this.renderAppropriateStream(this.sdate,this.edate,true);
12223
+ this.renderAppropriateStream(this.sdate,this.edate,true, flagBulk);
12223
12224
  // if(currentColumnButton != null) {
12224
12225
  // currentColumnButton.click();
12225
12226
  // }
@@ -12314,7 +12315,7 @@ export class SfIEvents extends LitElement {
12314
12315
  });
12315
12316
 
12316
12317
  ((this._SfDetailContainer as HTMLDivElement).querySelector('#button-detail-close') as HTMLButtonElement)!.dispatchEvent(clickEvent);
12317
-
12318
+ let flagBulk = false;
12318
12319
  if(this.selectedItemIds.length === 0) {
12319
12320
 
12320
12321
  await this.uploadReport(entityId, locationId, mmddyyyy, listEvent["id"], reportercomments, reporterdoc, docs, event, reportformatvalues, reportformatschema, "notices")
@@ -12433,6 +12434,7 @@ export class SfIEvents extends LitElement {
12433
12434
  if(this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId){
12434
12435
 
12435
12436
  this.events[mmdd][p].isbulk = true
12437
+ flagBulk = true;
12436
12438
  }
12437
12439
  }
12438
12440
  }
@@ -12451,7 +12453,7 @@ export class SfIEvents extends LitElement {
12451
12453
  if(this.selectedItemIds.length > 0) {
12452
12454
  await this.fetchBulkReportingData();
12453
12455
  }
12454
- this.renderAppropriateStream(this.sdate,this.edate,true)
12456
+ this.renderAppropriateStream(this.sdate,this.edate,true, flagBulk)
12455
12457
  // if(currentColumnButton != null) {
12456
12458
  // currentColumnButton.click();
12457
12459
  // }
@@ -13302,7 +13304,7 @@ export class SfIEvents extends LitElement {
13302
13304
  ((this._SfDetailContainer as HTMLDivElement).querySelector('#button-detail-close') as HTMLButtonElement)!.dispatchEvent(clickEvent);
13303
13305
 
13304
13306
  // await this.uploadReview(entityId, locationId, mmddyyyy, event["id"], comments, approved)
13305
-
13307
+ let flagBulk = false;
13306
13308
  if(this.selectedItemIds.length === 0) {
13307
13309
  // console.log('mmddyyyy', mmddyyyy)
13308
13310
  await this.uploadReview(entityId, locationId, mmddyyyy, event["id"], comments, approved, event.isnotice != null ? "notices" : "events")
@@ -13362,6 +13364,7 @@ export class SfIEvents extends LitElement {
13362
13364
  if(this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId){
13363
13365
 
13364
13366
  this.events[mmdd][p].isbulk = true
13367
+ flagBulk = true;
13365
13368
  }
13366
13369
  }
13367
13370
  }
@@ -13380,7 +13383,7 @@ export class SfIEvents extends LitElement {
13380
13383
  if(this.selectedItemIds.length > 0) {
13381
13384
  await this.fetchBulkReportingData();
13382
13385
  }
13383
- this.renderAppropriateStream(this.sdate,this.edate, true);
13386
+ this.renderAppropriateStream(this.sdate,this.edate, true, flagBulk);
13384
13387
  var clickEvent = new MouseEvent("click", {
13385
13388
  "view": window,
13386
13389
  "bubbles": true,
@@ -13410,7 +13413,7 @@ export class SfIEvents extends LitElement {
13410
13413
  }, 3000);
13411
13414
 
13412
13415
  } else {
13413
-
13416
+ let flagBulk = false;
13414
13417
  if(this.selectedItemIds.length === 0) {
13415
13418
 
13416
13419
  await this.uploadAudit(entityId, locationId, mmddyyyy, event["id"], comments, approved, event.isnotice != null ? "notices" : "events")
@@ -13467,6 +13470,7 @@ export class SfIEvents extends LitElement {
13467
13470
  if(this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId){
13468
13471
 
13469
13472
  this.events[mmdd][p].isbulk = true
13473
+ flagBulk = true;
13470
13474
  }
13471
13475
  }
13472
13476
  }
@@ -13491,7 +13495,7 @@ export class SfIEvents extends LitElement {
13491
13495
  if(this.selectedItemIds.length > 0) {
13492
13496
  await this.fetchBulkReportingData();
13493
13497
  }
13494
- this.renderAppropriateStream(this.sdate,this.edate,true);
13498
+ this.renderAppropriateStream(this.sdate,this.edate,true, flagBulk);
13495
13499
  // if(currentColumnButton != null) {
13496
13500
  // currentColumnButton.click();
13497
13501
  // }
@@ -13586,7 +13590,7 @@ export class SfIEvents extends LitElement {
13586
13590
  });
13587
13591
 
13588
13592
  ((this._SfDetailContainer as HTMLDivElement).querySelector('#button-detail-close') as HTMLButtonElement)!.dispatchEvent(clickEvent);
13589
-
13593
+ let flagBulk = false;
13590
13594
  if(this.selectedItemIds.length === 0) {
13591
13595
 
13592
13596
  //console.log('makerscheckers', makercheckers, reportercomments);
@@ -13720,6 +13724,7 @@ export class SfIEvents extends LitElement {
13720
13724
  if(this.events[mmdd][p].id == eventId && this.events[mmdd][p].locationid == locationId && this.events[mmdd][p].entityid == entityId){
13721
13725
 
13722
13726
  this.events[mmdd][p].isbulk = true
13727
+ flagBulk = true;
13723
13728
  }
13724
13729
  }
13725
13730
  }
@@ -13738,7 +13743,7 @@ export class SfIEvents extends LitElement {
13738
13743
  if(this.selectedItemIds.length > 0) {
13739
13744
  await this.fetchBulkReportingData();
13740
13745
  }
13741
- this.renderAppropriateStream(this.sdate,this.edate,true)
13746
+ this.renderAppropriateStream(this.sdate,this.edate,true, flagBulk)
13742
13747
  // if(currentColumnButton != null) {
13743
13748
  // currentColumnButton.click();
13744
13749
  // }