sf-i-events 1.0.775 → 1.0.776

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/dev/index.html CHANGED
@@ -628,7 +628,7 @@
628
628
  </style>
629
629
  </head>
630
630
  <body>
631
- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat" apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws" fill="solid" username="Local Reporter 1" userprofileid="e9684b5d-ddbc-46d3-ae07-51706bf75410" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" countryid="58c90fb5-9d1d-46bc-9b1a-2cf3e353eed0" myrole="reporter" showregisterexport="false" features="[&quot;notices&quot;]" eventfielddependencies="[{&quot;type&quot;: &quot;foreignkey&quot;, &quot;parent&quot;: &quot;country&quot;, &quot;child&quot;: &quot;state&quot;},{&quot;type&quot;: &quot;foreignkey&quot;, &quot;parent&quot;: &quot;category&quot;, &quot;child&quot;: &quot;subcategory&quot;},{&quot;type&quot;: &quot;foreignkey&quot;, &quot;parent&quot;: &quot;frequency&quot;, &quot;child&quot;: &quot;subfrequency&quot;}]" eventfields="[{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/riskarea&quot;, &quot;field&quot;: &quot;riskarea&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/jurisdiction&quot;, &quot;field&quot;: &quot;jurisdiction&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/updatetype&quot;, &quot;field&quot;: &quot;updatetype&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/country&quot;, &quot;field&quot;: &quot;country&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/specificity&quot;, &quot;field&quot;: &quot;specificity&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/risk&quot;, &quot;field&quot;: &quot;risk&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/frequency&quot;, &quot;field&quot;: &quot;frequency&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/category&quot;, &quot;field&quot;: &quot;category&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/obligationtype&quot;, &quot;field&quot;: &quot;obligationtype&quot;},{&quot;type&quot;: &quot;sf-i-sub-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/state&quot;, &quot;field&quot;: &quot;state&quot;},{&quot;type&quot;: &quot;sf-i-sub-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/subfrequency&quot;, &quot;field&quot;: &quot;subfrequency&quot;},{&quot;type&quot;: &quot;sf-i-sub-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/subcategory&quot;, &quot;field&quot;: &quot;subcategory&quot;},{&quot;type&quot;: &quot;sf-i-form&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/statute&quot;, &quot;field&quot;: &quot;statute&quot;, &quot;projectField&quot;: &quot;name&quot;}]" eventpreviewfields="[&quot;obligation&quot;]" eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2024">
631
+ <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer" apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat" apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws" fill="solid" username="Chief Compliance Officer" userprofileid="5fe96caa-1a44-4a2d-921a-920d29433eca" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="functionhead" showregisterexport="false" features="[&quot;notices&quot;]" eventfielddependencies="[{&quot;type&quot;: &quot;foreignkey&quot;, &quot;parent&quot;: &quot;country&quot;, &quot;child&quot;: &quot;state&quot;},{&quot;type&quot;: &quot;foreignkey&quot;, &quot;parent&quot;: &quot;category&quot;, &quot;child&quot;: &quot;subcategory&quot;},{&quot;type&quot;: &quot;foreignkey&quot;, &quot;parent&quot;: &quot;frequency&quot;, &quot;child&quot;: &quot;subfrequency&quot;}]" eventfields="[{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/riskarea&quot;, &quot;field&quot;: &quot;riskarea&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/jurisdiction&quot;, &quot;field&quot;: &quot;jurisdiction&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/updatetype&quot;, &quot;field&quot;: &quot;updatetype&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/country&quot;, &quot;field&quot;: &quot;country&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/specificity&quot;, &quot;field&quot;: &quot;specificity&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/risk&quot;, &quot;field&quot;: &quot;risk&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/frequency&quot;, &quot;field&quot;: &quot;frequency&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/category&quot;, &quot;field&quot;: &quot;category&quot;},{&quot;type&quot;: &quot;sf-i-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/obligationtype&quot;, &quot;field&quot;: &quot;obligationtype&quot;},{&quot;type&quot;: &quot;sf-i-sub-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/state&quot;, &quot;field&quot;: &quot;state&quot;},{&quot;type&quot;: &quot;sf-i-sub-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/subfrequency&quot;, &quot;field&quot;: &quot;subfrequency&quot;},{&quot;type&quot;: &quot;sf-i-sub-select&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/subcategory&quot;, &quot;field&quot;: &quot;subcategory&quot;},{&quot;type&quot;: &quot;sf-i-form&quot;, &quot;apiId&quot;: &quot;dnytrdlrmxgsy.cloudfront.net/statute&quot;, &quot;field&quot;: &quot;statute&quot;, &quot;projectField&quot;: &quot;name&quot;}]" eventpreviewfields="[&quot;obligation&quot;]" eventhidefields="[&quot;comments&quot;,&quot;documents&quot;,&quot;lastupdated&quot;,&quot;approved&quot;,&quot;tags&quot;]" calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2024">
632
632
 
633
633
  <div slot="uploader">
634
634
  <sf-i-uploader id="uploader" max="10" apiid="1peg5170d3" allowedextensions="[&quot;jpg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;]" extract="yes" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" maxsize="5242880" allowdownload="yes"></sf-i-uploader>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.775",
4
+ "version": "1.0.776",
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
@@ -495,7 +495,7 @@ export declare class SfIEvents extends LitElement {
495
495
  checkEndDateLateness: (value: string) => boolean;
496
496
  attachHandlers: (eventContainer: HTMLDivElement, valueStart: string, valueEnd: string) => void;
497
497
  processFindSelection: (eventContainer: HTMLDivElement, searchString: string) => Promise<void>;
498
- processDateSelection: (eventContainer: HTMLDivElement, fetchData?: boolean) => Promise<void>;
498
+ processDateSelection: (eventContainer: HTMLDivElement, fetchData?: boolean, showBackgroundButton?: boolean) => Promise<void>;
499
499
  processDateSelectionViewer: (eventContainer: HTMLDivElement) => Promise<void>;
500
500
  initFindRightCol: () => void;
501
501
  initCustomRightCol: () => void;
package/sf-i-events.js CHANGED
@@ -3532,10 +3532,10 @@ let SfIEvents = class SfIEvents extends LitElement {
3532
3532
  this.fetchNext(this.nextPage, this.nextTabRole, this.nextTabStatus);
3533
3533
  }
3534
3534
  else {
3535
- if (this.getCurrentTab() == this.TAB_CUSTOM) {
3536
- this.processDateSelection(this._SfCustomContainer);
3537
- }
3538
- else if (this.getCurrentTab() == this.TAB_FIND) {
3535
+ // if(this.getCurrentTab() == this.TAB_CUSTOM) {
3536
+ // this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
3537
+ // } else
3538
+ if (this.getCurrentTab() == this.TAB_FIND) {
3539
3539
  const searchString = this._SfFindContainer.querySelector('#stream-search').value;
3540
3540
  this.processFindSelection(this._SfFindContainer, searchString);
3541
3541
  }
@@ -4848,7 +4848,7 @@ let SfIEvents = class SfIEvents extends LitElement {
4848
4848
  this.renderCompletenessGraph(eventContainer);
4849
4849
  }
4850
4850
  };
4851
- this.processDateSelection = async (eventContainer, fetchData = true) => {
4851
+ this.processDateSelection = async (eventContainer, fetchData = true, showBackgroundButton = false) => {
4852
4852
  var startDateCalendar = new Date(this.calendarStartMM + '/' + this.calendarStartDD + '/' + this.calendarStartYYYY);
4853
4853
  var endDateCalendar = new Date(this.calendarStartMM + '/' + this.calendarStartDD + '/' + (parseInt(this.calendarStartYYYY) + 1));
4854
4854
  var valueStart = this._SfCustomContainer.querySelector('#stream-start-date').value;
@@ -4887,7 +4887,7 @@ let SfIEvents = class SfIEvents extends LitElement {
4887
4887
  await this.renderWithFeatures((tsStart.getMonth() + 1) + "/" + tsStart.getDate() + "/" + tsStart.getFullYear(), (tsEnd.getMonth() + 1) + "/" + tsEnd.getDate() + "/" + tsEnd.getFullYear());
4888
4888
  // await this.fetchAndYearlyRenderUserCalendar_2((tsStart.getMonth() + 1) + "/" + tsStart.getDate() + "/" + tsStart.getFullYear(), (tsEnd.getMonth() + 1) + "/" + tsEnd.getDate() + "/" + tsEnd.getFullYear());
4889
4889
  }
4890
- this.renderRangeEvents(new Date(valueStart), ((new Date(valueEnd).getTime() + 24 * 60 * 60 * 1000) - new Date(valueStart).getTime()) / (1000 * 60 * 60 * 24), this._SfCustomContainer);
4890
+ this.renderRangeEvents(new Date(valueStart), ((new Date(valueEnd).getTime() + 24 * 60 * 60 * 1000) - new Date(valueStart).getTime()) / (1000 * 60 * 60 * 24), this._SfCustomContainer, showBackgroundButton);
4891
4891
  }
4892
4892
  else if (valueStart != "" && valueEnd == "") {
4893
4893
  this._SfStreamEventStatus.innerHTML = "Please select End Date";
@@ -8591,10 +8591,10 @@ let SfIEvents = class SfIEvents extends LitElement {
8591
8591
  this.renderRoleTabsNext(this.nextPage);
8592
8592
  }
8593
8593
  else {
8594
- if (this.getCurrentTab() == this.TAB_CUSTOM) {
8595
- this.processDateSelection(this._SfCustomContainer);
8596
- }
8597
- else if (this.getCurrentTab() == this.TAB_FIND) {
8594
+ // if(this.getCurrentTab() == this.TAB_CUSTOM) {
8595
+ // this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
8596
+ // } else
8597
+ if (this.getCurrentTab() == this.TAB_FIND) {
8598
8598
  const searchString = this._SfFindContainer.querySelector('#stream-search').value;
8599
8599
  this.processFindSelection(this._SfFindContainer, searchString);
8600
8600
  }
@@ -8887,10 +8887,10 @@ let SfIEvents = class SfIEvents extends LitElement {
8887
8887
  this.fetchNext(this.nextPage, this.nextTabRole, this.nextTabStatus);
8888
8888
  }
8889
8889
  else {
8890
- if (this.getCurrentTab() == this.TAB_CUSTOM) {
8891
- this.processDateSelection(this._SfCustomContainer);
8892
- }
8893
- else if (this.getCurrentTab() == this.TAB_FIND) {
8890
+ // if(this.getCurrentTab() == this.TAB_CUSTOM) {
8891
+ // this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
8892
+ // } else
8893
+ if (this.getCurrentTab() == this.TAB_FIND) {
8894
8894
  const searchString = this._SfFindContainer.querySelector('#stream-search').value;
8895
8895
  this.processFindSelection(this._SfFindContainer, searchString);
8896
8896
  }
@@ -9687,10 +9687,10 @@ let SfIEvents = class SfIEvents extends LitElement {
9687
9687
  this.renderRoleTabsNext(this.nextPage);
9688
9688
  }
9689
9689
  else {
9690
- if (this.getCurrentTab() == this.TAB_CUSTOM) {
9691
- this.processDateSelection(this._SfCustomContainer);
9692
- }
9693
- else if (this.getCurrentTab() == this.TAB_FIND) {
9690
+ // if(this.getCurrentTab() == this.TAB_CUSTOM) {
9691
+ // this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
9692
+ // } else
9693
+ if (this.getCurrentTab() == this.TAB_FIND) {
9694
9694
  const searchString = this._SfFindContainer.querySelector('#stream-search').value;
9695
9695
  this.processFindSelection(this._SfFindContainer, searchString);
9696
9696
  }
@@ -9998,10 +9998,10 @@ let SfIEvents = class SfIEvents extends LitElement {
9998
9998
  this.fetchNext(this.nextPage, this.nextTabRole, this.nextTabStatus);
9999
9999
  }
10000
10000
  else {
10001
- if (this.getCurrentTab() == this.TAB_CUSTOM) {
10002
- this.processDateSelection(this._SfCustomContainer);
10003
- }
10004
- else if (this.getCurrentTab() == this.TAB_FIND) {
10001
+ // if(this.getCurrentTab() == this.TAB_CUSTOM) {
10002
+ // this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
10003
+ // } else
10004
+ if (this.getCurrentTab() == this.TAB_FIND) {
10005
10005
  const searchString = this._SfFindContainer.querySelector('#stream-search').value;
10006
10006
  this.processFindSelection(this._SfFindContainer, searchString);
10007
10007
  }
@@ -17592,7 +17592,7 @@ let SfIEvents = class SfIEvents extends LitElement {
17592
17592
  this.renderThis(parseInt(this.currentColumnIndex), showGraph, showBackgroundButton);
17593
17593
  }
17594
17594
  if (this.selectedTab == this.TAB_CUSTOM) {
17595
- this.processDateSelection(this._SfCustomContainer, false);
17595
+ this.processDateSelection(this._SfCustomContainer, false, showBackgroundButton);
17596
17596
  }
17597
17597
  // if(this.selectedTab == this.TAB_PAST) {
17598
17598
  // this.renderPast(parseInt(this.currentColumnIndex), false);
@@ -5588,7 +5588,8 @@ export class SfIEvents extends LitElement {
5588
5588
  }else{
5589
5589
  if(this.getCurrentTab() == this.TAB_CUSTOM) {
5590
5590
  this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
5591
- } else if(this.getCurrentTab() == this.TAB_FIND) {
5591
+ } else
5592
+ if(this.getCurrentTab() == this.TAB_FIND) {
5592
5593
  const searchString = ((this._SfFindContainer as HTMLDivElement).querySelector('#stream-search') as HTMLInputElement).value;
5593
5594
  this.processFindSelection((this._SfFindContainer as HTMLDivElement), searchString);
5594
5595
  } else {
@@ -5901,9 +5902,10 @@ export class SfIEvents extends LitElement {
5901
5902
  if(this.mode == "next"){
5902
5903
  this.fetchNext(this.nextPage, this.nextTabRole, this.nextTabStatus)
5903
5904
  }else{
5904
- if(this.getCurrentTab() == this.TAB_CUSTOM) {
5905
- this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
5906
- } else if(this.getCurrentTab() == this.TAB_FIND) {
5905
+ // if(this.getCurrentTab() == this.TAB_CUSTOM) {
5906
+ // this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
5907
+ // } else
5908
+ if(this.getCurrentTab() == this.TAB_FIND) {
5907
5909
  const searchString = ((this._SfFindContainer as HTMLDivElement).querySelector('#stream-search') as HTMLInputElement).value;
5908
5910
  this.processFindSelection((this._SfFindContainer as HTMLDivElement), searchString);
5909
5911
  } else {
@@ -7457,7 +7459,7 @@ export class SfIEvents extends LitElement {
7457
7459
  }
7458
7460
  }
7459
7461
 
7460
- processDateSelection = async (eventContainer: HTMLDivElement, fetchData: boolean = true) => {
7462
+ processDateSelection = async (eventContainer: HTMLDivElement, fetchData: boolean = true, showBackgroundButton: boolean = false) => {
7461
7463
 
7462
7464
  var startDateCalendar = new Date(this.calendarStartMM + '/' + this.calendarStartDD + '/' + this.calendarStartYYYY);
7463
7465
  var endDateCalendar = new Date(this.calendarStartMM + '/' + this.calendarStartDD + '/' + (parseInt(this.calendarStartYYYY) + 1));
@@ -7501,7 +7503,7 @@ export class SfIEvents extends LitElement {
7501
7503
  await this.renderWithFeatures((tsStart.getMonth() + 1) + "/" + tsStart.getDate() + "/" + tsStart.getFullYear(), (tsEnd.getMonth() + 1) + "/" + tsEnd.getDate() + "/" + tsEnd.getFullYear())
7502
7504
  // await this.fetchAndYearlyRenderUserCalendar_2((tsStart.getMonth() + 1) + "/" + tsStart.getDate() + "/" + tsStart.getFullYear(), (tsEnd.getMonth() + 1) + "/" + tsEnd.getDate() + "/" + tsEnd.getFullYear());
7503
7505
  }
7504
- this.renderRangeEvents(new Date(valueStart), ((new Date(valueEnd).getTime()+24*60*60*1000) - new Date(valueStart).getTime())/(1000*60*60*24), (this._SfCustomContainer as HTMLDivElement));
7506
+ this.renderRangeEvents(new Date(valueStart), ((new Date(valueEnd).getTime()+24*60*60*1000) - new Date(valueStart).getTime())/(1000*60*60*24), (this._SfCustomContainer as HTMLDivElement), showBackgroundButton);
7505
7507
  } else if(valueStart != "" && valueEnd == "") {
7506
7508
  (this._SfStreamEventStatus as HTMLDivElement).innerHTML = "Please select End Date";
7507
7509
  } else if(valueStart == "" && valueEnd != "") {
@@ -12097,9 +12099,10 @@ export class SfIEvents extends LitElement {
12097
12099
  // this.fetchNext(this.nextPage)
12098
12100
  this.renderRoleTabsNext(this.nextPage)
12099
12101
  }else{
12100
- if(this.getCurrentTab() == this.TAB_CUSTOM) {
12101
- this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
12102
- } else if(this.getCurrentTab() == this.TAB_FIND) {
12102
+ // if(this.getCurrentTab() == this.TAB_CUSTOM) {
12103
+ // this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
12104
+ // } else
12105
+ if(this.getCurrentTab() == this.TAB_FIND) {
12103
12106
  const searchString = ((this._SfFindContainer as HTMLDivElement).querySelector('#stream-search') as HTMLInputElement).value;
12104
12107
  this.processFindSelection((this._SfFindContainer as HTMLDivElement), searchString);
12105
12108
  } else {
@@ -12445,9 +12448,10 @@ export class SfIEvents extends LitElement {
12445
12448
  if(this.mode == "next"){
12446
12449
  this.fetchNext(this.nextPage, this.nextTabRole, this.nextTabStatus)
12447
12450
  }else{
12448
- if(this.getCurrentTab() == this.TAB_CUSTOM) {
12449
- this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
12450
- } else if(this.getCurrentTab() == this.TAB_FIND) {
12451
+ // if(this.getCurrentTab() == this.TAB_CUSTOM) {
12452
+ // this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
12453
+ // } else
12454
+ if(this.getCurrentTab() == this.TAB_FIND) {
12451
12455
  const searchString = ((this._SfFindContainer as HTMLDivElement).querySelector('#stream-search') as HTMLInputElement).value;
12452
12456
  this.processFindSelection((this._SfFindContainer as HTMLDivElement), searchString);
12453
12457
  } else {
@@ -13375,9 +13379,10 @@ export class SfIEvents extends LitElement {
13375
13379
  // this.fetchNext(this.nextPage)
13376
13380
  this.renderRoleTabsNext(this.nextPage)
13377
13381
  }else{
13378
- if(this.getCurrentTab() == this.TAB_CUSTOM) {
13379
- this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
13380
- } else if(this.getCurrentTab() == this.TAB_FIND) {
13382
+ // if(this.getCurrentTab() == this.TAB_CUSTOM) {
13383
+ // this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
13384
+ // } else
13385
+ if(this.getCurrentTab() == this.TAB_FIND) {
13381
13386
  const searchString = ((this._SfFindContainer as HTMLDivElement).querySelector('#stream-search') as HTMLInputElement).value;
13382
13387
  this.processFindSelection((this._SfFindContainer as HTMLDivElement), searchString);
13383
13388
  } else {
@@ -13735,9 +13740,10 @@ export class SfIEvents extends LitElement {
13735
13740
  if(this.mode == "next"){
13736
13741
  this.fetchNext(this.nextPage, this.nextTabRole, this.nextTabStatus)
13737
13742
  }else{
13738
- if(this.getCurrentTab() == this.TAB_CUSTOM) {
13739
- this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
13740
- } else if(this.getCurrentTab() == this.TAB_FIND) {
13743
+ // if(this.getCurrentTab() == this.TAB_CUSTOM) {
13744
+ // this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
13745
+ // } else
13746
+ if(this.getCurrentTab() == this.TAB_FIND) {
13741
13747
  const searchString = ((this._SfFindContainer as HTMLDivElement).querySelector('#stream-search') as HTMLInputElement).value;
13742
13748
  this.processFindSelection((this._SfFindContainer as HTMLDivElement), searchString);
13743
13749
  } else {
@@ -23562,7 +23568,7 @@ export class SfIEvents extends LitElement {
23562
23568
  this.renderThis(parseInt(this.currentColumnIndex), showGraph, showBackgroundButton);
23563
23569
  }
23564
23570
  if(this.selectedTab == this.TAB_CUSTOM) {
23565
- this.processDateSelection((this._SfCustomContainer as HTMLDivElement), false)
23571
+ this.processDateSelection((this._SfCustomContainer as HTMLDivElement), false, showBackgroundButton)
23566
23572
  }
23567
23573
  // if(this.selectedTab == this.TAB_PAST) {
23568
23574
  // this.renderPast(parseInt(this.currentColumnIndex), false);