Skip to content

Commit 2ba527b

Browse files
(release): 13.1.0
1 parent 509d3f8 commit 2ba527b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+843
-72
lines changed

release/assets/data/company_tree.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
[
2+
{
3+
"name": "Ethel Price",
4+
"gender": "female",
5+
"company": "Johnson, Johnson and Partners, LLC CMP DDC",
6+
"age": 22,
7+
"treeStatus": "collapsed"
8+
},
9+
{
10+
"name": "Claudine Neal",
11+
"gender": "female",
12+
"company": "Sealoud",
13+
"age": 55,
14+
"treeStatus": "disabled"
15+
},
16+
{
17+
"name": "Beryl Rice",
18+
"gender": "female",
19+
"company": "Velity",
20+
"age": 67,
21+
"treeStatus": "disabled"
22+
},
23+
{
24+
"name": "Wilder Gonzales",
25+
"gender": "male",
26+
"company": "Geekko",
27+
"treeStatus": "disabled"
28+
},
29+
{
30+
"name": "Georgina Schultz",
31+
"gender": "female",
32+
"company": "Suretech",
33+
"treeStatus": "collapsed"
34+
},
35+
{
36+
"name": "Carroll Buchanan",
37+
"gender": "male",
38+
"company": "Ecosys",
39+
"treeStatus": "disabled"
40+
},
41+
{
42+
"name": "Valarie Atkinson",
43+
"gender": "female",
44+
"company": "Hopeli",
45+
"treeStatus": "disabled"
46+
},
47+
{
48+
"name": "Schroeder Mathews",
49+
"gender": "male",
50+
"company": "Polarium",
51+
"manager": "Ethel Price",
52+
"treeStatus": "disabled"
53+
},
54+
{
55+
"name": "Lynda Mendoza",
56+
"gender": "female",
57+
"company": "Dogspa",
58+
"manager": "Georgina Schultz",
59+
"treeStatus": "disabled"
60+
}
61+
]

release/components/body/body-cell.component.d.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import { ChangeDetectorRef, EventEmitter, ElementRef, ViewContainerRef, OnDestroy, DoCheck } from '@angular/core';
22
import { SortDirection } from '../../types';
33
import { TableColumn } from '../../types/table-column.type';
4+
export declare type TreeStatus = 'collapsed' | 'expanded' | 'loading' | 'disabled';
45
export declare class DataTableBodyCellComponent implements DoCheck, OnDestroy {
56
private cd;
6-
displayCheck: any;
7+
displayCheck: (row: any, column?: TableColumn, value?: any) => boolean;
78
group: any;
89
rowHeight: number;
910
isSelected: boolean;
@@ -12,7 +13,9 @@ export declare class DataTableBodyCellComponent implements DoCheck, OnDestroy {
1213
column: TableColumn;
1314
row: any;
1415
sorts: any[];
16+
treeStatus: TreeStatus;
1517
activate: EventEmitter<any>;
18+
treeAction: EventEmitter<any>;
1619
cellTemplate: ViewContainerRef;
1720
readonly columnCssClasses: any;
1821
readonly width: number;
@@ -35,6 +38,7 @@ export declare class DataTableBodyCellComponent implements DoCheck, OnDestroy {
3538
private _rowIndex;
3639
private _expanded;
3740
private _element;
41+
private _treeStatus;
3842
constructor(element: ElementRef, cd: ChangeDetectorRef);
3943
ngDoCheck(): void;
4044
ngOnDestroy(): void;
@@ -47,4 +51,6 @@ export declare class DataTableBodyCellComponent implements DoCheck, OnDestroy {
4751
onCheckboxChange(event: any): void;
4852
calcSortDir(sorts: any[]): any;
4953
stripHtml(html: string): string;
54+
onTreeAction(row: any): void;
55+
calcLeftMargin(column: any, row: any): number;
5056
}

release/components/body/body-cell.component.js

Lines changed: 45 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/components/body/body-cell.component.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)