@coolon/angular-ui-powerups 3.11.2 → 3.13.0
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/CHANGELOG.md +14 -0
- package/assets/table.scss +6 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +156 -119
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/components/card-container/card-container.component.js +1 -1
- package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/resize-aware.component.js +3 -3
- package/esm2015/lib/components/resize-aware.component.js.map +1 -1
- package/esm2015/lib/components/resize-aware.component.metadata.json +1 -1
- package/esm2015/lib/components/table/table.component.js +41 -9
- package/esm2015/lib/components/table/table.component.js.map +1 -1
- package/esm2015/lib/components/table/table.component.metadata.json +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +126 -94
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/resize-aware.component.d.ts +1 -1
- package/lib/components/table/table.component.d.ts +11 -5
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ListModelChain } from '@coolon/pectin';
|
|
3
|
-
import {
|
|
1
|
+
import { ElementRef, NgZone, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ListModelChain, ValueModel } from '@coolon/pectin';
|
|
3
|
+
import { ResizeAwareComponent } from '../resize-aware.component';
|
|
4
4
|
import { AbstractTableModel } from './abstract-table-model';
|
|
5
5
|
import { ColumnModel } from './column-model';
|
|
6
6
|
/**
|
|
@@ -32,12 +32,18 @@ import { ColumnModel } from './column-model';
|
|
|
32
32
|
* }
|
|
33
33
|
* }
|
|
34
34
|
*/
|
|
35
|
-
export declare class TableComponent<Row> extends
|
|
35
|
+
export declare class TableComponent<Row> extends ResizeAwareComponent implements OnInit {
|
|
36
36
|
tableModel: AbstractTableModel<Row>;
|
|
37
|
+
showHeaderModel: ValueModel<boolean>;
|
|
38
|
+
showHeader: boolean;
|
|
37
39
|
columns: ListModelChain<ColumnModel<Row>>;
|
|
38
40
|
columnIds: ListModelChain<string>;
|
|
39
41
|
private columnsById;
|
|
40
|
-
|
|
42
|
+
readonly visibleRowCount: ValueModel<number>;
|
|
43
|
+
private readonly headerHeight;
|
|
44
|
+
private readonly rowHeight;
|
|
45
|
+
constructor(elementRef: ElementRef, ngZone: NgZone);
|
|
46
|
+
get hideHeader(): boolean;
|
|
41
47
|
ngOnInit(): void;
|
|
42
48
|
isEditing(row: Row): boolean;
|
|
43
49
|
registerColumnTemplate(columnId: string, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, fillCell: boolean, padChild: boolean): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coolon/angular-ui-powerups",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.13.0",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@coolon/typescript-utilities": "^2.2.0",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@angular/material": "^10.2.0",
|
|
17
17
|
"@angular/animations": "^10.1.1",
|
|
18
18
|
"@angular/cdk": "^10.2.0",
|
|
19
|
-
"@coolon/pectin": ">=3.
|
|
19
|
+
"@coolon/pectin": ">=3.9.0",
|
|
20
20
|
"resize-observer-polyfill": "^1.5.1",
|
|
21
21
|
"@fortawesome/angular-fontawesome": "^0.8.1",
|
|
22
22
|
"@fortawesome/fontawesome-svg-core": "^1.2.34",
|