sf-i-events 1.0.774 → 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/Untitled-1.json +4835 -0
- package/dev/Untitled-2.json +38553 -0
- package/dev/index.html +1 -1
- package/package.json +1 -1
- package/sf-i-events.d.ts +1 -1
- package/sf-i-events.js +31 -25
- package/src/sf-i-events.ts +33 -23
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="
|
|
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="["notices"]" eventfielddependencies="[{"type": "foreignkey", "parent": "country", "child": "state"},{"type": "foreignkey", "parent": "category", "child": "subcategory"},{"type": "foreignkey", "parent": "frequency", "child": "subfrequency"}]" eventfields="[{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/riskarea", "field": "riskarea"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/jurisdiction", "field": "jurisdiction"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/updatetype", "field": "updatetype"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/country", "field": "country"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/specificity", "field": "specificity"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/risk", "field": "risk"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/frequency", "field": "frequency"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/category", "field": "category"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/obligationtype", "field": "obligationtype"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/state", "field": "state"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/subfrequency", "field": "subfrequency"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/subcategory", "field": "subcategory"},{"type": "sf-i-form", "apiId": "dnytrdlrmxgsy.cloudfront.net/statute", "field": "statute", "projectField": "name"}]" eventpreviewfields="["obligation"]" eventhidefields="["comments","documents","lastupdated","approved","tags"]" 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="["jpg","png","pdf","xls","xlsx","doc","docx"]" extract="yes" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" maxsize="5242880" allowdownload="yes"></sf-i-uploader>
|
package/package.json
CHANGED
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) => 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
|
|
3536
|
-
|
|
3537
|
-
}
|
|
3538
|
-
|
|
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
|
}
|
|
@@ -3701,6 +3701,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
3701
3701
|
return this.renderEvents(firstDay, endDay, 1, lastDay, showGraph, index, (firstDate.getMonth()), period, null, "This " + (index === 0 ? "Week" : "Month"), showBackgroundButton);
|
|
3702
3702
|
};
|
|
3703
3703
|
this.renderRangeEvents = (firstDate, count, eventsContainer, showBackgroundButton = false) => {
|
|
3704
|
+
console.log('render range events called', firstDate, count);
|
|
3704
3705
|
var lastDate = new Date(firstDate.getTime());
|
|
3705
3706
|
lastDate.setDate(lastDate.getDate() + count - 1);
|
|
3706
3707
|
const lastDay = count;
|
|
@@ -3708,7 +3709,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
3708
3709
|
let endDay = new Date(firstDate.getFullYear(), firstDate.getMonth(), firstDate.getDate());
|
|
3709
3710
|
endDay === null || endDay === void 0 ? void 0 : endDay.setDate(endDay.getDate() + lastDay + 1);
|
|
3710
3711
|
var period = ("0" + (firstDate.getMonth() + 1)).slice(-2) + "/" + ("0" + firstDate.getDate()).slice(-2) + '/' + firstDate.getFullYear() + ' - ' + ("0" + (lastDate.getMonth() + 1)).slice(-2) + "/" + ("0" + lastDate.getDate()).slice(-2) + '/' + lastDate.getFullYear();
|
|
3711
|
-
|
|
3712
|
+
console.log('rangeperiod', period);
|
|
3712
3713
|
var html = this.renderEvents(firstDay, endDay, 1, lastDay, true, 0, (firstDate.getMonth()), period, firstDate, "From " + firstDay.toLocaleDateString('en-IN') + " To " + endDay.toLocaleDateString('en-IN'), showBackgroundButton);
|
|
3713
3714
|
eventsContainer.querySelector('.calendar-right-data').innerHTML = html;
|
|
3714
3715
|
if (eventsContainer.innerHTML.indexOf('button-select-all') < 0) {
|
|
@@ -4847,7 +4848,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
4847
4848
|
this.renderCompletenessGraph(eventContainer);
|
|
4848
4849
|
}
|
|
4849
4850
|
};
|
|
4850
|
-
this.processDateSelection = async (eventContainer) => {
|
|
4851
|
+
this.processDateSelection = async (eventContainer, fetchData = true, showBackgroundButton = false) => {
|
|
4851
4852
|
var startDateCalendar = new Date(this.calendarStartMM + '/' + this.calendarStartDD + '/' + this.calendarStartYYYY);
|
|
4852
4853
|
var endDateCalendar = new Date(this.calendarStartMM + '/' + this.calendarStartDD + '/' + (parseInt(this.calendarStartYYYY) + 1));
|
|
4853
4854
|
var valueStart = this._SfCustomContainer.querySelector('#stream-start-date').value;
|
|
@@ -4882,9 +4883,11 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
4882
4883
|
const tsEnd = new Date(valueEnd);
|
|
4883
4884
|
tsStart.setDate(tsStart.getDate() - 2);
|
|
4884
4885
|
tsEnd.setDate(tsEnd.getDate() + 2);
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4886
|
+
if (fetchData) {
|
|
4887
|
+
await this.renderWithFeatures((tsStart.getMonth() + 1) + "/" + tsStart.getDate() + "/" + tsStart.getFullYear(), (tsEnd.getMonth() + 1) + "/" + tsEnd.getDate() + "/" + tsEnd.getFullYear());
|
|
4888
|
+
// await this.fetchAndYearlyRenderUserCalendar_2((tsStart.getMonth() + 1) + "/" + tsStart.getDate() + "/" + tsStart.getFullYear(), (tsEnd.getMonth() + 1) + "/" + tsEnd.getDate() + "/" + tsEnd.getFullYear());
|
|
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, showBackgroundButton);
|
|
4888
4891
|
}
|
|
4889
4892
|
else if (valueStart != "" && valueEnd == "") {
|
|
4890
4893
|
this._SfStreamEventStatus.innerHTML = "Please select End Date";
|
|
@@ -8588,10 +8591,10 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
8588
8591
|
this.renderRoleTabsNext(this.nextPage);
|
|
8589
8592
|
}
|
|
8590
8593
|
else {
|
|
8591
|
-
if
|
|
8592
|
-
|
|
8593
|
-
}
|
|
8594
|
-
|
|
8594
|
+
// if(this.getCurrentTab() == this.TAB_CUSTOM) {
|
|
8595
|
+
// this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
|
|
8596
|
+
// } else
|
|
8597
|
+
if (this.getCurrentTab() == this.TAB_FIND) {
|
|
8595
8598
|
const searchString = this._SfFindContainer.querySelector('#stream-search').value;
|
|
8596
8599
|
this.processFindSelection(this._SfFindContainer, searchString);
|
|
8597
8600
|
}
|
|
@@ -8884,10 +8887,10 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
8884
8887
|
this.fetchNext(this.nextPage, this.nextTabRole, this.nextTabStatus);
|
|
8885
8888
|
}
|
|
8886
8889
|
else {
|
|
8887
|
-
if
|
|
8888
|
-
|
|
8889
|
-
}
|
|
8890
|
-
|
|
8890
|
+
// if(this.getCurrentTab() == this.TAB_CUSTOM) {
|
|
8891
|
+
// this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
|
|
8892
|
+
// } else
|
|
8893
|
+
if (this.getCurrentTab() == this.TAB_FIND) {
|
|
8891
8894
|
const searchString = this._SfFindContainer.querySelector('#stream-search').value;
|
|
8892
8895
|
this.processFindSelection(this._SfFindContainer, searchString);
|
|
8893
8896
|
}
|
|
@@ -9684,10 +9687,10 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
9684
9687
|
this.renderRoleTabsNext(this.nextPage);
|
|
9685
9688
|
}
|
|
9686
9689
|
else {
|
|
9687
|
-
if
|
|
9688
|
-
|
|
9689
|
-
}
|
|
9690
|
-
|
|
9690
|
+
// if(this.getCurrentTab() == this.TAB_CUSTOM) {
|
|
9691
|
+
// this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
|
|
9692
|
+
// } else
|
|
9693
|
+
if (this.getCurrentTab() == this.TAB_FIND) {
|
|
9691
9694
|
const searchString = this._SfFindContainer.querySelector('#stream-search').value;
|
|
9692
9695
|
this.processFindSelection(this._SfFindContainer, searchString);
|
|
9693
9696
|
}
|
|
@@ -9995,10 +9998,10 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
9995
9998
|
this.fetchNext(this.nextPage, this.nextTabRole, this.nextTabStatus);
|
|
9996
9999
|
}
|
|
9997
10000
|
else {
|
|
9998
|
-
if
|
|
9999
|
-
|
|
10000
|
-
}
|
|
10001
|
-
|
|
10001
|
+
// if(this.getCurrentTab() == this.TAB_CUSTOM) {
|
|
10002
|
+
// this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
|
|
10003
|
+
// } else
|
|
10004
|
+
if (this.getCurrentTab() == this.TAB_FIND) {
|
|
10002
10005
|
const searchString = this._SfFindContainer.querySelector('#stream-search').value;
|
|
10003
10006
|
this.processFindSelection(this._SfFindContainer, searchString);
|
|
10004
10007
|
}
|
|
@@ -17588,6 +17591,9 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
17588
17591
|
if (this.selectedTab == this.TAB_THIS) {
|
|
17589
17592
|
this.renderThis(parseInt(this.currentColumnIndex), showGraph, showBackgroundButton);
|
|
17590
17593
|
}
|
|
17594
|
+
if (this.selectedTab == this.TAB_CUSTOM) {
|
|
17595
|
+
this.processDateSelection(this._SfCustomContainer, false, showBackgroundButton);
|
|
17596
|
+
}
|
|
17591
17597
|
// if(this.selectedTab == this.TAB_PAST) {
|
|
17592
17598
|
// this.renderPast(parseInt(this.currentColumnIndex), false);
|
|
17593
17599
|
// }
|
package/src/sf-i-events.ts
CHANGED
|
@@ -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
|
|
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
|
-
|
|
5906
|
-
} else
|
|
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 {
|
|
@@ -6102,7 +6104,7 @@ export class SfIEvents extends LitElement {
|
|
|
6102
6104
|
|
|
6103
6105
|
renderRangeEvents = (firstDate: Date, count: number, eventsContainer: HTMLDivElement, showBackgroundButton: boolean = false) => {
|
|
6104
6106
|
|
|
6105
|
-
|
|
6107
|
+
console.log('render range events called', firstDate, count)
|
|
6106
6108
|
var lastDate = new Date(firstDate.getTime());
|
|
6107
6109
|
lastDate.setDate(lastDate.getDate() + count - 1)
|
|
6108
6110
|
|
|
@@ -6113,7 +6115,7 @@ export class SfIEvents extends LitElement {
|
|
|
6113
6115
|
|
|
6114
6116
|
var period = ("0" + (firstDate.getMonth()+1)).slice(-2) + "/" + ("0" + firstDate.getDate()).slice(-2) + '/' + firstDate.getFullYear() + ' - ' + ("0" + (lastDate.getMonth()+1)).slice(-2) + "/" + ("0" + lastDate.getDate()).slice(-2) + '/' + lastDate.getFullYear();
|
|
6115
6117
|
|
|
6116
|
-
|
|
6118
|
+
console.log('rangeperiod', period)
|
|
6117
6119
|
|
|
6118
6120
|
var html = this.renderEvents(firstDay, endDay, 1, lastDay, true, 0, (firstDate.getMonth()), period, firstDate,"From " + firstDay.toLocaleDateString('en-IN') + " To " + endDay.toLocaleDateString('en-IN'), showBackgroundButton);
|
|
6119
6121
|
|
|
@@ -7457,7 +7459,7 @@ export class SfIEvents extends LitElement {
|
|
|
7457
7459
|
}
|
|
7458
7460
|
}
|
|
7459
7461
|
|
|
7460
|
-
processDateSelection = async (eventContainer: HTMLDivElement) => {
|
|
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));
|
|
@@ -7497,10 +7499,11 @@ export class SfIEvents extends LitElement {
|
|
|
7497
7499
|
const tsEnd = new Date(valueEnd);
|
|
7498
7500
|
tsStart.setDate(tsStart.getDate() - 2);
|
|
7499
7501
|
tsEnd.setDate(tsEnd.getDate() + 2);
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
7502
|
+
if(fetchData){
|
|
7503
|
+
await this.renderWithFeatures((tsStart.getMonth() + 1) + "/" + tsStart.getDate() + "/" + tsStart.getFullYear(), (tsEnd.getMonth() + 1) + "/" + tsEnd.getDate() + "/" + tsEnd.getFullYear())
|
|
7504
|
+
// await this.fetchAndYearlyRenderUserCalendar_2((tsStart.getMonth() + 1) + "/" + tsStart.getDate() + "/" + tsStart.getFullYear(), (tsEnd.getMonth() + 1) + "/" + tsEnd.getDate() + "/" + tsEnd.getFullYear());
|
|
7505
|
+
}
|
|
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);
|
|
7504
7507
|
} else if(valueStart != "" && valueEnd == "") {
|
|
7505
7508
|
(this._SfStreamEventStatus as HTMLDivElement).innerHTML = "Please select End Date";
|
|
7506
7509
|
} else if(valueStart == "" && valueEnd != "") {
|
|
@@ -12096,9 +12099,10 @@ export class SfIEvents extends LitElement {
|
|
|
12096
12099
|
// this.fetchNext(this.nextPage)
|
|
12097
12100
|
this.renderRoleTabsNext(this.nextPage)
|
|
12098
12101
|
}else{
|
|
12099
|
-
if(this.getCurrentTab() == this.TAB_CUSTOM) {
|
|
12100
|
-
|
|
12101
|
-
} else
|
|
12102
|
+
// if(this.getCurrentTab() == this.TAB_CUSTOM) {
|
|
12103
|
+
// this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
|
|
12104
|
+
// } else
|
|
12105
|
+
if(this.getCurrentTab() == this.TAB_FIND) {
|
|
12102
12106
|
const searchString = ((this._SfFindContainer as HTMLDivElement).querySelector('#stream-search') as HTMLInputElement).value;
|
|
12103
12107
|
this.processFindSelection((this._SfFindContainer as HTMLDivElement), searchString);
|
|
12104
12108
|
} else {
|
|
@@ -12444,9 +12448,10 @@ export class SfIEvents extends LitElement {
|
|
|
12444
12448
|
if(this.mode == "next"){
|
|
12445
12449
|
this.fetchNext(this.nextPage, this.nextTabRole, this.nextTabStatus)
|
|
12446
12450
|
}else{
|
|
12447
|
-
if(this.getCurrentTab() == this.TAB_CUSTOM) {
|
|
12448
|
-
|
|
12449
|
-
} else
|
|
12451
|
+
// if(this.getCurrentTab() == this.TAB_CUSTOM) {
|
|
12452
|
+
// this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
|
|
12453
|
+
// } else
|
|
12454
|
+
if(this.getCurrentTab() == this.TAB_FIND) {
|
|
12450
12455
|
const searchString = ((this._SfFindContainer as HTMLDivElement).querySelector('#stream-search') as HTMLInputElement).value;
|
|
12451
12456
|
this.processFindSelection((this._SfFindContainer as HTMLDivElement), searchString);
|
|
12452
12457
|
} else {
|
|
@@ -13374,9 +13379,10 @@ export class SfIEvents extends LitElement {
|
|
|
13374
13379
|
// this.fetchNext(this.nextPage)
|
|
13375
13380
|
this.renderRoleTabsNext(this.nextPage)
|
|
13376
13381
|
}else{
|
|
13377
|
-
if(this.getCurrentTab() == this.TAB_CUSTOM) {
|
|
13378
|
-
|
|
13379
|
-
} else
|
|
13382
|
+
// if(this.getCurrentTab() == this.TAB_CUSTOM) {
|
|
13383
|
+
// this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
|
|
13384
|
+
// } else
|
|
13385
|
+
if(this.getCurrentTab() == this.TAB_FIND) {
|
|
13380
13386
|
const searchString = ((this._SfFindContainer as HTMLDivElement).querySelector('#stream-search') as HTMLInputElement).value;
|
|
13381
13387
|
this.processFindSelection((this._SfFindContainer as HTMLDivElement), searchString);
|
|
13382
13388
|
} else {
|
|
@@ -13734,9 +13740,10 @@ export class SfIEvents extends LitElement {
|
|
|
13734
13740
|
if(this.mode == "next"){
|
|
13735
13741
|
this.fetchNext(this.nextPage, this.nextTabRole, this.nextTabStatus)
|
|
13736
13742
|
}else{
|
|
13737
|
-
if(this.getCurrentTab() == this.TAB_CUSTOM) {
|
|
13738
|
-
|
|
13739
|
-
} else
|
|
13743
|
+
// if(this.getCurrentTab() == this.TAB_CUSTOM) {
|
|
13744
|
+
// this.processDateSelection((this._SfCustomContainer as HTMLDivElement));
|
|
13745
|
+
// } else
|
|
13746
|
+
if(this.getCurrentTab() == this.TAB_FIND) {
|
|
13740
13747
|
const searchString = ((this._SfFindContainer as HTMLDivElement).querySelector('#stream-search') as HTMLInputElement).value;
|
|
13741
13748
|
this.processFindSelection((this._SfFindContainer as HTMLDivElement), searchString);
|
|
13742
13749
|
} else {
|
|
@@ -23560,6 +23567,9 @@ export class SfIEvents extends LitElement {
|
|
|
23560
23567
|
if(this.selectedTab == this.TAB_THIS) {
|
|
23561
23568
|
this.renderThis(parseInt(this.currentColumnIndex), showGraph, showBackgroundButton);
|
|
23562
23569
|
}
|
|
23570
|
+
if(this.selectedTab == this.TAB_CUSTOM) {
|
|
23571
|
+
this.processDateSelection((this._SfCustomContainer as HTMLDivElement), false, showBackgroundButton)
|
|
23572
|
+
}
|
|
23563
23573
|
// if(this.selectedTab == this.TAB_PAST) {
|
|
23564
23574
|
// this.renderPast(parseInt(this.currentColumnIndex), false);
|
|
23565
23575
|
// }
|