@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
@@ -6,43 +6,43 @@ declare namespace FilterBuilder {
6
6
 
7
7
  type Options = {
8
8
  field: string,
9
- formatter?: ((...params: any[]) => any),
10
- formattedField?: string
9
+ formatter?: ((...params: any[]) => any)|null,
10
+ formattedField?: string|null
11
11
  };
12
12
 
13
- type Condition = any[];
13
+ type Condition = any[]|null;
14
14
 
15
- type Conditions = (FilterBuilder.Condition)[];
15
+ type Conditions = (FilterBuilder.Condition)[]|null;
16
16
 
17
17
  }
18
18
 
19
19
  declare class FilterBuilder {
20
20
 
21
- constructor(options?: FilterBuilder.Options);
21
+ constructor(options?: FilterBuilder.Options|null);
22
22
 
23
23
  public reset(): void;
24
24
 
25
- public init(options?: FilterBuilder.Options): void;
25
+ public init(options?: FilterBuilder.Options|null): void;
26
26
 
27
- public setFieldDefinition(fieldName: string, formatter?: ((...params: any[]) => any), formattedField?: string): void;
27
+ public setFieldDefinition(fieldName: string, formatter?: ((...params: any[]) => any)|null, formattedField?: string|null): void;
28
28
 
29
- public setDataAccessors(rawDataAccessor?: ((...params: any[]) => any), formattedDataAccessor?: ((...params: any[]) => any)): void;
29
+ public setDataAccessors(rawDataAccessor?: ((...params: any[]) => any)|null, formattedDataAccessor?: ((...params: any[]) => any)|null): void;
30
30
 
31
- public addCondition(oper: string, value: string|number, connector?: string): boolean;
31
+ public addCondition(oper: string, value: string|number|null, connector?: string|null, useUTCTime?: boolean|null): boolean;
32
32
 
33
- public addConditions(conditions: FilterBuilder.Conditions): number;
33
+ public addConditions(conditions: FilterBuilder.Conditions|null): number;
34
34
 
35
35
  public getConditions(): FilterBuilder.Conditions|null;
36
36
 
37
37
  public buildFilter(): ((...params: any[]) => any)|null;
38
38
 
39
- public buildMonitorFilter(filterStr: string, field: string, formatter?: ((...params: any[]) => any), formattedField?: string): ((...params: any[]) => any)|null;
39
+ public buildMonitorFilter(filterStr: string, field: string, formatter?: ((...params: any[]) => any)|null, formattedField?: string|null): ((...params: any[]) => any)|null;
40
40
 
41
- public parse(condition: any, field?: string, formatter?: ((...params: any[]) => any), formattedField?: string, rawDataAccessor?: ((...params: any[]) => any), formattedDataAccessor?: ((...params: any[]) => any)): ((...params: any[]) => any)|null;
41
+ public parse(condition: any, field?: string|null, formatter?: ((...params: any[]) => any)|null, formattedField?: string|null, rawDataAccessor?: ((...params: any[]) => any)|null, formattedDataAccessor?: ((...params: any[]) => any)|null): ((...params: any[]) => any)|null;
42
42
 
43
43
  }
44
44
 
45
- declare function buildFilterFromObjectMap(obj: any, field: string, rawDataAccessor?: ((...params: any[]) => any)): ((...params: any[]) => any)|null;
45
+ declare function buildFilterFromObjectMap(obj: any, field: string, rawDataAccessor?: ((...params: any[]) => any)|null): ((...params: any[]) => any)|null;
46
46
 
47
47
  export default FilterBuilder;
48
48
  export { FilterBuilder, buildFilterFromObjectMap };
@@ -169,9 +169,10 @@ FilterBuilder.prototype.setDataAccessors = function(rawDataAccessor, formattedDa
169
169
  * @param {string} oper Operator id (e.g., "GT", "CONT", "EQ")
170
170
  * @param {string|number} value
171
171
  * @param {string=} connector Possible values are "OR" and "AND"
172
+ * @param {boolean=} useUTCTime If false use local time for filtering
172
173
  * @return {boolean} Return true, if the new condition is added
173
174
  */
174
- FilterBuilder.prototype.addCondition = function (oper, value, connector) {
175
+ FilterBuilder.prototype.addCondition = function (oper, value, connector, useUTCTime) {
175
176
  oper = oper ? oper.toUpperCase() : "";
176
177
  var opDef = FilterOperators[oper];
177
178
  if (!opDef) {
@@ -190,7 +191,8 @@ FilterBuilder.prototype.addCondition = function (oper, value, connector) {
190
191
  this._conditions.push({
191
192
  operatorId: oper,
192
193
  value: value,
193
- connector: connector || ""
194
+ connector: connector || "",
195
+ useUTCTime: useUTCTime
194
196
  });
195
197
 
196
198
  return true;
@@ -206,7 +208,7 @@ FilterBuilder.prototype.addConditions = function (conditions) {
206
208
  for(var i = 0; i < len; ++i) {
207
209
  var condition = conditions[i];
208
210
  if(Array.isArray(condition)) {
209
- if(this.addCondition(condition[0], condition[1], condition[2])) {
211
+ if(this.addCondition(condition[0], condition[1], condition[2], condition[3])) {
210
212
  ++count;
211
213
  }
212
214
  }
@@ -312,11 +314,6 @@ FilterBuilder.prototype.buildFilter = function() {
312
314
  filterStr.push("var ts = 0;");
313
315
  filterStr.push("if(!val || val != val || !val.getTime) {");
314
316
  filterStr.push(" return false;");
315
- filterStr.push("} else {");
316
- filterStr.push(" ts = val.getTime();");
317
- filterStr.push(" if(ts !== ts) {");
318
- filterStr.push(" return false;");
319
- filterStr.push(" }");
320
317
  filterStr.push("}");
321
318
  }
322
319
 
@@ -366,6 +363,16 @@ FilterBuilder.prototype.buildFilter = function() {
366
363
  } else if(opDef.type === "date") {
367
364
  if(DateTime.isValidDate(inputVal)) {
368
365
  var varName;
366
+ if(!cond.useUTCTime){
367
+ filterStr.push("ts = new Date(val.getFullYear(),val.getMonth(),val.getDate())");
368
+ } else {
369
+ filterStr.push("ts = new Date(Date.UTC(val.getUTCFullYear(),val.getUTCMonth(),val.getUTCDate()))");
370
+ }
371
+ filterStr.push("ts = ts.getTime()");
372
+ filterStr.push("if(ts !== ts) {");
373
+ filterStr.push(" return false;");
374
+ filterStr.push("}");
375
+
369
376
  if(cond.operatorId === "DT") {
370
377
  varName = "ts" + (i + 1);
371
378
  inputVal = inputVal.getTime();
@@ -11,28 +11,28 @@ declare namespace FilterOperators {
11
11
  };
12
12
 
13
13
  type Operators = {
14
- EQ: FilterOperators.Operator,
15
- NEQ: FilterOperators.Operator,
16
- NUMEQ: FilterOperators.Operator,
17
- NUMNEQ: FilterOperators.Operator,
18
- GT: FilterOperators.Operator,
19
- GTE: FilterOperators.Operator,
20
- LT: FilterOperators.Operator,
21
- LTE: FilterOperators.Operator,
22
- BEGIN: FilterOperators.Operator,
23
- NBEGIN: FilterOperators.Operator,
24
- END: FilterOperators.Operator,
25
- NEND: FilterOperators.Operator,
26
- CONT: FilterOperators.Operator,
27
- NCONT: FilterOperators.Operator,
28
- EQ_BLANK: FilterOperators.Operator,
29
- EQ_NBLANK: FilterOperators.Operator,
30
- DT: FilterOperators.Operator,
31
- DTA: FilterOperators.Operator,
32
- DTB: FilterOperators.Operator,
33
- TXTEQ: FilterOperators.Operator,
34
- BLANK: FilterOperators.Operator,
35
- NBLANK: FilterOperators.Operator
14
+ EQ: FilterOperators.Operator|null,
15
+ NEQ: FilterOperators.Operator|null,
16
+ NUMEQ: FilterOperators.Operator|null,
17
+ NUMNEQ: FilterOperators.Operator|null,
18
+ GT: FilterOperators.Operator|null,
19
+ GTE: FilterOperators.Operator|null,
20
+ LT: FilterOperators.Operator|null,
21
+ LTE: FilterOperators.Operator|null,
22
+ BEGIN: FilterOperators.Operator|null,
23
+ NBEGIN: FilterOperators.Operator|null,
24
+ END: FilterOperators.Operator|null,
25
+ NEND: FilterOperators.Operator|null,
26
+ CONT: FilterOperators.Operator|null,
27
+ NCONT: FilterOperators.Operator|null,
28
+ EQ_BLANK: FilterOperators.Operator|null,
29
+ EQ_NBLANK: FilterOperators.Operator|null,
30
+ DT: FilterOperators.Operator|null,
31
+ DTA: FilterOperators.Operator|null,
32
+ DTB: FilterOperators.Operator|null,
33
+ TXTEQ: FilterOperators.Operator|null,
34
+ BLANK: FilterOperators.Operator|null,
35
+ NBLANK: FilterOperators.Operator|null
36
36
  };
37
37
 
38
38
  }
@@ -153,21 +153,21 @@ var FilterOperators = {
153
153
  type: "date",
154
154
  positive: 1,
155
155
  caseSensitive: 1,
156
- formula: "Math.floor(ts / 86400000) === Math.floor(input / 86400000)"
156
+ formula: "ts === input"
157
157
  },
158
158
  DTA: {
159
159
  name: "Date is After",
160
160
  type: "date",
161
161
  positive: 1,
162
162
  caseSensitive: 1,
163
- formula: "Math.floor(ts / 86400000) > Math.floor(input / 86400000)"
163
+ formula: "ts > input"
164
164
  },
165
165
  DTB: {
166
166
  name: "Date is Before",
167
167
  type: "date",
168
168
  positive: 1,
169
169
  caseSensitive: 1,
170
- formula: "Math.floor(ts / 86400000) < Math.floor(input / 86400000)"
170
+ formula: "ts < input"
171
171
  }
172
172
  };
173
173
 
@@ -6,11 +6,11 @@ declare class GridPlugin extends EventDispatcher {
6
6
 
7
7
  constructor();
8
8
 
9
- public listen(type: string, handler: ((...params: any[]) => any)): void;
9
+ public listen(type: string, handler: ((...params: any[]) => any)|null): void;
10
10
 
11
- public unlisten(type: string, handler: ((...params: any[]) => any)): void;
11
+ public unlisten(type: string, handler: ((...params: any[]) => any)|null): void;
12
12
 
13
- public afterInit(elem?: Element, model?: any, grid?: any): void;
13
+ public afterInit(elem?: Element|null, model?: any, grid?: any): void;
14
14
 
15
15
  public hasMultiTableSupport(): boolean;
16
16
 
@@ -20,19 +20,19 @@ declare class GridPlugin extends EventDispatcher {
20
20
 
21
21
  public unload(host?: any): void;
22
22
 
23
- public getRelativeGrid(e: Event|Element|any): any|null;
23
+ public getRelativeGrid(e: Event|Element|any): any;
24
24
 
25
25
  public setGridWrapper(gridType: string, wrapperInstance: any): void;
26
26
 
27
- public getGridApi(coreRef?: (number|any)): any;
27
+ public getGridApi(coreRef?: (number|any)|null): any;
28
28
 
29
- public getColumnName(colRef: number|string): string;
29
+ public getColumnName(colRef: number|string|null): string;
30
30
 
31
- public getColumnIndex(colId: number|string): number;
31
+ public getColumnIndex(colId: number|string|null): number;
32
32
 
33
- public getColumnIndices(colRefs: (number|string)[]): (number)[]|null;
33
+ public getColumnIndices(colRefs: (number|string)[]|null): (number)[]|null;
34
34
 
35
- public getColumnId(colIndex: number|string): string;
35
+ public getColumnId(colIndex: number|string|null): string;
36
36
 
37
37
  public getColumnCount(): number;
38
38
 
@@ -42,7 +42,7 @@ declare class GridPlugin extends EventDispatcher {
42
42
 
43
43
  declare function gridAPI(gridType: string, wrapperInstance: any): void;
44
44
 
45
- declare function exportExtension(winObj: Window|any, plugin: GridPlugin): void;
45
+ declare function exportExtension(winObj: Window|any|null, plugin: GridPlugin|null): void;
46
46
 
47
47
  declare function defaultDataGetter(field: string, dvRowData: any): any;
48
48
 
@@ -581,6 +581,26 @@ GridPlugin.prototype._setRowData = function(dv, rowIndex, rowData) {
581
581
  dv.setRowDataAt(rowIndex, rowData);
582
582
  }
583
583
  };
584
+
585
+ /** @protected
586
+ * @ignore
587
+ * @param {tr.DataView} dv
588
+ * @param {number} rowIndex
589
+ * @param {string} field
590
+ * @param {*} value
591
+ */
592
+ GridPlugin.prototype._setStaticData = function(dv, rowIndex, field, value) {
593
+ if(this._realTimeGrid) {
594
+ var dvRowData = dv.getRowDataAt(rowIndex);
595
+ if(dvRowData) {
596
+ dvRowData["ROW_DEF"].setStaticData(field, value);
597
+ }
598
+ } else {
599
+ // TODO: composite grid should be has staticValues when get configObject, wait for request feature
600
+ dv.setDataAt(rowIndex, field, value);
601
+ }
602
+ };
603
+
584
604
  /** Set data in a column manner. This is faster than repeatedly calling this._setData
585
605
  * @protected
586
606
  * @ignore
@@ -2,11 +2,11 @@
2
2
 
3
3
  declare namespace Icon {
4
4
 
5
- function create(iconName?: string, className?: string): Element;
5
+ function create(iconName?: string|null, className?: string|null): Element;
6
6
 
7
- function box(iconName?: string, className?: string, boxRef?: (string|Element)): Element;
7
+ function box(iconName?: string|null, className?: string|null, boxRef?: (string|Element)|null): Element;
8
8
 
9
- function change(iconElem: Element, iconName?: string): void;
9
+ function change(iconElem: Element|null, iconName?: string|null): void;
10
10
 
11
11
  }
12
12
 
@@ -5,26 +5,26 @@ import {TouchProxy} from "./TouchProxy.js";
5
5
  declare namespace MouseDownTrait {
6
6
 
7
7
  type Options = {
8
- useDragStart?: boolean,
9
- useTouchMove?: boolean,
10
- preventDefault?: boolean
8
+ useDragStart?: boolean|null,
9
+ useTouchMove?: boolean|null,
10
+ preventDefault?: boolean|null
11
11
  };
12
12
 
13
13
  }
14
14
 
15
15
  declare class MouseDownTrait extends EventDispatcher {
16
16
 
17
- constructor(elem?: Element, options?: (string|MouseDownTrait.Options));
17
+ constructor(elem?: Element|null, options?: (string|MouseDownTrait.Options)|null);
18
18
 
19
19
  public dispose(): void;
20
20
 
21
- public disable(opt_bool?: boolean): void;
21
+ public disable(opt_bool?: boolean|null): void;
22
22
 
23
- public enable(opt_bool?: boolean): void;
23
+ public enable(opt_bool?: boolean|null): void;
24
24
 
25
25
  public getElement(): Element|null;
26
26
 
27
- public setElement(elem?: Element): void;
27
+ public setElement(elem?: Element|null): void;
28
28
 
29
29
  public reset(): void;
30
30
 
@@ -34,7 +34,7 @@ declare class MouseDownTrait extends EventDispatcher {
34
34
 
35
35
  public isMouseUp(): boolean;
36
36
 
37
- public getDuration(dateObj?: Date): number;
37
+ public getDuration(dateObj?: Date|null): number;
38
38
 
39
39
  }
40
40
 
@@ -6,9 +6,9 @@ import { Dom } from "./Dom.js";
6
6
 
7
7
  declare class MultiTableManager {
8
8
 
9
- constructor(gridElem: Element);
9
+ constructor(gridElem: Element|null);
10
10
 
11
- public static synchronizeVScrollbar(vScrollbarHost: Element, hScrollbarHost: Element, gridElems: (Element)[]): Promise<any[]>|null;
11
+ public static synchronizeVScrollbar(vScrollbarHost: Element|null, hScrollbarHost: Element|null, gridElems: (Element)[]|null): Promise<any[]>|null;
12
12
 
13
13
  public setGridConfig(configObj?: any): void;
14
14
 
@@ -20,15 +20,15 @@ declare class MultiTableManager {
20
20
 
21
21
  public wrapTable(rowCount: number): void;
22
22
 
23
- public getTable(at?: number): Element|null;
23
+ public getTable(at?: number|null): Element|null;
24
24
 
25
- public insertRow(rowOption?: any, at?: number): void;
25
+ public insertRow(rowOption?: any, at?: number|null): void;
26
26
 
27
- public removeRow(at?: number): void;
27
+ public removeRow(at?: number|null): void;
28
28
 
29
29
  public getRowCount(): number;
30
30
 
31
- public insertColumn(columnOption: any, idx?: number): void;
31
+ public insertColumn(columnOption: any, idx?: number|null): void;
32
32
 
33
33
  public removeColumn(colRef: any): void;
34
34
 
@@ -3,25 +3,25 @@
3
3
  declare namespace NumberFormatter {
4
4
 
5
5
  type Options = {
6
- formatType?: string,
6
+ formatType?: string|null,
7
7
  type: string,
8
- precisionEnabled?: boolean,
9
- decimalPlaces?: number,
10
- plusSign?: boolean,
11
- separator?: boolean,
12
- percentSign?: boolean,
13
- scalingUnit?: string,
14
- multiplyBy100?: boolean,
15
- mutiplyBy100?: boolean
8
+ precisionEnabled?: boolean|null,
9
+ decimalPlaces?: number|null,
10
+ plusSign?: boolean|null,
11
+ separator?: boolean|null,
12
+ percentSign?: boolean|null,
13
+ scalingUnit?: string|null,
14
+ multiplyBy100?: boolean|null,
15
+ mutiplyBy100?: boolean|null
16
16
  };
17
17
 
18
18
  }
19
19
 
20
20
  declare class NumberFormatter {
21
21
 
22
- constructor(options?: NumberFormatter.Options);
22
+ constructor(options?: NumberFormatter.Options|null);
23
23
 
24
- public init(options?: NumberFormatter.Options): void;
24
+ public init(options?: NumberFormatter.Options|null): void;
25
25
 
26
26
  public resetToDefaults(): void;
27
27
 
@@ -35,21 +35,21 @@ declare class NumberFormatter {
35
35
 
36
36
  public enableDefaultFormat(): void;
37
37
 
38
- public enablePrecision(bool?: boolean): void;
38
+ public enablePrecision(bool?: boolean|null): void;
39
39
 
40
- public enableSeparator(bool?: boolean): void;
40
+ public enableSeparator(bool?: boolean|null): void;
41
41
 
42
- public enablePercentSign(bool?: boolean): void;
42
+ public enablePercentSign(bool?: boolean|null): void;
43
43
 
44
- public enablePercentFormat(bool?: boolean): void;
44
+ public enablePercentFormat(bool?: boolean|null): void;
45
45
 
46
- public enablePlusSign(bool?: boolean): void;
46
+ public enablePlusSign(bool?: boolean|null): void;
47
47
 
48
- public enableMultiplyBy100(bool?: boolean): void;
48
+ public enableMultiplyBy100(bool?: boolean|null): void;
49
49
 
50
- public enableMillionScaling(bool?: boolean): void;
50
+ public enableMillionScaling(bool?: boolean|null): void;
51
51
 
52
- public enableBillionScaling(bool?: boolean): void;
52
+ public enableBillionScaling(bool?: boolean|null): void;
53
53
 
54
54
  public isDefaultFormatEnabled(): boolean;
55
55
 
@@ -20,7 +20,7 @@
20
20
  */
21
21
  var _multiplyByHundred = function(num) {
22
22
  var intPart = num | 0;
23
- if(intPart && num > intPart) {
23
+ if(num > intPart) {
24
24
  var str = num + "";
25
25
  var at = str.indexOf(".");
26
26
  var fracStr = str.slice(at + 1) + "00";
@@ -5,23 +5,23 @@ import { injectCss, prettifyCss } from "./Util.js";
5
5
  declare namespace PercentBar {
6
6
 
7
7
  type Options = {
8
- alignment?: string,
9
- movementColor?: boolean,
10
- barColor?: string,
11
- textHidden?: boolean,
12
- textWidth?: (number|string),
13
- zeroValueHidden?: boolean
8
+ alignment?: string|null,
9
+ movementColor?: boolean|null,
10
+ barColor?: string|null,
11
+ textHidden?: boolean|null,
12
+ textWidth?: (number|string)|null,
13
+ zeroValueHidden?: boolean|null
14
14
  };
15
15
 
16
16
  }
17
17
 
18
18
  declare class PercentBar {
19
19
 
20
- constructor(elem?: (Element|null), options?: PercentBar.Options);
20
+ constructor(elem?: (Element|null)|null, options?: PercentBar.Options|null);
21
21
 
22
- public static injectCss(hostElem: Element): void;
22
+ public static injectCss(hostElem: Element|null): void;
23
23
 
24
- public static toAlignment(str: string|null): string;
24
+ public static toAlignment(str: string|null|null): string;
25
25
 
26
26
  public getElement(): Element|null;
27
27
 
@@ -31,21 +31,21 @@ declare class PercentBar {
31
31
 
32
32
  public isInvalid(): boolean;
33
33
 
34
- public setValue(value: number, opt_max?: number, displayText?: (string|boolean)): void;
34
+ public setValue(value: number, opt_max?: number|null, displayText?: (string|boolean)|null): void;
35
35
 
36
36
  public setMax(absVal: number): void;
37
37
 
38
- public hideZeroValue(hidden?: boolean): boolean;
38
+ public hideZeroValue(hidden?: boolean|null): boolean;
39
39
 
40
40
  public setText(txt: string): void;
41
41
 
42
- public hideText(hidden?: boolean): boolean;
42
+ public hideText(hidden?: boolean|null): boolean;
43
43
 
44
44
  public isTextHidden(): boolean;
45
45
 
46
- public setTextWidth(width: number|string): void;
46
+ public setTextWidth(width: number|string|null): void;
47
47
 
48
- public setMaxTextLength(width: number|string): void;
48
+ public setMaxTextLength(width: number|string|null): void;
49
49
 
50
50
  public getTextScrollWidth(): number;
51
51
 
@@ -53,19 +53,19 @@ declare class PercentBar {
53
53
 
54
54
  public setAlignment(alignment: string): void;
55
55
 
56
- public useMovementColor(opt_enabled?: boolean): void;
56
+ public useMovementColor(opt_enabled?: boolean|null): void;
57
57
 
58
- public setTrackColor(color?: string): void;
58
+ public setTrackColor(color?: string|null): void;
59
59
 
60
- public setBarColor(color?: string): void;
60
+ public setBarColor(color?: string|null): void;
61
61
 
62
- public enableTooltip(enabled?: boolean): void;
62
+ public enableTooltip(enabled?: boolean|null): void;
63
63
 
64
64
  public updateBarColor(): void;
65
65
 
66
66
  }
67
67
 
68
- declare function toAlignment(str: string|null): string;
68
+ declare function toAlignment(str: string|null|null): string;
69
69
 
70
70
  export default PercentBar;
71
71
  export { PercentBar, toAlignment };
@@ -2,7 +2,7 @@
2
2
 
3
3
  declare namespace Perf {
4
4
 
5
- function enable(enabled?: boolean): void;
5
+ function enable(enabled?: boolean|null): void;
6
6
 
7
7
  function isEnabled(): boolean;
8
8
 
@@ -14,15 +14,15 @@ declare namespace Perf {
14
14
 
15
15
  function getEntries(): (PerformanceEntry)[]|null;
16
16
 
17
- function getEntriesByName(entryName: string, entryType?: string): (PerformanceEntry)[]|null;
17
+ function getEntriesByName(entryName: string, entryType?: string|null): (PerformanceEntry)[]|null;
18
18
 
19
19
  function getEntriesByType(entryType: string): (PerformanceEntry)[]|null;
20
20
 
21
- function getEntry(entryName: string, entryType?: string): PerformanceEntry|null;
21
+ function getEntry(entryName: string, entryType?: string|null): PerformanceEntry|null;
22
22
 
23
23
  function mark(markName: string): void;
24
24
 
25
- function measure(measureName: string, mark1?: string, mark2?: string): void;
25
+ function measure(measureName: string, mark1?: string|null, mark2?: string|null): void;
26
26
 
27
27
  function now(): number;
28
28
 
@@ -5,17 +5,18 @@ import { Dom } from './Dom.js';
5
5
  declare namespace Popup {
6
6
 
7
7
  type Options = {
8
- positioning?: Popup.Positioning,
9
- autoHiding?: boolean,
10
- hoverToShow?: boolean,
11
- autoClipping?: boolean,
12
- attachedElement?: Element,
13
- focusElement?: Element,
14
- focusElements?: (Element)[],
15
- parentElement?: Element,
16
- contentElement?: Element,
17
- popupChild?: Popup,
18
- uiBlocking?: boolean
8
+ positioning?: Popup.Positioning|null,
9
+ autoHiding?: boolean|null,
10
+ hoverToShow?: boolean|null,
11
+ autoClipping?: boolean|null,
12
+ attachedElement?: Element|null,
13
+ focusElement?: Element|null,
14
+ focusElements?: (Element)[]|null,
15
+ parentElement?: Element|null,
16
+ contentElement?: Element|null,
17
+ popupChild?: Popup|null,
18
+ uiBlocking?: boolean|null,
19
+ hideOnScroll?: boolean|null
19
20
  };
20
21
 
21
22
  type Positioning = string;
@@ -24,61 +25,63 @@ declare namespace Popup {
24
25
 
25
26
  declare class Popup extends EventDispatcher {
26
27
 
27
- constructor(popupElem?: (Element|Popup.Options), options?: Popup.Options);
28
+ constructor(popupElem?: (Element|Popup.Options)|null, options?: Popup.Options|null);
28
29
 
29
30
  public dispose(): void;
30
31
 
31
32
  public getElement(): Element|null;
32
33
 
33
- public appendChild(childElem: Element): void;
34
+ public appendChild(childElem: Element|null): void;
34
35
 
35
- public disable(opt_bool?: boolean): void;
36
+ public disable(opt_bool?: boolean|null): void;
36
37
 
37
- public enable(opt_bool?: boolean): void;
38
+ public enable(opt_bool?: boolean|null): void;
38
39
 
39
- public init(options?: Popup.Options): void;
40
+ public init(options?: Popup.Options|null): void;
40
41
 
41
- public attachTo(elem: Element, positioning?: Popup.Positioning): void;
42
+ public attachTo(elem: Element|null, positioning?: Popup.Positioning|null): void;
42
43
 
43
- public setAttachedElement(elem: Element, positioning?: Popup.Positioning): void;
44
+ public setAttachedElement(elem: Element|null, positioning?: Popup.Positioning|null): void;
44
45
 
45
- public addFocusElement(elem: Element): void;
46
+ public addFocusElement(elem: Element|null): void;
46
47
 
47
- public removeFocusElement(elem: Element): void;
48
+ public removeFocusElement(elem: Element|null): void;
48
49
 
49
- public addPopupChild(popup?: Popup): Popup;
50
+ public addPopupChild(popup?: Popup|null): Popup;
50
51
 
51
- public setPopupGap(gap?: number): void;
52
+ public setPopupGap(gap?: number|null): void;
52
53
 
53
- public setParentElement(parentElement: Element): Element|null;
54
+ public setParentElement(parentElement: Element|null): Element|null;
54
55
 
55
- public show(opt_shown?: boolean, parentElement?: Element): void;
56
+ public show(opt_shown?: boolean|null, parentElement?: Element|null): void;
56
57
 
57
- public hide(opt_hidden?: boolean): void;
58
+ public hide(opt_hidden?: boolean|null): void;
58
59
 
59
- public toggle(force?: boolean, parentElement?: Element): void;
60
+ public toggle(force?: boolean|null, parentElement?: Element|null): void;
60
61
 
61
62
  public isShown(): boolean;
62
63
 
63
64
  public isHidden(): boolean;
64
65
 
65
- public contains(elems: Element|(Element)[]): boolean;
66
+ public contains(elems: Element|(Element)[]|null): boolean;
66
67
 
67
- public setPositioning(posType: Popup.Positioning): void;
68
+ public setPositioning(posType: Popup.Positioning|null): void;
68
69
 
69
- public disableAutoHiding(opt_disabled?: boolean): void;
70
+ public disableAutoHiding(opt_disabled?: boolean|null): void;
70
71
 
71
- public disableAutoClipping(opt_disabled?: boolean): void;
72
+ public disableAutoClipping(opt_disabled?: boolean|null): void;
73
+
74
+ public disableHideOnScroll(opt_disabled?: boolean|null): void;
72
75
 
73
76
  public updatePosition(): void;
74
77
 
75
- public enableUIBlocking(bool?: boolean): boolean;
78
+ public enableUIBlocking(bool?: boolean|null): boolean;
76
79
 
77
80
  }
78
81
 
79
- declare function containElements(parentElem: Element, e: MouseEvent): boolean;
82
+ declare function containElements(parentElem: Element|null, e: MouseEvent|null): boolean;
80
83
 
81
- declare function fe(elem: Element, positioning?: Popup.Positioning): void;
84
+ declare function fe(elem: Element|null, positioning?: Popup.Positioning|null): void;
82
85
 
83
86
  export { Popup, containElements };
84
87
  export default Popup;