ngx-aur-mat-table 12.2.29 → 12.2.30
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/bundles/ngx-aur-mat-table.umd.js +6 -1
- package/bundles/ngx-aur-mat-table.umd.js.map +1 -1
- package/esm2015/lib/ngx-aur-mat-table.component.js +7 -3
- package/fesm2015/ngx-aur-mat-table.js +6 -2
- package/fesm2015/ngx-aur-mat-table.js.map +1 -1
- package/lib/ngx-aur-mat-table.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1181,9 +1181,14 @@
|
|
|
1181
1181
|
}
|
|
1182
1182
|
};
|
|
1183
1183
|
NgxAurMatTableComponent.prototype.updateColumnOffsets = function () {
|
|
1184
|
+
var _this = this;
|
|
1184
1185
|
var offsets = Array.from(this.table.nativeElement.querySelectorAll('th'))
|
|
1185
1186
|
.map(function (c) { return c; })
|
|
1186
|
-
.map(function (c) { return ({
|
|
1187
|
+
.map(function (c, index) { return ({
|
|
1188
|
+
left: c.offsetLeft,
|
|
1189
|
+
width: c.offsetWidth,
|
|
1190
|
+
key: _this._displayColumns[index]
|
|
1191
|
+
}); });
|
|
1187
1192
|
this.columnOffsets.emit(offsets);
|
|
1188
1193
|
};
|
|
1189
1194
|
NgxAurMatTableComponent.prototype.prepareTableData = function () {
|