sf-i-events 1.0.211 → 1.0.213

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.213",
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
  }
@@ -6138,63 +6137,63 @@ let SfIEvents = class SfIEvents extends LitElement {
6138
6137
  html += '<div id="internalcontrols-list-container" class="d-flex flex-col w-100 scroll-x">';
6139
6138
  html += '</div>';
6140
6139
  this._SfOnboardingInternalControlsContainer.innerHTML = html;
6141
- this.renderTaggingTable(this._SfOnboardingInternalControlsListContainer, mappedSerializedAlertSchedules, mappedInternalControls, ["obligation", "country", "statute"], this.uploadInternalControlsMapping, this.loadMode, "internalcontrols", ["id", "entityname", "locationname"], '', "", ["reporters", "functions", "tags", "approvers", "duedates", "alertschedules", "internalcontrols"], internalcontrolsJobs);
6140
+ this.renderTaggingTable(this._SfOnboardingInternalControlsListContainer, mappedSerializedAlertSchedules, mappedInternalControls, ["firstlineofdefence", "obligation", "country", "statute"], this.uploadInternalControlsMapping, this.loadMode, "internalcontrols", ["id", "entityname", "locationname"], '', "", ["reporters", "functions", "tags", "approvers", "duedates", "alertschedules", "internalcontrols"], internalcontrolsJobs);
6142
6141
  };
6143
6142
  this.renderOnboardingAlertSchedules = (mappedAlertSchedules, mappedSerializedDuedates, alertschedulesJobs) => {
6144
6143
  var html = '';
6145
6144
  html += '<div id="alertschedules-list-container" class="d-flex flex-col w-100 scroll-x">';
6146
6145
  html += '</div>';
6147
6146
  this._SfOnboardingAlertSchedulesContainer.innerHTML = html;
6148
- this.renderTaggingTable(this._SfOnboardingAlertSchedulesListContainer, mappedSerializedDuedates, mappedAlertSchedules, ["obligation", "country", "statute"], this.uploadAlertSchedulesMapping, this.loadMode, "alertschedules", ["id", "entityname", "locationname"], '', "", ["reporters", "functions", "tags", "approvers", "duedates", "alertschedules"], alertschedulesJobs);
6147
+ this.renderTaggingTable(this._SfOnboardingAlertSchedulesListContainer, mappedSerializedDuedates, mappedAlertSchedules, ["firstlineofdefence", "obligation", "country", "statute"], this.uploadAlertSchedulesMapping, this.loadMode, "alertschedules", ["id", "entityname", "locationname"], '', "", ["reporters", "functions", "tags", "approvers", "duedates", "alertschedules"], alertschedulesJobs);
6149
6148
  };
6150
6149
  this.renderOnboardingDuedates = (mappedDuedates, mappedSerializedApprovers, duedatesJobs) => {
6151
6150
  var html = '';
6152
6151
  html += '<div id="duedates-list-container" class="d-flex flex-col w-100 scroll-x">';
6153
6152
  html += '</div>';
6154
6153
  this._SfOnboardingDuedatesContainer.innerHTML = html;
6155
- this.renderTaggingTable(this._SfOnboardingDuedatesListContainer, mappedSerializedApprovers, mappedDuedates, ["obligation", "country", "statute"], this.uploadDuedatesMapping, this.loadMode, "duedates", ["id", "entityname", "locationname"], '', "", ["reporters", "functions", "tags", "approvers", "duedates"], duedatesJobs);
6154
+ this.renderTaggingTable(this._SfOnboardingDuedatesListContainer, mappedSerializedApprovers, mappedDuedates, ["firstlineofdefence", "obligation", "country", "statute"], this.uploadDuedatesMapping, this.loadMode, "duedates", ["id", "entityname", "locationname"], '', "", ["reporters", "functions", "tags", "approvers", "duedates"], duedatesJobs);
6156
6155
  };
6157
6156
  this.renderOnboardingReporters = (mappedReporters, mappedSerializedTags, reportersJobs) => {
6158
6157
  var html = '';
6159
6158
  html += '<div id="reporters-list-container" class="d-flex flex-col w-100 scroll-x">';
6160
6159
  html += '</div>';
6161
6160
  this._SfOnboardingReportersContainer.innerHTML = html;
6162
- this.renderTaggingTable(this._SfOnboardingReportersListContainer, mappedSerializedTags, mappedReporters, ["obligation", "country", "statute"], this.uploadReportersMapping, this.loadMode, "reporters", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["reporters", "functions", "tags"], reportersJobs);
6161
+ this.renderTaggingTable(this._SfOnboardingReportersListContainer, mappedSerializedTags, mappedReporters, ["firstlineofdefence", "obligation", "country", "statute"], this.uploadReportersMapping, this.loadMode, "reporters", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["reporters", "functions", "tags"], reportersJobs);
6163
6162
  };
6164
6163
  this.renderOnboardingApprovers = (mappedApprovers, mappedSerializedReporters, approversJobs) => {
6165
6164
  var html = '';
6166
6165
  html += '<div id="approvers-list-container" class="d-flex flex-col w-100 scroll-x">';
6167
6166
  html += '</div>';
6168
6167
  this._SfOnboardingApproversContainer.innerHTML = html;
6169
- this.renderTaggingTable(this._SfOnboardingApproversListContainer, mappedSerializedReporters, mappedApprovers, ["obligation", "country", "statute"], this.uploadApproversMapping, this.loadMode, "approvers", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["approvers", "functions", "tags", "reporters"], approversJobs);
6168
+ this.renderTaggingTable(this._SfOnboardingApproversListContainer, mappedSerializedReporters, mappedApprovers, ["firstlineofdefence", "obligation", "country", "statute"], this.uploadApproversMapping, this.loadMode, "approvers", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["approvers", "functions", "tags", "reporters"], approversJobs);
6170
6169
  };
6171
6170
  this.renderOnboardingFunctionHeads = (mappedFunctionHeads, mappedSerializedApprovers, functionHeadsJobs) => {
6172
6171
  var html = '';
6173
6172
  html += '<div id="functionheads-list-container" class="d-flex flex-col w-100 scroll-x">';
6174
6173
  html += '</div>';
6175
6174
  this._SfOnboardingFunctionHeadsContainer.innerHTML = html;
6176
- this.renderTaggingTable(this._SfOnboardingFunctionHeadsListContainer, mappedSerializedApprovers, mappedFunctionHeads, ["obligation", "country", "statute"], this.uploadFunctionHeadsMapping, this.loadMode, "functionheads", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["approvers", "functions", "tags", "reporters", "functionheads"], functionHeadsJobs);
6175
+ this.renderTaggingTable(this._SfOnboardingFunctionHeadsListContainer, mappedSerializedApprovers, mappedFunctionHeads, ["firstlineofdefence", "obligation", "country", "statute"], this.uploadFunctionHeadsMapping, this.loadMode, "functionheads", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["approvers", "functions", "tags", "reporters", "functionheads"], functionHeadsJobs);
6177
6176
  };
6178
6177
  this.renderOnboardingTags = (mappedTags, mappedSerializedFunctions, tagsJobs) => {
6179
6178
  var html = '';
6180
6179
  html += '<div id="tags-list-container" class="d-flex flex-col w-100 scroll-x">';
6181
6180
  html += '</div>';
6182
6181
  this._SfOnboardingTagsContainer.innerHTML = html;
6183
- this.renderTaggingTable(this._SfOnboardingTagsListContainer, mappedSerializedFunctions, mappedTags, ["obligation", "country", "statute"], this.uploadTagsMapping, this.loadMode, "tags", ["id", "countryname", "entityname", "locationname"], this.apiIdTags, "&Tag", ["tags", "functions"], tagsJobs);
6182
+ this.renderTaggingTable(this._SfOnboardingTagsListContainer, mappedSerializedFunctions, mappedTags, ["firstlineofdefence", "obligation", "country", "statute"], this.uploadTagsMapping, this.loadMode, "tags", ["id", "countryname", "entityname", "locationname"], this.apiIdTags, "&Tag", ["tags", "functions"], tagsJobs);
6184
6183
  };
6185
6184
  this.renderOnboardingFunctions = (mappedFunctions, mappedSerializedLocations, functionsJobs) => {
6186
6185
  var html = '';
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 = '';
6194
6193
  html += '<div id="locations-list-container" class="d-flex flex-col w-100 scroll-x">';
6195
6194
  html += '</div>';
6196
6195
  this._SfOnboardingLocationsContainer.innerHTML = html;
6197
- this.renderTaggingTable(this._SfOnboardingLocationsListContainer, mappedSerializedEntities, mappedLocations, ["obligation", "country", "statute"], this.uploadLocationsMapping, this.loadMode, "locations", ["id", "countryname", "entityname"], this.apiIdTags, "&Location", ["locations"], locationsJobs);
6196
+ this.renderTaggingTable(this._SfOnboardingLocationsListContainer, mappedSerializedEntities, mappedLocations, ["firstlineofdefence", "obligation", "country", "statute"], this.uploadLocationsMapping, this.loadMode, "locations", ["id", "countryname", "entityname"], this.apiIdTags, "&Location", ["locations"], locationsJobs);
6198
6197
  };
6199
6198
  this.renderOnboardingCompliances = (mappedStatutes, mappedCompliances) => {
6200
6199
  console.log('mappedcompliances', mappedCompliances);
@@ -6259,7 +6258,7 @@ let SfIEvents = class SfIEvents extends LitElement {
6259
6258
  html += '<div id="entities-list-container" class="d-flex flex-col w-100 scroll-x">';
6260
6259
  html += '</div>';
6261
6260
  this._SfOnboardingEntitiesContainer.innerHTML = html;
6262
- this.renderTaggingTable(this._SfOnboardingEntitiesListContainer, mappedSerializedCountries, mappedEntities, ["obligation", "country", "statute"], this.uploadEntitiesMapping, this.loadMode, "entities", ["id", "countryname"], this.apiIdTags, "&Entity", ["entities"], entitiesJobs);
6261
+ this.renderTaggingTable(this._SfOnboardingEntitiesListContainer, mappedSerializedCountries, mappedEntities, ["firstlineofdefence", "obligation", "country", "statute"], this.uploadEntitiesMapping, this.loadMode, "entities", ["id", "countryname"], this.apiIdTags, "&Entity", ["entities"], entitiesJobs);
6263
6262
  };
6264
6263
  this.renderOnboardingCountries = (mappedCountries, mappedCompliances, countriesJobs) => {
6265
6264
  var html = '';
@@ -6280,7 +6279,7 @@ let SfIEvents = class SfIEvents extends LitElement {
6280
6279
  // }
6281
6280
  // }
6282
6281
  // mappedCountries.data.mappings.mappings = arr2;
6283
- this.renderTaggingTable(this._SfOnboardingCountriesListContainer, mappedCompliances, mappedCountries, ["obligation", "country", "statute"], this.uploadCountriesMapping, this.loadMode, "countries", ["id"], this.apiIdTags, "-Country", ["countries"], countriesJobs);
6282
+ this.renderTaggingTable(this._SfOnboardingCountriesListContainer, mappedCompliances, mappedCountries, ["firstlineofdefence", "obligation", "country", "statute"], this.uploadCountriesMapping, this.loadMode, "countries", ["id"], this.apiIdTags, "-Country", ["countries"], countriesJobs);
6284
6283
  };
6285
6284
  this.renderOnboardingStatutes = (mappedStatutes) => {
6286
6285
  var initCursor = "";