@alaarab/ogrid-angular-primeng 2.5.7 → 2.5.9
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/dist/esm/index.js +5 -3
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -239,6 +239,7 @@ import {INLINE_CELL_EDITOR_STYLES,INLINE_CELL_EDITOR_TEMPLATE,POPOVER_CELL_EDITO
|
|
|
239
239
|
[attr.data-empty]="showEmptyInGrid() ? 'true' : null"
|
|
240
240
|
[attr.data-column-count]="state().layout.totalColCount"
|
|
241
241
|
[attr.data-overflow-x]="allowOverflowX() ? 'true' : 'false'"
|
|
242
|
+
[attr.data-virtual-scroll]="vsEnabled() ? '' : null"
|
|
242
243
|
data-ogrid-scroll-container
|
|
243
244
|
[attr.data-has-selection]="rowSelectionMode !== 'none' ? 'true' : null"
|
|
244
245
|
(contextmenu)="$event.preventDefault()"
|
|
@@ -594,13 +595,12 @@ import {INLINE_CELL_EDITOR_STYLES,INLINE_CELL_EDITOR_TEMPLATE,POPOVER_CELL_EDITO
|
|
|
594
595
|
overflow: hidden;
|
|
595
596
|
}
|
|
596
597
|
.ogrid-scroll-wrapper {
|
|
597
|
-
flex: 1;
|
|
598
|
-
min-height: 0;
|
|
599
598
|
overflow: auto;
|
|
600
599
|
position: relative;
|
|
601
600
|
background: var(--ogrid-bg, #ffffff);
|
|
602
601
|
color: var(--ogrid-fg, rgba(0, 0, 0, 0.87));
|
|
603
602
|
}
|
|
603
|
+
.ogrid-scroll-wrapper[data-virtual-scroll] { flex: 1; min-height: 0; }
|
|
604
604
|
.ogrid-scroll-wrapper--loading-empty { min-height: 200px; }
|
|
605
605
|
.ogrid-table-wrapper {
|
|
606
606
|
position: relative;
|
|
@@ -612,6 +612,8 @@ import {INLINE_CELL_EDITOR_STYLES,INLINE_CELL_EDITOR_TEMPLATE,POPOVER_CELL_EDITO
|
|
|
612
612
|
border-collapse: collapse;
|
|
613
613
|
table-layout: fixed;
|
|
614
614
|
}
|
|
615
|
+
.ogrid-table tr th:first-child,
|
|
616
|
+
.ogrid-table tr td:first-child { border-left: none; }
|
|
615
617
|
.ogrid-table tbody tr { height: var(--ogrid-row-height, auto); }
|
|
616
618
|
.ogrid-thead {
|
|
617
619
|
z-index: 3;
|
|
@@ -710,7 +712,7 @@ import {INLINE_CELL_EDITOR_STYLES,INLINE_CELL_EDITOR_TEMPLATE,POPOVER_CELL_EDITO
|
|
|
710
712
|
.ogrid-editing-cell {
|
|
711
713
|
width: 100%; height: 100%; display: flex; align-items: center; box-sizing: border-box;
|
|
712
714
|
outline: 2px solid var(--ogrid-selection-color, #217346); outline-offset: -1px;
|
|
713
|
-
z-index: 2; position: relative; background: var(--ogrid-bg, #fff); overflow:
|
|
715
|
+
z-index: 2; position: relative; background: var(--ogrid-bg, #fff); overflow: hidden; padding: 0;
|
|
714
716
|
}
|
|
715
717
|
.ogrid-scroll-wrapper [data-drag-range] { background: var(--ogrid-range-bg, rgba(33, 115, 70, 0.12)); }
|
|
716
718
|
.ogrid-fill-handle {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alaarab/ogrid-angular-primeng",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.9",
|
|
4
4
|
"description": "OGrid PrimeNG – PrimeNG Table-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.5.
|
|
40
|
+
"@alaarab/ogrid-angular": "2.5.9"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@angular/core": "^21.0.0",
|