@refinitiv-ui/efx-grid 6.0.4 → 6.0.6
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 +392 -230
- 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 +33 -10
- 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 +4 -4
- package/lib/core/es6/data/SegmentCollection.d.ts +7 -7
- package/lib/core/es6/data/WrappedView.d.ts +62 -62
- package/lib/core/es6/grid/Core.d.ts +97 -95
- package/lib/core/es6/grid/Core.js +180 -26
- 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/CellFloatingPanel.d.ts +2 -2
- 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 +11 -9
- package/lib/core/es6/grid/components/Scrollbar.js +13 -0
- package/lib/core/es6/grid/components/StretchedCells.js +12 -2
- 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/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/grid/index.js +1 -1
- package/lib/grid/lib/efx-grid.js +7 -44
- 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 +1354 -435
- 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 +106 -91
- package/lib/rt-grid/es6/Grid.js +151 -106
- 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 +5 -2
- package/lib/rt-grid/es6/SnapshotFiller.js +121 -15
- 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 +20 -35
- 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 +14 -4
- package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +314 -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 +16 -13
- 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/ElementObserver.js +6 -3
- 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 +13 -4
- package/lib/tr-grid-util/es6/ElfUtil.js +178 -26
- 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/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 +14 -4
- 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 +4 -4
- package/lib/types/es6/Core/data/SegmentCollection.d.ts +7 -7
- package/lib/types/es6/Core/data/WrappedView.d.ts +62 -62
- package/lib/types/es6/Core/grid/Core.d.ts +97 -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 +11 -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/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 +104 -89
- 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 +5 -2
- 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 +26 -26
- package/package.json +2 -2
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
declare namespace Icon {
|
4
4
|
|
5
|
-
function create(iconName?: string, className?: string): Element;
|
5
|
+
function create(iconName?: string|null, className?: string|null): Element;
|
6
6
|
|
7
|
-
function box(iconName?: string, className?: string, boxRef?: (string|Element)): Element;
|
7
|
+
function box(iconName?: string|null, className?: string|null, boxRef?: (string|Element)|null): Element;
|
8
8
|
|
9
|
-
function change(iconElem: Element, iconName?: string): void;
|
9
|
+
function change(iconElem: Element|null, iconName?: string|null): void;
|
10
10
|
|
11
11
|
}
|
12
12
|
|
@@ -5,26 +5,26 @@ import {TouchProxy} from "./TouchProxy.js";
|
|
5
5
|
declare namespace MouseDownTrait {
|
6
6
|
|
7
7
|
type Options = {
|
8
|
-
useDragStart?: boolean,
|
9
|
-
useTouchMove?: boolean,
|
10
|
-
preventDefault?: boolean
|
8
|
+
useDragStart?: boolean|null,
|
9
|
+
useTouchMove?: boolean|null,
|
10
|
+
preventDefault?: boolean|null
|
11
11
|
};
|
12
12
|
|
13
13
|
}
|
14
14
|
|
15
15
|
declare class MouseDownTrait extends EventDispatcher {
|
16
16
|
|
17
|
-
constructor(elem?: Element, options?: (string|MouseDownTrait.Options));
|
17
|
+
constructor(elem?: Element|null, options?: (string|MouseDownTrait.Options)|null);
|
18
18
|
|
19
19
|
public dispose(): void;
|
20
20
|
|
21
|
-
public disable(opt_bool?: boolean): void;
|
21
|
+
public disable(opt_bool?: boolean|null): void;
|
22
22
|
|
23
|
-
public enable(opt_bool?: boolean): void;
|
23
|
+
public enable(opt_bool?: boolean|null): void;
|
24
24
|
|
25
25
|
public getElement(): Element|null;
|
26
26
|
|
27
|
-
public setElement(elem?: Element): void;
|
27
|
+
public setElement(elem?: Element|null): void;
|
28
28
|
|
29
29
|
public reset(): void;
|
30
30
|
|
@@ -34,7 +34,7 @@ declare class MouseDownTrait extends EventDispatcher {
|
|
34
34
|
|
35
35
|
public isMouseUp(): boolean;
|
36
36
|
|
37
|
-
public getDuration(dateObj?: Date): number;
|
37
|
+
public getDuration(dateObj?: Date|null): number;
|
38
38
|
|
39
39
|
}
|
40
40
|
|
@@ -6,9 +6,9 @@ import { Dom } from "./Dom.js";
|
|
6
6
|
|
7
7
|
declare class MultiTableManager {
|
8
8
|
|
9
|
-
constructor(gridElem: Element);
|
9
|
+
constructor(gridElem: Element|null);
|
10
10
|
|
11
|
-
public static synchronizeVScrollbar(vScrollbarHost: Element, hScrollbarHost: Element, gridElems: (Element)[]): Promise<any[]>|null;
|
11
|
+
public static synchronizeVScrollbar(vScrollbarHost: Element|null, hScrollbarHost: Element|null, gridElems: (Element)[]|null): Promise<any[]>|null;
|
12
12
|
|
13
13
|
public setGridConfig(configObj?: any): void;
|
14
14
|
|
@@ -20,15 +20,15 @@ declare class MultiTableManager {
|
|
20
20
|
|
21
21
|
public wrapTable(rowCount: number): void;
|
22
22
|
|
23
|
-
public getTable(at?: number): Element|null;
|
23
|
+
public getTable(at?: number|null): Element|null;
|
24
24
|
|
25
|
-
public insertRow(rowOption?: any, at?: number): void;
|
25
|
+
public insertRow(rowOption?: any, at?: number|null): void;
|
26
26
|
|
27
|
-
public removeRow(at?: number): void;
|
27
|
+
public removeRow(at?: number|null): void;
|
28
28
|
|
29
29
|
public getRowCount(): number;
|
30
30
|
|
31
|
-
public insertColumn(columnOption: any, idx?: number): void;
|
31
|
+
public insertColumn(columnOption: any, idx?: number|null): void;
|
32
32
|
|
33
33
|
public removeColumn(colRef: any): void;
|
34
34
|
|
@@ -3,25 +3,25 @@
|
|
3
3
|
declare namespace NumberFormatter {
|
4
4
|
|
5
5
|
type Options = {
|
6
|
-
formatType?: string,
|
6
|
+
formatType?: string|null,
|
7
7
|
type: string,
|
8
|
-
precisionEnabled?: boolean,
|
9
|
-
decimalPlaces?: number,
|
10
|
-
plusSign?: boolean,
|
11
|
-
separator?: boolean,
|
12
|
-
percentSign?: boolean,
|
13
|
-
scalingUnit?: string,
|
14
|
-
multiplyBy100?: boolean,
|
15
|
-
mutiplyBy100?: boolean
|
8
|
+
precisionEnabled?: boolean|null,
|
9
|
+
decimalPlaces?: number|null,
|
10
|
+
plusSign?: boolean|null,
|
11
|
+
separator?: boolean|null,
|
12
|
+
percentSign?: boolean|null,
|
13
|
+
scalingUnit?: string|null,
|
14
|
+
multiplyBy100?: boolean|null,
|
15
|
+
mutiplyBy100?: boolean|null
|
16
16
|
};
|
17
17
|
|
18
18
|
}
|
19
19
|
|
20
20
|
declare class NumberFormatter {
|
21
21
|
|
22
|
-
constructor(options?: NumberFormatter.Options);
|
22
|
+
constructor(options?: NumberFormatter.Options|null);
|
23
23
|
|
24
|
-
public init(options?: NumberFormatter.Options): void;
|
24
|
+
public init(options?: NumberFormatter.Options|null): void;
|
25
25
|
|
26
26
|
public resetToDefaults(): void;
|
27
27
|
|
@@ -35,21 +35,21 @@ declare class NumberFormatter {
|
|
35
35
|
|
36
36
|
public enableDefaultFormat(): void;
|
37
37
|
|
38
|
-
public enablePrecision(bool?: boolean): void;
|
38
|
+
public enablePrecision(bool?: boolean|null): void;
|
39
39
|
|
40
|
-
public enableSeparator(bool?: boolean): void;
|
40
|
+
public enableSeparator(bool?: boolean|null): void;
|
41
41
|
|
42
|
-
public enablePercentSign(bool?: boolean): void;
|
42
|
+
public enablePercentSign(bool?: boolean|null): void;
|
43
43
|
|
44
|
-
public enablePercentFormat(bool?: boolean): void;
|
44
|
+
public enablePercentFormat(bool?: boolean|null): void;
|
45
45
|
|
46
|
-
public enablePlusSign(bool?: boolean): void;
|
46
|
+
public enablePlusSign(bool?: boolean|null): void;
|
47
47
|
|
48
|
-
public enableMultiplyBy100(bool?: boolean): void;
|
48
|
+
public enableMultiplyBy100(bool?: boolean|null): void;
|
49
49
|
|
50
|
-
public enableMillionScaling(bool?: boolean): void;
|
50
|
+
public enableMillionScaling(bool?: boolean|null): void;
|
51
51
|
|
52
|
-
public enableBillionScaling(bool?: boolean): void;
|
52
|
+
public enableBillionScaling(bool?: boolean|null): void;
|
53
53
|
|
54
54
|
public isDefaultFormatEnabled(): boolean;
|
55
55
|
|
@@ -5,23 +5,23 @@ import { injectCss, prettifyCss } from "./Util.js";
|
|
5
5
|
declare namespace PercentBar {
|
6
6
|
|
7
7
|
type Options = {
|
8
|
-
alignment?: string,
|
9
|
-
movementColor?: boolean,
|
10
|
-
barColor?: string,
|
11
|
-
textHidden?: boolean,
|
12
|
-
textWidth?: (number|string),
|
13
|
-
zeroValueHidden?: boolean
|
8
|
+
alignment?: string|null,
|
9
|
+
movementColor?: boolean|null,
|
10
|
+
barColor?: string|null,
|
11
|
+
textHidden?: boolean|null,
|
12
|
+
textWidth?: (number|string)|null,
|
13
|
+
zeroValueHidden?: boolean|null
|
14
14
|
};
|
15
15
|
|
16
16
|
}
|
17
17
|
|
18
18
|
declare class PercentBar {
|
19
19
|
|
20
|
-
constructor(elem?: (Element|null), options?: PercentBar.Options);
|
20
|
+
constructor(elem?: (Element|null)|null, options?: PercentBar.Options|null);
|
21
21
|
|
22
|
-
public static injectCss(hostElem: Element): void;
|
22
|
+
public static injectCss(hostElem: Element|null): void;
|
23
23
|
|
24
|
-
public static toAlignment(str: string|null): string;
|
24
|
+
public static toAlignment(str: string|null|null): string;
|
25
25
|
|
26
26
|
public getElement(): Element|null;
|
27
27
|
|
@@ -31,21 +31,21 @@ declare class PercentBar {
|
|
31
31
|
|
32
32
|
public isInvalid(): boolean;
|
33
33
|
|
34
|
-
public setValue(value: number, opt_max?: number, displayText?: (string|boolean)): void;
|
34
|
+
public setValue(value: number, opt_max?: number|null, displayText?: (string|boolean)|null): void;
|
35
35
|
|
36
36
|
public setMax(absVal: number): void;
|
37
37
|
|
38
|
-
public hideZeroValue(hidden?: boolean): boolean;
|
38
|
+
public hideZeroValue(hidden?: boolean|null): boolean;
|
39
39
|
|
40
40
|
public setText(txt: string): void;
|
41
41
|
|
42
|
-
public hideText(hidden?: boolean): boolean;
|
42
|
+
public hideText(hidden?: boolean|null): boolean;
|
43
43
|
|
44
44
|
public isTextHidden(): boolean;
|
45
45
|
|
46
|
-
public setTextWidth(width: number|string): void;
|
46
|
+
public setTextWidth(width: number|string|null): void;
|
47
47
|
|
48
|
-
public setMaxTextLength(width: number|string): void;
|
48
|
+
public setMaxTextLength(width: number|string|null): void;
|
49
49
|
|
50
50
|
public getTextScrollWidth(): number;
|
51
51
|
|
@@ -53,19 +53,19 @@ declare class PercentBar {
|
|
53
53
|
|
54
54
|
public setAlignment(alignment: string): void;
|
55
55
|
|
56
|
-
public useMovementColor(opt_enabled?: boolean): void;
|
56
|
+
public useMovementColor(opt_enabled?: boolean|null): void;
|
57
57
|
|
58
|
-
public setTrackColor(color?: string): void;
|
58
|
+
public setTrackColor(color?: string|null): void;
|
59
59
|
|
60
|
-
public setBarColor(color?: string): void;
|
60
|
+
public setBarColor(color?: string|null): void;
|
61
61
|
|
62
|
-
public enableTooltip(enabled?: boolean): void;
|
62
|
+
public enableTooltip(enabled?: boolean|null): void;
|
63
63
|
|
64
64
|
public updateBarColor(): void;
|
65
65
|
|
66
66
|
}
|
67
67
|
|
68
|
-
declare function toAlignment(str: string|null): string;
|
68
|
+
declare function toAlignment(str: string|null|null): string;
|
69
69
|
|
70
70
|
export default PercentBar;
|
71
71
|
export { PercentBar, toAlignment };
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
declare namespace Perf {
|
4
4
|
|
5
|
-
function enable(enabled?: boolean): void;
|
5
|
+
function enable(enabled?: boolean|null): void;
|
6
6
|
|
7
7
|
function isEnabled(): boolean;
|
8
8
|
|
@@ -14,15 +14,15 @@ declare namespace Perf {
|
|
14
14
|
|
15
15
|
function getEntries(): (PerformanceEntry)[]|null;
|
16
16
|
|
17
|
-
function getEntriesByName(entryName: string, entryType?: string): (PerformanceEntry)[]|null;
|
17
|
+
function getEntriesByName(entryName: string, entryType?: string|null): (PerformanceEntry)[]|null;
|
18
18
|
|
19
19
|
function getEntriesByType(entryType: string): (PerformanceEntry)[]|null;
|
20
20
|
|
21
|
-
function getEntry(entryName: string, entryType?: string): PerformanceEntry|null;
|
21
|
+
function getEntry(entryName: string, entryType?: string|null): PerformanceEntry|null;
|
22
22
|
|
23
23
|
function mark(markName: string): void;
|
24
24
|
|
25
|
-
function measure(measureName: string, mark1?: string, mark2?: string): void;
|
25
|
+
function measure(measureName: string, mark1?: string|null, mark2?: string|null): void;
|
26
26
|
|
27
27
|
function now(): number;
|
28
28
|
|
@@ -5,17 +5,18 @@ import { Dom } from './Dom.js';
|
|
5
5
|
declare namespace Popup {
|
6
6
|
|
7
7
|
type Options = {
|
8
|
-
positioning?: Popup.Positioning,
|
9
|
-
autoHiding?: boolean,
|
10
|
-
hoverToShow?: boolean,
|
11
|
-
autoClipping?: boolean,
|
12
|
-
attachedElement?: Element,
|
13
|
-
focusElement?: Element,
|
14
|
-
focusElements?: (Element)[],
|
15
|
-
parentElement?: Element,
|
16
|
-
contentElement?: Element,
|
17
|
-
popupChild?: Popup,
|
18
|
-
uiBlocking?: boolean
|
8
|
+
positioning?: Popup.Positioning|null,
|
9
|
+
autoHiding?: boolean|null,
|
10
|
+
hoverToShow?: boolean|null,
|
11
|
+
autoClipping?: boolean|null,
|
12
|
+
attachedElement?: Element|null,
|
13
|
+
focusElement?: Element|null,
|
14
|
+
focusElements?: (Element)[]|null,
|
15
|
+
parentElement?: Element|null,
|
16
|
+
contentElement?: Element|null,
|
17
|
+
popupChild?: Popup|null,
|
18
|
+
uiBlocking?: boolean|null,
|
19
|
+
hideOnScroll?: boolean|null
|
19
20
|
};
|
20
21
|
|
21
22
|
type Positioning = string;
|
@@ -24,61 +25,63 @@ declare namespace Popup {
|
|
24
25
|
|
25
26
|
declare class Popup extends EventDispatcher {
|
26
27
|
|
27
|
-
constructor(popupElem?: (Element|Popup.Options), options?: Popup.Options);
|
28
|
+
constructor(popupElem?: (Element|Popup.Options)|null, options?: Popup.Options|null);
|
28
29
|
|
29
30
|
public dispose(): void;
|
30
31
|
|
31
32
|
public getElement(): Element|null;
|
32
33
|
|
33
|
-
public appendChild(childElem: Element): void;
|
34
|
+
public appendChild(childElem: Element|null): void;
|
34
35
|
|
35
|
-
public disable(opt_bool?: boolean): void;
|
36
|
+
public disable(opt_bool?: boolean|null): void;
|
36
37
|
|
37
|
-
public enable(opt_bool?: boolean): void;
|
38
|
+
public enable(opt_bool?: boolean|null): void;
|
38
39
|
|
39
|
-
public init(options?: Popup.Options): void;
|
40
|
+
public init(options?: Popup.Options|null): void;
|
40
41
|
|
41
|
-
public attachTo(elem: Element, positioning?: Popup.Positioning): void;
|
42
|
+
public attachTo(elem: Element|null, positioning?: Popup.Positioning|null): void;
|
42
43
|
|
43
|
-
public setAttachedElement(elem: Element, positioning?: Popup.Positioning): void;
|
44
|
+
public setAttachedElement(elem: Element|null, positioning?: Popup.Positioning|null): void;
|
44
45
|
|
45
|
-
public addFocusElement(elem: Element): void;
|
46
|
+
public addFocusElement(elem: Element|null): void;
|
46
47
|
|
47
|
-
public removeFocusElement(elem: Element): void;
|
48
|
+
public removeFocusElement(elem: Element|null): void;
|
48
49
|
|
49
|
-
public addPopupChild(popup?: Popup): Popup;
|
50
|
+
public addPopupChild(popup?: Popup|null): Popup;
|
50
51
|
|
51
|
-
public setPopupGap(gap?: number): void;
|
52
|
+
public setPopupGap(gap?: number|null): void;
|
52
53
|
|
53
|
-
public setParentElement(parentElement: Element): Element|null;
|
54
|
+
public setParentElement(parentElement: Element|null): Element|null;
|
54
55
|
|
55
|
-
public show(opt_shown?: boolean, parentElement?: Element): void;
|
56
|
+
public show(opt_shown?: boolean|null, parentElement?: Element|null): void;
|
56
57
|
|
57
|
-
public hide(opt_hidden?: boolean): void;
|
58
|
+
public hide(opt_hidden?: boolean|null): void;
|
58
59
|
|
59
|
-
public toggle(force?: boolean, parentElement?: Element): void;
|
60
|
+
public toggle(force?: boolean|null, parentElement?: Element|null): void;
|
60
61
|
|
61
62
|
public isShown(): boolean;
|
62
63
|
|
63
64
|
public isHidden(): boolean;
|
64
65
|
|
65
|
-
public contains(elems: Element|(Element)[]): boolean;
|
66
|
+
public contains(elems: Element|(Element)[]|null): boolean;
|
66
67
|
|
67
|
-
public setPositioning(posType: Popup.Positioning): void;
|
68
|
+
public setPositioning(posType: Popup.Positioning|null): void;
|
68
69
|
|
69
|
-
public disableAutoHiding(opt_disabled?: boolean): void;
|
70
|
+
public disableAutoHiding(opt_disabled?: boolean|null): void;
|
70
71
|
|
71
|
-
public disableAutoClipping(opt_disabled?: boolean): void;
|
72
|
+
public disableAutoClipping(opt_disabled?: boolean|null): void;
|
73
|
+
|
74
|
+
public disableHideOnScroll(opt_disabled?: boolean|null): void;
|
72
75
|
|
73
76
|
public updatePosition(): void;
|
74
77
|
|
75
|
-
public enableUIBlocking(bool?: boolean): boolean;
|
78
|
+
public enableUIBlocking(bool?: boolean|null): boolean;
|
76
79
|
|
77
80
|
}
|
78
81
|
|
79
|
-
declare function containElements(parentElem: Element, e: MouseEvent): boolean;
|
82
|
+
declare function containElements(parentElem: Element|null, e: MouseEvent|null): boolean;
|
80
83
|
|
81
|
-
declare function fe(elem: Element, positioning?: Popup.Positioning): void;
|
84
|
+
declare function fe(elem: Element|null, positioning?: Popup.Positioning|null): void;
|
82
85
|
|
83
86
|
export { Popup, containElements };
|
84
87
|
export default Popup;
|
@@ -15,6 +15,7 @@ import { Dom } from './Dom.js';
|
|
15
15
|
* @property {Element=} contentElement=null Content element that will be moved out of document and added as a child of popup element
|
16
16
|
* @property {Popup=} popupChild=null Popup instance that will be hidden when its parent is hidden
|
17
17
|
* @property {boolean=} uiBlocking=false To attach overlay to block user from interact with ui behind popup
|
18
|
+
* @property {boolean=} hideOnScroll=true If disabled, popup will not be hidden when scrolling
|
18
19
|
*/
|
19
20
|
|
20
21
|
/** @typedef {string} Popup~Positioning
|
@@ -216,6 +217,10 @@ Popup.prototype._gap = 0;
|
|
216
217
|
* @private
|
217
218
|
*/
|
218
219
|
Popup.prototype._uiBlocking = false;
|
220
|
+
/** @type {boolean}
|
221
|
+
* @private
|
222
|
+
*/
|
223
|
+
Popup.prototype._hideOnScroll = true;
|
219
224
|
|
220
225
|
/** @public */
|
221
226
|
Popup.prototype.dispose = function () {
|
@@ -294,6 +299,10 @@ Popup.prototype.init = function (options) {
|
|
294
299
|
this.addPopupChild(options["popupChild"]);
|
295
300
|
}
|
296
301
|
|
302
|
+
if (options["hideOnScroll"] == false) {
|
303
|
+
this._hideOnScroll = false;
|
304
|
+
}
|
305
|
+
|
297
306
|
this.addListener(options, "show");
|
298
307
|
this.addListener(options, "hide");
|
299
308
|
this.addListener(options, "shown");
|
@@ -570,6 +579,15 @@ Popup.prototype.disableAutoClipping = function (opt_disabled) {
|
|
570
579
|
this._autoClipping = autoClipping;
|
571
580
|
}
|
572
581
|
};
|
582
|
+
/** @public
|
583
|
+
* @param {boolean=} opt_disabled
|
584
|
+
*/
|
585
|
+
Popup.prototype.disableHideOnScroll = function (opt_disabled) {
|
586
|
+
var hideOnScroll = (opt_disabled === false);
|
587
|
+
if (this._hideOnScroll !== hideOnScroll) {
|
588
|
+
this._hideOnScroll = hideOnScroll;
|
589
|
+
}
|
590
|
+
};
|
573
591
|
|
574
592
|
|
575
593
|
/** @public
|
@@ -746,7 +764,7 @@ Popup.prototype._onResize = function () {
|
|
746
764
|
*/
|
747
765
|
Popup.prototype._onScroll = function (e) {
|
748
766
|
// only hide if target is not child of popup and e.target not the popup itself.
|
749
|
-
if (!this.contains(e.target)) {
|
767
|
+
if (!this.contains(e.target) && this._hideOnScroll) {
|
750
768
|
this.hide();
|
751
769
|
}
|
752
770
|
};
|
@@ -5,23 +5,23 @@ import {ElfUtil} from './ElfUtil.js';
|
|
5
5
|
|
6
6
|
declare class RangeBar {
|
7
7
|
|
8
|
-
constructor(elem?: Element, options?: any);
|
8
|
+
constructor(elem?: Element|null, options?: any);
|
9
9
|
|
10
10
|
public static readonly defaults: any;
|
11
11
|
|
12
|
-
public setValue(lowVal?: number, lastVal?: number, highVal?: number): void;
|
12
|
+
public setValue(lowVal?: number|null, lastVal?: number|null, highVal?: number|null): void;
|
13
13
|
|
14
|
-
public hide(bool?: boolean): void;
|
14
|
+
public hide(bool?: boolean|null): void;
|
15
15
|
|
16
16
|
public isHidden(): boolean;
|
17
17
|
|
18
|
-
public enableTooltip(enabled?: boolean): void;
|
18
|
+
public enableTooltip(enabled?: boolean|null): void;
|
19
19
|
|
20
20
|
public setStyles(obj?: any): void;
|
21
21
|
|
22
22
|
public getPercent(): number;
|
23
23
|
|
24
|
-
public setPercent(percent?: number): void;
|
24
|
+
public setPercent(percent?: number|null): void;
|
25
25
|
|
26
26
|
public isPercentNaN(): boolean;
|
27
27
|
|
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
declare class RequestQueue {
|
4
4
|
|
5
|
-
constructor(reqBuilder: ((...params: any[]) => any), reqLimit?: number, timeLimit?: number);
|
5
|
+
constructor(reqBuilder: ((...params: any[]) => any)|null, reqLimit?: number|null, timeLimit?: number|null);
|
6
6
|
|
7
7
|
public reset(): void;
|
8
8
|
|
9
9
|
public dispose(): void;
|
10
10
|
|
11
|
-
public setConcurrentLimit(concurrentLimit?: number): void;
|
11
|
+
public setConcurrentLimit(concurrentLimit?: number|null): void;
|
12
12
|
|
13
|
-
public setFrequencyLimit(reqLimit?: number, timeLimit?: number): void;
|
13
|
+
public setFrequencyLimit(reqLimit?: number|null, timeLimit?: number|null): void;
|
14
14
|
|
15
|
-
public setRequestBuilder(reqBuilder: ((...params: any[]) => any)): void;
|
15
|
+
public setRequestBuilder(reqBuilder: ((...params: any[]) => any)|null): void;
|
16
16
|
|
17
17
|
public add(obj: any): void;
|
18
18
|
|
@@ -2,19 +2,52 @@ import { injectCss, prettifyCss } from "./Util.js";
|
|
2
2
|
import { ExpanderIcon } from "./ExpanderIcon.js";
|
3
3
|
import { Icon } from "./Icon.js";
|
4
4
|
|
5
|
+
declare namespace RowPainter {
|
6
|
+
|
7
|
+
type Options = {
|
8
|
+
clickableCell: boolean,
|
9
|
+
headerSpanning?: boolean|null,
|
10
|
+
footerSpanning?: boolean|null,
|
11
|
+
onCellClicked?: ((...params: any[]) => any)|null,
|
12
|
+
headerMenuClicked?: ((...params: any[]) => any)|null,
|
13
|
+
segmentMode?: boolean|null
|
14
|
+
};
|
15
|
+
|
16
|
+
type RenderingOptions = {
|
17
|
+
colIndex: number,
|
18
|
+
rowIndex: number,
|
19
|
+
cell: any,
|
20
|
+
section: any,
|
21
|
+
footerRow?: boolean|null,
|
22
|
+
checkboxColumnIndex: number,
|
23
|
+
collapsed?: boolean|null,
|
24
|
+
hiddenArrow?: boolean|null,
|
25
|
+
groupId?: string|null,
|
26
|
+
groupLevel?: number|null,
|
27
|
+
nonGroupRow?: boolean|null,
|
28
|
+
colorTagClass?: string|null,
|
29
|
+
indentSize?: number|null
|
30
|
+
};
|
31
|
+
|
32
|
+
}
|
33
|
+
|
5
34
|
declare class RowPainter {
|
6
35
|
|
7
|
-
constructor(options
|
36
|
+
constructor(options?: RowPainter.Options|null);
|
8
37
|
|
9
38
|
public static applyGroupingStyles(grid: any): void;
|
10
39
|
|
11
|
-
public static disableColorTag(grid: any, disabled?: boolean): void;
|
40
|
+
public static disableColorTag(grid: any, disabled?: boolean|null): void;
|
12
41
|
|
13
|
-
public static enableHeaderMenu(grid: any, enabled?: boolean): void;
|
42
|
+
public static enableHeaderMenu(grid: any, enabled?: boolean|null): void;
|
43
|
+
|
44
|
+
public config(options?: RowPainter.Options|null): void;
|
14
45
|
|
15
46
|
public removeHeaderStyle(section: any, columnIndex: number, rowIndex: number): void;
|
16
47
|
|
17
|
-
public
|
48
|
+
public removeAllStyles(section: any, columnIndex: number, rowIndex: number): void;
|
49
|
+
|
50
|
+
public applyHeaderStyle(e: RowPainter.RenderingOptions|null): void;
|
18
51
|
|
19
52
|
public applyContentAsHeaderStyle(e: any, collapsed: boolean): void;
|
20
53
|
|