@refinitiv-ui/efx-grid 6.0.10 → 6.0.12
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/lib/column-format-dialog/lib/column-format-dialog.d.ts +8 -8
- package/lib/column-format-dialog/lib/preview-table.d.ts +47 -47
- package/lib/column-selection-dialog/lib/column-selection-dialog.d.ts +12 -12
- package/lib/filter-dialog/lib/checkbox-list.d.ts +5 -5
- package/lib/filter-dialog/lib/filter-dialog.d.ts +9 -9
- package/lib/grid/index.js +1 -1
- package/lib/grid/lib/efx-grid.d.ts +1 -1
- package/lib/versions.json +4 -4
- package/package.json +1 -1
@@ -37,12 +37,12 @@ declare namespace ColumnFormatDialog {
|
|
37
37
|
|
38
38
|
type Config = {
|
39
39
|
data: any,
|
40
|
-
supportHighlightApplyToSwitch?: boolean,
|
41
|
-
supportValueFormatOptions?: ColumnFormatDialog.SupportValueFormatOptions,
|
42
|
-
supportDisplayStyleOptions?: ColumnFormatDialog.SupportDisplayStyleOptions,
|
43
|
-
fields?: (string)[],
|
44
|
-
confirm?: ((...params: any[]) => any),
|
45
|
-
cancel?: ((...params: any[]) => any)
|
40
|
+
supportHighlightApplyToSwitch?: boolean|null,
|
41
|
+
supportValueFormatOptions?: ColumnFormatDialog.SupportValueFormatOptions|null,
|
42
|
+
supportDisplayStyleOptions?: ColumnFormatDialog.SupportDisplayStyleOptions|null,
|
43
|
+
fields?: (string)[]|null,
|
44
|
+
confirm?: ((...params: any[]) => any)|null,
|
45
|
+
cancel?: ((...params: any[]) => any)|null
|
46
46
|
};
|
47
47
|
|
48
48
|
}
|
@@ -51,7 +51,7 @@ declare class ColumnFormatDialog extends BasicElement {
|
|
51
51
|
|
52
52
|
constructor();
|
53
53
|
|
54
|
-
public init(userConfig?: ColumnFormatDialog.Config): void;
|
54
|
+
public init(userConfig?: ColumnFormatDialog.Config|null): void;
|
55
55
|
|
56
56
|
public show(): void;
|
57
57
|
|
@@ -67,7 +67,7 @@ declare global {
|
|
67
67
|
}
|
68
68
|
namespace JSX {
|
69
69
|
interface IntrinsicElements {
|
70
|
-
"column-format-dialog": ColumnFormatDialog
|
70
|
+
"column-format-dialog": ColumnFormatDialog | JSXInterface.HTMLAttributes;
|
71
71
|
}
|
72
72
|
}
|
73
73
|
}
|
@@ -10,86 +10,86 @@ import { Table } from "../../tr-grid-util/es6/Table.js";
|
|
10
10
|
declare namespace PreviewTable {
|
11
11
|
|
12
12
|
type Bar = {
|
13
|
-
isShowValue?: boolean,
|
14
|
-
isUsedMovement?: boolean
|
13
|
+
isShowValue?: boolean|null,
|
14
|
+
isUsedMovement?: boolean|null
|
15
15
|
};
|
16
16
|
|
17
17
|
type ConfigDateTime = {
|
18
|
-
formatDate?: string,
|
18
|
+
formatDate?: string|null,
|
19
19
|
isUsedGMT: boolean
|
20
20
|
};
|
21
21
|
|
22
22
|
type ConfigDisplayColor = {
|
23
|
-
background?: string,
|
24
|
-
textColor?: string
|
23
|
+
background?: string|null,
|
24
|
+
textColor?: string|null
|
25
25
|
};
|
26
26
|
|
27
27
|
type Conditional = {
|
28
|
-
isShowValue?: boolean,
|
29
|
-
isUsedMovement?: boolean,
|
30
|
-
conditionSequence: ((...params: any[]) => any),
|
31
|
-
colors: Colors
|
28
|
+
isShowValue?: boolean|null,
|
29
|
+
isUsedMovement?: boolean|null,
|
30
|
+
conditionSequence: ((...params: any[]) => any)|null,
|
31
|
+
colors: Colors|null
|
32
32
|
};
|
33
33
|
|
34
34
|
type ConfigDisplayStyle = {
|
35
35
|
mode: string,
|
36
|
-
alignment?: string,
|
37
|
-
bar?: Bar,
|
38
|
-
heatmap?: Heatmap,
|
39
|
-
conditionalColor: Conditional
|
36
|
+
alignment?: string|null,
|
37
|
+
bar?: Bar|null,
|
38
|
+
heatmap?: Heatmap|null,
|
39
|
+
conditionalColor: Conditional|null
|
40
40
|
};
|
41
41
|
|
42
42
|
type ConfigUpdateStyleValue = {
|
43
|
-
isTextChangedStyle?: boolean,
|
44
|
-
isCellChangedStyle?: boolean,
|
45
|
-
colors?: string,
|
46
|
-
isBackgroundBlink?: boolean
|
43
|
+
isTextChangedStyle?: boolean|null,
|
44
|
+
isCellChangedStyle?: boolean|null,
|
45
|
+
colors?: string|null,
|
46
|
+
isBackgroundBlink?: boolean|null
|
47
47
|
};
|
48
48
|
|
49
49
|
type ConfigValueFormat = {
|
50
50
|
mode: string,
|
51
|
-
decimalPlaces?: number,
|
52
|
-
isUsedSeparator?: boolean,
|
53
|
-
isShowPlusSignh?: boolean,
|
54
|
-
scaled?: string,
|
55
|
-
isPercentMultiply100?: boolean
|
51
|
+
decimalPlaces?: number|null,
|
52
|
+
isUsedSeparator?: boolean|null,
|
53
|
+
isShowPlusSignh?: boolean|null,
|
54
|
+
scaled?: string|null,
|
55
|
+
isPercentMultiply100?: boolean|null
|
56
56
|
};
|
57
57
|
|
58
58
|
type DisplayStyleTapGeneralMode = {
|
59
|
-
aligment?: string
|
59
|
+
aligment?: string|null
|
60
60
|
};
|
61
61
|
|
62
62
|
type DisplayStyleTapBarMode = {
|
63
|
-
showValues?: boolean,
|
64
|
-
useMovementColor?: boolean,
|
65
|
-
alignment?: string
|
63
|
+
showValues?: boolean|null,
|
64
|
+
useMovementColor?: boolean|null,
|
65
|
+
alignment?: string|null
|
66
66
|
};
|
67
67
|
|
68
68
|
type DisplayStyleTapHeatMapMode = {
|
69
|
-
mode?: string,
|
70
|
-
midPoint?: number,
|
71
|
-
alignment?: string
|
69
|
+
mode?: string|null,
|
70
|
+
midPoint?: number|null,
|
71
|
+
alignment?: string|null
|
72
72
|
};
|
73
73
|
|
74
74
|
type DisplayStyleTap = {
|
75
|
-
mode?: string,
|
76
|
-
general?: DisplayStyleTapGeneralMode,
|
77
|
-
bar?: DisplayStyleTapBarMode,
|
78
|
-
heatmap?: DisplayStyleTapHeatMapMode
|
75
|
+
mode?: string|null,
|
76
|
+
general?: DisplayStyleTapGeneralMode|null,
|
77
|
+
bar?: DisplayStyleTapBarMode|null,
|
78
|
+
heatmap?: DisplayStyleTapHeatMapMode|null
|
79
79
|
};
|
80
80
|
|
81
81
|
type FormatTab = {
|
82
|
-
formatType?: string,
|
83
|
-
decimalPlaces?: string,
|
84
|
-
separator?: boolean,
|
85
|
-
plusSign?: boolean,
|
86
|
-
scalingUnit?: string,
|
87
|
-
multiplyBy100?: boolean
|
82
|
+
formatType?: string|null,
|
83
|
+
decimalPlaces?: string|null,
|
84
|
+
separator?: boolean|null,
|
85
|
+
plusSign?: boolean|null,
|
86
|
+
scalingUnit?: string|null,
|
87
|
+
multiplyBy100?: boolean|null
|
88
88
|
};
|
89
89
|
|
90
90
|
type Heatmap = {
|
91
|
-
midPoint?: string,
|
92
|
-
applied?: string
|
91
|
+
midPoint?: string|null,
|
92
|
+
applied?: string|null
|
93
93
|
};
|
94
94
|
|
95
95
|
type Colors = {
|
@@ -101,7 +101,7 @@ declare namespace PreviewTable {
|
|
101
101
|
|
102
102
|
declare class PreviewTable extends ElementWrapper {
|
103
103
|
|
104
|
-
constructor(elem: Element);
|
104
|
+
constructor(elem: Element|null);
|
105
105
|
|
106
106
|
public getStructureFormat(): any;
|
107
107
|
|
@@ -109,7 +109,7 @@ declare class PreviewTable extends ElementWrapper {
|
|
109
109
|
|
110
110
|
public setDateFormatString(formatDate: string): void;
|
111
111
|
|
112
|
-
public setDateFormatUseGMT(isUsedGMT?: boolean): void;
|
112
|
+
public setDateFormatUseGMT(isUsedGMT?: boolean|null): void;
|
113
113
|
|
114
114
|
public setDateFormatLanguage(language: string): void;
|
115
115
|
|
@@ -123,15 +123,15 @@ declare class PreviewTable extends ElementWrapper {
|
|
123
123
|
|
124
124
|
public setDisplayStylePercentBarIsUsedMovement(isUsedMovement: boolean): void;
|
125
125
|
|
126
|
-
public setDisplayStyleConditional(condition: PreviewTable.Conditional): void;
|
126
|
+
public setDisplayStyleConditional(condition: PreviewTable.Conditional|null): void;
|
127
127
|
|
128
128
|
public setFormatType(type: string): void;
|
129
129
|
|
130
|
-
public setUpdateStyleValueCell(isCellChangedStyle?: boolean): void;
|
130
|
+
public setUpdateStyleValueCell(isCellChangedStyle?: boolean|null): void;
|
131
131
|
|
132
|
-
public setUpdateStyleValueText(isTextChangedStyle?: boolean): void;
|
132
|
+
public setUpdateStyleValueText(isTextChangedStyle?: boolean|null): void;
|
133
133
|
|
134
|
-
public setUpdateStyleValueCellBlinking(isBackgroundBlink?: boolean): void;
|
134
|
+
public setUpdateStyleValueCellBlinking(isBackgroundBlink?: boolean|null): void;
|
135
135
|
|
136
136
|
public setValueFormatDecimalPlaces(decimalPlaces: number): void;
|
137
137
|
|
@@ -13,16 +13,16 @@ import { injectCss, prettifyCss } from "../../tr-grid-util/es6/Util.js";
|
|
13
13
|
declare namespace ColumnSelectionDialog {
|
14
14
|
|
15
15
|
type Config = {
|
16
|
-
data: (any)[],
|
17
|
-
visibleItems?: (any)[],
|
18
|
-
defaultItems?: (any)[],
|
19
|
-
confirm?: ((...params: any[]) => any),
|
20
|
-
cancel?: ((...params: any[]) => any),
|
21
|
-
excludedColumns?: number,
|
22
|
-
excludedLeftColumns?: number,
|
23
|
-
excludedRightColumns?: number,
|
24
|
-
unmovableColumns?: number,
|
25
|
-
descriptionBox?: boolean
|
16
|
+
data: (any)[]|null,
|
17
|
+
visibleItems?: (any)[]|null,
|
18
|
+
defaultItems?: (any)[]|null,
|
19
|
+
confirm?: ((...params: any[]) => any)|null,
|
20
|
+
cancel?: ((...params: any[]) => any)|null,
|
21
|
+
excludedColumns?: number|null,
|
22
|
+
excludedLeftColumns?: number|null,
|
23
|
+
excludedRightColumns?: number|null,
|
24
|
+
unmovableColumns?: number|null,
|
25
|
+
descriptionBox?: boolean|null
|
26
26
|
};
|
27
27
|
|
28
28
|
}
|
@@ -31,7 +31,7 @@ declare class ColumnSelectionDialog extends BasicElement {
|
|
31
31
|
|
32
32
|
constructor();
|
33
33
|
|
34
|
-
public init(options?: ColumnSelectionDialog.Config): void;
|
34
|
+
public init(options?: ColumnSelectionDialog.Config|null): void;
|
35
35
|
|
36
36
|
public show(): void;
|
37
37
|
|
@@ -45,7 +45,7 @@ declare global {
|
|
45
45
|
}
|
46
46
|
namespace JSX {
|
47
47
|
interface IntrinsicElements {
|
48
|
-
"column-selection-dialog": ColumnSelectionDialog
|
48
|
+
"column-selection-dialog": ColumnSelectionDialog | JSXInterface.HTMLAttributes;
|
49
49
|
}
|
50
50
|
}
|
51
51
|
}
|
@@ -10,17 +10,17 @@ declare class CheckboxList extends BasicElement {
|
|
10
10
|
|
11
11
|
constructor();
|
12
12
|
|
13
|
-
public setData(list: (any)[]): void;
|
13
|
+
public setData(list: (any)[]|null): void;
|
14
14
|
|
15
|
-
public updateData(list?: (any)[]): void;
|
15
|
+
public updateData(list?: (any)[]|null): void;
|
16
16
|
|
17
17
|
public getSelectedItems(): (object)[];
|
18
18
|
|
19
|
-
public selectAll(selected?: boolean): void;
|
19
|
+
public selectAll(selected?: boolean|null): void;
|
20
20
|
|
21
21
|
public deselectAll(): void;
|
22
22
|
|
23
|
-
public filter(inputFilter?: (string|((...params: any[]) => any))): void;
|
23
|
+
public filter(inputFilter?: (string|((...params: any[]) => any))|null): void;
|
24
24
|
|
25
25
|
}
|
26
26
|
|
@@ -30,7 +30,7 @@ declare global {
|
|
30
30
|
}
|
31
31
|
namespace JSX {
|
32
32
|
interface IntrinsicElements {
|
33
|
-
"checkbox-list": CheckboxList
|
33
|
+
"checkbox-list": CheckboxList | JSXInterface.HTMLAttributes;
|
34
34
|
}
|
35
35
|
}
|
36
36
|
}
|
@@ -24,13 +24,13 @@ declare namespace FilterDialog {
|
|
24
24
|
|
25
25
|
type Config = {
|
26
26
|
data: any,
|
27
|
-
sortState?: string,
|
28
|
-
sortUI?: boolean,
|
29
|
-
filterUI?: boolean,
|
30
|
-
filterChanged?: ((...params: any[]) => any),
|
31
|
-
confirm?: ((...params: any[]) => any),
|
32
|
-
cancel?: ((...params: any[]) => any),
|
33
|
-
sortChanged?: ((...params: any[]) => any)
|
27
|
+
sortState?: string|null,
|
28
|
+
sortUI?: boolean|null,
|
29
|
+
filterUI?: boolean|null,
|
30
|
+
filterChanged?: ((...params: any[]) => any)|null,
|
31
|
+
confirm?: ((...params: any[]) => any)|null,
|
32
|
+
cancel?: ((...params: any[]) => any)|null,
|
33
|
+
sortChanged?: ((...params: any[]) => any)|null
|
34
34
|
};
|
35
35
|
|
36
36
|
}
|
@@ -39,7 +39,7 @@ declare class FilterDialog extends BasicElement {
|
|
39
39
|
|
40
40
|
constructor();
|
41
41
|
|
42
|
-
public init(options: FilterDialog.Config): void;
|
42
|
+
public init(options: FilterDialog.Config|null): void;
|
43
43
|
|
44
44
|
public show(): void;
|
45
45
|
|
@@ -57,7 +57,7 @@ declare global {
|
|
57
57
|
}
|
58
58
|
namespace JSX {
|
59
59
|
interface IntrinsicElements {
|
60
|
-
"filter-dialog": FilterDialog
|
60
|
+
"filter-dialog": FilterDialog | JSXInterface.HTMLAttributes;
|
61
61
|
}
|
62
62
|
}
|
63
63
|
}
|
package/lib/grid/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
import "./lib/efx-grid.js";
|
2
|
-
window.EFX_GRID = { version: "6.0.
|
2
|
+
window.EFX_GRID = { version: "6.0.12" };
|
package/lib/versions.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"tr-grid-util": "1.3.
|
2
|
+
"tr-grid-util": "1.3.79",
|
3
3
|
"@grid/column-dragging": "1.0.10",
|
4
4
|
"@grid/row-segmenting": "1.0.20",
|
5
5
|
"@grid/statistics-row": "1.0.13",
|
@@ -31,7 +31,7 @@
|
|
31
31
|
"tr-grid-textformatting": "1.0.44",
|
32
32
|
"tr-grid-titlewrap": "1.0.19",
|
33
33
|
"@grid/formatters": "1.0.49",
|
34
|
-
"@grid/column-selection-dialog": "4.0.
|
35
|
-
"@grid/filter-dialog": "4.0.
|
36
|
-
"@grid/column-format-dialog": "4.0.
|
34
|
+
"@grid/column-selection-dialog": "4.0.45",
|
35
|
+
"@grid/filter-dialog": "4.0.53",
|
36
|
+
"@grid/column-format-dialog": "4.0.43"
|
37
37
|
}
|
package/package.json
CHANGED