sf-i-events 1.0.211 → 1.0.212

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.211",
4
+ "version": "1.0.212",
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
@@ -5826,11 +5826,11 @@ let SfIEvents = class SfIEvents extends LitElement {
5826
5826
  html += sourceCols[i];
5827
5827
  html += '</th>';
5828
5828
  }
5829
- for (i = 0; i < JSON.parse(sourceArray.data.mappings.mappings[0].cols).length; i++) {
5830
- html += '<th part="td-head" class="td-head">';
5831
- html += JSON.parse(sourceArray.data.mappings.mappings[0].cols)[i];
5832
- html += '</th>';
5833
- }
5829
+ // for(i = 0; i < JSON.parse(sourceArray.data.mappings.mappings[0].cols).length; i++) {
5830
+ // html += '<th part="td-head" class="td-head">'
5831
+ // html += JSON.parse(sourceArray.data.mappings.mappings[0].cols)[i];
5832
+ // html += '</th>'
5833
+ // }
5834
5834
  html += '</thead>';
5835
5835
  html += '<tbody>';
5836
5836
  for (i = 0; i < sourceArray.data.mappings.mappings.length; i++) {
@@ -5872,18 +5872,17 @@ let SfIEvents = class SfIEvents extends LitElement {
5872
5872
  }
5873
5873
  }
5874
5874
  }
5875
- for (var j = 0; j < JSON.parse(sourceArray.data.mappings.mappings[0].cols).length; j++) {
5876
- html += '<td class="td-body ' + classBg + '" part="td-body">';
5877
- if (Array.isArray(JSON.parse(sourceArray.data.mappings.mappings[i].data)[j])) {
5878
- for (var k = 0; k < JSON.parse(sourceArray.data.mappings.mappings[i].data)[j].length; k++) {
5879
- html += ('<sf-i-elastic-text text="' + JSON.parse(sourceArray.data.mappings.mappings[i].data)[j][k] + '" minLength="80"></sf-i-elastic-text>');
5880
- }
5881
- }
5882
- else {
5883
- html += ('<sf-i-elastic-text text="' + JSON.parse(sourceArray.data.mappings.mappings[i].data)[j] + '" minLength="80"></sf-i-elastic-text>');
5884
- }
5885
- html += '</td>';
5886
- }
5875
+ // for(var j = 0; j < JSON.parse(sourceArray.data.mappings.mappings[0].cols).length; j++) {
5876
+ // html += '<td class="td-body '+classBg+'" part="td-body">';
5877
+ // if(Array.isArray(JSON.parse(sourceArray.data.mappings.mappings[i].data)[j])) {
5878
+ // for(var k = 0; k < JSON.parse(sourceArray.data.mappings.mappings[i].data)[j].length; k++) {
5879
+ // html += ('<sf-i-elastic-text text="'+JSON.parse(sourceArray.data.mappings.mappings[i].data)[j][k]+'" minLength="80"></sf-i-elastic-text>');
5880
+ // }
5881
+ // } else {
5882
+ // html += ('<sf-i-elastic-text text="'+JSON.parse(sourceArray.data.mappings.mappings[i].data)[j]+'" minLength="80"></sf-i-elastic-text>')
5883
+ // }
5884
+ // html += '</td>';
5885
+ // }
5887
5886
  html += '</tr>';
5888
5887
  console.log('i=', i);
5889
5888
  }
@@ -6187,7 +6186,7 @@ let SfIEvents = class SfIEvents extends LitElement {
6187
6186
  html += '<div id="functions-list-container" class="d-flex flex-col w-100 scroll-x">';
6188
6187
  html += '</div>';
6189
6188
  this._SfOnboardingFunctionsContainer.innerHTML = html;
6190
- this.renderTaggingTable(this._SfOnboardingFunctionsListContainer, mappedSerializedLocations, mappedFunctions, ["obligation", "country", "statute"], this.uploadFunctionsMapping, this.loadMode, "functions", ["id", "countryname", "entityname", "locationname"], this.apiIdTags, "&Function", ["functions"], functionsJobs);
6189
+ this.renderTaggingTable(this._SfOnboardingFunctionsListContainer, mappedSerializedLocations, mappedFunctions, ["firstlineofdefence", "obligation", "country", "statute"], this.uploadFunctionsMapping, this.loadMode, "functions", ["id", "countryname", "entityname", "locationname"], this.apiIdTags, "&Function", ["functions"], functionsJobs);
6191
6190
  };
6192
6191
  this.renderOnboardingLocations = (mappedLocations, mappedSerializedEntities, locationsJobs) => {
6193
6192
  var html = '';