@tetacom/ng-components 1.0.108 → 1.0.109
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/component/table/table-head-group/table-head-group.component.mjs +5 -3
- package/fesm2015/tetacom-ng-components.mjs +4 -2
- package/fesm2015/tetacom-ng-components.mjs.map +1 -1
- package/fesm2020/tetacom-ng-components.mjs +4 -2
- package/fesm2020/tetacom-ng-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -9292,14 +9292,16 @@ class TableHeadGroupComponent {
|
|
|
9292
9292
|
}
|
|
9293
9293
|
get flexGrow() {
|
|
9294
9294
|
if (this.column?.columns?.length > 0) {
|
|
9295
|
-
const flat = ArrayUtil.flatten(this.column?.columns, 'columns', true)
|
|
9295
|
+
const flat = ArrayUtil.flatten(this.column?.columns, 'columns', true)
|
|
9296
|
+
.filter((_) => this._hiddenColumns.indexOf(_.name) < 0);
|
|
9296
9297
|
return flat?.reduce((prev, curr) => prev + curr.flex, 0);
|
|
9297
9298
|
}
|
|
9298
9299
|
return this.column.flex;
|
|
9299
9300
|
}
|
|
9300
9301
|
get flexBasis() {
|
|
9301
9302
|
if (this.column?.columns?.length > 0) {
|
|
9302
|
-
const flat = ArrayUtil.flatten(this.column?.columns, 'columns', true)
|
|
9303
|
+
const flat = ArrayUtil.flatten(this.column?.columns, 'columns', true)
|
|
9304
|
+
.filter((_) => this._hiddenColumns.indexOf(_.name) < 0);
|
|
9303
9305
|
return flat?.reduce((prev, curr) => prev + curr.width, 0);
|
|
9304
9306
|
}
|
|
9305
9307
|
return this.column.width;
|