@refinitiv-ui/efx-grid 6.0.3 → 6.0.4

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 (178) hide show
  1. package/lib/column-dragging/es6/ColumnDragging.d.ts +49 -0
  2. package/lib/column-dragging/es6/ColumnDragging.js +764 -0
  3. package/lib/column-dragging/es6/index.d.ts +1 -0
  4. package/lib/column-dragging/es6/index.js +1 -0
  5. package/lib/core/dist/core.css +1 -1
  6. package/lib/core/dist/core.js +389 -1070
  7. package/lib/core/dist/core.min.js +1 -1
  8. package/lib/core/es6/data/ColumnStats.d.ts +2 -2
  9. package/lib/core/es6/data/DataCache.d.ts +4 -4
  10. package/lib/core/es6/data/DataTable.d.ts +5 -5
  11. package/lib/core/es6/data/DataTable.js +1 -1
  12. package/lib/core/es6/data/DataView.d.ts +12 -12
  13. package/lib/core/es6/data/SegmentCollection.d.ts +3 -3
  14. package/lib/core/es6/data/WrappedView.d.ts +13 -13
  15. package/lib/core/es6/grid/Core.d.ts +29 -27
  16. package/lib/core/es6/grid/Core.js +26 -4
  17. package/lib/core/es6/grid/ILayoutGrid.d.ts +15 -15
  18. package/lib/core/es6/grid/LayoutGrid.js +54 -26
  19. package/lib/core/es6/grid/VirtualizedLayoutGrid.js +66 -0
  20. package/lib/core/es6/grid/components/Cell.d.ts +4 -4
  21. package/lib/core/es6/grid/components/CellFloatingPanel.d.ts +1 -1
  22. package/lib/core/es6/grid/components/CellSpans.d.ts +8 -8
  23. package/lib/core/es6/grid/components/Column.d.ts +1 -1
  24. package/lib/core/es6/grid/components/ElementWrapper.d.ts +6 -6
  25. package/lib/core/es6/grid/components/Scrollbar.d.ts +1 -1
  26. package/lib/core/es6/grid/components/StretchedCells.js +2 -2
  27. package/lib/core/es6/grid/plugins/SortableTitlePlugin.d.ts +14 -6
  28. package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +147 -81
  29. package/lib/core/es6/grid/util/Conflator.d.ts +2 -2
  30. package/lib/core/es6/grid/util/ElementFrameWork.d.ts +3 -3
  31. package/lib/core/es6/grid/util/HttpRequest.d.ts +2 -2
  32. package/lib/core/es6/grid/util/PercentBarRenderer.d.ts +1 -1
  33. package/lib/core/es6/grid/util/RangeBar.d.ts +1 -1
  34. package/lib/core/es6/grid/util/SectionSettings.d.ts +5 -5
  35. package/lib/core/es6/grid/util/SectionSettings.js +5 -0
  36. package/lib/core/es6/grid/util/SelectionList.d.ts +2 -2
  37. package/lib/core/es6/grid/util/TrackLayout.d.ts +7 -3
  38. package/lib/core/es6/grid/util/TrackLayout.js +27 -0
  39. package/lib/core/es6/grid/util/util.d.ts +2 -2
  40. package/lib/core/es6/index.d.ts +1 -5
  41. package/lib/core/es6/index.js +1 -7
  42. package/lib/core/es6/tr-grid-theme.js +1 -1
  43. package/lib/filter-dialog/lib/filter-dialog.d.ts +1 -0
  44. package/lib/filter-dialog/lib/filter-dialog.js +73 -26
  45. package/lib/filter-dialog/themes/base-checkbox.less +8 -1
  46. package/lib/filter-dialog/themes/base.less +69 -1
  47. package/lib/filter-dialog/themes/elemental/dark/checkbox-list.js +1 -1
  48. package/lib/filter-dialog/themes/elemental/dark/es5/all-elements.js +2 -2
  49. package/lib/filter-dialog/themes/elemental/dark/filter-dialog.js +1 -1
  50. package/lib/filter-dialog/themes/elemental/light/checkbox-list.js +1 -1
  51. package/lib/filter-dialog/themes/elemental/light/es5/all-elements.js +2 -2
  52. package/lib/filter-dialog/themes/elemental/light/filter-dialog.js +1 -1
  53. package/lib/filter-dialog/themes/halo/dark/checkbox-list.js +1 -1
  54. package/lib/filter-dialog/themes/halo/dark/es5/all-elements.js +2 -2
  55. package/lib/filter-dialog/themes/halo/dark/filter-dialog.js +1 -1
  56. package/lib/filter-dialog/themes/halo/light/checkbox-list.js +1 -1
  57. package/lib/filter-dialog/themes/halo/light/es5/all-elements.js +2 -2
  58. package/lib/filter-dialog/themes/halo/light/filter-dialog.js +1 -1
  59. package/lib/filter-dialog/themes/solar/charcoal/checkbox-list.js +1 -1
  60. package/lib/filter-dialog/themes/solar/charcoal/es5/all-elements.js +2 -2
  61. package/lib/filter-dialog/themes/solar/charcoal/filter-dialog.js +1 -1
  62. package/lib/filter-dialog/themes/solar/pearl/checkbox-list.js +1 -1
  63. package/lib/filter-dialog/themes/solar/pearl/es5/all-elements.js +2 -2
  64. package/lib/filter-dialog/themes/solar/pearl/filter-dialog.js +1 -1
  65. package/lib/grid/lib/efx-grid.d.ts +8 -5
  66. package/lib/grid/lib/efx-grid.js +10 -4
  67. package/lib/grid/themes/halo/dark/efx-grid.js +1 -1
  68. package/lib/grid/themes/halo/dark/es5/all-elements.js +1 -1
  69. package/lib/grid/themes/halo/efx-grid.less +33 -39
  70. package/lib/grid/themes/halo/light/efx-grid.js +1 -1
  71. package/lib/grid/themes/halo/light/es5/all-elements.js +1 -1
  72. package/lib/index.d.ts +2 -0
  73. package/lib/index.js +2 -0
  74. package/lib/row-segmenting/es6/RowSegmenting.d.ts +7 -2
  75. package/lib/row-segmenting/es6/RowSegmenting.js +94 -9
  76. package/lib/rt-grid/dist/rt-grid.js +567 -1171
  77. package/lib/rt-grid/dist/rt-grid.min.js +1 -1
  78. package/lib/rt-grid/es6/ColumnDefinition.d.ts +5 -3
  79. package/lib/rt-grid/es6/ColumnDefinition.js +17 -108
  80. package/lib/rt-grid/es6/DataConnector.d.ts +3 -3
  81. package/lib/rt-grid/es6/Grid.d.ts +17 -9
  82. package/lib/rt-grid/es6/Grid.js +201 -101
  83. package/lib/rt-grid/es6/RowDefSorter.d.ts +19 -0
  84. package/lib/rt-grid/es6/RowDefSorter.js +137 -0
  85. package/lib/rt-grid/es6/RowDefinition.d.ts +9 -7
  86. package/lib/rt-grid/es6/RowDefinition.js +6 -0
  87. package/lib/rt-grid/es6/SnapshotFiller.d.ts +3 -1
  88. package/lib/rt-grid/es6/SnapshotFiller.js +23 -0
  89. package/lib/tr-grid-checkbox/es6/Checkbox.d.ts +2 -2
  90. package/lib/tr-grid-checkbox/es6/Checkbox.js +38 -20
  91. package/lib/tr-grid-column-selection/es6/ColumnSelection.js +46 -9
  92. package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +8 -4
  93. package/lib/tr-grid-column-stack/es6/ColumnStack.js +240 -125
  94. package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.d.ts +1 -1
  95. package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +18 -12
  96. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +7 -4
  97. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +93 -2
  98. package/lib/tr-grid-printer/es6/CellWriter.d.ts +3 -3
  99. package/lib/tr-grid-printer/es6/GridPrinter.d.ts +1 -1
  100. package/lib/tr-grid-printer/es6/GridPrinter.js +26 -13
  101. package/lib/tr-grid-printer/es6/PrintTrait.d.ts +2 -2
  102. package/lib/tr-grid-printer/es6/SectionWriter.d.ts +3 -3
  103. package/lib/tr-grid-row-dragging/es6/RowDragging.d.ts +2 -1
  104. package/lib/tr-grid-row-dragging/es6/RowDragging.js +29 -143
  105. package/lib/tr-grid-row-grouping/es6/RowGrouping.d.ts +7 -2
  106. package/lib/tr-grid-row-grouping/es6/RowGrouping.js +97 -7
  107. package/lib/tr-grid-row-selection/es6/RowSelection.js +10 -0
  108. package/lib/tr-grid-textformatting/es6/TextFormatting.d.ts +1 -1
  109. package/lib/tr-grid-textformatting/es6/TextFormatting.js +12 -0
  110. package/lib/tr-grid-util/es6/DragUI.d.ts +16 -0
  111. package/lib/tr-grid-util/es6/DragUI.js +214 -0
  112. package/lib/tr-grid-util/es6/ElementObserver.d.ts +2 -0
  113. package/lib/tr-grid-util/es6/ElementObserver.js +28 -1
  114. package/lib/tr-grid-util/es6/ElfUtil.js +1 -1
  115. package/lib/tr-grid-util/es6/FieldFormatter.js +7 -5
  116. package/lib/tr-grid-util/es6/GridPlugin.js +8 -4
  117. package/lib/tr-grid-util/es6/NumberFormatter.d.ts +2 -0
  118. package/lib/tr-grid-util/es6/NumberFormatter.js +64 -19
  119. package/lib/tr-grid-util/es6/RowPainter.js +41 -11
  120. package/lib/tr-grid-util/es6/formula/Formula.js +9 -1
  121. package/lib/types/es6/Checkbox.d.ts +2 -2
  122. package/lib/types/es6/ColumnStack.d.ts +8 -4
  123. package/lib/types/es6/CompositeGrid/ColumnSelectionPlugin.d.ts +3 -2
  124. package/lib/types/es6/CompositeGrid/ColumnWidthAdjustingPlugin.d.ts +2 -1
  125. package/lib/types/es6/CompositeGrid/CompositeGrid.d.ts +20 -18
  126. package/lib/types/es6/CompositeGrid/DragAndDropTitlePlugin.d.ts +2 -1
  127. package/lib/types/es6/CompositeGrid/DraggableContentPlugin.d.ts +3 -2
  128. package/lib/types/es6/CompositeGrid/Plugin.d.ts +28 -0
  129. package/lib/types/es6/CompositeGrid/ResizableTitlePlugin.d.ts +2 -1
  130. package/lib/types/es6/CompositeGrid/RowSelectionPlugin.d.ts +5 -4
  131. package/lib/types/es6/CompositeGrid/TreeIndentingPlugin.d.ts +2 -1
  132. package/lib/types/es6/CompositeGrid/index.d.ts +9 -9
  133. package/lib/types/es6/ConditionalColoring.d.ts +1 -1
  134. package/lib/types/es6/Core/data/ColumnStats.d.ts +2 -2
  135. package/lib/types/es6/Core/data/DataCache.d.ts +4 -4
  136. package/lib/types/es6/Core/data/DataTable.d.ts +5 -5
  137. package/lib/types/es6/Core/data/DataView.d.ts +12 -12
  138. package/lib/types/es6/Core/data/SegmentCollection.d.ts +3 -3
  139. package/lib/types/es6/Core/data/WrappedView.d.ts +13 -13
  140. package/lib/types/es6/Core/grid/Core.d.ts +29 -27
  141. package/lib/types/es6/Core/grid/ILayoutGrid.d.ts +15 -15
  142. package/lib/types/es6/Core/grid/components/Cell.d.ts +4 -4
  143. package/lib/types/es6/Core/grid/components/CellFloatingPanel.d.ts +1 -1
  144. package/lib/types/es6/Core/grid/components/CellSpans.d.ts +8 -8
  145. package/lib/types/es6/Core/grid/components/Column.d.ts +1 -1
  146. package/lib/types/es6/Core/grid/components/ElementWrapper.d.ts +6 -6
  147. package/lib/types/es6/Core/grid/components/Scrollbar.d.ts +1 -1
  148. package/lib/types/es6/Core/grid/plugins/SortableTitlePlugin.d.ts +14 -6
  149. package/lib/types/es6/Core/grid/util/Conflator.d.ts +2 -2
  150. package/lib/types/es6/Core/grid/util/ElementFrameWork.d.ts +3 -3
  151. package/lib/types/es6/Core/grid/util/HttpRequest.d.ts +2 -2
  152. package/lib/types/es6/Core/grid/util/PercentBarRenderer.d.ts +1 -1
  153. package/lib/types/es6/Core/grid/util/RangeBar.d.ts +1 -1
  154. package/lib/types/es6/Core/grid/util/SectionSettings.d.ts +5 -5
  155. package/lib/types/es6/Core/grid/util/SelectionList.d.ts +2 -2
  156. package/lib/types/es6/Core/grid/util/TrackLayout.d.ts +7 -3
  157. package/lib/types/es6/Core/grid/util/util.d.ts +2 -2
  158. package/lib/types/es6/Core/index.d.ts +1 -5
  159. package/lib/types/es6/ExtensionOptions.d.ts +2 -0
  160. package/lib/types/es6/InCellEditing.d.ts +7 -4
  161. package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +5 -3
  162. package/lib/types/es6/RealtimeGrid/DataConnector.d.ts +3 -3
  163. package/lib/types/es6/RealtimeGrid/Grid.d.ts +17 -9
  164. package/lib/types/es6/RealtimeGrid/RowDefSorter.d.ts +19 -0
  165. package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +9 -7
  166. package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +3 -1
  167. package/lib/types/es6/RowDragging.d.ts +2 -1
  168. package/lib/types/es6/RowGrouping.d.ts +7 -2
  169. package/lib/types/es6/RowSegmenting.d.ts +7 -2
  170. package/lib/types/es6/TextFormatting.d.ts +1 -1
  171. package/lib/versions.json +14 -13
  172. package/package.json +1 -1
  173. package/lib/core/es6/grid/plugins/DragAndDropTitlePlugin.d.ts +0 -24
  174. package/lib/core/es6/grid/plugins/DragAndDropTitlePlugin.js +0 -615
  175. package/lib/core/es6/grid/plugins/Plugin.d.ts +0 -28
  176. package/lib/core/es6/grid/plugins/Plugin.js +0 -272
  177. package/lib/types/es6/Core/grid/plugins/DragAndDropTitlePlugin.d.ts +0 -24
  178. package/lib/types/es6/Core/grid/plugins/Plugin.d.ts +0 -28
@@ -1,272 +0,0 @@
1
- import Ext from "../../../../tr-grid-util/es6/Ext.js";
2
- import Util from "../util/util.js";
3
- import Core from "../Core.js"; // eslint-disable-line
4
- import EventDispatcher from "../event/EventDispatcher.js";
5
- import ElementWrapper from "../components/ElementWrapper.js"; // eslint-disable-line
6
-
7
-
8
- /** Base class for all built-in plugins
9
- * @constructor
10
- * @extends {EventDispatcher}
11
- */
12
- var Plugin = function () {
13
- /* throw("Plugin is an abstract Class"); */
14
- };
15
- Ext.inherits(Plugin, EventDispatcher); // Inherits() will replace prototype of the derived object
16
-
17
- //#region Public Methods
18
- /**The name must be readonly and unique among all other plugins
19
- * @public
20
- * @return {string}
21
- */
22
- Plugin.prototype.getName = function () {
23
- return "Plugin";
24
- };
25
-
26
- /** @public
27
- * @param {!Core} owner
28
- */
29
- Plugin.prototype.initialize = function (owner) {
30
- this._host = owner;
31
- };
32
- /**For disposing any resource
33
- * @public
34
- * @param {!Core} owner
35
- */
36
- Plugin.prototype.unload = function (owner) {
37
- this._host = null;
38
- this.unlistenAll();
39
- };
40
-
41
- /** @public
42
- * @param {Event|Element|ElementWrapper} e
43
- * @return {Core}
44
- */
45
- Plugin.prototype.getRelativeGrid = function (e) {
46
- var targetEl;
47
- if(e.target) { // The Given object is an Event
48
- targetEl = /** @type{Element} */(e.target);
49
- var gridAPI = targetEl["api"];
50
- if(gridAPI && gridAPI["getCoreGrid"]) {
51
- return /** @type{Core} */(gridAPI["getCoreGrid"]());
52
- }
53
- } else if(e["getElement"]) { // The Given object is implementing ElementWrapper
54
- targetEl = e["getElement"]();
55
- } else if(Util.isElement(e)){ // The Given object is just an element
56
- targetEl = /** @type{Element} */(e);
57
- }
58
-
59
- var gridEl = (targetEl) ? Util.closestElement(targetEl, "tr-grid") : null;
60
- if(gridEl) {
61
- if(this._host) {
62
- if(this._host.getElement() === gridEl) {
63
- return this._host;
64
- }
65
- } else {
66
- var hostLength = this._hosts ? this._hosts.length : 0;
67
- for (var i = 0; i < hostLength; i++) {
68
- var host = this._hosts[i];
69
- if (host.getElement() === gridEl) {
70
- return host;
71
- }
72
- }
73
- }
74
- }
75
-
76
- return null;
77
- };
78
- /** Use in case of there is an overlay over the top of the grid (target element cannot be used).
79
- * @public
80
- * @param {number} x
81
- * @param {number} y
82
- * @return {Element}
83
- */
84
- Plugin.prototype.getGridElementFromPoint = function (x, y) {
85
- var elem = document.elementFromPoint(x, y);
86
- var grid = Util.closestElement(elem, "tr-grid");
87
-
88
- // Some elements are over grid element, hide them all by setting the visibility to hidden
89
- var skipElem = [];
90
- var skipVisibility = [];
91
- while (!grid && elem && elem.tagName != "HTML") {
92
- skipElem.push(elem);
93
- skipVisibility.push(elem.style.visibility);
94
- elem.style.visibility = "hidden";
95
- elem = document.elementFromPoint(x, y);
96
-
97
- grid = Util.closestElement(elem, "tr-grid");
98
- }
99
- for (var i = 0; i < skipElem.length; i++) {
100
- skipElem[i].style.visibility = skipVisibility[i];
101
- }
102
- return grid;
103
- };
104
-
105
- //#endregion Public Methods
106
-
107
- //#region Protected Methods
108
- /** @protected
109
- * @ignore
110
- * @return {Array.<string>}
111
- */
112
- Plugin.prototype._getDataColumnMap = function () {
113
- if (this._dataMap) { return this._dataMap; }
114
-
115
- if (this._host) {
116
- return this._host.getDataColumnMap();
117
- }
118
- if (this._hosts && this._hosts[0]) {
119
- return this._hosts[0].getDataColumnMap();
120
- }
121
- return null;
122
- };
123
- /** @protected
124
- * @ignore
125
- * @param {number} colIndex
126
- * @return {string}
127
- */
128
- Plugin.prototype._getDataColumnName = function (colIndex) {
129
- var dataMap = this._getDataColumnMap();
130
- if(dataMap){
131
- return dataMap[colIndex] || "";
132
- }
133
- return "";
134
- };
135
-
136
- /** @protected
137
- * @ignore
138
- * @param {Object} e
139
- * @return {boolean}
140
- */
141
- Plugin.prototype._isNotFirstHost = function(e) {
142
- if (this._hosts) {
143
- return e["sender"] !== this._hosts[0];
144
- }
145
- return false;
146
- };
147
- /** @protected
148
- * @ignore
149
- * @param {Object} e
150
- */
151
- Plugin.prototype._onColumnAdded = function (e) {
152
- if (this._isNotFirstHost(e)) {
153
- return;
154
- }
155
- if (!e["atTheMiddle"]) { return; }
156
- var colIndex = /** @type{number} */(e["colIndex"]);
157
- Util.insertArrayItem(this._colData, colIndex, null);
158
- Util.insertArrayItem(this._dataMap, colIndex, null);
159
- };
160
- /** @protected
161
- * @ignore
162
- * @param {Object} e
163
- */
164
- Plugin.prototype._onColumnMoved = function (e) {
165
- if (this._isNotFirstHost(e)) {
166
- return;
167
- }
168
- var from = /** @type{number} */(e["fromColIndex"]);
169
- var to = /** @type{number} */(e["toColIndex"]);
170
-
171
- Util.moveArrayItem(this._colData, from, to);
172
- Util.moveArrayItem(this._dataMap, from, to);
173
- };
174
- /** @protected
175
- * @ignore
176
- * @param {Object} e
177
- */
178
- Plugin.prototype._onColumnRemoved = function (e) {
179
- if (this._isNotFirstHost(e)) {
180
- return;
181
- }
182
- if (!e["atTheMiddle"]) { return; }
183
- var colIndex = /** @type{number} */(e["colIndex"]);
184
- if(this._colData) {
185
- this._colData.splice(colIndex, 1);
186
- }
187
- if(this._dataMap) {
188
- this._dataMap.splice(colIndex, 1);
189
- }
190
- };
191
-
192
-
193
- /** @protected
194
- * @ignore
195
- * @return {number}
196
- */
197
- Plugin.prototype._getColumnCount = function() {
198
- var host = this._host || this._hosts[0];
199
- return (host) ? host.getColumnCount() : 0;
200
- };
201
- /** @protected
202
- * @ignore
203
- * @param {string} pluginName
204
- * @return {*|null}
205
- */
206
- Plugin.prototype._getPlugin = function(pluginName) {
207
- var host = this._host || this._hosts[0];
208
- return (host) ? host.getPlugin(pluginName) : null;
209
- };
210
-
211
- /** @protected
212
- * @ignore
213
- * @param {number} scrollVal
214
- */
215
- Plugin.prototype._scrollDown = function (scrollVal) {
216
- var host = this._host || this._hosts[0];
217
- host.scrollDown(scrollVal);
218
- };
219
- /** @protected
220
- * @ignore
221
- * @param {number} rowIndex
222
- */
223
- Plugin.prototype._scrollToRow = function (rowIndex) {
224
- var host = this._host || this._hosts[0];
225
- host.scrollToRow(null, rowIndex);
226
- };
227
- /** @protected
228
- * @ignore
229
- * @param {number} scrollVal
230
- */
231
- Plugin.prototype._scrollRight = function (scrollVal) {
232
- if(this._host) {
233
- this._host.scrollRight(scrollVal);
234
- } else if(this._hosts) {
235
- var len = this._hosts.length;
236
- for(var i = 0; i < len; ++i) {
237
- var host = this._hosts[i];
238
- host.scrollRight(scrollVal);
239
- }
240
- }
241
- };
242
-
243
- //#endregion Protected Methods
244
-
245
- //#region Protected Fields
246
- /** @protected
247
- * @ignore
248
- * @type {Core}
249
- */
250
- Plugin.prototype._host = null;
251
- /** @protected
252
- * @ignore
253
- * @type {Array.<Core>}
254
- */
255
- Plugin.prototype._hosts = null; // For a plug-in that support multi-table
256
-
257
- /** @protected
258
- * @ignore
259
- * @type {Array.<string|null>}
260
- */
261
- Plugin.prototype._dataMap = null;
262
- /** @protected
263
- * @ignore
264
- * @type {Array.<Object>}
265
- */
266
- Plugin.prototype._colData = null;
267
- //#endregion Protected Fields
268
-
269
- Plugin._proto = Plugin.prototype;
270
-
271
- export default Plugin;
272
- export { Plugin };
@@ -1,24 +0,0 @@
1
- import Ext from "../../../../../tr-grid-util/es6/Ext.js";
2
- import Plugin from "./Plugin.js";
3
- import ILayoutGrid from "../ILayoutGrid.js";
4
- import Util from "../util/util.js";
5
- import Core from "../Core.js";
6
-
7
- declare class DragAndDropTitlePlugin extends Plugin {
8
-
9
- constructor();
10
-
11
- public getMarker(): null;
12
-
13
- public lockFrozenColumn(lock: boolean): void;
14
-
15
- public disable(opt_disabled?: boolean): void;
16
-
17
- public disableMoving(opt_disabled?: boolean): void;
18
-
19
- public disableDragBox(opt_disabled?: boolean): void;
20
-
21
- }
22
-
23
- export default DragAndDropTitlePlugin;
24
- export { DragAndDropTitlePlugin };
@@ -1,28 +0,0 @@
1
- import Ext from "../../../../../tr-grid-util/es6/Ext.js";
2
- import Util from "../util/util.js";
3
- import Core from "../Core.js"; // eslint-disable-line
4
- import EventDispatcher from "../event/EventDispatcher.js";
5
- import ElementWrapper from "../components/ElementWrapper.js"; // eslint-disable-line
6
-
7
- declare class Plugin extends EventDispatcher {
8
-
9
- constructor();
10
-
11
- public getName(): string;
12
-
13
- public initialize(owner: Core): void;
14
-
15
- public unload(owner: Core): void;
16
-
17
- public getRelativeGrid(e: Event|Element|ElementWrapper): Core;
18
-
19
- public getGridElementFromPoint(x: number, y: number): Element;
20
-
21
- }
22
-
23
- declare function gridAPI(x: number, y: number): Element;
24
-
25
- declare function to(e: any): void;
26
-
27
- export default Plugin;
28
- export { Plugin };