sf-i-events 1.0.798 → 1.0.799

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.798",
4
+ "version": "1.0.799",
5
5
  "description": "Superflows Navigation Component",
6
6
  "main": "sf-i-events.js",
7
7
  "module": "sf-i-events.js",
package/sf-i-events.d.ts CHANGED
@@ -282,6 +282,7 @@ export declare class SfIEvents extends LitElement {
282
282
  selectedCountryIndex: number;
283
283
  selectedRegisterIndex: number;
284
284
  selectallblock: string;
285
+ graphFilter: string;
285
286
  static styles: import("lit").CSSResult;
286
287
  _SfIEventsC: any;
287
288
  _SfRowError: any;
package/sf-i-events.js CHANGED
@@ -1234,6 +1234,7 @@ let SfIEvents = class SfIEvents extends LitElement {
1234
1234
  this.selectedCountryIndex = 0;
1235
1235
  this.selectedRegisterIndex = -1;
1236
1236
  this.selectallblock = "100";
1237
+ this.graphFilter = "";
1237
1238
  this.isSelectedLegend = (value) => {
1238
1239
  return this.chartSelectedLegend.includes(value);
1239
1240
  };
@@ -1290,7 +1291,7 @@ let SfIEvents = class SfIEvents extends LitElement {
1290
1291
  this.barCharDataSet4.pop();
1291
1292
  }
1292
1293
  }
1293
- this.processGraphFilter("");
1294
+ this.processGraphFilter(this.graphFilter);
1294
1295
  this.selectedFilters = null;
1295
1296
  };
1296
1297
  this.getEventField = (field) => {
@@ -3728,7 +3729,9 @@ let SfIEvents = class SfIEvents extends LitElement {
3728
3729
  });
3729
3730
  this._SfUploader[0].querySelector('#uploader').addEventListener('analysisCompleted', (_ev) => {
3730
3731
  console.log('uploader analysisInProgress', _ev);
3731
- listReportingContainer.querySelector('.uploader-analysis-message').style.display = "none";
3732
+ if (listReportingContainer.querySelector('.uploader-analysis-message') != null) {
3733
+ listReportingContainer.querySelector('.uploader-analysis-message').style.display = "none";
3734
+ }
3732
3735
  });
3733
3736
  //console.log('documentType checking', documentType);
3734
3737
  if (event.documentType != null) {
@@ -15457,6 +15460,7 @@ let SfIEvents = class SfIEvents extends LitElement {
15457
15460
  }
15458
15461
  if (eventContainer == null)
15459
15462
  return;
15463
+ this.graphFilter = clickedValue;
15460
15464
  this.selectedItemIds = [];
15461
15465
  const buttonSelect = eventContainer.querySelectorAll('.button-select');
15462
15466
  // for(let checkSelect of buttonSelect){
@@ -1645,6 +1645,8 @@ export class SfIEvents extends LitElement {
1645
1645
  @property()
1646
1646
  selectallblock: string = "100";
1647
1647
 
1648
+ graphFilter:string = "";
1649
+
1648
1650
  static override styles = css`
1649
1651
 
1650
1652
  .bg-white {
@@ -3091,7 +3093,7 @@ export class SfIEvents extends LitElement {
3091
3093
  }
3092
3094
  }
3093
3095
 
3094
- this.processGraphFilter("");
3096
+ this.processGraphFilter(this.graphFilter);
3095
3097
  this.selectedFilters = null;
3096
3098
  }
3097
3099
 
@@ -6113,7 +6115,9 @@ export class SfIEvents extends LitElement {
6113
6115
  });
6114
6116
  this._SfUploader[0].querySelector('#uploader').addEventListener('analysisCompleted', (_ev: any) => {
6115
6117
  console.log('uploader analysisInProgress', _ev);
6116
- (listReportingContainer.querySelector('.uploader-analysis-message') as HTMLDivElement).style.display = "none"
6118
+ if((listReportingContainer.querySelector('.uploader-analysis-message') as HTMLDivElement) != null){
6119
+ (listReportingContainer.querySelector('.uploader-analysis-message') as HTMLDivElement).style.display = "none"
6120
+ }
6117
6121
  });
6118
6122
 
6119
6123
 
@@ -20632,7 +20636,7 @@ export class SfIEvents extends LitElement {
20632
20636
  }
20633
20637
 
20634
20638
  if(eventContainer == null) return;
20635
-
20639
+ this.graphFilter = clickedValue
20636
20640
  this.selectedItemIds = [];
20637
20641
 
20638
20642
  const buttonSelect = eventContainer!.querySelectorAll('.button-select') as NodeListOf<HTMLInputElement>;