keevo-components 1.5.17 → 1.5.19
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/esm2020/lib/inputs/input-calendar/input-calendar.component.mjs +1 -1
- package/esm2020/lib/table/table.component.mjs +7 -3
- package/fesm2015/keevo-components.mjs +6 -2
- package/fesm2015/keevo-components.mjs.map +1 -1
- package/fesm2020/keevo-components.mjs +6 -2
- package/fesm2020/keevo-components.mjs.map +1 -1
- package/lib/table/table.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1065,7 +1065,6 @@ class TableComponent {
|
|
|
1065
1065
|
let column = this.config.columns.find((x) => x.field == field);
|
|
1066
1066
|
if (column) {
|
|
1067
1067
|
index = this.config.columns.indexOf(column);
|
|
1068
|
-
this.config.columns.splice(index, 1);
|
|
1069
1068
|
this.deletedColuns.push(column);
|
|
1070
1069
|
}
|
|
1071
1070
|
}
|
|
@@ -1129,8 +1128,13 @@ class TableComponent {
|
|
|
1129
1128
|
}
|
|
1130
1129
|
checkHideColumns() {
|
|
1131
1130
|
this.config.columns.forEach((col) => {
|
|
1132
|
-
if (col.hideColumn)
|
|
1131
|
+
if (col.hideColumn) {
|
|
1133
1132
|
this.deleteColumn(col.field);
|
|
1133
|
+
}
|
|
1134
|
+
});
|
|
1135
|
+
this.deletedColuns.forEach(col => {
|
|
1136
|
+
const index = this.config.columns.indexOf(col);
|
|
1137
|
+
this.config.columns.splice(index, 1);
|
|
1134
1138
|
});
|
|
1135
1139
|
}
|
|
1136
1140
|
}
|