@unipin/angular-applet 18.6.6 → 18.6.7

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.
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { Subscription } from 'rxjs';
3
- import { ColDef, RowModelType, GridReadyEvent, DragStoppedEvent, SelectionChangedEvent, GridApi, PaginationChangedEvent } from '@ag-grid-community/core';
3
+ import { ColDef, RowModelType, GridReadyEvent, DragStoppedEvent, SelectionChangedEvent, GridApi, PaginationChangedEvent, RowClassParams, RowNode } from '@ag-grid-community/core';
4
4
  import { GridConfig } from '../interfaces/grid-config.interface';
5
5
  import { GridService } from '../services/grid.service';
6
6
  import * as i0 from "@angular/core";
@@ -11,6 +11,7 @@ export declare class GridPaginationComponent implements OnInit, OnDestroy {
11
11
  id: `grid-${string}`;
12
12
  rowModelType: RowModelType;
13
13
  rowSelection: 'single' | 'multiple';
14
+ getRowClass: ((params: RowClassParams<RowNode, any>) => string) | undefined;
14
15
  readonly onRowClick: EventEmitter<any>;
15
16
  readonly onGridReady: EventEmitter<GridReadyEvent>;
16
17
  readonly onSelectionChanged: EventEmitter<SelectionChangedEvent<any>>;
@@ -28,5 +29,5 @@ export declare class GridPaginationComponent implements OnInit, OnDestroy {
28
29
  setDatasource(ev: GridReadyEvent): void;
29
30
  reset(): void;
30
31
  static ɵfac: i0.ɵɵFactoryDeclaration<GridPaginationComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<GridPaginationComponent, "up-pagination-grid", never, { "config": { "alias": "config"; "required": true; }; "rowData": { "alias": "rowData"; "required": false; }; "id": { "alias": "id"; "required": false; }; "rowModelType": { "alias": "rowModelType"; "required": false; }; "rowSelection": { "alias": "rowSelection"; "required": false; }; }, { "onRowClick": "onRowClick"; "onGridReady": "onGridReady"; "onSelectionChanged": "onSelectionChanged"; }, never, never, true, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<GridPaginationComponent, "up-pagination-grid", never, { "config": { "alias": "config"; "required": true; }; "rowData": { "alias": "rowData"; "required": false; }; "id": { "alias": "id"; "required": false; }; "rowModelType": { "alias": "rowModelType"; "required": false; }; "rowSelection": { "alias": "rowSelection"; "required": false; }; "getRowClass": { "alias": "getRowClass"; "required": false; }; }, { "onRowClick": "onRowClick"; "onGridReady": "onGridReady"; "onSelectionChanged": "onSelectionChanged"; }, never, never, true, never>;
32
33
  }
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { Subscription } from 'rxjs';
3
- import { ColDef, GridReadyEvent, DragStoppedEvent, SelectionChangedEvent, GridApi, PaginationChangedEvent } from '@ag-grid-community/core';
3
+ import { ColDef, GridReadyEvent, DragStoppedEvent, SelectionChangedEvent, GridApi, PaginationChangedEvent, RowClassParams, RowNode } from '@ag-grid-community/core';
4
4
  import { GridConfig } from '../interfaces/grid-config.interface';
5
5
  import { GridService } from '../services/grid.service';
6
6
  import * as i0 from "@angular/core";
@@ -9,6 +9,7 @@ export declare class GridSnapshotComponent implements OnInit, OnDestroy {
9
9
  id: `grid-${string}`;
10
10
  config: GridConfig;
11
11
  rowSelection: 'single' | 'multiple';
12
+ getRowClass: ((params: RowClassParams<RowNode, any>) => string) | undefined;
12
13
  readonly onRowClick: EventEmitter<any>;
13
14
  readonly onGridReady: EventEmitter<GridReadyEvent>;
14
15
  readonly onSelectionChanged: EventEmitter<SelectionChangedEvent<any>>;
@@ -31,5 +32,5 @@ export declare class GridSnapshotComponent implements OnInit, OnDestroy {
31
32
  setDatasource(ev: GridReadyEvent): void;
32
33
  reset(): void;
33
34
  static ɵfac: i0.ɵɵFactoryDeclaration<GridSnapshotComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<GridSnapshotComponent, "up-snapshot-grid", never, { "id": { "alias": "id"; "required": false; }; "config": { "alias": "config"; "required": true; }; "rowSelection": { "alias": "rowSelection"; "required": false; }; }, { "onRowClick": "onRowClick"; "onGridReady": "onGridReady"; "onSelectionChanged": "onSelectionChanged"; }, never, never, true, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<GridSnapshotComponent, "up-snapshot-grid", never, { "id": { "alias": "id"; "required": false; }; "config": { "alias": "config"; "required": true; }; "rowSelection": { "alias": "rowSelection"; "required": false; }; "getRowClass": { "alias": "getRowClass"; "required": false; }; }, { "onRowClick": "onRowClick"; "onGridReady": "onGridReady"; "onSelectionChanged": "onSelectionChanged"; }, never, never, true, never>;
35
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unipin/angular-applet",
3
- "version": "18.6.6",
3
+ "version": "18.6.7",
4
4
  "sideEffects": false,
5
5
  "homepage": "https://backoffice.unipin.com/",
6
6
  "description": "Angular specific wrappers for UniPin applet",