@alaarab/ogrid-angular-material 2.5.4 → 2.5.6
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
CHANGED
|
@@ -198,7 +198,7 @@ import {INLINE_CELL_EDITOR_STYLES,INLINE_CELL_EDITOR_TEMPLATE,POPOVER_CELL_EDITO
|
|
|
198
198
|
opacity: 0.6; transition: opacity 0.15s;
|
|
199
199
|
}
|
|
200
200
|
.ogrid-header-filter:hover .ogrid-header-filter__filter-btn { opacity: 0.8; }
|
|
201
|
-
/* :hover and --active must override the parent-hover rule (0,2,0)
|
|
201
|
+
/* :hover and --active must override the parent-hover rule (0,2,0) - double-class raises to 0,3,0 */
|
|
202
202
|
.ogrid-header-filter .ogrid-header-filter__filter-btn:hover { background: var(--ogrid-hover-bg, rgba(0, 0, 0, 0.08)); opacity: 1; }
|
|
203
203
|
.ogrid-header-filter .ogrid-header-filter__filter-btn--active { opacity: 1; }
|
|
204
204
|
.ogrid-header-filter__funnel {
|
|
@@ -592,7 +592,7 @@ import {INLINE_CELL_EDITOR_STYLES,INLINE_CELL_EDITOR_TEMPLATE,POPOVER_CELL_EDITO
|
|
|
592
592
|
[style]="cellStyle ?? undefined"
|
|
593
593
|
>
|
|
594
594
|
@if (colLayout.col.type === 'boolean') {
|
|
595
|
-
<input type="checkbox" [checked]="!!descriptor.displayValue" [disabled]="!descriptor.canEditAny" (change)="descriptor.canEditAny ? commitEdit(item, colLayout.col.columnId, !!descriptor.displayValue, !descriptor.displayValue, rowIndex, descriptor.globalColIndex) : null" (click)="$event.stopPropagation()"
|
|
595
|
+
<input type="checkbox" [checked]="!!descriptor.displayValue" [disabled]="!descriptor.canEditAny" (change)="descriptor.canEditAny ? commitEdit(item, colLayout.col.columnId, !!descriptor.displayValue, !descriptor.displayValue, rowIndex, descriptor.globalColIndex) : null" (click)="$event.stopPropagation()" style="margin:0;outline:none" [style.cursor]="descriptor.canEditAny ? 'pointer' : 'default'" [attr.aria-label]="descriptor.displayValue ? 'Checked' : 'Unchecked'" />
|
|
596
596
|
} @else {
|
|
597
597
|
{{ content }}
|
|
598
598
|
}
|
|
@@ -3,7 +3,7 @@ import { BaseDataGridTableComponent } from '@alaarab/ogrid-angular';
|
|
|
3
3
|
import type { IOGridDataGridProps } from '@alaarab/ogrid-angular';
|
|
4
4
|
/**
|
|
5
5
|
* DataGridTable component using native HTML table with Material Design-inspired styling.
|
|
6
|
-
* Standalone component
|
|
6
|
+
* Standalone component - this is the workhorse of the grid.
|
|
7
7
|
*/
|
|
8
8
|
export declare class DataGridTableComponent<T> extends BaseDataGridTableComponent<T> {
|
|
9
9
|
private readonly propsSignal;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseOGridComponent } from '@alaarab/ogrid-angular';
|
|
2
2
|
/**
|
|
3
3
|
* Top-level OGrid component for Angular Material.
|
|
4
|
-
* Standalone component
|
|
4
|
+
* Standalone component - provides OGridService and renders OGridLayout with all sub-components.
|
|
5
5
|
*
|
|
6
6
|
* Uses @Input with signal setter for JIT compatibility (project builds with tsc, not ngc).
|
|
7
7
|
* The effect() reactively configures the service when the input signal changes.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BasePaginationControlsComponent } from '@alaarab/ogrid-angular';
|
|
2
2
|
/**
|
|
3
3
|
* Pagination controls component using Angular Material styling.
|
|
4
|
-
* Standalone component with inline template
|
|
4
|
+
* Standalone component with inline template - no Angular Material dependency for pagination.
|
|
5
5
|
*/
|
|
6
6
|
export declare class PaginationControlsComponent extends BasePaginationControlsComponent {
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alaarab/ogrid-angular-material",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.6",
|
|
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.5.
|
|
40
|
+
"@alaarab/ogrid-angular": "2.5.5"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@angular/cdk": "^21.0.0",
|