@coolon/angular-ui-powerups 16.1.0-aplpha.90 → 16.1.0-aplpha.92
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/assets/form.scss +12 -0
- package/esm2022/lib/components/tables/abstract-table.component.mjs +2 -25
- package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +1 -1
- package/esm2022/lib/components/tables/table/table.component.mjs +28 -7
- package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +26 -3
- package/fesm2022/coolon-angular-ui-powerups.mjs +51 -30
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/tables/abstract-table.component.d.ts +1 -8
- package/lib/components/tables/table/table.component.d.ts +12 -3
- package/lib/components/tables/tree-table/tree-table-component.d.ts +8 -1
- package/package.json +1 -1
|
@@ -67,13 +67,6 @@ 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;
|
|
77
70
|
columns: ListModelChain<ColumnModel<Row>>;
|
|
78
71
|
columnIds: ListModelChain<string>;
|
|
79
72
|
private columnsById;
|
|
@@ -92,5 +85,5 @@ export declare class AbstractTableComponent<Row> extends DisposableComponent imp
|
|
|
92
85
|
protected getModel(): AbstractTableModel<Row>;
|
|
93
86
|
registerColumnTemplate(columnId: string, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, fillCell: boolean, padChild: boolean): void;
|
|
94
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTableComponent<any>, never>;
|
|
95
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractTableComponent<any>, "aup-abstract-table", never, { "showHeader$": { "alias": "showHeader$"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; };
|
|
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>;
|
|
96
89
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Injector, OnInit } from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { ValueModel } from "@coolon/pectin";
|
|
3
3
|
import { AbstractTableModel } from '../abstract-table-model';
|
|
4
4
|
import { AbstractTableComponent } from '../abstract-table.component';
|
|
5
5
|
import { TableFilterModel } from "../filter/table-filter-model";
|
|
@@ -70,13 +70,22 @@ export declare class TableComponent<Row> extends AbstractTableComponent<Row> imp
|
|
|
70
70
|
accessor tableModel: TableModel<Row>;
|
|
71
71
|
accessor filterModel: TableFilterModel<Row>;
|
|
72
72
|
tableBody: TableBodyComponent<Row>;
|
|
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 scrolling$: ValueModel<TableComponent.ScrollMode>;
|
|
79
|
+
accessor scrolling: TableComponent.ScrollMode;
|
|
73
80
|
private _footerContentAdded;
|
|
74
81
|
private readonly _filteredRows$;
|
|
75
|
-
protected readonly scrollMode$: ValueModelChain<TableBodyComponent.ScrollMode>;
|
|
76
82
|
constructor(injector: Injector);
|
|
77
83
|
ngOnInit(): void;
|
|
78
84
|
protected getModel(): AbstractTableModel<Row>;
|
|
79
85
|
footerContentChanged($event: any): void;
|
|
80
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
81
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aup-table", never, { "tableModel": { "alias": "tableModel"; "required": false; }; "filterModel": { "alias": "filterModel"; "required": false; }; }, {}, never, ["[footer], [slot=footer]"], false, never>;
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aup-table", never, { "tableModel": { "alias": "tableModel"; "required": false; }; "filterModel": { "alias": "filterModel"; "required": false; }; "scrolling$": { "alias": "scrolling$"; "required": false; }; "scrolling": { "alias": "scrolling"; "required": false; }; }, {}, never, ["[footer], [slot=footer]"], false, never>;
|
|
88
|
+
}
|
|
89
|
+
export declare namespace TableComponent {
|
|
90
|
+
type ScrollMode = TableBodyComponent.ScrollMode;
|
|
82
91
|
}
|
|
@@ -70,10 +70,17 @@ 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;
|
|
73
80
|
protected readonly scrollMode$: ValueModel<TableBodyComponent.ScrollMode>;
|
|
74
81
|
constructor(injector: Injector);
|
|
75
82
|
ngOnInit(): void;
|
|
76
83
|
getModel(): AbstractTableModel<T>;
|
|
77
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<TreeTableComponent<any>, never>;
|
|
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>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableComponent<any>, "aup-tree-table", never, { "treeTableModel": { "alias": "treeTableModel"; "required": false; }; "expansionModel": { "alias": "expansionModel"; "required": false; }; "enableScrolling$": { "alias": "enableScrolling$"; "required": false; }; "enableScrolling": { "alias": "enableScrolling"; "required": false; }; }, {}, never, never, false, never>;
|
|
79
86
|
}
|