@refinitiv-ui/efx-grid 6.0.2 → 6.0.5
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-dragging/es6/ColumnDragging.d.ts +49 -0
- package/lib/column-dragging/es6/ColumnDragging.js +764 -0
- package/lib/column-dragging/es6/index.d.ts +1 -0
- package/lib/column-dragging/es6/index.js +1 -0
- package/lib/column-format-dialog/lib/column-format-dialog.d.ts +13 -1
- package/lib/column-selection-dialog/lib/column-selection-dialog.d.ts +15 -2
- package/lib/column-selection-dialog/lib/column-selection-dialog.js +146 -5
- package/lib/core/dist/core.css +1 -1
- package/lib/core/dist/core.js +468 -1092
- package/lib/core/dist/core.min.js +1 -1
- package/lib/core/es6/data/ColumnStats.d.ts +2 -2
- package/lib/core/es6/data/DataCache.d.ts +4 -4
- package/lib/core/es6/data/DataTable.d.ts +5 -5
- package/lib/core/es6/data/DataTable.js +33 -11
- package/lib/core/es6/data/DataView.d.ts +12 -18
- package/lib/core/es6/data/DataView.js +0 -4
- package/lib/core/es6/data/Segment.d.ts +2 -0
- package/lib/core/es6/data/Segment.js +7 -0
- package/lib/core/es6/data/SegmentCollection.d.ts +3 -3
- package/lib/core/es6/data/WrappedView.d.ts +13 -13
- package/lib/core/es6/data/WrappedView.js +6 -6
- package/lib/core/es6/grid/Core.d.ts +31 -27
- package/lib/core/es6/grid/Core.js +47 -11
- package/lib/core/es6/grid/ILayoutGrid.d.ts +15 -15
- package/lib/core/es6/grid/LayoutGrid.js +54 -26
- package/lib/core/es6/grid/VirtualizedLayoutGrid.js +71 -0
- package/lib/core/es6/grid/components/Cell.d.ts +4 -4
- package/lib/core/es6/grid/components/CellFloatingPanel.d.ts +1 -1
- package/lib/core/es6/grid/components/CellSpans.d.ts +8 -8
- package/lib/core/es6/grid/components/Column.d.ts +1 -1
- package/lib/core/es6/grid/components/ElementWrapper.d.ts +6 -6
- package/lib/core/es6/grid/components/Scrollbar.d.ts +3 -1
- package/lib/core/es6/grid/components/Scrollbar.js +13 -0
- package/lib/core/es6/grid/components/StretchedCells.js +2 -2
- package/lib/core/es6/grid/plugins/SortableTitlePlugin.d.ts +14 -6
- package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +147 -81
- package/lib/core/es6/grid/util/Conflator.d.ts +2 -2
- package/lib/core/es6/grid/util/ElementFrameWork.d.ts +3 -3
- package/lib/core/es6/grid/util/HttpRequest.d.ts +2 -2
- package/lib/core/es6/grid/util/PercentBarRenderer.d.ts +1 -1
- package/lib/core/es6/grid/util/RangeBar.d.ts +1 -1
- package/lib/core/es6/grid/util/SectionSettings.d.ts +5 -5
- package/lib/core/es6/grid/util/SectionSettings.js +5 -0
- package/lib/core/es6/grid/util/SelectionList.d.ts +2 -2
- package/lib/core/es6/grid/util/TrackLayout.d.ts +7 -3
- package/lib/core/es6/grid/util/TrackLayout.js +27 -0
- package/lib/core/es6/grid/util/util.d.ts +2 -2
- package/lib/core/es6/index.d.ts +1 -5
- package/lib/core/es6/index.js +1 -7
- package/lib/core/es6/tr-grid-theme.js +1 -1
- package/lib/filter-dialog/lib/checkbox-list.d.ts +13 -1
- package/lib/filter-dialog/lib/filter-dialog.d.ts +14 -1
- package/lib/filter-dialog/lib/filter-dialog.js +86 -26
- package/lib/filter-dialog/themes/base-checkbox.less +8 -1
- package/lib/filter-dialog/themes/base.less +69 -1
- package/lib/filter-dialog/themes/elemental/dark/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/elemental/dark/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/elemental/dark/filter-dialog.js +1 -1
- package/lib/filter-dialog/themes/elemental/light/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/elemental/light/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/elemental/light/filter-dialog.js +1 -1
- package/lib/filter-dialog/themes/halo/dark/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/halo/dark/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/halo/dark/filter-dialog.js +1 -1
- package/lib/filter-dialog/themes/halo/light/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/halo/light/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/halo/light/filter-dialog.js +1 -1
- package/lib/filter-dialog/themes/solar/charcoal/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/solar/charcoal/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/solar/charcoal/filter-dialog.js +1 -1
- package/lib/filter-dialog/themes/solar/pearl/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/solar/pearl/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/solar/pearl/filter-dialog.js +1 -1
- package/lib/grid/lib/efx-grid.d.ts +25 -10
- package/lib/grid/lib/efx-grid.js +22 -56
- package/lib/grid/themes/base.less +1 -1
- package/lib/grid/themes/halo/dark/efx-grid.js +1 -1
- package/lib/grid/themes/halo/dark/es5/all-elements.js +1 -1
- package/lib/grid/themes/halo/efx-grid.less +33 -39
- package/lib/grid/themes/halo/light/efx-grid.js +1 -1
- package/lib/grid/themes/halo/light/es5/all-elements.js +1 -1
- package/lib/grid/themes/solar/charcoal/efx-grid.js +1 -1
- package/lib/grid/themes/solar/charcoal/es5/all-elements.js +1 -1
- package/lib/grid/themes/solar/pearl/efx-grid.js +1 -1
- package/lib/grid/themes/solar/pearl/es5/all-elements.js +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/row-segmenting/es6/RowSegmenting.d.ts +7 -2
- package/lib/row-segmenting/es6/RowSegmenting.js +98 -11
- package/lib/rt-grid/dist/rt-grid.js +1244 -1249
- package/lib/rt-grid/dist/rt-grid.min.js +1 -1
- package/lib/rt-grid/es6/ColumnDefinition.d.ts +5 -3
- package/lib/rt-grid/es6/ColumnDefinition.js +17 -108
- package/lib/rt-grid/es6/DataConnector.d.ts +3 -3
- package/lib/rt-grid/es6/Grid.d.ts +24 -9
- package/lib/rt-grid/es6/Grid.js +285 -103
- package/lib/rt-grid/es6/RowDefSorter.d.ts +19 -0
- package/lib/rt-grid/es6/RowDefSorter.js +137 -0
- package/lib/rt-grid/es6/RowDefinition.d.ts +9 -7
- package/lib/rt-grid/es6/RowDefinition.js +6 -0
- package/lib/rt-grid/es6/SnapshotFiller.d.ts +6 -1
- package/lib/rt-grid/es6/SnapshotFiller.js +144 -15
- package/lib/tr-grid-checkbox/es6/Checkbox.d.ts +4 -3
- package/lib/tr-grid-checkbox/es6/Checkbox.js +51 -21
- package/lib/tr-grid-column-selection/es6/ColumnSelection.js +46 -9
- package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +8 -4
- package/lib/tr-grid-column-stack/es6/ColumnStack.js +240 -125
- package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.d.ts +4 -3
- package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +28 -13
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +8 -5
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +106 -3
- package/lib/tr-grid-percent-bar/es6/PercentBar.js +1 -1
- package/lib/tr-grid-printer/es6/CellWriter.d.ts +3 -3
- package/lib/tr-grid-printer/es6/GridPrinter.d.ts +1 -1
- package/lib/tr-grid-printer/es6/GridPrinter.js +26 -13
- package/lib/tr-grid-printer/es6/PrintTrait.d.ts +2 -2
- package/lib/tr-grid-printer/es6/SectionWriter.d.ts +3 -3
- package/lib/tr-grid-row-dragging/es6/RowDragging.d.ts +3 -4
- package/lib/tr-grid-row-dragging/es6/RowDragging.js +86 -195
- package/lib/tr-grid-row-grouping/es6/RowGrouping.d.ts +7 -2
- package/lib/tr-grid-row-grouping/es6/RowGrouping.js +97 -7
- package/lib/tr-grid-row-selection/es6/RowSelection.d.ts +8 -8
- package/lib/tr-grid-row-selection/es6/RowSelection.js +55 -31
- package/lib/tr-grid-textformatting/es6/TextFormatting.d.ts +1 -1
- package/lib/tr-grid-textformatting/es6/TextFormatting.js +12 -0
- package/lib/tr-grid-util/es6/CellPainter.js +1 -1
- package/lib/tr-grid-util/es6/DragUI.d.ts +16 -0
- package/lib/tr-grid-util/es6/DragUI.js +214 -0
- package/lib/tr-grid-util/es6/ElementObserver.d.ts +2 -0
- package/lib/tr-grid-util/es6/ElementObserver.js +32 -2
- package/lib/tr-grid-util/es6/ElfUtil.d.ts +4 -1
- package/lib/tr-grid-util/es6/ElfUtil.js +131 -28
- package/lib/tr-grid-util/es6/ExpanderIcon.js +2 -2
- package/lib/tr-grid-util/es6/FieldFormatter.js +7 -5
- package/lib/tr-grid-util/es6/GridPlugin.js +8 -4
- package/lib/tr-grid-util/es6/MultiTableManager.d.ts +8 -0
- package/lib/tr-grid-util/es6/MultiTableManager.js +164 -57
- package/lib/tr-grid-util/es6/NumberFormatter.d.ts +2 -0
- package/lib/tr-grid-util/es6/NumberFormatter.js +64 -19
- package/lib/tr-grid-util/es6/RowPainter.js +57 -19
- package/lib/tr-grid-util/es6/formula/Formula.js +9 -1
- package/lib/tr-grid-util/es6/jsx.d.ts +223 -0
- package/lib/types/es6/Checkbox.d.ts +4 -3
- package/lib/types/es6/ColumnStack.d.ts +8 -4
- package/lib/types/es6/CompositeGrid/ColumnSelectionPlugin.d.ts +3 -2
- package/lib/types/es6/CompositeGrid/ColumnWidthAdjustingPlugin.d.ts +2 -1
- package/lib/types/es6/CompositeGrid/CompositeGrid.d.ts +20 -18
- package/lib/types/es6/CompositeGrid/DragAndDropTitlePlugin.d.ts +2 -1
- package/lib/types/es6/CompositeGrid/DraggableContentPlugin.d.ts +3 -2
- package/lib/types/es6/CompositeGrid/Plugin.d.ts +28 -0
- package/lib/types/es6/CompositeGrid/ResizableTitlePlugin.d.ts +2 -1
- package/lib/types/es6/CompositeGrid/RowSelectionPlugin.d.ts +5 -4
- package/lib/types/es6/CompositeGrid/TreeIndentingPlugin.d.ts +2 -1
- package/lib/types/es6/CompositeGrid/index.d.ts +9 -9
- package/lib/types/es6/ConditionalColoring.d.ts +4 -3
- package/lib/types/es6/Core/data/ColumnStats.d.ts +2 -2
- package/lib/types/es6/Core/data/DataCache.d.ts +4 -4
- package/lib/types/es6/Core/data/DataTable.d.ts +5 -5
- package/lib/types/es6/Core/data/DataView.d.ts +12 -18
- package/lib/types/es6/Core/data/Segment.d.ts +2 -0
- package/lib/types/es6/Core/data/SegmentCollection.d.ts +3 -3
- package/lib/types/es6/Core/data/WrappedView.d.ts +13 -13
- package/lib/types/es6/Core/grid/Core.d.ts +31 -27
- package/lib/types/es6/Core/grid/ILayoutGrid.d.ts +15 -15
- package/lib/types/es6/Core/grid/components/Cell.d.ts +4 -4
- package/lib/types/es6/Core/grid/components/CellFloatingPanel.d.ts +1 -1
- package/lib/types/es6/Core/grid/components/CellSpans.d.ts +8 -8
- package/lib/types/es6/Core/grid/components/Column.d.ts +1 -1
- package/lib/types/es6/Core/grid/components/ElementWrapper.d.ts +6 -6
- package/lib/types/es6/Core/grid/components/Scrollbar.d.ts +3 -1
- package/lib/types/es6/Core/grid/plugins/SortableTitlePlugin.d.ts +14 -6
- package/lib/types/es6/Core/grid/util/Conflator.d.ts +2 -2
- package/lib/types/es6/Core/grid/util/ElementFrameWork.d.ts +3 -3
- package/lib/types/es6/Core/grid/util/HttpRequest.d.ts +2 -2
- package/lib/types/es6/Core/grid/util/PercentBarRenderer.d.ts +1 -1
- package/lib/types/es6/Core/grid/util/RangeBar.d.ts +1 -1
- package/lib/types/es6/Core/grid/util/SectionSettings.d.ts +5 -5
- package/lib/types/es6/Core/grid/util/SelectionList.d.ts +2 -2
- package/lib/types/es6/Core/grid/util/TrackLayout.d.ts +7 -3
- package/lib/types/es6/Core/grid/util/util.d.ts +2 -2
- package/lib/types/es6/Core/index.d.ts +1 -5
- package/lib/types/es6/ExtensionOptions.d.ts +2 -0
- package/lib/types/es6/InCellEditing.d.ts +8 -5
- package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +5 -3
- package/lib/types/es6/RealtimeGrid/DataConnector.d.ts +3 -3
- package/lib/types/es6/RealtimeGrid/Grid.d.ts +24 -9
- package/lib/types/es6/RealtimeGrid/RowDefSorter.d.ts +19 -0
- package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +9 -7
- package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +6 -1
- package/lib/types/es6/RowDragging.d.ts +3 -4
- package/lib/types/es6/RowGrouping.d.ts +7 -2
- package/lib/types/es6/RowSegmenting.d.ts +7 -2
- package/lib/types/es6/RowSelection.d.ts +8 -8
- package/lib/types/es6/TextFormatting.d.ts +1 -1
- package/lib/types/es6/index.d.ts +1 -0
- package/lib/versions.json +17 -16
- package/package.json +1 -1
- package/lib/core/es6/grid/plugins/DragAndDropTitlePlugin.d.ts +0 -24
- package/lib/core/es6/grid/plugins/DragAndDropTitlePlugin.js +0 -615
- package/lib/core/es6/grid/plugins/Plugin.d.ts +0 -28
- package/lib/core/es6/grid/plugins/Plugin.js +0 -272
- package/lib/types/es6/Core/grid/plugins/DragAndDropTitlePlugin.d.ts +0 -24
- package/lib/types/es6/Core/grid/plugins/Plugin.d.ts +0 -28
@@ -3,7 +3,7 @@ import { GridPlugin } from "../../tr-grid-util/es6/GridPlugin.js";
|
|
3
3
|
import { Dom } from "../../tr-grid-util/es6/Dom.js";
|
4
4
|
import { Popup } from "../../tr-grid-util/es6/Popup.js";
|
5
5
|
import { ElfUtil } from "../../tr-grid-util/es6/ElfUtil.js";
|
6
|
-
import { isTouchDevice } from "../../tr-grid-util/es6/Util.js";
|
6
|
+
import { isTouchDevice, injectCss, prettifyCss } from "../../tr-grid-util/es6/Util.js";
|
7
7
|
import { ElfDate } from "../../tr-grid-util/es6/ElfDate.js";
|
8
8
|
import { CoralItems } from "../../tr-grid-util/es6/CoralItems.js";
|
9
9
|
|
@@ -28,7 +28,8 @@ declare namespace InCellEditingPlugin {
|
|
28
28
|
keyUp?: ((...params: any[]) => any),
|
29
29
|
beforeRowCommit?: ((...params: any[]) => any),
|
30
30
|
rowEditorClosed?: ((...params: any[]) => any),
|
31
|
-
uiBlocking?: boolean
|
31
|
+
uiBlocking?: boolean,
|
32
|
+
autoSuggest?: Element
|
32
33
|
};
|
33
34
|
|
34
35
|
type Cache = {
|
@@ -79,7 +80,7 @@ declare class InCellEditingPlugin extends GridPlugin {
|
|
79
80
|
|
80
81
|
public isEditing(): boolean;
|
81
82
|
|
82
|
-
public getTextBox(columnIndex?: number, grid?: any): Element;
|
83
|
+
public getTextBox(columnIndex?: number, grid?: any): Element|null;
|
83
84
|
|
84
85
|
public getInitialText(): string;
|
85
86
|
|
@@ -87,7 +88,7 @@ declare class InCellEditingPlugin extends GridPlugin {
|
|
87
88
|
|
88
89
|
public _getRowId(rowIndex: number): string;
|
89
90
|
|
90
|
-
public getActiveGrid(): any|null;
|
91
|
+
public getActiveGrid(): any|null|null;
|
91
92
|
|
92
93
|
public getActiveColIndex(): number;
|
93
94
|
|
@@ -119,7 +120,9 @@ declare class InCellEditingPlugin extends GridPlugin {
|
|
119
120
|
|
120
121
|
public commitText(word?: string): void;
|
121
122
|
|
122
|
-
public getBalloonPopup(): Popup|null;
|
123
|
+
public getBalloonPopup(): Popup|null|null;
|
124
|
+
|
125
|
+
public getAutoSuggest(): Element|null;
|
123
126
|
|
124
127
|
public setDisablingScroll(disabled?: boolean): boolean;
|
125
128
|
|
@@ -64,9 +64,7 @@ declare class ColumnDefinition {
|
|
64
64
|
|
65
65
|
public getRenderer(): ((...params: any[]) => any);
|
66
66
|
|
67
|
-
public getHeaderRenderer(): ((...params: any[]) => any);
|
68
|
-
|
69
|
-
public getSorter(): ((...params: any[]) => any);
|
67
|
+
public getHeaderRenderer(): ((...params: any[]) => any)|null;
|
70
68
|
|
71
69
|
public getName(): string;
|
72
70
|
|
@@ -130,8 +128,12 @@ declare class ColumnDefinition {
|
|
130
128
|
|
131
129
|
public activateRenderer(id?: string, func?: ((...params: any[]) => any)): boolean;
|
132
130
|
|
131
|
+
public getSorter(): ((...params: any[]) => any)|null;
|
132
|
+
|
133
133
|
public setSorter(func?: ColumnDefinition.SortLogic): void;
|
134
134
|
|
135
|
+
public isRowSorting(): boolean;
|
136
|
+
|
135
137
|
public setName(str: string): void;
|
136
138
|
|
137
139
|
public getUserModel(): any;
|
@@ -9,13 +9,13 @@ declare class DataConnector extends EventDispatcher {
|
|
9
9
|
|
10
10
|
constructor();
|
11
11
|
|
12
|
-
public getAllRics(): (string)[];
|
12
|
+
public getAllRics(): (string)[]|null;
|
13
13
|
|
14
|
-
public getAllRowDefs(): (RowDefinition)[];
|
14
|
+
public getAllRowDefs(): (RowDefinition)[]|null;
|
15
15
|
|
16
16
|
public getAllFields(): (string)[];
|
17
17
|
|
18
|
-
public getRowDefByRic(ric: string): (RowDefinition)[];
|
18
|
+
public getRowDefByRic(ric: string): (RowDefinition)[]|null;
|
19
19
|
|
20
20
|
public addRic(rowDef: RowDefinition): boolean;
|
21
21
|
|
@@ -14,10 +14,10 @@ import SnapshotFiller from "./SnapshotFiller.js";
|
|
14
14
|
import StyleLoader from "./StyleLoader.js";
|
15
15
|
import FieldDefinition from "./FieldDefinition.js";
|
16
16
|
import DataConnector from "./DataConnector.js";
|
17
|
+
import RowDefSorter from "./RowDefSorter.js";
|
17
18
|
|
18
19
|
import { Core } from "../Core/grid/Core.js";
|
19
20
|
import { SortableTitlePlugin } from "../Core/grid/plugins/SortableTitlePlugin.js";
|
20
|
-
import { DragAndDropTitlePlugin } from "../Core/grid/plugins/DragAndDropTitlePlugin.js";
|
21
21
|
import { DataCache } from "../Core/data/DataCache.js";
|
22
22
|
import { DataTable } from "../Core/data/DataTable.js";
|
23
23
|
import { DataView } from "../Core/data/DataView.js";
|
@@ -32,6 +32,10 @@ declare namespace Grid {
|
|
32
32
|
debug?: boolean
|
33
33
|
};
|
34
34
|
|
35
|
+
type ADCOptions = {
|
36
|
+
productId?: string
|
37
|
+
};
|
38
|
+
|
35
39
|
type GridOptions = ExtensionOptions & {
|
36
40
|
columns?: (ColumnDefinition.Options|string)[],
|
37
41
|
defaultColumnOptions?: ColumnDefinition.Options,
|
@@ -65,6 +69,7 @@ declare namespace Grid {
|
|
65
69
|
verticalLines?: boolean,
|
66
70
|
horizontalLines?: boolean,
|
67
71
|
RTK?: any,
|
72
|
+
ADC?: Grid.ADCOptions,
|
68
73
|
synapse?: Grid.SynapseConfig,
|
69
74
|
contentRightPadding?: number,
|
70
75
|
contentBottomPadding?: number,
|
@@ -73,7 +78,9 @@ declare namespace Grid {
|
|
73
78
|
autoDateConversion?: boolean,
|
74
79
|
textSelect?: boolean,
|
75
80
|
lang?: string,
|
76
|
-
scrollbarParent?: Element
|
81
|
+
scrollbarParent?: Element,
|
82
|
+
formulaEngine?: boolean,
|
83
|
+
adcPollingInterval?: number
|
77
84
|
};
|
78
85
|
|
79
86
|
type RowReference = number|string|RowDefinition;
|
@@ -88,7 +95,7 @@ declare class Grid extends EventDispatcher {
|
|
88
95
|
|
89
96
|
public dispose(): void;
|
90
97
|
|
91
|
-
public getElement(): Element;
|
98
|
+
public getElement(): Element|null;
|
92
99
|
|
93
100
|
public removeEventListeners(): void;
|
94
101
|
|
@@ -110,14 +117,18 @@ declare class Grid extends EventDispatcher {
|
|
110
117
|
|
111
118
|
public getRelativePosition(obj: ElementWrapper|Element|Event|MouseEvent): any;
|
112
119
|
|
113
|
-
public getCoreGrid(): Core;
|
120
|
+
public getCoreGrid(): Core|null;
|
114
121
|
|
115
122
|
public initialize(gridOption?: Grid.GridOptions): void;
|
116
123
|
|
117
124
|
public getConfigObject(gridOptions?: any): any;
|
118
125
|
|
126
|
+
public setLocale(lang: string): void;
|
127
|
+
|
119
128
|
public insertColumn(columnOption: ColumnDefinition.Options|string, idx?: number): void;
|
120
129
|
|
130
|
+
public replaceColumn(columnOption: ColumnDefinition.Options|string, colRef: Grid.ColumnReference): void;
|
131
|
+
|
121
132
|
public setColumns(columns: (any)[]): void;
|
122
133
|
|
123
134
|
public setFields(ary: (string)[]): void;
|
@@ -162,9 +173,9 @@ declare class Grid extends EventDispatcher {
|
|
162
173
|
|
163
174
|
public updateDataSet(records: (any)[], rowIdentifier: string): void;
|
164
175
|
|
165
|
-
public removeRow(rowRef: Grid.RowReference): RowDefinition;
|
176
|
+
public removeRow(rowRef: Grid.RowReference): RowDefinition|null;
|
166
177
|
|
167
|
-
public removeRows(rowRefs: (Grid.RowReference)[]): (RowDefinition)[];
|
178
|
+
public removeRows(rowRefs: (Grid.RowReference)[]): (RowDefinition)[]|null;
|
168
179
|
|
169
180
|
public removeAllRows(): void;
|
170
181
|
|
@@ -196,9 +207,9 @@ declare class Grid extends EventDispatcher {
|
|
196
207
|
|
197
208
|
public getColumnDataType(colIndex: number): string;
|
198
209
|
|
199
|
-
public getColumnDefinition(colIndex: number): ColumnDefinition;
|
210
|
+
public getColumnDefinition(colIndex: number): ColumnDefinition|null;
|
200
211
|
|
201
|
-
public getRowDefinition(rowRef: number|string): RowDefinition;
|
212
|
+
public getRowDefinition(rowRef: number|string): RowDefinition|null;
|
202
213
|
|
203
214
|
public getRowDefinitions(): (RowDefinition)[];
|
204
215
|
|
@@ -236,7 +247,7 @@ declare class Grid extends EventDispatcher {
|
|
236
247
|
|
237
248
|
public clearSort(): void;
|
238
249
|
|
239
|
-
public getDataView(): DataView;
|
250
|
+
public getDataView(): DataView|null;
|
240
251
|
|
241
252
|
public setPage(pageIndex: number): boolean;
|
242
253
|
|
@@ -258,6 +269,10 @@ declare class Grid extends EventDispatcher {
|
|
258
269
|
|
259
270
|
public getExtension(str: string): any;
|
260
271
|
|
272
|
+
public activateADCPolling(activated?: boolean): void;
|
273
|
+
|
274
|
+
public refreshADCData(): boolean;
|
275
|
+
|
261
276
|
public logDT(opt_options?: any): void;
|
262
277
|
|
263
278
|
public logDV(opt_options?: any): void;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
declare class RowDefSorter {
|
4
|
+
|
5
|
+
constructor();
|
6
|
+
|
7
|
+
public dispose(): void;
|
8
|
+
|
9
|
+
public getSorter(rowSorting?: boolean): ((...params: any[]) => any)|null;
|
10
|
+
|
11
|
+
public setSortLogic(func?: ((...params: any[]) => any)): void;
|
12
|
+
|
13
|
+
public setField(field: string): void;
|
14
|
+
|
15
|
+
public setContext(key: string, value: any): void;
|
16
|
+
|
17
|
+
}
|
18
|
+
|
19
|
+
export default RowDefSorter;
|
@@ -31,12 +31,14 @@ declare class RowDefinition {
|
|
31
31
|
|
32
32
|
public getRowId(): string;
|
33
33
|
|
34
|
-
public getConfigObject(rowOptions?: RowDefinition.Options): RowDefinition.Options;
|
34
|
+
public getConfigObject(rowOptions?: RowDefinition.Options): RowDefinition.Options|null;
|
35
35
|
|
36
36
|
public getDataId(): string;
|
37
37
|
|
38
38
|
public setDataSource(dataSource: DataCache): void;
|
39
39
|
|
40
|
+
public getDataSource(): DataCache|null;
|
41
|
+
|
40
42
|
public getRowData(): any;
|
41
43
|
|
42
44
|
public getData(field: string): any;
|
@@ -57,7 +59,7 @@ declare class RowDefinition {
|
|
57
59
|
|
58
60
|
public getDisplayText(): string;
|
59
61
|
|
60
|
-
public getLabel(): string|null;
|
62
|
+
public getLabel(): string|null|null;
|
61
63
|
|
62
64
|
public isRowHeader(): boolean;
|
63
65
|
|
@@ -81,13 +83,13 @@ declare class RowDefinition {
|
|
81
83
|
|
82
84
|
public addUpdate(e: any): boolean;
|
83
85
|
|
84
|
-
public getUpdates(): { [key: string]: number };
|
86
|
+
public getUpdates(): { [key: string]: number }|null;
|
85
87
|
|
86
88
|
public resetUpdates(): void;
|
87
89
|
|
88
90
|
public registerToView(view: DataTable, rowId?: string): void;
|
89
91
|
|
90
|
-
public static deregisterFromView(rowIds: (string)[], rowDef: RowDefinition): (string)[];
|
92
|
+
public static deregisterFromView(rowIds: (string)[], rowDef: RowDefinition): (string)[]|null;
|
91
93
|
|
92
94
|
public collapseChain(): boolean;
|
93
95
|
|
@@ -95,15 +97,15 @@ declare class RowDefinition {
|
|
95
97
|
|
96
98
|
public toggleChain(): boolean;
|
97
99
|
|
98
|
-
public getChildren(): (RowDefinition)[];
|
100
|
+
public getChildren(): (RowDefinition)[]|null;
|
99
101
|
|
100
102
|
public getDescendants(ary?: (RowDefinition)[]): (RowDefinition)[];
|
101
103
|
|
102
|
-
public getAllDescendantIds(): (string)[];
|
104
|
+
public getAllDescendantIds(): (string)[]|null;
|
103
105
|
|
104
106
|
public getChildCount(): number;
|
105
107
|
|
106
|
-
public getParent(): RowDefinition;
|
108
|
+
public getParent(): RowDefinition|null;
|
107
109
|
|
108
110
|
public getDepthLevel(): number;
|
109
111
|
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import Grid from "./Grid.js";
|
1
2
|
import {Ext} from '../../../tr-grid-util/es6/Ext.js';
|
2
3
|
import {EventDispatcher} from '../../../tr-grid-util/es6/EventDispatcher.js';
|
3
4
|
|
@@ -7,11 +8,15 @@ declare class SnapshotFiller extends EventDispatcher {
|
|
7
8
|
|
8
9
|
public setRTK(rtk: any): void;
|
9
10
|
|
11
|
+
public setADCOptions(adcOptions: Grid.ADCOptions): void;
|
12
|
+
|
10
13
|
public addRic(ric: string): void;
|
11
14
|
|
15
|
+
public addRics(rics: (string)[]): boolean;
|
16
|
+
|
12
17
|
public addField(str: string): void;
|
13
18
|
|
14
|
-
public addFields(fields: (string)[]):
|
19
|
+
public addFields(fields: (string)[]): boolean;
|
15
20
|
|
16
21
|
public static isValidField(str: string): boolean;
|
17
22
|
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import { Ext } from "../../tr-grid-util/es6/Ext.js";
|
2
|
-
import { cloneObject
|
2
|
+
import { cloneObject } from "../../tr-grid-util/es6/Util.js";
|
3
3
|
import { ElfUtil } from "../../tr-grid-util/es6/ElfUtil.js";
|
4
4
|
import { GridPlugin } from "../../tr-grid-util/es6/GridPlugin.js";
|
5
5
|
import Dom from "../../tr-grid-util/es6/Dom.js";
|
6
|
+
import { DragUI } from "../../tr-grid-util/es6/DragUI.js";
|
6
7
|
|
7
8
|
declare namespace RowDraggingPlugin {
|
8
9
|
|
@@ -25,8 +26,6 @@ declare class RowDraggingPlugin extends GridPlugin {
|
|
25
26
|
|
26
27
|
constructor(options?: RowDraggingPlugin.Options);
|
27
28
|
|
28
|
-
public beforeProcessOption(optionName: string, optionValue: any): any;
|
29
|
-
|
30
29
|
public hasMultiTableSupport(): boolean;
|
31
30
|
|
32
31
|
public getName(): string;
|
@@ -45,7 +44,7 @@ declare class RowDraggingPlugin extends GridPlugin {
|
|
45
44
|
|
46
45
|
public cancelDrag(): void;
|
47
46
|
|
48
|
-
public getGuideline(): Element;
|
47
|
+
public getGuideline(): Element|null;
|
49
48
|
|
50
49
|
}
|
51
50
|
|
@@ -3,6 +3,7 @@ import { GridPlugin } from "../../tr-grid-util/es6/GridPlugin.js";
|
|
3
3
|
import { ExpanderIcon } from "../../tr-grid-util/es6/ExpanderIcon.js";
|
4
4
|
import { ElfUtil } from "../../tr-grid-util/es6/ElfUtil.js";
|
5
5
|
import { RowPainter } from "../../tr-grid-util/es6/RowPainter.js";
|
6
|
+
import { injectCss, prettifyCss } from "../../tr-grid-util/es6/Util.js";
|
6
7
|
|
7
8
|
declare namespace RowGroupingPlugin {
|
8
9
|
|
@@ -26,6 +27,8 @@ declare namespace RowGroupingPlugin {
|
|
26
27
|
autoGroupSorting?: boolean,
|
27
28
|
indentSize?: (boolean|number|(number)[]),
|
28
29
|
colorTag?: boolean,
|
30
|
+
predefinedColors?: any,
|
31
|
+
groupColors?: any,
|
29
32
|
clicked?: ((...params: any[]) => any),
|
30
33
|
groupAdded?: ((...params: any[]) => any),
|
31
34
|
beforeGroupAdded?: ((...params: any[]) => any),
|
@@ -75,10 +78,12 @@ declare class RowGroupingPlugin extends GridPlugin {
|
|
75
78
|
|
76
79
|
public setGroupSortingLogic(sortFunction: RowGroupingPlugin.GroupSortLogic): void;
|
77
80
|
|
78
|
-
public getGroupSortingLogic(): ((...params: any[]) => any);
|
81
|
+
public getGroupSortingLogic(): ((...params: any[]) => any)|null;
|
79
82
|
|
80
83
|
public setPredefinedGroups(predefinedGroups: any[]|(any[])[]): void;
|
81
84
|
|
85
|
+
public setPredefinedColors(predefinedColors: any): void;
|
86
|
+
|
82
87
|
public sortGroups(): void;
|
83
88
|
|
84
89
|
public updateHeaders(): void;
|
@@ -93,7 +98,7 @@ declare class RowGroupingPlugin extends GridPlugin {
|
|
93
98
|
|
94
99
|
public disableClicking(opt_disabled?: boolean): void;
|
95
100
|
|
96
|
-
public getGroupingStates(): (RowGroupingPlugin.GroupingState)[];
|
101
|
+
public getGroupingStates(): (RowGroupingPlugin.GroupingState)[]|null;
|
97
102
|
|
98
103
|
public setGroupingStates(states: (RowGroupingPlugin.GroupingState)[]|string): void;
|
99
104
|
|
@@ -3,6 +3,7 @@ import { GridPlugin, rowDefRowGetter } from "../../tr-grid-util/es6/GridPlugin.j
|
|
3
3
|
import { ExpanderIcon } from "../../tr-grid-util/es6/ExpanderIcon.js";
|
4
4
|
import { ElfUtil } from "../../tr-grid-util/es6/ElfUtil.js";
|
5
5
|
import { RowPainter } from "../../tr-grid-util/es6/RowPainter.js";
|
6
|
+
import { injectCss, prettifyCss } from "../../tr-grid-util/es6/Util.js";
|
6
7
|
|
7
8
|
declare namespace RowSegmentingPlugin {
|
8
9
|
|
@@ -11,6 +12,8 @@ declare namespace RowSegmentingPlugin {
|
|
11
12
|
type Options = {
|
12
13
|
spanning?: boolean,
|
13
14
|
colorTag?: boolean,
|
15
|
+
cssField?: string,
|
16
|
+
predefinedColors?: any,
|
14
17
|
clicked?: ((...params: any[]) => any),
|
15
18
|
headerMenuClicked?: ((...params: any[]) => any),
|
16
19
|
segmentSeparatorBinding?: ((...params: any[]) => any),
|
@@ -70,14 +73,16 @@ declare class RowSegmentingPlugin extends GridPlugin {
|
|
70
73
|
|
71
74
|
public removeAllSegmentChildren(): void;
|
72
75
|
|
73
|
-
public getSegmentIds(): (string)[];
|
76
|
+
public getSegmentIds(): (string)[]|null;
|
74
77
|
|
75
|
-
public getSegmentChildIds(segmentRef: string|number): (string)[];
|
78
|
+
public getSegmentChildIds(segmentRef: string|number): (string)[]|null;
|
76
79
|
|
77
80
|
public setSortingLogic(sortFunction: RowSegmentingPlugin.SortingLogic): void;
|
78
81
|
|
79
82
|
public sortSegments(sortFunction?: RowSegmentingPlugin.SortingLogic): void;
|
80
83
|
|
84
|
+
public setPredefinedColors(predefinedColors: any): void;
|
85
|
+
|
81
86
|
}
|
82
87
|
|
83
88
|
export default RowSegmentingPlugin;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { Ext } from
|
2
|
-
import { EventDispatcher } from
|
3
|
-
import { GridPlugin } from
|
4
|
-
import { isMac as isMacFn } from
|
1
|
+
import { Ext } from "../../tr-grid-util/es6/Ext.js";
|
2
|
+
import { EventDispatcher } from "../../tr-grid-util/es6/EventDispatcher.js";
|
3
|
+
import { GridPlugin } from "../../tr-grid-util/es6/GridPlugin.js";
|
4
|
+
import { isMac as isMacFn } from "../../tr-grid-util/es6/Util.js";
|
5
5
|
import { isIE, prepareTSVContent } from "../../tr-grid-util/es6/Util.js";
|
6
6
|
import { ElfUtil } from "../../tr-grid-util/es6/ElfUtil.js";
|
7
7
|
import { injectCss, prettifyCss } from "../../tr-grid-util/es6/Util.js";
|
@@ -46,13 +46,13 @@ declare class RowSelectionPlugin extends GridPlugin {
|
|
46
46
|
|
47
47
|
public getRowAnchor(sectRef?: any): number;
|
48
48
|
|
49
|
-
public getFirstSelectedIndex(sectRef?: any): number|null;
|
49
|
+
public getFirstSelectedIndex(sectRef?: any): number|null|null;
|
50
50
|
|
51
|
-
public getLastSelectedIndex(sectRef?: any): number|null;
|
51
|
+
public getLastSelectedIndex(sectRef?: any): number|null|null;
|
52
52
|
|
53
|
-
public getSelectedRows(sectRef?: any): (number)[];
|
53
|
+
public getSelectedRows(sectRef?: any): (number)[]|null;
|
54
54
|
|
55
|
-
public getSelectedRowIds(sectRef?: any): (string)[];
|
55
|
+
public getSelectedRowIds(sectRef?: any): (string)[]|null;
|
56
56
|
|
57
57
|
public getSelectedRowCount(sectRef?: any): number;
|
58
58
|
|
@@ -65,7 +65,7 @@ declare class TextFormattingPlugin extends GridPlugin {
|
|
65
65
|
|
66
66
|
public getColumnFormatOptions(colIndex: number, options?: any): any;
|
67
67
|
|
68
|
-
public getFormatter(colIndex: number): FieldFormatter;
|
68
|
+
public getFormatter(colIndex: number): FieldFormatter|null;
|
69
69
|
|
70
70
|
public formatText(colIndex: number, obj: any): string;
|
71
71
|
|
package/lib/types/es6/index.d.ts
CHANGED
@@ -72,6 +72,7 @@ export { ExtensionColumnOptions } from "./ExtensionColumnOptions";
|
|
72
72
|
export { Core, Core as CoreGrid, DataView } from "./Core";
|
73
73
|
export { Grid as RealtimeGrid } from "./RealtimeGrid";
|
74
74
|
export { ColumnDefinition } from "./RealtimeGrid/ColumnDefinition";
|
75
|
+
export { RowDefinition } from "./RealtimeGrid/RowDefinition";
|
75
76
|
export { CompositeGrid } from "./CompositeGrid";
|
76
77
|
|
77
78
|
|
package/lib/versions.json
CHANGED
@@ -1,36 +1,37 @@
|
|
1
1
|
{
|
2
|
-
"tr-grid-util": "1.3.
|
3
|
-
"@grid/
|
2
|
+
"tr-grid-util": "1.3.58",
|
3
|
+
"@grid/column-dragging": "1.0.6",
|
4
|
+
"@grid/row-segmenting": "1.0.14",
|
4
5
|
"@grid/statistics-row": "1.0.13",
|
5
6
|
"@grid/zoom": "1.0.11",
|
6
7
|
"tr-grid-auto-tooltip": "1.1.5",
|
7
8
|
"tr-grid-cell-selection": "1.0.30",
|
8
|
-
"tr-grid-checkbox": "1.0.
|
9
|
+
"tr-grid-checkbox": "1.0.58",
|
9
10
|
"tr-grid-column-fitter": "1.0.39",
|
10
11
|
"tr-grid-column-formatting": "0.9.33",
|
11
12
|
"tr-grid-column-grouping": "1.0.19",
|
12
13
|
"tr-grid-column-resizing": "1.0.25",
|
13
|
-
"tr-grid-column-selection": "1.0.
|
14
|
-
"tr-grid-column-stack": "1.0.
|
15
|
-
"tr-grid-conditional-coloring": "1.0.
|
14
|
+
"tr-grid-column-selection": "1.0.24",
|
15
|
+
"tr-grid-column-stack": "1.0.34",
|
16
|
+
"tr-grid-conditional-coloring": "1.0.53",
|
16
17
|
"tr-grid-content-wrap": "1.0.18",
|
17
18
|
"tr-grid-contextmenu": "1.0.37",
|
18
19
|
"tr-grid-filter-input": "0.9.28",
|
19
20
|
"tr-grid-heat-map": "1.0.27",
|
20
|
-
"tr-grid-in-cell-editing": "1.0.
|
21
|
+
"tr-grid-in-cell-editing": "1.0.66",
|
21
22
|
"tr-grid-pagination": "1.0.23",
|
22
|
-
"tr-grid-percent-bar": "1.0.
|
23
|
-
"tr-grid-printer": "1.0.
|
23
|
+
"tr-grid-percent-bar": "1.0.21",
|
24
|
+
"tr-grid-printer": "1.0.15",
|
24
25
|
"tr-grid-range-bar": "1.0.8",
|
25
|
-
"tr-grid-row-dragging": "1.0.
|
26
|
+
"tr-grid-row-dragging": "1.0.21",
|
26
27
|
"tr-grid-row-filtering": "1.0.49",
|
27
|
-
"tr-grid-row-grouping": "1.0.
|
28
|
-
"tr-grid-row-selection": "1.0.
|
28
|
+
"tr-grid-row-grouping": "1.0.76",
|
29
|
+
"tr-grid-row-selection": "1.0.20",
|
29
30
|
"tr-grid-rowcoloring": "1.0.19",
|
30
|
-
"tr-grid-textformatting": "1.0.
|
31
|
+
"tr-grid-textformatting": "1.0.44",
|
31
32
|
"tr-grid-titlewrap": "1.0.19",
|
32
33
|
"@grid/formatters": "1.0.48",
|
33
|
-
"@grid/column-selection-dialog": "4.0.
|
34
|
-
"@grid/filter-dialog": "4.0.
|
35
|
-
"@grid/column-format-dialog": "4.0.
|
34
|
+
"@grid/column-selection-dialog": "4.0.43",
|
35
|
+
"@grid/filter-dialog": "4.0.48",
|
36
|
+
"@grid/column-format-dialog": "4.0.41"
|
36
37
|
}
|
package/package.json
CHANGED
@@ -1,24 +0,0 @@
|
|
1
|
-
import Ext from "../../../../tr-grid-util/es6/Ext.js";
|
2
|
-
import Plugin from "./Plugin.js";
|
3
|
-
import ILayoutGrid from "../ILayoutGrid.js";
|
4
|
-
import Util from "../util/util.js";
|
5
|
-
import Core from "../Core.js";
|
6
|
-
|
7
|
-
declare class DragAndDropTitlePlugin extends Plugin {
|
8
|
-
|
9
|
-
constructor();
|
10
|
-
|
11
|
-
public getMarker(): null;
|
12
|
-
|
13
|
-
public lockFrozenColumn(lock: boolean): void;
|
14
|
-
|
15
|
-
public disable(opt_disabled?: boolean): void;
|
16
|
-
|
17
|
-
public disableMoving(opt_disabled?: boolean): void;
|
18
|
-
|
19
|
-
public disableDragBox(opt_disabled?: boolean): void;
|
20
|
-
|
21
|
-
}
|
22
|
-
|
23
|
-
export default DragAndDropTitlePlugin;
|
24
|
-
export { DragAndDropTitlePlugin };
|