@alaarab/ogrid-angular-material 2.0.17 → 2.0.18
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.
|
@@ -86,8 +86,6 @@ DataGridTableComponent = __decorate([
|
|
|
86
86
|
<div [style.minWidth.px]="allowOverflowX() ? minTableWidth() : undefined">
|
|
87
87
|
<div [class.ogrid-datagrid-table-wrapper--loading]="isLoading() && items().length > 0" #tableContainerEl>
|
|
88
88
|
<table class="ogrid-datagrid-table" [style.minWidth.px]="minTableWidth()"
|
|
89
|
-
[attr.data-freeze-rows]="freezeRows()"
|
|
90
|
-
[attr.data-freeze-cols]="freezeCols()"
|
|
91
89
|
>
|
|
92
90
|
<thead class="ogrid-datagrid-thead">
|
|
93
91
|
@for (row of headerRows(); track $index; let rowIdx = $index) {
|
|
@@ -123,11 +121,9 @@ DataGridTableComponent = __decorate([
|
|
|
123
121
|
</th>
|
|
124
122
|
} @else {
|
|
125
123
|
@let col = asColumnDef(cell.columnDef);
|
|
126
|
-
@let colIdx = visibleColIndex(col);
|
|
127
|
-
@let isFreezeCol = freezeCols() != null && (freezeCols() ?? 0) >= 1 && colIdx < (freezeCols() ?? 0);
|
|
128
124
|
@let colW = getColumnWidth(col);
|
|
129
125
|
@let pinned = isPinned(col.columnId);
|
|
130
|
-
@let pinnedLeft = pinned === 'left'
|
|
126
|
+
@let pinnedLeft = pinned === 'left';
|
|
131
127
|
@let pinnedRight = pinned === 'right';
|
|
132
128
|
@let sortState = getSortState(col.columnId);
|
|
133
129
|
@let ariaSort = sortState === 'asc' ? 'ascending' : sortState === 'desc' ? 'descending' : null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alaarab/ogrid-angular-material",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.18",
|
|
4
4
|
"description": "OGrid Angular Material – MatTable-based data grid with sorting, filtering, pagination, column chooser, and CSV export.",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"node": ">=18"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@alaarab/ogrid-angular": "2.0.
|
|
40
|
+
"@alaarab/ogrid-angular": "2.0.18"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@angular/cdk": "^21.0.0",
|