@coolon/angular-ui-powerups 3.10.4 → 3.11.1

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.
@@ -30,6 +30,7 @@ export declare class ColumnModel<Row> {
30
30
  private _cellRendererPortalRef;
31
31
  private _cellEditorPortalRef;
32
32
  private _selectRowOnClick;
33
+ private _flex;
33
34
  constructor(columnId: string, textPropertiesProvider: ColumnModel.TextPropertiesProvider);
34
35
  protected installHeaderRenderer(): void;
35
36
  getHeaderText(): string;
@@ -40,6 +41,8 @@ export declare class ColumnModel<Row> {
40
41
  protected configureCellRenderer<C>(config: CellRendererPortalRef<Row, any>): void;
41
42
  protected configureCellEditor<E>(cellEditor: CellEditorPortalRef<Row, E>): void;
42
43
  cellHeaderRenderer<C>(componentType: ComponentType<C>, initialiser: (component: C, column: ColumnModel<Row>) => void): this;
44
+ flex(flex?: boolean): void;
45
+ isFlex(): boolean;
43
46
  hasEditorPortal(): boolean;
44
47
  attachHeaderCell(host: any): void;
45
48
  attachCell(host: any): void;
@@ -1,16 +1,16 @@
1
1
  import { Portal } from '@angular/cdk/portal';
2
2
  import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
3
3
  import { DisposableComponent } from '../../disposable-component';
4
+ import { AbstractTableModel } from '../abstract-table-model';
4
5
  import { CellEditorComponent, CellListEditorComponent } from '../cell-editors';
5
6
  import { ColumnModel, RowData } from '../column-model';
6
7
  import { EditSession } from '../edit-session';
7
- import { TableModel } from '../table-model';
8
8
  import { CELL_RENDERER_PORTAL, CELL_EDITOR_PORTAL } from '../cell-portal-ref';
9
9
  export declare class TableCellRendererComponent<Row> extends DisposableComponent implements OnInit, OnChanges {
10
10
  row: Row;
11
11
  column: ColumnModel<Row>;
12
12
  editSession: EditSession<Row>;
13
- tableModel: TableModel<Row>;
13
+ tableModel: AbstractTableModel<Row>;
14
14
  private editRowCommand;
15
15
  [CELL_RENDERER_PORTAL]: Portal<any>;
16
16
  [CELL_EDITOR_PORTAL]: Portal<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "3.10.4",
3
+ "version": "3.11.1",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "@coolon/typescript-utilities": "^2.2.0",