@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
@@ -5,7 +5,7 @@ import { SubTable } from "./SubTable.js";
5
5
 
6
6
  declare class Table extends ElementWrapper {
7
7
 
8
- constructor(elem?: (Element|number), opt_colCount?: (number|any), opt_rowCount?: number);
8
+ constructor(elem?: (Element|number)|null, opt_colCount?: (number|any)|null, opt_rowCount?: number|null);
9
9
 
10
10
  public getTableElement(): Element|null;
11
11
 
@@ -13,17 +13,17 @@ declare class Table extends ElementWrapper {
13
13
 
14
14
  public init(options: any): void;
15
15
 
16
- public addColumns(opt_count?: number): (Element)[]|null;
16
+ public addColumns(opt_count?: number|null): (Element)[]|null;
17
17
 
18
- public removeColumns(opt_count?: number): void;
18
+ public removeColumns(opt_count?: number|null): void;
19
19
 
20
20
  public removeAllColumns(): void;
21
21
 
22
22
  public setColumnCount(val: number): void;
23
23
 
24
- public addRows(opt_count?: number): (Element)[];
24
+ public addRows(opt_count?: number|null): (Element)[];
25
25
 
26
- public removeRows(opt_count?: number): void;
26
+ public removeRows(opt_count?: number|null): void;
27
27
 
28
28
  public removeAllRows(): void;
29
29
 
@@ -49,27 +49,27 @@ declare class Table extends ElementWrapper {
49
49
 
50
50
  public spanHorizontally(r: number, bool: boolean): Element|null;
51
51
 
52
- public setColMinWidths(val: number|string|(string|number)[], opt_at?: number): void;
52
+ public setColMinWidths(val: number|string|(string|number)[]|null, opt_at?: number|null): void;
53
53
 
54
- public setColumnWidths(val: number|string|(string|number)[], opt_at?: number): void;
54
+ public setColumnWidths(val: number|string|(string|number)[]|null, opt_at?: number|null): void;
55
55
 
56
- public setColBackgroundColors(val: string|(string)[], opt_at?: number): void;
56
+ public setColBackgroundColors(val: string|(string)[]|null, opt_at?: number|null): void;
57
57
 
58
- public setColBGColors(val: string|(string)[], opt_at?: number): void;
58
+ public setColBGColors(val: string|(string)[]|null, opt_at?: number|null): void;
59
59
 
60
- public setColBorders(val: number|string|(number|string)[], opt_at?: number): void;
60
+ public setColBorders(val: number|string|(number|string)[]|null, opt_at?: number|null): void;
61
61
 
62
62
  public setSize(width: number, height: number): void;
63
63
 
64
64
  public setCellSize(defaultWidth: number, defaultHeight: number): void;
65
65
 
66
- public setDefaultColumnWidth(val?: (number|null)): void;
66
+ public setDefaultColumnWidth(val?: (number|null)|null): void;
67
67
 
68
- public setDefaultRowHeight(val?: (number|null)): void;
68
+ public setDefaultRowHeight(val?: (number|null)|null): void;
69
69
 
70
70
  public distributeColumnWidth(): void;
71
71
 
72
- public log(opt_rowLimit?: number): void;
72
+ public log(opt_rowLimit?: number|null): void;
73
73
 
74
74
  public getTextContents(): (string)[][];
75
75
 
@@ -81,37 +81,37 @@ declare class Table extends ElementWrapper {
81
81
 
82
82
  public getTableTextContent(): string;
83
83
 
84
- public fixateTableWidth(opt_bool?: boolean): void;
84
+ public fixateTableWidth(opt_bool?: boolean|null): void;
85
85
 
86
- public loosenTableWidth(opt_bool?: boolean): void;
86
+ public loosenTableWidth(opt_bool?: boolean|null): void;
87
87
 
88
- public addHeaderRows(opt_count?: number): (Element)[];
88
+ public addHeaderRows(opt_count?: number|null): (Element)[];
89
89
 
90
90
  public getHeaderCell(c: number, r: number): Element|null;
91
91
 
92
92
  public getAllHeaderCells(): (Element)[];
93
93
 
94
- public removeHeaderRows(opt_count?: number): void;
94
+ public removeHeaderRows(opt_count?: number|null): void;
95
95
 
96
- public addFooterRows(opt_count?: number): (Element)[];
96
+ public addFooterRows(opt_count?: number|null): (Element)[];
97
97
 
98
98
  public getFooterCell(c: number, r: number): Element|null;
99
99
 
100
100
  public getAllFooterCells(): (Element)[];
101
101
 
102
- public removeFooterRows(opt_count?: number): void;
102
+ public removeFooterRows(opt_count?: number|null): void;
103
103
 
104
- public getColumnIndex(e: Event): number;
104
+ public getColumnIndex(e: Event|null): number;
105
105
 
106
- public getRowIndex(e: Event): number;
106
+ public getRowIndex(e: Event|null): number;
107
107
 
108
- public getColumnLeft(colIndex: number, rowIndex?: number): number;
108
+ public getColumnLeft(colIndex: number, rowIndex?: number|null): number;
109
109
 
110
- public getRowTop(rowRef: number|Element): number;
110
+ public getRowTop(rowRef: number|Element|null): number;
111
111
 
112
- public getCellPosition(cell: Element, ret_obj?: any): any;
112
+ public getCellPosition(cell: Element|null, ret_obj?: any): any;
113
113
 
114
- public cloak(tblElem: Element): void;
114
+ public cloak(tblElem: Element|null): void;
115
115
 
116
116
  public getBody(): SubTable|null;
117
117
 
@@ -12,7 +12,7 @@ declare namespace TextHighlighter {
12
12
 
13
13
  }
14
14
 
15
- declare function score(haystack: string, needle: string|RegExp, caseSensitive?: (boolean|number)): (string)[];
15
+ declare function score(haystack: string, needle: string|RegExp|null, caseSensitive?: (boolean|number)|null): (string)[];
16
16
 
17
17
  export default TextHighlighter;
18
18
  export {TextHighlighter};
@@ -2,7 +2,7 @@
2
2
 
3
3
  declare class Timer {
4
4
 
5
- constructor(duration: number, func?: ((...params: any[]) => any), ctx?: any);
5
+ constructor(duration: number, func?: ((...params: any[]) => any)|null, ctx?: any);
6
6
 
7
7
  public start(): void;
8
8
 
@@ -4,27 +4,27 @@ import {EventDispatcher} from "./EventDispatcher.js";
4
4
  declare namespace TouchProxy {
5
5
 
6
6
  type Options = {
7
- useTouchMove?: boolean,
8
- preventDefault?: boolean
7
+ useTouchMove?: boolean|null,
8
+ preventDefault?: boolean|null
9
9
  };
10
10
 
11
11
  }
12
12
 
13
13
  declare class TouchProxy extends EventDispatcher {
14
14
 
15
- constructor(elem?: Element, options?: (boolean|any));
15
+ constructor(elem?: Element|null, options?: (boolean|any)|null);
16
16
 
17
17
  public static readonly passive: EventListenerOptions;
18
18
 
19
19
  public getElement(): Element|null;
20
20
 
21
- public setElement(elem?: Element): void;
21
+ public setElement(elem?: Element|null): void;
22
22
 
23
- public applyTrait(elem: Element): void;
23
+ public applyTrait(elem: Element|null): void;
24
24
 
25
25
  public dispose(): void;
26
26
 
27
- public addTouchListeners(touchStartFunc?: ((...params: any[]) => any), touchEndFunc?: ((...params: any[]) => any), touchMoveFunc?: ((...params: any[]) => any)): void;
27
+ public addTouchListeners(touchStartFunc?: ((...params: any[]) => any)|null, touchEndFunc?: ((...params: any[]) => any)|null, touchMoveFunc?: ((...params: any[]) => any)|null): void;
28
28
 
29
29
  public removeTouchListeners(): void;
30
30
 
@@ -32,13 +32,13 @@ declare class TouchProxy extends EventDispatcher {
32
32
 
33
33
  public detachTouchMoveEvent(): void;
34
34
 
35
- public attachTouchEvents(touchMove?: boolean): void;
35
+ public attachTouchEvents(touchMove?: boolean|null): void;
36
36
 
37
37
  public detachTouchEvents(): void;
38
38
 
39
- public static getButtonType(e: Event): number;
39
+ public static getButtonType(e: Event|null): number;
40
40
 
41
- public static getPosition(e: Event|any, obj?: any): any;
41
+ public static getPosition(e: Event|any|null, obj?: any): any;
42
42
 
43
43
  }
44
44
 
@@ -2,35 +2,35 @@
2
2
 
3
3
  declare namespace Util {
4
4
 
5
- function post(url: string, obj: any|string): Promise<Response>;
5
+ function post(url: string, obj: any|string|null): Promise<Response>;
6
6
 
7
- function requestText(url: string, obj: any|string): Promise<Response>;
7
+ function requestText(url: string, obj: any|string|null): Promise<Response>;
8
8
 
9
9
  function requestByUrlEncoded(url: string, obj: string): Promise<Response>;
10
10
 
11
- function toJSON(resp: Response): Promise<any>;
11
+ function toJSON(resp: Response|null): Promise<any>;
12
12
 
13
- function toText(resp: Response): Promise<string>;
13
+ function toText(resp: Response|null): Promise<string>;
14
14
 
15
15
  }
16
16
 
17
- declare function extendObject(obj: any, extender?: any, limiters?: (string)[]): any;
17
+ declare function extendObject(obj: any, extender?: any, limiters?: (string)[]|null): any;
18
18
 
19
- declare function cloneObject(obj: any, limiters?: (string)[]): any;
19
+ declare function cloneObject(obj: any, limiters?: (string)[]|null): any;
20
20
 
21
- declare function arrayToObject(data?: any[], fields?: (string)[]): any|null|null;
21
+ declare function arrayToObject(data?: any[]|null, fields?: (string)[]|null): any|null|null;
22
22
 
23
23
  declare function extendProperty(obj: any, extender: any, propName: string): void;
24
24
 
25
25
  declare function extendArrayProperty(obj: any, propName: string, ary: any): any[]|null;
26
26
 
27
- declare function parseCondition(expression: string|((...params: any[]) => any)): ((...params: any[]) => any)|null;
27
+ declare function parseCondition(expression: string|((...params: any[]) => any)|null): ((...params: any[]) => any)|null;
28
28
 
29
- declare function prettifyCss(css: string|any[]): string;
29
+ declare function prettifyCss(css: string|any[]|null): string;
30
30
 
31
- declare function getShadowRoot(elem: Element): DocumentFragment|null;
31
+ declare function getShadowRoot(elem: Element|null): DocumentFragment|null;
32
32
 
33
- declare function injectCss(cssStr: string, targetContext?: Element): Element|null;
33
+ declare function injectCss(cssStr: string, targetContext?: Element|null): Element|null;
34
34
 
35
35
  declare function isIE(): boolean;
36
36
 
@@ -38,7 +38,7 @@ declare function isMac(): boolean;
38
38
 
39
39
  declare function isTouchDevice(): boolean;
40
40
 
41
- declare function nestedObjectToArray(obj: any, ary?: any[]): any[]|null;
41
+ declare function nestedObjectToArray(obj: any, ary?: any[]|null): any[]|null;
42
42
 
43
43
  declare function rgb2Hex(rgbCode: string): string;
44
44
 
@@ -4,7 +4,7 @@ declare namespace ADCService {
4
4
 
5
5
  function create(): any;
6
6
 
7
- function setDataCloudSettings(uuid?: string, productId?: string, adcUrl?: string, lang?: string): void;
7
+ function setDataCloudSettings(uuid?: string|null, productId?: string|null, adcUrl?: string|null, lang?: string|null): void;
8
8
 
9
9
  }
10
10
 
@@ -6,7 +6,7 @@ declare class ADCSubscription extends EventDispatcher {
6
6
 
7
7
  constructor();
8
8
 
9
- public setDataCloudSettings(userId: string, productId: string, url: string, opt_lang?: string): void;
9
+ public setDataCloudSettings(userId: string, productId: string, url: string, opt_lang?: string|null): void;
10
10
 
11
11
  public setIntervalTime(time: number): void;
12
12
 
@@ -4,7 +4,7 @@ declare namespace AdFinService {
4
4
 
5
5
  function create(): any;
6
6
 
7
- function setAdFinSettings(uuid?: (string|null), productId?: (string|null), adfinUrl?: (string|null)): void;
7
+ function setAdFinSettings(uuid?: (string|null)|null, productId?: (string|null)|null, adfinUrl?: (string|null)|null): void;
8
8
 
9
9
  }
10
10
 
@@ -12,7 +12,7 @@ declare class AdFinSubscription extends EventDispatcher {
12
12
 
13
13
  public setIntervalTime(time: number): void;
14
14
 
15
- public call(name: string, parameters: (string|number|null)[][]): any;
15
+ public call(name: string, parameters: (string|number|null)[][]|null): any;
16
16
 
17
17
  }
18
18
 
@@ -14,19 +14,19 @@ declare class Engine extends EventDispatcher {
14
14
 
15
15
  public static getContext(): { [key: string]: any };
16
16
 
17
- public static addContext(funcs: { [key: string]: ((...params: any[]) => any) }): void;
17
+ public static addContext(funcs: { [key: string]: ((...params: any[]) => any) }|null): void;
18
18
 
19
- public setFormulaDataGetter(func: ((...params: any[]) => any)): void;
19
+ public setFormulaDataGetter(func: ((...params: any[]) => any)|null): void;
20
20
 
21
- public setFormulaDataSetter(func: ((...params: any[]) => any)): void;
21
+ public setFormulaDataSetter(func: ((...params: any[]) => any)|null): void;
22
22
 
23
- public addFormula(userInput: Formula|string): Formula;
23
+ public addFormula(userInput: Formula|string|null): Formula;
24
24
 
25
- public removeFormula(ref?: Formula|string|number): Formula|null;
25
+ public removeFormula(ref?: Formula|string|number|null): Formula|null;
26
26
 
27
27
  public removeAllFormulas(): void;
28
28
 
29
- public getFormula(opt_ref: string|number): Formula|null;
29
+ public getFormula(opt_ref: string|number|null): Formula|null;
30
30
 
31
31
  public getFormulaByExpression(exp: string): Formula|null;
32
32
 
@@ -36,7 +36,7 @@ declare class Engine extends EventDispatcher {
36
36
 
37
37
  public getFormulaCount(): number;
38
38
 
39
- public addReference(src: string|Formula, ref: string): string;
39
+ public addReference(src: string|Formula|null, ref: string): string;
40
40
 
41
41
  public renameReference(oldRef: string, newRef: string): boolean;
42
42
 
@@ -44,9 +44,9 @@ declare class Engine extends EventDispatcher {
44
44
 
45
45
  public resolveReference(refName: string): string;
46
46
 
47
- public calculate(rowData: { [key: string]: any }, opt_changes?: { [key: string]: any }): void;
47
+ public calculate(rowData: { [key: string]: any }, opt_changes?: { [key: string]: any }|null): void;
48
48
 
49
- public isValidReference(formula: Formula, ref: string): boolean;
49
+ public isValidReference(formula: Formula|null, ref: string): boolean;
50
50
 
51
51
  }
52
52
 
@@ -4,7 +4,7 @@ import EventDispatcher from "../EventDispatcher.js";
4
4
 
5
5
  declare class Formula extends EventDispatcher {
6
6
 
7
- constructor(expression?: string, context?: any);
7
+ constructor(expression?: string|null, context?: any);
8
8
 
9
9
  public static readonly _isBoundFormula: { [key: string]: boolean }|null;
10
10
 
@@ -36,13 +36,13 @@ declare class Formula extends EventDispatcher {
36
36
 
37
37
  public static toUpperCase(exp: string): string;
38
38
 
39
- public static resolveTokens(exp: string, tokens: (VariableToken)[], calcHierarchy: (number)[][]): string;
39
+ public static resolveTokens(exp: string, tokens: (VariableToken)[]|null, calcHierarchy: (number)[][]|null): string;
40
40
 
41
- public addField(field: string, opt_src?: string): boolean;
41
+ public addField(field: string, opt_src?: string|null): boolean;
42
42
 
43
43
  public changeField(oldName: string, newName: string): boolean;
44
44
 
45
- public changeFields(oldNames: (string)[], newNames: (string)[]): boolean;
45
+ public changeFields(oldNames: (string)[]|null, newNames: (string)[]|null): boolean;
46
46
 
47
47
  public getRealtimeService(): any;
48
48
 
@@ -3,7 +3,7 @@ import {EventDispatcher} from "../EventDispatcher.js";
3
3
 
4
4
  declare class IntervalSubscription extends EventDispatcher {
5
5
 
6
- constructor(funcName?: string, func?: ((...params: any[]) => any), time?: number);
6
+ constructor(funcName?: string|null, func?: ((...params: any[]) => any)|null, time?: number|null);
7
7
 
8
8
  public setIntervalTime(time: number): void;
9
9
 
@@ -7,11 +7,11 @@ import {TSISubscription} from "./TSISubscription.js";
7
7
 
8
8
  declare namespace Realtime {
9
9
 
10
- function TR(param1: string, param2?: string): any} {lang=en;
10
+ function TR(param1: string, param2?: string|null): any} {lang=en;
11
11
 
12
- function RECORD(symbol: string, field: string|number): any} {lang=en;
12
+ function RECORD(symbol: string, field: string|number|null): any} {lang=en;
13
13
 
14
- function MTXSERIES(param1: string|number, param2: string|number, param3?: string): any} {lang=en;
14
+ function MTXSERIES(param1: string|number|null, param2: string|number|null, param3?: string|null): any} {lang=en;
15
15
 
16
16
  }
17
17
 
@@ -11,7 +11,7 @@ declare namespace RealtimeService {
11
11
 
12
12
  function getResolvedFieldName(fid: string): string|null|null;
13
13
 
14
- function resolveFieldId(formula: Formula, fid: string, obj?: any): Promise<any>;
14
+ function resolveFieldId(formula: Formula|null, fid: string, obj?: any): Promise<any>;
15
15
 
16
16
  }
17
17
 
@@ -4,7 +4,7 @@ declare namespace TSIService {
4
4
 
5
5
  function create(): any;
6
6
 
7
- function setTSISettings(sharedServiceUrl?: string, taServiceUrl?: string): void;
7
+ function setTSISettings(sharedServiceUrl?: string|null, taServiceUrl?: string|null): void;
8
8
 
9
9
  }
10
10
 
@@ -9,7 +9,7 @@ declare class TSISubscription extends EventDispatcher {
9
9
 
10
10
  public setIntervalTime(time: number): void;
11
11
 
12
- public setTSISettings(sharedServiceUrl?: string, taServiceUrl?: string): void;
12
+ public setTSISettings(sharedServiceUrl?: string|null, taServiceUrl?: string|null): void;
13
13
 
14
14
  public addSymbolAndFieldToPeriod(symbol: string, field: string, period: string): any;
15
15
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  declare class VariableToken {
4
4
 
5
- constructor(str: string, index?: number);
5
+ constructor(str: string, index?: number|null);
6
6
 
7
7
  public getExpression(): string;
8
8
 
@@ -6,7 +6,7 @@ declare class CollectionDict {
6
6
 
7
7
  public addItem(key: string, item: any): boolean;
8
8
 
9
- public addItems(key: string, items: any[]): boolean;
9
+ public addItems(key: string, items: any[]|null): boolean;
10
10
 
11
11
  public removeItem(key: string, item: any): boolean;
12
12
 
@@ -2,13 +2,13 @@ import DataSet from "./DataSet.js";
2
2
 
3
3
  declare class DataGenerator {
4
4
 
5
- constructor(seed?: number);
5
+ constructor(seed?: number|null);
6
6
 
7
7
  public static readonly seed: number|null;
8
8
 
9
- public generate(fields: string|(string)[], options?: (number|any)): (any[])[];
9
+ public generate(fields: string|(string)[]|null, options?: (number|any)|null): (any[])[];
10
10
 
11
- public generateRecords(fields: string|(string)[], options?: (number|any)): (any)[];
11
+ public generateRecords(fields: string|(string)[]|null, options?: (number|any)|null): (any)[];
12
12
 
13
13
  public generateQuoteData(field: string, options?: any): any;
14
14
 
@@ -16,81 +16,81 @@ declare class DataGenerator {
16
16
 
17
17
  public setSeed(seed: number): void;
18
18
 
19
- public randBetween(min?: number, max?: number): number;
19
+ public randBetween(min?: number|null, max?: number|null): number;
20
20
 
21
21
  public randInt(min: number, max: number): number;
22
22
 
23
23
  public randIndex(max: number): number;
24
24
 
25
- public randNumber(min?: number, max?: number, prec?: (number|null)): number;
25
+ public randNumber(min?: number|null, max?: number|null, prec?: (number|null)|null): number;
26
26
 
27
27
  public randBoolean(): boolean;
28
28
 
29
- public randMember(set: any[]): any;
29
+ public randMember(set: any[]|null): any;
30
30
 
31
- public randDate(min?: (number|any), max?: (number|any)): Date|null;
31
+ public randDate(min?: (number|any)|null, max?: (number|any)|null): Date|null;
32
32
 
33
- public randString(min?: number, max?: number): string;
33
+ public randString(min?: number|null, max?: number|null): string;
34
34
 
35
- public static generate(fields: string|(string)[], options?: any): (any[])[];
35
+ public static generate(fields: string|(string)[]|null, options?: any): (any[])[];
36
36
 
37
- public static generateRecord(fields: string|(string)[], options?: any): any;
37
+ public static generateRecord(fields: string|(string)[]|null, options?: any): any;
38
38
 
39
- public static generateRecords(fields: string|(string)[], options?: (number|any)): (any)[];
39
+ public static generateRecords(fields: string|(string)[]|null, options?: (number|any)|null): (any)[];
40
40
 
41
- public static addFieldInfo(field: string, options: any|((...params: any[]) => any)): void;
41
+ public static addFieldInfo(field: string, options: any|((...params: any[]) => any)|null): void;
42
42
 
43
- public static randNumber(min?: number, max?: number, prec?: (number|null), seed?: number): number;
43
+ public static randNumber(min?: number|null, max?: number|null, prec?: (number|null)|null, seed?: number|null): number;
44
44
 
45
- public static randInt(min: number, max: number, seed?: number): number;
45
+ public static randInt(min: number, max: number, seed?: number|null): number;
46
46
 
47
- public static randBetween(min?: number, max?: number, seed?: number): number;
47
+ public static randBetween(min?: number|null, max?: number|null, seed?: number|null): number;
48
48
 
49
- public static randIndex(max: number, seed?: number): number;
49
+ public static randIndex(max: number, seed?: number|null): number;
50
50
 
51
- public static randBoolean(seed?: number): boolean;
51
+ public static randBoolean(seed?: number|null): boolean;
52
52
 
53
- public static randMember(set: any[], seed?: number): any;
53
+ public static randMember(set: any[]|null, seed?: number|null): any;
54
54
 
55
- public static randDate(min?: (number|any), max?: (number|any), seed?: number): Date|null;
55
+ public static randDate(min?: (number|any)|null, max?: (number|any)|null, seed?: number|null): Date|null;
56
56
 
57
- public static randString(min?: number, max?: number, subType?: string, seed?: number): string;
57
+ public static randString(min?: number|null, max?: number|null, subType?: string|null, seed?: number|null): string;
58
58
 
59
59
  }
60
60
 
61
61
  declare function getFieldInfo(field: string): any;
62
62
 
63
- declare function addFieldInfo(field: string, options: any|((...params: any[]) => any)): void;
63
+ declare function addFieldInfo(field: string, options: any|((...params: any[]) => any)|null): void;
64
64
 
65
65
  declare function pseudoRandNumber(seed: number): number;
66
66
 
67
- declare function randNumber(min?: number, max?: number, prec?: (number|null), seed?: number): number;
67
+ declare function randNumber(min?: number|null, max?: number|null, prec?: (number|null)|null, seed?: number|null): number;
68
68
 
69
- declare function randInt(min: number, max: number, seed?: number): number;
69
+ declare function randInt(min: number, max: number, seed?: number|null): number;
70
70
 
71
- declare function randBetween(min?: number, max?: number, seed?: number): number;
71
+ declare function randBetween(min?: number|null, max?: number|null, seed?: number|null): number;
72
72
 
73
- declare function randIndex(max: number, seed?: number): number;
73
+ declare function randIndex(max: number, seed?: number|null): number;
74
74
 
75
- declare function randBoolean(seed?: number): boolean;
75
+ declare function randBoolean(seed?: number|null): boolean;
76
76
 
77
- declare function randMember(set: any[], seed?: number): any;
77
+ declare function randMember(set: any[]|null, seed?: number|null): any;
78
78
 
79
- declare function randDate(min?: (number|any), max?: (number|any), seed?: number): Date|null;
79
+ declare function randDate(min?: (number|any)|null, max?: (number|any)|null, seed?: number|null): Date|null;
80
80
 
81
- declare function randString(min?: number, max?: number, seed?: number): string;
81
+ declare function randString(min?: number|null, max?: number|null, seed?: number|null): string;
82
82
 
83
- declare function toRecords(data2D: (any[])[], fields?: (string)[]): (any)[]|null;
83
+ declare function toRecords(data2D: (any[])[]|null, fields?: (string)[]|null): (any)[]|null;
84
84
 
85
85
  declare function getSeed(): number;
86
86
 
87
- declare function generate(fields: string|(string)[], options?: any): (any[])[];
87
+ declare function generate(fields: string|(string)[]|null, options?: any): (any[])[];
88
88
 
89
- declare function generateRecord(fields: string|(string)[], options?: (number|any), seed?: number): any;
89
+ declare function generateRecord(fields: string|(string)[]|null, options?: (number|any)|null, seed?: number|null): any;
90
90
 
91
- declare function generateRecords(fields: string|(string)[], options?: (number|any)): (any)[];
91
+ declare function generateRecords(fields: string|(string)[]|null, options?: (number|any)|null): (any)[];
92
92
 
93
- declare function generateQuoteData(field: string, options?: any, seed?: number): any;
93
+ declare function generateQuoteData(field: string, options?: any, seed?: number|null): any;
94
94
 
95
95
  export default DataGenerator;
96
96
  export {
@@ -14,7 +14,7 @@ declare class MockArchive {
14
14
 
15
15
  public save(): void;
16
16
 
17
- public filter(func: ((...params: any[]) => any)): any[];
17
+ public filter(func: ((...params: any[]) => any)|null): any[];
18
18
 
19
19
  }
20
20
 
@@ -5,11 +5,11 @@ import {mockDataAPI} from "./mockDataAPI.js";
5
5
 
6
6
  declare class MockJET {
7
7
 
8
- constructor();
8
+ constructor(options?: any);
9
9
 
10
- public init(opt_obj?: any): MockJET|null;
10
+ public init(options?: any): MockJET|null;
11
11
 
12
- public onLoad(handler: ((...params: any[]) => any)): MockJET|null;
12
+ public onLoad(handler: ((...params: any[]) => any)|null): MockJET|null;
13
13
 
14
14
  public navigate(obj: any): MockJET|null;
15
15
 
@@ -17,7 +17,7 @@ declare class MockJET {
17
17
 
18
18
  public getUserInfo(): Promise<any>|null;
19
19
 
20
- public contextChange(contextAry: any[]): void;
20
+ public contextChange(contextAry: any[]|null): void;
21
21
 
22
22
  }
23
23
 
@@ -3,20 +3,28 @@ import {MockQuotes2} from "./MockQuotes2.js";
3
3
  import {MockArchive} from "./MockArchive.js";
4
4
  import {mockDataAPI} from "./mockDataAPI.js";
5
5
 
6
- /** @constructor */
7
- var MockJET = function() {
6
+ /** @constructor
7
+ * @param {Object=} options
8
+ */
9
+ var MockJET = function(options) {
8
10
  this["Quotes"] = new MockQuotes();
9
11
  this["Quotes2"] = new MockQuotes2();
10
12
  this["Archive"] = new MockArchive();
11
13
  this["ContainerDescription"] = true;
12
14
  this["Data"] = mockDataAPI;
15
+ if(options) {
16
+ this["Quotes2"].config(options);
17
+ }
13
18
  };
14
19
 
15
20
  /** @public
16
- * @param {Object=} opt_obj
21
+ * @param {Object=} options
17
22
  * @return {MockJET}
18
23
  */
19
- MockJET.prototype.init = function(opt_obj) {
24
+ MockJET.prototype.init = function(options) {
25
+ if(options) {
26
+ this["Quotes2"].config(options);
27
+ }
20
28
  return this;
21
29
  };
22
30