@porscheinformatik/clr-addons 19.5.2 → 19.5.4
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/fesm2022/clr-addons.mjs
CHANGED
|
@@ -10940,7 +10940,7 @@ class StatePersistenceKeyDirective {
|
|
|
10940
10940
|
initCurrentPage(savedState) {
|
|
10941
10941
|
/* init current page of datagrid if already persisted */
|
|
10942
10942
|
if (savedState?.currentPage) {
|
|
10943
|
-
this.
|
|
10943
|
+
this.pagination.page.current = savedState.currentPage;
|
|
10944
10944
|
}
|
|
10945
10945
|
}
|
|
10946
10946
|
initFilter(savedState) {
|
|
@@ -11319,13 +11319,10 @@ class ClrEnumFilterComponent {
|
|
|
11319
11319
|
});
|
|
11320
11320
|
}
|
|
11321
11321
|
setPossibleValues(values) {
|
|
11322
|
-
|
|
11323
|
-
values = [];
|
|
11324
|
-
}
|
|
11322
|
+
values ??= [];
|
|
11325
11323
|
this.possibleValues = values.map(value => this.mapValue(value));
|
|
11326
11324
|
this.possibleValues.sort((v1, v2) => v1.displayValue.localeCompare(v2.displayValue));
|
|
11327
11325
|
this.filteredValues = this.filteredValues.filter(filtered => this.containsFilterValue(this.possibleValues, filtered));
|
|
11328
|
-
this.emitFilterChanged();
|
|
11329
11326
|
}
|
|
11330
11327
|
onChange(selectedValue, checkboxState) {
|
|
11331
11328
|
if (checkboxState) {
|