@refinitiv-ui/efx-grid 6.0.1 → 6.0.4
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 +226 -23
- package/lib/column-selection-dialog/themes/halo/dark/column-selection-dialog.js +1 -1
- package/lib/column-selection-dialog/themes/halo/dark/es5/all-elements.js +1 -1
- package/lib/column-selection-dialog/themes/halo/light/column-selection-dialog.js +1 -1
- package/lib/column-selection-dialog/themes/halo/light/es5/all-elements.js +1 -1
- package/lib/core/dist/core.css +1 -1
- package/lib/core/dist/core.js +17835 -16266
- 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 +26 -17
- package/lib/core/es6/data/DataView.js +172 -49
- 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 +289 -0
- package/lib/core/es6/data/WrappedView.js +1319 -0
- package/lib/core/es6/grid/Core.d.ts +42 -27
- package/lib/core/es6/grid/Core.js +431 -163
- package/lib/core/es6/grid/ILayoutGrid.d.ts +23 -15
- package/lib/core/es6/grid/ILayoutGrid.js +45 -2
- package/lib/core/es6/grid/LayoutGrid.d.ts +10 -1
- package/lib/core/es6/grid/LayoutGrid.js +311 -108
- package/lib/core/es6/grid/VirtualizedLayoutGrid.d.ts +10 -1
- package/lib/core/es6/grid/VirtualizedLayoutGrid.js +382 -24
- 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/Column.js +8 -2
- package/lib/core/es6/grid/components/ElementWrapper.d.ts +6 -6
- package/lib/core/es6/grid/components/HScrollbar.d.ts +4 -0
- package/lib/core/es6/grid/components/HScrollbar.js +20 -4
- package/lib/core/es6/grid/components/Scrollbar.d.ts +1 -1
- 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 +29 -3
- 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 +94 -32
- 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 +30 -8
- package/lib/grid/lib/efx-grid.js +120 -115
- package/lib/grid/themes/base.less +5 -3
- 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 +72 -41
- 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 +8 -2
- package/lib/row-segmenting/es6/RowSegmenting.js +137 -21
- package/lib/rt-grid/dist/rt-grid.js +11017 -9193
- package/lib/rt-grid/dist/rt-grid.min.js +1 -1
- package/lib/rt-grid/es6/ColumnDefinition.d.ts +9 -4
- package/lib/rt-grid/es6/ColumnDefinition.js +20 -108
- package/lib/rt-grid/es6/DataConnector.d.ts +3 -3
- package/lib/rt-grid/es6/Grid.d.ts +30 -15
- package/lib/rt-grid/es6/Grid.js +436 -167
- 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 +12 -7
- package/lib/rt-grid/es6/RowDefinition.js +58 -2
- package/lib/rt-grid/es6/SnapshotFiller.d.ts +3 -1
- package/lib/rt-grid/es6/SnapshotFiller.js +23 -0
- package/lib/tr-grid-cell-selection/es6/CellSelection.d.ts +1 -1
- package/lib/tr-grid-cell-selection/es6/CellSelection.js +53 -40
- package/lib/tr-grid-checkbox/es6/Checkbox.d.ts +6 -3
- package/lib/tr-grid-checkbox/es6/Checkbox.js +79 -34
- package/lib/tr-grid-column-grouping/es6/ColumnGrouping.d.ts +1 -0
- package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +10 -0
- package/lib/tr-grid-column-selection/es6/ColumnSelection.d.ts +5 -1
- package/lib/tr-grid-column-selection/es6/ColumnSelection.js +269 -10
- package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +8 -4
- package/lib/tr-grid-column-stack/es6/ColumnStack.js +243 -125
- package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.d.ts +1 -1
- package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +24 -13
- package/lib/tr-grid-filter-input/es6/FilterInput.d.ts +4 -2
- package/lib/tr-grid-filter-input/es6/FilterInput.js +73 -10
- 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-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 +108 -127
- package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +2 -0
- package/lib/tr-grid-row-filtering/es6/RowFiltering.js +88 -33
- package/lib/tr-grid-row-grouping/es6/RowGrouping.d.ts +7 -2
- package/lib/tr-grid-row-grouping/es6/RowGrouping.js +138 -38
- package/lib/tr-grid-row-selection/es6/RowSelection.d.ts +13 -9
- package/lib/tr-grid-row-selection/es6/RowSelection.js +230 -29
- package/lib/tr-grid-rowcoloring/es6/RowColoring.d.ts +2 -0
- package/lib/tr-grid-rowcoloring/es6/RowColoring.js +36 -0
- 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.d.ts +8 -8
- package/lib/tr-grid-util/es6/Conflator.d.ts +2 -2
- package/lib/tr-grid-util/es6/CoralItems.d.ts +1 -1
- package/lib/tr-grid-util/es6/DateTime.d.ts +4 -4
- package/lib/tr-grid-util/es6/Delay.d.ts +1 -1
- package/lib/tr-grid-util/es6/Dom.d.ts +4 -4
- 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 +28 -1
- package/lib/tr-grid-util/es6/ElementWrapper.d.ts +1 -1
- package/lib/tr-grid-util/es6/ElfDate.d.ts +3 -3
- package/lib/tr-grid-util/es6/ElfUtil.d.ts +4 -4
- package/lib/tr-grid-util/es6/ElfUtil.js +1 -1
- package/lib/tr-grid-util/es6/EventDispatcher.d.ts +1 -1
- package/lib/tr-grid-util/es6/ExpanderIcon.js +2 -2
- package/lib/tr-grid-util/es6/FieldFormatter.d.ts +1 -1
- package/lib/tr-grid-util/es6/FieldFormatter.js +7 -5
- package/lib/tr-grid-util/es6/FilterBuilder.d.ts +5 -5
- package/lib/tr-grid-util/es6/GridPlugin.d.ts +3 -3
- package/lib/tr-grid-util/es6/GridPlugin.js +8 -4
- package/lib/tr-grid-util/es6/MouseDownTrait.d.ts +1 -1
- package/lib/tr-grid-util/es6/MultiTableManager.d.ts +10 -2
- 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/PercentBar.d.ts +1 -1
- package/lib/tr-grid-util/es6/Perf.d.ts +4 -4
- package/lib/tr-grid-util/es6/Popup.d.ts +2 -2
- package/lib/tr-grid-util/es6/RequestQueue.d.ts +1 -1
- package/lib/tr-grid-util/es6/RowPainter.d.ts +3 -0
- package/lib/tr-grid-util/es6/RowPainter.js +120 -28
- package/lib/tr-grid-util/es6/SubTable.d.ts +9 -9
- package/lib/tr-grid-util/es6/Table.d.ts +13 -13
- package/lib/tr-grid-util/es6/TextHighlighter.d.ts +3 -3
- package/lib/tr-grid-util/es6/TickCodes.d.ts +2 -2
- package/lib/tr-grid-util/es6/TouchProxy.d.ts +1 -1
- package/lib/tr-grid-util/es6/Util.d.ts +6 -6
- package/lib/tr-grid-util/es6/formula/Engine.d.ts +5 -5
- package/lib/tr-grid-util/es6/formula/Formula.d.ts +3 -3
- package/lib/tr-grid-util/es6/formula/Formula.js +9 -1
- package/lib/tr-grid-util/es6/formula/RealtimeService.d.ts +1 -1
- package/lib/tr-grid-util/es6/jet/CollectionDict.d.ts +2 -2
- package/lib/tr-grid-util/es6/jet/DataGenerator.d.ts +4 -4
- package/lib/tr-grid-util/es6/jet/MockArchive.d.ts +1 -1
- package/lib/tr-grid-util/es6/jet/MockJET.d.ts +4 -4
- package/lib/tr-grid-util/es6/jet/MockQuotes.d.ts +11 -11
- package/lib/tr-grid-util/es6/jet/MockQuotes2.d.ts +7 -7
- package/lib/tr-grid-util/es6/jet/MockRTK.d.ts +1 -1
- package/lib/tr-grid-util/es6/jet/mockDataAPI.d.ts +1 -1
- package/lib/tr-grid-util/es6/jsx.d.ts +223 -0
- package/lib/types/es6/CellSelection.d.ts +1 -1
- package/lib/types/es6/Checkbox.d.ts +6 -3
- package/lib/types/es6/ColumnGrouping.d.ts +1 -0
- package/lib/types/es6/ColumnSelection.d.ts +5 -1
- 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 +1 -1
- 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 +26 -17
- 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 +289 -0
- package/lib/types/es6/Core/grid/Core.d.ts +42 -27
- package/lib/types/es6/Core/grid/ILayoutGrid.d.ts +23 -15
- package/lib/types/es6/Core/grid/LayoutGrid.d.ts +10 -1
- package/lib/types/es6/Core/grid/VirtualizedLayoutGrid.d.ts +10 -1
- 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/HScrollbar.d.ts +4 -0
- package/lib/types/es6/Core/grid/components/Scrollbar.d.ts +1 -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/FilterInput.d.ts +4 -2
- package/lib/types/es6/InCellEditing.d.ts +8 -5
- package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +9 -4
- package/lib/types/es6/RealtimeGrid/DataConnector.d.ts +3 -3
- package/lib/types/es6/RealtimeGrid/Grid.d.ts +31 -16
- package/lib/types/es6/RealtimeGrid/RowDefSorter.d.ts +19 -0
- package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +12 -7
- package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +3 -1
- package/lib/types/es6/RowColoring.d.ts +2 -0
- package/lib/types/es6/RowDragging.d.ts +3 -4
- package/lib/types/es6/RowFiltering.d.ts +2 -0
- package/lib/types/es6/RowGrouping.d.ts +7 -2
- package/lib/types/es6/RowSegmenting.d.ts +8 -2
- package/lib/types/es6/RowSelection.d.ts +13 -9
- package/lib/types/es6/TextFormatting.d.ts +1 -1
- package/lib/types/es6/Zoom.d.ts +2 -1
- package/lib/types/es6/index.d.ts +3 -0
- package/lib/versions.json +22 -21
- package/lib/zoom/es6/Zoom.d.ts +2 -1
- package/lib/zoom/es6/Zoom.js +11 -4
- package/package.json +7 -7
- 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
@@ -4,11 +4,11 @@ declare namespace Util {
|
|
4
4
|
|
5
5
|
const isMobile: boolean;
|
6
6
|
|
7
|
-
function pushArrayItems(ary: any[], items: any[]): any[];
|
7
|
+
function pushArrayItems(ary: any[], items: any[]): any[]|null;
|
8
8
|
|
9
9
|
function insertEmptyItems(ary: any[], at: number, chunkSize: number): void;
|
10
10
|
|
11
|
-
function cycleArray(ary: any[], numItems: number): any[];
|
11
|
+
function cycleArray(ary: any[], numItems: number): any[]|null;
|
12
12
|
|
13
13
|
}
|
14
14
|
|
@@ -29,8 +29,6 @@ import SelectionList from "./grid/util/SelectionList.js";
|
|
29
29
|
import SectionSettings from "./grid/util/SectionSettings.js";
|
30
30
|
|
31
31
|
// Plugins
|
32
|
-
import Plugin from "./grid/plugins/Plugin.js";
|
33
|
-
import DragAndDropTitlePlugin from "./grid/plugins/DragAndDropTitlePlugin.js";
|
34
32
|
import SortableTitlePlugin from "./grid/plugins/SortableTitlePlugin.js";
|
35
33
|
|
36
34
|
// Data
|
@@ -77,8 +75,6 @@ export {
|
|
77
75
|
SectionSettings,
|
78
76
|
|
79
77
|
// Plugins
|
80
|
-
|
81
|
-
DragAndDropTitlePlugin,
|
82
|
-
SortableTitlePlugin,
|
78
|
+
SortableTitlePlugin
|
83
79
|
};
|
84
80
|
export default Core;
|
@@ -8,6 +8,7 @@ import ColumnFitter from "../../tr-grid-column-fitter/es6/ColumnFitter.js";
|
|
8
8
|
import ColumnGrouping from "../../tr-grid-column-grouping/es6/ColumnGrouping.js";
|
9
9
|
import ColumnResizing from "../../tr-grid-column-resizing/es6/ColumnResizing.js";
|
10
10
|
import ColumnSelection from "../../tr-grid-column-selection/es6/ColumnSelection.js";
|
11
|
+
import ColumnStack from "../../tr-grid-column-stack/es6/ColumnStack.js";
|
11
12
|
import ContentWrap from "../../tr-grid-content-wrap/es6/ContentWrap.js";
|
12
13
|
import ContextMenu from "../../tr-grid-contextmenu/es6/ContextMenu.js";
|
13
14
|
import FilterInput from "../../tr-grid-filter-input/es6/FilterInput.js";
|
@@ -32,6 +33,7 @@ type ExtensionOptions = {
|
|
32
33
|
columnGrouping?: ColumnGrouping.Options,
|
33
34
|
columnResizing?: ColumnResizing.Options,
|
34
35
|
columnSelection?: ColumnSelection.Options,
|
36
|
+
columnStack?: ColumnStack.Options,
|
35
37
|
contentWrap?: ContentWrap.Options,
|
36
38
|
contextMenu?: ContextMenu.Options,
|
37
39
|
filterInput?: FilterInput.Options,
|
@@ -16,11 +16,13 @@ declare namespace FilterInputPlugin {
|
|
16
16
|
disabled?: boolean,
|
17
17
|
placeholder?: string,
|
18
18
|
type?: string,
|
19
|
-
entries?: any[]
|
19
|
+
entries?: any[],
|
20
|
+
trigger?: string
|
20
21
|
};
|
21
22
|
|
22
23
|
type Options = {
|
23
|
-
inputCreated?: ((...params: any[]) => any)
|
24
|
+
inputCreated?: ((...params: any[]) => any),
|
25
|
+
trigger?: string
|
24
26
|
};
|
25
27
|
|
26
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
|
|
@@ -40,7 +40,10 @@ declare namespace ColumnDefinition {
|
|
40
40
|
hidden?: boolean,
|
41
41
|
id?: string,
|
42
42
|
textSelect?: boolean,
|
43
|
-
keepModel?: boolean
|
43
|
+
keepModel?: boolean,
|
44
|
+
stationary?: boolean,
|
45
|
+
leftPinned?: boolean,
|
46
|
+
rightPinned?: boolean
|
44
47
|
};
|
45
48
|
|
46
49
|
}
|
@@ -61,9 +64,7 @@ declare class ColumnDefinition {
|
|
61
64
|
|
62
65
|
public getRenderer(): ((...params: any[]) => any);
|
63
66
|
|
64
|
-
public getHeaderRenderer(): ((...params: any[]) => any);
|
65
|
-
|
66
|
-
public getSorter(): ((...params: any[]) => any);
|
67
|
+
public getHeaderRenderer(): ((...params: any[]) => any)|null;
|
67
68
|
|
68
69
|
public getName(): string;
|
69
70
|
|
@@ -127,8 +128,12 @@ declare class ColumnDefinition {
|
|
127
128
|
|
128
129
|
public activateRenderer(id?: string, func?: ((...params: any[]) => any)): boolean;
|
129
130
|
|
131
|
+
public getSorter(): ((...params: any[]) => any)|null;
|
132
|
+
|
130
133
|
public setSorter(func?: ColumnDefinition.SortLogic): void;
|
131
134
|
|
135
|
+
public isRowSorting(): boolean;
|
136
|
+
|
132
137
|
public setName(str: string): void;
|
133
138
|
|
134
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
|
|
@@ -1,23 +1,23 @@
|
|
1
1
|
import ExtensionOptions from "../ExtensionOptions";
|
2
2
|
import Extensions from "../Extensions";
|
3
|
-
import {Dom} from "../../../tr-grid-util/es6/Dom.js";
|
4
|
-
import {Conflator} from "../../../tr-grid-util/es6/Conflator.js";
|
5
|
-
import {Ext} from "../../../tr-grid-util/es6/Ext.js";
|
3
|
+
import { Dom } from "../../../tr-grid-util/es6/Dom.js";
|
4
|
+
import { Conflator } from "../../../tr-grid-util/es6/Conflator.js";
|
5
|
+
import { Ext } from "../../../tr-grid-util/es6/Ext.js";
|
6
6
|
import { EventDispatcher } from "../../../tr-grid-util/es6/EventDispatcher.js";
|
7
7
|
import { Engine } from "../../../tr-grid-util/es6/formula/Engine.js";
|
8
8
|
import { cloneObject, extendObject, arrayToObject } from "../../../tr-grid-util/es6/Util.js";
|
9
9
|
import { DateTime } from "../../../tr-grid-util/es6/DateTime.js";
|
10
10
|
|
11
|
-
import {RowDefinition, ROW_DEF} from "./RowDefinition.js";
|
12
|
-
import {ColumnDefinition, COL_DEF} from "./ColumnDefinition.js";
|
11
|
+
import { RowDefinition, ROW_DEF } from "./RowDefinition.js";
|
12
|
+
import { ColumnDefinition, COL_DEF } from "./ColumnDefinition.js";
|
13
13
|
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";
|
@@ -72,7 +72,10 @@ declare namespace Grid {
|
|
72
72
|
dataComposed?: ((...params: any[]) => any),
|
73
73
|
autoDateConversion?: boolean,
|
74
74
|
textSelect?: boolean,
|
75
|
-
lang?: string
|
75
|
+
lang?: string,
|
76
|
+
scrollbarParent?: Element,
|
77
|
+
formulaEngine?: boolean,
|
78
|
+
adcPollingInterval?: number
|
76
79
|
};
|
77
80
|
|
78
81
|
type RowReference = number|string|RowDefinition;
|
@@ -87,7 +90,7 @@ declare class Grid extends EventDispatcher {
|
|
87
90
|
|
88
91
|
public dispose(): void;
|
89
92
|
|
90
|
-
public getElement(): Element;
|
93
|
+
public getElement(): Element|null;
|
91
94
|
|
92
95
|
public removeEventListeners(): void;
|
93
96
|
|
@@ -109,12 +112,14 @@ declare class Grid extends EventDispatcher {
|
|
109
112
|
|
110
113
|
public getRelativePosition(obj: ElementWrapper|Element|Event|MouseEvent): any;
|
111
114
|
|
112
|
-
public getCoreGrid(): Core;
|
115
|
+
public getCoreGrid(): Core|null;
|
113
116
|
|
114
117
|
public initialize(gridOption?: Grid.GridOptions): void;
|
115
118
|
|
116
119
|
public getConfigObject(gridOptions?: any): any;
|
117
120
|
|
121
|
+
public setLocale(lang: string): void;
|
122
|
+
|
118
123
|
public insertColumn(columnOption: ColumnDefinition.Options|string, idx?: number): void;
|
119
124
|
|
120
125
|
public setColumns(columns: (any)[]): void;
|
@@ -127,7 +132,7 @@ declare class Grid extends EventDispatcher {
|
|
127
132
|
|
128
133
|
public removeAllColumns(): void;
|
129
134
|
|
130
|
-
public moveColumn(fromColIndex: number|(number)[], toColIndex: number):
|
135
|
+
public moveColumn(fromColIndex: number|(number)[], toColIndex: number): boolean;
|
131
136
|
|
132
137
|
public hideColumn(colRef: Grid.ColumnReference, hidden?: boolean): void;
|
133
138
|
|
@@ -161,9 +166,9 @@ declare class Grid extends EventDispatcher {
|
|
161
166
|
|
162
167
|
public updateDataSet(records: (any)[], rowIdentifier: string): void;
|
163
168
|
|
164
|
-
public removeRow(rowRef: Grid.RowReference): RowDefinition;
|
169
|
+
public removeRow(rowRef: Grid.RowReference): RowDefinition|null;
|
165
170
|
|
166
|
-
public removeRows(rowRefs: (Grid.RowReference)[]): (RowDefinition)[];
|
171
|
+
public removeRows(rowRefs: (Grid.RowReference)[]): (RowDefinition)[]|null;
|
167
172
|
|
168
173
|
public removeAllRows(): void;
|
169
174
|
|
@@ -195,12 +200,14 @@ declare class Grid extends EventDispatcher {
|
|
195
200
|
|
196
201
|
public getColumnDataType(colIndex: number): string;
|
197
202
|
|
198
|
-
public getColumnDefinition(colIndex: number): ColumnDefinition;
|
203
|
+
public getColumnDefinition(colIndex: number): ColumnDefinition|null;
|
199
204
|
|
200
|
-
public getRowDefinition(rowRef: number|string): RowDefinition;
|
205
|
+
public getRowDefinition(rowRef: number|string): RowDefinition|null;
|
201
206
|
|
202
207
|
public getRowDefinitions(): (RowDefinition)[];
|
203
208
|
|
209
|
+
public getAllRowDefinitions(inclAutoGenerate?: boolean): (RowDefinition)[];
|
210
|
+
|
204
211
|
public getRowData(rowIndex: number): any;
|
205
212
|
|
206
213
|
public getMultipleRowData(obj?: any): (any)[];
|
@@ -221,7 +228,7 @@ declare class Grid extends EventDispatcher {
|
|
221
228
|
|
222
229
|
public getAllFields(): (string)[];
|
223
230
|
|
224
|
-
public freezeColumn(
|
231
|
+
public freezeColumn(colIndex?: number, pinnedRightColumns?: number): void;
|
225
232
|
|
226
233
|
public updateColumnTitle(): void;
|
227
234
|
|
@@ -233,7 +240,7 @@ declare class Grid extends EventDispatcher {
|
|
233
240
|
|
234
241
|
public clearSort(): void;
|
235
242
|
|
236
|
-
public getDataView(): DataView;
|
243
|
+
public getDataView(): DataView|null;
|
237
244
|
|
238
245
|
public setPage(pageIndex: number): boolean;
|
239
246
|
|
@@ -251,6 +258,14 @@ declare class Grid extends EventDispatcher {
|
|
251
258
|
|
252
259
|
public requestRowRefresh(): void;
|
253
260
|
|
261
|
+
public updateLayout(): void;
|
262
|
+
|
263
|
+
public getExtension(str: string): any;
|
264
|
+
|
265
|
+
public activateADCPolling(activated?: boolean): void;
|
266
|
+
|
267
|
+
public refreshADCData(): boolean;
|
268
|
+
|
254
269
|
public logDT(opt_options?: any): void;
|
255
270
|
|
256
271
|
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;
|
@@ -11,7 +11,8 @@ declare namespace RowDefinition {
|
|
11
11
|
asChain?: boolean,
|
12
12
|
chainRic?: string,
|
13
13
|
collapsed?: boolean,
|
14
|
-
label?: (string|null)
|
14
|
+
label?: (string|null),
|
15
|
+
hidden?: boolean
|
15
16
|
};
|
16
17
|
|
17
18
|
}
|
@@ -30,10 +31,14 @@ declare class RowDefinition {
|
|
30
31
|
|
31
32
|
public getRowId(): string;
|
32
33
|
|
34
|
+
public getConfigObject(rowOptions?: RowDefinition.Options): RowDefinition.Options|null;
|
35
|
+
|
33
36
|
public getDataId(): string;
|
34
37
|
|
35
38
|
public setDataSource(dataSource: DataCache): void;
|
36
39
|
|
40
|
+
public getDataSource(): DataCache|null;
|
41
|
+
|
37
42
|
public getRowData(): any;
|
38
43
|
|
39
44
|
public getData(field: string): any;
|
@@ -54,7 +59,7 @@ declare class RowDefinition {
|
|
54
59
|
|
55
60
|
public getDisplayText(): string;
|
56
61
|
|
57
|
-
public getLabel(): string|null;
|
62
|
+
public getLabel(): string|null|null;
|
58
63
|
|
59
64
|
public isRowHeader(): boolean;
|
60
65
|
|
@@ -78,13 +83,13 @@ declare class RowDefinition {
|
|
78
83
|
|
79
84
|
public addUpdate(e: any): boolean;
|
80
85
|
|
81
|
-
public getUpdates(): { [key: string]: number };
|
86
|
+
public getUpdates(): { [key: string]: number }|null;
|
82
87
|
|
83
88
|
public resetUpdates(): void;
|
84
89
|
|
85
90
|
public registerToView(view: DataTable, rowId?: string): void;
|
86
91
|
|
87
|
-
public static deregisterFromView(rowIds: (string)[], rowDef: RowDefinition): (string)[];
|
92
|
+
public static deregisterFromView(rowIds: (string)[], rowDef: RowDefinition): (string)[]|null;
|
88
93
|
|
89
94
|
public collapseChain(): boolean;
|
90
95
|
|
@@ -92,15 +97,15 @@ declare class RowDefinition {
|
|
92
97
|
|
93
98
|
public toggleChain(): boolean;
|
94
99
|
|
95
|
-
public getChildren(): (RowDefinition)[];
|
100
|
+
public getChildren(): (RowDefinition)[]|null;
|
96
101
|
|
97
102
|
public getDescendants(ary?: (RowDefinition)[]): (RowDefinition)[];
|
98
103
|
|
99
|
-
public getAllDescendantIds(): (string)[];
|
104
|
+
public getAllDescendantIds(): (string)[]|null;
|
100
105
|
|
101
106
|
public getChildCount(): number;
|
102
107
|
|
103
|
-
public getParent(): RowDefinition;
|
108
|
+
public getParent(): RowDefinition|null;
|
104
109
|
|
105
110
|
public getDepthLevel(): number;
|
106
111
|
|
@@ -9,9 +9,11 @@ declare class SnapshotFiller extends EventDispatcher {
|
|
9
9
|
|
10
10
|
public addRic(ric: string): void;
|
11
11
|
|
12
|
+
public addRics(rics: (string)[]): boolean;
|
13
|
+
|
12
14
|
public addField(str: string): void;
|
13
15
|
|
14
|
-
public addFields(fields: (string)[]):
|
16
|
+
public addFields(fields: (string)[]): boolean;
|
15
17
|
|
16
18
|
public static isValidField(str: string): boolean;
|
17
19
|
|
@@ -30,6 +30,8 @@ declare class RowColoringPlugin extends GridPlugin {
|
|
30
30
|
|
31
31
|
public getConfigObject(gridOptions?: any): any;
|
32
32
|
|
33
|
+
public getRowConfigObject(rowId: string): any|null;
|
34
|
+
|
33
35
|
public setRowColor(rowRef: string|number, bgColor?: (string|null), txtColor?: (string|null)): void;
|
34
36
|
|
35
37
|
public getRowColor(rowRef: string|number): string;
|
@@ -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
|
|
@@ -2,6 +2,7 @@ import {Ext} from '../../tr-grid-util/es6/Ext.js';
|
|
2
2
|
import {GridPlugin} from '../../tr-grid-util/es6/GridPlugin.js';
|
3
3
|
import {FilterBuilder} from '../../tr-grid-util/es6/FilterBuilder.js';
|
4
4
|
import {ElfUtil} from '../../tr-grid-util/es6/ElfUtil.js';
|
5
|
+
import { injectCss, prettifyCss } from "../../tr-grid-util/es6/Util.js";
|
5
6
|
|
6
7
|
declare namespace RowFilteringPlugin {
|
7
8
|
|
@@ -32,6 +33,7 @@ declare namespace RowFilteringPlugin {
|
|
32
33
|
|
33
34
|
type Options = {
|
34
35
|
disabledUI?: boolean,
|
36
|
+
iconActivation?: string,
|
35
37
|
click?: ((...params: any[]) => any),
|
36
38
|
clicked?: ((...params: any[]) => any),
|
37
39
|
iconCreated?: ((...params: any[]) => any),
|
@@ -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,7 +12,10 @@ 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),
|
18
|
+
headerMenuClicked?: ((...params: any[]) => any),
|
15
19
|
segmentSeparatorBinding?: ((...params: any[]) => any),
|
16
20
|
nonSegmentSeparatorBinding?: ((...params: any[]) => any),
|
17
21
|
sortingLogic?: ((...params: any[]) => any)
|
@@ -69,14 +73,16 @@ declare class RowSegmentingPlugin extends GridPlugin {
|
|
69
73
|
|
70
74
|
public removeAllSegmentChildren(): void;
|
71
75
|
|
72
|
-
public getSegmentIds(): (string)[];
|
76
|
+
public getSegmentIds(): (string)[]|null;
|
73
77
|
|
74
|
-
public getSegmentChildIds(segmentRef: string|number): (string)[];
|
78
|
+
public getSegmentChildIds(segmentRef: string|number): (string)[]|null;
|
75
79
|
|
76
80
|
public setSortingLogic(sortFunction: RowSegmentingPlugin.SortingLogic): void;
|
77
81
|
|
78
82
|
public sortSegments(sortFunction?: RowSegmentingPlugin.SortingLogic): void;
|
79
83
|
|
84
|
+
public setPredefinedColors(predefinedColors: any): void;
|
85
|
+
|
80
86
|
}
|
81
87
|
|
82
88
|
export default RowSegmentingPlugin;
|
@@ -1,8 +1,10 @@
|
|
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
|
+
import { ElfUtil } from "../../tr-grid-util/es6/ElfUtil.js";
|
7
|
+
import { injectCss, prettifyCss } from "../../tr-grid-util/es6/Util.js";
|
6
8
|
|
7
9
|
declare namespace RowSelectionPlugin {
|
8
10
|
|
@@ -11,7 +13,9 @@ declare namespace RowSelectionPlugin {
|
|
11
13
|
selectionChanged?: ((...params: any[]) => any),
|
12
14
|
beforeSelection?: ((...params: any[]) => any),
|
13
15
|
basedOnContent?: boolean,
|
14
|
-
selectionField?: string
|
16
|
+
selectionField?: string,
|
17
|
+
menuClicked?: ((...params: any[]) => any),
|
18
|
+
menuPosition?: string
|
15
19
|
};
|
16
20
|
|
17
21
|
}
|
@@ -42,13 +46,13 @@ declare class RowSelectionPlugin extends GridPlugin {
|
|
42
46
|
|
43
47
|
public getRowAnchor(sectRef?: any): number;
|
44
48
|
|
45
|
-
public getFirstSelectedIndex(sectRef?: any): number|null;
|
49
|
+
public getFirstSelectedIndex(sectRef?: any): number|null|null;
|
46
50
|
|
47
|
-
public getLastSelectedIndex(sectRef?: any): number|null;
|
51
|
+
public getLastSelectedIndex(sectRef?: any): number|null|null;
|
48
52
|
|
49
|
-
public getSelectedRows(sectRef?: any): (number)[];
|
53
|
+
public getSelectedRows(sectRef?: any): (number)[]|null;
|
50
54
|
|
51
|
-
public getSelectedRowIds(sectRef?: any): (string)[];
|
55
|
+
public getSelectedRowIds(sectRef?: any): (string)[]|null;
|
52
56
|
|
53
57
|
public getSelectedRowCount(sectRef?: any): number;
|
54
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/Zoom.d.ts
CHANGED
package/lib/types/es6/index.d.ts
CHANGED
@@ -72,5 +72,8 @@ 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
|
|
78
|
+
|
79
|
+
export { Grid } from "../../grid/lib/efx-grid";
|