@refinitiv-ui/efx-grid 0.0.0-dev.12023565035.1

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 (864) hide show
  1. package/LICENSE +17 -0
  2. package/README.md +61 -0
  3. package/lib/column-dragging/es6/ColumnDragging.d.ts +51 -0
  4. package/lib/column-dragging/es6/ColumnDragging.js +968 -0
  5. package/lib/column-dragging/es6/index.d.ts +1 -0
  6. package/lib/column-dragging/es6/index.js +1 -0
  7. package/lib/column-format-dialog/index.d.ts +2 -0
  8. package/lib/column-format-dialog/index.js +2 -0
  9. package/lib/column-format-dialog/lib/column-format-dialog.d.ts +77 -0
  10. package/lib/column-format-dialog/lib/column-format-dialog.js +2688 -0
  11. package/lib/column-format-dialog/lib/locale/translation-de.d.ts +7 -0
  12. package/lib/column-format-dialog/lib/locale/translation-de.js +94 -0
  13. package/lib/column-format-dialog/lib/locale/translation-en.d.ts +7 -0
  14. package/lib/column-format-dialog/lib/locale/translation-en.js +94 -0
  15. package/lib/column-format-dialog/lib/locale/translation-ja.d.ts +7 -0
  16. package/lib/column-format-dialog/lib/locale/translation-ja.js +94 -0
  17. package/lib/column-format-dialog/lib/locale/translation-zh-hant.d.ts +7 -0
  18. package/lib/column-format-dialog/lib/locale/translation-zh-hant.js +94 -0
  19. package/lib/column-format-dialog/lib/locale/translation-zh.d.ts +7 -0
  20. package/lib/column-format-dialog/lib/locale/translation-zh.js +94 -0
  21. package/lib/column-format-dialog/lib/locale/translation.d.ts +11 -0
  22. package/lib/column-format-dialog/lib/locale/translation.js +18 -0
  23. package/lib/column-format-dialog/lib/preview-table.d.ts +151 -0
  24. package/lib/column-format-dialog/lib/preview-table.js +982 -0
  25. package/lib/column-format-dialog/themes/base.less +429 -0
  26. package/lib/column-format-dialog/themes/elemental/column-format-dialog.less +1 -0
  27. package/lib/column-format-dialog/themes/elemental/dark/column-format-dialog.js +4 -0
  28. package/lib/column-format-dialog/themes/elemental/dark/css/native-elements.css +0 -0
  29. package/lib/column-format-dialog/themes/elemental/dark/es5/all-elements.js +2 -0
  30. package/lib/column-format-dialog/themes/elemental/dark/imports/all-elements.js +1 -0
  31. package/lib/column-format-dialog/themes/elemental/dark/imports/custom-elements.js +1 -0
  32. package/lib/column-format-dialog/themes/elemental/dark/imports/native-elements.js +0 -0
  33. package/lib/column-format-dialog/themes/elemental/dark.js +16 -0
  34. package/lib/column-format-dialog/themes/elemental/defaults.less +1 -0
  35. package/lib/column-format-dialog/themes/elemental/index.less +5 -0
  36. package/lib/column-format-dialog/themes/elemental/light/column-format-dialog.js +4 -0
  37. package/lib/column-format-dialog/themes/elemental/light/css/native-elements.css +0 -0
  38. package/lib/column-format-dialog/themes/elemental/light/es5/all-elements.js +2 -0
  39. package/lib/column-format-dialog/themes/elemental/light/imports/all-elements.js +1 -0
  40. package/lib/column-format-dialog/themes/elemental/light/imports/custom-elements.js +1 -0
  41. package/lib/column-format-dialog/themes/elemental/light/imports/native-elements.js +0 -0
  42. package/lib/column-format-dialog/themes/elemental/light.js +16 -0
  43. package/lib/column-format-dialog/themes/halo/column-format-dialog.less +6 -0
  44. package/lib/column-format-dialog/themes/halo/dark/column-format-dialog.js +4 -0
  45. package/lib/column-format-dialog/themes/halo/dark/css/native-elements.css +0 -0
  46. package/lib/column-format-dialog/themes/halo/dark/es5/all-elements.js +2 -0
  47. package/lib/column-format-dialog/themes/halo/dark/imports/all-elements.js +1 -0
  48. package/lib/column-format-dialog/themes/halo/dark/imports/custom-elements.js +1 -0
  49. package/lib/column-format-dialog/themes/halo/dark/imports/native-elements.js +0 -0
  50. package/lib/column-format-dialog/themes/halo/dark.js +16 -0
  51. package/lib/column-format-dialog/themes/halo/defaults.less +1 -0
  52. package/lib/column-format-dialog/themes/halo/index.less +5 -0
  53. package/lib/column-format-dialog/themes/halo/light/column-format-dialog.js +4 -0
  54. package/lib/column-format-dialog/themes/halo/light/css/native-elements.css +0 -0
  55. package/lib/column-format-dialog/themes/halo/light/es5/all-elements.js +2 -0
  56. package/lib/column-format-dialog/themes/halo/light/imports/all-elements.js +1 -0
  57. package/lib/column-format-dialog/themes/halo/light/imports/custom-elements.js +1 -0
  58. package/lib/column-format-dialog/themes/halo/light/imports/native-elements.js +0 -0
  59. package/lib/column-format-dialog/themes/halo/light.js +16 -0
  60. package/lib/column-format-dialog/themes/luna/column-format-dialog.less +1 -0
  61. package/lib/column-format-dialog/themes/luna/default/column-format-dialog.js +4 -0
  62. package/lib/column-format-dialog/themes/luna/default/css/native-elements.css +0 -0
  63. package/lib/column-format-dialog/themes/luna/default/es5/all-elements.js +2 -0
  64. package/lib/column-format-dialog/themes/luna/default/imports/all-elements.js +1 -0
  65. package/lib/column-format-dialog/themes/luna/default/imports/custom-elements.js +1 -0
  66. package/lib/column-format-dialog/themes/luna/default/imports/native-elements.js +0 -0
  67. package/lib/column-format-dialog/themes/luna/defaults.less +1 -0
  68. package/lib/column-format-dialog/themes/luna/index.less +5 -0
  69. package/lib/column-format-dialog/themes/solar/charcoal/column-format-dialog.js +4 -0
  70. package/lib/column-format-dialog/themes/solar/charcoal/css/native-elements.css +0 -0
  71. package/lib/column-format-dialog/themes/solar/charcoal/es5/all-elements.js +2 -0
  72. package/lib/column-format-dialog/themes/solar/charcoal/imports/all-elements.js +1 -0
  73. package/lib/column-format-dialog/themes/solar/charcoal/imports/custom-elements.js +1 -0
  74. package/lib/column-format-dialog/themes/solar/charcoal/imports/native-elements.js +0 -0
  75. package/lib/column-format-dialog/themes/solar/charcoal.js +16 -0
  76. package/lib/column-format-dialog/themes/solar/column-format-dialog.less +6 -0
  77. package/lib/column-format-dialog/themes/solar/defaults.less +1 -0
  78. package/lib/column-format-dialog/themes/solar/index.less +5 -0
  79. package/lib/column-format-dialog/themes/solar/pearl/column-format-dialog.js +4 -0
  80. package/lib/column-format-dialog/themes/solar/pearl/css/native-elements.css +0 -0
  81. package/lib/column-format-dialog/themes/solar/pearl/es5/all-elements.js +2 -0
  82. package/lib/column-format-dialog/themes/solar/pearl/imports/all-elements.js +1 -0
  83. package/lib/column-format-dialog/themes/solar/pearl/imports/custom-elements.js +1 -0
  84. package/lib/column-format-dialog/themes/solar/pearl/imports/native-elements.js +0 -0
  85. package/lib/column-format-dialog/themes/solar/pearl.js +16 -0
  86. package/lib/column-selection-dialog/index.d.ts +2 -0
  87. package/lib/column-selection-dialog/index.js +2 -0
  88. package/lib/column-selection-dialog/lib/column-selection-dialog.d.ts +66 -0
  89. package/lib/column-selection-dialog/lib/column-selection-dialog.js +2034 -0
  90. package/lib/column-selection-dialog/lib/locale/translation-de.d.ts +7 -0
  91. package/lib/column-selection-dialog/lib/locale/translation-de.js +20 -0
  92. package/lib/column-selection-dialog/lib/locale/translation-en.d.ts +7 -0
  93. package/lib/column-selection-dialog/lib/locale/translation-en.js +20 -0
  94. package/lib/column-selection-dialog/lib/locale/translation-ja.d.ts +7 -0
  95. package/lib/column-selection-dialog/lib/locale/translation-ja.js +20 -0
  96. package/lib/column-selection-dialog/lib/locale/translation-zh-hant.d.ts +7 -0
  97. package/lib/column-selection-dialog/lib/locale/translation-zh-hant.js +20 -0
  98. package/lib/column-selection-dialog/lib/locale/translation-zh.d.ts +7 -0
  99. package/lib/column-selection-dialog/lib/locale/translation-zh.js +20 -0
  100. package/lib/column-selection-dialog/lib/locale/translation.d.ts +11 -0
  101. package/lib/column-selection-dialog/lib/locale/translation.js +18 -0
  102. package/lib/column-selection-dialog/themes/base.less +258 -0
  103. package/lib/column-selection-dialog/themes/elemental/column-selection-dialog.less +1 -0
  104. package/lib/column-selection-dialog/themes/elemental/dark/column-selection-dialog.js +4 -0
  105. package/lib/column-selection-dialog/themes/elemental/dark/css/native-elements.css +0 -0
  106. package/lib/column-selection-dialog/themes/elemental/dark/es5/all-elements.js +2 -0
  107. package/lib/column-selection-dialog/themes/elemental/dark/imports/all-elements.js +1 -0
  108. package/lib/column-selection-dialog/themes/elemental/dark/imports/custom-elements.js +1 -0
  109. package/lib/column-selection-dialog/themes/elemental/dark/imports/native-elements.js +0 -0
  110. package/lib/column-selection-dialog/themes/elemental/dark.js +8 -0
  111. package/lib/column-selection-dialog/themes/elemental/defaults.less +1 -0
  112. package/lib/column-selection-dialog/themes/elemental/index.less +5 -0
  113. package/lib/column-selection-dialog/themes/elemental/light/column-selection-dialog.js +4 -0
  114. package/lib/column-selection-dialog/themes/elemental/light/css/native-elements.css +0 -0
  115. package/lib/column-selection-dialog/themes/elemental/light/es5/all-elements.js +2 -0
  116. package/lib/column-selection-dialog/themes/elemental/light/imports/all-elements.js +1 -0
  117. package/lib/column-selection-dialog/themes/elemental/light/imports/custom-elements.js +1 -0
  118. package/lib/column-selection-dialog/themes/elemental/light/imports/native-elements.js +0 -0
  119. package/lib/column-selection-dialog/themes/elemental/light.js +8 -0
  120. package/lib/column-selection-dialog/themes/halo/column-selection-dialog.less +25 -0
  121. package/lib/column-selection-dialog/themes/halo/dark/column-selection-dialog.js +4 -0
  122. package/lib/column-selection-dialog/themes/halo/dark/css/native-elements.css +0 -0
  123. package/lib/column-selection-dialog/themes/halo/dark/es5/all-elements.js +2 -0
  124. package/lib/column-selection-dialog/themes/halo/dark/imports/all-elements.js +1 -0
  125. package/lib/column-selection-dialog/themes/halo/dark/imports/custom-elements.js +1 -0
  126. package/lib/column-selection-dialog/themes/halo/dark/imports/native-elements.js +0 -0
  127. package/lib/column-selection-dialog/themes/halo/dark.js +8 -0
  128. package/lib/column-selection-dialog/themes/halo/defaults.less +1 -0
  129. package/lib/column-selection-dialog/themes/halo/index.less +6 -0
  130. package/lib/column-selection-dialog/themes/halo/light/column-selection-dialog.js +4 -0
  131. package/lib/column-selection-dialog/themes/halo/light/css/native-elements.css +0 -0
  132. package/lib/column-selection-dialog/themes/halo/light/es5/all-elements.js +2 -0
  133. package/lib/column-selection-dialog/themes/halo/light/imports/all-elements.js +1 -0
  134. package/lib/column-selection-dialog/themes/halo/light/imports/custom-elements.js +1 -0
  135. package/lib/column-selection-dialog/themes/halo/light/imports/native-elements.js +0 -0
  136. package/lib/column-selection-dialog/themes/halo/light.js +8 -0
  137. package/lib/column-selection-dialog/themes/solar/charcoal/column-selection-dialog.js +4 -0
  138. package/lib/column-selection-dialog/themes/solar/charcoal/css/native-elements.css +0 -0
  139. package/lib/column-selection-dialog/themes/solar/charcoal/es5/all-elements.js +2 -0
  140. package/lib/column-selection-dialog/themes/solar/charcoal/imports/all-elements.js +1 -0
  141. package/lib/column-selection-dialog/themes/solar/charcoal/imports/custom-elements.js +1 -0
  142. package/lib/column-selection-dialog/themes/solar/charcoal/imports/native-elements.js +0 -0
  143. package/lib/column-selection-dialog/themes/solar/charcoal.js +8 -0
  144. package/lib/column-selection-dialog/themes/solar/column-selection-dialog.less +5 -0
  145. package/lib/column-selection-dialog/themes/solar/defaults.less +1 -0
  146. package/lib/column-selection-dialog/themes/solar/index.less +6 -0
  147. package/lib/column-selection-dialog/themes/solar/pearl/column-selection-dialog.js +4 -0
  148. package/lib/column-selection-dialog/themes/solar/pearl/css/native-elements.css +0 -0
  149. package/lib/column-selection-dialog/themes/solar/pearl/es5/all-elements.js +2 -0
  150. package/lib/column-selection-dialog/themes/solar/pearl/imports/all-elements.js +1 -0
  151. package/lib/column-selection-dialog/themes/solar/pearl/imports/custom-elements.js +1 -0
  152. package/lib/column-selection-dialog/themes/solar/pearl/imports/native-elements.js +0 -0
  153. package/lib/column-selection-dialog/themes/solar/pearl.js +8 -0
  154. package/lib/core/dist/core.css +1 -0
  155. package/lib/core/dist/core.js +33910 -0
  156. package/lib/core/dist/core.min.js +1 -0
  157. package/lib/core/es6/data/ColumnStats.d.ts +42 -0
  158. package/lib/core/es6/data/ColumnStats.js +428 -0
  159. package/lib/core/es6/data/DataCache.d.ts +43 -0
  160. package/lib/core/es6/data/DataCache.js +597 -0
  161. package/lib/core/es6/data/DataTable.d.ts +156 -0
  162. package/lib/core/es6/data/DataTable.js +2206 -0
  163. package/lib/core/es6/data/DataView.d.ts +332 -0
  164. package/lib/core/es6/data/DataView.js +4144 -0
  165. package/lib/core/es6/data/Segment.d.ts +91 -0
  166. package/lib/core/es6/data/Segment.js +1001 -0
  167. package/lib/core/es6/data/SegmentCollection.d.ts +84 -0
  168. package/lib/core/es6/data/SegmentCollection.js +713 -0
  169. package/lib/core/es6/data/WrappedView.d.ts +290 -0
  170. package/lib/core/es6/data/WrappedView.js +1320 -0
  171. package/lib/core/es6/grid/Core.d.ts +455 -0
  172. package/lib/core/es6/grid/Core.js +6196 -0
  173. package/lib/core/es6/grid/ILayoutGrid.d.ts +212 -0
  174. package/lib/core/es6/grid/ILayoutGrid.js +706 -0
  175. package/lib/core/es6/grid/LayoutGrid.d.ts +37 -0
  176. package/lib/core/es6/grid/LayoutGrid.js +2975 -0
  177. package/lib/core/es6/grid/VirtualizedLayoutGrid.d.ts +28 -0
  178. package/lib/core/es6/grid/VirtualizedLayoutGrid.js +1241 -0
  179. package/lib/core/es6/grid/components/Cell.d.ts +52 -0
  180. package/lib/core/es6/grid/components/Cell.js +826 -0
  181. package/lib/core/es6/grid/components/CellFloatingPanel.d.ts +21 -0
  182. package/lib/core/es6/grid/components/CellFloatingPanel.js +130 -0
  183. package/lib/core/es6/grid/components/CellSpan.d.ts +18 -0
  184. package/lib/core/es6/grid/components/CellSpan.js +99 -0
  185. package/lib/core/es6/grid/components/CellSpans.d.ts +40 -0
  186. package/lib/core/es6/grid/components/CellSpans.js +368 -0
  187. package/lib/core/es6/grid/components/Column.d.ts +22 -0
  188. package/lib/core/es6/grid/components/Column.js +618 -0
  189. package/lib/core/es6/grid/components/ElementWrapper.d.ts +127 -0
  190. package/lib/core/es6/grid/components/ElementWrapper.js +718 -0
  191. package/lib/core/es6/grid/components/HScrollbar.d.ts +28 -0
  192. package/lib/core/es6/grid/components/HScrollbar.js +241 -0
  193. package/lib/core/es6/grid/components/Scrollbar.d.ts +63 -0
  194. package/lib/core/es6/grid/components/Scrollbar.js +1413 -0
  195. package/lib/core/es6/grid/components/StretchedCells.d.ts +17 -0
  196. package/lib/core/es6/grid/components/StretchedCells.js +342 -0
  197. package/lib/core/es6/grid/components/VScrollbar.d.ts +18 -0
  198. package/lib/core/es6/grid/components/VScrollbar.js +139 -0
  199. package/lib/core/es6/grid/components/VirtualItems.d.ts +12 -0
  200. package/lib/core/es6/grid/components/VirtualItems.js +51 -0
  201. package/lib/core/es6/grid/event/EventDispatcher.d.ts +16 -0
  202. package/lib/core/es6/grid/event/EventDispatcher.js +138 -0
  203. package/lib/core/es6/grid/event/EventListeners.d.ts +34 -0
  204. package/lib/core/es6/grid/event/EventListeners.js +166 -0
  205. package/lib/core/es6/grid/plugins/SortableTitlePlugin.d.ts +155 -0
  206. package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +1977 -0
  207. package/lib/core/es6/grid/util/CellBoundPainter.d.ts +16 -0
  208. package/lib/core/es6/grid/util/CellBoundPainter.js +171 -0
  209. package/lib/core/es6/grid/util/Conflator.d.ts +32 -0
  210. package/lib/core/es6/grid/util/Conflator.js +191 -0
  211. package/lib/core/es6/grid/util/Reverter.d.ts +14 -0
  212. package/lib/core/es6/grid/util/Reverter.js +79 -0
  213. package/lib/core/es6/grid/util/SectionSettings.d.ts +79 -0
  214. package/lib/core/es6/grid/util/SectionSettings.js +679 -0
  215. package/lib/core/es6/grid/util/SelectionList.d.ts +54 -0
  216. package/lib/core/es6/grid/util/SelectionList.js +491 -0
  217. package/lib/core/es6/grid/util/TrackLayout.d.ts +92 -0
  218. package/lib/core/es6/grid/util/TrackLayout.js +902 -0
  219. package/lib/core/es6/grid/util/Virtualizer.d.ts +40 -0
  220. package/lib/core/es6/grid/util/Virtualizer.js +340 -0
  221. package/lib/core/es6/grid/util/util.d.ts +20 -0
  222. package/lib/core/es6/grid/util/util.js +391 -0
  223. package/lib/core/es6/index.d.ts +79 -0
  224. package/lib/core/es6/index.js +125 -0
  225. package/lib/core/es6/tr-grid-theme.d.ts +5 -0
  226. package/lib/core/es6/tr-grid-theme.js +5 -0
  227. package/lib/filter-dialog/index.d.ts +2 -0
  228. package/lib/filter-dialog/index.js +2 -0
  229. package/lib/filter-dialog/lib/checkbox-list.d.ts +52 -0
  230. package/lib/filter-dialog/lib/checkbox-list.js +444 -0
  231. package/lib/filter-dialog/lib/filter-dialog.d.ts +75 -0
  232. package/lib/filter-dialog/lib/filter-dialog.js +1160 -0
  233. package/lib/filter-dialog/lib/locale/translation-de.d.ts +7 -0
  234. package/lib/filter-dialog/lib/locale/translation-de.js +40 -0
  235. package/lib/filter-dialog/lib/locale/translation-en.d.ts +7 -0
  236. package/lib/filter-dialog/lib/locale/translation-en.js +40 -0
  237. package/lib/filter-dialog/lib/locale/translation-ja.d.ts +7 -0
  238. package/lib/filter-dialog/lib/locale/translation-ja.js +40 -0
  239. package/lib/filter-dialog/lib/locale/translation-zh-hant.d.ts +7 -0
  240. package/lib/filter-dialog/lib/locale/translation-zh-hant.js +40 -0
  241. package/lib/filter-dialog/lib/locale/translation-zh.d.ts +7 -0
  242. package/lib/filter-dialog/lib/locale/translation-zh.js +40 -0
  243. package/lib/filter-dialog/lib/locale/translation.d.ts +11 -0
  244. package/lib/filter-dialog/lib/locale/translation.js +18 -0
  245. package/lib/filter-dialog/themes/base-checkbox.less +42 -0
  246. package/lib/filter-dialog/themes/base.less +191 -0
  247. package/lib/filter-dialog/themes/elemental/checkbox-list.less +3 -0
  248. package/lib/filter-dialog/themes/elemental/dark/checkbox-list.js +4 -0
  249. package/lib/filter-dialog/themes/elemental/dark/css/native-elements.css +0 -0
  250. package/lib/filter-dialog/themes/elemental/dark/es5/all-elements.js +4 -0
  251. package/lib/filter-dialog/themes/elemental/dark/filter-dialog.js +5 -0
  252. package/lib/filter-dialog/themes/elemental/dark/imports/all-elements.js +2 -0
  253. package/lib/filter-dialog/themes/elemental/dark/imports/custom-elements.js +2 -0
  254. package/lib/filter-dialog/themes/elemental/dark/imports/native-elements.js +0 -0
  255. package/lib/filter-dialog/themes/elemental/dark.js +11 -0
  256. package/lib/filter-dialog/themes/elemental/defaults.less +3 -0
  257. package/lib/filter-dialog/themes/elemental/filter-dialog.less +1 -0
  258. package/lib/filter-dialog/themes/elemental/index.less +6 -0
  259. package/lib/filter-dialog/themes/elemental/light/checkbox-list.js +4 -0
  260. package/lib/filter-dialog/themes/elemental/light/css/native-elements.css +0 -0
  261. package/lib/filter-dialog/themes/elemental/light/es5/all-elements.js +4 -0
  262. package/lib/filter-dialog/themes/elemental/light/filter-dialog.js +5 -0
  263. package/lib/filter-dialog/themes/elemental/light/imports/all-elements.js +2 -0
  264. package/lib/filter-dialog/themes/elemental/light/imports/custom-elements.js +2 -0
  265. package/lib/filter-dialog/themes/elemental/light/imports/native-elements.js +0 -0
  266. package/lib/filter-dialog/themes/elemental/light.js +11 -0
  267. package/lib/filter-dialog/themes/halo/checkbox-list.less +3 -0
  268. package/lib/filter-dialog/themes/halo/dark/checkbox-list.js +4 -0
  269. package/lib/filter-dialog/themes/halo/dark/css/native-elements.css +0 -0
  270. package/lib/filter-dialog/themes/halo/dark/es5/all-elements.js +4 -0
  271. package/lib/filter-dialog/themes/halo/dark/filter-dialog.js +5 -0
  272. package/lib/filter-dialog/themes/halo/dark/imports/all-elements.js +2 -0
  273. package/lib/filter-dialog/themes/halo/dark/imports/custom-elements.js +2 -0
  274. package/lib/filter-dialog/themes/halo/dark/imports/native-elements.js +0 -0
  275. package/lib/filter-dialog/themes/halo/dark.js +11 -0
  276. package/lib/filter-dialog/themes/halo/defaults.less +3 -0
  277. package/lib/filter-dialog/themes/halo/filter-dialog.less +15 -0
  278. package/lib/filter-dialog/themes/halo/index.less +6 -0
  279. package/lib/filter-dialog/themes/halo/light/checkbox-list.js +4 -0
  280. package/lib/filter-dialog/themes/halo/light/css/native-elements.css +0 -0
  281. package/lib/filter-dialog/themes/halo/light/es5/all-elements.js +4 -0
  282. package/lib/filter-dialog/themes/halo/light/filter-dialog.js +5 -0
  283. package/lib/filter-dialog/themes/halo/light/imports/all-elements.js +2 -0
  284. package/lib/filter-dialog/themes/halo/light/imports/custom-elements.js +2 -0
  285. package/lib/filter-dialog/themes/halo/light/imports/native-elements.js +0 -0
  286. package/lib/filter-dialog/themes/halo/light.js +11 -0
  287. package/lib/filter-dialog/themes/solar/charcoal/checkbox-list.js +4 -0
  288. package/lib/filter-dialog/themes/solar/charcoal/css/native-elements.css +0 -0
  289. package/lib/filter-dialog/themes/solar/charcoal/es5/all-elements.js +4 -0
  290. package/lib/filter-dialog/themes/solar/charcoal/filter-dialog.js +5 -0
  291. package/lib/filter-dialog/themes/solar/charcoal/imports/all-elements.js +2 -0
  292. package/lib/filter-dialog/themes/solar/charcoal/imports/custom-elements.js +2 -0
  293. package/lib/filter-dialog/themes/solar/charcoal/imports/native-elements.js +0 -0
  294. package/lib/filter-dialog/themes/solar/charcoal.js +11 -0
  295. package/lib/filter-dialog/themes/solar/checkbox-list.less +3 -0
  296. package/lib/filter-dialog/themes/solar/defaults.less +3 -0
  297. package/lib/filter-dialog/themes/solar/filter-dialog.less +5 -0
  298. package/lib/filter-dialog/themes/solar/index.less +6 -0
  299. package/lib/filter-dialog/themes/solar/pearl/checkbox-list.js +4 -0
  300. package/lib/filter-dialog/themes/solar/pearl/css/native-elements.css +0 -0
  301. package/lib/filter-dialog/themes/solar/pearl/es5/all-elements.js +4 -0
  302. package/lib/filter-dialog/themes/solar/pearl/filter-dialog.js +5 -0
  303. package/lib/filter-dialog/themes/solar/pearl/imports/all-elements.js +2 -0
  304. package/lib/filter-dialog/themes/solar/pearl/imports/custom-elements.js +2 -0
  305. package/lib/filter-dialog/themes/solar/pearl/imports/native-elements.js +0 -0
  306. package/lib/filter-dialog/themes/solar/pearl.js +11 -0
  307. package/lib/formatters/es6/CoralButtonFormatter.d.ts +20 -0
  308. package/lib/formatters/es6/CoralButtonFormatter.js +45 -0
  309. package/lib/formatters/es6/CoralCheckboxFormatter.d.ts +12 -0
  310. package/lib/formatters/es6/CoralCheckboxFormatter.js +50 -0
  311. package/lib/formatters/es6/CoralComboBoxFormatter.d.ts +23 -0
  312. package/lib/formatters/es6/CoralComboBoxFormatter.js +103 -0
  313. package/lib/formatters/es6/CoralIconFormatter.d.ts +21 -0
  314. package/lib/formatters/es6/CoralIconFormatter.js +50 -0
  315. package/lib/formatters/es6/CoralInputFormatter.d.ts +12 -0
  316. package/lib/formatters/es6/CoralInputFormatter.js +45 -0
  317. package/lib/formatters/es6/CoralRadioButtonFormatter.d.ts +20 -0
  318. package/lib/formatters/es6/CoralRadioButtonFormatter.js +85 -0
  319. package/lib/formatters/es6/CoralSelectFormatter.d.ts +23 -0
  320. package/lib/formatters/es6/CoralSelectFormatter.js +71 -0
  321. package/lib/formatters/es6/CoralToggleFormatter.d.ts +12 -0
  322. package/lib/formatters/es6/CoralToggleFormatter.js +47 -0
  323. package/lib/formatters/es6/DuplexEmeraldDateTimePickerFormatter.d.ts +14 -0
  324. package/lib/formatters/es6/DuplexEmeraldDateTimePickerFormatter.js +119 -0
  325. package/lib/formatters/es6/EFButtonFormatter.d.ts +20 -0
  326. package/lib/formatters/es6/EFButtonFormatter.js +45 -0
  327. package/lib/formatters/es6/EFCheckboxFormatter.d.ts +12 -0
  328. package/lib/formatters/es6/EFCheckboxFormatter.js +50 -0
  329. package/lib/formatters/es6/EFComboBoxFormatter.d.ts +23 -0
  330. package/lib/formatters/es6/EFComboBoxFormatter.js +78 -0
  331. package/lib/formatters/es6/EFDateTimePickerFormatter.d.ts +13 -0
  332. package/lib/formatters/es6/EFDateTimePickerFormatter.js +60 -0
  333. package/lib/formatters/es6/EFIconFormatter.d.ts +21 -0
  334. package/lib/formatters/es6/EFIconFormatter.js +50 -0
  335. package/lib/formatters/es6/EFNumberFieldFormatter.d.ts +12 -0
  336. package/lib/formatters/es6/EFNumberFieldFormatter.js +45 -0
  337. package/lib/formatters/es6/EFRadioButtonFormatter.d.ts +20 -0
  338. package/lib/formatters/es6/EFRadioButtonFormatter.js +132 -0
  339. package/lib/formatters/es6/EFSelectFormatter.d.ts +23 -0
  340. package/lib/formatters/es6/EFSelectFormatter.js +76 -0
  341. package/lib/formatters/es6/EFTextFieldFormatter.d.ts +12 -0
  342. package/lib/formatters/es6/EFTextFieldFormatter.js +40 -0
  343. package/lib/formatters/es6/EFToggleFormatter.d.ts +12 -0
  344. package/lib/formatters/es6/EFToggleFormatter.js +47 -0
  345. package/lib/formatters/es6/EmeraldDateTimePickerFormatter.d.ts +13 -0
  346. package/lib/formatters/es6/EmeraldDateTimePickerFormatter.js +55 -0
  347. package/lib/formatters/es6/FormatterBuilder.d.ts +26 -0
  348. package/lib/formatters/es6/FormatterBuilder.js +493 -0
  349. package/lib/formatters/es6/NumericInputFormatter.d.ts +13 -0
  350. package/lib/formatters/es6/NumericInputFormatter.js +64 -0
  351. package/lib/formatters/es6/PercentBarFormatter.d.ts +25 -0
  352. package/lib/formatters/es6/PercentBarFormatter.js +62 -0
  353. package/lib/formatters/es6/SimpleImageFormatter.d.ts +21 -0
  354. package/lib/formatters/es6/SimpleImageFormatter.js +64 -0
  355. package/lib/formatters/es6/SimpleInputFormatter.d.ts +12 -0
  356. package/lib/formatters/es6/SimpleInputFormatter.js +40 -0
  357. package/lib/formatters/es6/SimpleLinkFormatter.d.ts +21 -0
  358. package/lib/formatters/es6/SimpleLinkFormatter.js +48 -0
  359. package/lib/formatters/es6/SimpleTickerFormatter.d.ts +23 -0
  360. package/lib/formatters/es6/SimpleTickerFormatter.js +66 -0
  361. package/lib/formatters/es6/SimpleToggleFormatter.d.ts +22 -0
  362. package/lib/formatters/es6/SimpleToggleFormatter.js +132 -0
  363. package/lib/formatters/es6/TextFormatter.d.ts +12 -0
  364. package/lib/formatters/es6/TextFormatter.js +35 -0
  365. package/lib/formatters/es6/index.d.ts +64 -0
  366. package/lib/formatters/es6/index.js +88 -0
  367. package/lib/grid/index.d.ts +2 -0
  368. package/lib/grid/index.js +3 -0
  369. package/lib/grid/lib/efx-grid.d.ts +53 -0
  370. package/lib/grid/lib/efx-grid.js +444 -0
  371. package/lib/grid/themes/base.less +137 -0
  372. package/lib/grid/themes/ds/dark/css/native-elements.css +0 -0
  373. package/lib/grid/themes/ds/dark/efx-grid.js +4 -0
  374. package/lib/grid/themes/ds/dark/es5/all-elements.js +2 -0
  375. package/lib/grid/themes/ds/dark/imports/all-elements.js +1 -0
  376. package/lib/grid/themes/ds/dark/imports/custom-elements.js +1 -0
  377. package/lib/grid/themes/ds/dark/imports/native-elements.js +0 -0
  378. package/lib/grid/themes/ds/dark.js +3 -0
  379. package/lib/grid/themes/ds/efx-grid.less +207 -0
  380. package/lib/grid/themes/ds/index.less +3 -0
  381. package/lib/grid/themes/ds/light/css/native-elements.css +0 -0
  382. package/lib/grid/themes/ds/light/efx-grid.js +4 -0
  383. package/lib/grid/themes/ds/light/es5/all-elements.js +2 -0
  384. package/lib/grid/themes/ds/light/imports/all-elements.js +1 -0
  385. package/lib/grid/themes/ds/light/imports/custom-elements.js +1 -0
  386. package/lib/grid/themes/ds/light/imports/native-elements.js +0 -0
  387. package/lib/grid/themes/ds/light.js +3 -0
  388. package/lib/grid/themes/halo/dark/css/native-elements.css +0 -0
  389. package/lib/grid/themes/halo/dark/efx-grid.js +4 -0
  390. package/lib/grid/themes/halo/dark/es5/all-elements.js +2 -0
  391. package/lib/grid/themes/halo/dark/imports/all-elements.js +1 -0
  392. package/lib/grid/themes/halo/dark/imports/custom-elements.js +1 -0
  393. package/lib/grid/themes/halo/dark/imports/native-elements.js +0 -0
  394. package/lib/grid/themes/halo/dark.js +3 -0
  395. package/lib/grid/themes/halo/efx-grid.less +127 -0
  396. package/lib/grid/themes/halo/index.less +3 -0
  397. package/lib/grid/themes/halo/light/css/native-elements.css +0 -0
  398. package/lib/grid/themes/halo/light/efx-grid.js +4 -0
  399. package/lib/grid/themes/halo/light/es5/all-elements.js +2 -0
  400. package/lib/grid/themes/halo/light/imports/all-elements.js +1 -0
  401. package/lib/grid/themes/halo/light/imports/custom-elements.js +1 -0
  402. package/lib/grid/themes/halo/light/imports/native-elements.js +0 -0
  403. package/lib/grid/themes/halo/light.js +3 -0
  404. package/lib/grid/themes/solar/charcoal/css/native-elements.css +0 -0
  405. package/lib/grid/themes/solar/charcoal/efx-grid.js +4 -0
  406. package/lib/grid/themes/solar/charcoal/es5/all-elements.js +2 -0
  407. package/lib/grid/themes/solar/charcoal/imports/all-elements.js +1 -0
  408. package/lib/grid/themes/solar/charcoal/imports/custom-elements.js +1 -0
  409. package/lib/grid/themes/solar/charcoal/imports/native-elements.js +0 -0
  410. package/lib/grid/themes/solar/charcoal.js +3 -0
  411. package/lib/grid/themes/solar/efx-grid.less +27 -0
  412. package/lib/grid/themes/solar/index.less +3 -0
  413. package/lib/grid/themes/solar/pearl/css/native-elements.css +0 -0
  414. package/lib/grid/themes/solar/pearl/efx-grid.js +4 -0
  415. package/lib/grid/themes/solar/pearl/es5/all-elements.js +2 -0
  416. package/lib/grid/themes/solar/pearl/imports/all-elements.js +1 -0
  417. package/lib/grid/themes/solar/pearl/imports/custom-elements.js +1 -0
  418. package/lib/grid/themes/solar/pearl/imports/native-elements.js +0 -0
  419. package/lib/grid/themes/solar/pearl.js +3 -0
  420. package/lib/index.d.ts +100 -0
  421. package/lib/index.js +100 -0
  422. package/lib/row-segmenting/es6/RowSegmenting.d.ts +115 -0
  423. package/lib/row-segmenting/es6/RowSegmenting.js +1182 -0
  424. package/lib/row-segmenting/es6/index.d.ts +1 -0
  425. package/lib/row-segmenting/es6/index.js +1 -0
  426. package/lib/rt-grid/dist/rt-grid.js +54547 -0
  427. package/lib/rt-grid/dist/rt-grid.min.js +1 -0
  428. package/lib/rt-grid/es6/ColumnDefinition.d.ts +174 -0
  429. package/lib/rt-grid/es6/ColumnDefinition.js +1203 -0
  430. package/lib/rt-grid/es6/DataConnector.d.ts +43 -0
  431. package/lib/rt-grid/es6/DataConnector.js +290 -0
  432. package/lib/rt-grid/es6/FieldDefinition.d.ts +40 -0
  433. package/lib/rt-grid/es6/FieldDefinition.js +560 -0
  434. package/lib/rt-grid/es6/Grid.d.ts +376 -0
  435. package/lib/rt-grid/es6/Grid.js +4653 -0
  436. package/lib/rt-grid/es6/PredefinedFormula.d.ts +16 -0
  437. package/lib/rt-grid/es6/PredefinedFormula.js +33 -0
  438. package/lib/rt-grid/es6/ReferenceCounter.d.ts +40 -0
  439. package/lib/rt-grid/es6/ReferenceCounter.js +251 -0
  440. package/lib/rt-grid/es6/RowDefSorter.d.ts +19 -0
  441. package/lib/rt-grid/es6/RowDefSorter.js +231 -0
  442. package/lib/rt-grid/es6/RowDefinition.d.ts +156 -0
  443. package/lib/rt-grid/es6/RowDefinition.js +1478 -0
  444. package/lib/rt-grid/es6/SnapshotFiller.d.ts +36 -0
  445. package/lib/rt-grid/es6/SnapshotFiller.js +537 -0
  446. package/lib/rt-grid/es6/StyleLoader.d.ts +17 -0
  447. package/lib/rt-grid/es6/StyleLoader.js +47 -0
  448. package/lib/rt-grid/es6/index.d.ts +8 -0
  449. package/lib/rt-grid/es6/index.js +43 -0
  450. package/lib/statistics-row/es6/StatisticsRow.d.ts +68 -0
  451. package/lib/statistics-row/es6/StatisticsRow.js +807 -0
  452. package/lib/statistics-row/es6/index.d.ts +1 -0
  453. package/lib/statistics-row/es6/index.js +1 -0
  454. package/lib/tr-grid-auto-tooltip/es6/AutoTooltip.d.ts +46 -0
  455. package/lib/tr-grid-auto-tooltip/es6/AutoTooltip.js +617 -0
  456. package/lib/tr-grid-auto-tooltip/es6/index.d.ts +1 -0
  457. package/lib/tr-grid-auto-tooltip/es6/index.js +1 -0
  458. package/lib/tr-grid-cell-selection/es6/CellSelection.d.ts +70 -0
  459. package/lib/tr-grid-cell-selection/es6/CellSelection.js +1695 -0
  460. package/lib/tr-grid-cell-selection/es6/index.d.ts +1 -0
  461. package/lib/tr-grid-cell-selection/es6/index.js +1 -0
  462. package/lib/tr-grid-checkbox/es6/Checkbox.d.ts +82 -0
  463. package/lib/tr-grid-checkbox/es6/Checkbox.js +1704 -0
  464. package/lib/tr-grid-checkbox/es6/index.d.ts +1 -0
  465. package/lib/tr-grid-checkbox/es6/index.js +1 -0
  466. package/lib/tr-grid-column-fitter/es6/ColumnFitter.d.ts +56 -0
  467. package/lib/tr-grid-column-fitter/es6/ColumnFitter.js +817 -0
  468. package/lib/tr-grid-column-fitter/es6/index.d.ts +1 -0
  469. package/lib/tr-grid-column-fitter/es6/index.js +1 -0
  470. package/lib/tr-grid-column-formatting/es6/ColumnFormatting.d.ts +91 -0
  471. package/lib/tr-grid-column-formatting/es6/ColumnFormatting.js +617 -0
  472. package/lib/tr-grid-column-formatting/es6/index.d.ts +1 -0
  473. package/lib/tr-grid-column-formatting/es6/index.js +1 -0
  474. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.d.ts +110 -0
  475. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +2028 -0
  476. package/lib/tr-grid-column-grouping/es6/index.d.ts +1 -0
  477. package/lib/tr-grid-column-grouping/es6/index.js +1 -0
  478. package/lib/tr-grid-column-resizing/es6/ColumnResizing.d.ts +68 -0
  479. package/lib/tr-grid-column-resizing/es6/ColumnResizing.js +1010 -0
  480. package/lib/tr-grid-column-resizing/es6/index.d.ts +1 -0
  481. package/lib/tr-grid-column-resizing/es6/index.js +1 -0
  482. package/lib/tr-grid-column-selection/es6/ColumnSelection.d.ts +77 -0
  483. package/lib/tr-grid-column-selection/es6/ColumnSelection.js +1405 -0
  484. package/lib/tr-grid-column-selection/es6/index.d.ts +1 -0
  485. package/lib/tr-grid-column-selection/es6/index.js +1 -0
  486. package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +160 -0
  487. package/lib/tr-grid-column-stack/es6/ColumnStack.js +2155 -0
  488. package/lib/tr-grid-column-stack/es6/index.d.ts +1 -0
  489. package/lib/tr-grid-column-stack/es6/index.js +1 -0
  490. package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.d.ts +100 -0
  491. package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +1513 -0
  492. package/lib/tr-grid-conditional-coloring/es6/index.d.ts +1 -0
  493. package/lib/tr-grid-conditional-coloring/es6/index.js +1 -0
  494. package/lib/tr-grid-content-wrap/es6/ContentWrap.d.ts +43 -0
  495. package/lib/tr-grid-content-wrap/es6/ContentWrap.js +519 -0
  496. package/lib/tr-grid-content-wrap/es6/index.d.ts +1 -0
  497. package/lib/tr-grid-content-wrap/es6/index.js +1 -0
  498. package/lib/tr-grid-contextmenu/es6/ContextMenu.d.ts +83 -0
  499. package/lib/tr-grid-contextmenu/es6/ContextMenu.js +453 -0
  500. package/lib/tr-grid-contextmenu/es6/MenuEventAPI.d.ts +22 -0
  501. package/lib/tr-grid-contextmenu/es6/MenuEventAPI.js +138 -0
  502. package/lib/tr-grid-contextmenu/es6/MenuItem.d.ts +41 -0
  503. package/lib/tr-grid-contextmenu/es6/MenuItem.js +285 -0
  504. package/lib/tr-grid-contextmenu/es6/PopupMenu.d.ts +33 -0
  505. package/lib/tr-grid-contextmenu/es6/PopupMenu.js +303 -0
  506. package/lib/tr-grid-contextmenu/es6/index.d.ts +1 -0
  507. package/lib/tr-grid-contextmenu/es6/index.js +1 -0
  508. package/lib/tr-grid-filter-input/es6/FilterInput.d.ts +64 -0
  509. package/lib/tr-grid-filter-input/es6/FilterInput.js +1027 -0
  510. package/lib/tr-grid-filter-input/es6/index.d.ts +1 -0
  511. package/lib/tr-grid-filter-input/es6/index.js +1 -0
  512. package/lib/tr-grid-heat-map/es6/HeatMap.d.ts +45 -0
  513. package/lib/tr-grid-heat-map/es6/HeatMap.js +401 -0
  514. package/lib/tr-grid-heat-map/es6/index.d.ts +1 -0
  515. package/lib/tr-grid-heat-map/es6/index.js +1 -0
  516. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +148 -0
  517. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +2671 -0
  518. package/lib/tr-grid-in-cell-editing/es6/index.d.ts +1 -0
  519. package/lib/tr-grid-in-cell-editing/es6/index.js +1 -0
  520. package/lib/tr-grid-pagination/es6/Pagination.d.ts +58 -0
  521. package/lib/tr-grid-pagination/es6/Pagination.js +433 -0
  522. package/lib/tr-grid-pagination/es6/index.d.ts +1 -0
  523. package/lib/tr-grid-pagination/es6/index.js +1 -0
  524. package/lib/tr-grid-percent-bar/es6/PercentBar.d.ts +60 -0
  525. package/lib/tr-grid-percent-bar/es6/PercentBar.js +804 -0
  526. package/lib/tr-grid-percent-bar/es6/index.d.ts +1 -0
  527. package/lib/tr-grid-percent-bar/es6/index.js +1 -0
  528. package/lib/tr-grid-printer/es6/CellWriter.d.ts +50 -0
  529. package/lib/tr-grid-printer/es6/CellWriter.js +234 -0
  530. package/lib/tr-grid-printer/es6/ColumnWriter.d.ts +13 -0
  531. package/lib/tr-grid-printer/es6/ColumnWriter.js +23 -0
  532. package/lib/tr-grid-printer/es6/GridPrinter.d.ts +33 -0
  533. package/lib/tr-grid-printer/es6/GridPrinter.js +794 -0
  534. package/lib/tr-grid-printer/es6/PrintTrait.d.ts +39 -0
  535. package/lib/tr-grid-printer/es6/PrintTrait.js +494 -0
  536. package/lib/tr-grid-printer/es6/SectionWriter.d.ts +57 -0
  537. package/lib/tr-grid-printer/es6/SectionWriter.js +238 -0
  538. package/lib/tr-grid-printer/es6/index.d.ts +1 -0
  539. package/lib/tr-grid-printer/es6/index.js +1 -0
  540. package/lib/tr-grid-range-bar/es6/LEDGuage.d.ts +39 -0
  541. package/lib/tr-grid-range-bar/es6/LEDGuage.js +261 -0
  542. package/lib/tr-grid-range-bar/es6/RangeBar.d.ts +56 -0
  543. package/lib/tr-grid-range-bar/es6/RangeBar.js +514 -0
  544. package/lib/tr-grid-range-bar/es6/index.d.ts +1 -0
  545. package/lib/tr-grid-range-bar/es6/index.js +1 -0
  546. package/lib/tr-grid-row-dragging/es6/RowDragging.d.ts +81 -0
  547. package/lib/tr-grid-row-dragging/es6/RowDragging.js +1479 -0
  548. package/lib/tr-grid-row-dragging/es6/index.d.ts +1 -0
  549. package/lib/tr-grid-row-dragging/es6/index.js +1 -0
  550. package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +159 -0
  551. package/lib/tr-grid-row-filtering/es6/RowFiltering.js +2568 -0
  552. package/lib/tr-grid-row-filtering/es6/index.d.ts +1 -0
  553. package/lib/tr-grid-row-filtering/es6/index.js +1 -0
  554. package/lib/tr-grid-row-grouping/es6/RowGrouping.d.ts +123 -0
  555. package/lib/tr-grid-row-grouping/es6/RowGrouping.js +1728 -0
  556. package/lib/tr-grid-row-grouping/es6/index.d.ts +1 -0
  557. package/lib/tr-grid-row-grouping/es6/index.js +1 -0
  558. package/lib/tr-grid-row-selection/es6/RowSelection.d.ts +75 -0
  559. package/lib/tr-grid-row-selection/es6/RowSelection.js +1447 -0
  560. package/lib/tr-grid-row-selection/es6/index.d.ts +1 -0
  561. package/lib/tr-grid-row-selection/es6/index.js +1 -0
  562. package/lib/tr-grid-rowcoloring/es6/RowColoring.d.ts +64 -0
  563. package/lib/tr-grid-rowcoloring/es6/RowColoring.js +615 -0
  564. package/lib/tr-grid-rowcoloring/es6/index.d.ts +1 -0
  565. package/lib/tr-grid-rowcoloring/es6/index.js +1 -0
  566. package/lib/tr-grid-textformatting/es6/TextFormatting.d.ts +72 -0
  567. package/lib/tr-grid-textformatting/es6/TextFormatting.js +543 -0
  568. package/lib/tr-grid-textformatting/es6/index.d.ts +1 -0
  569. package/lib/tr-grid-textformatting/es6/index.js +1 -0
  570. package/lib/tr-grid-titlewrap/es6/TitleWrap.d.ts +27 -0
  571. package/lib/tr-grid-titlewrap/es6/TitleWrap.js +431 -0
  572. package/lib/tr-grid-titlewrap/es6/index.d.ts +1 -0
  573. package/lib/tr-grid-titlewrap/es6/index.js +1 -0
  574. package/lib/tr-grid-util/es6/CellPainter.d.ts +142 -0
  575. package/lib/tr-grid-util/es6/CellPainter.js +1183 -0
  576. package/lib/tr-grid-util/es6/Color.d.ts +40 -0
  577. package/lib/tr-grid-util/es6/Color.js +210 -0
  578. package/lib/tr-grid-util/es6/Conflator.d.ts +34 -0
  579. package/lib/tr-grid-util/es6/Conflator.js +193 -0
  580. package/lib/tr-grid-util/es6/CoralItems.d.ts +10 -0
  581. package/lib/tr-grid-util/es6/CoralItems.js +42 -0
  582. package/lib/tr-grid-util/es6/DateTime.d.ts +57 -0
  583. package/lib/tr-grid-util/es6/DateTime.js +508 -0
  584. package/lib/tr-grid-util/es6/Deferred.d.ts +16 -0
  585. package/lib/tr-grid-util/es6/Deferred.js +108 -0
  586. package/lib/tr-grid-util/es6/Delay.d.ts +20 -0
  587. package/lib/tr-grid-util/es6/Delay.js +96 -0
  588. package/lib/tr-grid-util/es6/Dom.d.ts +32 -0
  589. package/lib/tr-grid-util/es6/Dom.js +350 -0
  590. package/lib/tr-grid-util/es6/DragUI.d.ts +20 -0
  591. package/lib/tr-grid-util/es6/DragUI.js +263 -0
  592. package/lib/tr-grid-util/es6/ElementObserver.d.ts +12 -0
  593. package/lib/tr-grid-util/es6/ElementObserver.js +134 -0
  594. package/lib/tr-grid-util/es6/ElementWrapper.d.ts +23 -0
  595. package/lib/tr-grid-util/es6/ElementWrapper.js +84 -0
  596. package/lib/tr-grid-util/es6/ElfDate.d.ts +26 -0
  597. package/lib/tr-grid-util/es6/ElfDate.js +164 -0
  598. package/lib/tr-grid-util/es6/ElfUtil.d.ts +46 -0
  599. package/lib/tr-grid-util/es6/ElfUtil.js +637 -0
  600. package/lib/tr-grid-util/es6/EventDispatcher.d.ts +26 -0
  601. package/lib/tr-grid-util/es6/EventDispatcher.js +161 -0
  602. package/lib/tr-grid-util/es6/ExpanderIcon.d.ts +24 -0
  603. package/lib/tr-grid-util/es6/ExpanderIcon.js +120 -0
  604. package/lib/tr-grid-util/es6/ExpressionParser.d.ts +10 -0
  605. package/lib/tr-grid-util/es6/ExpressionParser.js +408 -0
  606. package/lib/tr-grid-util/es6/Ext.d.ts +10 -0
  607. package/lib/tr-grid-util/es6/Ext.js +52 -0
  608. package/lib/tr-grid-util/es6/FieldFormatter.d.ts +55 -0
  609. package/lib/tr-grid-util/es6/FieldFormatter.js +440 -0
  610. package/lib/tr-grid-util/es6/FilterBuilder.d.ts +54 -0
  611. package/lib/tr-grid-util/es6/FilterBuilder.js +580 -0
  612. package/lib/tr-grid-util/es6/FilterOperators.d.ts +56 -0
  613. package/lib/tr-grid-util/es6/FilterOperators.js +255 -0
  614. package/lib/tr-grid-util/es6/GridPlugin.d.ts +86 -0
  615. package/lib/tr-grid-util/es6/GridPlugin.js +1055 -0
  616. package/lib/tr-grid-util/es6/GroupDefinitions.d.ts +74 -0
  617. package/lib/tr-grid-util/es6/GroupDefinitions.js +642 -0
  618. package/lib/tr-grid-util/es6/Icon.d.ts +14 -0
  619. package/lib/tr-grid-util/es6/Icon.js +62 -0
  620. package/lib/tr-grid-util/es6/MouseDownTrait.d.ts +42 -0
  621. package/lib/tr-grid-util/es6/MouseDownTrait.js +250 -0
  622. package/lib/tr-grid-util/es6/MultiTableManager.d.ts +40 -0
  623. package/lib/tr-grid-util/es6/MultiTableManager.js +611 -0
  624. package/lib/tr-grid-util/es6/NumberFormatter.d.ts +85 -0
  625. package/lib/tr-grid-util/es6/NumberFormatter.js +528 -0
  626. package/lib/tr-grid-util/es6/PercentBar.d.ts +71 -0
  627. package/lib/tr-grid-util/es6/PercentBar.js +600 -0
  628. package/lib/tr-grid-util/es6/Perf.d.ts +32 -0
  629. package/lib/tr-grid-util/es6/Perf.js +163 -0
  630. package/lib/tr-grid-util/es6/Popup.d.ts +98 -0
  631. package/lib/tr-grid-util/es6/Popup.js +991 -0
  632. package/lib/tr-grid-util/es6/RangeBar.d.ts +33 -0
  633. package/lib/tr-grid-util/es6/RangeBar.js +260 -0
  634. package/lib/tr-grid-util/es6/RequestQueue.d.ts +30 -0
  635. package/lib/tr-grid-util/es6/RequestQueue.js +228 -0
  636. package/lib/tr-grid-util/es6/RowPainter.d.ts +60 -0
  637. package/lib/tr-grid-util/es6/RowPainter.js +448 -0
  638. package/lib/tr-grid-util/es6/SubTable.d.ts +78 -0
  639. package/lib/tr-grid-util/es6/SubTable.js +642 -0
  640. package/lib/tr-grid-util/es6/Table.d.ts +146 -0
  641. package/lib/tr-grid-util/es6/Table.js +832 -0
  642. package/lib/tr-grid-util/es6/TextHighlighter.d.ts +16 -0
  643. package/lib/tr-grid-util/es6/TextHighlighter.js +268 -0
  644. package/lib/tr-grid-util/es6/TickCodes.d.ts +8 -0
  645. package/lib/tr-grid-util/es6/TickCodes.js +33 -0
  646. package/lib/tr-grid-util/es6/Timer.d.ts +16 -0
  647. package/lib/tr-grid-util/es6/Timer.js +49 -0
  648. package/lib/tr-grid-util/es6/TouchProxy.d.ts +46 -0
  649. package/lib/tr-grid-util/es6/TouchProxy.js +212 -0
  650. package/lib/tr-grid-util/es6/Util.d.ts +66 -0
  651. package/lib/tr-grid-util/es6/Util.js +508 -0
  652. package/lib/tr-grid-util/es6/formula/ADCService.d.ts +11 -0
  653. package/lib/tr-grid-util/es6/formula/ADCService.js +72 -0
  654. package/lib/tr-grid-util/es6/formula/ADCSubscription.d.ts +17 -0
  655. package/lib/tr-grid-util/es6/formula/ADCSubscription.js +317 -0
  656. package/lib/tr-grid-util/es6/formula/AdFinService.d.ts +12 -0
  657. package/lib/tr-grid-util/es6/formula/AdFinService.js +61 -0
  658. package/lib/tr-grid-util/es6/formula/AdFinSubscription.d.ts +19 -0
  659. package/lib/tr-grid-util/es6/formula/AdFinSubscription.js +310 -0
  660. package/lib/tr-grid-util/es6/formula/Engine.d.ts +56 -0
  661. package/lib/tr-grid-util/es6/formula/Engine.js +592 -0
  662. package/lib/tr-grid-util/es6/formula/Formula.d.ts +68 -0
  663. package/lib/tr-grid-util/es6/formula/Formula.js +890 -0
  664. package/lib/tr-grid-util/es6/formula/IntervalSubscription.d.ts +16 -0
  665. package/lib/tr-grid-util/es6/formula/IntervalSubscription.js +165 -0
  666. package/lib/tr-grid-util/es6/formula/Realtime.d.ts +18 -0
  667. package/lib/tr-grid-util/es6/formula/Realtime.js +279 -0
  668. package/lib/tr-grid-util/es6/formula/RealtimeService.d.ts +18 -0
  669. package/lib/tr-grid-util/es6/formula/RealtimeService.js +203 -0
  670. package/lib/tr-grid-util/es6/formula/TSIService.d.ts +11 -0
  671. package/lib/tr-grid-util/es6/formula/TSIService.js +51 -0
  672. package/lib/tr-grid-util/es6/formula/TSISubscription.d.ts +18 -0
  673. package/lib/tr-grid-util/es6/formula/TSISubscription.js +1015 -0
  674. package/lib/tr-grid-util/es6/formula/VariableToken.d.ts +30 -0
  675. package/lib/tr-grid-util/es6/formula/VariableToken.js +314 -0
  676. package/lib/tr-grid-util/es6/formula/functions/AdFin.d.ts +9 -0
  677. package/lib/tr-grid-util/es6/formula/functions/AdFin.js +1778 -0
  678. package/lib/tr-grid-util/es6/formula/functions/Excel.d.ts +8 -0
  679. package/lib/tr-grid-util/es6/formula/functions/Excel.js +21 -0
  680. package/lib/tr-grid-util/es6/formula/functions/Info.d.ts +8 -0
  681. package/lib/tr-grid-util/es6/formula/functions/Info.js +192 -0
  682. package/lib/tr-grid-util/es6/formula/functions/Internal.d.ts +8 -0
  683. package/lib/tr-grid-util/es6/formula/functions/Internal.js +90 -0
  684. package/lib/tr-grid-util/es6/formula/functions/Logic.d.ts +12 -0
  685. package/lib/tr-grid-util/es6/formula/functions/Logic.js +176 -0
  686. package/lib/tr-grid-util/es6/formula/functions/Math.d.ts +18 -0
  687. package/lib/tr-grid-util/es6/formula/functions/Math.js +1624 -0
  688. package/lib/tr-grid-util/es6/formula/functions/Statistics.d.ts +18 -0
  689. package/lib/tr-grid-util/es6/formula/functions/Statistics.js +234 -0
  690. package/lib/tr-grid-util/es6/formula/functions/Text.d.ts +10 -0
  691. package/lib/tr-grid-util/es6/formula/functions/Text.js +676 -0
  692. package/lib/tr-grid-util/es6/index.d.ts +65 -0
  693. package/lib/tr-grid-util/es6/index.js +102 -0
  694. package/lib/tr-grid-util/es6/jet/Adc.d.ts +9 -0
  695. package/lib/tr-grid-util/es6/jet/Adc.js +268 -0
  696. package/lib/tr-grid-util/es6/jet/CollectionDict.d.ts +28 -0
  697. package/lib/tr-grid-util/es6/jet/CollectionDict.js +151 -0
  698. package/lib/tr-grid-util/es6/jet/DataGenerator.d.ts +136 -0
  699. package/lib/tr-grid-util/es6/jet/DataGenerator.js +860 -0
  700. package/lib/tr-grid-util/es6/jet/DataSet.d.ts +8 -0
  701. package/lib/tr-grid-util/es6/jet/DataSet.js +392 -0
  702. package/lib/tr-grid-util/es6/jet/MockArchive.d.ts +21 -0
  703. package/lib/tr-grid-util/es6/jet/MockArchive.js +56 -0
  704. package/lib/tr-grid-util/es6/jet/MockJET.d.ts +25 -0
  705. package/lib/tr-grid-util/es6/jet/MockJET.js +71 -0
  706. package/lib/tr-grid-util/es6/jet/MockQuotes.d.ts +37 -0
  707. package/lib/tr-grid-util/es6/jet/MockQuotes.js +199 -0
  708. package/lib/tr-grid-util/es6/jet/MockQuotes2.d.ts +82 -0
  709. package/lib/tr-grid-util/es6/jet/MockQuotes2.js +890 -0
  710. package/lib/tr-grid-util/es6/jet/MockRTK.d.ts +48 -0
  711. package/lib/tr-grid-util/es6/jet/MockRTK.js +82 -0
  712. package/lib/tr-grid-util/es6/jet/MockUtil.d.ts +7 -0
  713. package/lib/tr-grid-util/es6/jet/MockUtil.js +25 -0
  714. package/lib/tr-grid-util/es6/jet/index.d.ts +9 -0
  715. package/lib/tr-grid-util/es6/jet/index.js +18 -0
  716. package/lib/tr-grid-util/es6/jet/mockDataAPI.d.ts +11 -0
  717. package/lib/tr-grid-util/es6/jet/mockDataAPI.js +111 -0
  718. package/lib/tr-grid-util/es6/jsx.d.ts +223 -0
  719. package/lib/tr-grid-util/es6/locale/translation-de.d.ts +7 -0
  720. package/lib/tr-grid-util/es6/locale/translation-de.js +51 -0
  721. package/lib/tr-grid-util/es6/locale/translation-en.d.ts +7 -0
  722. package/lib/tr-grid-util/es6/locale/translation-en.js +51 -0
  723. package/lib/tr-grid-util/es6/locale/translation-ja.d.ts +7 -0
  724. package/lib/tr-grid-util/es6/locale/translation-ja.js +51 -0
  725. package/lib/tr-grid-util/es6/locale/translation-zh-hant.d.ts +7 -0
  726. package/lib/tr-grid-util/es6/locale/translation-zh-hant.js +51 -0
  727. package/lib/tr-grid-util/es6/locale/translation-zh.d.ts +7 -0
  728. package/lib/tr-grid-util/es6/locale/translation-zh.js +51 -0
  729. package/lib/tr-grid-util/es6/locale/translation.d.ts +11 -0
  730. package/lib/tr-grid-util/es6/locale/translation.js +18 -0
  731. package/lib/types/es6/AutoTooltip.d.ts +46 -0
  732. package/lib/types/es6/CellSelection.d.ts +70 -0
  733. package/lib/types/es6/Checkbox.d.ts +82 -0
  734. package/lib/types/es6/ColumnDragging.d.ts +51 -0
  735. package/lib/types/es6/ColumnFitter.d.ts +56 -0
  736. package/lib/types/es6/ColumnFormatting.d.ts +92 -0
  737. package/lib/types/es6/ColumnGrouping.d.ts +107 -0
  738. package/lib/types/es6/ColumnResizing.d.ts +68 -0
  739. package/lib/types/es6/ColumnSelection.d.ts +77 -0
  740. package/lib/types/es6/ColumnStack.d.ts +160 -0
  741. package/lib/types/es6/CompositeGrid/CollapsibleHeaderPlugin.d.ts +11 -0
  742. package/lib/types/es6/CompositeGrid/ColumnSelectionPlugin.d.ts +41 -0
  743. package/lib/types/es6/CompositeGrid/ColumnWidthAdjustingPlugin.d.ts +45 -0
  744. package/lib/types/es6/CompositeGrid/CompositeGrid.d.ts +289 -0
  745. package/lib/types/es6/CompositeGrid/DragAndDropTitlePlugin.d.ts +23 -0
  746. package/lib/types/es6/CompositeGrid/DraggableContentPlugin.d.ts +41 -0
  747. package/lib/types/es6/CompositeGrid/Plugin.d.ts +30 -0
  748. package/lib/types/es6/CompositeGrid/ResizableTitlePlugin.d.ts +32 -0
  749. package/lib/types/es6/CompositeGrid/RowSelectionPlugin.d.ts +44 -0
  750. package/lib/types/es6/CompositeGrid/TextWidthCalculator.d.ts +24 -0
  751. package/lib/types/es6/CompositeGrid/TreeIndentingPlugin.d.ts +46 -0
  752. package/lib/types/es6/CompositeGrid/index.d.ts +9 -0
  753. package/lib/types/es6/ConditionalColoring.d.ts +100 -0
  754. package/lib/types/es6/ContentWrap.d.ts +43 -0
  755. package/lib/types/es6/ContextMenu.d.ts +83 -0
  756. package/lib/types/es6/CoralButtonFormatter.d.ts +20 -0
  757. package/lib/types/es6/CoralCheckboxFormatter.d.ts +12 -0
  758. package/lib/types/es6/CoralComboBoxFormatter.d.ts +23 -0
  759. package/lib/types/es6/CoralIconFormatter.d.ts +21 -0
  760. package/lib/types/es6/CoralInputFormatter.d.ts +12 -0
  761. package/lib/types/es6/CoralRadioButtonFormatter.d.ts +20 -0
  762. package/lib/types/es6/CoralSelectFormatter.d.ts +23 -0
  763. package/lib/types/es6/CoralToggleFormatter.d.ts +12 -0
  764. package/lib/types/es6/Core/data/ColumnStats.d.ts +42 -0
  765. package/lib/types/es6/Core/data/DataCache.d.ts +43 -0
  766. package/lib/types/es6/Core/data/DataTable.d.ts +156 -0
  767. package/lib/types/es6/Core/data/DataView.d.ts +332 -0
  768. package/lib/types/es6/Core/data/Segment.d.ts +91 -0
  769. package/lib/types/es6/Core/data/SegmentCollection.d.ts +84 -0
  770. package/lib/types/es6/Core/data/WrappedView.d.ts +290 -0
  771. package/lib/types/es6/Core/grid/Core.d.ts +455 -0
  772. package/lib/types/es6/Core/grid/ILayoutGrid.d.ts +212 -0
  773. package/lib/types/es6/Core/grid/LayoutGrid.d.ts +37 -0
  774. package/lib/types/es6/Core/grid/VirtualizedLayoutGrid.d.ts +28 -0
  775. package/lib/types/es6/Core/grid/components/Cell.d.ts +52 -0
  776. package/lib/types/es6/Core/grid/components/CellFloatingPanel.d.ts +21 -0
  777. package/lib/types/es6/Core/grid/components/CellSpan.d.ts +18 -0
  778. package/lib/types/es6/Core/grid/components/CellSpans.d.ts +40 -0
  779. package/lib/types/es6/Core/grid/components/Column.d.ts +22 -0
  780. package/lib/types/es6/Core/grid/components/ElementWrapper.d.ts +127 -0
  781. package/lib/types/es6/Core/grid/components/HScrollbar.d.ts +28 -0
  782. package/lib/types/es6/Core/grid/components/Scrollbar.d.ts +63 -0
  783. package/lib/types/es6/Core/grid/components/StretchedCells.d.ts +17 -0
  784. package/lib/types/es6/Core/grid/components/VScrollbar.d.ts +18 -0
  785. package/lib/types/es6/Core/grid/components/VirtualItems.d.ts +12 -0
  786. package/lib/types/es6/Core/grid/event/EventDispatcher.d.ts +16 -0
  787. package/lib/types/es6/Core/grid/event/EventListeners.d.ts +34 -0
  788. package/lib/types/es6/Core/grid/plugins/SortableTitlePlugin.d.ts +155 -0
  789. package/lib/types/es6/Core/grid/util/CellBoundPainter.d.ts +16 -0
  790. package/lib/types/es6/Core/grid/util/Conflator.d.ts +32 -0
  791. package/lib/types/es6/Core/grid/util/Reverter.d.ts +14 -0
  792. package/lib/types/es6/Core/grid/util/SectionSettings.d.ts +79 -0
  793. package/lib/types/es6/Core/grid/util/SelectionList.d.ts +54 -0
  794. package/lib/types/es6/Core/grid/util/TrackLayout.d.ts +92 -0
  795. package/lib/types/es6/Core/grid/util/Virtualizer.d.ts +40 -0
  796. package/lib/types/es6/Core/grid/util/util.d.ts +20 -0
  797. package/lib/types/es6/Core/index.d.ts +79 -0
  798. package/lib/types/es6/Core/tr-grid-theme.d.ts +5 -0
  799. package/lib/types/es6/DuplexEmeraldDateTimePickerFormatter.d.ts +14 -0
  800. package/lib/types/es6/EFButtonFormatter.d.ts +20 -0
  801. package/lib/types/es6/EFCheckboxFormatter.d.ts +12 -0
  802. package/lib/types/es6/EFComboBoxFormatter.d.ts +23 -0
  803. package/lib/types/es6/EFDateTimePickerFormatter.d.ts +13 -0
  804. package/lib/types/es6/EFIconFormatter.d.ts +21 -0
  805. package/lib/types/es6/EFNumberFieldFormatter.d.ts +12 -0
  806. package/lib/types/es6/EFRadioButtonFormatter.d.ts +20 -0
  807. package/lib/types/es6/EFSelectFormatter.d.ts +23 -0
  808. package/lib/types/es6/EFTextFieldFormatter.d.ts +12 -0
  809. package/lib/types/es6/EFToggleFormatter.d.ts +12 -0
  810. package/lib/types/es6/EmeraldDateTimePickerFormatter.d.ts +13 -0
  811. package/lib/types/es6/ExtensionColumnOptions.d.ts +41 -0
  812. package/lib/types/es6/ExtensionOptions.d.ts +58 -0
  813. package/lib/types/es6/Extensions.d.ts +63 -0
  814. package/lib/types/es6/FilterInput.d.ts +64 -0
  815. package/lib/types/es6/FormatterBuilder.d.ts +26 -0
  816. package/lib/types/es6/GridFormatter.d.ts +63 -0
  817. package/lib/types/es6/HeatMap.d.ts +45 -0
  818. package/lib/types/es6/InCellEditing.d.ts +148 -0
  819. package/lib/types/es6/MenuEventAPI.d.ts +22 -0
  820. package/lib/types/es6/MenuItem.d.ts +41 -0
  821. package/lib/types/es6/NumericInputFormatter.d.ts +13 -0
  822. package/lib/types/es6/Pagination.d.ts +58 -0
  823. package/lib/types/es6/PercentBar.d.ts +60 -0
  824. package/lib/types/es6/PercentBarFormatter.d.ts +25 -0
  825. package/lib/types/es6/PopupMenu.d.ts +33 -0
  826. package/lib/types/es6/RangeBar.d.ts +39 -0
  827. package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +176 -0
  828. package/lib/types/es6/RealtimeGrid/DataConnector.d.ts +43 -0
  829. package/lib/types/es6/RealtimeGrid/FieldDefinition.d.ts +40 -0
  830. package/lib/types/es6/RealtimeGrid/Grid.d.ts +413 -0
  831. package/lib/types/es6/RealtimeGrid/PredefinedFormula.d.ts +16 -0
  832. package/lib/types/es6/RealtimeGrid/ReferenceCounter.d.ts +40 -0
  833. package/lib/types/es6/RealtimeGrid/RowDefSorter.d.ts +19 -0
  834. package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +156 -0
  835. package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +36 -0
  836. package/lib/types/es6/RealtimeGrid/StyleLoader.d.ts +17 -0
  837. package/lib/types/es6/RealtimeGrid/index.d.ts +8 -0
  838. package/lib/types/es6/RowColoring.d.ts +64 -0
  839. package/lib/types/es6/RowDragging.d.ts +81 -0
  840. package/lib/types/es6/RowFiltering.d.ts +159 -0
  841. package/lib/types/es6/RowGrouping.d.ts +123 -0
  842. package/lib/types/es6/RowSegmenting.d.ts +109 -0
  843. package/lib/types/es6/RowSelection.d.ts +75 -0
  844. package/lib/types/es6/SimpleImageFormatter.d.ts +21 -0
  845. package/lib/types/es6/SimpleInputFormatter.d.ts +12 -0
  846. package/lib/types/es6/SimpleLinkFormatter.d.ts +21 -0
  847. package/lib/types/es6/SimpleTickerFormatter.d.ts +23 -0
  848. package/lib/types/es6/SimpleToggleFormatter.d.ts +22 -0
  849. package/lib/types/es6/StatisticsRow.d.ts +68 -0
  850. package/lib/types/es6/TextFormatter.d.ts +12 -0
  851. package/lib/types/es6/TextFormatting.d.ts +72 -0
  852. package/lib/types/es6/TitleWrap.d.ts +27 -0
  853. package/lib/types/es6/Zoom.d.ts +52 -0
  854. package/lib/types/es6/index.d.ts +80 -0
  855. package/lib/types/index.d.ts +1 -0
  856. package/lib/utils/index.d.ts +7 -0
  857. package/lib/utils/index.js +7 -0
  858. package/lib/versions.json +37 -0
  859. package/lib/window-exporter.js +18 -0
  860. package/lib/zoom/es6/Zoom.d.ts +52 -0
  861. package/lib/zoom/es6/Zoom.js +438 -0
  862. package/lib/zoom/es6/index.d.ts +1 -0
  863. package/lib/zoom/es6/index.js +1 -0
  864. package/package.json +69 -0
@@ -0,0 +1,1241 @@
1
+ /* eslint-disable */
2
+ import Ext from "../../../tr-grid-util/es6/Ext.js";
3
+ import TrackLayout from "./util/TrackLayout.js";
4
+ import SelectionList from "./util/SelectionList.js";
5
+ import Reverter from "./util/Reverter.js";
6
+ import ILayoutGrid from "./ILayoutGrid.js";
7
+ import LayoutGrid from "./LayoutGrid.js";
8
+ import ElementWrapper from "./components/ElementWrapper.js";
9
+ import HScrollbar from "./components/HScrollbar.js";
10
+ import CellBoundPainter from "./util/CellBoundPainter.js";
11
+ /* eslint-enable */
12
+
13
+
14
+ /** @constructor
15
+ * @ignore
16
+ * @param {Object=} options
17
+ * @extends {ElementWrapper}
18
+ */
19
+ let VirtualizedLayoutGrid = function (options) {
20
+ let _t = this;
21
+ _t._onRestingPosition = _t._onRestingPosition.bind(_t);
22
+ _t._updateRowBounds = _t._updateRowBounds.bind(_t);
23
+
24
+ _t._element = document.createElement("div");
25
+ _t._element.className = "tr-vlg section";
26
+
27
+ if(!options) {
28
+ options = {};
29
+ }
30
+ if(options["horizontalScrollbar"]) {
31
+ _t._hscrollbar = options["horizontalScrollbar"];
32
+ }
33
+ options["owner"] = this;
34
+
35
+ _t._grid = new LayoutGrid(options);
36
+ _t._grid.setParent(_t._element);
37
+
38
+ _t._layoutY = new TrackLayout();
39
+ _t._selectionList = new SelectionList();
40
+ _t._reverter = new Reverter(_t._onRestingPosition, 200); // WORKAROUND: GRID-402
41
+
42
+ _t._addEvent("rowHighlighted");
43
+ _t._addEvent("rowCountChanged");
44
+ _t._addEvent("rowHeightChanged");
45
+ _t._addEvent("rowAvailable");
46
+ };
47
+ Ext.inherits(VirtualizedLayoutGrid, ElementWrapper);
48
+
49
+
50
+ /**
51
+ * @private
52
+ * @type {number}
53
+ */
54
+ VirtualizedLayoutGrid.prototype._index = -1;
55
+
56
+ /** Number of rows offsetting from the first section
57
+ * @private
58
+ * @type {number}
59
+ */
60
+ VirtualizedLayoutGrid.prototype._rowOffset = 0;
61
+ /** For virtualization in Y-Axis
62
+ * @private
63
+ * @type {number}
64
+ */
65
+ VirtualizedLayoutGrid.prototype._firstIndex = 0;
66
+
67
+ /** @private
68
+ * @type {!LayoutGrid}
69
+ */
70
+ VirtualizedLayoutGrid.prototype._grid;
71
+
72
+ /** @private
73
+ * @type {!TrackLayout}
74
+ */
75
+ VirtualizedLayoutGrid.prototype._layoutY;
76
+
77
+ /** @private
78
+ * @type {SelectionList}
79
+ */
80
+ VirtualizedLayoutGrid.prototype._selectionList = null;
81
+
82
+ /** @type {Reverter}
83
+ * @private
84
+ */
85
+ VirtualizedLayoutGrid.prototype._reverter = null;
86
+ /** @type {Array.<Element>}
87
+ * @private
88
+ */
89
+ VirtualizedLayoutGrid.prototype._rowBounds = null;
90
+ /** @type {Array.<Element>}
91
+ * @private
92
+ */
93
+ VirtualizedLayoutGrid.prototype._rowBoundCache = null;
94
+ /** @type {boolean}
95
+ * @private
96
+ */
97
+ VirtualizedLayoutGrid.prototype._rowSelDirty = false;
98
+ /** @type {Object}
99
+ * @private
100
+ */
101
+ VirtualizedLayoutGrid.prototype._cellBoundPainter = null;
102
+ /** @type {number}
103
+ * @private
104
+ */
105
+ VirtualizedLayoutGrid.prototype._rowBoundTimer = 0;
106
+ /** @type {Element}
107
+ * @private
108
+ */
109
+ VirtualizedLayoutGrid.prototype._boundLayer = null;
110
+ /** @type {HScrollbar}
111
+ * @private
112
+ */
113
+ VirtualizedLayoutGrid.prototype._hscrollbar = null;
114
+ /** @type {string}
115
+ * @private
116
+ */
117
+ VirtualizedLayoutGrid.prototype._session = "A";
118
+ /** @type {Array<boolean>}
119
+ * @private
120
+ */
121
+ VirtualizedLayoutGrid.prototype._tempRowHeights = null;
122
+
123
+ //#region ====== Override ElementWrapper ======//
124
+ /** @override */
125
+ VirtualizedLayoutGrid.prototype.getWidth = function () {
126
+ if(this.isVisible()) {
127
+ return this._grid.getWidth();
128
+ }
129
+ return 0;
130
+ };
131
+ /** @override */
132
+ VirtualizedLayoutGrid.prototype.getHeight = function () {
133
+ if (this.isVisible()) {
134
+ return this._element.offsetHeight;
135
+ }
136
+ return 0;
137
+ };
138
+ /** @override */
139
+ VirtualizedLayoutGrid.prototype.dispose = function () {
140
+ this.setRowCount(0); // Fire rowCountChanged
141
+ this.unlistenAll();
142
+
143
+ this._hscrollbar = null;
144
+ this._grid.dispose();
145
+ this._dispose();
146
+ this._reverter.dispose();
147
+
148
+ this._rowBounds = this._rowBoundCache = null;
149
+ this._rowSelDirty = false;
150
+ if(this._rowBoundTimer) {
151
+ clearTimeout(this._rowBoundTimer);
152
+ this._rowBoundTimer = 0;
153
+ }
154
+ if(this._cellBoundPainter) {
155
+ this._cellBoundPainter.dispose();
156
+ }
157
+ };
158
+ /** @override */
159
+ VirtualizedLayoutGrid.prototype.setWidth = function (px) {
160
+ return this._grid.setWidth(px);
161
+ };
162
+ /** @override */
163
+ VirtualizedLayoutGrid.prototype.setHeight = function (px) {
164
+ return false;
165
+ };
166
+ /** {@link ElementWrapper#show}
167
+ * @override */
168
+ VirtualizedLayoutGrid.prototype.show = function (opt_shown) {
169
+ this._element.style.display = (opt_shown !== false) ? "" : "none";
170
+ this._dispatchRowHeightChangedEvent(0, this._layoutY.getLaneCount());
171
+ };
172
+ //#endregion
173
+
174
+ //#region ====== Implementing ILayoutGrid ======//
175
+ /** @inheritDoc */
176
+ VirtualizedLayoutGrid.prototype.hitTest = function (x, y) {
177
+ let e = [];
178
+ e["colIndex"] = this._grid.hitTestX(x);
179
+ e["rowIndex"] = this._layoutY.hitTest(y);
180
+ return e;
181
+ };
182
+ /** @inheritDoc */
183
+ VirtualizedLayoutGrid.prototype.hitTestX = function (x) {
184
+ return this._grid.hitTestX(x);
185
+ };
186
+ /** @inheritDoc */
187
+ VirtualizedLayoutGrid.prototype.hitTestY = function (y) {
188
+ return this._layoutY.hitTest(y);
189
+ };
190
+
191
+ /** @inheritDoc */
192
+ VirtualizedLayoutGrid.prototype.getDefaultColumnWidth = function () {
193
+ return this._grid.getDefaultColumnWidth();
194
+ };
195
+ /** @inheritDoc */
196
+ VirtualizedLayoutGrid.prototype.setDefaultColumnWidth = function (val) {
197
+ this._grid.setDefaultColumnWidth(val);
198
+ };
199
+
200
+ /** @inheritDoc */
201
+ VirtualizedLayoutGrid.prototype.getDefaultRowHeight = function () {
202
+ return this._layoutY.getDefaultLaneSize();
203
+ };
204
+ /** @inheritDoc */
205
+ VirtualizedLayoutGrid.prototype.setDefaultRowHeight = function (val) {
206
+ let prevVal = this._layoutY.getDefaultLaneSize();
207
+ if (prevVal !== val) {
208
+ this._layoutY.setDefaultLaneSize(val);
209
+ this._element.style.height = this._layoutY.getTrackSize() + "px";
210
+ this._grid.setDefaultRowHeight(val);
211
+ this._dispatchRowHeightChangedEvent(0, this._layoutY.getLaneCount());
212
+ }
213
+ };
214
+
215
+ /** @inheritDoc */
216
+ VirtualizedLayoutGrid.prototype.getColumnWidth = function (index) {
217
+ return this._grid.getColumnWidth(index);
218
+ };
219
+ /** @inheritDoc */
220
+ VirtualizedLayoutGrid.prototype.setColumnWidth = function (index, val) {
221
+ return this._grid.setColumnWidth(index, val);
222
+ };
223
+ /** @public
224
+ * @ignore
225
+ * @param {number} indexX
226
+ * @param {number} val
227
+ * @return {boolean}
228
+ */
229
+ VirtualizedLayoutGrid.prototype._setColumnWidth = function (indexX, val) {
230
+ return this._grid._setColumnWidth(indexX, val);
231
+ };
232
+ /** @public
233
+ * @ignore
234
+ */
235
+ VirtualizedLayoutGrid.prototype._updateColumnLayout = function () {
236
+ this._grid._updateColumnLayout();
237
+ };
238
+ /** @public
239
+ * @ignore
240
+ * @param {boolean} enabled
241
+ */
242
+ VirtualizedLayoutGrid.prototype._startBindingSession = function (enabled) {
243
+ this._isBinding = enabled;
244
+ if(!enabled){
245
+ // Clear old session
246
+ if(this._tempRowHeights){
247
+ let defaultRowHeight = this.getDefaultRowHeight();
248
+ let hasSession = true;
249
+ let removedIndices = [];
250
+
251
+ for(let key in this._tempRowHeights){
252
+ let index = +key;
253
+ let rowSession = this._layoutY.getLaneProperty(index, "sizeSession");
254
+ if(rowSession) {
255
+ if(rowSession != this._session){
256
+ this.setRowHeight(index, defaultRowHeight);
257
+ this._layoutY.setLaneProperty(index, "sizeSession", null);
258
+ removedIndices.push(index);
259
+ }
260
+ }
261
+ }
262
+ let removedCount = removedIndices.length;
263
+ for(let i = 0; i < removedCount; i++){
264
+ delete this._tempRowHeights[removedIndices[i]];
265
+ }
266
+ if(removedCount){
267
+ for(let remainingKey in this._tempRowHeights){
268
+ hasSession = remainingKey != null;
269
+ break;
270
+ }
271
+ }
272
+ if(!hasSession){
273
+ this._tempRowHeights = null;
274
+ }
275
+
276
+ }
277
+ this._session = this._session === "A" ? "B" : "A";
278
+ }
279
+ };
280
+ /** @public
281
+ * @ignore
282
+ * @return {Array<boolean>}
283
+ */
284
+ VirtualizedLayoutGrid.prototype._getTempRowHeights = function () {
285
+ return this._tempRowHeights;
286
+ };
287
+ /** @inheritDoc */
288
+ VirtualizedLayoutGrid.prototype.getRowHeight = function (index) {
289
+ return this._layoutY.getLaneSize(index);
290
+ };
291
+ /** @inheritDoc */
292
+ VirtualizedLayoutGrid.prototype.setRowHeight = function (index, val) {
293
+ if(this._isBinding && val != this.getDefaultRowHeight()){
294
+ this._layoutY.setLaneProperty(index, "sizeSession", this._session);
295
+ if(!this._tempRowHeights){
296
+ this._tempRowHeights = [];
297
+ }
298
+ this._tempRowHeights[index] = true; // Store row index that set temporary row height
299
+ }
300
+ if(this._layoutY.setLaneSize(index, val)) {
301
+ this._grid.setRowHeight(index - this._firstIndex, val);
302
+ this._element.style.height = this._layoutY.getTrackSize() + "px";
303
+ this._requestUpdatingRowBounds();
304
+ return this._dispatchRowHeightChangedEvent(index, index + 1);
305
+ }
306
+ return false;
307
+ };
308
+
309
+ /** @inheritDoc */
310
+ VirtualizedLayoutGrid.prototype.isColumnVisible = function (index) {
311
+ return this._grid.isColumnVisible(index);
312
+ };
313
+ /** @inheritDoc */
314
+ VirtualizedLayoutGrid.prototype.hideColumn = function (index, val) {
315
+ return this._grid.hideColumn(index, val);
316
+ };
317
+
318
+ /** @inheritDoc */
319
+ VirtualizedLayoutGrid.prototype.isRowVisible = function (index) {
320
+ return this._grid.isRowVisible(index - this._firstIndex);
321
+ };
322
+ /** @inheritDoc */
323
+ VirtualizedLayoutGrid.prototype.hideRow = function (index, val) {
324
+ return this._grid.hideRow(index - this._firstIndex, val);
325
+ };
326
+
327
+ /** @inheritDoc */
328
+ VirtualizedLayoutGrid.prototype.getMinimumColumnWidth = function (index) {
329
+ return this._grid.getMinimumColumnWidth(index);
330
+ };
331
+ /** @inheritDoc */
332
+ VirtualizedLayoutGrid.prototype.setMinimumColumnWidth = function (index, val) {
333
+ return this._grid.setMinimumColumnWidth(index, val);
334
+ };
335
+
336
+ /** @inheritDoc */
337
+ VirtualizedLayoutGrid.prototype.getMinimumRowHeight = function (index) {
338
+ return this._layoutY.getMinimumLaneSize(index);
339
+ };
340
+ /** @inheritDoc */
341
+ VirtualizedLayoutGrid.prototype.setMinimumRowHeight = function (index, val) {
342
+ return false;
343
+ };
344
+
345
+ /** @inheritDoc */
346
+ VirtualizedLayoutGrid.prototype.getCellLeft = function (indexX) {
347
+ return this._grid.getCellLeft(indexX);
348
+ };
349
+ /** @inheritDoc */
350
+ VirtualizedLayoutGrid.prototype.getCellTop = function (indexY) {
351
+ return this._layoutY.getLaneStart(indexY);
352
+ };
353
+ /** @inheritDoc */
354
+ VirtualizedLayoutGrid.prototype.getCellWidth = function (indexX, indexY) {
355
+ return this._grid.getCellWidth(indexX, 0); //In virtualization, every cell in the same column has the same width
356
+ };
357
+ /** @inheritDoc */
358
+ VirtualizedLayoutGrid.prototype.getCellHeight = function (indexX, indexY) {
359
+ return this._layoutY.getLaneSize(indexY); //In virtualization, every cell in the same row has the same height
360
+ };
361
+
362
+ /** @inheritDoc */
363
+ VirtualizedLayoutGrid.prototype.hasCellSpan = function () {
364
+ return this._grid.hasCellSpan();
365
+ };
366
+ //Not support row spanning in virtualization
367
+ /** @inheritDoc */
368
+ VirtualizedLayoutGrid.prototype.getCellRowSpan = function (indexX, indexY) {
369
+ return this._grid.getCellRowSpan(indexX, indexY - this._firstIndex);
370
+ };
371
+ /** @inheritDoc */
372
+ VirtualizedLayoutGrid.prototype.setCellRowSpan = function (indexX, indexY, rowSpan) {
373
+ return this._grid.setCellRowSpan(indexX, indexY - this._firstIndex, rowSpan);
374
+ };
375
+ /** @inheritDoc */
376
+ VirtualizedLayoutGrid.prototype.getCellColSpan = function (indexX, indexY) {
377
+ return this._grid.getCellColSpan(indexX, indexY - this._firstIndex);
378
+ };
379
+ /** @inheritDoc */
380
+ VirtualizedLayoutGrid.prototype.setCellColSpan = function (indexX, indexY, colSpan) {
381
+ return this._grid.setCellColSpan(indexX, indexY - this._firstIndex, colSpan);
382
+ };
383
+ /** @inheritDoc */
384
+ VirtualizedLayoutGrid.prototype.clearCellSpans = function () {
385
+ return this._grid.clearCellSpans();
386
+ };
387
+ /** @inheritDoc */
388
+ VirtualizedLayoutGrid.prototype.clearColumnSpans = function (indexX) {
389
+ return this._grid.clearColumnSpans(indexX);
390
+ };
391
+
392
+ /** @inheritDoc */
393
+ VirtualizedLayoutGrid.prototype.clearColumnCustomizations = function () {
394
+ this._grid.clearColumnCustomizations();
395
+ };
396
+ /** @inheritDoc */
397
+ VirtualizedLayoutGrid.prototype.clearRowCustomizations = function () {
398
+ this._layoutY.clearLaneCustomizations();
399
+ this._grid.clearRowCustomizations();
400
+ };
401
+
402
+ /** @inheritDoc */
403
+ VirtualizedLayoutGrid.prototype.getColumnScalability = function (indexX) {
404
+ return this._grid.getColumnScalability(indexX);
405
+ };
406
+ /** @inheritDoc */
407
+ VirtualizedLayoutGrid.prototype.setColumnScalability = function (indexX, val) {
408
+ return this._grid.setColumnScalability(indexX, val);
409
+ };
410
+
411
+ /** @inheritDoc */
412
+ VirtualizedLayoutGrid.prototype.getRowScalability = function (indexY) {
413
+ return this._layoutY.getLaneScalability(indexY);
414
+ };
415
+ /** @inheritDoc */
416
+ VirtualizedLayoutGrid.prototype.setRowScalability = function (index, val) {
417
+ return false;
418
+ };
419
+
420
+ /** @inheritDoc */
421
+ VirtualizedLayoutGrid.prototype.getCell = function (indexX, indexY, opt_includeSpan) {
422
+ return this._grid.getCell(indexX, indexY - this._firstIndex, opt_includeSpan);
423
+ };
424
+ /** @inheritDoc */
425
+ VirtualizedLayoutGrid.prototype.getCellContent = function (indexX, indexY) {
426
+ return this._grid.getCellContent(indexX, indexY - this._firstIndex);
427
+ };
428
+ /** @inheritDoc */
429
+ VirtualizedLayoutGrid.prototype.setCellContent = function (indexX, indexY, data) {
430
+ return this._grid.setCellContent(indexX, indexY - this._firstIndex, data);
431
+ };
432
+
433
+ /** @inheritDoc */
434
+ VirtualizedLayoutGrid.prototype.getColumnCount = function () {
435
+ return this._grid.getColumnCount();
436
+ };
437
+ /** @inheritDoc */
438
+ VirtualizedLayoutGrid.prototype.setColumnCount = function (val) {
439
+ this._grid.setColumnCount(val);
440
+ };
441
+
442
+ /** @inheritDoc */
443
+ VirtualizedLayoutGrid.prototype.getRowCount = function () {
444
+ return this._layoutY.getLaneCount();
445
+ };
446
+ /** @inheritDoc */
447
+ VirtualizedLayoutGrid.prototype.setRowCount = function (val, noBinding) {
448
+ let prevCount = this._layoutY.getLaneCount();
449
+ if(prevCount !== val){
450
+ this._layoutY.setLaneCount(val);
451
+ if(this._tempRowHeights){
452
+ this._tempRowHeights.length = val;
453
+ }
454
+ this._element.style.height = this._layoutY.getTrackSize() + "px";
455
+ this._requestUpdatingRowBounds();
456
+ //After rowCountChanged fires, virtualizer will update virtual row count if
457
+ //the range of virtual layout changed.
458
+ this._dispatch("rowCountChanged", { "rowCount": val, "prevCount": prevCount, "noBinding": noBinding });
459
+ }
460
+ };
461
+ /** @inheritDoc */
462
+ VirtualizedLayoutGrid.prototype.getVisibleRowCount = function () {
463
+ return this.getRowCount();
464
+ };
465
+ /** @inheritDoc */
466
+ VirtualizedLayoutGrid.prototype.addRow = function (val) {
467
+ if (val <= 0) { return; }
468
+ if (this._grid.getColumnCount() <= 0) {
469
+ console.log("WARNING: Row cannot be added, unless at least one column is added");
470
+ return;
471
+ }
472
+ this.setRowCount(this._layoutY.getLaneCount() + val);
473
+ };
474
+ /** @inheritDoc */
475
+ VirtualizedLayoutGrid.prototype.removeRow = function (val) {
476
+ if (val <= 0) { return; }
477
+ let rowCount = this._layoutY.getLaneCount();
478
+ if (val > rowCount) { val = rowCount; }
479
+ this.setRowCount(rowCount - val);
480
+ };
481
+
482
+ /** @inheritDoc */
483
+ VirtualizedLayoutGrid.prototype.setBorders = function (lft, top, rgt, btm) {
484
+ this._grid.setBorders(lft, top, rgt, btm);
485
+ };
486
+ /** @inheritDoc */
487
+ VirtualizedLayoutGrid.prototype.getColumnStyle = function (colIndex, styleName) {
488
+ return this._grid.getColumnStyle(colIndex, styleName);
489
+ };
490
+ /** @inheritDoc */
491
+ VirtualizedLayoutGrid.prototype.setColumnStyle = function (colIndex, styleName, value) {
492
+ this._grid.setColumnStyle(colIndex, styleName, value);
493
+ };
494
+
495
+ /** @inheritDoc */
496
+ VirtualizedLayoutGrid.prototype.enableColumnClass = function (colIndex, className, enabled) {
497
+ this._grid.enableColumnClass(colIndex, className, enabled);
498
+ };
499
+ /** @inheritDoc */
500
+ VirtualizedLayoutGrid.prototype.hasColumnClass = function (colIndex, className) {
501
+ return this._grid.hasColumnClass(colIndex, className);
502
+ };
503
+ /** @inheritDoc */
504
+ VirtualizedLayoutGrid.prototype.enableRowClass = function (rowIndex, className, enabled) {
505
+ this._grid.enableRowClass(rowIndex - this._firstIndex, className, enabled);
506
+ };
507
+ /** @inheritDoc */
508
+ VirtualizedLayoutGrid.prototype.setRowStyle = function (rowIndex, styleName, value, enabled) {
509
+ this._grid.setRowStyle(rowIndex - this._firstIndex, styleName, value, enabled);
510
+ };
511
+
512
+ /** @inheritDoc */
513
+ VirtualizedLayoutGrid.prototype.getContentWidth = function () {
514
+ return this._grid.getContentWidth();
515
+ };
516
+ /** @inheritDoc */
517
+ VirtualizedLayoutGrid.prototype.getContentHeight = function () {
518
+ return this._layoutY.getTrackSize();
519
+ };
520
+
521
+ /** @inheritDoc */
522
+ VirtualizedLayoutGrid.prototype.getCellsByRowIndex = function(rowIndex) {
523
+ return this._grid.getCellsByRowIndex(rowIndex - this._firstIndex);
524
+ };
525
+
526
+ /** @inheritDoc */
527
+ VirtualizedLayoutGrid.prototype.disableHorizontalGridLine = function (opt_bool) {
528
+ this._grid.disableHorizontalGridLine(opt_bool);
529
+ };
530
+ /** @inheritDoc */
531
+ VirtualizedLayoutGrid.prototype.disableVerticalGridLine = function (opt_bool) {
532
+ this._grid.disableVerticalGridLine(opt_bool);
533
+ };
534
+
535
+ /** @inheritDoc */
536
+ VirtualizedLayoutGrid.prototype.enableShading = function (enabled) {
537
+ this._grid.enableShading(enabled);
538
+ };
539
+
540
+ /** @inheritDoc */
541
+ VirtualizedLayoutGrid.prototype.setTransposedShading = function (enabled) {
542
+ this._grid.setTransposedShading(enabled);
543
+ };
544
+
545
+ /** @inheritDoc */
546
+ VirtualizedLayoutGrid.prototype.enableRowHighlighting = function (opt_bool) {
547
+ this._grid.enableRowHighlighting(opt_bool);
548
+ };
549
+
550
+ /** @inheritDoc */
551
+ VirtualizedLayoutGrid.prototype.getRowHighlight = function () {
552
+ let index = this._grid.getRowHighlight();
553
+ if(index >= 0){
554
+ index += this._firstIndex;
555
+ }
556
+ return index;
557
+ };
558
+
559
+ /** @inheritDoc */
560
+ VirtualizedLayoutGrid.prototype.setRowHighlight = function (rowIndex) {
561
+ let prevIndex = this._grid.getRowHighlight();
562
+ this._grid.setRowHighlight(rowIndex - this._firstIndex);
563
+
564
+ if (this._hasListener("rowHighlighted")) {
565
+ rowIndex = this._grid.getRowHighlight();
566
+
567
+ this._dispatch("rowHighlighted", {
568
+ "prevRowIndex": (prevIndex >= 0) ? prevIndex + this._firstIndex : prevIndex,
569
+ "rowIndex": (rowIndex >= 0) ? rowIndex + this._firstIndex : rowIndex
570
+ });
571
+ }
572
+ };
573
+
574
+ /** @inheritDoc */
575
+ VirtualizedLayoutGrid.prototype.getSelectedRows = function () {
576
+ if(this.getSelectedRowCount() > 0){
577
+ return this._selectionList.getAllSelections();
578
+ }
579
+ return null;
580
+ };
581
+ /** @inheritDoc */
582
+ VirtualizedLayoutGrid.prototype.getSelectedRowCount = function () {
583
+ return this._selectionList.getSelectionCount();
584
+ };
585
+
586
+ /** @inheritDoc */
587
+ VirtualizedLayoutGrid.prototype.isSelectedRow = function (at) {
588
+ return this._selectionList.getSelection(at);
589
+ };
590
+
591
+ /** @inheritDoc */
592
+ VirtualizedLayoutGrid.prototype.setSelectedRow = function (rowIndex, opt_selected) {
593
+ this._selectionList.setSelection(rowIndex, opt_selected);
594
+
595
+ let selected = this._selectionList.getSelection(rowIndex);
596
+ this._grid.setSelectedRow(rowIndex - this._firstIndex, selected);
597
+
598
+ if(selected) {
599
+ this._rowSelDirty = true;
600
+ this._initBoundLayer();
601
+ }
602
+ this._requestUpdatingRowBounds();
603
+ };
604
+
605
+ /** @inheritDoc */
606
+ VirtualizedLayoutGrid.prototype.selectSingleRow = function (rowIndex) {
607
+ this._selectionList.clearAllSelections();
608
+ this._grid.clearSelectedRows();
609
+ this.setSelectedRow(rowIndex);
610
+ };
611
+ /** @inheritDoc */
612
+ VirtualizedLayoutGrid.prototype.selectRowRange = function (rowIndex, length) {
613
+ this._selectionList.selectRange(rowIndex, length);
614
+ this._updateRowSelection();
615
+ this._rowSelDirty = true;
616
+ this._initBoundLayer();
617
+ this._requestUpdatingRowBounds();
618
+ };
619
+ /** @inheritDoc */
620
+ VirtualizedLayoutGrid.prototype.clearSelectedRows = function () {
621
+ let count = this._selectionList.clearAllSelections();
622
+ this._grid.clearSelectedRows();
623
+ this._requestUpdatingRowBounds(); // WARNING: Row bounds are not removed from the document immediately
624
+ return count;
625
+ };
626
+ /** @inheritDoc */
627
+ VirtualizedLayoutGrid.prototype.getFirstSelectedRow = function () {
628
+ return this._selectionList.getFirstSelectedIndex();
629
+ };
630
+ /** @inheritDoc */
631
+ VirtualizedLayoutGrid.prototype.getLastSelectedRow = function () {
632
+ return this._selectionList.getLastSelectedIndex();
633
+ };
634
+ /** @inheritDoc */
635
+ VirtualizedLayoutGrid.prototype.getRowAnchor = function () {
636
+ return this._selectionList.getSelectionAnchor();
637
+ };
638
+ /** @inheritDoc */
639
+ VirtualizedLayoutGrid.prototype.setRowAnchor = function (at) {
640
+ this._selectionList.setSelectionAnchor(at);
641
+ };
642
+
643
+ /** @inheritDoc */
644
+ VirtualizedLayoutGrid.prototype.activateColumn = function (colIndex, opt_bool) {
645
+ this._grid.activateColumn(colIndex, opt_bool);
646
+ };
647
+ /** @inheritDoc */
648
+ VirtualizedLayoutGrid.prototype.activateRows = function (from, to, updateRange) {
649
+ let maxLen = this._layoutY.getLaneCount();
650
+ if(!from) { from = this._rowOffset; }
651
+ if(!to && to !== 0) { to = from + maxLen; }
652
+
653
+ from -= this._rowOffset; // Convert to relative index
654
+ if(from < 0) { from = 0; }
655
+ to -= this._rowOffset; // Convert to relative index
656
+ if(to < 0) { to = 0; }
657
+
658
+ let prevLen = this._getInnerRowCount();
659
+ let pfi = this._firstIndex;
660
+ let fi = 0;
661
+
662
+ fi = from - (from & 1); // This is done to maintain zebra background color.
663
+ if (fi < 0) { fi = 0; }
664
+ else if (fi > maxLen) { fi = maxLen; }
665
+
666
+ let newLen = (to + (to & 1)) - fi;
667
+ if(newLen + 2 === prevLen) { // To remove unnecessary shrinking during scrolling
668
+ newLen = prevLen;
669
+ }
670
+
671
+ if(newLen < 0) { newLen = 0; }
672
+ else if(newLen + fi > maxLen) { newLen = maxLen - fi; }
673
+
674
+ this._firstIndex = fi;
675
+ let ei = fi + newLen;
676
+
677
+ // Re-position inner grid
678
+ let px = this._layoutY.getLaneStart(fi);
679
+ let gridElem = this._grid.getElement(); // GRID-347 Chrome 86 does not recognize top property of grand children
680
+ if(gridElem) {
681
+ gridElem.style.transform = px ? "translateY(" + px + "px)" : ""; // Replacement for this._grid.setTop(px);
682
+ gridElem.style.top = "";
683
+ this._reverter.start();
684
+ }
685
+ this._grid._onEnterDocument();
686
+ let force = false; // Forcing flag to update entire range
687
+
688
+ if (newLen !== prevLen) {
689
+ this._grid.setRowCount(newLen);
690
+ if(newLen > prevLen) { // New row is available. Fire event to render the cells.
691
+ let e = {};
692
+ e["prevRowIndex"] = fi + prevLen;
693
+ e["rowIndex"] = fi + newLen;
694
+ if(updateRange) {
695
+ e["noDataUpdate"] = true; // Data update will be triggered after this, so we notify grid not to update
696
+ }
697
+ this._dispatch("rowAvailable", e);
698
+ }
699
+ force = true; // Force update entire range
700
+ }
701
+ if(updateRange) { // Find actual update range
702
+ if(!force) {
703
+ // TODO: Check where to clearSelectedRows() more properly
704
+ this._grid.clearSelectedRows(); // Because row will be moving up and down, we need to clear the selection first
705
+ let pei = pfi + prevLen;
706
+ if(fi < pfi && pfi < ei && pei >= ei) {
707
+ this.moveRowsToTop(ei - pfi);
708
+ updateRange[0] = fi;
709
+ updateRange[1] = pfi;
710
+ } else if(pfi < fi && fi < pei && ei >= pei) {
711
+ this.moveRowsToTop(fi - pfi);
712
+ updateRange[0] = pei;
713
+ updateRange[1] = ei;
714
+ } else if(fi === pfi && ei === pei) {
715
+ updateRange[0] = 0;
716
+ updateRange[1] = 0;
717
+ } else {
718
+ force = true;
719
+ }
720
+ }
721
+
722
+ if(force) {
723
+ updateRange[0] = fi;
724
+ updateRange[1] = ei;
725
+ }
726
+ }
727
+
728
+ if(!this._layoutY.isHomogeneous()) { // Row heights need to be updated on each scrolling
729
+ this._grid._updateRowHeights(this._layoutY, fi); // TODO: Set height only for the actual update range
730
+ }
731
+
732
+ this._updateRowSelection();
733
+ };
734
+ /** @inheritDoc */
735
+ VirtualizedLayoutGrid.prototype.moveRowsToTop = function (numRows) {
736
+ this._grid.moveRowsToTop(numRows);
737
+ };
738
+
739
+ /** @inheritDoc */
740
+ VirtualizedLayoutGrid.prototype.getFirstIndexInView = function () {
741
+ return this._firstIndex;
742
+ };
743
+
744
+ /** @inheritDoc */
745
+ VirtualizedLayoutGrid.prototype.getLastIndexInView = function () {
746
+ let li = this._firstIndex + this._getInnerRowCount() - 1;
747
+ let core = this._grid._getContext();
748
+ let dv = core.getDataSource();
749
+ let actualLastIndex = dv ? dv.getRowCount() - 1 : -1;
750
+ if (li > actualLastIndex) { //Avoid incorrect index because the delay of row count synchronization after filtering
751
+ return actualLastIndex;
752
+ }
753
+ return li;
754
+ };
755
+
756
+ /** @inheritDoc */
757
+ VirtualizedLayoutGrid.prototype.isInCurrentView = function(index){
758
+ return (this._firstIndex <= index) && (index < this._firstIndex + this._getInnerRowCount());
759
+ };
760
+
761
+ /** @inheritDoc */
762
+ VirtualizedLayoutGrid.prototype.getFrozenLayout = function () {
763
+ return this._grid.getFrozenLayout();
764
+ };
765
+ /** @inheritDoc */
766
+ VirtualizedLayoutGrid.prototype.setFrozenLayout = function (bool) {
767
+ this._grid.setFrozenLayout(bool);
768
+ };
769
+
770
+ /** @inheritDoc */
771
+ VirtualizedLayoutGrid.prototype.getColumn = function (index) {
772
+ return this._grid.getColumn(index);
773
+ };
774
+
775
+ /** @inheritDoc */
776
+ VirtualizedLayoutGrid.prototype.insertColumn = function (index, opt_json) {
777
+ return this._grid.insertColumn(index, opt_json);
778
+ };
779
+
780
+ /** @inheritDoc */
781
+ VirtualizedLayoutGrid.prototype.removeColumnAt = function (index) {
782
+ return this._grid.removeColumnAt(index);
783
+ };
784
+
785
+ /** @inheritDoc */
786
+ VirtualizedLayoutGrid.prototype.moveColumn = function (from, to) {
787
+ this._grid.moveColumn(from, to);
788
+ };
789
+
790
+ /** @inheritDoc */
791
+ VirtualizedLayoutGrid.prototype.enableRowVirtualization = function (bool) { };
792
+
793
+ /** @inheritDoc */
794
+ VirtualizedLayoutGrid.prototype.enableColumnVirtualization = function (bool) {
795
+ this._grid.enableColumnVirtualization(bool);
796
+ };
797
+
798
+ /** @inheritDoc */
799
+ VirtualizedLayoutGrid.prototype.getColumnIndex = function (colElem) {
800
+ return this._grid.getColumnIndex(colElem);
801
+ };
802
+ /** @inheritDoc */
803
+ VirtualizedLayoutGrid.prototype.getCellIndex = function (colIndex, cellElem) {
804
+ let at = this._grid.getCellIndex(colIndex, cellElem);
805
+ if(at < 0) {
806
+ return -1;
807
+ }
808
+ return at + this._firstIndex;
809
+ };
810
+
811
+ /** @inheritDoc */
812
+ VirtualizedLayoutGrid.prototype.getIndex = function () {
813
+ return this._index;
814
+ };
815
+ /** @inheritDoc */
816
+ VirtualizedLayoutGrid.prototype.setIndex = function (index) {
817
+ this._index = index;
818
+ };
819
+
820
+ /** @inheritDoc */
821
+ VirtualizedLayoutGrid.prototype.setRowOffset = function(val){
822
+ this._rowOffset = val;
823
+ };
824
+
825
+ /** @inheritDoc */
826
+ VirtualizedLayoutGrid.prototype.getRowOffset = function(){
827
+ return this._rowOffset;
828
+ };
829
+
830
+ /** @public
831
+ * @ignore
832
+ */
833
+ VirtualizedLayoutGrid.prototype.updateLayout = function () {
834
+ this._grid.updateLayout();
835
+ };
836
+
837
+ /** {@link ILayoutGrid#stretchCell}
838
+ * @inheritDoc */
839
+ VirtualizedLayoutGrid.prototype.stretchCell = function (cellRef, rowIndex, opt_stretching, onlyToTheRight) {
840
+ let stretchedCell = this._grid.stretchCell(
841
+ cellRef,
842
+ (rowIndex != null) ? rowIndex - this._firstIndex : null,
843
+ opt_stretching,
844
+ onlyToTheRight
845
+ );
846
+
847
+ if (stretchedCell){
848
+ let cellElem = stretchedCell.getElement();
849
+ if(rowIndex === 0) {
850
+ cellElem.classList.add("top");
851
+ } else {
852
+ cellElem.classList.remove("top");
853
+ }
854
+ }
855
+ return stretchedCell;
856
+ };
857
+
858
+ /** {@link ILayoutGrid#unstretchCell}
859
+ * @inheritDoc */
860
+ VirtualizedLayoutGrid.prototype.unstretchCell = function (cellRef, rowIndex) {
861
+ return this._grid.unstretchCell(
862
+ cellRef,
863
+ (rowIndex != null) ? rowIndex - this._firstIndex : null
864
+ );
865
+ };
866
+ /** {@link ILayoutGrid#unstretchAllCells}
867
+ * @inheritDoc */
868
+ VirtualizedLayoutGrid.prototype.unstretchAllCells = function () {
869
+ this._grid.unstretchAllCells();
870
+ };
871
+
872
+ /** {@link ILayoutGrid#getStretchedCell}
873
+ * @inheritDoc */
874
+ VirtualizedLayoutGrid.prototype.getStretchedCell = function (cellRef, rowIndex) {
875
+ return this._grid.getStretchedCell(
876
+ cellRef,
877
+ (rowIndex != null) ? rowIndex - this._firstIndex : null
878
+ );
879
+ };
880
+ /** {@link ILayoutGrid#getStretchedCells}
881
+ * @inheritDoc */
882
+ VirtualizedLayoutGrid.prototype.getStretchedCells = function () {
883
+ return this._grid.getStretchedCells();
884
+ };
885
+ /** {@link ILayoutGrid#updateStretchedCells}
886
+ * @inheritDoc */
887
+ VirtualizedLayoutGrid.prototype.updateStretchedCells = function () {
888
+ return this._grid.updateStretchedCells();
889
+ };
890
+
891
+ /** {@link ILayoutGrid#getColumnHost}
892
+ * @inheritDoc */
893
+ VirtualizedLayoutGrid.prototype.getColumnHost = function () {
894
+ return this._grid.getElement();
895
+ };
896
+ /** {@link ILayoutGrid#setHidingMethod}
897
+ * @inheritDoc */
898
+ VirtualizedLayoutGrid.prototype.setHidingMethod = function (method) {
899
+ this._grid.setHidingMethod(method);
900
+ };
901
+ /** {@link ILayoutGrid#getHidingMethod}
902
+ * @inheritDoc */
903
+ VirtualizedLayoutGrid.prototype.getHidingMethod = function () {
904
+ return this._grid.getHidingMethod();
905
+ };
906
+ /** {@link ILayoutGrid#setColumnVisibility}
907
+ * @inheritDoc */
908
+ VirtualizedLayoutGrid.prototype.setColumnVisibility = function (colIndex, bool, flag) {
909
+ return this._grid.setColumnVisibility(colIndex, bool, flag);
910
+ };
911
+ /** {@link ILayoutGrid#setColumnVisibility}
912
+ * @inheritDoc */
913
+ VirtualizedLayoutGrid.prototype.getRowLayout = function () { return this._layoutY; };
914
+
915
+ /** {@link ILayoutGrid#reserveRightSpace}
916
+ * @inheritDoc */
917
+ VirtualizedLayoutGrid.prototype.reserveRightSpace = function (size) {
918
+ return this._grid.reserveRightSpace(size);
919
+ };
920
+ /** {@link ILayoutGrid#reserveRightSpace}
921
+ * @inheritDoc */
922
+ VirtualizedLayoutGrid.prototype.getReservedSpace = function () {
923
+ return this._grid.getReservedSpace();
924
+ };
925
+ /** {@link ILayoutGrid#getComputedStyle}
926
+ * @inheritDoc */
927
+ VirtualizedLayoutGrid.prototype.getComputedStyle = function () {
928
+ return this._grid.getComputedStyle();
929
+ };
930
+ /** {@link ILayoutGrid#isColumnActive}
931
+ * @inheritDoc
932
+ */
933
+ VirtualizedLayoutGrid.prototype.isColumnActive = function (colIndex) {
934
+ return this._grid.isColumnActive(colIndex);
935
+ };
936
+ /** {@link ILayoutGrid#setRowAttributes}
937
+ * @inheritDoc
938
+ */
939
+ VirtualizedLayoutGrid.prototype.setRowAttributes = function (rowIndex, func) {
940
+ return this._grid.setRowAttributes(rowIndex, func);
941
+ };
942
+ /** @public
943
+ * @param {number} rowIndex
944
+ * @return {Object}
945
+ */
946
+ VirtualizedLayoutGrid.prototype.getContextRow = function (rowIndex) {
947
+ return this._grid.getContextRow(rowIndex - this._firstIndex);
948
+ };
949
+
950
+ /** @public
951
+ * @param {number} colIndex
952
+ * @param {boolean=} selected
953
+ */
954
+ VirtualizedLayoutGrid.prototype.selectColumn = function (colIndex, selected) {
955
+ this._grid.selectColumn(colIndex, selected);
956
+ };
957
+ /** @public
958
+ * @param {number} colIndex
959
+ * @return {boolean}
960
+ */
961
+ VirtualizedLayoutGrid.prototype.isSelectedColumn = function (colIndex) {
962
+ return this._grid.isSelectedColumn(colIndex);
963
+ };
964
+ /** @public
965
+ * @param {number} colIndex
966
+ * @param {number} rowIndex
967
+ * @param {boolean=} selected
968
+ */
969
+ VirtualizedLayoutGrid.prototype.selectCell = function (colIndex, rowIndex, selected) {
970
+ this._grid.selectCell(colIndex, rowIndex - this._firstIndex, selected);
971
+ };
972
+ /** @public
973
+ * @param {number} colIndex
974
+ * @param {number} rowIndex
975
+ * @param {number} width
976
+ * @param {number} height
977
+ */
978
+ VirtualizedLayoutGrid.prototype.setCellBounds = function (colIndex, rowIndex, width, height) {
979
+ let boundLayer = this._initBoundLayer();
980
+ let cellBoundPainter = this._cellBoundPainter;
981
+ if(!cellBoundPainter) {
982
+ cellBoundPainter = this._cellBoundPainter = new CellBoundPainter({
983
+ boundLayer: boundLayer,
984
+ layoutX: this.getHorizontalLayout(),
985
+ layoutY: this._layoutY,
986
+ hscrollbar: this._hscrollbar,
987
+ calculateColumnBounds: this.calculateColumnBounds.bind(this)
988
+ });
989
+ }
990
+
991
+ let colCount = this.getColumnCount();
992
+ cellBoundPainter.setCellBounds(colIndex, rowIndex, width, height, colCount);
993
+ };
994
+ /** @public
995
+ * @ignore
996
+ * @return {!TrackLayout}
997
+ */
998
+ VirtualizedLayoutGrid.prototype.getHorizontalLayout = function () {
999
+ return this._grid.getHorizontalLayout();
1000
+ };
1001
+ /** @public
1002
+ * @ignore
1003
+ * @param {number} lftIdx
1004
+ * @param {number} rgtIdx Inclusive index
1005
+ * @param {!Array.<number>} outPositions
1006
+ * @param {!Array.<boolean>} outNoBorders
1007
+ */
1008
+ VirtualizedLayoutGrid.prototype.calculateColumnBounds = function (lftIdx, rgtIdx, outPositions, outNoBorders) {
1009
+ this._grid.calculateColumnBounds(lftIdx, rgtIdx, outPositions, outNoBorders);
1010
+ };
1011
+ /** @public
1012
+ * @ignore
1013
+ * @param {!Array.<Array>} posAry Left and right bound positions in pixel
1014
+ * @param {!Array.<Array>} noBorderAry Boolean values indicating existence of left and right CSS borders
1015
+ * @param {number=} topPx Top position of bound
1016
+ */
1017
+ VirtualizedLayoutGrid.prototype.updateColumnBounds = function (posAry, noBorderAry, topPx) {
1018
+ this._grid.updateColumnBounds(posAry, noBorderAry, topPx);
1019
+ this._updateRowBounds();
1020
+ };
1021
+ /** @public
1022
+ * @ignore
1023
+ */
1024
+ VirtualizedLayoutGrid.prototype.updateColumnSeparators = function () {
1025
+ this._grid.updateColumnSeparators();
1026
+ };
1027
+ /** @private
1028
+ * @return {Element}
1029
+ */
1030
+ VirtualizedLayoutGrid.prototype._initBoundLayer = function () {
1031
+ let boundLayer = this._boundLayer;
1032
+ if(!boundLayer) {
1033
+ boundLayer = this._boundLayer = document.createElement("div");
1034
+ boundLayer.className = "cover-layer";
1035
+ this._element.appendChild(boundLayer);
1036
+ }
1037
+ return boundLayer;
1038
+ };
1039
+ /** @private
1040
+ */
1041
+ VirtualizedLayoutGrid.prototype._requestUpdatingRowBounds = function () {
1042
+ if(!this._rowBoundTimer) {
1043
+ this._rowBoundTimer = setTimeout(this._updateRowBounds, 10);
1044
+ }
1045
+ };
1046
+ /** @private
1047
+ */
1048
+ VirtualizedLayoutGrid.prototype._updateRowBounds = function () {
1049
+ this._rowBoundTimer = 0;
1050
+
1051
+ let cellBoundPainter = this._cellBoundPainter;
1052
+ if(cellBoundPainter) {
1053
+ cellBoundPainter.updateCellBounds();
1054
+ }
1055
+
1056
+ if(!this._rowSelDirty) {
1057
+ return;
1058
+ }
1059
+ let rbs = this._rowBounds;
1060
+ let rbc = this._rowBoundCache;
1061
+ if(!rbs) {
1062
+ rbs = this._rowBounds = [];
1063
+ }
1064
+ if(!rbc) {
1065
+ rbc = this._rowBoundCache = [];
1066
+ }
1067
+
1068
+ let selList = this._selectionList;
1069
+ let rowCount = this._layoutY.getLaneCount();
1070
+ selList.deselectFrom(rowCount); // TODO: move this to setRowCount
1071
+
1072
+ let selRanges = selList.getConnectedRanges();
1073
+ let rangeCount = selRanges.length;
1074
+ let i;
1075
+ let pn = null; // parentNode
1076
+ let rowBound = null;
1077
+
1078
+ // Remove unused bounds from document
1079
+ let activeCount = rbs.length;
1080
+ for(i = rangeCount; i < activeCount; ++i) {
1081
+ rowBound = rbs[i];
1082
+ pn = rowBound.parentNode;
1083
+ if(pn) {
1084
+ pn.removeChild(rowBound);
1085
+ }
1086
+ }
1087
+ rbs.length = activeCount = rangeCount;
1088
+
1089
+ if(!rangeCount) {
1090
+ let selCount = selList.getSelectionCount();
1091
+ if(!selCount) {
1092
+ this._rowSelDirty = false;
1093
+ }
1094
+ return;
1095
+ }
1096
+
1097
+ // Prepare shared parameters
1098
+ let scrollLeft = 0;
1099
+ let pinnedLftCount = 0;
1100
+ let pinnedRgtCount = 0;
1101
+ let endOfScroll = false;
1102
+ if(this._hscrollbar) {
1103
+ scrollLeft = this._hscrollbar.getScrollLeft();
1104
+ pinnedLftCount = this._hscrollbar.getPinnedLeftColumnCount();
1105
+ pinnedRgtCount = this._hscrollbar.getPinnedRightColumnCount();
1106
+ endOfScroll = this._hscrollbar.isEndOfHorizontalScroll();
1107
+ }
1108
+ let noLeftBound = !pinnedLftCount && scrollLeft > 0;
1109
+ let noRightBound = !pinnedRgtCount && !endOfScroll;
1110
+ let boundWidth = this._grid._getViewSize();
1111
+
1112
+ // Create row bound elements based on number of selection ranges
1113
+ for(i = 0; i < rangeCount; ++i) {
1114
+ let pair = selRanges[i];
1115
+ let topIdx = pair[0];
1116
+ let btmIdx = pair[1]; // Inclusive
1117
+ let topPx = this._layoutY.getLaneStart(topIdx);
1118
+ let btmPx = this._layoutY.getLaneEnd(btmIdx);
1119
+
1120
+ rowBound = rbc[i];
1121
+ if(!rowBound) {
1122
+ rowBound = rbc[i] = document.createElement("div");
1123
+ rowBound.className = "selection-bound";
1124
+ }
1125
+
1126
+ rowBound.style.top = topPx + "px";
1127
+ rowBound.style.height = (btmPx - topPx) + "px";
1128
+ rowBound.style.width = boundWidth + "px";
1129
+
1130
+ rowBound.classList.toggle("no-left-bound", noLeftBound);
1131
+ rowBound.classList.toggle("no-right-bound", noRightBound);
1132
+
1133
+ if(this._boundLayer) {
1134
+ if(!rbs[i]) {
1135
+ rbs[i] = rowBound;
1136
+ this._boundLayer.appendChild(rowBound);
1137
+ }
1138
+ }
1139
+ }
1140
+ };
1141
+ //#endregion public methods
1142
+
1143
+ //#region ====== Private methods ======//
1144
+ /** @private
1145
+ * @return {number}
1146
+ */
1147
+ VirtualizedLayoutGrid.prototype._getInnerRowCount = function () {
1148
+ return this._grid.getRowCount();
1149
+ };
1150
+
1151
+ /** @private */
1152
+ VirtualizedLayoutGrid.prototype._updateRowSelection = function () {
1153
+ this._grid.clearSelectedRows();
1154
+ let sl = this._selectionList;
1155
+ let count = sl.getSelectionCount();
1156
+ if(count <= 0) { return; }
1157
+
1158
+ let r;
1159
+ let fi = this._firstIndex;
1160
+ let ei = fi + this._getInnerRowCount();
1161
+ if(count === 1) {
1162
+ r = sl.getFirstSelectedIndex();
1163
+ if (fi <= r && r < ei) {
1164
+ this._grid.setSelectedRow(r - fi, true);
1165
+ }
1166
+ } else {
1167
+ if(count >= ei - fi) {
1168
+ for(r = fi; r < ei; ++r) {
1169
+ if(sl.getSelection(r)) {
1170
+ this._grid.setSelectedRow(r - fi, true);
1171
+ }
1172
+ }
1173
+ } else {
1174
+ let selections = sl.getAllSelections();
1175
+ for(let i = 0; i < count; ++i){
1176
+ r = selections[i];
1177
+ if (fi <= r && r < ei) {
1178
+ this._grid.setSelectedRow(r - fi, true);
1179
+ }
1180
+ }
1181
+ }
1182
+ }
1183
+ };
1184
+
1185
+ /** @private
1186
+ * @param {number} from
1187
+ * @param {number} to
1188
+ * @return {boolean}
1189
+ */
1190
+ VirtualizedLayoutGrid.prototype._dispatchRowHeightChangedEvent = function (from, to) {
1191
+ if (from >= to) { return false; }
1192
+
1193
+ let e = {};
1194
+ e["rowIndex"] = from;
1195
+ e["changeLength"] = to - from;
1196
+ this._dispatch("rowHeightChanged", e);
1197
+ return true;
1198
+ };
1199
+ /** @private
1200
+ */
1201
+ VirtualizedLayoutGrid.prototype._onRestingPosition = function () {
1202
+ let gridElem = this._grid.getElement();
1203
+ if(gridElem) {
1204
+ let px = this._layoutY.getLaneStart(this._firstIndex);
1205
+ gridElem.style.transform = "";
1206
+ gridElem.style.top = px ? px + "px" : ""; // WORKAROUND: GRID-402
1207
+ }
1208
+ };
1209
+ /** @public
1210
+ * @ignore
1211
+ */
1212
+ VirtualizedLayoutGrid.prototype._updateRightSpaceStyle = function() {
1213
+ this._grid._updateRightSpaceStyle();
1214
+ };
1215
+ /** @public
1216
+ * @ignore
1217
+ */
1218
+ VirtualizedLayoutGrid.prototype._updateLayers = function() {
1219
+ this._grid._updateLayers();
1220
+ };
1221
+ /** @public
1222
+ * @ignore
1223
+ * @param {*} ctx
1224
+ */
1225
+ VirtualizedLayoutGrid.prototype._setContext = function(ctx) {
1226
+ this._grid._setContext(ctx);
1227
+ };
1228
+
1229
+ /** @public
1230
+ * @ignore
1231
+ * @return {*} ctx
1232
+ */
1233
+ VirtualizedLayoutGrid.prototype._getContext = function () {
1234
+ return this._grid._getContext();
1235
+ };
1236
+ //#endregion
1237
+
1238
+ VirtualizedLayoutGrid._proto = VirtualizedLayoutGrid.prototype;
1239
+
1240
+ export default VirtualizedLayoutGrid;
1241
+ export { VirtualizedLayoutGrid };