handsontable 0.0.0-next-34c74df-20231227 → 0.0.0-next-5d8c97d-20231228

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.

Potentially problematic release.


This version of handsontable might be problematic. Click here for more details.

Files changed (254) hide show
  1. package/3rdparty/walkontable/src/calculator/renderAllColumns.js +2 -2
  2. package/3rdparty/walkontable/src/calculator/renderAllColumns.mjs +2 -2
  3. package/3rdparty/walkontable/src/calculator/renderAllRows.js +2 -2
  4. package/3rdparty/walkontable/src/calculator/renderAllRows.mjs +2 -2
  5. package/3rdparty/walkontable/src/calculator/viewportColumns.js +2 -2
  6. package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +2 -2
  7. package/3rdparty/walkontable/src/calculator/viewportRows.js +2 -2
  8. package/3rdparty/walkontable/src/calculator/viewportRows.mjs +2 -2
  9. package/3rdparty/walkontable/src/cell/coords.js +2 -2
  10. package/3rdparty/walkontable/src/cell/coords.mjs +2 -2
  11. package/3rdparty/walkontable/src/cell/range.js +2 -2
  12. package/3rdparty/walkontable/src/cell/range.mjs +2 -2
  13. package/3rdparty/walkontable/src/core/_base.js +2 -2
  14. package/3rdparty/walkontable/src/core/_base.mjs +2 -2
  15. package/3rdparty/walkontable/src/core/clone.js +2 -2
  16. package/3rdparty/walkontable/src/core/clone.mjs +2 -2
  17. package/3rdparty/walkontable/src/filter/column.js +2 -2
  18. package/3rdparty/walkontable/src/filter/column.mjs +2 -2
  19. package/3rdparty/walkontable/src/filter/row.js +2 -2
  20. package/3rdparty/walkontable/src/filter/row.mjs +2 -2
  21. package/3rdparty/walkontable/src/overlay/_base.js +2 -2
  22. package/3rdparty/walkontable/src/overlay/_base.mjs +2 -2
  23. package/3rdparty/walkontable/src/overlay/bottom.js +2 -2
  24. package/3rdparty/walkontable/src/overlay/bottom.mjs +2 -2
  25. package/3rdparty/walkontable/src/overlay/top.js +2 -2
  26. package/3rdparty/walkontable/src/overlay/top.mjs +2 -2
  27. package/3rdparty/walkontable/src/overlay/topInlineStartCorner.js +2 -2
  28. package/3rdparty/walkontable/src/overlay/topInlineStartCorner.mjs +2 -2
  29. package/3rdparty/walkontable/src/overlays.js +2 -2
  30. package/3rdparty/walkontable/src/overlays.mjs +2 -2
  31. package/3rdparty/walkontable/src/renderer/_base.js +2 -2
  32. package/3rdparty/walkontable/src/renderer/_base.mjs +2 -2
  33. package/3rdparty/walkontable/src/renderer/cells.js +2 -2
  34. package/3rdparty/walkontable/src/renderer/cells.mjs +2 -2
  35. package/3rdparty/walkontable/src/renderer/rowHeaders.js +2 -2
  36. package/3rdparty/walkontable/src/renderer/rowHeaders.mjs +2 -2
  37. package/3rdparty/walkontable/src/renderer/rows.js +2 -2
  38. package/3rdparty/walkontable/src/renderer/rows.mjs +2 -2
  39. package/3rdparty/walkontable/src/renderer/table.js +2 -2
  40. package/3rdparty/walkontable/src/renderer/table.mjs +2 -2
  41. package/3rdparty/walkontable/src/scroll.js +60 -4
  42. package/3rdparty/walkontable/src/scroll.mjs +60 -4
  43. package/3rdparty/walkontable/src/settings.js +2 -2
  44. package/3rdparty/walkontable/src/settings.mjs +2 -2
  45. package/3rdparty/walkontable/src/table.js +2 -2
  46. package/3rdparty/walkontable/src/table.mjs +2 -2
  47. package/3rdparty/walkontable/src/utils/column.js +2 -2
  48. package/3rdparty/walkontable/src/utils/column.mjs +2 -2
  49. package/3rdparty/walkontable/src/utils/columnStretching.js +2 -2
  50. package/3rdparty/walkontable/src/utils/columnStretching.mjs +2 -2
  51. package/3rdparty/walkontable/src/utils/nodesPool.js +2 -2
  52. package/3rdparty/walkontable/src/utils/nodesPool.mjs +2 -2
  53. package/3rdparty/walkontable/src/utils/orderView/view.js +2 -2
  54. package/3rdparty/walkontable/src/utils/orderView/view.mjs +2 -2
  55. package/3rdparty/walkontable/src/utils/orderView/viewSize.js +2 -2
  56. package/3rdparty/walkontable/src/utils/orderView/viewSize.mjs +2 -2
  57. package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.js +2 -2
  58. package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.mjs +2 -2
  59. package/3rdparty/walkontable/src/utils/row.js +2 -2
  60. package/3rdparty/walkontable/src/utils/row.mjs +2 -2
  61. package/base.js +2 -2
  62. package/base.mjs +2 -2
  63. package/dataMap/dataMap.js +2 -2
  64. package/dataMap/dataMap.mjs +2 -2
  65. package/dataMap/dataSource.js +2 -2
  66. package/dataMap/dataSource.mjs +2 -2
  67. package/dataMap/metaManager/lazyFactoryMap.js +2 -2
  68. package/dataMap/metaManager/lazyFactoryMap.mjs +2 -2
  69. package/dataMap/metaManager/metaLayers/cellMeta.js +2 -2
  70. package/dataMap/metaManager/metaLayers/cellMeta.mjs +2 -2
  71. package/dataMap/metaManager/metaLayers/columnMeta.js +2 -2
  72. package/dataMap/metaManager/metaLayers/columnMeta.mjs +2 -2
  73. package/dataMap/metaManager/metaLayers/globalMeta.js +2 -2
  74. package/dataMap/metaManager/metaLayers/globalMeta.mjs +2 -2
  75. package/dataMap/metaManager/metaLayers/tableMeta.js +2 -2
  76. package/dataMap/metaManager/metaLayers/tableMeta.mjs +2 -2
  77. package/dataMap/metaManager/mods/dynamicCellMeta.js +2 -2
  78. package/dataMap/metaManager/mods/dynamicCellMeta.mjs +2 -2
  79. package/dataMap/metaManager/mods/extendMetaProperties.js +2 -2
  80. package/dataMap/metaManager/mods/extendMetaProperties.mjs +2 -2
  81. package/dist/handsontable.css +2 -2
  82. package/dist/handsontable.full.css +3 -3
  83. package/dist/handsontable.full.js +1580 -1855
  84. package/dist/handsontable.full.min.css +3 -3
  85. package/dist/handsontable.full.min.js +6 -7
  86. package/dist/handsontable.js +656 -580
  87. package/dist/handsontable.min.css +2 -2
  88. package/dist/handsontable.min.js +19 -19
  89. package/editorManager.js +2 -2
  90. package/editorManager.mjs +2 -2
  91. package/editors/autocompleteEditor/autocompleteEditor.js +2 -2
  92. package/editors/autocompleteEditor/autocompleteEditor.mjs +2 -2
  93. package/editors/baseEditor/baseEditor.js +2 -2
  94. package/editors/baseEditor/baseEditor.mjs +2 -2
  95. package/editors/dateEditor/dateEditor.d.ts +1 -1
  96. package/editors/dateEditor/dateEditor.js +6 -3
  97. package/editors/dateEditor/dateEditor.mjs +6 -3
  98. package/editors/textEditor/textEditor.js +2 -2
  99. package/editors/textEditor/textEditor.mjs +2 -2
  100. package/eventManager.js +2 -2
  101. package/eventManager.mjs +2 -2
  102. package/helpers/browser.js +5 -2
  103. package/helpers/browser.mjs +5 -2
  104. package/helpers/feature.js +10 -0
  105. package/helpers/feature.mjs +9 -0
  106. package/helpers/mixed.js +1 -1
  107. package/helpers/mixed.mjs +1 -1
  108. package/package.json +3 -4
  109. package/pluginHooks.js +3 -3
  110. package/pluginHooks.mjs +3 -3
  111. package/plugins/autoColumnSize/autoColumnSize.js +2 -2
  112. package/plugins/autoColumnSize/autoColumnSize.mjs +2 -2
  113. package/plugins/autoRowSize/autoRowSize.js +2 -2
  114. package/plugins/autoRowSize/autoRowSize.mjs +2 -2
  115. package/plugins/autofill/autofill.js +2 -2
  116. package/plugins/autofill/autofill.mjs +2 -2
  117. package/plugins/base/base.js +2 -2
  118. package/plugins/base/base.mjs +2 -2
  119. package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +2 -2
  120. package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.mjs +2 -2
  121. package/plugins/collapsibleColumns/collapsibleColumns.js +2 -2
  122. package/plugins/collapsibleColumns/collapsibleColumns.mjs +2 -2
  123. package/plugins/columnSorting/columnSorting.js +2 -2
  124. package/plugins/columnSorting/columnSorting.mjs +2 -2
  125. package/plugins/columnSorting/columnStatesManager.js +2 -2
  126. package/plugins/columnSorting/columnStatesManager.mjs +2 -2
  127. package/plugins/columnSummary/columnSummary.js +2 -2
  128. package/plugins/columnSummary/columnSummary.mjs +2 -2
  129. package/plugins/columnSummary/endpoints.js +2 -2
  130. package/plugins/columnSummary/endpoints.mjs +2 -2
  131. package/plugins/comments/commentEditor.js +2 -2
  132. package/plugins/comments/commentEditor.mjs +2 -2
  133. package/plugins/comments/comments.js +2 -2
  134. package/plugins/comments/comments.mjs +2 -2
  135. package/plugins/comments/displaySwitch.js +2 -2
  136. package/plugins/comments/displaySwitch.mjs +2 -2
  137. package/plugins/contextMenu/commandExecutor.js +2 -2
  138. package/plugins/contextMenu/commandExecutor.mjs +2 -2
  139. package/plugins/contextMenu/contextMenu.js +2 -2
  140. package/plugins/contextMenu/contextMenu.mjs +2 -2
  141. package/plugins/contextMenu/itemsFactory.js +2 -2
  142. package/plugins/contextMenu/itemsFactory.mjs +2 -2
  143. package/plugins/contextMenu/menu/cursor.js +2 -2
  144. package/plugins/contextMenu/menu/cursor.mjs +2 -2
  145. package/plugins/contextMenu/menu/menu.js +2 -2
  146. package/plugins/contextMenu/menu/menu.mjs +2 -2
  147. package/plugins/copyPaste/copyPaste.js +2 -2
  148. package/plugins/copyPaste/copyPaste.mjs +2 -2
  149. package/plugins/customBorders/customBorders.js +2 -2
  150. package/plugins/customBorders/customBorders.mjs +2 -2
  151. package/plugins/dragToScroll/dragToScroll.d.ts +1 -8
  152. package/plugins/dragToScroll/dragToScroll.js +22 -18
  153. package/plugins/dragToScroll/dragToScroll.mjs +22 -18
  154. package/plugins/dropdownMenu/dropdownMenu.js +2 -2
  155. package/plugins/dropdownMenu/dropdownMenu.mjs +2 -2
  156. package/plugins/exportFile/dataProvider.js +2 -2
  157. package/plugins/exportFile/dataProvider.mjs +2 -2
  158. package/plugins/exportFile/types/_base.js +2 -2
  159. package/plugins/exportFile/types/_base.mjs +2 -2
  160. package/plugins/filters/component/_base.js +2 -2
  161. package/plugins/filters/component/_base.mjs +2 -2
  162. package/plugins/filters/component/actionBar.js +2 -2
  163. package/plugins/filters/component/actionBar.mjs +2 -2
  164. package/plugins/filters/component/condition.js +2 -2
  165. package/plugins/filters/component/condition.mjs +2 -2
  166. package/plugins/filters/component/operators.js +2 -2
  167. package/plugins/filters/component/operators.mjs +2 -2
  168. package/plugins/filters/component/value.js +2 -2
  169. package/plugins/filters/component/value.mjs +2 -2
  170. package/plugins/filters/conditionCollection.js +2 -2
  171. package/plugins/filters/conditionCollection.mjs +2 -2
  172. package/plugins/filters/conditionUpdateObserver.js +2 -2
  173. package/plugins/filters/conditionUpdateObserver.mjs +2 -2
  174. package/plugins/filters/dataFilter.js +2 -2
  175. package/plugins/filters/dataFilter.mjs +2 -2
  176. package/plugins/filters/filters.js +2 -2
  177. package/plugins/filters/filters.mjs +2 -2
  178. package/plugins/filters/ui/_base.js +2 -2
  179. package/plugins/filters/ui/_base.mjs +2 -2
  180. package/plugins/formulas/formulas.js +2 -2
  181. package/plugins/formulas/formulas.mjs +2 -2
  182. package/plugins/manualColumnMove/ui/_base.js +2 -2
  183. package/plugins/manualColumnMove/ui/_base.mjs +2 -2
  184. package/plugins/manualRowMove/ui/_base.js +2 -2
  185. package/plugins/manualRowMove/ui/_base.mjs +2 -2
  186. package/plugins/mergeCells/calculations/autofill.js +2 -2
  187. package/plugins/mergeCells/calculations/autofill.mjs +2 -2
  188. package/plugins/mergeCells/calculations/selection.js +2 -2
  189. package/plugins/mergeCells/calculations/selection.mjs +2 -2
  190. package/plugins/mergeCells/cellCoords.js +2 -2
  191. package/plugins/mergeCells/cellCoords.mjs +2 -2
  192. package/plugins/mergeCells/cellsCollection.js +2 -2
  193. package/plugins/mergeCells/cellsCollection.mjs +2 -2
  194. package/plugins/mergeCells/mergeCells.js +2 -2
  195. package/plugins/mergeCells/mergeCells.mjs +2 -2
  196. package/plugins/multiColumnSorting/multiColumnSorting.js +2 -2
  197. package/plugins/multiColumnSorting/multiColumnSorting.mjs +2 -2
  198. package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +2 -2
  199. package/plugins/multipleSelectionHandles/multipleSelectionHandles.mjs +2 -2
  200. package/plugins/nestedHeaders/nestedHeaders.js +2 -2
  201. package/plugins/nestedHeaders/nestedHeaders.mjs +2 -2
  202. package/plugins/nestedHeaders/utils/ghostTable.js +2 -2
  203. package/plugins/nestedHeaders/utils/ghostTable.mjs +2 -2
  204. package/plugins/nestedRows/data/dataManager.js +2 -2
  205. package/plugins/nestedRows/data/dataManager.mjs +2 -2
  206. package/plugins/nestedRows/nestedRows.js +2 -2
  207. package/plugins/nestedRows/nestedRows.mjs +2 -2
  208. package/plugins/nestedRows/ui/_base.js +2 -2
  209. package/plugins/nestedRows/ui/_base.mjs +2 -2
  210. package/plugins/nestedRows/ui/contextMenu.js +2 -2
  211. package/plugins/nestedRows/ui/contextMenu.mjs +2 -2
  212. package/plugins/nestedRows/utils/rowMoveController.js +2 -2
  213. package/plugins/nestedRows/utils/rowMoveController.mjs +2 -2
  214. package/plugins/persistentState/persistentState.js +2 -2
  215. package/plugins/persistentState/persistentState.mjs +2 -2
  216. package/plugins/persistentState/storage.js +2 -2
  217. package/plugins/persistentState/storage.mjs +2 -2
  218. package/plugins/search/search.js +2 -2
  219. package/plugins/search/search.mjs +2 -2
  220. package/plugins/touchScroll/touchScroll.js +2 -2
  221. package/plugins/touchScroll/touchScroll.mjs +2 -2
  222. package/plugins/trimRows/trimRows.js +2 -2
  223. package/plugins/trimRows/trimRows.mjs +2 -2
  224. package/selection/highlight/highlight.js +2 -2
  225. package/selection/highlight/highlight.mjs +2 -2
  226. package/selection/highlight/visualSelection.js +2 -2
  227. package/selection/highlight/visualSelection.mjs +2 -2
  228. package/selection/range.js +2 -2
  229. package/selection/range.mjs +2 -2
  230. package/selection/selection.js +2 -2
  231. package/selection/selection.mjs +2 -2
  232. package/settings.d.ts +1 -1
  233. package/tableView.js +2 -2
  234. package/tableView.mjs +2 -2
  235. package/translations/indexMapper.js +2 -2
  236. package/translations/indexMapper.mjs +2 -2
  237. package/translations/mapCollections/aggregatedCollection.js +2 -2
  238. package/translations/mapCollections/aggregatedCollection.mjs +2 -2
  239. package/translations/mapCollections/mapCollection.js +2 -2
  240. package/translations/mapCollections/mapCollection.mjs +2 -2
  241. package/translations/maps/indexMap.js +2 -2
  242. package/translations/maps/indexMap.mjs +2 -2
  243. package/translations/maps/linkedPhysicalIndexToValueMap.js +2 -2
  244. package/translations/maps/linkedPhysicalIndexToValueMap.mjs +2 -2
  245. package/utils/dataStructures/linkedList.js +2 -2
  246. package/utils/dataStructures/linkedList.mjs +2 -2
  247. package/utils/dataStructures/tree.js +2 -2
  248. package/utils/dataStructures/tree.mjs +2 -2
  249. package/utils/ghostTable.js +2 -2
  250. package/utils/ghostTable.mjs +2 -2
  251. package/utils/interval.js +2 -2
  252. package/utils/interval.mjs +2 -2
  253. package/utils/samplesGenerator.js +2 -2
  254. package/utils/samplesGenerator.mjs +2 -2
@@ -21,8 +21,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
21
21
  function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
22
22
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
23
23
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
24
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
25
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
24
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
25
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
26
26
  function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
27
27
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'columnSorting';
28
28
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 50;
@@ -3,8 +3,8 @@ import "core-js/modules/es.error.cause.js";
3
3
  function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
4
4
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
5
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
7
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
7
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
8
  function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
9
9
  import { addClass, hasClass, removeClass, setAttribute } from "../../helpers/dom/element.mjs";
10
10
  import { isUndefined, isDefined } from "../../helpers/mixed.mjs";
@@ -6,8 +6,8 @@ var _object = require("../../helpers/object");
6
6
  var _translations = require("../../translations");
7
7
  var _mixed = require("../../helpers/mixed");
8
8
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
10
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
9
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
10
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
11
11
  const inheritedColumnProperties = ['sortEmptyCells', 'indicator', 'headerAction', 'compareFunctionFactory'];
12
12
  const SORT_EMPTY_CELLS_DEFAULT = false;
13
13
  const SHOW_SORT_INDICATOR_DEFAULT = true;
@@ -1,7 +1,7 @@
1
1
  import "core-js/modules/es.error.cause.js";
2
2
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
4
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
4
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
5
  import { isObject, objectEach } from "../../helpers/object.mjs";
6
6
  import { LinkedPhysicalIndexToValueMap as IndexToValueMap } from "../../translations/index.mjs";
7
7
  import { isDefined } from "../../helpers/mixed.mjs";
@@ -11,8 +11,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
  function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
12
12
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
13
13
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
15
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
15
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
16
16
  function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
17
17
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'columnSummary';
18
18
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 220;
@@ -2,8 +2,8 @@ import "core-js/modules/es.error.cause.js";
2
2
  function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
3
3
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
6
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
8
8
  import { BasePlugin } from "../base/index.mjs";
9
9
  import { objectEach } from "../../helpers/object.mjs";
@@ -6,8 +6,8 @@ require("core-js/modules/es.array.push.js");
6
6
  var _array = require("../../helpers/array");
7
7
  var _console = require("../../helpers/console");
8
8
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
10
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
9
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
10
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
11
11
  /**
12
12
  * Class used to make all endpoint-related operations.
13
13
  *
@@ -1,8 +1,8 @@
1
1
  import "core-js/modules/es.error.cause.js";
2
2
  import "core-js/modules/es.array.push.js";
3
3
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
5
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
5
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
6
6
  import { arrayEach } from "../../helpers/array.mjs";
7
7
  import { warn } from "../../helpers/console.mjs";
8
8
  /**
@@ -4,8 +4,8 @@ exports.__esModule = true;
4
4
  require("core-js/modules/es.error.cause.js");
5
5
  var _element = require("../../helpers/dom/element");
6
6
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
8
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
8
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
9
  /**
10
10
  * Comment editor for the Comments plugin.
11
11
  *
@@ -1,7 +1,7 @@
1
1
  import "core-js/modules/es.error.cause.js";
2
2
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
4
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
4
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
5
  import { addClass, outerWidth, outerHeight } from "../../helpers/dom/element.mjs";
6
6
  /**
7
7
  * Comment editor for the Comments plugin.
@@ -18,8 +18,8 @@ function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclarati
18
18
  function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
19
19
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
20
20
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
21
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
22
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
21
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
22
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
23
23
  function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
24
24
  function _classPrivateFieldSet(receiver, privateMap, value) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "set"); _classApplyDescriptorSet(receiver, descriptor, value); return value; }
25
25
  function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); } else { if (!descriptor.writable) { throw new TypeError("attempted to set read only private field"); } descriptor.value = value; } }
@@ -4,8 +4,8 @@ function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclarati
4
4
  function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
5
5
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
6
6
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
8
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
8
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
9
  function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
10
10
  function _classPrivateFieldSet(receiver, privateMap, value) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "set"); _classApplyDescriptorSet(receiver, descriptor, value); return value; }
11
11
  function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); } else { if (!descriptor.writable) { throw new TypeError("attempted to set read only private field"); } descriptor.value = value; } }
@@ -7,8 +7,8 @@ var _object = require("../../helpers/object");
7
7
  var _localHooks = _interopRequireDefault(require("../../mixins/localHooks"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
9
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
11
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
10
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
11
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
12
12
  const DEFAULT_DISPLAY_DELAY = 250;
13
13
  const DEFAULT_HIDE_DELAY = 250;
14
14
 
@@ -1,7 +1,7 @@
1
1
  import "core-js/modules/es.error.cause.js";
2
2
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
4
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
4
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
5
  import { debounce } from "../../helpers/function.mjs";
6
6
  import { mixin } from "../../helpers/object.mjs";
7
7
  import localHooks from "../../mixins/localHooks.mjs";
@@ -7,8 +7,8 @@ require("core-js/modules/es.array.unshift.js");
7
7
  var _array = require("../../helpers/array");
8
8
  var _object = require("../../helpers/object");
9
9
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
11
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
10
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
11
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
12
12
  /**
13
13
  * Command executor for ContextMenu.
14
14
  *
@@ -2,8 +2,8 @@ import "core-js/modules/es.error.cause.js";
2
2
  import "core-js/modules/es.array.push.js";
3
3
  import "core-js/modules/es.array.unshift.js";
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
6
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  import { arrayEach } from "../../helpers/array.mjs";
8
8
  import { hasOwnProperty } from "../../helpers/object.mjs";
9
9
  /**
@@ -16,8 +16,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
16
16
  function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
17
17
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
18
18
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
19
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
20
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
19
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
20
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
21
21
  function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
22
22
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'contextMenu';
23
23
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 70;
@@ -2,8 +2,8 @@ import "core-js/modules/es.error.cause.js";
2
2
  function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
3
3
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
6
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
8
8
  import { BasePlugin } from "../base/index.mjs";
9
9
  import Hooks from "../../pluginHooks.mjs";
@@ -7,8 +7,8 @@ var _object = require("../../helpers/object");
7
7
  var _array = require("../../helpers/array");
8
8
  var _predefinedItems = require("./predefinedItems");
9
9
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
11
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
10
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
11
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
12
12
  /**
13
13
  * Predefined items class factory for menu items.
14
14
  *
@@ -1,8 +1,8 @@
1
1
  import "core-js/modules/es.array.push.js";
2
2
  import "core-js/modules/es.error.cause.js";
3
3
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
5
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
5
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
6
6
  import { objectEach, isObject, extend } from "../../helpers/object.mjs";
7
7
  import { arrayEach } from "../../helpers/array.mjs";
8
8
  import { SEPARATOR, ITEMS, predefinedItems } from "./predefinedItems/index.mjs";
@@ -3,8 +3,8 @@
3
3
  exports.__esModule = true;
4
4
  require("core-js/modules/es.error.cause.js");
5
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
7
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
7
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
8
  /**
9
9
  * Helper class for checking if element will fit at the desired side of cursor.
10
10
  *
@@ -1,7 +1,7 @@
1
1
  import "core-js/modules/es.error.cause.js";
2
2
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
4
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
4
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
5
  /**
6
6
  * Helper class for checking if element will fit at the desired side of cursor.
7
7
  *
@@ -23,8 +23,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
23
23
  function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
24
24
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
25
25
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
26
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
27
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
26
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
27
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
28
28
  function _classPrivateFieldSet(receiver, privateMap, value) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "set"); _classApplyDescriptorSet(receiver, descriptor, value); return value; }
29
29
  function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); } else { if (!descriptor.writable) { throw new TypeError("attempted to set read only private field"); } descriptor.value = value; } }
30
30
  function _classPrivateFieldGet(receiver, privateMap) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get"); return _classApplyDescriptorGet(receiver, descriptor); }
@@ -3,8 +3,8 @@ import "core-js/modules/es.error.cause.js";
3
3
  function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
4
4
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
5
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
7
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
7
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
8
  function _classPrivateFieldSet(receiver, privateMap, value) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "set"); _classApplyDescriptorSet(receiver, descriptor, value); return value; }
9
9
  function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); } else { if (!descriptor.writable) { throw new TypeError("attempted to set read only private field"); } descriptor.value = value; } }
10
10
  function _classPrivateFieldGet(receiver, privateMap) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get"); return _classApplyDescriptorGet(receiver, descriptor); }
@@ -23,8 +23,8 @@ function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclarati
23
23
  function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
24
24
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
25
25
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
26
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
27
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
26
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
27
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
28
28
  function _classPrivateFieldGet(receiver, privateMap) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get"); return _classApplyDescriptorGet(receiver, descriptor); }
29
29
  function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; }
30
30
  function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
@@ -4,8 +4,8 @@ function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclarati
4
4
  function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
5
5
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
6
6
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
8
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
8
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
9
  function _classPrivateFieldGet(receiver, privateMap) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get"); return _classApplyDescriptorGet(receiver, descriptor); }
10
10
  function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; }
11
11
  function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
@@ -16,8 +16,8 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
16
16
  function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
17
17
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
18
18
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
19
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
20
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
19
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
20
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
21
21
  function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
22
22
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'customBorders';
23
23
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 90;
@@ -3,8 +3,8 @@ import "core-js/modules/es.error.cause.js";
3
3
  function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
4
4
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
5
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
7
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
7
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
8
  function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
9
9
  import { BasePlugin } from "../base/index.mjs";
10
10
  import { hasOwnProperty, deepClone } from "../../helpers/object.mjs";
@@ -1,13 +1,6 @@
1
1
  import Core from '../../core';
2
2
  import { BasePlugin } from '../base';
3
3
 
4
- interface DOMBoundaries {
5
- left: number;
6
- right: number;
7
- top: number;
8
- bottom: number;
9
- }
10
-
11
4
  export type Settings = boolean;
12
5
 
13
6
  export class DragToScroll extends BasePlugin {
@@ -16,7 +9,7 @@ export class DragToScroll extends BasePlugin {
16
9
  boundaries: DOMRect | undefined;
17
10
 
18
11
  isEnabled(): boolean;
19
- setBoundaries(boundaries: DOMRect | DOMBoundaries): void;
12
+ setBoundaries(boundaries: DOMRect): void;
20
13
  setCallback(callback: () => void): void;
21
14
  check(x: number, y: number): void;
22
15
  }
@@ -8,8 +8,8 @@ var _element = require("../../helpers/dom/element");
8
8
  function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
9
9
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
10
10
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
12
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
11
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
12
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
13
13
  function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
14
14
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'dragToScroll';
15
15
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 100;
@@ -108,16 +108,9 @@ class DragToScroll extends _base.BasePlugin {
108
108
  /**
109
109
  * Sets the value of the visible element.
110
110
  *
111
- * @param {DOMRect|{left: number, right: number, top: number, bottom: number}} [boundaries] An object with
112
- * coordinates. Contains the window boundaries by default. The object is compatible with DOMRect.
111
+ * @param {DOMRect} boundaries An object with coordinates compatible with DOMRect.
113
112
  */
114
- setBoundaries() {
115
- let boundaries = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
116
- left: 0,
117
- right: this.hot.rootWindow.innerWidth,
118
- top: 0,
119
- bottom: this.hot.rootWindow.innerHeight
120
- };
113
+ setBoundaries(boundaries) {
121
114
  this.boundaries = boundaries;
122
115
  }
123
116
 
@@ -131,7 +124,7 @@ class DragToScroll extends _base.BasePlugin {
131
124
  }
132
125
 
133
126
  /**
134
- * Checks if the mouse position (X, Y) is outside the viewport and fires a callback with calculated X an Y diffs
127
+ * Checks if the mouse position (X, Y) is outside of the viewport and fires a callback with calculated X an Y diffs
135
128
  * between passed boundaries.
136
129
  *
137
130
  * @param {number} x Mouse X coordinate to check.
@@ -236,13 +229,24 @@ function _setupListening2(event) {
236
229
  if ((0, _event.isRightClick)(event)) {
237
230
  return;
238
231
  }
239
- const scrollHandler = this.hot.view._wt.wtOverlays.topOverlay.mainTableScrollableElement;
240
- this.setBoundaries(scrollHandler !== this.hot.rootWindow ? scrollHandler.getBoundingClientRect() : undefined);
232
+ const scrollHandler = this.hot.view._wt.wtTable.holder; // native scroll
233
+
234
+ if (scrollHandler === this.hot.rootWindow) {
235
+ // not much we can do currently
236
+ return;
237
+ }
238
+ this.setBoundaries(scrollHandler.getBoundingClientRect());
241
239
  this.setCallback((scrollX, scrollY) => {
242
- var _scrollHandler$scroll, _scrollHandler$scroll2;
243
- const horizontalScrollValue = (_scrollHandler$scroll = scrollHandler.scrollLeft) !== null && _scrollHandler$scroll !== void 0 ? _scrollHandler$scroll : scrollHandler.scrollX;
244
- const verticalScrollValue = (_scrollHandler$scroll2 = scrollHandler.scrollTop) !== null && _scrollHandler$scroll2 !== void 0 ? _scrollHandler$scroll2 : scrollHandler.scrollY;
245
- scrollHandler.scroll(horizontalScrollValue + Math.sign(scrollX) * 50, verticalScrollValue + Math.sign(scrollY) * 20);
240
+ if (scrollX < 0) {
241
+ scrollHandler.scrollLeft -= 50;
242
+ } else if (scrollX > 0) {
243
+ scrollHandler.scrollLeft += 50;
244
+ }
245
+ if (scrollY < 0) {
246
+ scrollHandler.scrollTop -= 20;
247
+ } else if (scrollY > 0) {
248
+ scrollHandler.scrollTop += 20;
249
+ }
246
250
  });
247
251
  this.listen();
248
252
  }