basesite-shared-grid-lib 15.10.103 → 15.10.108

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.
@@ -1047,6 +1047,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
1047
1047
  }]
1048
1048
  }] });
1049
1049
 
1050
+ class CellRendererComponent {
1051
+ agInit(params) {
1052
+ this.params = params;
1053
+ }
1054
+ refresh(params) {
1055
+ return false;
1056
+ }
1057
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1058
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: CellRendererComponent, isStandalone: false, selector: "app-cell-data", ngImport: i0, template: `
1059
+ <span [ngClass]="{'functional-area-data' : params.field === 'functionalAreaName', 'aefirm-data' : params.field === 'aefirm'}">
1060
+ {{ params.value }}
1061
+ </span>
1062
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
1063
+ }
1064
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CellRendererComponent, decorators: [{
1065
+ type: Component,
1066
+ args: [{
1067
+ selector: 'app-cell-data',
1068
+ template: `
1069
+ <span [ngClass]="{'functional-area-data' : params.field === 'functionalAreaName', 'aefirm-data' : params.field === 'aefirm'}">
1070
+ {{ params.value }}
1071
+ </span>
1072
+ `,
1073
+ standalone: false
1074
+ }]
1075
+ }] });
1076
+
1050
1077
  class ColumnValueFormatter {
1051
1078
  constructor(datePipe) {
1052
1079
  this.datePipe = datePipe;
@@ -1330,6 +1357,10 @@ class GridLibraryComponent {
1330
1357
  tooltipField: res.field,
1331
1358
  floatingFilter: this.floatingFilter,
1332
1359
  valueFormatter: (params) => this.formatterService.colValueFormatter(params, res.columnType),
1360
+ cellRenderer: CellRendererComponent,
1361
+ cellRendererParams: {
1362
+ field: res.field,
1363
+ },
1333
1364
  filterable: res.filterable,
1334
1365
  filter: res.columnType == 'string'
1335
1366
  ? 'agTextColumnFilter'
@@ -1947,7 +1978,8 @@ class GridLibraryModule {
1947
1978
  CustomTooltip,
1948
1979
  DropdownRenderer,
1949
1980
  DateHeaderComponent,
1950
- HeaderComponent], imports: [AgGridModule,
1981
+ HeaderComponent,
1982
+ CellRendererComponent], imports: [AgGridModule,
1951
1983
  CommonModule], exports: [GridLibraryComponent] }); }
1952
1984
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: GridLibraryModule, providers: [DatePipe, GridLibraryService, ColumnValueFormatter, provideHttpClient(withInterceptorsFromDi())], imports: [AgGridModule,
1953
1985
  CommonModule] }); }
@@ -1960,7 +1992,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
1960
1992
  CustomTooltip,
1961
1993
  DropdownRenderer,
1962
1994
  DateHeaderComponent,
1963
- HeaderComponent
1995
+ HeaderComponent,
1996
+ CellRendererComponent
1964
1997
  ],
1965
1998
  exports: [
1966
1999
  GridLibraryComponent