@coolon/angular-ui-powerups 16.1.0-aplpha.92 → 16.1.0-aplpha.93
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/esm2022/lib/components/tables/abstract-table.component.mjs +25 -2
- package/esm2022/lib/components/tables/table/table.component.mjs +21 -18
- package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +4 -27
- package/fesm2022/coolon-angular-ui-powerups.mjs +46 -43
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/tables/abstract-table.component.d.ts +8 -1
- package/lib/components/tables/table/table.component.d.ts +7 -7
- package/lib/components/tables/tree-table/tree-table-component.d.ts +1 -8
- package/package.json +1 -1
|
@@ -67,6 +67,13 @@ export declare class AbstractTableComponent<Row> extends DisposableComponent imp
|
|
|
67
67
|
readonly injector: Injector;
|
|
68
68
|
accessor showHeader$: ValueModel<boolean>;
|
|
69
69
|
accessor showHeader: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Set to true to enable scrolling. Once enabled the table will have 0 implicit height. You will either
|
|
72
|
+
* need to set it explicitly e.g. height: 400px; or by using flex or grid layout to make it fill it's
|
|
73
|
+
* containment area.
|
|
74
|
+
*/
|
|
75
|
+
accessor enableScrolling$: ValueModel<boolean>;
|
|
76
|
+
accessor enableScrolling: boolean;
|
|
70
77
|
columns: ListModelChain<ColumnModel<Row>>;
|
|
71
78
|
columnIds: ListModelChain<string>;
|
|
72
79
|
private columnsById;
|
|
@@ -85,5 +92,5 @@ export declare class AbstractTableComponent<Row> extends DisposableComponent imp
|
|
|
85
92
|
protected getModel(): AbstractTableModel<Row>;
|
|
86
93
|
registerColumnTemplate(columnId: string, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, fillCell: boolean, padChild: boolean): void;
|
|
87
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTableComponent<any>, never>;
|
|
88
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractTableComponent<any>, "aup-abstract-table", never, { "showHeader$": { "alias": "showHeader$"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; }, {}, never, never, false, never>;
|
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractTableComponent<any>, "aup-abstract-table", never, { "showHeader$": { "alias": "showHeader$"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "enableScrolling$": { "alias": "enableScrolling$"; "required": false; }; "enableScrolling": { "alias": "enableScrolling"; "required": false; }; }, {}, never, never, false, never>;
|
|
89
96
|
}
|
|
@@ -71,21 +71,21 @@ export declare class TableComponent<Row> extends AbstractTableComponent<Row> imp
|
|
|
71
71
|
accessor filterModel: TableFilterModel<Row>;
|
|
72
72
|
tableBody: TableBodyComponent<Row>;
|
|
73
73
|
/**
|
|
74
|
-
* Set to true to
|
|
75
|
-
*
|
|
76
|
-
* containment area.
|
|
74
|
+
* Set to true to scroll mode to classic or virtual (default). Virtual scrolll performs better for large data sets but clamps the row height. Classic scroll
|
|
75
|
+
* renders all rows but allows row heights to grow.
|
|
77
76
|
*/
|
|
78
|
-
accessor
|
|
79
|
-
accessor
|
|
77
|
+
accessor scrollMode$: ValueModel<TableComponent.ScrollMode>;
|
|
78
|
+
accessor scrollMode: TableComponent.ScrollMode;
|
|
80
79
|
private _footerContentAdded;
|
|
81
80
|
private readonly _filteredRows$;
|
|
81
|
+
protected readonly tableBodyScrollMode$: ValueModel<TableBodyComponent.ScrollMode>;
|
|
82
82
|
constructor(injector: Injector);
|
|
83
83
|
ngOnInit(): void;
|
|
84
84
|
protected getModel(): AbstractTableModel<Row>;
|
|
85
85
|
footerContentChanged($event: any): void;
|
|
86
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
87
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aup-table", never, { "tableModel": { "alias": "tableModel"; "required": false; }; "filterModel": { "alias": "filterModel"; "required": false; }; "
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aup-table", never, { "tableModel": { "alias": "tableModel"; "required": false; }; "filterModel": { "alias": "filterModel"; "required": false; }; "scrollMode$": { "alias": "scrollMode$"; "required": false; }; "scrollMode": { "alias": "scrollMode"; "required": false; }; }, {}, never, ["[footer], [slot=footer]"], false, never>;
|
|
88
88
|
}
|
|
89
89
|
export declare namespace TableComponent {
|
|
90
|
-
type ScrollMode = TableBodyComponent.ScrollMode
|
|
90
|
+
type ScrollMode = Omit<TableBodyComponent.ScrollMode, 'none'>;
|
|
91
91
|
}
|
|
@@ -70,17 +70,10 @@ import * as i0 from "@angular/core";
|
|
|
70
70
|
export declare class TreeTableComponent<T extends TreeNode<T>> extends AbstractTableComponent<T> implements OnInit {
|
|
71
71
|
accessor treeTableModel: TreeTableModel<T>;
|
|
72
72
|
accessor expansionModel: TreeExpansionModel<T>;
|
|
73
|
-
/**
|
|
74
|
-
* Set to true to enable scrolling. Once enabled the table will have 0 implicit height. You will either
|
|
75
|
-
* need to set it explicitly e.g. height: 400px; or by using flex or grid layout to make it fill it's
|
|
76
|
-
* containment area.
|
|
77
|
-
*/
|
|
78
|
-
accessor enableScrolling$: ValueModel<boolean>;
|
|
79
|
-
accessor enableScrolling: boolean;
|
|
80
73
|
protected readonly scrollMode$: ValueModel<TableBodyComponent.ScrollMode>;
|
|
81
74
|
constructor(injector: Injector);
|
|
82
75
|
ngOnInit(): void;
|
|
83
76
|
getModel(): AbstractTableModel<T>;
|
|
84
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<TreeTableComponent<any>, never>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableComponent<any>, "aup-tree-table", never, { "treeTableModel": { "alias": "treeTableModel"; "required": false; }; "expansionModel": { "alias": "expansionModel"; "required": false; };
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableComponent<any>, "aup-tree-table", never, { "treeTableModel": { "alias": "treeTableModel"; "required": false; }; "expansionModel": { "alias": "expansionModel"; "required": false; }; }, {}, never, never, false, never>;
|
|
86
79
|
}
|