@refinitiv-ui/efx-grid 6.0.5 → 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.
Files changed (274) 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 +372 -229
  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 +33 -10
  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 +4 -4
  18. package/lib/core/es6/data/SegmentCollection.d.ts +7 -7
  19. package/lib/core/es6/data/WrappedView.d.ts +62 -62
  20. package/lib/core/es6/grid/Core.d.ts +95 -95
  21. package/lib/core/es6/grid/Core.js +173 -25
  22. package/lib/core/es6/grid/ILayoutGrid.d.ts +20 -20
  23. package/lib/core/es6/grid/ILayoutGrid.js +2 -1
  24. package/lib/core/es6/grid/LayoutGrid.d.ts +2 -2
  25. package/lib/core/es6/grid/LayoutGrid.js +18 -10
  26. package/lib/core/es6/grid/VirtualizedLayoutGrid.d.ts +2 -2
  27. package/lib/core/es6/grid/VirtualizedLayoutGrid.js +14 -3
  28. package/lib/core/es6/grid/components/Cell.d.ts +6 -6
  29. package/lib/core/es6/grid/components/CellFloatingPanel.d.ts +2 -2
  30. package/lib/core/es6/grid/components/CellSpans.d.ts +2 -2
  31. package/lib/core/es6/grid/components/Column.d.ts +2 -2
  32. package/lib/core/es6/grid/components/ElementWrapper.d.ts +19 -19
  33. package/lib/core/es6/grid/components/Scrollbar.d.ts +9 -9
  34. package/lib/core/es6/grid/components/StretchedCells.js +12 -2
  35. package/lib/core/es6/grid/event/EventDispatcher.d.ts +3 -3
  36. package/lib/core/es6/grid/event/EventListeners.d.ts +5 -5
  37. package/lib/core/es6/grid/plugins/SortableTitlePlugin.d.ts +45 -44
  38. package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +62 -65
  39. package/lib/core/es6/grid/util/Conflator.d.ts +4 -4
  40. package/lib/core/es6/grid/util/HttpRequest.d.ts +3 -3
  41. package/lib/core/es6/grid/util/PercentBar.d.ts +8 -8
  42. package/lib/core/es6/grid/util/PercentBarRenderer.d.ts +8 -8
  43. package/lib/core/es6/grid/util/RangeBar.d.ts +1 -1
  44. package/lib/core/es6/grid/util/RangeBar.js +1 -1
  45. package/lib/core/es6/grid/util/Reverter.d.ts +1 -1
  46. package/lib/core/es6/grid/util/SectionSettings.d.ts +13 -13
  47. package/lib/core/es6/grid/util/SelectionList.d.ts +2 -2
  48. package/lib/core/es6/grid/util/TrackLayout.d.ts +9 -9
  49. package/lib/core/es6/grid/util/Virtualizer.d.ts +3 -3
  50. package/lib/core/es6/grid/util/util.d.ts +6 -4
  51. package/lib/core/es6/grid/util/util.js +16 -91
  52. package/lib/core/es6/tr-grid-theme.js +1 -1
  53. package/lib/filter-dialog/lib/checkbox-list.d.ts +1 -1
  54. package/lib/filter-dialog/lib/filter-dialog.d.ts +1 -1
  55. package/lib/filter-dialog/lib/filter-dialog.js +27 -9
  56. package/lib/filter-dialog/themes/base-checkbox.less +0 -1
  57. package/lib/filter-dialog/themes/base.less +1 -1
  58. package/lib/filter-dialog/themes/elemental/dark/checkbox-list.js +1 -1
  59. package/lib/filter-dialog/themes/elemental/dark/es5/all-elements.js +2 -2
  60. package/lib/filter-dialog/themes/elemental/dark/filter-dialog.js +1 -1
  61. package/lib/filter-dialog/themes/elemental/light/checkbox-list.js +1 -1
  62. package/lib/filter-dialog/themes/elemental/light/es5/all-elements.js +2 -2
  63. package/lib/filter-dialog/themes/elemental/light/filter-dialog.js +1 -1
  64. package/lib/filter-dialog/themes/halo/dark/checkbox-list.js +1 -1
  65. package/lib/filter-dialog/themes/halo/dark/es5/all-elements.js +2 -2
  66. package/lib/filter-dialog/themes/halo/dark/filter-dialog.js +1 -1
  67. package/lib/filter-dialog/themes/halo/light/checkbox-list.js +1 -1
  68. package/lib/filter-dialog/themes/halo/light/es5/all-elements.js +2 -2
  69. package/lib/filter-dialog/themes/halo/light/filter-dialog.js +1 -1
  70. package/lib/filter-dialog/themes/solar/charcoal/checkbox-list.js +1 -1
  71. package/lib/filter-dialog/themes/solar/charcoal/es5/all-elements.js +2 -2
  72. package/lib/filter-dialog/themes/solar/charcoal/filter-dialog.js +1 -1
  73. package/lib/filter-dialog/themes/solar/pearl/checkbox-list.js +1 -1
  74. package/lib/filter-dialog/themes/solar/pearl/es5/all-elements.js +2 -2
  75. package/lib/filter-dialog/themes/solar/pearl/filter-dialog.js +1 -1
  76. package/lib/grid/index.js +1 -1
  77. package/lib/grid/lib/efx-grid.js +3 -0
  78. package/lib/grid/themes/halo/dark/efx-grid.js +1 -1
  79. package/lib/grid/themes/halo/dark/es5/all-elements.js +1 -1
  80. package/lib/grid/themes/halo/efx-grid.less +5 -5
  81. package/lib/grid/themes/halo/light/efx-grid.js +1 -1
  82. package/lib/grid/themes/halo/light/es5/all-elements.js +1 -1
  83. package/lib/row-segmenting/es6/RowSegmenting.d.ts +30 -24
  84. package/lib/row-segmenting/es6/RowSegmenting.js +122 -21
  85. package/lib/rt-grid/dist/rt-grid.js +689 -367
  86. package/lib/rt-grid/dist/rt-grid.min.js +1 -1
  87. package/lib/rt-grid/es6/ColumnDefinition.d.ts +46 -42
  88. package/lib/rt-grid/es6/ColumnDefinition.js +31 -1
  89. package/lib/rt-grid/es6/DataConnector.d.ts +6 -4
  90. package/lib/rt-grid/es6/DataConnector.js +8 -0
  91. package/lib/rt-grid/es6/FieldDefinition.d.ts +2 -2
  92. package/lib/rt-grid/es6/FieldDefinition.js +12 -5
  93. package/lib/rt-grid/es6/Grid.d.ts +102 -94
  94. package/lib/rt-grid/es6/Grid.js +70 -105
  95. package/lib/rt-grid/es6/ReferenceCounter.d.ts +5 -5
  96. package/lib/rt-grid/es6/RowDefSorter.d.ts +2 -2
  97. package/lib/rt-grid/es6/RowDefinition.d.ts +22 -22
  98. package/lib/rt-grid/es6/RowDefinition.js +12 -5
  99. package/lib/rt-grid/es6/SnapshotFiller.d.ts +3 -3
  100. package/lib/rt-grid/es6/StyleLoader.d.ts +1 -1
  101. package/lib/tr-grid-cell-selection/es6/CellSelection.d.ts +11 -11
  102. package/lib/tr-grid-cell-selection/es6/CellSelection.js +20 -35
  103. package/lib/tr-grid-checkbox/es6/Checkbox.d.ts +18 -16
  104. package/lib/tr-grid-checkbox/es6/Checkbox.js +1 -0
  105. package/lib/tr-grid-column-formatting/es6/ColumnFormatting.d.ts +29 -27
  106. package/lib/tr-grid-column-formatting/es6/ColumnFormatting.js +1 -0
  107. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.d.ts +28 -14
  108. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +556 -11
  109. package/lib/tr-grid-column-resizing/es6/ColumnResizing.d.ts +2 -2
  110. package/lib/tr-grid-column-resizing/es6/ColumnResizing.js +1 -0
  111. package/lib/tr-grid-column-selection/es6/ColumnSelection.js +2 -3
  112. package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +15 -13
  113. package/lib/tr-grid-column-stack/es6/ColumnStack.js +96 -72
  114. package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.d.ts +11 -2
  115. package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +309 -114
  116. package/lib/tr-grid-content-wrap/es6/ContentWrap.js +1 -6
  117. package/lib/tr-grid-contextmenu/es6/ContextMenu.js +3 -3
  118. package/lib/tr-grid-contextmenu/es6/MenuEventAPI.d.ts +2 -2
  119. package/lib/tr-grid-contextmenu/es6/MenuItem.d.ts +2 -2
  120. package/lib/tr-grid-heat-map/es6/HeatMap.d.ts +2 -1
  121. package/lib/tr-grid-heat-map/es6/HeatMap.js +6 -9
  122. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +5 -2
  123. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +311 -71
  124. package/lib/tr-grid-percent-bar/es6/PercentBar.d.ts +1 -1
  125. package/lib/tr-grid-percent-bar/es6/PercentBar.js +8 -11
  126. package/lib/tr-grid-printer/es6/SectionWriter.js +8 -0
  127. package/lib/tr-grid-range-bar/es6/RangeBar.js +3 -10
  128. package/lib/tr-grid-row-dragging/es6/RowDragging.d.ts +6 -0
  129. package/lib/tr-grid-row-dragging/es6/RowDragging.js +56 -23
  130. package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +4 -3
  131. package/lib/tr-grid-row-filtering/es6/RowFiltering.js +57 -13
  132. package/lib/tr-grid-row-grouping/es6/RowGrouping.js +1 -1
  133. package/lib/tr-grid-row-selection/es6/RowSelection.js +2 -3
  134. package/lib/tr-grid-rowcoloring/es6/RowColoring.d.ts +0 -2
  135. package/lib/tr-grid-rowcoloring/es6/RowColoring.js +1 -40
  136. package/lib/tr-grid-util/es6/CellPainter.d.ts +30 -30
  137. package/lib/tr-grid-util/es6/CellPainter.js +9 -8
  138. package/lib/tr-grid-util/es6/Conflator.d.ts +4 -4
  139. package/lib/tr-grid-util/es6/CoralItems.d.ts +1 -1
  140. package/lib/tr-grid-util/es6/DateTime.d.ts +10 -10
  141. package/lib/tr-grid-util/es6/Deferred.d.ts +3 -1
  142. package/lib/tr-grid-util/es6/Deferred.js +11 -1
  143. package/lib/tr-grid-util/es6/Delay.d.ts +2 -2
  144. package/lib/tr-grid-util/es6/Dom.d.ts +10 -10
  145. package/lib/tr-grid-util/es6/Dom.js +14 -10
  146. package/lib/tr-grid-util/es6/DragUI.js +5 -2
  147. package/lib/tr-grid-util/es6/ElementObserver.d.ts +2 -2
  148. package/lib/tr-grid-util/es6/ElementWrapper.d.ts +4 -4
  149. package/lib/tr-grid-util/es6/ElfDate.d.ts +5 -5
  150. package/lib/tr-grid-util/es6/ElfDate.js +1 -0
  151. package/lib/tr-grid-util/es6/ElfUtil.d.ts +10 -4
  152. package/lib/tr-grid-util/es6/ElfUtil.js +53 -4
  153. package/lib/tr-grid-util/es6/EventDispatcher.d.ts +5 -5
  154. package/lib/tr-grid-util/es6/ExpanderIcon.d.ts +2 -2
  155. package/lib/tr-grid-util/es6/ExpanderIcon.js +1 -1
  156. package/lib/tr-grid-util/es6/Ext.d.ts +1 -1
  157. package/lib/tr-grid-util/es6/FieldFormatter.d.ts +12 -12
  158. package/lib/tr-grid-util/es6/FieldFormatter.js +1 -1
  159. package/lib/tr-grid-util/es6/FilterBuilder.d.ts +13 -13
  160. package/lib/tr-grid-util/es6/FilterBuilder.js +15 -8
  161. package/lib/tr-grid-util/es6/FilterOperators.d.ts +22 -22
  162. package/lib/tr-grid-util/es6/FilterOperators.js +3 -3
  163. package/lib/tr-grid-util/es6/GridPlugin.d.ts +10 -10
  164. package/lib/tr-grid-util/es6/GridPlugin.js +20 -0
  165. package/lib/tr-grid-util/es6/Icon.d.ts +3 -3
  166. package/lib/tr-grid-util/es6/MouseDownTrait.d.ts +8 -8
  167. package/lib/tr-grid-util/es6/MultiTableManager.d.ts +6 -6
  168. package/lib/tr-grid-util/es6/NumberFormatter.d.ts +19 -19
  169. package/lib/tr-grid-util/es6/NumberFormatter.js +1 -1
  170. package/lib/tr-grid-util/es6/PercentBar.d.ts +19 -19
  171. package/lib/tr-grid-util/es6/Perf.d.ts +4 -4
  172. package/lib/tr-grid-util/es6/Popup.d.ts +36 -33
  173. package/lib/tr-grid-util/es6/Popup.js +19 -1
  174. package/lib/tr-grid-util/es6/RangeBar.d.ts +5 -5
  175. package/lib/tr-grid-util/es6/RequestQueue.d.ts +4 -4
  176. package/lib/tr-grid-util/es6/RowPainter.d.ts +37 -4
  177. package/lib/tr-grid-util/es6/RowPainter.js +199 -76
  178. package/lib/tr-grid-util/es6/SubTable.d.ts +14 -14
  179. package/lib/tr-grid-util/es6/Table.d.ts +25 -25
  180. package/lib/tr-grid-util/es6/TextHighlighter.d.ts +1 -1
  181. package/lib/tr-grid-util/es6/Timer.d.ts +1 -1
  182. package/lib/tr-grid-util/es6/TouchProxy.d.ts +9 -9
  183. package/lib/tr-grid-util/es6/Util.d.ts +12 -12
  184. package/lib/tr-grid-util/es6/formula/ADCService.d.ts +1 -1
  185. package/lib/tr-grid-util/es6/formula/ADCSubscription.d.ts +1 -1
  186. package/lib/tr-grid-util/es6/formula/AdFinService.d.ts +1 -1
  187. package/lib/tr-grid-util/es6/formula/AdFinSubscription.d.ts +1 -1
  188. package/lib/tr-grid-util/es6/formula/Engine.d.ts +9 -9
  189. package/lib/tr-grid-util/es6/formula/Formula.d.ts +4 -4
  190. package/lib/tr-grid-util/es6/formula/IntervalSubscription.d.ts +1 -1
  191. package/lib/tr-grid-util/es6/formula/Realtime.d.ts +3 -3
  192. package/lib/tr-grid-util/es6/formula/RealtimeService.d.ts +1 -1
  193. package/lib/tr-grid-util/es6/formula/TSIService.d.ts +1 -1
  194. package/lib/tr-grid-util/es6/formula/TSISubscription.d.ts +1 -1
  195. package/lib/tr-grid-util/es6/formula/VariableToken.d.ts +1 -1
  196. package/lib/tr-grid-util/es6/jet/CollectionDict.d.ts +1 -1
  197. package/lib/tr-grid-util/es6/jet/DataGenerator.d.ts +34 -34
  198. package/lib/tr-grid-util/es6/jet/MockArchive.d.ts +1 -1
  199. package/lib/tr-grid-util/es6/jet/MockJET.d.ts +4 -4
  200. package/lib/tr-grid-util/es6/jet/MockJET.js +12 -4
  201. package/lib/tr-grid-util/es6/jet/MockQuotes.d.ts +9 -9
  202. package/lib/tr-grid-util/es6/jet/MockQuotes2.d.ts +17 -9
  203. package/lib/tr-grid-util/es6/jet/MockQuotes2.js +84 -24
  204. package/lib/tr-grid-util/es6/jet/MockRTK.d.ts +42 -2
  205. package/lib/tr-grid-util/es6/jet/MockRTK.js +55 -16
  206. package/lib/tr-grid-util/es6/jet/mockDataAPI.d.ts +2 -2
  207. package/lib/tr-grid-util/es6/jet/mockDataAPI.js +99 -1
  208. package/lib/types/es6/Checkbox.d.ts +18 -16
  209. package/lib/types/es6/ColumnFormatting.d.ts +29 -27
  210. package/lib/types/es6/ColumnGrouping.d.ts +28 -14
  211. package/lib/types/es6/ColumnResizing.d.ts +2 -2
  212. package/lib/types/es6/ColumnStack.d.ts +15 -13
  213. package/lib/types/es6/CompositeGrid/ColumnSelectionPlugin.d.ts +4 -2
  214. package/lib/types/es6/CompositeGrid/ColumnWidthAdjustingPlugin.d.ts +0 -1
  215. package/lib/types/es6/CompositeGrid/CompositeGrid.d.ts +1 -1
  216. package/lib/types/es6/CompositeGrid/DragAndDropTitlePlugin.d.ts +1 -1
  217. package/lib/types/es6/CompositeGrid/DraggableContentPlugin.d.ts +1 -5
  218. package/lib/types/es6/CompositeGrid/Plugin.d.ts +3 -1
  219. package/lib/types/es6/CompositeGrid/ResizableTitlePlugin.d.ts +2 -1
  220. package/lib/types/es6/CompositeGrid/RowSelectionPlugin.d.ts +2 -1
  221. package/lib/types/es6/CompositeGrid/TextWidthCalculator.d.ts +1 -1
  222. package/lib/types/es6/CompositeGrid/TreeIndentingPlugin.d.ts +0 -1
  223. package/lib/types/es6/ConditionalColoring.d.ts +11 -2
  224. package/lib/types/es6/Core/data/ColumnStats.d.ts +3 -3
  225. package/lib/types/es6/Core/data/DataCache.d.ts +9 -9
  226. package/lib/types/es6/Core/data/DataTable.d.ts +28 -28
  227. package/lib/types/es6/Core/data/DataView.d.ts +62 -62
  228. package/lib/types/es6/Core/data/Segment.d.ts +4 -4
  229. package/lib/types/es6/Core/data/SegmentCollection.d.ts +7 -7
  230. package/lib/types/es6/Core/data/WrappedView.d.ts +62 -62
  231. package/lib/types/es6/Core/grid/Core.d.ts +95 -95
  232. package/lib/types/es6/Core/grid/ILayoutGrid.d.ts +20 -20
  233. package/lib/types/es6/Core/grid/LayoutGrid.d.ts +2 -2
  234. package/lib/types/es6/Core/grid/VirtualizedLayoutGrid.d.ts +2 -2
  235. package/lib/types/es6/Core/grid/components/Cell.d.ts +6 -6
  236. package/lib/types/es6/Core/grid/components/CellFloatingPanel.d.ts +2 -2
  237. package/lib/types/es6/Core/grid/components/CellSpans.d.ts +2 -2
  238. package/lib/types/es6/Core/grid/components/Column.d.ts +2 -2
  239. package/lib/types/es6/Core/grid/components/ElementWrapper.d.ts +19 -19
  240. package/lib/types/es6/Core/grid/components/Scrollbar.d.ts +9 -9
  241. package/lib/types/es6/Core/grid/event/EventDispatcher.d.ts +3 -3
  242. package/lib/types/es6/Core/grid/event/EventListeners.d.ts +5 -5
  243. package/lib/types/es6/Core/grid/plugins/SortableTitlePlugin.d.ts +45 -44
  244. package/lib/types/es6/Core/grid/util/Conflator.d.ts +4 -4
  245. package/lib/types/es6/Core/grid/util/HttpRequest.d.ts +3 -3
  246. package/lib/types/es6/Core/grid/util/PercentBar.d.ts +8 -8
  247. package/lib/types/es6/Core/grid/util/PercentBarRenderer.d.ts +8 -8
  248. package/lib/types/es6/Core/grid/util/RangeBar.d.ts +1 -1
  249. package/lib/types/es6/Core/grid/util/Reverter.d.ts +1 -1
  250. package/lib/types/es6/Core/grid/util/SectionSettings.d.ts +13 -13
  251. package/lib/types/es6/Core/grid/util/SelectionList.d.ts +2 -2
  252. package/lib/types/es6/Core/grid/util/TrackLayout.d.ts +9 -9
  253. package/lib/types/es6/Core/grid/util/Virtualizer.d.ts +3 -3
  254. package/lib/types/es6/Core/grid/util/util.d.ts +6 -4
  255. package/lib/types/es6/HeatMap.d.ts +2 -1
  256. package/lib/types/es6/InCellEditing.d.ts +5 -2
  257. package/lib/types/es6/MenuEventAPI.d.ts +2 -2
  258. package/lib/types/es6/MenuItem.d.ts +2 -2
  259. package/lib/types/es6/PercentBar.d.ts +1 -1
  260. package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +46 -42
  261. package/lib/types/es6/RealtimeGrid/DataConnector.d.ts +6 -4
  262. package/lib/types/es6/RealtimeGrid/FieldDefinition.d.ts +2 -2
  263. package/lib/types/es6/RealtimeGrid/Grid.d.ts +100 -92
  264. package/lib/types/es6/RealtimeGrid/ReferenceCounter.d.ts +5 -5
  265. package/lib/types/es6/RealtimeGrid/RowDefSorter.d.ts +2 -2
  266. package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +22 -22
  267. package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +3 -3
  268. package/lib/types/es6/RealtimeGrid/StyleLoader.d.ts +1 -1
  269. package/lib/types/es6/RowColoring.d.ts +0 -2
  270. package/lib/types/es6/RowDragging.d.ts +6 -0
  271. package/lib/types/es6/RowFiltering.d.ts +4 -3
  272. package/lib/types/es6/RowSegmenting.d.ts +30 -24
  273. package/lib/versions.json +26 -26
  274. package/package.json +2 -2
@@ -1,41 +1,41 @@
1
- import { arrayToObject } from "../../../tr-grid-util/es6/Util.js";
1
+ import { arrayToObject, cloneObject } from "../../../tr-grid-util/es6/Util.js";
2
2
  import { DataCache } from "../Core/data/DataCache.js";
3
3
  import { DataTable } from "../Core/data/DataTable.js";
4
4
 
5
5
  declare namespace RowDefinition {
6
6
 
7
7
  type Options = {
8
- ric?: string,
9
- values?: (any[]|any),
10
- fields?: (string)[],
11
- asChain?: boolean,
12
- chainRic?: string,
13
- collapsed?: boolean,
14
- label?: (string|null),
15
- hidden?: boolean
8
+ ric?: string|null,
9
+ values?: (any[]|any)|null,
10
+ fields?: (string)[]|null,
11
+ asChain?: boolean|null,
12
+ chainRic?: string|null,
13
+ collapsed?: boolean|null,
14
+ label?: (string|null)|null,
15
+ hidden?: boolean|null
16
16
  };
17
17
 
18
18
  }
19
19
 
20
20
  declare class RowDefinition {
21
21
 
22
- constructor(rowOptions?: RowDefinition.Options);
22
+ constructor(rowOptions?: RowDefinition.Options|null);
23
23
 
24
24
  public dispose(): void;
25
25
 
26
26
  public isDisposed(): boolean;
27
27
 
28
- public initialize(rowOptions?: RowDefinition.Options): void;
28
+ public initialize(rowOptions?: RowDefinition.Options|null): void;
29
29
 
30
30
  public setContent(userInput: string): boolean;
31
31
 
32
32
  public getRowId(): string;
33
33
 
34
- public getConfigObject(rowOptions?: RowDefinition.Options): RowDefinition.Options|null;
34
+ public getConfigObject(rowOptions?: RowDefinition.Options|null): RowDefinition.Options|null;
35
35
 
36
36
  public getDataId(): string;
37
37
 
38
- public setDataSource(dataSource: DataCache): void;
38
+ public setDataSource(dataSource: DataCache|null): void;
39
39
 
40
40
  public getDataSource(): DataCache|null;
41
41
 
@@ -43,9 +43,9 @@ declare class RowDefinition {
43
43
 
44
44
  public getData(field: string): any;
45
45
 
46
- public setStaticRowData(data: { [key: string]: any }|any[], opt_fields?: (string)[]): void;
46
+ public setStaticRowData(data: { [key: string]: any }|any[], opt_fields?: (string)[]|null): void;
47
47
 
48
- public updateRowData(data: { [key: string]: any }|any[], opt_fields?: (string)[]): void;
48
+ public updateRowData(data: { [key: string]: any }|any[], opt_fields?: (string)[]|null): void;
49
49
 
50
50
  public setStaticData(field: string, value: any): void;
51
51
 
@@ -65,7 +65,7 @@ declare class RowDefinition {
65
65
 
66
66
  public isChain(): boolean;
67
67
 
68
- public static hasChain(rowDef: RowDefinition): boolean;
68
+ public static hasChain(rowDef: RowDefinition|null): boolean;
69
69
 
70
70
  public isChainCollapsed(): boolean;
71
71
 
@@ -75,7 +75,7 @@ declare class RowDefinition {
75
75
 
76
76
  public isRealTimeRow(): boolean;
77
77
 
78
- public subscribeForUpdates(): void;
78
+ public subscribeForUpdates(): boolean;
79
79
 
80
80
  public unsubscribeForUpdates(): any;
81
81
 
@@ -87,9 +87,9 @@ declare class RowDefinition {
87
87
 
88
88
  public resetUpdates(): void;
89
89
 
90
- public registerToView(view: DataTable, rowId?: string): void;
90
+ public registerToView(view: DataTable|null, rowId?: string|null): void;
91
91
 
92
- public static deregisterFromView(rowIds: (string)[], rowDef: RowDefinition): (string)[]|null;
92
+ public static deregisterFromView(rowIds: (string)[]|null, rowDef: RowDefinition|null): (string)[]|null;
93
93
 
94
94
  public collapseChain(): boolean;
95
95
 
@@ -99,7 +99,7 @@ declare class RowDefinition {
99
99
 
100
100
  public getChildren(): (RowDefinition)[]|null;
101
101
 
102
- public getDescendants(ary?: (RowDefinition)[]): (RowDefinition)[];
102
+ public getDescendants(ary?: (RowDefinition)[]|null): (RowDefinition)[];
103
103
 
104
104
  public getAllDescendantIds(): (string)[]|null;
105
105
 
@@ -111,9 +111,9 @@ declare class RowDefinition {
111
111
 
112
112
  public getUserModel(): any;
113
113
 
114
- public static toRowId(rowDef: RowDefinition): string;
114
+ public static toRowId(rowDef: RowDefinition|null): string;
115
115
 
116
- public static dispose(rowDef: RowDefinition): void;
116
+ public static dispose(rowDef: RowDefinition|null): void;
117
117
 
118
118
  }
119
119
 
@@ -8,15 +8,15 @@ declare class SnapshotFiller extends EventDispatcher {
8
8
 
9
9
  public setRTK(rtk: any): void;
10
10
 
11
- public setADCOptions(adcOptions: Grid.ADCOptions): void;
11
+ public setADCOptions(adcOptions: Grid.ADCOptions|null): void;
12
12
 
13
13
  public addRic(ric: string): void;
14
14
 
15
- public addRics(rics: (string)[]): boolean;
15
+ public addRics(rics: (string)[]|null): boolean;
16
16
 
17
17
  public addField(str: string): void;
18
18
 
19
- public addFields(fields: (string)[]): boolean;
19
+ public addFields(fields: (string)[]|null): boolean;
20
20
 
21
21
  public static isValidField(str: string): boolean;
22
22
 
@@ -9,7 +9,7 @@ declare class StyleLoader {
9
9
 
10
10
  public static readonly styles: string;
11
11
 
12
- public static applyStyle(grid: Core): void;
12
+ public static applyStyle(grid: Core|null): void;
13
13
 
14
14
  }
15
15
 
@@ -30,8 +30,6 @@ declare class RowColoringPlugin extends GridPlugin {
30
30
 
31
31
  public getConfigObject(gridOptions?: any): any;
32
32
 
33
- public getRowConfigObject(rowId: string): any|null;
34
-
35
33
  public setRowColor(rowRef: string|number, bgColor?: (string|null), txtColor?: (string|null)): void;
36
34
 
37
35
  public getRowColor(rowRef: string|number): string;
@@ -46,6 +46,12 @@ declare class RowDraggingPlugin extends GridPlugin {
46
46
 
47
47
  public getGuideline(): Element|null;
48
48
 
49
+ public disable(disabled?: boolean): void;
50
+
51
+ public isDisabled(): boolean;
52
+
53
+ public disableUIs(disabled?: boolean): void;
54
+
49
55
  }
50
56
 
51
57
  export default RowDraggingPlugin;
@@ -18,7 +18,8 @@ declare namespace RowFilteringPlugin {
18
18
 
19
19
  type ColumnOptions = {
20
20
  filter?: RowFilteringPlugin.Expression,
21
- filterState?: any
21
+ filterState?: any,
22
+ filterIcon?: boolean
22
23
  };
23
24
 
24
25
  type FilterDialogOptions = {
@@ -86,13 +87,13 @@ declare class RowFilteringPlugin extends GridPlugin {
86
87
 
87
88
  public getAllColumnFilters(): (((...params: any[]) => any))[];
88
89
 
89
- public getFilterExpressions(): (RowFilteringPlugin.FilterExpression)[];
90
+ public getFilterExpressions(): (RowFilteringPlugin.FilterExpression)[]|null;
90
91
 
91
92
  public setFilterExpressions(filterExps: (RowFilteringPlugin.FilterExpression)[]): void;
92
93
 
93
94
  public hasColumnFilter(): boolean;
94
95
 
95
- public getColumnFilterIcons(colIndex: number): (Element)[];
96
+ public getColumnFilterIcons(colIndex: number): (Element)[]|null;
96
97
 
97
98
  public updateAllColumnIcons(): void;
98
99
 
@@ -10,22 +10,24 @@ declare namespace RowSegmentingPlugin {
10
10
  type SortingLogic = (rowDataA: any, rowDataB: any) => number;
11
11
 
12
12
  type Options = {
13
- spanning?: boolean,
14
- colorTag?: boolean,
15
- cssField?: string,
13
+ spanning?: boolean|null,
14
+ colorTag?: boolean|null,
15
+ cssField?: string|null,
16
16
  predefinedColors?: any,
17
- clicked?: ((...params: any[]) => any),
18
- headerMenuClicked?: ((...params: any[]) => any),
19
- segmentSeparatorBinding?: ((...params: any[]) => any),
20
- nonSegmentSeparatorBinding?: ((...params: any[]) => any),
21
- sortingLogic?: ((...params: any[]) => any)
17
+ clicked?: ((...params: any[]) => any)|null,
18
+ headerMenuClicked?: ((...params: any[]) => any)|null,
19
+ segmentSeparatorBinding?: ((...params: any[]) => any)|null,
20
+ nonSegmentSeparatorBinding?: ((...params: any[]) => any)|null,
21
+ sortingLogic?: ((...params: any[]) => any)|null,
22
+ rowSpanningField?: string|null,
23
+ segmentIdField?: string|null
22
24
  };
23
25
 
24
26
  }
25
27
 
26
28
  declare class RowSegmentingPlugin extends GridPlugin {
27
29
 
28
- constructor(options?: RowSegmentingPlugin.Options);
30
+ constructor(options?: RowSegmentingPlugin.Options|null);
29
31
 
30
32
  public getName(): string;
31
33
 
@@ -37,52 +39,56 @@ declare class RowSegmentingPlugin extends GridPlugin {
37
39
 
38
40
  public getConfigObject(gridOptions?: any): any;
39
41
 
42
+ public getRowConfigObject(rowData: any, rowId: string): any;
43
+
40
44
  public updateHeaders(): void;
41
45
 
42
- public getSegmentParentRowId(rowRef: string|number): string;
46
+ public getSegmentParentRowId(rowRef: string|number|null): string;
43
47
 
44
- public setSegmentSeparator(rowRef: string|number, enabled?: boolean): boolean;
48
+ public setSegmentSeparator(rowRef: string|number|null, enabled?: boolean|null): boolean;
45
49
 
46
50
  public unsetAllSegmentSeparators(): boolean;
47
51
 
48
52
  public hasSegmentation(): boolean;
49
53
 
50
- public isSegmentSeparator(rowRef: string|number): boolean;
54
+ public isSegmentSeparator(rowRef: string|number|null): boolean;
51
55
 
52
- public collapseSegment(rowRef: string|number, collapsed?: boolean): boolean;
56
+ public collapseSegment(rowRef: string|number|null, collapsed?: boolean|null): boolean;
53
57
 
54
- public expandSegment(rowRef: string|number, expanded?: boolean): boolean;
58
+ public expandSegment(rowRef: string|number|null, expanded?: boolean|null): boolean;
55
59
 
56
60
  public expandAllSegments(): boolean;
57
61
 
58
- public isSegmentCollapsed(rowRef: string|number): boolean;
62
+ public isSegmentCollapsed(rowRef: string|number|null): boolean;
59
63
 
60
- public setSegmentCollapsingLogic(func: ((...params: any[]) => any)): void;
64
+ public setSegmentCollapsingLogic(func: ((...params: any[]) => any)|null): void;
61
65
 
62
- public fillSegment(segmentRef: string|number): void;
66
+ public fillSegment(segmentRef: string|number|null): void;
63
67
 
64
68
  public fillSegments(): void;
65
69
 
66
- public addSegmentChild(segmentRef: string|number, rowRef: string|number): void;
70
+ public addSegmentChild(segmentRef: string|number|null, rowRef: string|number|null): void;
67
71
 
68
- public addSegmentChildren(segmentRef: string|number, rowRefs: (string|number)[]): void;
72
+ public addSegmentChildren(segmentRef: string|number|null, rowRefs: (string|number)[]|null): void;
69
73
 
70
- public removeSegmentChild(segmentRef: string|number, rowRef: string|number): void;
74
+ public removeSegmentChild(segmentRef: string|number|null, rowRef: string|number|null): void;
71
75
 
72
- public removeSegmentChildren(segmentRef: string|number, rowRefs: (string|number)[]): void;
76
+ public removeSegmentChildren(segmentRef: string|number|null, rowRefs: (string|number)[]|null): void;
73
77
 
74
78
  public removeAllSegmentChildren(): void;
75
79
 
76
80
  public getSegmentIds(): (string)[]|null;
77
81
 
78
- public getSegmentChildIds(segmentRef: string|number): (string)[]|null;
82
+ public getSegmentChildIds(segmentRef: string|number|null): (string)[]|null;
79
83
 
80
- public setSortingLogic(sortFunction: RowSegmentingPlugin.SortingLogic): void;
84
+ public setSortingLogic(sortFunction: RowSegmentingPlugin.SortingLogic|null): void;
81
85
 
82
- public sortSegments(sortFunction?: RowSegmentingPlugin.SortingLogic): void;
86
+ public sortSegments(sortFunction?: RowSegmentingPlugin.SortingLogic|null): void;
83
87
 
84
88
  public setPredefinedColors(predefinedColors: any): void;
85
89
 
90
+ public spanSegmentSeparator(rowRef: number|string|null, spanning: boolean|null|null): void;
91
+
86
92
  }
87
93
 
88
94
  export default RowSegmentingPlugin;
package/lib/versions.json CHANGED
@@ -1,37 +1,37 @@
1
1
  {
2
- "tr-grid-util": "1.3.58",
3
- "@grid/column-dragging": "1.0.6",
4
- "@grid/row-segmenting": "1.0.14",
2
+ "tr-grid-util": "1.3.76",
3
+ "@grid/column-dragging": "1.0.10",
4
+ "@grid/row-segmenting": "1.0.20",
5
5
  "@grid/statistics-row": "1.0.13",
6
6
  "@grid/zoom": "1.0.11",
7
7
  "tr-grid-auto-tooltip": "1.1.5",
8
- "tr-grid-cell-selection": "1.0.30",
9
- "tr-grid-checkbox": "1.0.58",
8
+ "tr-grid-cell-selection": "1.0.31",
9
+ "tr-grid-checkbox": "1.0.59",
10
10
  "tr-grid-column-fitter": "1.0.39",
11
- "tr-grid-column-formatting": "0.9.33",
12
- "tr-grid-column-grouping": "1.0.19",
13
- "tr-grid-column-resizing": "1.0.25",
14
- "tr-grid-column-selection": "1.0.24",
15
- "tr-grid-column-stack": "1.0.34",
16
- "tr-grid-conditional-coloring": "1.0.53",
17
- "tr-grid-content-wrap": "1.0.18",
18
- "tr-grid-contextmenu": "1.0.37",
11
+ "tr-grid-column-formatting": "0.9.34",
12
+ "tr-grid-column-grouping": "1.0.24",
13
+ "tr-grid-column-resizing": "1.0.26",
14
+ "tr-grid-column-selection": "1.0.25",
15
+ "tr-grid-column-stack": "1.0.38",
16
+ "tr-grid-conditional-coloring": "1.0.56",
17
+ "tr-grid-content-wrap": "1.0.19",
18
+ "tr-grid-contextmenu": "1.0.38",
19
19
  "tr-grid-filter-input": "0.9.28",
20
- "tr-grid-heat-map": "1.0.27",
21
- "tr-grid-in-cell-editing": "1.0.66",
20
+ "tr-grid-heat-map": "1.0.28",
21
+ "tr-grid-in-cell-editing": "1.0.72",
22
22
  "tr-grid-pagination": "1.0.23",
23
- "tr-grid-percent-bar": "1.0.21",
24
- "tr-grid-printer": "1.0.15",
25
- "tr-grid-range-bar": "1.0.8",
26
- "tr-grid-row-dragging": "1.0.21",
27
- "tr-grid-row-filtering": "1.0.49",
28
- "tr-grid-row-grouping": "1.0.76",
29
- "tr-grid-row-selection": "1.0.20",
30
- "tr-grid-rowcoloring": "1.0.19",
23
+ "tr-grid-percent-bar": "1.0.22",
24
+ "tr-grid-printer": "1.0.16",
25
+ "tr-grid-range-bar": "1.0.9",
26
+ "tr-grid-row-dragging": "1.0.23",
27
+ "tr-grid-row-filtering": "1.0.54",
28
+ "tr-grid-row-grouping": "1.0.78",
29
+ "tr-grid-row-selection": "1.0.21",
30
+ "tr-grid-rowcoloring": "1.0.20",
31
31
  "tr-grid-textformatting": "1.0.44",
32
32
  "tr-grid-titlewrap": "1.0.19",
33
33
  "@grid/formatters": "1.0.48",
34
- "@grid/column-selection-dialog": "4.0.43",
35
- "@grid/filter-dialog": "4.0.48",
36
- "@grid/column-format-dialog": "4.0.41"
34
+ "@grid/column-selection-dialog": "4.0.44",
35
+ "@grid/filter-dialog": "4.0.52",
36
+ "@grid/column-format-dialog": "4.0.42"
37
37
  }
package/package.json CHANGED
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "name": "@refinitiv-ui/efx-grid",
3
- "version": "6.0.5",
4
3
  "description": "Grid Components Library",
5
4
  "author": "Refinitiv",
6
5
  "license": "SEE LICENSE IN LICENSE",
@@ -45,5 +44,6 @@
45
44
  },
46
45
  "publishConfig": {
47
46
  "access": "public"
48
- }
47
+ },
48
+ "version": "6.0.6"
49
49
  }