@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.
Files changed (284) hide show
  1. package/lib/column-dragging/es6/ColumnDragging.d.ts +13 -11
  2. package/lib/column-dragging/es6/ColumnDragging.js +21 -15
  3. package/lib/column-format-dialog/lib/column-format-dialog.d.ts +1 -1
  4. package/lib/column-format-dialog/lib/column-format-dialog.js +3 -4
  5. package/lib/column-format-dialog/lib/preview-table.js +3 -4
  6. package/lib/column-selection-dialog/lib/column-selection-dialog.d.ts +2 -2
  7. package/lib/column-selection-dialog/lib/column-selection-dialog.js +23 -7
  8. package/lib/core/dist/core.css +1 -1
  9. package/lib/core/dist/core.js +456 -269
  10. package/lib/core/dist/core.min.js +1 -1
  11. package/lib/core/es6/data/ColumnStats.d.ts +3 -3
  12. package/lib/core/es6/data/DataCache.d.ts +9 -9
  13. package/lib/core/es6/data/DataTable.d.ts +28 -28
  14. package/lib/core/es6/data/DataTable.js +44 -11
  15. package/lib/core/es6/data/DataView.d.ts +62 -62
  16. package/lib/core/es6/data/DataView.js +42 -22
  17. package/lib/core/es6/data/Segment.d.ts +8 -4
  18. package/lib/core/es6/data/Segment.js +16 -0
  19. package/lib/core/es6/data/SegmentCollection.d.ts +9 -7
  20. package/lib/core/es6/data/SegmentCollection.js +38 -36
  21. package/lib/core/es6/data/WrappedView.d.ts +62 -62
  22. package/lib/core/es6/grid/Core.d.ts +95 -95
  23. package/lib/core/es6/grid/Core.js +173 -25
  24. package/lib/core/es6/grid/ILayoutGrid.d.ts +20 -20
  25. package/lib/core/es6/grid/ILayoutGrid.js +2 -1
  26. package/lib/core/es6/grid/LayoutGrid.d.ts +2 -2
  27. package/lib/core/es6/grid/LayoutGrid.js +18 -10
  28. package/lib/core/es6/grid/VirtualizedLayoutGrid.d.ts +2 -2
  29. package/lib/core/es6/grid/VirtualizedLayoutGrid.js +14 -3
  30. package/lib/core/es6/grid/components/Cell.d.ts +6 -6
  31. package/lib/core/es6/grid/components/Cell.js +3 -0
  32. package/lib/core/es6/grid/components/CellFloatingPanel.d.ts +4 -2
  33. package/lib/core/es6/grid/components/CellFloatingPanel.js +7 -0
  34. package/lib/core/es6/grid/components/CellSpans.d.ts +2 -2
  35. package/lib/core/es6/grid/components/Column.d.ts +2 -2
  36. package/lib/core/es6/grid/components/ElementWrapper.d.ts +19 -19
  37. package/lib/core/es6/grid/components/Scrollbar.d.ts +9 -9
  38. package/lib/core/es6/grid/components/StretchedCells.js +19 -5
  39. package/lib/core/es6/grid/event/EventDispatcher.d.ts +3 -3
  40. package/lib/core/es6/grid/event/EventListeners.d.ts +5 -5
  41. package/lib/core/es6/grid/plugins/SortableTitlePlugin.d.ts +45 -44
  42. package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +62 -65
  43. package/lib/core/es6/grid/util/Conflator.d.ts +4 -4
  44. package/lib/core/es6/grid/util/HttpRequest.d.ts +3 -3
  45. package/lib/core/es6/grid/util/PercentBar.d.ts +8 -8
  46. package/lib/core/es6/grid/util/PercentBarRenderer.d.ts +8 -8
  47. package/lib/core/es6/grid/util/RangeBar.d.ts +1 -1
  48. package/lib/core/es6/grid/util/RangeBar.js +1 -1
  49. package/lib/core/es6/grid/util/Reverter.d.ts +1 -1
  50. package/lib/core/es6/grid/util/SectionSettings.d.ts +13 -13
  51. package/lib/core/es6/grid/util/SelectionList.d.ts +2 -2
  52. package/lib/core/es6/grid/util/TrackLayout.d.ts +9 -9
  53. package/lib/core/es6/grid/util/Virtualizer.d.ts +3 -3
  54. package/lib/core/es6/grid/util/util.d.ts +6 -4
  55. package/lib/core/es6/grid/util/util.js +16 -91
  56. package/lib/core/es6/index.d.ts +1 -0
  57. package/lib/core/es6/index.js +2 -0
  58. package/lib/core/es6/tr-grid-theme.js +1 -1
  59. package/lib/filter-dialog/lib/checkbox-list.d.ts +1 -1
  60. package/lib/filter-dialog/lib/filter-dialog.d.ts +1 -1
  61. package/lib/filter-dialog/lib/filter-dialog.js +27 -9
  62. package/lib/filter-dialog/themes/base-checkbox.less +0 -1
  63. package/lib/filter-dialog/themes/base.less +1 -1
  64. package/lib/filter-dialog/themes/elemental/dark/checkbox-list.js +1 -1
  65. package/lib/filter-dialog/themes/elemental/dark/es5/all-elements.js +2 -2
  66. package/lib/filter-dialog/themes/elemental/dark/filter-dialog.js +1 -1
  67. package/lib/filter-dialog/themes/elemental/light/checkbox-list.js +1 -1
  68. package/lib/filter-dialog/themes/elemental/light/es5/all-elements.js +2 -2
  69. package/lib/filter-dialog/themes/elemental/light/filter-dialog.js +1 -1
  70. package/lib/filter-dialog/themes/halo/dark/checkbox-list.js +1 -1
  71. package/lib/filter-dialog/themes/halo/dark/es5/all-elements.js +2 -2
  72. package/lib/filter-dialog/themes/halo/dark/filter-dialog.js +1 -1
  73. package/lib/filter-dialog/themes/halo/light/checkbox-list.js +1 -1
  74. package/lib/filter-dialog/themes/halo/light/es5/all-elements.js +2 -2
  75. package/lib/filter-dialog/themes/halo/light/filter-dialog.js +1 -1
  76. package/lib/filter-dialog/themes/solar/charcoal/checkbox-list.js +1 -1
  77. package/lib/filter-dialog/themes/solar/charcoal/es5/all-elements.js +2 -2
  78. package/lib/filter-dialog/themes/solar/charcoal/filter-dialog.js +1 -1
  79. package/lib/filter-dialog/themes/solar/pearl/checkbox-list.js +1 -1
  80. package/lib/filter-dialog/themes/solar/pearl/es5/all-elements.js +2 -2
  81. package/lib/filter-dialog/themes/solar/pearl/filter-dialog.js +1 -1
  82. package/lib/formatters/es6/index.d.ts +1 -1
  83. package/lib/formatters/es6/index.js +1 -1
  84. package/lib/grid/index.js +1 -1
  85. package/lib/grid/lib/efx-grid.js +3 -0
  86. package/lib/grid/themes/halo/dark/efx-grid.js +1 -1
  87. package/lib/grid/themes/halo/dark/es5/all-elements.js +1 -1
  88. package/lib/grid/themes/halo/efx-grid.less +5 -5
  89. package/lib/grid/themes/halo/light/efx-grid.js +1 -1
  90. package/lib/grid/themes/halo/light/es5/all-elements.js +1 -1
  91. package/lib/row-segmenting/es6/RowSegmenting.d.ts +30 -24
  92. package/lib/row-segmenting/es6/RowSegmenting.js +122 -21
  93. package/lib/rt-grid/dist/rt-grid.js +689 -367
  94. package/lib/rt-grid/dist/rt-grid.min.js +1 -1
  95. package/lib/rt-grid/es6/ColumnDefinition.d.ts +46 -42
  96. package/lib/rt-grid/es6/ColumnDefinition.js +31 -1
  97. package/lib/rt-grid/es6/DataConnector.d.ts +6 -4
  98. package/lib/rt-grid/es6/DataConnector.js +8 -0
  99. package/lib/rt-grid/es6/FieldDefinition.d.ts +2 -2
  100. package/lib/rt-grid/es6/FieldDefinition.js +12 -5
  101. package/lib/rt-grid/es6/Grid.d.ts +102 -94
  102. package/lib/rt-grid/es6/Grid.js +70 -105
  103. package/lib/rt-grid/es6/ReferenceCounter.d.ts +5 -5
  104. package/lib/rt-grid/es6/RowDefSorter.d.ts +2 -2
  105. package/lib/rt-grid/es6/RowDefinition.d.ts +22 -22
  106. package/lib/rt-grid/es6/RowDefinition.js +12 -5
  107. package/lib/rt-grid/es6/SnapshotFiller.d.ts +3 -3
  108. package/lib/rt-grid/es6/StyleLoader.d.ts +1 -1
  109. package/lib/tr-grid-cell-selection/es6/CellSelection.d.ts +11 -11
  110. package/lib/tr-grid-cell-selection/es6/CellSelection.js +50 -54
  111. package/lib/tr-grid-checkbox/es6/Checkbox.d.ts +18 -16
  112. package/lib/tr-grid-checkbox/es6/Checkbox.js +1 -0
  113. package/lib/tr-grid-column-formatting/es6/ColumnFormatting.d.ts +29 -27
  114. package/lib/tr-grid-column-formatting/es6/ColumnFormatting.js +1 -0
  115. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.d.ts +28 -14
  116. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +556 -11
  117. package/lib/tr-grid-column-resizing/es6/ColumnResizing.d.ts +2 -2
  118. package/lib/tr-grid-column-resizing/es6/ColumnResizing.js +1 -0
  119. package/lib/tr-grid-column-selection/es6/ColumnSelection.js +2 -3
  120. package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +15 -13
  121. package/lib/tr-grid-column-stack/es6/ColumnStack.js +96 -72
  122. package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.d.ts +11 -2
  123. package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +309 -114
  124. package/lib/tr-grid-content-wrap/es6/ContentWrap.js +1 -6
  125. package/lib/tr-grid-contextmenu/es6/ContextMenu.js +3 -3
  126. package/lib/tr-grid-contextmenu/es6/MenuEventAPI.d.ts +2 -2
  127. package/lib/tr-grid-contextmenu/es6/MenuItem.d.ts +2 -2
  128. package/lib/tr-grid-heat-map/es6/HeatMap.d.ts +2 -1
  129. package/lib/tr-grid-heat-map/es6/HeatMap.js +6 -9
  130. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +5 -2
  131. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +311 -71
  132. package/lib/tr-grid-percent-bar/es6/PercentBar.d.ts +1 -1
  133. package/lib/tr-grid-percent-bar/es6/PercentBar.js +8 -11
  134. package/lib/tr-grid-printer/es6/SectionWriter.js +8 -0
  135. package/lib/tr-grid-range-bar/es6/RangeBar.js +3 -10
  136. package/lib/tr-grid-row-dragging/es6/RowDragging.d.ts +6 -0
  137. package/lib/tr-grid-row-dragging/es6/RowDragging.js +56 -23
  138. package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +4 -3
  139. package/lib/tr-grid-row-filtering/es6/RowFiltering.js +57 -13
  140. package/lib/tr-grid-row-grouping/es6/RowGrouping.js +1 -1
  141. package/lib/tr-grid-row-selection/es6/RowSelection.js +2 -3
  142. package/lib/tr-grid-rowcoloring/es6/RowColoring.d.ts +0 -2
  143. package/lib/tr-grid-rowcoloring/es6/RowColoring.js +1 -40
  144. package/lib/tr-grid-util/es6/CellPainter.d.ts +30 -30
  145. package/lib/tr-grid-util/es6/CellPainter.js +9 -8
  146. package/lib/tr-grid-util/es6/Conflator.d.ts +4 -4
  147. package/lib/tr-grid-util/es6/CoralItems.d.ts +1 -1
  148. package/lib/tr-grid-util/es6/DateTime.d.ts +10 -10
  149. package/lib/tr-grid-util/es6/Deferred.d.ts +3 -1
  150. package/lib/tr-grid-util/es6/Deferred.js +11 -1
  151. package/lib/tr-grid-util/es6/Delay.d.ts +2 -2
  152. package/lib/tr-grid-util/es6/Dom.d.ts +10 -10
  153. package/lib/tr-grid-util/es6/Dom.js +14 -10
  154. package/lib/tr-grid-util/es6/DragUI.js +5 -2
  155. package/lib/tr-grid-util/es6/ElementObserver.d.ts +2 -2
  156. package/lib/tr-grid-util/es6/ElementWrapper.d.ts +4 -4
  157. package/lib/tr-grid-util/es6/ElfDate.d.ts +5 -5
  158. package/lib/tr-grid-util/es6/ElfDate.js +1 -0
  159. package/lib/tr-grid-util/es6/ElfUtil.d.ts +10 -4
  160. package/lib/tr-grid-util/es6/ElfUtil.js +53 -4
  161. package/lib/tr-grid-util/es6/EventDispatcher.d.ts +5 -5
  162. package/lib/tr-grid-util/es6/ExpanderIcon.d.ts +2 -2
  163. package/lib/tr-grid-util/es6/ExpanderIcon.js +1 -1
  164. package/lib/tr-grid-util/es6/Ext.d.ts +1 -1
  165. package/lib/tr-grid-util/es6/FieldFormatter.d.ts +12 -12
  166. package/lib/tr-grid-util/es6/FieldFormatter.js +1 -1
  167. package/lib/tr-grid-util/es6/FilterBuilder.d.ts +13 -13
  168. package/lib/tr-grid-util/es6/FilterBuilder.js +15 -8
  169. package/lib/tr-grid-util/es6/FilterOperators.d.ts +22 -22
  170. package/lib/tr-grid-util/es6/FilterOperators.js +3 -3
  171. package/lib/tr-grid-util/es6/GridPlugin.d.ts +10 -10
  172. package/lib/tr-grid-util/es6/GridPlugin.js +20 -0
  173. package/lib/tr-grid-util/es6/Icon.d.ts +3 -3
  174. package/lib/tr-grid-util/es6/MouseDownTrait.d.ts +8 -8
  175. package/lib/tr-grid-util/es6/MultiTableManager.d.ts +6 -6
  176. package/lib/tr-grid-util/es6/NumberFormatter.d.ts +19 -19
  177. package/lib/tr-grid-util/es6/NumberFormatter.js +1 -1
  178. package/lib/tr-grid-util/es6/PercentBar.d.ts +19 -19
  179. package/lib/tr-grid-util/es6/Perf.d.ts +4 -4
  180. package/lib/tr-grid-util/es6/Popup.d.ts +36 -33
  181. package/lib/tr-grid-util/es6/Popup.js +19 -1
  182. package/lib/tr-grid-util/es6/RangeBar.d.ts +5 -5
  183. package/lib/tr-grid-util/es6/RequestQueue.d.ts +4 -4
  184. package/lib/tr-grid-util/es6/RowPainter.d.ts +37 -4
  185. package/lib/tr-grid-util/es6/RowPainter.js +199 -76
  186. package/lib/tr-grid-util/es6/SubTable.d.ts +14 -14
  187. package/lib/tr-grid-util/es6/Table.d.ts +25 -25
  188. package/lib/tr-grid-util/es6/TextHighlighter.d.ts +1 -1
  189. package/lib/tr-grid-util/es6/Timer.d.ts +1 -1
  190. package/lib/tr-grid-util/es6/TouchProxy.d.ts +9 -9
  191. package/lib/tr-grid-util/es6/Util.d.ts +12 -12
  192. package/lib/tr-grid-util/es6/formula/ADCService.d.ts +1 -1
  193. package/lib/tr-grid-util/es6/formula/ADCSubscription.d.ts +1 -1
  194. package/lib/tr-grid-util/es6/formula/AdFinService.d.ts +1 -1
  195. package/lib/tr-grid-util/es6/formula/AdFinSubscription.d.ts +1 -1
  196. package/lib/tr-grid-util/es6/formula/Engine.d.ts +9 -9
  197. package/lib/tr-grid-util/es6/formula/Formula.d.ts +4 -4
  198. package/lib/tr-grid-util/es6/formula/IntervalSubscription.d.ts +1 -1
  199. package/lib/tr-grid-util/es6/formula/Realtime.d.ts +3 -3
  200. package/lib/tr-grid-util/es6/formula/RealtimeService.d.ts +1 -1
  201. package/lib/tr-grid-util/es6/formula/TSIService.d.ts +1 -1
  202. package/lib/tr-grid-util/es6/formula/TSISubscription.d.ts +1 -1
  203. package/lib/tr-grid-util/es6/formula/VariableToken.d.ts +1 -1
  204. package/lib/tr-grid-util/es6/jet/CollectionDict.d.ts +1 -1
  205. package/lib/tr-grid-util/es6/jet/DataGenerator.d.ts +34 -34
  206. package/lib/tr-grid-util/es6/jet/MockArchive.d.ts +1 -1
  207. package/lib/tr-grid-util/es6/jet/MockJET.d.ts +4 -4
  208. package/lib/tr-grid-util/es6/jet/MockJET.js +12 -4
  209. package/lib/tr-grid-util/es6/jet/MockQuotes.d.ts +9 -9
  210. package/lib/tr-grid-util/es6/jet/MockQuotes2.d.ts +17 -9
  211. package/lib/tr-grid-util/es6/jet/MockQuotes2.js +84 -24
  212. package/lib/tr-grid-util/es6/jet/MockRTK.d.ts +42 -2
  213. package/lib/tr-grid-util/es6/jet/MockRTK.js +55 -16
  214. package/lib/tr-grid-util/es6/jet/mockDataAPI.d.ts +2 -2
  215. package/lib/tr-grid-util/es6/jet/mockDataAPI.js +99 -1
  216. package/lib/types/es6/CellSelection.d.ts +11 -11
  217. package/lib/types/es6/Checkbox.d.ts +18 -16
  218. package/lib/types/es6/ColumnFormatting.d.ts +29 -27
  219. package/lib/types/es6/ColumnGrouping.d.ts +28 -14
  220. package/lib/types/es6/ColumnResizing.d.ts +2 -2
  221. package/lib/types/es6/ColumnStack.d.ts +15 -13
  222. package/lib/types/es6/CompositeGrid/ColumnSelectionPlugin.d.ts +4 -2
  223. package/lib/types/es6/CompositeGrid/ColumnWidthAdjustingPlugin.d.ts +0 -1
  224. package/lib/types/es6/CompositeGrid/CompositeGrid.d.ts +1 -1
  225. package/lib/types/es6/CompositeGrid/DragAndDropTitlePlugin.d.ts +1 -1
  226. package/lib/types/es6/CompositeGrid/DraggableContentPlugin.d.ts +1 -5
  227. package/lib/types/es6/CompositeGrid/Plugin.d.ts +3 -1
  228. package/lib/types/es6/CompositeGrid/ResizableTitlePlugin.d.ts +2 -1
  229. package/lib/types/es6/CompositeGrid/RowSelectionPlugin.d.ts +2 -1
  230. package/lib/types/es6/CompositeGrid/TextWidthCalculator.d.ts +1 -1
  231. package/lib/types/es6/CompositeGrid/TreeIndentingPlugin.d.ts +0 -1
  232. package/lib/types/es6/ConditionalColoring.d.ts +11 -2
  233. package/lib/types/es6/Core/data/ColumnStats.d.ts +3 -3
  234. package/lib/types/es6/Core/data/DataCache.d.ts +9 -9
  235. package/lib/types/es6/Core/data/DataTable.d.ts +28 -28
  236. package/lib/types/es6/Core/data/DataView.d.ts +62 -62
  237. package/lib/types/es6/Core/data/Segment.d.ts +8 -4
  238. package/lib/types/es6/Core/data/SegmentCollection.d.ts +9 -7
  239. package/lib/types/es6/Core/data/WrappedView.d.ts +62 -62
  240. package/lib/types/es6/Core/grid/Core.d.ts +95 -95
  241. package/lib/types/es6/Core/grid/ILayoutGrid.d.ts +20 -20
  242. package/lib/types/es6/Core/grid/LayoutGrid.d.ts +2 -2
  243. package/lib/types/es6/Core/grid/VirtualizedLayoutGrid.d.ts +2 -2
  244. package/lib/types/es6/Core/grid/components/Cell.d.ts +6 -6
  245. package/lib/types/es6/Core/grid/components/CellFloatingPanel.d.ts +2 -2
  246. package/lib/types/es6/Core/grid/components/CellSpans.d.ts +2 -2
  247. package/lib/types/es6/Core/grid/components/Column.d.ts +2 -2
  248. package/lib/types/es6/Core/grid/components/ElementWrapper.d.ts +19 -19
  249. package/lib/types/es6/Core/grid/components/Scrollbar.d.ts +9 -9
  250. package/lib/types/es6/Core/grid/event/EventDispatcher.d.ts +3 -3
  251. package/lib/types/es6/Core/grid/event/EventListeners.d.ts +5 -5
  252. package/lib/types/es6/Core/grid/plugins/SortableTitlePlugin.d.ts +45 -44
  253. package/lib/types/es6/Core/grid/util/Conflator.d.ts +4 -4
  254. package/lib/types/es6/Core/grid/util/HttpRequest.d.ts +3 -3
  255. package/lib/types/es6/Core/grid/util/PercentBar.d.ts +8 -8
  256. package/lib/types/es6/Core/grid/util/PercentBarRenderer.d.ts +8 -8
  257. package/lib/types/es6/Core/grid/util/RangeBar.d.ts +1 -1
  258. package/lib/types/es6/Core/grid/util/Reverter.d.ts +1 -1
  259. package/lib/types/es6/Core/grid/util/SectionSettings.d.ts +13 -13
  260. package/lib/types/es6/Core/grid/util/SelectionList.d.ts +2 -2
  261. package/lib/types/es6/Core/grid/util/TrackLayout.d.ts +9 -9
  262. package/lib/types/es6/Core/grid/util/Virtualizer.d.ts +3 -3
  263. package/lib/types/es6/Core/grid/util/util.d.ts +6 -4
  264. package/lib/types/es6/Core/index.d.ts +1 -0
  265. package/lib/types/es6/HeatMap.d.ts +2 -1
  266. package/lib/types/es6/InCellEditing.d.ts +5 -2
  267. package/lib/types/es6/MenuEventAPI.d.ts +2 -2
  268. package/lib/types/es6/MenuItem.d.ts +2 -2
  269. package/lib/types/es6/PercentBar.d.ts +1 -1
  270. package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +46 -42
  271. package/lib/types/es6/RealtimeGrid/DataConnector.d.ts +6 -4
  272. package/lib/types/es6/RealtimeGrid/FieldDefinition.d.ts +2 -2
  273. package/lib/types/es6/RealtimeGrid/Grid.d.ts +100 -92
  274. package/lib/types/es6/RealtimeGrid/ReferenceCounter.d.ts +5 -5
  275. package/lib/types/es6/RealtimeGrid/RowDefSorter.d.ts +2 -2
  276. package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +22 -22
  277. package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +3 -3
  278. package/lib/types/es6/RealtimeGrid/StyleLoader.d.ts +1 -1
  279. package/lib/types/es6/RowColoring.d.ts +0 -2
  280. package/lib/types/es6/RowDragging.d.ts +6 -0
  281. package/lib/types/es6/RowFiltering.d.ts +4 -3
  282. package/lib/types/es6/RowSegmenting.d.ts +30 -24
  283. package/lib/versions.json +27 -27
  284. package/package.json +2 -2
@@ -6,48 +6,48 @@ import {ElfUtil} from '../../tr-grid-util/es6/ElfUtil.js';
6
6
  declare namespace ColumnFormattingPlugin {
7
7
 
8
8
  type HeatmapOption = {
9
- midPoint?: string,
10
- mode?: string
9
+ midPoint?: string|null,
10
+ mode?: string|null
11
11
  };
12
12
 
13
13
  type ConditionalColorOption = {
14
- conditions?: (any)[],
15
- field?: string
14
+ conditions?: (any)[]|null,
15
+ field?: string|null
16
16
  };
17
17
 
18
18
  type BarOption = {
19
- useMovementColor?: boolean,
20
- showValues?: boolean,
21
- alignment?: string,
22
- field?: string,
23
- textHidden?: boolean,
24
- textWidth?: (number|string),
25
- barColor?: string,
26
- padding?: number,
27
- percentageLabel?: boolean,
28
- autoTextSizing?: boolean,
29
- autoFitting?: boolean,
30
- zeroValueHidden?: boolean
19
+ useMovementColor?: boolean|null,
20
+ showValues?: boolean|null,
21
+ alignment?: string|null,
22
+ field?: string|null,
23
+ textHidden?: boolean|null,
24
+ textWidth?: (number|string)|null,
25
+ barColor?: string|null,
26
+ padding?: number|null,
27
+ percentageLabel?: boolean|null,
28
+ autoTextSizing?: boolean|null,
29
+ autoFitting?: boolean|null,
30
+ zeroValueHidden?: boolean|null
31
31
  };
32
32
 
33
33
  type DisplayStyleOption = {
34
- alignment?: string,
35
- mode?: string,
36
- bar?: ColumnFormattingPlugin.BarOption,
37
- conditionalColor?: ColumnFormattingPlugin.ConditionalColorOption,
38
- heatmap?: ColumnFormattingPlugin.HeatmapOption,
34
+ alignment?: string|null,
35
+ mode?: string|null,
36
+ bar?: ColumnFormattingPlugin.BarOption|null,
37
+ conditionalColor?: ColumnFormattingPlugin.ConditionalColorOption|null,
38
+ heatmap?: ColumnFormattingPlugin.HeatmapOption|null,
39
39
  general?: any
40
40
  };
41
41
 
42
42
  type ColumnFormatOptions = {
43
43
  valueFormatTab?: TextFormatting.FormatOptions,
44
- displayStyleTab?: ColumnFormattingPlugin.DisplayStyleOption,
44
+ displayStyleTab?: ColumnFormattingPlugin.DisplayStyleOption|null,
45
45
  colorTextTab?: any,
46
- fieldDataType?: string
46
+ fieldDataType?: string|null
47
47
  };
48
48
 
49
49
  type ColumnOptions = {
50
- fieldDataType?: string
50
+ fieldDataType?: string|null
51
51
  };
52
52
 
53
53
  }
@@ -60,7 +60,9 @@ declare class ColumnFormattingPlugin extends GridPlugin {
60
60
 
61
61
  public getConfigObject(gridOptions?: any): any;
62
62
 
63
- public getFieldList(): (string)[];
63
+ public getField(colIndex: number): string;
64
+
65
+ public getFieldList(): (string)[]|null;
64
66
 
65
67
  public getColumnCount(): number;
66
68
 
@@ -68,7 +70,7 @@ declare class ColumnFormattingPlugin extends GridPlugin {
68
70
 
69
71
  public getColumnFormatOptions(colIndex: number): ColumnFormattingPlugin.ColumnFormatOptions;
70
72
 
71
- public setColumnFormatOptions(colIndex: number, options?: ColumnFormattingPlugin.ColumnFormatOptions): void;
73
+ public setColumnFormatOptions(colIndex: number, options?: ColumnFormattingPlugin.ColumnFormatOptions|null): void;
72
74
 
73
75
  public setColumnAlignment(colIndex: number, align: string): void;
74
76
 
@@ -78,7 +80,7 @@ declare class ColumnFormattingPlugin extends GridPlugin {
78
80
 
79
81
  public isColumnHidden(colIndex: number): boolean;
80
82
 
81
- public hideColumn(colIndex: number, opt_bool?: boolean): void;
83
+ public hideColumn(colIndex: number, opt_bool?: boolean|null): void;
82
84
 
83
85
  public showAllColumns(): void;
84
86
 
@@ -4,24 +4,24 @@ import { injectCss, prettifyCss } from "../../tr-grid-util/es6/Util.js";
4
4
 
5
5
  declare namespace ColumnGroupingPlugin {
6
6
 
7
- type Options = (ColumnGroupingPlugin.GroupDefinition)[];
7
+ type Options = (ColumnGroupingPlugin.GroupDefinition)[]|null;
8
8
 
9
- type GroupDefinitions = (ColumnGroupingPlugin.GroupDefinition)[];
9
+ type GroupDefinitions = (ColumnGroupingPlugin.GroupDefinition)[]|null;
10
10
 
11
11
  type GroupDefinition = {
12
12
  id: string,
13
13
  name: string,
14
- tooltip?: (boolean|string),
15
- children: (string)[],
16
- alignment?: string,
17
- render?: ((...params: any[]) => any)
14
+ tooltip?: (boolean|string)|null,
15
+ children: (string)[]|null,
16
+ alignment?: string|null,
17
+ render?: ((...params: any[]) => any)|null
18
18
  };
19
19
 
20
20
  }
21
21
 
22
22
  declare class ColumnGroupingPlugin extends GridPlugin {
23
23
 
24
- constructor(options?: ColumnGroupingPlugin.Options);
24
+ constructor(options?: ColumnGroupingPlugin.Options|null);
25
25
 
26
26
  public beforeProcessOption(optionName: string, optionValue: any): any;
27
27
 
@@ -37,23 +37,37 @@ declare class ColumnGroupingPlugin extends GridPlugin {
37
37
 
38
38
  public addColumnToGroup(column: any, groupId: string, colIndex: number): void;
39
39
 
40
- public addGroup(groupDef: ColumnGroupingPlugin.GroupDefinition): boolean;
40
+ public addGroup(groupDef: ColumnGroupingPlugin.GroupDefinition|null): boolean;
41
41
 
42
- public addColumnGrouping(groupDef: ColumnGroupingPlugin.GroupDefinition): void;
42
+ public addColumnGrouping(groupDef: ColumnGroupingPlugin.GroupDefinition|null): void;
43
43
 
44
44
  public removeGroup(groupId: string): any;
45
45
 
46
- public setGroupDefinitions(groupDefs: ColumnGroupingPlugin.GroupDefinitions): void;
46
+ public setGroupDefinitions(groupDefs: ColumnGroupingPlugin.GroupDefinitions|null): void;
47
47
 
48
48
  public getGroupDefinitions(): ColumnGroupingPlugin.GroupDefinitions;
49
49
 
50
- public setGroupDefinition(groupId: string, newDef: ColumnGroupingPlugin.GroupDefinition): void;
50
+ public setGroupDefinition(groupId: string, newDef: ColumnGroupingPlugin.GroupDefinition|null): void;
51
51
 
52
- public getGroupDefinition(groupId: number): ColumnGroupingPlugin.GroupDefinition;
52
+ public getGroupDefinition(groupId: string): ColumnGroupingPlugin.GroupDefinition|null;
53
53
 
54
- public setGroupChildren(groupId: string, newChildList: (string)[]): void;
54
+ public setGroupChildren(groupId: string, newChildList: (string)[]|null): void;
55
55
 
56
- public getGroupChildren(groupId: number): ColumnGroupingPlugin.GroupDefinition;
56
+ public getGroupChildren(groupId: string): (string)[]|null;
57
+
58
+ public getChildColumnIndices(groupId: string): (number)[]|null;
59
+
60
+ public getGroupIds(colRef: string|number|null): (string)[]|null;
61
+
62
+ public getMaxGroupLevel(): number;
63
+
64
+ public getGroupLevel(groupId: string): number;
65
+
66
+ public getCellInfo(e: Element|Event|MouseEvent|null): any;
67
+
68
+ public moveColumnIntoGroup(from: number|string|null, to: number, groupId: string): void;
69
+
70
+ public setColumnParent(columnIndex: number|string|null, groupId: string): void;
57
71
 
58
72
  }
59
73
 
@@ -50,11 +50,11 @@ declare class ColumnResizingPlugin extends GridPlugin {
50
50
 
51
51
  public setAllColumnWidths(colWidth: number, scalability?: boolean): boolean;
52
52
 
53
- public getColumnWidths(): (number)[];
53
+ public getColumnWidths(): (number)[]|null;
54
54
 
55
55
  public resetAllColumnsToDefaultWidth(): boolean;
56
56
 
57
- public getColumnSizeStates(): (any)[];
57
+ public getColumnSizeStates(): (any)[]|null;
58
58
 
59
59
  public setColumnSizeStates(columns: (any)[]|string): void;
60
60
 
@@ -10,18 +10,18 @@ import { preventDefault } from "../../tr-grid-util/es6/EventDispatcher.js";
10
10
  declare namespace ColumnStackPlugin {
11
11
 
12
12
  type Options = {
13
- fields: (string)[]
13
+ fields: (string)[]|null
14
14
  };
15
15
 
16
16
  type ColumnOptions = {
17
- stackId?: string,
18
- stack?: (string|StackOptions)
17
+ stackId?: string|null,
18
+ stack?: (string|StackOptions)|null
19
19
  };
20
20
 
21
21
  type StackOptions = {
22
22
  id: string,
23
- spreading?: boolean,
24
- collapsed?: boolean
23
+ spreading?: boolean|null,
24
+ collapsed?: boolean|null
25
25
  };
26
26
 
27
27
  }
@@ -40,13 +40,13 @@ declare class ColumnStackPlugin extends GridPlugin {
40
40
 
41
41
  public getMemberIndices(colIndex: number): (number)[]|null;
42
42
 
43
- public collapseGroup(colIndex: number, collapsed?: boolean): (number)[]|null;
43
+ public collapseGroup(colIndex: number, collapsed?: boolean|null): (number)[]|null;
44
44
 
45
45
  public expandGroup(colIndex: number): (number)[]|null;
46
46
 
47
- public isColumnStackable(colIndices: (number)[]): boolean;
47
+ public isColumnStackable(colIndices: (number)[]|null): boolean;
48
48
 
49
- public isColumnStacked(colIndices?: (number)[]): boolean;
49
+ public isColumnStacked(colIndices?: (number)[]|null): boolean;
50
50
 
51
51
  public isInactiveStackedColumn(colIndex: number): boolean;
52
52
 
@@ -58,21 +58,23 @@ declare class ColumnStackPlugin extends GridPlugin {
58
58
 
59
59
  public isColumnInCollection(colIndex: number): boolean;
60
60
 
61
+ public isInCollection(colIndex: number): boolean;
62
+
61
63
  public isColumnCollapsed(colIndex: number): boolean;
62
64
 
63
65
  public isColumnActive(colIndex: number): boolean;
64
66
 
65
67
  public getStackId(colIndex: number): string;
66
68
 
67
- public stackColumns(colRefs?: (number|string)[], stackId?: string, options?: any): boolean;
69
+ public stackColumns(colRefs?: (number|string)[]|null, stackId?: string|null, options?: any): boolean;
68
70
 
69
- public setStack(colRefs: (number|string)[]): boolean;
71
+ public setStack(colRefs?: (number|string)[]|null): boolean;
70
72
 
71
- public unstackColumns(colIndices?: (number)[]): boolean;
73
+ public unstackColumns(colIndices?: (number)[]|null): boolean;
72
74
 
73
- public removeAllStacks(enableUpdateUI?: boolean): boolean;
75
+ public removeAllStacks(enableUpdateUI?: boolean|null): boolean;
74
76
 
75
- public swapColumn(colRef: number|Event, swappingIndex: number): boolean;
77
+ public swapColumn(colRef: number|Event|null, swappingIndex: number): boolean;
76
78
 
77
79
  }
78
80
 
@@ -1,7 +1,9 @@
1
1
  import Ext from "../../../tr-grid-util/es6/Ext.js";
2
- import Util from "../Core/grid/util/util.js";
2
+ import { isMac } from "../../../tr-grid-util/es6/Util.js";
3
+ import { preventDefault } from "../../../tr-grid-util/es6/EventDispatcher.js";
4
+
3
5
  import Plugin from "./Plugin.js";
4
- import { ILayoutGrid, Core} from "../Core/index.js";
6
+ import { ILayoutGrid, Core } from "../Core/index.js";
5
7
 
6
8
  declare class ColumnSelectionPlugin extends Plugin {
7
9
 
@@ -1,5 +1,4 @@
1
1
  import Ext from "../../../tr-grid-util/es6/Ext.js";
2
- import Util from "../Core/grid/util/util.js";
3
2
  import Plugin from "./Plugin.js";
4
3
  import { Conflator } from "../Core/index.js";
5
4
  import TextWidthCalculator from "./TextWidthCalculator.js"
@@ -4,7 +4,6 @@ import GridFormatter from "../GridFormatter";
4
4
  import Extensions from "../Extensions";
5
5
  import { Core, ElementWrapper, ILayoutGrid, DataTable, DataView, SortableTitlePlugin } from "../Core/index.js";
6
6
  import Ext from "../../../tr-grid-util/es6/Ext.js";
7
- import Util from "../Core/grid/util/util.js";
8
7
  import CollapsibleHeaderPlugin from "./CollapsibleHeaderPlugin.js";
9
8
  import ResizableTitlePlugin from "./ResizableTitlePlugin.js";
10
9
  import DragAndDropTitlePlugin from "./DragAndDropTitlePlugin.js";
@@ -50,6 +49,7 @@ declare namespace CompositeGrid {
50
49
  borders?: boolean,
51
50
  gridlines?: boolean,
52
51
  verticalLines?: boolean,
52
+ contentVerticalLines?: boolean,
53
53
  horizontalLines?: boolean,
54
54
  dataConflationRate?: number
55
55
  };
@@ -1,5 +1,5 @@
1
1
  import Ext from "../../../tr-grid-util/es6/Ext.js";
2
- import Util from "../Core/grid/util/util.js";
2
+ import { preventDefault } from "../../../tr-grid-util/es6/EventDispatcher.js";
3
3
  import Plugin from "./Plugin.js";
4
4
  import { Core, ILayoutGrid } from "../Core/index.js";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import Ext from "../../../tr-grid-util/es6/Ext.js";
2
- import Util from "../Core/grid/util/util.js";
2
+ import { preventDefault } from "../../../tr-grid-util/es6/EventDispatcher.js";
3
3
  import Plugin from "./Plugin.js";
4
4
  import { ElementWrapper, Core } from "../Core/index.js";
5
5
 
@@ -35,10 +35,6 @@ declare class DraggableContentPlugin extends Plugin {
35
35
 
36
36
  public setJETDragContent(content: any): void;
37
37
 
38
- public setPermissionContentSection(): void;
39
-
40
- public setPermissionTitleSection(): void;
41
-
42
38
  }
43
39
 
44
40
  export default DraggableContentPlugin;
@@ -1,5 +1,5 @@
1
1
  import Ext from "../../../tr-grid-util/es6/Ext.js";
2
- import Util from "../Core/grid/util/util.js";
2
+ import Dom from "../../../tr-grid-util/es6/Dom.js";
3
3
  import Core from "../Core/grid/Core.js"; // eslint-disable-line
4
4
  import EventDispatcher from "../Core/grid/event/EventDispatcher.js";
5
5
  import ElementWrapper from "../Core/grid/components/ElementWrapper.js"; // eslint-disable-line
@@ -20,6 +20,8 @@ declare class Plugin extends EventDispatcher {
20
20
 
21
21
  }
22
22
 
23
+ declare function item(ary: any[]|any, at: number, item: any): void;
24
+
23
25
  declare function gridAPI(x: number, y: number): Element|null;
24
26
 
25
27
  declare function to(e: any): void;
@@ -1,5 +1,6 @@
1
1
  import Ext from "../../../tr-grid-util/es6/Ext.js";
2
- import Util from "../Core/grid/util/util.js";
2
+ import Dom from "../../../tr-grid-util/es6/Dom.js";
3
+ import { preventDefault } from "../../../tr-grid-util/es6/EventDispatcher.js";
3
4
  import Plugin from "./Plugin.js";
4
5
  import { Core } from "../Core/index.js";
5
6
 
@@ -1,5 +1,6 @@
1
1
  import Ext from "../../../tr-grid-util/es6/Ext.js";
2
- import Util from "../Core/grid/util/util.js";
2
+ import { isMac } from "../../../tr-grid-util/es6/Util.js";
3
+ import { preventDefault } from "../../../tr-grid-util/es6/EventDispatcher.js";
3
4
  import Plugin from "./Plugin.js";
4
5
  import { Core, ILayoutGrid } from "../Core/index.js";
5
6
 
@@ -1,4 +1,4 @@
1
- import Util from "../Core/grid/util/util.js";
1
+
2
2
 
3
3
  declare class TextWidthCalculator {
4
4
 
@@ -1,5 +1,4 @@
1
1
  import Ext from "../../../tr-grid-util/es6/Ext.js";
2
- import Util from "../Core/grid/util/util.js";
3
2
  import Plugin from "./Plugin.js";
4
3
  import { SectionSettings, ILayoutGrid } from "../Core/index.js";
5
4
 
@@ -15,6 +15,13 @@ declare namespace ConditionalColoringPlugin {
15
15
  field?: string
16
16
  };
17
17
 
18
+ type ConditionalColoringOptions = {
19
+ conditions?: (ConditionalColoringPlugin.Condition)[],
20
+ colorText?: (string|boolean),
21
+ tickColor?: (string|boolean),
22
+ field?: string
23
+ };
24
+
18
25
  type Condition = {
19
26
  expression?: (string|((...params: any[]) => any)),
20
27
  backgroundColor?: string,
@@ -47,11 +54,13 @@ declare class ConditionalColoringPlugin extends GridPlugin {
47
54
 
48
55
  public getConfigObject(gridOptions?: any): any;
49
56
 
57
+ public getColumnColoring(colIndex: number, options?: any): ConditionalColoringPlugin.ColumnOptions;
58
+
50
59
  public setColumnColoring(colIndex: number, columnOptions?: (ConditionalColoringPlugin.ColumnOptions|null)): void;
51
60
 
52
- public setColumnBlinking(colIndex: number, blinkingOptions?: (boolean|ConditionalColoringPlugin.Blinking), field?: string): void;
61
+ public setConditionalColoring(colIndex: number, coloringOptions?: (ConditionalColoringPlugin.ConditionalColoringOptions|null)): void;
53
62
 
54
- public getColumnColoring(colIndex: number, out_obj?: any): any;
63
+ public setColumnBlinking(colIndex: number, blinkingOptions?: (boolean|ConditionalColoringPlugin.Blinking), field?: string): void;
55
64
 
56
65
  public blinkRow(rowIndex: number, blinkSignal: number, host?: any): void;
57
66
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  declare class ColumnStats {
4
4
 
5
- constructor(source?: any, field?: string);
5
+ constructor(source?: any, field?: string|null);
6
6
 
7
7
  public dispose(): void;
8
8
 
@@ -10,9 +10,9 @@ declare class ColumnStats {
10
10
 
11
11
  public setField(field: string): void;
12
12
 
13
- public disableOnDemandMode(opt_disabled?: boolean): void;
13
+ public disableOnDemandMode(opt_disabled?: boolean|null): void;
14
14
 
15
- public setColumnDataGetter(func: ((...params: any[]) => any)): void;
15
+ public setColumnDataGetter(func: ((...params: any[]) => any)|null): void;
16
16
 
17
17
  public getColumnDataGetter(): ((...params: any[]) => any)|null;
18
18
 
@@ -11,7 +11,7 @@ declare class DataCache extends EventDispatcher {
11
11
 
12
12
  public getSubscriptions(): any;
13
13
 
14
- public addSubscription(sub: any, opt_primaryRic?: string, opt_values?: any): void;
14
+ public addSubscription(sub: any, opt_primaryRic?: string|null, opt_values?: any): void;
15
15
 
16
16
  public removeSubscription(sub: any): void;
17
17
 
@@ -23,9 +23,9 @@ declare class DataCache extends EventDispatcher {
23
23
 
24
24
  public getPrimaryRic(sub_id: string): string;
25
25
 
26
- public clearAllData(opt_suppressEvent?: boolean): void;
26
+ public clearAllData(opt_suppressEvent?: boolean|null): void;
27
27
 
28
- public clearColumnData(colId: (string)[]|string, opt_suppressEvent?: boolean): void;
28
+ public clearColumnData(colId: (string)[]|string|null, opt_suppressEvent?: boolean|null): void;
29
29
 
30
30
  public getData(rid: string, cid: string): any;
31
31
 
@@ -39,7 +39,7 @@ declare class DataCache extends EventDispatcher {
39
39
 
40
40
  public getRowData(rid: string): { [key: string]: any };
41
41
 
42
- public getMultipleRowData(rids: (string)[], opt_from?: number, opt_to?: number): (any)[];
42
+ public getMultipleRowData(rids: (string)[]|null, opt_from?: number|null, opt_to?: number|null): (any)[];
43
43
 
44
44
  public getAllRowData(): ({ [key: string]: any })[];
45
45
 
@@ -47,13 +47,13 @@ declare class DataCache extends EventDispatcher {
47
47
 
48
48
  public hasDataCloudData(rid: string): boolean;
49
49
 
50
- public setRowData(rid: string, values?: { [key: string]: any }, opt_eventArg?: any): boolean;
50
+ public setRowData(rid: string, values?: { [key: string]: any }|null, opt_eventArg?: any): boolean;
51
51
 
52
52
  public cloneRowData(rid: string): any;
53
53
 
54
- public addStaticFields(fields: (string)[]): void;
54
+ public addStaticFields(fields: (string)[]|null): void;
55
55
 
56
- public removeStaticFields(fields: (string)[]): void;
56
+ public removeStaticFields(fields: (string)[]|null): void;
57
57
 
58
58
  public resetStaticFields(): void;
59
59
 
@@ -63,11 +63,11 @@ declare class DataCache extends EventDispatcher {
63
63
 
64
64
  public log(opt_options?: any): void;
65
65
 
66
- public setDataCloudSettings(userId: string, productId: string, url: string, opt_lang?: string): void;
66
+ public setDataCloudSettings(userId: string, productId: string, url: string, opt_lang?: string|null): void;
67
67
 
68
68
  public getDataCloudFields(): (string)[]|null;
69
69
 
70
- public addDataCloudFields(fields: (string)[]|string): boolean;
70
+ public addDataCloudFields(fields: (string)[]|string|null): boolean;
71
71
 
72
72
  public removeDataCloudField(field: string): boolean;
73
73
 
@@ -5,7 +5,7 @@ import SegmentCollection from "./SegmentCollection.js";
5
5
 
6
6
  declare namespace DataTable {
7
7
 
8
- type SortLogic = ((...params: any[]) => any);
8
+ type SortLogic = ((...params: any[]) => any)|null;
9
9
 
10
10
  }
11
11
 
@@ -25,35 +25,35 @@ declare class DataTable extends DataCache {
25
25
 
26
26
  public getPreviousData(rid: string, cid: string): { [key: string]: any };
27
27
 
28
- public setColumnData(cid: string, valueList: (any)[], opt_ridList?: (string)[]): void;
28
+ public setColumnData(cid: string, valueList: (any)[], opt_ridList?: (string)[]|null): void;
29
29
 
30
30
  public setDataFromObjectMap(obj: { [key: string]: any }): void;
31
31
 
32
- public setDataFrom2DArray(ary: (any)[][], opt_cidList?: (string)[], opt_ridList?: (string)[]): void;
32
+ public setDataFrom2DArray(ary: (any)[][], opt_cidList?: (string)[]|null, opt_ridList?: (string)[]|null): void;
33
33
 
34
34
  public setDataAt(rowIndex: number, cid: string, value: any): boolean;
35
35
 
36
- public setRowDataAt(rowIndex: number, values?: { [key: string]: any }, opt_eventArg?: any): boolean;
36
+ public setRowDataAt(rowIndex: number, values?: { [key: string]: any }|null, opt_eventArg?: any): boolean;
37
37
 
38
- public addRow(values?: { [key: string]: any }, rid?: string|null): string;
38
+ public addRow(values?: { [key: string]: any }|null, rid?: string|null|null): string;
39
39
 
40
- public addRows(rows: (any)[], rids?: (string)[]): void;
40
+ public addRows(rows: (any)[]|null, rids?: (string)[]|null): void;
41
41
 
42
- public unshiftRow(opt_values?: { [key: string]: any }, opt_rid?: string|null): string;
42
+ public unshiftRow(opt_values?: { [key: string]: any }|null, opt_rid?: string|null|null): string;
43
43
 
44
- public insertRow(rowRef?: string|number|null, values?: { [key: string]: any }, rid?: string|null): string;
44
+ public insertRow(rowRef?: string|number|null|null, values?: { [key: string]: any }|null, rid?: string|null|null): string;
45
45
 
46
- public insertAfter(rowRef: string|number, opt_values?: any, opt_rid?: string): string;
46
+ public insertAfter(rowRef: string|number|null, opt_values?: any, opt_rid?: string|null): string;
47
47
 
48
- public removeRow(rowRef: number|string): void;
48
+ public removeRow(rowRef: number|string|null): void;
49
49
 
50
- public removeRows(refs: (number|string)[]): void;
50
+ public removeRows(refs: (number|string)[]|null): void;
51
51
 
52
- public removeAllRows(suppressEvent?: boolean): void;
52
+ public removeAllRows(suppressEvent?: boolean|null): void;
53
53
 
54
- public moveRow(fromIndex: (number)[]|number, toIndex: number, suppressEvent?: boolean): (string)[]|string|null;
54
+ public moveRow(fromIndex: (number)[]|number|null, toIndex: number, suppressEvent?: boolean|null): (string)[]|string|null;
55
55
 
56
- public moveRows(startIndex: number|string, toIndex: number|string, opt_count?: number, suppressEvent?: boolean): (string)[]|null;
56
+ public moveRows(startIndex: number|string|null, toIndex: number|string|null, opt_count?: number|null, suppressEvent?: boolean|null): (string)[]|null;
57
57
 
58
58
  public swapRow(fromIndex: number, toIndex: number): void;
59
59
 
@@ -63,19 +63,19 @@ declare class DataTable extends DataCache {
63
63
 
64
64
  public setDataSource(source: any): void;
65
65
 
66
- public sortOnce(cid: string|(string)[], sortOrders?: string|number|(string|number)[], customComparer?: DataTable.SortLogic, contextObj?: any): boolean;
66
+ public sortOnce(cid: string|(string)[]|null, sortOrders?: string|number|(string|number)[]|null, customComparer?: DataTable.SortLogic|null, contextObj?: any): boolean;
67
67
 
68
- public setSortingLogic(func: DataTable.SortLogic): void;
68
+ public setSortingLogic(func: DataTable.SortLogic|null): void;
69
69
 
70
- public setColumnSortingLogic(cid: string, func: DataTable.SortLogic): void;
70
+ public setColumnSortingLogic(cid: string, func: DataTable.SortLogic|null): void;
71
71
 
72
- public freeze(bool?: boolean): boolean;
72
+ public freeze(bool?: boolean|null): boolean;
73
73
 
74
- public unfreeze(bool?: boolean): boolean;
74
+ public unfreeze(bool?: boolean|null): boolean;
75
75
 
76
76
  public isFrozen(): boolean;
77
77
 
78
- public setSegmentSeparator(rid: string, enabled?: boolean): boolean;
78
+ public setSegmentSeparator(rid: string, enabled?: boolean|null): boolean;
79
79
 
80
80
  public unsetAllSegmentSeparators(): boolean;
81
81
 
@@ -85,7 +85,7 @@ declare class DataTable extends DataCache {
85
85
 
86
86
  public getSegmentParentRowId(rid: string): string;
87
87
 
88
- public getSegmentValues(rids?: (string)[]): (number)[]|null;
88
+ public getSegmentValues(rids?: (string)[]|null): (number)[]|null;
89
89
 
90
90
  public fillSegment(segmentId: string): void;
91
91
 
@@ -93,11 +93,11 @@ declare class DataTable extends DataCache {
93
93
 
94
94
  public addSegmentChild(segmentId: string, rid: string): boolean;
95
95
 
96
- public addSegmentChildren(segmentId: string, rids: (string)[]): boolean;
96
+ public addSegmentChildren(segmentId: string, rids: (string)[]|null): boolean;
97
97
 
98
98
  public removeSegmentChild(segmentId: string, rid: string): boolean;
99
99
 
100
- public removeSegmentChildren(segmentId: string, rids: (string)[]): boolean;
100
+ public removeSegmentChildren(segmentId: string, rids: (string)[]|null): boolean;
101
101
 
102
102
  public removeAllSegmentChildren(): boolean;
103
103
 
@@ -105,21 +105,21 @@ declare class DataTable extends DataCache {
105
105
 
106
106
  public getSegmentChildIds(segmentId: string): (string)[]|null;
107
107
 
108
- public sortSegments(compare: ((...params: any[]) => any)): void;
108
+ public sortSegments(compare: ((...params: any[]) => any)|null): void;
109
109
 
110
- public dispatchGlobalChange(suppressEvent?: boolean): void;
110
+ public dispatchGlobalChange(suppressEvent?: boolean|null): void;
111
111
 
112
112
  public static getSortingDefinitions(): void;
113
113
 
114
114
  }
115
115
 
116
- declare function rowIndex(cid: string, valueList: (any)[], opt_ridList?: (string)[]): void;
116
+ declare function rowIndex(cid: string, valueList: (any)[], opt_ridList?: (string)[]|null): void;
117
117
 
118
- declare function prevFrozen(ary: (any)[][], opt_cidList?: (string)[], opt_ridList?: (string)[]): void;
118
+ declare function prevFrozen(ary: (any)[][], opt_cidList?: (string)[]|null, opt_ridList?: (string)[]|null): void;
119
119
 
120
120
  declare function cid(): null;
121
121
 
122
- declare function logic(a: number, b: number, order: number, sortingDefs: (any[])[]): number;
122
+ declare function logic(a: number, b: number, order: number, sortingDefs: (any[])[]|null): number;
123
123
 
124
124
  export default DataTable;
125
125
  export { DataTable };