intelica-library-ui 0.1.183 → 0.1.184
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.
|
@@ -1932,7 +1932,6 @@ class TableComponent {
|
|
|
1932
1932
|
this._pendingUncheck = true;
|
|
1933
1933
|
}
|
|
1934
1934
|
else {
|
|
1935
|
-
this.uncheckAllCheckboxColumns();
|
|
1936
1935
|
this.ListDataSelectedTemp = [];
|
|
1937
1936
|
this.ListDataSelectedFilter = [];
|
|
1938
1937
|
this.ExecuteSearch({});
|
|
@@ -1960,17 +1959,6 @@ class TableComponent {
|
|
|
1960
1959
|
refreshAllHeaderStates() {
|
|
1961
1960
|
this.ColumnList.filter((c) => c.isChecboxColumn).forEach((c) => this.recomputeHeaderState(c.field));
|
|
1962
1961
|
}
|
|
1963
|
-
uncheckAllCheckboxColumns() {
|
|
1964
|
-
this.ListData = this.ListData.map((row) => {
|
|
1965
|
-
const copy = { ...row };
|
|
1966
|
-
this.ColumnList.filter((c) => c.isChecboxColumn).forEach((c) => {
|
|
1967
|
-
if (c.field && Object.prototype.hasOwnProperty.call(copy, c.field)) {
|
|
1968
|
-
copy[c.field] = false;
|
|
1969
|
-
}
|
|
1970
|
-
});
|
|
1971
|
-
return copy;
|
|
1972
|
-
});
|
|
1973
|
-
}
|
|
1974
1962
|
EmitSelectedItem = new EventEmitter();
|
|
1975
1963
|
EmitListDataFilter = new EventEmitter();
|
|
1976
1964
|
EmitSearchEvent = new EventEmitter();
|
|
@@ -2020,7 +2008,6 @@ class TableComponent {
|
|
|
2020
2008
|
}
|
|
2021
2009
|
});
|
|
2022
2010
|
if (this._isTableDisabled && this._pendingUncheck) {
|
|
2023
|
-
this.uncheckAllCheckboxColumns();
|
|
2024
2011
|
this.ListDataSelectedTemp = [];
|
|
2025
2012
|
this.ListDataSelectedFilter = [];
|
|
2026
2013
|
this._pendingUncheck = false;
|