sf-i-events 1.0.557 → 1.0.559

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.557",
4
+ "version": "1.0.559",
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
@@ -7207,35 +7207,34 @@ let SfIEvents = class SfIEvents extends LitElement {
7207
7207
  }
7208
7208
  }
7209
7209
  }
7210
- if (!showSearch) {
7211
- // check showSearch in source cols
7212
- for (l = 0; l < sourceCols.length; l++) {
7213
- for (var j = 0; j < JSON.parse(sourceArray.data.mappings.mappings[0].cols).length; j++) {
7214
- if (sourceCols[l] == JSON.parse(sourceArray.data.mappings.mappings[0].cols)[j]) {
7215
- if (sourceArray.data.mappings.mappings[i].data != null) {
7216
- if (Array.isArray(JSON.parse(sourceArray.data.mappings.mappings[i].data)[j])) {
7217
- for (var k = 0; k < JSON.parse(sourceArray.data.mappings.mappings[i].data)[j].length; k++) {
7218
- if (JSON.parse(sourceArray.data.mappings.mappings[i].data)[j][k].toLowerCase().indexOf(subfilter.toLowerCase()) >= 0) {
7219
- //console.log('showsearch true 4');
7220
- showSearch = true;
7221
- subfiltered++;
7222
- break;
7223
- }
7224
- }
7225
- }
7226
- else {
7227
- if (JSON.parse(sourceArray.data.mappings.mappings[i].data)[j].toLowerCase().indexOf(subfilter.toLowerCase()) >= 0) {
7228
- //console.log('showsearch true 5');
7229
- showSearch = true;
7230
- subfiltered++;
7231
- break;
7232
- }
7233
- }
7234
- }
7235
- }
7236
- }
7237
- }
7238
- }
7210
+ // if(!showSearch) {
7211
+ // // check showSearch in source cols
7212
+ // for(l = 0; l < sourceCols.length; l++) {
7213
+ // for(var j = 0; j < JSON.parse(sourceArray.data.mappings.mappings[0].cols).length; j++) {
7214
+ // if(sourceCols[l] == JSON.parse(sourceArray.data.mappings.mappings[0].cols)[j]) {
7215
+ // if(sourceArray.data.mappings.mappings[i].data != null) {
7216
+ // if(Array.isArray(JSON.parse(sourceArray.data.mappings.mappings[i].data)[j])) {
7217
+ // for(var k = 0; k < JSON.parse(sourceArray.data.mappings.mappings[i].data)[j].length; k++) {
7218
+ // if(JSON.parse(sourceArray.data.mappings.mappings[i].data)[j][k].toLowerCase().indexOf(subfilter.toLowerCase()) >= 0) {
7219
+ // //console.log('showsearch true 4');
7220
+ // showSearch = true;
7221
+ // subfiltered++;
7222
+ // break;
7223
+ // }
7224
+ // }
7225
+ // } else {
7226
+ // if(JSON.parse(sourceArray.data.mappings.mappings[i].data)[j].toLowerCase().indexOf(subfilter.toLowerCase()) >= 0) {
7227
+ // //console.log('showsearch true 5');
7228
+ // showSearch = true;
7229
+ // subfiltered++;
7230
+ // break;
7231
+ // }
7232
+ // }
7233
+ // }
7234
+ // }
7235
+ // }
7236
+ // }
7237
+ // }
7239
7238
  var classBg = "";
7240
7239
  if (i % 2 === 0) {
7241
7240
  classBg = 'td-light';
@@ -8550,7 +8549,7 @@ let SfIEvents = class SfIEvents extends LitElement {
8550
8549
  html += '<div id="approvers-list-container" class="d-flex flex-col w-100 scroll-x">';
8551
8550
  html += '</div>';
8552
8551
  this._SfOnboardingApproversContainer.innerHTML = html;
8553
- this.renderTaggingTable(this._SfOnboardingApproversListContainer, mappedSerializedReporters, mappedApprovers, ["firstlineofdefence", "obligation", "country", "statute", "reference"], this.uploadApproversMapping, this.loadOnboardingApprovers, "approvers", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["approvers"], approversJobs, null, ["Client remarks", "FlaggGRC response"], arrFeedbackReference, "Guidelines", "");
8552
+ this.renderTaggingTable(this._SfOnboardingApproversListContainer, mappedSerializedReporters, mappedApprovers, ["obligation", "firstlineofdefence", "country", "statute", "reference"], this.uploadApproversMapping, this.loadOnboardingApprovers, "approvers", ["id", "entityname", "locationname"], this.apiIdUsers, "", ["approvers"], approversJobs, null, ["Client remarks", "FlaggGRC response"], arrFeedbackReference, "Guidelines", "");
8554
8553
  };
8555
8554
  this.renderOnboardingFunctionHeads = (mappedFunctionHeads, mappedSerializedApprovers, functionHeadsJobs, arrFeedbackReference) => {
8556
8555
  var html = '';