@deephaven/grid 0.85.38 → 0.85.41
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.
- package/dist/CellRenderer.js +3 -3
- package/dist/DataBarCellRenderer.js +3 -3
- package/dist/Grid.js +7 -7
- package/dist/GridMetricCalculator.js +5 -5
- package/dist/GridMetricCalculator.js.map +1 -1
- package/dist/GridModel.js +3 -3
- package/dist/GridMouseHandler.js +3 -3
- package/dist/GridRange.js +3 -3
- package/dist/GridRenderer.d.ts.map +1 -1
- package/dist/GridRenderer.js +9 -8
- package/dist/GridRenderer.js.map +1 -1
- package/dist/GridUtils.d.ts +15 -2
- package/dist/GridUtils.d.ts.map +1 -1
- package/dist/GridUtils.js +36 -9
- package/dist/GridUtils.js.map +1 -1
- package/dist/KeyHandler.js +3 -3
- package/dist/MockDataBarGridModel.js +3 -3
- package/dist/MockGridModel.js +5 -5
- package/dist/MockTreeGridModel.js +3 -3
- package/dist/StaticDataGridModel.js +3 -3
- package/dist/TextCellRenderer.js +3 -3
- package/dist/ViewportDataGridModel.js +3 -3
- package/dist/errors/AssertionError.js +3 -3
- package/dist/errors/PasteError.js +3 -3
- package/dist/memoizeClear.js +5 -5
- package/dist/mouse-handlers/GridColumnMoveMouseHandler.js +5 -5
- package/dist/mouse-handlers/GridColumnSeparatorMouseHandler.d.ts.map +1 -1
- package/dist/mouse-handlers/GridColumnSeparatorMouseHandler.js +4 -4
- package/dist/mouse-handlers/GridColumnSeparatorMouseHandler.js.map +1 -1
- package/dist/mouse-handlers/GridHorizontalScrollBarMouseHandler.js +3 -3
- package/dist/mouse-handlers/GridRowMoveMouseHandler.js +3 -3
- package/dist/mouse-handlers/GridRowSeparatorMouseHandler.js +3 -3
- package/dist/mouse-handlers/GridSelectionMouseHandler.js +3 -3
- package/dist/mouse-handlers/GridSeparatorMouseHandler.js +3 -3
- package/dist/mouse-handlers/GridTokenMouseHandler.js +3 -3
- package/dist/mouse-handlers/GridVerticalScrollBarMouseHandler.js +3 -3
- package/package.json +2 -2
package/dist/CellRenderer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
function _defineProperty(
|
|
2
|
-
function _toPropertyKey(
|
|
3
|
-
function _toPrimitive(
|
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
3
|
+
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); }
|
|
4
4
|
/* eslint-disable class-methods-use-this */
|
|
5
5
|
import { getOrThrow } from '@deephaven/utils';
|
|
6
6
|
import { isExpandableGridModel } from "./ExpandableGridModel.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
function _defineProperty(
|
|
2
|
-
function _toPropertyKey(
|
|
3
|
-
function _toPrimitive(
|
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
3
|
+
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); }
|
|
4
4
|
/* eslint-disable class-methods-use-this */
|
|
5
5
|
import { getOrThrow } from '@deephaven/utils';
|
|
6
6
|
import CellRenderer from "./CellRenderer.js";
|
package/dist/Grid.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
function asyncGeneratorStep(
|
|
2
|
-
function _asyncToGenerator(
|
|
3
|
-
function ownKeys(
|
|
4
|
-
function _objectSpread(
|
|
5
|
-
function _defineProperty(
|
|
6
|
-
function _toPropertyKey(
|
|
7
|
-
function _toPrimitive(
|
|
1
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
2
|
+
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
3
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : 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
|
/* eslint react/no-did-update-set-state: "off" */
|
|
9
9
|
import React, { PureComponent } from 'react';
|
|
10
10
|
import classNames from 'classnames';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
function _defineProperty(
|
|
2
|
-
function _toPropertyKey(
|
|
3
|
-
function _toPrimitive(
|
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
3
|
+
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); }
|
|
4
4
|
import clamp from 'lodash.clamp';
|
|
5
5
|
import { getOrThrow } from '@deephaven/utils';
|
|
6
6
|
import GridUtils from "./GridUtils.js";
|
|
@@ -349,7 +349,7 @@ export class GridMetricCalculator {
|
|
|
349
349
|
// Array of visible rows/columns, by grid index
|
|
350
350
|
visibleRows,
|
|
351
351
|
visibleColumns,
|
|
352
|
-
// Map of the height/width of
|
|
352
|
+
// Map of the height/width of columns in the viewport (excluding floating columns)
|
|
353
353
|
visibleRowHeights,
|
|
354
354
|
visibleColumnWidths,
|
|
355
355
|
// Array of floating rows/columns, by grid index
|
|
@@ -358,7 +358,7 @@ export class GridMetricCalculator {
|
|
|
358
358
|
// Array of all rows/columns, visible and floating, by grid index
|
|
359
359
|
allRows,
|
|
360
360
|
allColumns,
|
|
361
|
-
// Map of the height/width of visible
|
|
361
|
+
// Map of the height/width of all rendered columns (visible + floating + dragging)
|
|
362
362
|
allRowHeights,
|
|
363
363
|
allColumnWidths,
|
|
364
364
|
// Floating metrics
|