@refinitiv-ui/efx-grid 6.0.5 → 6.0.7
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 +13 -11
- package/lib/column-dragging/es6/ColumnDragging.js +21 -15
- package/lib/column-format-dialog/lib/column-format-dialog.d.ts +1 -1
- package/lib/column-format-dialog/lib/column-format-dialog.js +3 -4
- package/lib/column-format-dialog/lib/preview-table.js +3 -4
- package/lib/column-selection-dialog/lib/column-selection-dialog.d.ts +2 -2
- package/lib/column-selection-dialog/lib/column-selection-dialog.js +23 -7
- package/lib/core/dist/core.css +1 -1
- package/lib/core/dist/core.js +456 -269
- package/lib/core/dist/core.min.js +1 -1
- package/lib/core/es6/data/ColumnStats.d.ts +3 -3
- package/lib/core/es6/data/DataCache.d.ts +9 -9
- package/lib/core/es6/data/DataTable.d.ts +28 -28
- package/lib/core/es6/data/DataTable.js +44 -11
- package/lib/core/es6/data/DataView.d.ts +62 -62
- package/lib/core/es6/data/DataView.js +42 -22
- package/lib/core/es6/data/Segment.d.ts +8 -4
- package/lib/core/es6/data/Segment.js +16 -0
- package/lib/core/es6/data/SegmentCollection.d.ts +9 -7
- package/lib/core/es6/data/SegmentCollection.js +38 -36
- package/lib/core/es6/data/WrappedView.d.ts +62 -62
- package/lib/core/es6/grid/Core.d.ts +95 -95
- package/lib/core/es6/grid/Core.js +173 -25
- package/lib/core/es6/grid/ILayoutGrid.d.ts +20 -20
- package/lib/core/es6/grid/ILayoutGrid.js +2 -1
- package/lib/core/es6/grid/LayoutGrid.d.ts +2 -2
- package/lib/core/es6/grid/LayoutGrid.js +18 -10
- package/lib/core/es6/grid/VirtualizedLayoutGrid.d.ts +2 -2
- package/lib/core/es6/grid/VirtualizedLayoutGrid.js +14 -3
- package/lib/core/es6/grid/components/Cell.d.ts +6 -6
- package/lib/core/es6/grid/components/Cell.js +3 -0
- package/lib/core/es6/grid/components/CellFloatingPanel.d.ts +4 -2
- package/lib/core/es6/grid/components/CellFloatingPanel.js +7 -0
- package/lib/core/es6/grid/components/CellSpans.d.ts +2 -2
- package/lib/core/es6/grid/components/Column.d.ts +2 -2
- package/lib/core/es6/grid/components/ElementWrapper.d.ts +19 -19
- package/lib/core/es6/grid/components/Scrollbar.d.ts +9 -9
- package/lib/core/es6/grid/components/StretchedCells.js +19 -5
- package/lib/core/es6/grid/event/EventDispatcher.d.ts +3 -3
- package/lib/core/es6/grid/event/EventListeners.d.ts +5 -5
- package/lib/core/es6/grid/plugins/SortableTitlePlugin.d.ts +45 -44
- package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +62 -65
- package/lib/core/es6/grid/util/Conflator.d.ts +4 -4
- package/lib/core/es6/grid/util/HttpRequest.d.ts +3 -3
- package/lib/core/es6/grid/util/PercentBar.d.ts +8 -8
- package/lib/core/es6/grid/util/PercentBarRenderer.d.ts +8 -8
- package/lib/core/es6/grid/util/RangeBar.d.ts +1 -1
- package/lib/core/es6/grid/util/RangeBar.js +1 -1
- package/lib/core/es6/grid/util/Reverter.d.ts +1 -1
- package/lib/core/es6/grid/util/SectionSettings.d.ts +13 -13
- package/lib/core/es6/grid/util/SelectionList.d.ts +2 -2
- package/lib/core/es6/grid/util/TrackLayout.d.ts +9 -9
- package/lib/core/es6/grid/util/Virtualizer.d.ts +3 -3
- package/lib/core/es6/grid/util/util.d.ts +6 -4
- package/lib/core/es6/grid/util/util.js +16 -91
- package/lib/core/es6/index.d.ts +1 -0
- package/lib/core/es6/index.js +2 -0
- package/lib/core/es6/tr-grid-theme.js +1 -1
- package/lib/filter-dialog/lib/checkbox-list.d.ts +1 -1
- package/lib/filter-dialog/lib/filter-dialog.d.ts +1 -1
- package/lib/filter-dialog/lib/filter-dialog.js +27 -9
- package/lib/filter-dialog/themes/base-checkbox.less +0 -1
- package/lib/filter-dialog/themes/base.less +1 -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/formatters/es6/index.d.ts +1 -1
- package/lib/formatters/es6/index.js +1 -1
- package/lib/grid/index.js +1 -1
- package/lib/grid/lib/efx-grid.js +3 -0
- 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 +5 -5
- 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/row-segmenting/es6/RowSegmenting.d.ts +30 -24
- package/lib/row-segmenting/es6/RowSegmenting.js +122 -21
- package/lib/rt-grid/dist/rt-grid.js +689 -367
- package/lib/rt-grid/dist/rt-grid.min.js +1 -1
- package/lib/rt-grid/es6/ColumnDefinition.d.ts +46 -42
- package/lib/rt-grid/es6/ColumnDefinition.js +31 -1
- package/lib/rt-grid/es6/DataConnector.d.ts +6 -4
- package/lib/rt-grid/es6/DataConnector.js +8 -0
- package/lib/rt-grid/es6/FieldDefinition.d.ts +2 -2
- package/lib/rt-grid/es6/FieldDefinition.js +12 -5
- package/lib/rt-grid/es6/Grid.d.ts +102 -94
- package/lib/rt-grid/es6/Grid.js +70 -105
- package/lib/rt-grid/es6/ReferenceCounter.d.ts +5 -5
- package/lib/rt-grid/es6/RowDefSorter.d.ts +2 -2
- package/lib/rt-grid/es6/RowDefinition.d.ts +22 -22
- package/lib/rt-grid/es6/RowDefinition.js +12 -5
- package/lib/rt-grid/es6/SnapshotFiller.d.ts +3 -3
- package/lib/rt-grid/es6/StyleLoader.d.ts +1 -1
- package/lib/tr-grid-cell-selection/es6/CellSelection.d.ts +11 -11
- package/lib/tr-grid-cell-selection/es6/CellSelection.js +50 -54
- package/lib/tr-grid-checkbox/es6/Checkbox.d.ts +18 -16
- package/lib/tr-grid-checkbox/es6/Checkbox.js +1 -0
- package/lib/tr-grid-column-formatting/es6/ColumnFormatting.d.ts +29 -27
- package/lib/tr-grid-column-formatting/es6/ColumnFormatting.js +1 -0
- package/lib/tr-grid-column-grouping/es6/ColumnGrouping.d.ts +28 -14
- package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +556 -11
- package/lib/tr-grid-column-resizing/es6/ColumnResizing.d.ts +2 -2
- package/lib/tr-grid-column-resizing/es6/ColumnResizing.js +1 -0
- package/lib/tr-grid-column-selection/es6/ColumnSelection.js +2 -3
- package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +15 -13
- package/lib/tr-grid-column-stack/es6/ColumnStack.js +96 -72
- package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.d.ts +11 -2
- package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +309 -114
- package/lib/tr-grid-content-wrap/es6/ContentWrap.js +1 -6
- package/lib/tr-grid-contextmenu/es6/ContextMenu.js +3 -3
- package/lib/tr-grid-contextmenu/es6/MenuEventAPI.d.ts +2 -2
- package/lib/tr-grid-contextmenu/es6/MenuItem.d.ts +2 -2
- package/lib/tr-grid-heat-map/es6/HeatMap.d.ts +2 -1
- package/lib/tr-grid-heat-map/es6/HeatMap.js +6 -9
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +5 -2
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +311 -71
- package/lib/tr-grid-percent-bar/es6/PercentBar.d.ts +1 -1
- package/lib/tr-grid-percent-bar/es6/PercentBar.js +8 -11
- package/lib/tr-grid-printer/es6/SectionWriter.js +8 -0
- package/lib/tr-grid-range-bar/es6/RangeBar.js +3 -10
- package/lib/tr-grid-row-dragging/es6/RowDragging.d.ts +6 -0
- package/lib/tr-grid-row-dragging/es6/RowDragging.js +56 -23
- package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +4 -3
- package/lib/tr-grid-row-filtering/es6/RowFiltering.js +57 -13
- package/lib/tr-grid-row-grouping/es6/RowGrouping.js +1 -1
- package/lib/tr-grid-row-selection/es6/RowSelection.js +2 -3
- package/lib/tr-grid-rowcoloring/es6/RowColoring.d.ts +0 -2
- package/lib/tr-grid-rowcoloring/es6/RowColoring.js +1 -40
- package/lib/tr-grid-util/es6/CellPainter.d.ts +30 -30
- package/lib/tr-grid-util/es6/CellPainter.js +9 -8
- package/lib/tr-grid-util/es6/Conflator.d.ts +4 -4
- package/lib/tr-grid-util/es6/CoralItems.d.ts +1 -1
- package/lib/tr-grid-util/es6/DateTime.d.ts +10 -10
- package/lib/tr-grid-util/es6/Deferred.d.ts +3 -1
- package/lib/tr-grid-util/es6/Deferred.js +11 -1
- package/lib/tr-grid-util/es6/Delay.d.ts +2 -2
- package/lib/tr-grid-util/es6/Dom.d.ts +10 -10
- package/lib/tr-grid-util/es6/Dom.js +14 -10
- package/lib/tr-grid-util/es6/DragUI.js +5 -2
- package/lib/tr-grid-util/es6/ElementObserver.d.ts +2 -2
- package/lib/tr-grid-util/es6/ElementWrapper.d.ts +4 -4
- package/lib/tr-grid-util/es6/ElfDate.d.ts +5 -5
- package/lib/tr-grid-util/es6/ElfDate.js +1 -0
- package/lib/tr-grid-util/es6/ElfUtil.d.ts +10 -4
- package/lib/tr-grid-util/es6/ElfUtil.js +53 -4
- package/lib/tr-grid-util/es6/EventDispatcher.d.ts +5 -5
- package/lib/tr-grid-util/es6/ExpanderIcon.d.ts +2 -2
- package/lib/tr-grid-util/es6/ExpanderIcon.js +1 -1
- package/lib/tr-grid-util/es6/Ext.d.ts +1 -1
- package/lib/tr-grid-util/es6/FieldFormatter.d.ts +12 -12
- package/lib/tr-grid-util/es6/FieldFormatter.js +1 -1
- package/lib/tr-grid-util/es6/FilterBuilder.d.ts +13 -13
- package/lib/tr-grid-util/es6/FilterBuilder.js +15 -8
- package/lib/tr-grid-util/es6/FilterOperators.d.ts +22 -22
- package/lib/tr-grid-util/es6/FilterOperators.js +3 -3
- package/lib/tr-grid-util/es6/GridPlugin.d.ts +10 -10
- package/lib/tr-grid-util/es6/GridPlugin.js +20 -0
- package/lib/tr-grid-util/es6/Icon.d.ts +3 -3
- package/lib/tr-grid-util/es6/MouseDownTrait.d.ts +8 -8
- package/lib/tr-grid-util/es6/MultiTableManager.d.ts +6 -6
- package/lib/tr-grid-util/es6/NumberFormatter.d.ts +19 -19
- package/lib/tr-grid-util/es6/NumberFormatter.js +1 -1
- package/lib/tr-grid-util/es6/PercentBar.d.ts +19 -19
- package/lib/tr-grid-util/es6/Perf.d.ts +4 -4
- package/lib/tr-grid-util/es6/Popup.d.ts +36 -33
- package/lib/tr-grid-util/es6/Popup.js +19 -1
- package/lib/tr-grid-util/es6/RangeBar.d.ts +5 -5
- package/lib/tr-grid-util/es6/RequestQueue.d.ts +4 -4
- package/lib/tr-grid-util/es6/RowPainter.d.ts +37 -4
- package/lib/tr-grid-util/es6/RowPainter.js +199 -76
- package/lib/tr-grid-util/es6/SubTable.d.ts +14 -14
- package/lib/tr-grid-util/es6/Table.d.ts +25 -25
- package/lib/tr-grid-util/es6/TextHighlighter.d.ts +1 -1
- package/lib/tr-grid-util/es6/Timer.d.ts +1 -1
- package/lib/tr-grid-util/es6/TouchProxy.d.ts +9 -9
- package/lib/tr-grid-util/es6/Util.d.ts +12 -12
- package/lib/tr-grid-util/es6/formula/ADCService.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/ADCSubscription.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/AdFinService.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/AdFinSubscription.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/Engine.d.ts +9 -9
- package/lib/tr-grid-util/es6/formula/Formula.d.ts +4 -4
- package/lib/tr-grid-util/es6/formula/IntervalSubscription.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/Realtime.d.ts +3 -3
- package/lib/tr-grid-util/es6/formula/RealtimeService.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/TSIService.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/TSISubscription.d.ts +1 -1
- package/lib/tr-grid-util/es6/formula/VariableToken.d.ts +1 -1
- package/lib/tr-grid-util/es6/jet/CollectionDict.d.ts +1 -1
- package/lib/tr-grid-util/es6/jet/DataGenerator.d.ts +34 -34
- 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/MockJET.js +12 -4
- package/lib/tr-grid-util/es6/jet/MockQuotes.d.ts +9 -9
- package/lib/tr-grid-util/es6/jet/MockQuotes2.d.ts +17 -9
- package/lib/tr-grid-util/es6/jet/MockQuotes2.js +84 -24
- package/lib/tr-grid-util/es6/jet/MockRTK.d.ts +42 -2
- package/lib/tr-grid-util/es6/jet/MockRTK.js +55 -16
- package/lib/tr-grid-util/es6/jet/mockDataAPI.d.ts +2 -2
- package/lib/tr-grid-util/es6/jet/mockDataAPI.js +99 -1
- package/lib/types/es6/CellSelection.d.ts +11 -11
- package/lib/types/es6/Checkbox.d.ts +18 -16
- package/lib/types/es6/ColumnFormatting.d.ts +29 -27
- package/lib/types/es6/ColumnGrouping.d.ts +28 -14
- package/lib/types/es6/ColumnResizing.d.ts +2 -2
- package/lib/types/es6/ColumnStack.d.ts +15 -13
- package/lib/types/es6/CompositeGrid/ColumnSelectionPlugin.d.ts +4 -2
- package/lib/types/es6/CompositeGrid/ColumnWidthAdjustingPlugin.d.ts +0 -1
- package/lib/types/es6/CompositeGrid/CompositeGrid.d.ts +1 -1
- package/lib/types/es6/CompositeGrid/DragAndDropTitlePlugin.d.ts +1 -1
- package/lib/types/es6/CompositeGrid/DraggableContentPlugin.d.ts +1 -5
- package/lib/types/es6/CompositeGrid/Plugin.d.ts +3 -1
- package/lib/types/es6/CompositeGrid/ResizableTitlePlugin.d.ts +2 -1
- package/lib/types/es6/CompositeGrid/RowSelectionPlugin.d.ts +2 -1
- package/lib/types/es6/CompositeGrid/TextWidthCalculator.d.ts +1 -1
- package/lib/types/es6/CompositeGrid/TreeIndentingPlugin.d.ts +0 -1
- package/lib/types/es6/ConditionalColoring.d.ts +11 -2
- package/lib/types/es6/Core/data/ColumnStats.d.ts +3 -3
- package/lib/types/es6/Core/data/DataCache.d.ts +9 -9
- package/lib/types/es6/Core/data/DataTable.d.ts +28 -28
- package/lib/types/es6/Core/data/DataView.d.ts +62 -62
- package/lib/types/es6/Core/data/Segment.d.ts +8 -4
- package/lib/types/es6/Core/data/SegmentCollection.d.ts +9 -7
- package/lib/types/es6/Core/data/WrappedView.d.ts +62 -62
- package/lib/types/es6/Core/grid/Core.d.ts +95 -95
- package/lib/types/es6/Core/grid/ILayoutGrid.d.ts +20 -20
- package/lib/types/es6/Core/grid/LayoutGrid.d.ts +2 -2
- package/lib/types/es6/Core/grid/VirtualizedLayoutGrid.d.ts +2 -2
- package/lib/types/es6/Core/grid/components/Cell.d.ts +6 -6
- package/lib/types/es6/Core/grid/components/CellFloatingPanel.d.ts +2 -2
- package/lib/types/es6/Core/grid/components/CellSpans.d.ts +2 -2
- package/lib/types/es6/Core/grid/components/Column.d.ts +2 -2
- package/lib/types/es6/Core/grid/components/ElementWrapper.d.ts +19 -19
- package/lib/types/es6/Core/grid/components/Scrollbar.d.ts +9 -9
- package/lib/types/es6/Core/grid/event/EventDispatcher.d.ts +3 -3
- package/lib/types/es6/Core/grid/event/EventListeners.d.ts +5 -5
- package/lib/types/es6/Core/grid/plugins/SortableTitlePlugin.d.ts +45 -44
- package/lib/types/es6/Core/grid/util/Conflator.d.ts +4 -4
- package/lib/types/es6/Core/grid/util/HttpRequest.d.ts +3 -3
- package/lib/types/es6/Core/grid/util/PercentBar.d.ts +8 -8
- package/lib/types/es6/Core/grid/util/PercentBarRenderer.d.ts +8 -8
- package/lib/types/es6/Core/grid/util/RangeBar.d.ts +1 -1
- package/lib/types/es6/Core/grid/util/Reverter.d.ts +1 -1
- package/lib/types/es6/Core/grid/util/SectionSettings.d.ts +13 -13
- package/lib/types/es6/Core/grid/util/SelectionList.d.ts +2 -2
- package/lib/types/es6/Core/grid/util/TrackLayout.d.ts +9 -9
- package/lib/types/es6/Core/grid/util/Virtualizer.d.ts +3 -3
- package/lib/types/es6/Core/grid/util/util.d.ts +6 -4
- package/lib/types/es6/Core/index.d.ts +1 -0
- package/lib/types/es6/HeatMap.d.ts +2 -1
- package/lib/types/es6/InCellEditing.d.ts +5 -2
- package/lib/types/es6/MenuEventAPI.d.ts +2 -2
- package/lib/types/es6/MenuItem.d.ts +2 -2
- package/lib/types/es6/PercentBar.d.ts +1 -1
- package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +46 -42
- package/lib/types/es6/RealtimeGrid/DataConnector.d.ts +6 -4
- package/lib/types/es6/RealtimeGrid/FieldDefinition.d.ts +2 -2
- package/lib/types/es6/RealtimeGrid/Grid.d.ts +100 -92
- package/lib/types/es6/RealtimeGrid/ReferenceCounter.d.ts +5 -5
- package/lib/types/es6/RealtimeGrid/RowDefSorter.d.ts +2 -2
- package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +22 -22
- package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +3 -3
- package/lib/types/es6/RealtimeGrid/StyleLoader.d.ts +1 -1
- package/lib/types/es6/RowColoring.d.ts +0 -2
- package/lib/types/es6/RowDragging.d.ts +6 -0
- package/lib/types/es6/RowFiltering.d.ts +4 -3
- package/lib/types/es6/RowSegmenting.d.ts +30 -24
- package/lib/versions.json +27 -27
- package/package.json +2 -2
@@ -7,9 +7,11 @@ declare class CellFloatingPanel extends ElementWrapper {
|
|
7
7
|
|
8
8
|
public hasItem(): boolean;
|
9
9
|
|
10
|
-
public
|
10
|
+
public containItem(icon: Element|null): boolean;
|
11
11
|
|
12
|
-
public
|
12
|
+
public insertItem(item: Element|null, opt_order?: number|null): void;
|
13
|
+
|
14
|
+
public removeItem(elemRef?: (Element|string)|null): Element|null|null;
|
13
15
|
|
14
16
|
public clearItems(): void;
|
15
17
|
|
@@ -23,6 +23,13 @@ CellFloatingPanel.prototype._items = [];
|
|
23
23
|
CellFloatingPanel.prototype.hasItem = function () {
|
24
24
|
return !!this._items.length;
|
25
25
|
};
|
26
|
+
/** @public
|
27
|
+
* @param {Element} icon Element of item
|
28
|
+
* @returns {boolean}
|
29
|
+
*/
|
30
|
+
CellFloatingPanel.prototype.containItem = function (icon) {
|
31
|
+
return this._items.indexOf(icon) > -1;
|
32
|
+
};
|
26
33
|
/** @public
|
27
34
|
* @param {Element} item
|
28
35
|
* @param {number=} opt_order The greater the order, the farther the position to the right
|
@@ -10,9 +10,9 @@ declare class CellSpans {
|
|
10
10
|
|
11
11
|
public removeSpan(indexX: number, indexY: number): CellSpan|null;
|
12
12
|
|
13
|
-
public removeSpanByColIndex(at: number, opt_ary?: (CellSpan)[]): (CellSpan)[]|null;
|
13
|
+
public removeSpanByColIndex(at: number, opt_ary?: (CellSpan)[]|null): (CellSpan)[]|null;
|
14
14
|
|
15
|
-
public removeSpanStartedFromRowIndex(at: number, opt_ary?: (CellSpan)[]): (CellSpan)[]|null;
|
15
|
+
public removeSpanStartedFromRowIndex(at: number, opt_ary?: (CellSpan)[]|null): (CellSpan)[]|null;
|
16
16
|
|
17
17
|
public clearAllSpans(): (CellSpan)[]|null;
|
18
18
|
|
@@ -6,11 +6,11 @@ import ILayoutGrid from "../ILayoutGrid.js";
|
|
6
6
|
|
7
7
|
declare class Column extends ElementWrapper {
|
8
8
|
|
9
|
-
constructor(section: ILayoutGrid);
|
9
|
+
constructor(section: ILayoutGrid|null);
|
10
10
|
|
11
11
|
public clearContent(): void;
|
12
12
|
|
13
|
-
public setNextSibling(sibling: Column): void;
|
13
|
+
public setNextSibling(sibling: Column|null): void;
|
14
14
|
|
15
15
|
public isActive(): boolean;
|
16
16
|
|
@@ -5,21 +5,21 @@ import Util from "../util/util.js";
|
|
5
5
|
|
6
6
|
declare class ElementWrapper extends EventDispatcher {
|
7
7
|
|
8
|
-
constructor(opt_element?: Element);
|
8
|
+
constructor(opt_element?: Element|null);
|
9
9
|
|
10
|
-
public getContent(opt_allContent?: boolean): Element|Node|NodeList|null;
|
10
|
+
public getContent(opt_allContent?: boolean|null): Element|Node|NodeList|null;
|
11
11
|
|
12
|
-
public setContent(content: string|Element|ElementWrapper|any, opt_tooltip?: string): Element|null;
|
12
|
+
public setContent(content: string|Element|ElementWrapper|any, opt_tooltip?: string|null): Element|null;
|
13
13
|
|
14
|
-
public addContent(content: Element|Node|ElementWrapper): Element|null;
|
14
|
+
public addContent(content: Element|Node|ElementWrapper|null): Element|null;
|
15
15
|
|
16
|
-
public removeContent(content: Element|Node|ElementWrapper): boolean;
|
16
|
+
public removeContent(content: Element|Node|ElementWrapper|null): boolean;
|
17
17
|
|
18
|
-
public listen(type: string, handler: ((...params: any[]) => any), opt_priority?: number): void;
|
18
|
+
public listen(type: string, handler: ((...params: any[]) => any)|null, opt_priority?: number|null): void;
|
19
19
|
|
20
|
-
public unlisten(type: string, handler: ((...params: any[]) => any)): void;
|
20
|
+
public unlisten(type: string, handler: ((...params: any[]) => any)|null): void;
|
21
21
|
|
22
|
-
public unlistenAll(opt_type?: string): void;
|
22
|
+
public unlistenAll(opt_type?: string|null): void;
|
23
23
|
|
24
24
|
public dispose(): void;
|
25
25
|
|
@@ -29,11 +29,11 @@ declare class ElementWrapper extends EventDispatcher {
|
|
29
29
|
|
30
30
|
public getParent(): Element|Node|null;
|
31
31
|
|
32
|
-
public setParent(parent: ElementWrapper|Element|Node, opt_prepend?: boolean): void;
|
32
|
+
public setParent(parent: ElementWrapper|Element|Node|null, opt_prepend?: boolean|null): void;
|
33
33
|
|
34
|
-
public insertBefore(nextSibling: ElementWrapper|Element|Node): void;
|
34
|
+
public insertBefore(nextSibling: ElementWrapper|Element|Node|null): void;
|
35
35
|
|
36
|
-
public insertAfter(previousSibling: ElementWrapper|Element|Node): void;
|
36
|
+
public insertAfter(previousSibling: ElementWrapper|Element|Node|null): void;
|
37
37
|
|
38
38
|
public hasClass(str: string): boolean;
|
39
39
|
|
@@ -41,9 +41,9 @@ declare class ElementWrapper extends EventDispatcher {
|
|
41
41
|
|
42
42
|
public removeClass(str: string): void;
|
43
43
|
|
44
|
-
public toggleClass(cls: string, forcedVal?: (boolean|null)): void;
|
44
|
+
public toggleClass(cls: string, forcedVal?: (boolean|null)|null): void;
|
45
45
|
|
46
|
-
public enableClass(str: string, opt_enabled?: boolean): void;
|
46
|
+
public enableClass(str: string, opt_enabled?: boolean|null): void;
|
47
47
|
|
48
48
|
public getClass(): string;
|
49
49
|
|
@@ -91,23 +91,23 @@ declare class ElementWrapper extends EventDispatcher {
|
|
91
91
|
|
92
92
|
public getBoundingClientRect(): any;
|
93
93
|
|
94
|
-
public fillParentWidth(opt_percent?: number): boolean;
|
94
|
+
public fillParentWidth(opt_percent?: number|null): boolean;
|
95
95
|
|
96
|
-
public fillParentHeight(opt_percent?: number): boolean;
|
96
|
+
public fillParentHeight(opt_percent?: number|null): boolean;
|
97
97
|
|
98
98
|
public getTooltip(): string;
|
99
99
|
|
100
100
|
public setTooltip(str: string): void;
|
101
101
|
|
102
|
-
public show(opt_shown?: boolean): void;
|
102
|
+
public show(opt_shown?: boolean|null): void;
|
103
103
|
|
104
|
-
public hide(opt_hidden?: boolean): void;
|
104
|
+
public hide(opt_hidden?: boolean|null): void;
|
105
105
|
|
106
106
|
public isVisible(): boolean;
|
107
107
|
|
108
|
-
public enable(opt_enabled?: boolean): void;
|
108
|
+
public enable(opt_enabled?: boolean|null): void;
|
109
109
|
|
110
|
-
public disable(opt_disabled?: boolean): void;
|
110
|
+
public disable(opt_disabled?: boolean|null): void;
|
111
111
|
|
112
112
|
public isEnabled(): boolean;
|
113
113
|
|
@@ -9,15 +9,15 @@ declare class Scrollbar extends ElementWrapper {
|
|
9
9
|
|
10
10
|
public static updateTrackThickness(): void;
|
11
11
|
|
12
|
-
public attachToExternalElement(host: Element|Node): void;
|
12
|
+
public attachToExternalElement(host: Element|Node|null): void;
|
13
13
|
|
14
14
|
public isActive(): boolean;
|
15
15
|
|
16
16
|
public isEnabled(): boolean;
|
17
17
|
|
18
|
-
public enable(opt_enabled?: boolean): void;
|
18
|
+
public enable(opt_enabled?: boolean|null): void;
|
19
19
|
|
20
|
-
public disable(opt_disabled?: boolean): void;
|
20
|
+
public disable(opt_disabled?: boolean|null): void;
|
21
21
|
|
22
22
|
public getTrackSize(): number;
|
23
23
|
|
@@ -33,19 +33,19 @@ declare class Scrollbar extends ElementWrapper {
|
|
33
33
|
|
34
34
|
public flash(): void;
|
35
35
|
|
36
|
-
public disableKeyboardInput(opt_disabled?: boolean): void;
|
36
|
+
public disableKeyboardInput(opt_disabled?: boolean|null): void;
|
37
37
|
|
38
|
-
public disableTouchInput(opt_disabled?: boolean): void;
|
38
|
+
public disableTouchInput(opt_disabled?: boolean|null): void;
|
39
39
|
|
40
40
|
public setAutoHide(hide: boolean): void;
|
41
41
|
|
42
42
|
public getAutoHide(): boolean;
|
43
43
|
|
44
|
-
public disableMouseWheel(opt_disabled?: boolean): void;
|
44
|
+
public disableMouseWheel(opt_disabled?: boolean|null): void;
|
45
45
|
|
46
|
-
public addWheelListener(elem: Element): void;
|
46
|
+
public addWheelListener(elem: Element|null): void;
|
47
47
|
|
48
|
-
public removeWheelListener(elem: Element): void;
|
48
|
+
public removeWheelListener(elem: Element|null): void;
|
49
49
|
|
50
50
|
public setMouseWheelSpeed(val: string): void;
|
51
51
|
|
@@ -53,7 +53,7 @@ declare class Scrollbar extends ElementWrapper {
|
|
53
53
|
|
54
54
|
public setScrollingStep(px: number): void;
|
55
55
|
|
56
|
-
public freezeScrolling(frozen?: boolean): boolean;
|
56
|
+
public freezeScrolling(frozen?: boolean|null): boolean;
|
57
57
|
|
58
58
|
public restoreTrackPosition(): void;
|
59
59
|
|
@@ -129,7 +129,11 @@ StretchedCells.prototype.setCellCount = function (count) {
|
|
129
129
|
* @return {Cell}
|
130
130
|
*/
|
131
131
|
StretchedCells.prototype.getCell = function (rowIndex) {
|
132
|
-
|
132
|
+
var cell = this._cells[rowIndex];
|
133
|
+
if(cell && cell["getParent"]()) {
|
134
|
+
return cell;
|
135
|
+
}
|
136
|
+
return null;
|
133
137
|
};
|
134
138
|
/** @public
|
135
139
|
* @ignore
|
@@ -176,13 +180,13 @@ StretchedCells.prototype.getColumnIndex = function (cellRef) {
|
|
176
180
|
StretchedCells.prototype.getRowIndex = function (cellRef) {
|
177
181
|
if(cellRef) {
|
178
182
|
if(cellRef["getElement"]) {
|
179
|
-
return this._cells.indexOf(cellRef);
|
183
|
+
return cellRef["getParent"]() ? this._cells.indexOf(cellRef) : -1;
|
180
184
|
} else {
|
181
185
|
var cells = this._cells;
|
182
186
|
var rowCount = cells.length;
|
183
187
|
for(var r = 0; r < rowCount; ++r) {
|
184
188
|
var cell = cells[r];
|
185
|
-
if(cell && cell["getElement"]() === cellRef) {
|
189
|
+
if(cell && cell["getParent"]() && cell["getElement"]() === cellRef) {
|
186
190
|
return r;
|
187
191
|
}
|
188
192
|
}
|
@@ -198,7 +202,7 @@ StretchedCells.prototype.getRowIndex = function (cellRef) {
|
|
198
202
|
* @return {Cell}
|
199
203
|
*/
|
200
204
|
StretchedCells.prototype.stretchCell = function (rowIndex, colIndex) {
|
201
|
-
// Increase the active count regardless of redundancy. This acts as a dirty flag. It does not
|
205
|
+
// Increase the active count regardless of redundancy. This acts as a dirty flag. It does not need to be accurate
|
202
206
|
++this._activeCount;
|
203
207
|
if(!colIndex || colIndex < 0) {
|
204
208
|
colIndex = 0;
|
@@ -213,7 +217,17 @@ StretchedCells.prototype.stretchCell = function (rowIndex, colIndex) {
|
|
213
217
|
}
|
214
218
|
var cellElem = cell["getElement"]();
|
215
219
|
cellElem["stretched"] = true;
|
216
|
-
cellElem._colIndex
|
220
|
+
if(cellElem._colIndex !== colIndex) {
|
221
|
+
cellElem._colIndex = colIndex;
|
222
|
+
if(colIndex > 0) {
|
223
|
+
cellElem.classList.add("right-stretching");
|
224
|
+
} else {
|
225
|
+
cellElem.classList.remove("right-stretching");
|
226
|
+
}
|
227
|
+
}
|
228
|
+
if(cellElem._rowIndex !== rowIndex) {
|
229
|
+
cellElem._rowIndex = rowIndex;
|
230
|
+
}
|
217
231
|
|
218
232
|
var width = this._stretchSize || this._trackX.getTrackSize();
|
219
233
|
_updateXAxis(cell, this._trackX, colIndex, width);
|
@@ -4,11 +4,11 @@ declare class EventDispatcher {
|
|
4
4
|
|
5
5
|
constructor();
|
6
6
|
|
7
|
-
public listen(type: string, handler: ((...params: any[]) => any), opt_priority?: number): void;
|
7
|
+
public listen(type: string, handler: ((...params: any[]) => any)|null, opt_priority?: number|null): void;
|
8
8
|
|
9
|
-
public unlisten(type: string, handler: ((...params: any[]) => any)): void;
|
9
|
+
public unlisten(type: string, handler: ((...params: any[]) => any)|null): void;
|
10
10
|
|
11
|
-
public unlistenAll(type?: string): void;
|
11
|
+
public unlistenAll(type?: string|null): void;
|
12
12
|
|
13
13
|
}
|
14
14
|
|
@@ -4,9 +4,9 @@ declare class EventListeners {
|
|
4
4
|
|
5
5
|
constructor(opt_sender?: any|null);
|
6
6
|
|
7
|
-
public listen(listener: ((...params: any[]) => any), opt_priority?: number): void;
|
7
|
+
public listen(listener: ((...params: any[]) => any)|null, opt_priority?: number|null): void;
|
8
8
|
|
9
|
-
public unlisten(listener: ((...params: any[]) => any)): void;
|
9
|
+
public unlisten(listener: ((...params: any[]) => any)|null): void;
|
10
10
|
|
11
11
|
public unlistenAll(): void;
|
12
12
|
|
@@ -20,13 +20,13 @@ declare class EventListeners {
|
|
20
20
|
|
21
21
|
public isEnabled(): boolean;
|
22
22
|
|
23
|
-
public enable(opt_enabled?: boolean): void;
|
23
|
+
public enable(opt_enabled?: boolean|null): void;
|
24
24
|
|
25
|
-
public disable(opt_disabled?: boolean): void;
|
25
|
+
public disable(opt_disabled?: boolean|null): void;
|
26
26
|
|
27
27
|
public setSender(sender: any|null): void;
|
28
28
|
|
29
|
-
public setEventArgExtender(extender?: ((...params: any[]) => any)): void;
|
29
|
+
public setEventArgExtender(extender?: ((...params: any[]) => any)|null): void;
|
30
30
|
|
31
31
|
}
|
32
32
|
|
@@ -7,47 +7,48 @@ import DataTable from "../../data/DataTable.js";
|
|
7
7
|
|
8
8
|
declare namespace SortableTitlePlugin {
|
9
9
|
|
10
|
-
type SortOrder = "a" | "ascending" | "d" | "descending" | "n" | null;
|
10
|
+
type SortOrder = "a" | "ascending" | "d" | "descending" | "n" | null|null;
|
11
11
|
|
12
12
|
type InitialSort = {
|
13
13
|
colIndex: number,
|
14
|
-
sortOrder?: SortableTitlePlugin.SortOrder,
|
15
|
-
order?: SortableTitlePlugin.SortOrder
|
14
|
+
sortOrder?: SortableTitlePlugin.SortOrder|null,
|
15
|
+
order?: SortableTitlePlugin.SortOrder|null
|
16
16
|
};
|
17
17
|
|
18
18
|
type ColumnOptions = {
|
19
|
-
sortable?: boolean,
|
20
|
-
sortBy?: string,
|
21
|
-
sortLogic?: DataTable.SortLogic,
|
22
|
-
sortingLogic?: DataTable.SortLogic,
|
23
|
-
sorter?: DataTable.SortLogic,
|
24
|
-
sortingSequence?: (SortableTitlePlugin.SortOrder)[]
|
19
|
+
sortable?: boolean|null,
|
20
|
+
sortBy?: string|null,
|
21
|
+
sortLogic?: DataTable.SortLogic|null,
|
22
|
+
sortingLogic?: DataTable.SortLogic|null,
|
23
|
+
sorter?: DataTable.SortLogic|null,
|
24
|
+
sortingSequence?: (SortableTitlePlugin.SortOrder)[]|null
|
25
25
|
};
|
26
26
|
|
27
27
|
type Options = {
|
28
|
-
initialSort?: (SortableTitlePlugin.InitialSort|(SortableTitlePlugin.InitialSort)[]),
|
29
|
-
multicolumn?: (boolean|number),
|
30
|
-
multiColumn?: (boolean|number),
|
31
|
-
threeStatesSorting?: boolean,
|
32
|
-
sortLogic?: { [key: string]: DataTable.SortLogic },
|
33
|
-
disableDoubleClickToSort?: boolean,
|
34
|
-
sortableColumns?: boolean,
|
35
|
-
sortableIndicator?: boolean,
|
36
|
-
indicatorOnly?: boolean,
|
37
|
-
mode?: string,
|
38
|
-
disabled?: boolean,
|
39
|
-
columnSorted?: ((...params: any[]) => any),
|
40
|
-
preClicked?: ((...params: any[]) => any),
|
41
|
-
clicked?: ((...params: any[]) => any),
|
42
|
-
preDataSorting?: ((...params: any[]) => any),
|
43
|
-
sortingSequence?: (SortableTitlePlugin.SortOrder)[]
|
28
|
+
initialSort?: (SortableTitlePlugin.InitialSort|(SortableTitlePlugin.InitialSort)[])|null,
|
29
|
+
multicolumn?: (boolean|number)|null,
|
30
|
+
multiColumn?: (boolean|number)|null,
|
31
|
+
threeStatesSorting?: boolean|null,
|
32
|
+
sortLogic?: { [key: string]: DataTable.SortLogic }|null,
|
33
|
+
disableDoubleClickToSort?: boolean|null,
|
34
|
+
sortableColumns?: boolean|null,
|
35
|
+
sortableIndicator?: boolean|null,
|
36
|
+
indicatorOnly?: boolean|null,
|
37
|
+
mode?: string|null,
|
38
|
+
disabled?: boolean|null,
|
39
|
+
columnSorted?: ((...params: any[]) => any)|null,
|
40
|
+
preClicked?: ((...params: any[]) => any)|null,
|
41
|
+
clicked?: ((...params: any[]) => any)|null,
|
42
|
+
preDataSorting?: ((...params: any[]) => any)|null,
|
43
|
+
sortingSequence?: (SortableTitlePlugin.SortOrder)[]|null,
|
44
|
+
rowSorting?: boolean|null
|
44
45
|
};
|
45
46
|
|
46
47
|
}
|
47
48
|
|
48
49
|
declare class SortableTitlePlugin extends EventDispatcher {
|
49
50
|
|
50
|
-
constructor(options?: SortableTitlePlugin.Options);
|
51
|
+
constructor(options?: SortableTitlePlugin.Options|null);
|
51
52
|
|
52
53
|
public getName(): string;
|
53
54
|
|
@@ -65,13 +66,13 @@ declare class SortableTitlePlugin extends EventDispatcher {
|
|
65
66
|
|
66
67
|
public getIcons(): { [key: string]: string }|null;
|
67
68
|
|
68
|
-
public setSortLogics(sortLogic: { [key: string]: ((...params: any[]) => any) }): void;
|
69
|
+
public setSortLogics(sortLogic: { [key: string]: ((...params: any[]) => any) }|null): void;
|
69
70
|
|
70
|
-
public setSortLogic(field: string, func: ((...params: any[]) => any)): void;
|
71
|
+
public setSortLogic(field: string, func: ((...params: any[]) => any)|null): void;
|
71
72
|
|
72
|
-
public getSortOrder(colIndex?: number): string;
|
73
|
+
public getSortOrder(colIndex?: number|null): string;
|
73
74
|
|
74
|
-
public getSortedColumnIndex(priority?: number): number;
|
75
|
+
public getSortedColumnIndex(priority?: number|null): number;
|
75
76
|
|
76
77
|
public getSortPriority(colIndex: number): number;
|
77
78
|
|
@@ -81,9 +82,9 @@ declare class SortableTitlePlugin extends EventDispatcher {
|
|
81
82
|
|
82
83
|
public isSorting(): boolean;
|
83
84
|
|
84
|
-
public sortColumn(colRef: number|string, sortOrder?: string, opt_arg?: any): void;
|
85
|
+
public sortColumn(colRef: number|string|null, sortOrder?: string|null, opt_arg?: any): void;
|
85
86
|
|
86
|
-
public sortColumns(sortOptions: (SortableTitlePlugin.InitialSort)[], opt_arg?: any): void;
|
87
|
+
public sortColumns(sortOptions: (SortableTitlePlugin.InitialSort)[]|null, opt_arg?: any): void;
|
87
88
|
|
88
89
|
public clearSortState(opt_arg?: any): void;
|
89
90
|
|
@@ -99,37 +100,37 @@ declare class SortableTitlePlugin extends EventDispatcher {
|
|
99
100
|
|
100
101
|
public getDataColumnMap(): (string)[];
|
101
102
|
|
102
|
-
public setDataColumnMap(dataMap: (string|null)[]): void;
|
103
|
+
public setDataColumnMap(dataMap: (string|null)[]|null): void;
|
103
104
|
|
104
105
|
public getColumnSortingField(colIndex: number): string;
|
105
106
|
|
106
|
-
public setColumnSortingField(colIndex: number, field: string|null, sortLogic?: ((...params: any[]) => any)): void;
|
107
|
+
public setColumnSortingField(colIndex: number, field: string|null|null, sortLogic?: ((...params: any[]) => any)|null, rowSorting?: boolean|null): void;
|
107
108
|
|
108
109
|
public getColumnSortingFields(): (string)[];
|
109
110
|
|
110
|
-
public disableTwoStateSorting(disabled?: boolean): void;
|
111
|
+
public disableTwoStateSorting(disabled?: boolean|null): void;
|
111
112
|
|
112
|
-
public disableSortSymbols(disabled?: boolean): void;
|
113
|
+
public disableSortSymbols(disabled?: boolean|null): void;
|
113
114
|
|
114
|
-
public disableDataSorting(disabled?: boolean): void;
|
115
|
+
public disableDataSorting(disabled?: boolean|null): void;
|
115
116
|
|
116
|
-
public disableDoubleClickToSort(disabled?: boolean): void;
|
117
|
+
public disableDoubleClickToSort(disabled?: boolean|null): void;
|
117
118
|
|
118
|
-
public disableCellClick(cell: ElementWrapper, disabled?: boolean): void;
|
119
|
+
public disableCellClick(cell: ElementWrapper|null, disabled?: boolean|null): void;
|
119
120
|
|
120
|
-
public disableColumnSorting(columns: number|(number)[], disabled?: boolean): void;
|
121
|
+
public disableColumnSorting(columns: number|(number)[]|null, disabled?: boolean|null): void;
|
121
122
|
|
122
|
-
public setClickDelayInterval(opt_ms?: number): void;
|
123
|
+
public setClickDelayInterval(opt_ms?: number|null): void;
|
123
124
|
|
124
|
-
public getSortingSequence(colRef?: (number|string)): (string)[];
|
125
|
+
public getSortingSequence(colRef?: (number|string)|null): (string)[];
|
125
126
|
|
126
|
-
public setSortingSequence(sequence: (string)[], colRef?: (number|string)): void;
|
127
|
+
public setSortingSequence(sequence: (string)[]|null, colRef?: (number|string)|null): void;
|
127
128
|
|
128
129
|
public clearAllColumnSortingSequences(): void;
|
129
130
|
|
130
131
|
}
|
131
132
|
|
132
|
-
declare function len(disabled?: boolean): void;
|
133
|
+
declare function len(disabled?: boolean|null): void;
|
133
134
|
|
134
135
|
export default SortableTitlePlugin;
|
135
136
|
export { SortableTitlePlugin };
|