sf-i-events 1.0.783 → 1.0.784

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.783",
4
+ "version": "1.0.784",
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
@@ -1231,7 +1231,7 @@ let SfIEvents = class SfIEvents extends LitElement {
1231
1231
  this.lastupdated = "";
1232
1232
  this.changedOnboardingItemIds = [];
1233
1233
  this.selectedCountryIndex = 0;
1234
- this.selectedRegisterIndex = 0;
1234
+ this.selectedRegisterIndex = -1;
1235
1235
  this.selectallblock = "100";
1236
1236
  this.isSelectedLegend = (value) => {
1237
1237
  return this.chartSelectedLegend.includes(value);
@@ -4789,7 +4789,7 @@ let SfIEvents = class SfIEvents extends LitElement {
4789
4789
  for (var i = 0; i < Object.keys(objCountry).length; i++) {
4790
4790
  const statute = Object.keys(objCountry)[i];
4791
4791
  // this.csvDataRegisters += ('\n\n"' + statute + '"\n\n');
4792
- html += ('<h3 part="register-section-title-' + (i != 0 ? 'not-selected' : 'selected') + '" class="left-sticky register-statute" id="register-statute-' + i + '">' + statute + '</h3>');
4792
+ html += ('<h3 part="register-section-title-' + (i != this.selectedRegisterIndex ? 'not-selected' : 'selected') + '" class="left-sticky register-statute" id="register-statute-' + i + '">' + statute + '</h3>');
4793
4793
  // html += '<div class="w-100p scroll-x '+(i != 0 ? 'hide' : '')+'" id="register-body-'+i+'" >';
4794
4794
  // html += '<table>';
4795
4795
  if (i == this.selectedRegisterIndex && meta == "") {
@@ -4809,7 +4809,7 @@ let SfIEvents = class SfIEvents extends LitElement {
4809
4809
  const data = JSON.parse(compliance.data);
4810
4810
  const cols = JSON.parse(compliance.cols);
4811
4811
  this.csvDataRegisters += ('"' + complianceId + '",');
4812
- html += '<div class="w-100p scroll-x ' + (i != this.selectedRegisterIndex ? 'hide' : '') + ' register-body-' + i + '" part="' + (i != this.selectedRegisterIndex ? 'register-section-title-not-selected' : 'register-section-title-selected') + '" >';
4812
+ html += '<div class="w-100p scroll-x ' + (i != this.selectedRegisterIndex ? 'hide' : '') + ' register-body-' + i + '">';
4813
4813
  html += '<table>';
4814
4814
  html += '<tr>';
4815
4815
  html += ('<td class="td-body left-sticky" part="td-body-register"><button part="button-icon" id="button-icon-country-' + index + '-' + i + '-' + j + '" class="button-icon-country"><span class="material-symbols-outlined">open_in_new</span></button></td>');
@@ -1638,7 +1638,7 @@ export class SfIEvents extends LitElement {
1638
1638
 
1639
1639
  selectedCountryIndex: number = 0;
1640
1640
 
1641
- selectedRegisterIndex: number = 0;
1641
+ selectedRegisterIndex: number = -1;
1642
1642
 
1643
1643
  @property()
1644
1644
  selectallblock: string = "100";
@@ -7356,7 +7356,7 @@ export class SfIEvents extends LitElement {
7356
7356
 
7357
7357
  // this.csvDataRegisters += ('\n\n"' + statute + '"\n\n');
7358
7358
 
7359
- html += ('<h3 part="register-section-title-'+(i != 0 ? 'not-selected' : 'selected')+'" class="left-sticky register-statute" id="register-statute-'+i+'">'+statute+'</h3>');
7359
+ html += ('<h3 part="register-section-title-'+(i != this.selectedRegisterIndex ? 'not-selected' : 'selected')+'" class="left-sticky register-statute" id="register-statute-'+i+'">'+statute+'</h3>');
7360
7360
  // html += '<div class="w-100p scroll-x '+(i != 0 ? 'hide' : '')+'" id="register-body-'+i+'" >';
7361
7361
  // html += '<table>';
7362
7362
 
@@ -7378,7 +7378,7 @@ export class SfIEvents extends LitElement {
7378
7378
  const data = JSON.parse(compliance.data);
7379
7379
  const cols = JSON.parse(compliance.cols);
7380
7380
  this.csvDataRegisters += ('"' + complianceId + '",');
7381
- html += '<div class="w-100p scroll-x '+(i != this.selectedRegisterIndex ? 'hide' : '')+' register-body-'+i+'" part="' + (i != this.selectedRegisterIndex ? 'register-section-title-not-selected' : 'register-section-title-selected') +'" >';
7381
+ html += '<div class="w-100p scroll-x '+(i != this.selectedRegisterIndex ? 'hide' : '')+' register-body-'+i+'">';
7382
7382
  html += '<table>';
7383
7383
  html += '<tr>';
7384
7384
  html += ('<td class="td-body left-sticky" part="td-body-register"><button part="button-icon" id="button-icon-country-'+index+'-'+i+'-'+j+'" class="button-icon-country"><span class="material-symbols-outlined">open_in_new</span></button></td>');