@guiexpert/table 1.1.62 → 1.1.64
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/index.cjs +3 -3
- package/index.js +123 -110
- package/lib/table/data/tablemodel/areamodel/area-model-object-array-with-columndefs.d.ts +1 -1
- package/lib/table/data/tablemodel/areamodel/area-model-object-array.d.ts +12 -7
- package/lib/table/render-scope.d.ts +1 -0
- package/lib/table/table-api.d.ts +1 -0
- package/lib/table/table-scope.d.ts +1 -0
- package/package.json +1 -1
|
@@ -11,5 +11,5 @@ export declare class AreaModelObjectArrayWithColumndefs<T> extends AreaModelObje
|
|
|
11
11
|
protected rows: T[];
|
|
12
12
|
protected readonly columnDefs: ColumnDefIf[];
|
|
13
13
|
defaultRowHeight: number;
|
|
14
|
-
constructor(areaIdent: AreaIdent, rows: T[], columnDefs: ColumnDefIf[], defaultRowHeight: number);
|
|
14
|
+
constructor(areaIdent: AreaIdent, rows: T[], columnDefs: ColumnDefIf[], defaultRowHeight: number, selectedRowClass?: string, focusedRowClass?: string);
|
|
15
15
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AbstractAreaModel } from
|
|
2
|
-
import { ColumnDefIf } from
|
|
3
|
-
import { AreaIdent } from
|
|
4
|
-
import { FilterFunction } from
|
|
5
|
-
import { SorterService } from
|
|
6
|
-
import { SortItem } from
|
|
1
|
+
import { AbstractAreaModel } from './abstract-area-model';
|
|
2
|
+
import { ColumnDefIf } from '../column/column-def.if';
|
|
3
|
+
import { AreaIdent } from '../area-ident.type';
|
|
4
|
+
import { FilterFunction } from '../../common/filter-function';
|
|
5
|
+
import { SorterService } from '../../../service/sorter.service';
|
|
6
|
+
import { SortItem } from '../../common/sort-item';
|
|
7
7
|
import { ObjectArrayHolderIf } from './object-array-holder.if';
|
|
8
8
|
/**
|
|
9
9
|
* Represents an area model defined by an object array.
|
|
@@ -14,13 +14,18 @@ export declare class AreaModelObjectArray<T> extends AbstractAreaModel<T> implem
|
|
|
14
14
|
protected rows: T[];
|
|
15
15
|
defaultRowHeight: number;
|
|
16
16
|
protected columnDefs: ColumnDefIf[];
|
|
17
|
+
selectedRowClass: string;
|
|
18
|
+
focusedRowClass: string;
|
|
17
19
|
focusedRowIndex: number;
|
|
18
20
|
protected readonly properties: string[];
|
|
19
21
|
protected filteredRows: T[];
|
|
20
22
|
protected sorterService: SorterService;
|
|
21
|
-
constructor(areaIdent: AreaIdent, rows: T[], defaultRowHeight: number, columnDefs?: ColumnDefIf[]);
|
|
23
|
+
constructor(areaIdent: AreaIdent, rows: T[], defaultRowHeight: number, columnDefs?: ColumnDefIf[], selectedRowClass?: string, focusedRowClass?: string);
|
|
22
24
|
setRows(rows: T[]): void;
|
|
23
25
|
filterRowsByPredict(predict: (row: T) => boolean): void;
|
|
26
|
+
/**
|
|
27
|
+
* return row count of filtered rows
|
|
28
|
+
*/
|
|
24
29
|
getRowCount(): number;
|
|
25
30
|
getValueAt(rowIndex: number, columnIndex: number): any;
|
|
26
31
|
/**
|
|
@@ -167,6 +167,7 @@ export declare class RenderScope extends EleScope {
|
|
|
167
167
|
* @protected
|
|
168
168
|
*/
|
|
169
169
|
protected getStringByAttr(srcElement: HTMLElement, key: string): string;
|
|
170
|
+
displayedRowCount: number;
|
|
170
171
|
/**
|
|
171
172
|
* Adjusts the layout and positioning of the specified area in the table.
|
|
172
173
|
* This method is used internally and should not be called directly.
|
package/lib/table/table-api.d.ts
CHANGED