@refinitiv-ui/efx-grid 6.0.15 → 6.0.17
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/grid/index.js +1 -1
- package/lib/rt-grid/dist/rt-grid.js +661 -84
- package/lib/rt-grid/dist/rt-grid.min.js +1 -1
- package/lib/rt-grid/es6/ColumnDefinition.d.ts +10 -0
- package/lib/rt-grid/es6/ColumnDefinition.js +110 -1
- package/lib/rt-grid/es6/FieldDefinition.d.ts +6 -0
- package/lib/rt-grid/es6/FieldDefinition.js +43 -0
- package/lib/rt-grid/es6/Grid.js +184 -8
- package/lib/rt-grid/es6/SnapshotFiller.d.ts +1 -0
- package/lib/rt-grid/es6/SnapshotFiller.js +125 -17
- package/lib/tr-grid-column-grouping/es6/ColumnGrouping.d.ts +4 -4
- package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +273 -143
- package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +7 -1
- package/lib/tr-grid-column-stack/es6/ColumnStack.js +167 -146
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +44 -43
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +202 -497
- package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +30 -29
- package/lib/tr-grid-row-filtering/es6/RowFiltering.js +176 -98
- package/lib/tr-grid-row-grouping/es6/RowGrouping.d.ts +40 -40
- package/lib/tr-grid-rowcoloring/es6/RowColoring.d.ts +17 -15
- package/lib/tr-grid-rowcoloring/es6/RowColoring.js +89 -159
- package/lib/types/es6/ColumnStack.d.ts +7 -1
- package/lib/types/es6/Core/data/Segment.d.ts +3 -3
- package/lib/types/es6/Core/data/SegmentCollection.d.ts +1 -1
- package/lib/types/es6/InCellEditing.d.ts +44 -43
- package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +10 -0
- package/lib/types/es6/RealtimeGrid/FieldDefinition.d.ts +6 -0
- package/lib/types/es6/RealtimeGrid/Grid.d.ts +2 -0
- package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +4 -0
- package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +1 -0
- package/lib/types/es6/RowColoring.d.ts +17 -15
- package/lib/types/es6/RowFiltering.d.ts +30 -29
- package/lib/types/es6/RowGrouping.d.ts +40 -40
- package/lib/versions.json +7 -7
- package/package.json +1 -1
@@ -10,47 +10,47 @@ declare namespace RowGroupingPlugin {
|
|
10
10
|
type GroupSortLogic = (grpValA: any, grpValB: any, grpDataViewA?: any, grpDataViewB?: any) => number;
|
11
11
|
|
12
12
|
type Options = {
|
13
|
-
autoGroupRemoval?: boolean,
|
14
|
-
autoGroupHiding?: boolean,
|
15
|
-
predefinedGroups?: (any[]|(any[])[]),
|
16
|
-
groupBy?: RowGroupingPlugin.GroupCriteria,
|
17
|
-
groupCriteria?: RowGroupingPlugin.GroupCriteria,
|
18
|
-
displayColumn?: number,
|
19
|
-
fixedDisplayColumn?: boolean,
|
20
|
-
noCollapsible?: boolean,
|
21
|
-
clickableCell?: boolean,
|
22
|
-
hiddenArrow?: (boolean|number|(number)[]),
|
23
|
-
contentAsHeader?: boolean,
|
24
|
-
headerSpanning?: boolean,
|
25
|
-
footerSpanning?: boolean,
|
26
|
-
groupSortLogic?: RowGroupingPlugin.GroupSortLogic,
|
27
|
-
autoGroupSorting?: boolean,
|
28
|
-
indentSize?: (boolean|number|(number)[]),
|
29
|
-
colorTag?: boolean,
|
13
|
+
autoGroupRemoval?: boolean|null,
|
14
|
+
autoGroupHiding?: boolean|null,
|
15
|
+
predefinedGroups?: (any[]|(any[])[])|null,
|
16
|
+
groupBy?: RowGroupingPlugin.GroupCriteria|null,
|
17
|
+
groupCriteria?: RowGroupingPlugin.GroupCriteria|null,
|
18
|
+
displayColumn?: number|null,
|
19
|
+
fixedDisplayColumn?: boolean|null,
|
20
|
+
noCollapsible?: boolean|null,
|
21
|
+
clickableCell?: boolean|null,
|
22
|
+
hiddenArrow?: (boolean|number|(number)[])|null,
|
23
|
+
contentAsHeader?: boolean|null,
|
24
|
+
headerSpanning?: boolean|null,
|
25
|
+
footerSpanning?: boolean|null,
|
26
|
+
groupSortLogic?: RowGroupingPlugin.GroupSortLogic|null,
|
27
|
+
autoGroupSorting?: boolean|null,
|
28
|
+
indentSize?: (boolean|number|(number)[])|null,
|
29
|
+
colorTag?: boolean|null,
|
30
30
|
predefinedColors?: any,
|
31
31
|
groupColors?: any,
|
32
|
-
clicked?: ((...params: any[]) => any),
|
33
|
-
groupAdded?: ((...params: any[]) => any),
|
34
|
-
beforeGroupAdded?: ((...params: any[]) => any),
|
35
|
-
groupHeaderBinding?: ((...params: any[]) => any),
|
36
|
-
groupFooterBinding?: ((...params: any[]) => any),
|
37
|
-
headerBinding?: ((...params: any[]) => any),
|
38
|
-
footerBinding?: ((...params: any[]) => any),
|
39
|
-
nonGroupBinding?: ((...params: any[]) => any)
|
32
|
+
clicked?: ((...params: any[]) => any)|null,
|
33
|
+
groupAdded?: ((...params: any[]) => any)|null,
|
34
|
+
beforeGroupAdded?: ((...params: any[]) => any)|null,
|
35
|
+
groupHeaderBinding?: ((...params: any[]) => any)|null,
|
36
|
+
groupFooterBinding?: ((...params: any[]) => any)|null,
|
37
|
+
headerBinding?: ((...params: any[]) => any)|null,
|
38
|
+
footerBinding?: ((...params: any[]) => any)|null,
|
39
|
+
nonGroupBinding?: ((...params: any[]) => any)|null
|
40
40
|
};
|
41
41
|
|
42
|
-
type GroupCriteria = string|(string|((...params: any[]) => any))[];
|
42
|
+
type GroupCriteria = string|(string|((...params: any[]) => any))[]|null;
|
43
43
|
|
44
44
|
type GroupingState = {
|
45
45
|
collapsed: boolean,
|
46
|
-
groupId?: (number|string)
|
46
|
+
groupId?: (number|string)|null
|
47
47
|
};
|
48
48
|
|
49
49
|
}
|
50
50
|
|
51
51
|
declare class RowGroupingPlugin extends GridPlugin {
|
52
52
|
|
53
|
-
constructor(options?: RowGroupingPlugin.Options);
|
53
|
+
constructor(options?: RowGroupingPlugin.Options|null);
|
54
54
|
|
55
55
|
public beforeProcessOption(optionName: string, optionVal: any): any;
|
56
56
|
|
@@ -70,17 +70,17 @@ declare class RowGroupingPlugin extends GridPlugin {
|
|
70
70
|
|
71
71
|
public hasGroupingCriteria(): boolean;
|
72
72
|
|
73
|
-
public setGroupingCriteria(criteria: RowGroupingPlugin.GroupCriteria): void;
|
73
|
+
public setGroupingCriteria(criteria: RowGroupingPlugin.GroupCriteria|null): void;
|
74
74
|
|
75
|
-
public groupBy(criteria: RowGroupingPlugin.GroupCriteria): void;
|
75
|
+
public groupBy(criteria: RowGroupingPlugin.GroupCriteria|null): void;
|
76
76
|
|
77
77
|
public getDataView(): any;
|
78
78
|
|
79
|
-
public setGroupSortingLogic(sortFunction: RowGroupingPlugin.GroupSortLogic): void;
|
79
|
+
public setGroupSortingLogic(sortFunction: RowGroupingPlugin.GroupSortLogic|null): void;
|
80
80
|
|
81
81
|
public getGroupSortingLogic(): ((...params: any[]) => any)|null;
|
82
82
|
|
83
|
-
public setPredefinedGroups(predefinedGroups: any[]|(any[])[]): void;
|
83
|
+
public setPredefinedGroups(predefinedGroups: any[]|(any[])[]|null): void;
|
84
84
|
|
85
85
|
public setPredefinedColors(predefinedColors: any): void;
|
86
86
|
|
@@ -88,23 +88,23 @@ declare class RowGroupingPlugin extends GridPlugin {
|
|
88
88
|
|
89
89
|
public updateHeaders(): void;
|
90
90
|
|
91
|
-
public expandAll(opt_expanded?: boolean): void;
|
91
|
+
public expandAll(opt_expanded?: boolean|null): void;
|
92
92
|
|
93
|
-
public collapseAll(opt_collapsed?: boolean): void;
|
93
|
+
public collapseAll(opt_collapsed?: boolean|null): void;
|
94
94
|
|
95
|
-
public expand(groupRowId: string, opt_expanded?: boolean): void;
|
95
|
+
public expand(groupRowId: string, opt_expanded?: boolean|null): void;
|
96
96
|
|
97
|
-
public collapse(groupRowId: string, opt_collapsed?: boolean): void;
|
97
|
+
public collapse(groupRowId: string, opt_collapsed?: boolean|null): void;
|
98
98
|
|
99
|
-
public disableClicking(opt_disabled?: boolean): void;
|
99
|
+
public disableClicking(opt_disabled?: boolean|null): void;
|
100
100
|
|
101
101
|
public getGroupingStates(): (RowGroupingPlugin.GroupingState)[]|null;
|
102
102
|
|
103
|
-
public setGroupingStates(states: (RowGroupingPlugin.GroupingState)[]|string): void;
|
103
|
+
public setGroupingStates(states: (RowGroupingPlugin.GroupingState)[]|string|null): void;
|
104
104
|
|
105
|
-
public enableFixedDisplayColumn(opt_enabled?: boolean): void;
|
105
|
+
public enableFixedDisplayColumn(opt_enabled?: boolean|null): void;
|
106
106
|
|
107
|
-
public enableFooterRow(opt_num?: (boolean|number)): void;
|
107
|
+
public enableFooterRow(opt_num?: (boolean|number)|null): void;
|
108
108
|
|
109
109
|
}
|
110
110
|
|
@@ -5,20 +5,22 @@ import {injectCss, prettifyCss} from "../../tr-grid-util/es6/Util.js";
|
|
5
5
|
declare namespace RowColoringPlugin {
|
6
6
|
|
7
7
|
type Options = {
|
8
|
-
bgColoring?: boolean,
|
9
|
-
textColoring?: boolean,
|
10
|
-
bgColorField?: string,
|
11
|
-
textColorField?: string,
|
12
|
-
cssField?: string,
|
8
|
+
bgColoring?: boolean|null,
|
9
|
+
textColoring?: boolean|null,
|
10
|
+
bgColorField?: string|null,
|
11
|
+
textColorField?: string|null,
|
12
|
+
cssField?: string|null,
|
13
|
+
cssRangeField?: string|null,
|
14
|
+
altCssField?: string|null,
|
13
15
|
predefinedColors?: any,
|
14
|
-
predefinedColoring?: boolean
|
16
|
+
predefinedColoring?: boolean|null
|
15
17
|
};
|
16
18
|
|
17
19
|
}
|
18
20
|
|
19
21
|
declare class RowColoringPlugin extends GridPlugin {
|
20
22
|
|
21
|
-
constructor(options?: RowColoringPlugin.Options);
|
23
|
+
constructor(options?: RowColoringPlugin.Options|null);
|
22
24
|
|
23
25
|
public getName(): string;
|
24
26
|
|
@@ -30,25 +32,25 @@ declare class RowColoringPlugin extends GridPlugin {
|
|
30
32
|
|
31
33
|
public getConfigObject(gridOptions?: any): any;
|
32
34
|
|
33
|
-
public setRowColor(rowRef: string|number, bgColor?: (string|null), txtColor?: (string|null)): void;
|
35
|
+
public setRowColor(rowRef: string|number|null, bgColor?: (string|null)|null, txtColor?: (string|null)|null): void;
|
34
36
|
|
35
|
-
public getRowColor(rowRef: string|number): string;
|
37
|
+
public getRowColor(rowRef: string|number|null): string;
|
36
38
|
|
37
|
-
public removeRowColor(rowRef: string|number): void;
|
39
|
+
public removeRowColor(rowRef: string|number|null): void;
|
38
40
|
|
39
|
-
public toggleRowColor(rowRef: string|number, bgColor?: (string|null), txtColor?: (string|null), state?: boolean): boolean;
|
41
|
+
public toggleRowColor(rowRef: string|number|null, bgColor?: (string|null)|null, txtColor?: (string|null)|null, state?: boolean|null): boolean;
|
40
42
|
|
41
|
-
public setRowPredefinedColor(rowRef: string|number, color?: (string|null)): void;
|
43
|
+
public setRowPredefinedColor(rowRef: string|number|null, color?: (string|null)|null, range?: (number)[]|null, altColor?: (string|null)|null): void;
|
42
44
|
|
43
45
|
public getPredefinedColors(): any;
|
44
46
|
|
45
47
|
public setPredefinedColors(predefinedColors: any): void;
|
46
48
|
|
47
|
-
public disableTextColoring(opt_bool?: boolean): void;
|
49
|
+
public disableTextColoring(opt_bool?: boolean|null): void;
|
48
50
|
|
49
|
-
public disableBgColoring(opt_bool?: boolean): void;
|
51
|
+
public disableBgColoring(opt_bool?: boolean|null): void;
|
50
52
|
|
51
|
-
public disableRowColoring(disabled?: boolean): void;
|
53
|
+
public disableRowColoring(disabled?: boolean|null): void;
|
52
54
|
|
53
55
|
public static getContrastColor(hexColor: string): string;
|
54
56
|
|