sf-i-events 1.0.737 → 1.0.738
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 +1 -1
- package/sf-i-events.js +71 -25
- package/src/sf-i-events.ts +72 -25
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -4098,13 +4098,19 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
4098
4098
|
this.renderStatisticsFilters = (eventsContainer) => {
|
|
4099
4099
|
let selectFilterCriteria = eventsContainer.querySelector('#select-filter-criteria');
|
|
4100
4100
|
let inputLabelFilter = eventsContainer.querySelector('#input-label-filter');
|
|
4101
|
+
let selectFilterCriteriaMobile = eventsContainer.querySelector('#select-filter-criteria-mobile');
|
|
4102
|
+
let inputLabelFilterMobile = eventsContainer.querySelector('#input-label-filter-mobile');
|
|
4101
4103
|
selectFilterCriteria.style.display = 'block';
|
|
4102
4104
|
inputLabelFilter.style.display = 'block';
|
|
4105
|
+
selectFilterCriteriaMobile.style.display = 'block';
|
|
4106
|
+
inputLabelFilterMobile.style.display = 'block';
|
|
4103
4107
|
selectFilterCriteria.innerHTML = "";
|
|
4108
|
+
selectFilterCriteriaMobile.innerHTML = "";
|
|
4104
4109
|
let option = new Option();
|
|
4105
4110
|
option.value = "";
|
|
4106
4111
|
option.innerHTML = "all";
|
|
4107
4112
|
selectFilterCriteria.add(option);
|
|
4113
|
+
selectFilterCriteriaMobile.add(option);
|
|
4108
4114
|
for (let criteria of Object.keys(this.statisticsMeta)) {
|
|
4109
4115
|
let option = new Option();
|
|
4110
4116
|
option.value = criteria;
|
|
@@ -4115,6 +4121,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
4115
4121
|
option.innerHTML = criteria;
|
|
4116
4122
|
}
|
|
4117
4123
|
selectFilterCriteria.add(option);
|
|
4124
|
+
selectFilterCriteriaMobile.add(option);
|
|
4118
4125
|
}
|
|
4119
4126
|
let selectFilterCriteriaNew = Util.clearListeners(selectFilterCriteria);
|
|
4120
4127
|
selectFilterCriteriaNew.addEventListener('change', (ev) => {
|
|
@@ -4152,10 +4159,50 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
4152
4159
|
inputLabelCriteria.style.display = 'none';
|
|
4153
4160
|
}
|
|
4154
4161
|
});
|
|
4162
|
+
let selectFilterCriteriaMobileNew = Util.clearListeners(selectFilterCriteriaMobile);
|
|
4163
|
+
selectFilterCriteriaMobileNew.addEventListener('change', (ev) => {
|
|
4164
|
+
let target = ev.target;
|
|
4165
|
+
let inputLabelCriteriaMobile = eventsContainer.querySelector('#input-label-criteria-mobile');
|
|
4166
|
+
let selectFilterValuesMobile = eventsContainer.querySelector('#select-filter-values-mobile');
|
|
4167
|
+
if (target.value == "") {
|
|
4168
|
+
selectFilterValuesMobile.value = "";
|
|
4169
|
+
this.processDateSelectionViewer(eventsContainer);
|
|
4170
|
+
}
|
|
4171
|
+
selectFilterValuesMobile.innerHTML = "";
|
|
4172
|
+
let option = new Option();
|
|
4173
|
+
option.value = "";
|
|
4174
|
+
option.innerHTML = "All";
|
|
4175
|
+
selectFilterValuesMobile.add(option);
|
|
4176
|
+
if (this.statisticsMeta[target.value] != null) {
|
|
4177
|
+
let sortedFilters = Util.alphabeticalSort(this.statisticsMeta[target.value]);
|
|
4178
|
+
selectFilterValuesMobile.style.display = 'block';
|
|
4179
|
+
inputLabelCriteriaMobile.style.display = 'block';
|
|
4180
|
+
inputLabelCriteriaMobile.innerHTML = target.value;
|
|
4181
|
+
for (let filter of sortedFilters) {
|
|
4182
|
+
let option = new Option();
|
|
4183
|
+
option.value = filter.split(';')[1];
|
|
4184
|
+
option.innerHTML = filter.split(';')[0].replace(/\([^)]*\)/g, "");
|
|
4185
|
+
selectFilterValuesMobile.add(option);
|
|
4186
|
+
}
|
|
4187
|
+
let selectFilterValuesMobileNew = Util.clearListeners(selectFilterValuesMobile);
|
|
4188
|
+
selectFilterValuesMobileNew.addEventListener('change', () => {
|
|
4189
|
+
console.log('changed');
|
|
4190
|
+
this.processDateSelectionViewer(eventsContainer);
|
|
4191
|
+
});
|
|
4192
|
+
}
|
|
4193
|
+
else {
|
|
4194
|
+
selectFilterValuesMobile.style.display = 'none';
|
|
4195
|
+
inputLabelCriteriaMobile.style.display = 'none';
|
|
4196
|
+
}
|
|
4197
|
+
});
|
|
4155
4198
|
let selectFilterValues = eventsContainer.querySelector('#select-filter-values');
|
|
4156
4199
|
let inputLabelCriteria = eventsContainer.querySelector('#input-label-criteria');
|
|
4200
|
+
let selectFilterValuesMobile = eventsContainer.querySelector('#select-filter-values-mobile');
|
|
4201
|
+
let inputLabelCriteriaMobile = eventsContainer.querySelector('#input-label-criteria-mobile');
|
|
4157
4202
|
selectFilterValues.style.display = 'none';
|
|
4158
4203
|
inputLabelCriteria.style.display = 'none';
|
|
4204
|
+
selectFilterValuesMobile.style.display = 'none';
|
|
4205
|
+
inputLabelCriteriaMobile.style.display = 'none';
|
|
4159
4206
|
};
|
|
4160
4207
|
this.renderSelectAllButtons = () => {
|
|
4161
4208
|
let selectAllHtml = '<div class="d-flex justify-end w-100" style="position: fixed; bottom: 70px; left: 0px;" part="button-select-all-container">';
|
|
@@ -6219,56 +6266,56 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
6219
6266
|
html += '<div class="scroll-x w-100 mobile-only">';
|
|
6220
6267
|
html += '<div class="title-item-date">';
|
|
6221
6268
|
html += '<label part="input-label">Start Date</label><br />';
|
|
6222
|
-
html += '<input id="stream-start-date-mobile" part="
|
|
6269
|
+
html += '<input id="stream-start-date-mobile" part="date-range-preselected" type="date" />';
|
|
6223
6270
|
html += '</div>';
|
|
6224
6271
|
html += '<div class="title-item-date">';
|
|
6225
6272
|
html += '<label part="input-label">End Date</label><br />';
|
|
6226
|
-
html += '<input id="stream-end-date-mobile" part="
|
|
6273
|
+
html += '<input id="stream-end-date-mobile" part="date-range-preselected" type="date" />';
|
|
6227
6274
|
html += '</div>';
|
|
6228
6275
|
html += '<div class="title-item-date">';
|
|
6229
|
-
html += '<button id="button-year-to-date-mobile" part="button-
|
|
6276
|
+
html += '<button id="button-year-to-date-mobile" part="button-range-preselected">Year To Date</button>';
|
|
6230
6277
|
html += '</div>';
|
|
6231
6278
|
html += '<div class="title-item-date">';
|
|
6232
|
-
html += '<button id="button-this-quarter-mobile" part="button-
|
|
6279
|
+
html += '<button id="button-this-quarter-mobile" part="button-range-preselected">This Quarter</button>';
|
|
6233
6280
|
html += '</div>';
|
|
6234
6281
|
html += '<div class="title-item-date">';
|
|
6235
|
-
html += '<button id="button-this-year-mobile" part="button-
|
|
6282
|
+
html += '<button id="button-this-year-mobile" part="button-range-preselected">This Year</button>';
|
|
6236
6283
|
html += '</div>';
|
|
6237
6284
|
html += '<div class="title-item-date">';
|
|
6238
|
-
html += '<label part="input-label-filter-criteria" id="input-label-filter-mobile">Filter Criteria</label
|
|
6239
|
-
html += '<select id="select-filter-criteria-mobile"
|
|
6285
|
+
html += '<label part="input-label-filter-criteria" id="input-label-filter-mobile">Filter Criteria</label>';
|
|
6286
|
+
html += '<select id="select-filter-criteria-mobile"></select>';
|
|
6240
6287
|
html += '</div>';
|
|
6241
6288
|
html += '<div class="title-item-date">';
|
|
6242
|
-
html += '<label part="input-label-filter-value" id="input-label-criteria-mobile"></label
|
|
6243
|
-
html += '<select id="select-filter-values-mobile"
|
|
6289
|
+
html += '<label part="input-label-filter-value" id="input-label-criteria-mobile"></label>';
|
|
6290
|
+
html += '<select id="select-filter-values-mobile"></select>';
|
|
6244
6291
|
html += '</div>';
|
|
6245
6292
|
html += '</div>';
|
|
6246
6293
|
html += '<div class="d-flex w-100">';
|
|
6247
6294
|
html += '<div class="calendar-left-col desktop-only flex-col justify-start align-end">';
|
|
6248
6295
|
html += '<div class="title-item-date d-flex flex-col align-end">';
|
|
6249
6296
|
html += '<label part="input-label">Start Date</label>';
|
|
6250
|
-
html += '<input id="stream-start-date" part="
|
|
6297
|
+
html += '<input id="stream-start-date" part="date-range-preselected" type="date" />';
|
|
6251
6298
|
html += '</div>';
|
|
6252
6299
|
html += '<div class="title-item-date d-flex flex-col align-end">';
|
|
6253
6300
|
html += '<label part="input-label">End Date</label>';
|
|
6254
|
-
html += '<input id="stream-end-date" part="
|
|
6301
|
+
html += '<input id="stream-end-date" part="date-range-preselected" type="date" />';
|
|
6255
6302
|
html += '</div>';
|
|
6256
6303
|
html += '<div class="title-item-date">';
|
|
6257
|
-
html += '<button id="button-year-to-date" part="button-
|
|
6304
|
+
html += '<button id="button-year-to-date" part="button-range-preselected">Year To Date</button>';
|
|
6258
6305
|
html += '</div>';
|
|
6259
6306
|
html += '<div class="title-item-date">';
|
|
6260
|
-
html += '<button id="button-this-quarter" part="button-
|
|
6307
|
+
html += '<button id="button-this-quarter" part="button-range-preselected">This Quarter</button>';
|
|
6261
6308
|
html += '</div>';
|
|
6262
6309
|
html += '<div class="title-item-date">';
|
|
6263
|
-
html += '<button id="button-this-year" part="button-
|
|
6310
|
+
html += '<button id="button-this-year" part="button-range-preselected">This Year</button>';
|
|
6264
6311
|
html += '</div>';
|
|
6265
6312
|
html += '<div class="title-item-date d-flex flex-col align-end">';
|
|
6266
|
-
html += '<label part="input-label-filter-criteria" id="input-label-filter"
|
|
6267
|
-
html += '<select part="input-select-calendar-filter" id="select-filter-criteria"
|
|
6313
|
+
html += '<label part="input-label-filter-criteria" id="input-label-filter">Filter Criteria</label>';
|
|
6314
|
+
html += '<select part="input-select-calendar-filter" id="select-filter-criteria"></select>';
|
|
6268
6315
|
html += '</div>';
|
|
6269
6316
|
html += '<div class="title-item-date d-flex flex-col align-end">';
|
|
6270
|
-
html += '<label part="input-label-filter-value" id="input-label-criteria"
|
|
6271
|
-
html += '<select part="input-select-calendar-filter" id="select-filter-values"
|
|
6317
|
+
html += '<label part="input-label-filter-value" id="input-label-criteria"></label>';
|
|
6318
|
+
html += '<select part="input-select-calendar-filter" id="select-filter-values"></select>';
|
|
6272
6319
|
html += '</div>';
|
|
6273
6320
|
html += '</div>';
|
|
6274
6321
|
html += '<div class="calendar-right-data flex-grow">';
|
|
@@ -6383,13 +6430,12 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
6383
6430
|
selectFilterValues.style.display = 'none';
|
|
6384
6431
|
let inputLabelFilter = this._SfCustomContainer.querySelector('#input-label-filter');
|
|
6385
6432
|
inputLabelFilter.style.display = 'none';
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
// }
|
|
6433
|
+
let selectFilterCriteriaMobile = this._SfCustomContainer.querySelector('#select-filter-criteria-mobile');
|
|
6434
|
+
selectFilterCriteriaMobile.style.display = 'none';
|
|
6435
|
+
let selectFilterValuesMobile = this._SfCustomContainer.querySelector('#select-filter-values-mobile');
|
|
6436
|
+
selectFilterValuesMobile.style.display = 'none';
|
|
6437
|
+
let inputLabelFilterMobile = this._SfCustomContainer.querySelector('#input-label-filter-mobile');
|
|
6438
|
+
inputLabelFilterMobile.style.display = 'none';
|
|
6393
6439
|
this._SfCustomContainer.querySelector('#button-year-to-date').click();
|
|
6394
6440
|
};
|
|
6395
6441
|
this.renderThis = (index = 1, showGraph = true) => {
|
package/src/sf-i-events.ts
CHANGED
|
@@ -6570,13 +6570,19 @@ export class SfIEvents extends LitElement {
|
|
|
6570
6570
|
renderStatisticsFilters = (eventsContainer: HTMLDivElement) => {
|
|
6571
6571
|
let selectFilterCriteria = eventsContainer.querySelector('#select-filter-criteria') as HTMLSelectElement
|
|
6572
6572
|
let inputLabelFilter = eventsContainer.querySelector('#input-label-filter') as HTMLLabelElement
|
|
6573
|
+
let selectFilterCriteriaMobile = eventsContainer.querySelector('#select-filter-criteria-mobile') as HTMLSelectElement
|
|
6574
|
+
let inputLabelFilterMobile = eventsContainer.querySelector('#input-label-filter-mobile') as HTMLLabelElement
|
|
6573
6575
|
selectFilterCriteria.style.display = 'block'
|
|
6574
6576
|
inputLabelFilter.style.display = 'block'
|
|
6577
|
+
selectFilterCriteriaMobile.style.display = 'block'
|
|
6578
|
+
inputLabelFilterMobile.style.display = 'block'
|
|
6575
6579
|
selectFilterCriteria.innerHTML = ""
|
|
6580
|
+
selectFilterCriteriaMobile.innerHTML = ""
|
|
6576
6581
|
let option = new Option()
|
|
6577
6582
|
option.value = "";
|
|
6578
6583
|
option.innerHTML = "all"
|
|
6579
6584
|
selectFilterCriteria.add(option)
|
|
6585
|
+
selectFilterCriteriaMobile.add(option)
|
|
6580
6586
|
|
|
6581
6587
|
for(let criteria of Object.keys(this.statisticsMeta)){
|
|
6582
6588
|
let option = new Option()
|
|
@@ -6587,6 +6593,7 @@ export class SfIEvents extends LitElement {
|
|
|
6587
6593
|
option.innerHTML = criteria
|
|
6588
6594
|
}
|
|
6589
6595
|
selectFilterCriteria.add(option)
|
|
6596
|
+
selectFilterCriteriaMobile.add(option)
|
|
6590
6597
|
}
|
|
6591
6598
|
let selectFilterCriteriaNew = Util.clearListeners(selectFilterCriteria)
|
|
6592
6599
|
selectFilterCriteriaNew.addEventListener('change',(ev: any) => {
|
|
@@ -6624,10 +6631,50 @@ export class SfIEvents extends LitElement {
|
|
|
6624
6631
|
inputLabelCriteria.style.display = 'none'
|
|
6625
6632
|
}
|
|
6626
6633
|
})
|
|
6634
|
+
let selectFilterCriteriaMobileNew = Util.clearListeners(selectFilterCriteriaMobile)
|
|
6635
|
+
selectFilterCriteriaMobileNew.addEventListener('change',(ev: any) => {
|
|
6636
|
+
let target = ev.target as HTMLSelectElement
|
|
6637
|
+
let inputLabelCriteriaMobile = eventsContainer.querySelector('#input-label-criteria-mobile') as HTMLLabelElement
|
|
6638
|
+
let selectFilterValuesMobile = eventsContainer.querySelector('#select-filter-values-mobile') as HTMLSelectElement
|
|
6639
|
+
if(target.value == ""){
|
|
6640
|
+
selectFilterValuesMobile.value = ""
|
|
6641
|
+
this.processDateSelectionViewer(eventsContainer)
|
|
6642
|
+
}
|
|
6643
|
+
|
|
6644
|
+
selectFilterValuesMobile.innerHTML = ""
|
|
6645
|
+
let option = new Option()
|
|
6646
|
+
option.value = "";
|
|
6647
|
+
option.innerHTML = "All";
|
|
6648
|
+
selectFilterValuesMobile.add(option)
|
|
6649
|
+
if(this.statisticsMeta[target.value] != null){
|
|
6650
|
+
let sortedFilters = Util.alphabeticalSort(this.statisticsMeta[target.value])
|
|
6651
|
+
selectFilterValuesMobile.style.display = 'block'
|
|
6652
|
+
inputLabelCriteriaMobile.style.display = 'block'
|
|
6653
|
+
inputLabelCriteriaMobile.innerHTML = target.value
|
|
6654
|
+
for(let filter of sortedFilters){
|
|
6655
|
+
let option = new Option()
|
|
6656
|
+
option.value = filter.split(';')[1];
|
|
6657
|
+
option.innerHTML = filter.split(';')[0].replace(/\([^)]*\)/g,"")
|
|
6658
|
+
selectFilterValuesMobile.add(option)
|
|
6659
|
+
}
|
|
6660
|
+
let selectFilterValuesMobileNew = Util.clearListeners(selectFilterValuesMobile)
|
|
6661
|
+
selectFilterValuesMobileNew.addEventListener('change',() => {
|
|
6662
|
+
console.log('changed')
|
|
6663
|
+
this.processDateSelectionViewer(eventsContainer);
|
|
6664
|
+
})
|
|
6665
|
+
}else{
|
|
6666
|
+
selectFilterValuesMobile.style.display = 'none'
|
|
6667
|
+
inputLabelCriteriaMobile.style.display = 'none'
|
|
6668
|
+
}
|
|
6669
|
+
})
|
|
6627
6670
|
let selectFilterValues = eventsContainer.querySelector('#select-filter-values') as HTMLSelectElement
|
|
6628
6671
|
let inputLabelCriteria = eventsContainer.querySelector('#input-label-criteria') as HTMLLabelElement
|
|
6672
|
+
let selectFilterValuesMobile = eventsContainer.querySelector('#select-filter-values-mobile') as HTMLSelectElement
|
|
6673
|
+
let inputLabelCriteriaMobile = eventsContainer.querySelector('#input-label-criteria-mobile') as HTMLLabelElement
|
|
6629
6674
|
selectFilterValues.style.display = 'none'
|
|
6630
6675
|
inputLabelCriteria.style.display = 'none'
|
|
6676
|
+
selectFilterValuesMobile.style.display = 'none'
|
|
6677
|
+
inputLabelCriteriaMobile.style.display = 'none'
|
|
6631
6678
|
}
|
|
6632
6679
|
renderSelectAllButtons = () => {
|
|
6633
6680
|
let selectAllHtml = '<div class="d-flex justify-end w-100" style="position: fixed; bottom: 70px; left: 0px;" part="button-select-all-container">';
|
|
@@ -9193,28 +9240,28 @@ export class SfIEvents extends LitElement {
|
|
|
9193
9240
|
|
|
9194
9241
|
html += '<div class="title-item-date">';
|
|
9195
9242
|
html += '<label part="input-label">Start Date</label><br />'
|
|
9196
|
-
html += '<input id="stream-start-date-mobile" part="
|
|
9243
|
+
html += '<input id="stream-start-date-mobile" part="date-range-preselected" type="date" />'
|
|
9197
9244
|
html += '</div>';
|
|
9198
9245
|
html += '<div class="title-item-date">';
|
|
9199
9246
|
html += '<label part="input-label">End Date</label><br />'
|
|
9200
|
-
html += '<input id="stream-end-date-mobile" part="
|
|
9247
|
+
html += '<input id="stream-end-date-mobile" part="date-range-preselected" type="date" />'
|
|
9201
9248
|
html += '</div>';
|
|
9202
9249
|
html += '<div class="title-item-date">';
|
|
9203
|
-
html += '<button id="button-year-to-date-mobile" part="button-
|
|
9250
|
+
html += '<button id="button-year-to-date-mobile" part="button-range-preselected">Year To Date</button>'
|
|
9204
9251
|
html += '</div>';
|
|
9205
9252
|
html += '<div class="title-item-date">';
|
|
9206
|
-
html += '<button id="button-this-quarter-mobile" part="button-
|
|
9253
|
+
html += '<button id="button-this-quarter-mobile" part="button-range-preselected">This Quarter</button>'
|
|
9207
9254
|
html += '</div>';
|
|
9208
9255
|
html += '<div class="title-item-date">';
|
|
9209
|
-
html += '<button id="button-this-year-mobile" part="button-
|
|
9256
|
+
html += '<button id="button-this-year-mobile" part="button-range-preselected">This Year</button>'
|
|
9210
9257
|
html += '</div>';
|
|
9211
9258
|
html += '<div class="title-item-date">';
|
|
9212
|
-
html += '<label part="input-label-filter-criteria" id="input-label-filter-mobile">Filter Criteria</label
|
|
9213
|
-
html += '<select id="select-filter-criteria-mobile"
|
|
9259
|
+
html += '<label part="input-label-filter-criteria" id="input-label-filter-mobile">Filter Criteria</label>'
|
|
9260
|
+
html += '<select id="select-filter-criteria-mobile"></select>'
|
|
9214
9261
|
html += '</div>';
|
|
9215
9262
|
html += '<div class="title-item-date">';
|
|
9216
|
-
html += '<label part="input-label-filter-value" id="input-label-criteria-mobile"></label
|
|
9217
|
-
html += '<select id="select-filter-values-mobile"
|
|
9263
|
+
html += '<label part="input-label-filter-value" id="input-label-criteria-mobile"></label>'
|
|
9264
|
+
html += '<select id="select-filter-values-mobile"></select>'
|
|
9218
9265
|
html += '</div>';
|
|
9219
9266
|
|
|
9220
9267
|
html += '</div>';
|
|
@@ -9224,28 +9271,28 @@ export class SfIEvents extends LitElement {
|
|
|
9224
9271
|
|
|
9225
9272
|
html += '<div class="title-item-date d-flex flex-col align-end">';
|
|
9226
9273
|
html += '<label part="input-label">Start Date</label>'
|
|
9227
|
-
html += '<input id="stream-start-date" part="
|
|
9274
|
+
html += '<input id="stream-start-date" part="date-range-preselected" type="date" />'
|
|
9228
9275
|
html += '</div>';
|
|
9229
9276
|
html += '<div class="title-item-date d-flex flex-col align-end">';
|
|
9230
9277
|
html += '<label part="input-label">End Date</label>'
|
|
9231
|
-
html += '<input id="stream-end-date" part="
|
|
9278
|
+
html += '<input id="stream-end-date" part="date-range-preselected" type="date" />'
|
|
9232
9279
|
html += '</div>';
|
|
9233
9280
|
html += '<div class="title-item-date">';
|
|
9234
|
-
html += '<button id="button-year-to-date" part="button-
|
|
9281
|
+
html += '<button id="button-year-to-date" part="button-range-preselected">Year To Date</button>'
|
|
9235
9282
|
html += '</div>';
|
|
9236
9283
|
html += '<div class="title-item-date">';
|
|
9237
|
-
html += '<button id="button-this-quarter" part="button-
|
|
9284
|
+
html += '<button id="button-this-quarter" part="button-range-preselected">This Quarter</button>'
|
|
9238
9285
|
html += '</div>';
|
|
9239
9286
|
html += '<div class="title-item-date">';
|
|
9240
|
-
html += '<button id="button-this-year" part="button-
|
|
9287
|
+
html += '<button id="button-this-year" part="button-range-preselected">This Year</button>'
|
|
9241
9288
|
html += '</div>';
|
|
9242
9289
|
html += '<div class="title-item-date d-flex flex-col align-end">';
|
|
9243
|
-
html += '<label part="input-label-filter-criteria" id="input-label-filter"
|
|
9244
|
-
html += '<select part="input-select-calendar-filter" id="select-filter-criteria"
|
|
9290
|
+
html += '<label part="input-label-filter-criteria" id="input-label-filter">Filter Criteria</label>'
|
|
9291
|
+
html += '<select part="input-select-calendar-filter" id="select-filter-criteria"></select>'
|
|
9245
9292
|
html += '</div>';
|
|
9246
9293
|
html += '<div class="title-item-date d-flex flex-col align-end">';
|
|
9247
|
-
html += '<label part="input-label-filter-value" id="input-label-criteria"
|
|
9248
|
-
html += '<select part="input-select-calendar-filter" id="select-filter-values"
|
|
9294
|
+
html += '<label part="input-label-filter-value" id="input-label-criteria"></label>'
|
|
9295
|
+
html += '<select part="input-select-calendar-filter" id="select-filter-values"></select>'
|
|
9249
9296
|
html += '</div>';
|
|
9250
9297
|
|
|
9251
9298
|
|
|
@@ -9389,13 +9436,13 @@ export class SfIEvents extends LitElement {
|
|
|
9389
9436
|
selectFilterValues.style.display = 'none'
|
|
9390
9437
|
let inputLabelFilter = (this._SfCustomContainer as HTMLDivElement).querySelector('#input-label-filter') as HTMLLabelElement
|
|
9391
9438
|
inputLabelFilter.style.display = 'none';
|
|
9392
|
-
|
|
9393
|
-
|
|
9394
|
-
|
|
9395
|
-
|
|
9396
|
-
|
|
9397
|
-
|
|
9398
|
-
|
|
9439
|
+
|
|
9440
|
+
let selectFilterCriteriaMobile = (this._SfCustomContainer as HTMLDivElement).querySelector('#select-filter-criteria-mobile') as HTMLSelectElement
|
|
9441
|
+
selectFilterCriteriaMobile.style.display = 'none'
|
|
9442
|
+
let selectFilterValuesMobile = (this._SfCustomContainer as HTMLDivElement).querySelector('#select-filter-values-mobile') as HTMLSelectElement
|
|
9443
|
+
selectFilterValuesMobile.style.display = 'none'
|
|
9444
|
+
let inputLabelFilterMobile = (this._SfCustomContainer as HTMLDivElement).querySelector('#input-label-filter-mobile') as HTMLLabelElement
|
|
9445
|
+
inputLabelFilterMobile.style.display = 'none';
|
|
9399
9446
|
|
|
9400
9447
|
((this._SfCustomContainer as HTMLDivElement).querySelector('#button-year-to-date') as HTMLButtonElement).click();
|
|
9401
9448
|
}
|