@refinitiv-ui/efx-grid 6.0.16 → 6.0.18

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.
Files changed (31) hide show
  1. package/lib/grid/index.js +1 -1
  2. package/lib/rt-grid/dist/rt-grid.js +177 -64
  3. package/lib/rt-grid/dist/rt-grid.min.js +1 -1
  4. package/lib/rt-grid/es6/ColumnDefinition.js +2 -1
  5. package/lib/rt-grid/es6/Grid.d.ts +12 -2
  6. package/lib/rt-grid/es6/Grid.js +152 -54
  7. package/lib/rt-grid/es6/RowDefinition.js +4 -0
  8. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.d.ts +4 -4
  9. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +344 -185
  10. package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +7 -1
  11. package/lib/tr-grid-column-stack/es6/ColumnStack.js +164 -147
  12. package/lib/tr-grid-filter-input/es6/FilterInput.d.ts +1 -0
  13. package/lib/tr-grid-filter-input/es6/FilterInput.js +27 -0
  14. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +44 -43
  15. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +202 -497
  16. package/lib/tr-grid-row-grouping/es6/RowGrouping.d.ts +40 -40
  17. package/lib/types/es6/ColumnGrouping.d.ts +4 -4
  18. package/lib/types/es6/ColumnStack.d.ts +7 -1
  19. package/lib/types/es6/Core/data/Segment.d.ts +3 -3
  20. package/lib/types/es6/Core/data/SegmentCollection.d.ts +1 -1
  21. package/lib/types/es6/InCellEditing.d.ts +44 -43
  22. package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +10 -0
  23. package/lib/types/es6/RealtimeGrid/FieldDefinition.d.ts +6 -0
  24. package/lib/types/es6/RealtimeGrid/Grid.d.ts +13 -1
  25. package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +4 -0
  26. package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +1 -0
  27. package/lib/types/es6/RowColoring.d.ts +17 -15
  28. package/lib/types/es6/RowFiltering.d.ts +30 -29
  29. package/lib/types/es6/RowGrouping.d.ts +40 -40
  30. package/lib/versions.json +5 -5
  31. package/package.json +1 -1
@@ -10,50 +10,51 @@ import { CoralItems } from "../../tr-grid-util/es6/CoralItems.js";
10
10
  declare namespace InCellEditingPlugin {
11
11
 
12
12
  type Options = {
13
- balloonMode?: boolean,
14
- editableTitle?: boolean,
15
- editableContent?: boolean,
16
- autoCommitText?: boolean,
17
- dataBinding?: boolean,
18
- popupElement?: Element,
19
- doubleClick?: boolean,
20
- tabToMove?: boolean,
21
- contentSource?: boolean,
22
- inlineStyling?: boolean,
23
- disablingScroll?: boolean,
24
- uiBlocking?: boolean,
25
- preEditorOpening?: ((...params: any[]) => any),
26
- editorOpened?: ((...params: any[]) => any),
27
- beforeCommit?: ((...params: any[]) => any),
28
- editorClosed?: ((...params: any[]) => any),
29
- keyUp?: ((...params: any[]) => any),
30
- beforeRowCommit?: ((...params: any[]) => any),
31
- rowEditorClosed?: ((...params: any[]) => any),
32
- autoSuggest?: Element,
33
- closingOnScroll?: boolean
13
+ balloonMode?: boolean|null,
14
+ editableTitle?: boolean|null,
15
+ editableContent?: boolean|null,
16
+ autoCommitText?: boolean|null,
17
+ dataBinding?: boolean|null,
18
+ popupElement?: Element|null,
19
+ doubleClick?: boolean|null,
20
+ tabToMove?: boolean|null,
21
+ contentSource?: boolean|null,
22
+ inlineStyling?: boolean|null,
23
+ disablingScroll?: boolean|null,
24
+ uiBlocking?: boolean|null,
25
+ preEditorOpening?: ((...params: any[]) => any)|null,
26
+ editorOpened?: ((...params: any[]) => any)|null,
27
+ beforeCommit?: ((...params: any[]) => any)|null,
28
+ editorClosed?: ((...params: any[]) => any)|null,
29
+ keyUp?: ((...params: any[]) => any)|null,
30
+ beforeRowCommit?: ((...params: any[]) => any)|null,
31
+ rowEditorClosed?: ((...params: any[]) => any)|null,
32
+ autoSuggest?: Element|null,
33
+ closingOnScroll?: boolean|null
34
34
  };
35
35
 
36
36
  type Cache = {
37
- editor: Element,
38
- balloonPopup: Element,
39
- inputElement: Element
37
+ editor: Element|null,
38
+ balloonPopup: Element|null,
39
+ inputElement: Element|null
40
40
  };
41
41
 
42
42
  type EditorOptions = {
43
- type?: string,
44
- entries?: any[]
43
+ type?: string|null,
44
+ entries?: any[]|null,
45
+ attributes?: any
45
46
  };
46
47
 
47
48
  type ColumnOptions = {
48
- editableContent?: boolean,
49
- inCellEditing?: InCellEditingPlugin.EditorOptions
49
+ editableContent?: boolean|null,
50
+ inCellEditing?: InCellEditingPlugin.EditorOptions|null
50
51
  };
51
52
 
52
53
  }
53
54
 
54
55
  declare class InCellEditingPlugin extends GridPlugin {
55
56
 
56
- constructor(options?: InCellEditingPlugin.Options);
57
+ constructor(options?: InCellEditingPlugin.Options|null);
57
58
 
58
59
  public initialize(host: any, options: any): void;
59
60
 
@@ -65,23 +66,23 @@ declare class InCellEditingPlugin extends GridPlugin {
65
66
 
66
67
  public openEditor(colIndex: number, rowIndex: number, sectionRef?: any, grid?: any): void;
67
68
 
68
- public closeCellEditor(opt_forceCommit?: boolean): void;
69
+ public closeCellEditor(opt_forceCommit?: boolean|null): void;
69
70
 
70
- public enableBalloonMode(opt_enabled?: boolean): void;
71
+ public enableBalloonMode(opt_enabled?: boolean|null): void;
71
72
 
72
- public enableTitleEditing(opt_enabled?: boolean): void;
73
+ public enableTitleEditing(opt_enabled?: boolean|null): void;
73
74
 
74
- public disableTitleEditing(opt_disabled?: boolean): void;
75
+ public disableTitleEditing(opt_disabled?: boolean|null): void;
75
76
 
76
- public disableCellEditing(cell: any, opt_disabled?: boolean): void;
77
+ public disableCellEditing(cell: any, opt_disabled?: boolean|null): void;
77
78
 
78
- public disableDataBinding(opt_disabled?: boolean): void;
79
+ public disableDataBinding(opt_disabled?: boolean|null): void;
79
80
 
80
- public disableDblClick(opt_disabled?: boolean): void;
81
+ public disableDblClick(opt_disabled?: boolean|null): void;
81
82
 
82
83
  public isEditing(): boolean;
83
84
 
84
- public getTextBox(columnIndex?: number, grid?: any): Element|null;
85
+ public getTextBox(columnIndex?: number|null, grid?: any): Element|null;
85
86
 
86
87
  public getInitialText(): string;
87
88
 
@@ -97,17 +98,17 @@ declare class InCellEditingPlugin extends GridPlugin {
97
98
 
98
99
  public getInputElementPosition(): any;
99
100
 
100
- public enableAutoCommitText(opt_enable?: boolean): void;
101
+ public enableAutoCommitText(opt_enable?: boolean|null): void;
101
102
 
102
103
  public isColumnEditable(colIndex: number): boolean;
103
104
 
104
105
  public openRowEditor(rowIndex: number, grid?: any): void;
105
106
 
106
- public closeRowEditor(isCommit?: boolean): void;
107
+ public closeRowEditor(isCommit?: boolean|null): void;
107
108
 
108
- public toggleRowEditor(rowIndex: number, isCommit?: boolean, grid?: any): void;
109
+ public toggleRowEditor(rowIndex: number, isCommit?: boolean|null, grid?: any): void;
109
110
 
110
- public setPopupElement(elm: Element): void;
111
+ public setPopupElement(elm: Element|null): void;
111
112
 
112
113
  public setText(content: any): void;
113
114
 
@@ -119,13 +120,13 @@ declare class InCellEditingPlugin extends GridPlugin {
119
120
 
120
121
  public appendText(word: string): void;
121
122
 
122
- public commitText(word?: string): void;
123
+ public commitText(word?: string|null): void;
123
124
 
124
125
  public getBalloonPopup(): Popup|null|null;
125
126
 
126
127
  public getAutoSuggest(): Element|null;
127
128
 
128
- public setDisablingScroll(disabled?: boolean): boolean;
129
+ public setDisablingScroll(disabled?: boolean|null): boolean;
129
130
 
130
131
  public requestShowEditorPopup(): void;
131
132