sf-i-events 1.0.729 → 1.0.731

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 CHANGED
@@ -625,10 +625,10 @@
625
625
  </head>
626
626
  <body>
627
627
 
628
- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat" fill="solid" username="Ankur Singhal" userprofileid="010834e8-108e-4a87-b58d-f5b429f184be" projectid="f0f17ddb-546a-45f5-8a94-a5689fde8e64" projectname="Signode" countryid="4ab8901c-4407-4c4d-a2c7-df1a690aa0a3" myrole="viewer" showregisterexport="false" eventfielddependencies="[{&quot;type&quot;: &quot;foreignkey&quot;, &quot;parent&quot;: &quot;country&quot;, &quot;child&quot;: &quot;state&quot;},{&quot;type&quot;: &quot;foreignkey&quot;, &quot;parent&quot;: &quot;category&quot;, &quot;child&quot;: &quot;subcategory&quot;},{&quot;type&quot;: &quot;foreignkey&quot;, &quot;parent&quot;: &quot;frequency&quot;, &quot;child&quot;: &quot;subfrequency&quot;}]" eventfields="[{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/riskarea&quot;, &quot;field&quot;: &quot;riskarea&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/jurisdiction&quot;, &quot;field&quot;: &quot;jurisdiction&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/updatetype&quot;, &quot;field&quot;: &quot;updatetype&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/country&quot;, &quot;field&quot;: &quot;country&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/specificity&quot;, &quot;field&quot;: &quot;specificity&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/risk&quot;, &quot;field&quot;: &quot;risk&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/frequency&quot;, &quot;field&quot;: &quot;frequency&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/category&quot;, &quot;field&quot;: &quot;category&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/obligationtype&quot;, &quot;field&quot;: &quot;obligationtype&quot;},{&quot;type&quot;: &quot;sf-i-sub-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/state&quot;, &quot;field&quot;: &quot;state&quot;},{&quot;type&quot;: &quot;sf-i-sub-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/subfrequency&quot;, &quot;field&quot;: &quot;subfrequency&quot;},{&quot;type&quot;: &quot;sf-i-sub-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/subcategory&quot;, &quot;field&quot;: &quot;subcategory&quot;},{&quot;type&quot;: &quot;sf-i-form&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/statute&quot;, &quot;field&quot;: &quot;statute&quot;, &quot;projectField&quot;: &quot;name&quot;}]" eventpreviewfields="[&quot;obligation&quot;]" eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2024">
628
+ <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat" fill="solid" username="Local Approver 1" userprofileid="c44dcd04-aebb-4417-ba6b-fac170efd5d0" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="approver" showregisterexport="false" eventfielddependencies="[{&quot;type&quot;: &quot;foreignkey&quot;, &quot;parent&quot;: &quot;country&quot;, &quot;child&quot;: &quot;state&quot;},{&quot;type&quot;: &quot;foreignkey&quot;, &quot;parent&quot;: &quot;category&quot;, &quot;child&quot;: &quot;subcategory&quot;},{&quot;type&quot;: &quot;foreignkey&quot;, &quot;parent&quot;: &quot;frequency&quot;, &quot;child&quot;: &quot;subfrequency&quot;}]" eventfields="[{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/riskarea&quot;, &quot;field&quot;: &quot;riskarea&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/jurisdiction&quot;, &quot;field&quot;: &quot;jurisdiction&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/updatetype&quot;, &quot;field&quot;: &quot;updatetype&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/country&quot;, &quot;field&quot;: &quot;country&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/specificity&quot;, &quot;field&quot;: &quot;specificity&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/risk&quot;, &quot;field&quot;: &quot;risk&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/frequency&quot;, &quot;field&quot;: &quot;frequency&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/category&quot;, &quot;field&quot;: &quot;category&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/obligationtype&quot;, &quot;field&quot;: &quot;obligationtype&quot;},{&quot;type&quot;: &quot;sf-i-sub-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/state&quot;, &quot;field&quot;: &quot;state&quot;},{&quot;type&quot;: &quot;sf-i-sub-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/subfrequency&quot;, &quot;field&quot;: &quot;subfrequency&quot;},{&quot;type&quot;: &quot;sf-i-sub-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/subcategory&quot;, &quot;field&quot;: &quot;subcategory&quot;},{&quot;type&quot;: &quot;sf-i-form&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/statute&quot;, &quot;field&quot;: &quot;statute&quot;, &quot;projectField&quot;: &quot;name&quot;}]" eventpreviewfields="[&quot;obligation&quot;]" eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2024">
629
629
 
630
630
  <div slot="uploader">
631
- <sf-i-uploader id="uploader" max="10" apiid="1peg5170d3" allowedextensions="[&quot;jpg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;]" extract="yes" projectid="f0f17ddb-546a-45f5-8a94-a5689fde8e64" maxsize="5242880" allowdownload="yes"></sf-i-uploader>
631
+ <sf-i-uploader id="uploader" max="10" apiid="1peg5170d3" allowedextensions="[&quot;jpg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;]" extract="yes" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" maxsize="5242880" allowdownload="yes"></sf-i-uploader>
632
632
  </div>
633
633
  <div slot="reporting">
634
634
  <sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.729",
4
+ "version": "1.0.731",
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
@@ -2542,13 +2542,7 @@ let SfIEvents = class SfIEvents extends LitElement {
2542
2542
  hide = this.getCalendarRowHide(this.events[mmdd], i, lastDay, month, firstDate, currDate);
2543
2543
  }
2544
2544
  if (this.events[mmdd] != null) {
2545
- // if(this.myRole != this.TAB_VIEWER) {
2546
2545
  html += this.renderCalendarRowDivStart(i, firstDate, mmdd.split("/")[1] + "/" + mmdd.split("/")[0]);
2547
- // }
2548
- let countNotStarted = 0;
2549
- let countPendingApproval = 0;
2550
- let countRejected = 0;
2551
- let countApproved = 0;
2552
2546
  for (var j = 0; j < this.events[mmdd].length; j++) {
2553
2547
  total++;
2554
2548
  this.events[mmdd][j]['mmdd'] = mmdd;
@@ -2576,10 +2570,6 @@ let SfIEvents = class SfIEvents extends LitElement {
2576
2570
  partiallyComplied = partiallyComplied + (complianceStatus == "partially-complied" ? 1 : 0);
2577
2571
  notComplied = notComplied + (complianceStatus == "not-complied" ? 1 : 0);
2578
2572
  complied = complied + (complianceStatus == "complied" ? 1 : 0);
2579
- countNotStarted += (partStatus == "not-started" ? 1 : 0);
2580
- countPendingApproval += (partStatus == "pending-approval" ? 1 : 0);
2581
- countRejected += (partStatus == "rejected" ? 1 : 0);
2582
- countApproved += (partStatus == "approved" ? 1 : 0);
2583
2573
  this.events[mmdd][j][this.FLOW_GRAPH_COMPLETENESS] = partStatus;
2584
2574
  this.events[mmdd][j][this.FLOW_GRAPH_TIMELINESS] = lateStatus;
2585
2575
  this.events[mmdd][j][this.FLOW_GRAPH_COMPLIANCE] = complianceStatus;
@@ -2587,9 +2577,6 @@ let SfIEvents = class SfIEvents extends LitElement {
2587
2577
  //console.log('commentsinlist 1', JSON.stringify(this.events[mmdd][j].comments), mmdd, j)
2588
2578
  }
2589
2579
  this.updateStats(this.events[mmdd][j], partStatus, lateStatus, complianceStatus);
2590
- if (this.myRole == this.TAB_VIEWER && this.getCurrentTab() == this.TAB_CUSTOM) {
2591
- continue;
2592
- }
2593
2580
  csvValues += ('"' + (this.events[mmdd][j]["id"] + '",'));
2594
2581
  csvValues += ('"' + (this.events[mmdd][j]["country"] + '",'));
2595
2582
  csvValues += ('"' + (this.events[mmdd][j]["state"] + '",'));
@@ -2671,9 +2658,6 @@ let SfIEvents = class SfIEvents extends LitElement {
2671
2658
  html += '<div class="list-reporting-container d-flex flex-col hide" part="list-reporting-container" id="list-reporting-container-' + mmdd.replace(/\//g, '-') + '-' + j + '"></div>';
2672
2659
  html += this.renderCalendarRowDivItemDivEnd();
2673
2660
  }
2674
- if (this.myRole == this.TAB_VIEWER && this.getCurrentTab() == this.TAB_CUSTOM) {
2675
- html += ('<span part="chip-not-started" class="color-not-started">Not Started ' + countNotStarted + '</span>&nbsp;&nbsp;<span part="chip-color-pending" class="color-pending">Pending Approval ' + countPendingApproval + '</span>&nbsp;&nbsp;<span part="chip-rejected" class="color-rejected">Rejected ' + countRejected + '</span>&nbsp;&nbsp;<span part="chip-approved" class="color-approved">Approved ' + countApproved + '</span>');
2676
- }
2677
2661
  html += this.renderCalendarRowDivEnd();
2678
2662
  }
2679
2663
  else {
@@ -6275,8 +6259,6 @@ let SfIEvents = class SfIEvents extends LitElement {
6275
6259
  document.addEventListener('scroll', () => {
6276
6260
  // console.log('scroll',window.scrollY)
6277
6261
  let buttonRefresh = eventsContainer.querySelector('#button-refresh');
6278
- if (buttonRefresh == null)
6279
- return;
6280
6262
  if (window.scrollY > 720) {
6281
6263
  if (buttonRefresh.style.display == "flex") {
6282
6264
  }
@@ -9979,10 +9961,10 @@ let SfIEvents = class SfIEvents extends LitElement {
9979
9961
  this._SfLoader.innerHTML = '<div class="lds-dual-ring"></div>';
9980
9962
  this._SfLoader.innerHTML += ('<div class="lds-text"><div class="lds-text-c"></div></div>');
9981
9963
  }
9982
- setTimeout(() => {
9983
- this.renderMappingTable(divElement, jsonData, cursor, fetchFunction, searchString, mappedArray, found, uploadFunction, refreshFunction, extraFields, uploadBlock, extraFieldPosition, colName, inputFilter.value, statuteColName, extraHintsArr);
9984
- this._SfLoader.innerHTML = '';
9985
- }, 1000);
9964
+ // setTimeout(() => {
9965
+ // this.renderMappingTable(divElement, jsonData, cursor, fetchFunction, searchString, mappedArray, found, uploadFunction, refreshFunction, extraFields, uploadBlock, extraFieldPosition, colName, inputFilter.value, statuteColName, extraHintsArr)
9966
+ // this._SfLoader.innerHTML = '';
9967
+ // }, 1000);
9986
9968
  }
9987
9969
  });
9988
9970
  // More button handlers
@@ -10108,9 +10090,9 @@ let SfIEvents = class SfIEvents extends LitElement {
10108
10090
  arrCheckBoxes[i].addEventListener('change', async (_e) => {
10109
10091
  //console.log(e.currentTarget, (e.currentTarget as HTMLInputElement).checked);
10110
10092
  divElement.querySelector('.button-save').disabled = false;
10111
- if (extraFieldPosition === 1) {
10112
- await this.saveMapping(divElement, uploadBlock, jsonData, extraFields, searchString, uploadFunction, refreshFunction, true);
10113
- }
10093
+ // if(extraFieldPosition === 1) {
10094
+ // await this.saveMapping (divElement, uploadBlock, jsonData, extraFields, searchString, uploadFunction, refreshFunction, true)
10095
+ // }
10114
10096
  });
10115
10097
  }
10116
10098
  (_a = divElement.querySelector('.checkbox-all')) === null || _a === void 0 ? void 0 : _a.addEventListener('change', (e) => {
@@ -15872,12 +15854,10 @@ let SfIEvents = class SfIEvents extends LitElement {
15872
15854
  let eventid = sortidArr[3];
15873
15855
  let mmdd = mmddyyyy.split('/')[0] + '/' + mmddyyyy.split('/')[1];
15874
15856
  console.log('mmdd', mmdd, Object.keys(this.events));
15875
- if (this.events[mmdd] != null) {
15876
- for (let i = 0; i < this.events[mmdd].length; i++) {
15877
- if (this.events[mmdd][i].entityid == entityid && this.events[mmdd][i].locationid == locationid && this.events[mmdd][i].id == eventid) {
15878
- this.events[mmdd][i].isbulk = true;
15879
- break;
15880
- }
15857
+ for (let i = 0; i < this.events[mmdd].length; i++) {
15858
+ if (this.events[mmdd][i].entityid == entityid && this.events[mmdd][i].locationid == locationid && this.events[mmdd][i].id == eventid) {
15859
+ this.events[mmdd][i].isbulk = true;
15860
+ break;
15881
15861
  }
15882
15862
  }
15883
15863
  }
@@ -4710,15 +4710,9 @@ export class SfIEvents extends LitElement {
4710
4710
 
4711
4711
  if(this.events[mmdd] != null) {
4712
4712
 
4713
- // if(this.myRole != this.TAB_VIEWER) {
4714
- html += this.renderCalendarRowDivStart(i, firstDate, mmdd.split("/")[1] + "/" + mmdd.split("/")[0]);
4715
- // }
4716
4713
 
4717
- let countNotStarted = 0;
4718
- let countPendingApproval = 0;
4719
- let countRejected = 0;
4720
- let countApproved = 0;
4721
-
4714
+ html += this.renderCalendarRowDivStart(i, firstDate, mmdd.split("/")[1] + "/" + mmdd.split("/")[0]);
4715
+
4722
4716
  for(var j = 0; j < (this.events[mmdd] as Array<any>).length; j++) {
4723
4717
 
4724
4718
  total++;
@@ -4754,11 +4748,6 @@ export class SfIEvents extends LitElement {
4754
4748
  notComplied = notComplied + (complianceStatus == "not-complied" ? 1 : 0);
4755
4749
  complied = complied + (complianceStatus == "complied" ? 1 : 0);
4756
4750
 
4757
- countNotStarted += (partStatus == "not-started" ? 1 : 0);
4758
- countPendingApproval += (partStatus == "pending-approval" ? 1 : 0);
4759
- countRejected += (partStatus == "rejected" ? 1 : 0);
4760
- countApproved += (partStatus == "approved" ? 1 : 0);
4761
-
4762
4751
  this.events[mmdd][j][this.FLOW_GRAPH_COMPLETENESS] = partStatus;
4763
4752
  this.events[mmdd][j][this.FLOW_GRAPH_TIMELINESS] = lateStatus;
4764
4753
  this.events[mmdd][j][this.FLOW_GRAPH_COMPLIANCE] = complianceStatus;
@@ -4772,10 +4761,6 @@ export class SfIEvents extends LitElement {
4772
4761
 
4773
4762
  this.updateStats(this.events[mmdd][j], partStatus, lateStatus, complianceStatus);
4774
4763
 
4775
- if(this.myRole == this.TAB_VIEWER && this.getCurrentTab() == this.TAB_CUSTOM) {
4776
- continue;
4777
- }
4778
-
4779
4764
  csvValues += ('"' + (this.events[mmdd][j]["id"] + '",'));
4780
4765
  csvValues += ('"' + (this.events[mmdd][j]["country"] + '",'));
4781
4766
  csvValues += ('"' + (this.events[mmdd][j]["state"] + '",'));
@@ -4863,10 +4848,6 @@ export class SfIEvents extends LitElement {
4863
4848
 
4864
4849
  }
4865
4850
 
4866
- if(this.myRole == this.TAB_VIEWER && this.getCurrentTab() == this.TAB_CUSTOM) {
4867
- html += ('<span part="chip-not-started" class="color-not-started">Not Started ' + countNotStarted + '</span>&nbsp;&nbsp;<span part="chip-color-pending" class="color-pending">Pending Approval ' + countPendingApproval + '</span>&nbsp;&nbsp;<span part="chip-rejected" class="color-rejected">Rejected ' + countRejected + '</span>&nbsp;&nbsp;<span part="chip-approved" class="color-approved">Approved '+countApproved+'</span>')
4868
- }
4869
-
4870
4851
  html += this.renderCalendarRowDivEnd();
4871
4852
 
4872
4853
  } else {
@@ -4882,7 +4863,6 @@ export class SfIEvents extends LitElement {
4882
4863
 
4883
4864
  html += this.renderCalendarContainerDivEnd();
4884
4865
 
4885
-
4886
4866
  //console.log('final risk severities', this.riskSeverityData);
4887
4867
 
4888
4868
  //this.period = firstDay?.getDate() + '/' + (firstDay!.getMonth()+1) + '/' + firstDay?.getFullYear() + " - " + endDay?.getDate() + '/' + (endDay!.getMonth()+1) + '/' + endDay?.getFullYear();
@@ -9295,7 +9275,6 @@ export class SfIEvents extends LitElement {
9295
9275
  document.addEventListener('scroll',() => {
9296
9276
  // console.log('scroll',window.scrollY)
9297
9277
  let buttonRefresh = eventsContainer.querySelector('#button-refresh') as HTMLButtonElement
9298
- if(buttonRefresh == null) return;
9299
9278
  if(window.scrollY > 720){
9300
9279
  if(buttonRefresh.style.display == "flex"){
9301
9280
 
@@ -14051,10 +14030,10 @@ export class SfIEvents extends LitElement {
14051
14030
  this._SfLoader.innerHTML = '<div class="lds-dual-ring"></div>';
14052
14031
  this._SfLoader.innerHTML += ('<div class="lds-text"><div class="lds-text-c"></div></div>');
14053
14032
  }
14054
- setTimeout(() => {
14055
- this.renderMappingTable(divElement, jsonData, cursor, fetchFunction, searchString, mappedArray, found, uploadFunction, refreshFunction, extraFields, uploadBlock, extraFieldPosition, colName, inputFilter.value, statuteColName, extraHintsArr)
14056
- this._SfLoader.innerHTML = '';
14057
- }, 1000);
14033
+ // setTimeout(() => {
14034
+ // this.renderMappingTable(divElement, jsonData, cursor, fetchFunction, searchString, mappedArray, found, uploadFunction, refreshFunction, extraFields, uploadBlock, extraFieldPosition, colName, inputFilter.value, statuteColName, extraHintsArr)
14035
+ // this._SfLoader.innerHTML = '';
14036
+ // }, 1000);
14058
14037
 
14059
14038
  }
14060
14039
 
@@ -14229,9 +14208,9 @@ export class SfIEvents extends LitElement {
14229
14208
  arrCheckBoxes[i].addEventListener('change', async (_e: any) => {
14230
14209
  //console.log(e.currentTarget, (e.currentTarget as HTMLInputElement).checked);
14231
14210
  ((divElement as HTMLDivElement).querySelector('.button-save') as HTMLButtonElement).disabled = false;
14232
- if(extraFieldPosition === 1) {
14233
- await this.saveMapping (divElement, uploadBlock, jsonData, extraFields, searchString, uploadFunction, refreshFunction, true)
14234
- }
14211
+ // if(extraFieldPosition === 1) {
14212
+ // await this.saveMapping (divElement, uploadBlock, jsonData, extraFields, searchString, uploadFunction, refreshFunction, true)
14213
+ // }
14235
14214
  });
14236
14215
  }
14237
14216
 
@@ -21684,12 +21663,10 @@ export class SfIEvents extends LitElement {
21684
21663
  let eventid = sortidArr[3]
21685
21664
  let mmdd = mmddyyyy.split('/')[0] + '/' + mmddyyyy.split('/')[1]
21686
21665
  console.log('mmdd', mmdd, Object.keys(this.events));
21687
- if(this.events[mmdd] != null) {
21688
- for (let i = 0 ; i < this.events[mmdd].length; i ++){
21689
- if(this.events[mmdd][i].entityid == entityid && this.events[mmdd][i].locationid == locationid && this.events[mmdd][i].id == eventid){
21690
- this.events[mmdd][i].isbulk = true;
21691
- break
21692
- }
21666
+ for (let i = 0 ; i < this.events[mmdd].length; i ++){
21667
+ if(this.events[mmdd][i].entityid == entityid && this.events[mmdd][i].locationid == locationid && this.events[mmdd][i].id == eventid){
21668
+ this.events[mmdd][i].isbulk = true;
21669
+ break
21693
21670
  }
21694
21671
  }
21695
21672
  }