handsontable 0.0.0-next-48677e7-20230509 → 0.0.0-next-c73b24c-20230510
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of handsontable might be problematic. Click here for more details.
- package/3rdparty/walkontable/src/{selection/border/border.js → border.js} +12 -7
- package/3rdparty/walkontable/src/{selection/border/border.mjs → border.mjs} +12 -7
- package/3rdparty/walkontable/src/cell/coords.js +13 -40
- package/3rdparty/walkontable/src/cell/coords.mjs +13 -40
- package/3rdparty/walkontable/src/cell/range.js +25 -29
- package/3rdparty/walkontable/src/cell/range.mjs +24 -28
- package/3rdparty/walkontable/src/core/_base.js +3 -9
- package/3rdparty/walkontable/src/core/_base.mjs +3 -9
- package/3rdparty/walkontable/src/core/clone.js +2 -2
- package/3rdparty/walkontable/src/core/clone.mjs +2 -2
- package/3rdparty/walkontable/src/core/core.js +2 -3
- package/3rdparty/walkontable/src/core/core.mjs +2 -3
- package/3rdparty/walkontable/src/event.js +10 -12
- package/3rdparty/walkontable/src/event.mjs +10 -12
- package/3rdparty/walkontable/src/facade/core.js +2 -2
- package/3rdparty/walkontable/src/facade/core.mjs +2 -2
- package/3rdparty/walkontable/src/index.js +2 -10
- package/3rdparty/walkontable/src/index.mjs +2 -2
- package/3rdparty/walkontable/src/overlay/_base.js +7 -8
- package/3rdparty/walkontable/src/overlay/_base.mjs +7 -8
- package/3rdparty/walkontable/src/overlay/bottom.js +6 -7
- package/3rdparty/walkontable/src/overlay/bottom.mjs +6 -7
- package/3rdparty/walkontable/src/overlay/inlineStart.js +4 -2
- package/3rdparty/walkontable/src/overlay/inlineStart.mjs +4 -2
- package/3rdparty/walkontable/src/overlay/top.js +10 -9
- package/3rdparty/walkontable/src/overlay/top.mjs +10 -9
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.js +10 -12
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.mjs +10 -12
- package/3rdparty/walkontable/src/overlays.js +55 -64
- package/3rdparty/walkontable/src/overlays.mjs +55 -64
- package/3rdparty/walkontable/src/renderer/table.js +0 -2
- package/3rdparty/walkontable/src/renderer/table.mjs +0 -2
- package/3rdparty/walkontable/src/scroll.js +20 -23
- package/3rdparty/walkontable/src/scroll.mjs +20 -23
- package/3rdparty/walkontable/src/selection.js +354 -0
- package/3rdparty/walkontable/src/selection.mjs +348 -0
- package/3rdparty/walkontable/src/settings.js +13 -15
- package/3rdparty/walkontable/src/settings.mjs +13 -15
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.js +0 -9
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.mjs +0 -9
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.js +0 -9
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.mjs +0 -9
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.js +0 -9
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.mjs +0 -9
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.js +0 -9
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.mjs +0 -9
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.js +0 -9
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.mjs +0 -9
- package/3rdparty/walkontable/src/table.js +101 -33
- package/3rdparty/walkontable/src/table.mjs +102 -34
- package/base.js +2 -4
- package/base.mjs +2 -2
- package/core.d.ts +0 -4
- package/core.js +24 -52
- package/core.mjs +24 -52
- package/dataMap/dataSource.js +5 -5
- package/dataMap/dataSource.mjs +5 -5
- package/dataMap/metaManager/metaSchema.js +1 -8
- package/dataMap/metaManager/metaSchema.mjs +1 -8
- package/dist/handsontable.css +2 -7
- package/dist/handsontable.full.css +2 -7
- package/dist/handsontable.full.js +9101 -9413
- package/dist/handsontable.full.min.css +3 -3
- package/dist/handsontable.full.min.js +123 -115
- package/dist/handsontable.js +8761 -9074
- package/dist/handsontable.min.css +3 -3
- package/dist/handsontable.min.js +11 -3
- package/dist/languages/all.js +133 -0
- package/dist/languages/ar-AR.js +7 -0
- package/dist/languages/cs-CZ.js +7 -0
- package/dist/languages/de-CH.js +7 -0
- package/dist/languages/de-DE.js +7 -0
- package/dist/languages/en-US.js +7 -0
- package/dist/languages/es-MX.js +7 -0
- package/dist/languages/fr-FR.js +7 -0
- package/dist/languages/it-IT.js +7 -0
- package/dist/languages/ja-JP.js +7 -0
- package/dist/languages/ko-KR.js +7 -0
- package/dist/languages/lv-LV.js +7 -0
- package/dist/languages/nb-NO.js +7 -0
- package/dist/languages/nl-NL.js +7 -0
- package/dist/languages/pl-PL.js +7 -0
- package/dist/languages/pt-BR.js +7 -0
- package/dist/languages/ru-RU.js +7 -0
- package/dist/languages/sr-SP.js +7 -0
- package/dist/languages/zh-CN.js +7 -0
- package/dist/languages/zh-TW.js +7 -0
- package/editorManager.js +3 -7
- package/editorManager.mjs +3 -7
- package/editors/textEditor/textEditor.js +16 -3
- package/editors/textEditor/textEditor.mjs +17 -4
- package/helpers/dom/element.js +0 -11
- package/helpers/dom/element.mjs +0 -10
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/i18n/languages/ar-AR.js +7 -1
- package/i18n/languages/cs-CZ.js +7 -1
- package/i18n/languages/de-CH.js +7 -1
- package/i18n/languages/de-DE.js +7 -1
- package/i18n/languages/en-US.js +7 -1
- package/i18n/languages/es-MX.js +7 -1
- package/i18n/languages/fr-FR.js +7 -1
- package/i18n/languages/it-IT.js +7 -1
- package/i18n/languages/ja-JP.js +7 -1
- package/i18n/languages/ko-KR.js +7 -1
- package/i18n/languages/lv-LV.js +7 -1
- package/i18n/languages/nb-NO.js +7 -1
- package/i18n/languages/nl-NL.js +7 -1
- package/i18n/languages/pl-PL.js +7 -1
- package/i18n/languages/pt-BR.js +7 -1
- package/i18n/languages/ru-RU.js +7 -1
- package/i18n/languages/sr-SP.js +7 -1
- package/i18n/languages/zh-CN.js +7 -1
- package/i18n/languages/zh-TW.js +7 -1
- package/languages/all.js +133 -0
- package/languages/ar-AR.js +7 -0
- package/languages/cs-CZ.js +7 -0
- package/languages/de-CH.js +7 -0
- package/languages/de-DE.js +7 -0
- package/languages/en-US.js +7 -0
- package/languages/es-MX.js +7 -0
- package/languages/fr-FR.js +7 -0
- package/languages/index.js +133 -0
- package/languages/it-IT.js +7 -0
- package/languages/ja-JP.js +7 -0
- package/languages/ko-KR.js +7 -0
- package/languages/lv-LV.js +7 -0
- package/languages/nb-NO.js +7 -0
- package/languages/nl-NL.js +7 -0
- package/languages/pl-PL.js +7 -0
- package/languages/pt-BR.js +7 -0
- package/languages/ru-RU.js +7 -0
- package/languages/sr-SP.js +7 -0
- package/languages/zh-CN.js +7 -0
- package/languages/zh-TW.js +7 -0
- package/package.json +3 -2
- package/pluginHooks.js +17 -7
- package/pluginHooks.mjs +16 -4
- package/plugins/autoRowSize/autoRowSize.js +2 -2
- package/plugins/autoRowSize/autoRowSize.mjs +2 -2
- package/plugins/copyPaste/copyPaste.js +93 -12
- package/plugins/copyPaste/copyPaste.mjs +93 -12
- package/plugins/copyPaste/copyableRanges.js +25 -31
- package/plugins/copyPaste/copyableRanges.mjs +18 -24
- package/plugins/copyPaste/focusableElement.js +219 -0
- package/plugins/copyPaste/focusableElement.mjs +213 -0
- package/plugins/customBorders/customBorders.js +2 -6
- package/plugins/customBorders/customBorders.mjs +3 -7
- package/plugins/filters/filters.js +5 -0
- package/plugins/filters/filters.mjs +5 -0
- package/plugins/formulas/formulas.js +190 -168
- package/plugins/formulas/formulas.mjs +190 -168
- package/plugins/formulas/indexSyncer/axisSyncer.js +379 -0
- package/plugins/formulas/indexSyncer/axisSyncer.mjs +374 -0
- package/plugins/formulas/indexSyncer/index.js +225 -0
- package/plugins/formulas/indexSyncer/index.mjs +219 -0
- package/plugins/mergeCells/mergeCells.js +16 -0
- package/plugins/mergeCells/mergeCells.mjs +16 -0
- package/plugins/nestedHeaders/nestedHeaders.js +4 -3
- package/plugins/nestedHeaders/nestedHeaders.mjs +4 -3
- package/plugins/nestedHeaders/stateManager/headersTree.js +23 -26
- package/plugins/nestedHeaders/stateManager/headersTree.mjs +20 -23
- package/plugins/nestedHeaders/stateManager/index.js +3 -3
- package/plugins/nestedHeaders/stateManager/matrixGenerator.js +1 -0
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +1 -1
- package/plugins/nestedHeaders/utils/ghostTable.js +30 -35
- package/plugins/nestedHeaders/utils/ghostTable.mjs +30 -35
- package/plugins/registry.js +3 -1
- package/plugins/undoRedo/undoRedo.js +0 -1
- package/plugins/undoRedo/undoRedo.mjs +0 -1
- package/renderers/baseRenderer/baseRenderer.js +0 -3
- package/renderers/baseRenderer/baseRenderer.mjs +0 -3
- package/selection/highlight/constants.js +16 -0
- package/selection/highlight/constants.mjs +6 -0
- package/selection/highlight/highlight.js +133 -335
- package/selection/highlight/highlight.mjs +129 -325
- package/selection/highlight/types/activeHeader.js +9 -10
- package/selection/highlight/types/activeHeader.mjs +8 -10
- package/selection/highlight/types/area.js +27 -12
- package/selection/highlight/types/area.mjs +30 -16
- package/selection/highlight/types/{focus.js → cell.js} +8 -5
- package/selection/highlight/types/{focus.mjs → cell.mjs} +7 -5
- package/selection/highlight/types/customSelection.js +10 -7
- package/selection/highlight/types/customSelection.mjs +9 -7
- package/selection/highlight/types/fill.js +8 -5
- package/selection/highlight/types/fill.mjs +7 -5
- package/selection/highlight/types/header.js +20 -10
- package/selection/highlight/types/header.mjs +19 -10
- package/selection/highlight/types/{row.js → index.js} +31 -27
- package/selection/highlight/types/{row.mjs → index.mjs} +29 -24
- package/selection/highlight/visualSelection.js +21 -12
- package/selection/highlight/visualSelection.mjs +21 -12
- package/selection/index.js +7 -4
- package/selection/index.mjs +3 -2
- package/selection/selection.js +46 -88
- package/selection/selection.mjs +44 -82
- package/settings.d.ts +0 -1
- package/tableView.js +66 -94
- package/tableView.mjs +66 -94
- package/translations/changesObservable/observable.js +41 -46
- package/translations/changesObservable/observable.mjs +36 -41
- package/translations/changesObservable/observer.js +1 -1
- package/translations/indexMapper.js +21 -0
- package/translations/indexMapper.mjs +21 -0
- package/utils/dataStructures/tree.js +15 -18
- package/utils/dataStructures/tree.mjs +15 -18
- package/utils/parseTable.js +5 -1
- package/utils/parseTable.mjs +5 -1
- package/3rdparty/walkontable/src/selection/border/constants.js +0 -18
- package/3rdparty/walkontable/src/selection/border/constants.mjs +0 -13
- package/3rdparty/walkontable/src/selection/constants.js +0 -63
- package/3rdparty/walkontable/src/selection/constants.mjs +0 -51
- package/3rdparty/walkontable/src/selection/index.js +0 -30
- package/3rdparty/walkontable/src/selection/index.mjs +0 -5
- package/3rdparty/walkontable/src/selection/manager.js +0 -334
- package/3rdparty/walkontable/src/selection/manager.mjs +0 -328
- package/3rdparty/walkontable/src/selection/scanner.js +0 -363
- package/3rdparty/walkontable/src/selection/scanner.mjs +0 -359
- package/3rdparty/walkontable/src/selection/selection.js +0 -133
- package/3rdparty/walkontable/src/selection/selection.mjs +0 -127
- package/focusManager.d.ts +0 -12
- package/focusManager.js +0 -249
- package/focusManager.mjs +0 -245
- package/selection/highlight/types/areaLayered.js +0 -54
- package/selection/highlight/types/areaLayered.mjs +0 -49
- package/selection/highlight/types/column.js +0 -50
- package/selection/highlight/types/column.mjs +0 -45
@@ -23,16 +23,8 @@ exports.CellRange = _range.default;
|
|
23
23
|
var _core = _interopRequireDefault(require("./facade/core"));
|
24
24
|
exports.default = _core.default;
|
25
25
|
exports.Core = _core.default;
|
26
|
-
var _selection = require("./selection");
|
27
|
-
exports.Selection = _selection.
|
28
|
-
exports.HIGHLIGHT_ACTIVE_HEADER_TYPE = _selection.ACTIVE_HEADER_TYPE;
|
29
|
-
exports.HIGHLIGHT_AREA_TYPE = _selection.AREA_TYPE;
|
30
|
-
exports.HIGHLIGHT_FOCUS_TYPE = _selection.FOCUS_TYPE;
|
31
|
-
exports.HIGHLIGHT_FILL_TYPE = _selection.FILL_TYPE;
|
32
|
-
exports.HIGHLIGHT_HEADER_TYPE = _selection.HEADER_TYPE;
|
33
|
-
exports.HIGHLIGHT_ROW_TYPE = _selection.ROW_TYPE;
|
34
|
-
exports.HIGHLIGHT_COLUMN_TYPE = _selection.COLUMN_TYPE;
|
35
|
-
exports.HIGHLIGHT_CUSTOM_SELECTION_TYPE = _selection.CUSTOM_SELECTION_TYPE;
|
26
|
+
var _selection = _interopRequireDefault(require("./selection"));
|
27
|
+
exports.Selection = _selection.default;
|
36
28
|
var Renderer = _interopRequireWildcard(require("./renderer"));
|
37
29
|
exports.Renderer = Renderer;
|
38
30
|
var _orderView = require("./utils/orderView");
|
@@ -3,8 +3,8 @@ import ViewportRowsCalculator from "./calculator/viewportRows.mjs";
|
|
3
3
|
import CellCoords from "./cell/coords.mjs";
|
4
4
|
import CellRange from "./cell/range.mjs";
|
5
5
|
import Walkontable from "./facade/core.mjs";
|
6
|
-
import
|
6
|
+
import Selection from "./selection.mjs";
|
7
7
|
import * as Renderer from "./renderer/index.mjs";
|
8
8
|
import { OrderView, SharedOrderView } from "./utils/orderView/index.mjs";
|
9
9
|
import { getListenersCounter } from "../../../eventManager.mjs";
|
10
|
-
export { ViewportColumnsCalculator, ViewportRowsCalculator, CellCoords, CellRange, Walkontable as default, Walkontable as Core, Selection,
|
10
|
+
export { ViewportColumnsCalculator, ViewportRowsCalculator, CellCoords, CellRange, Walkontable as default, Walkontable as Core, Selection, Renderer, OrderView, SharedOrderView, getListenersCounter };
|
@@ -36,13 +36,6 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
36
36
|
* @property {Walkontable} wot The Walkontable instance.
|
37
37
|
*/
|
38
38
|
var Overlay = /*#__PURE__*/function () {
|
39
|
-
/**
|
40
|
-
* The Walkontable settings.
|
41
|
-
*
|
42
|
-
* @private
|
43
|
-
* @type {Settings}
|
44
|
-
*/
|
45
|
-
|
46
39
|
/**
|
47
40
|
* @param {Walkontable} wotInstance The Walkontable instance. @TODO refactoring: check if can be deleted.
|
48
41
|
* @param {FacadeGetter} facadeGetter Function which return proper facade.
|
@@ -52,6 +45,12 @@ var Overlay = /*#__PURE__*/function () {
|
|
52
45
|
*/
|
53
46
|
function Overlay(wotInstance, facadeGetter, type, wtSettings, domBindings) {
|
54
47
|
_classCallCheck(this, Overlay);
|
48
|
+
/**
|
49
|
+
* The Walkontable settings.
|
50
|
+
*
|
51
|
+
* @private
|
52
|
+
* @type {Settings}
|
53
|
+
*/
|
55
54
|
_defineProperty(this, "wtSettings", null);
|
56
55
|
(0, _object.defineGetter)(this, 'wot', wotInstance, {
|
57
56
|
writable: false
|
@@ -308,7 +307,7 @@ var Overlay = /*#__PURE__*/function () {
|
|
308
307
|
// todo ioc , or factor func if used only here
|
309
308
|
event: this.wot.wtEvent,
|
310
309
|
// todo ioc , or factory func if used only here
|
311
|
-
|
310
|
+
selections: this.wot.selections // todo ioc , or factory func if used only here
|
312
311
|
});
|
313
312
|
}
|
314
313
|
|
@@ -31,13 +31,6 @@ import Clone from "../core/clone.mjs";
|
|
31
31
|
* @property {Walkontable} wot The Walkontable instance.
|
32
32
|
*/
|
33
33
|
export var Overlay = /*#__PURE__*/function () {
|
34
|
-
/**
|
35
|
-
* The Walkontable settings.
|
36
|
-
*
|
37
|
-
* @private
|
38
|
-
* @type {Settings}
|
39
|
-
*/
|
40
|
-
|
41
34
|
/**
|
42
35
|
* @param {Walkontable} wotInstance The Walkontable instance. @TODO refactoring: check if can be deleted.
|
43
36
|
* @param {FacadeGetter} facadeGetter Function which return proper facade.
|
@@ -47,6 +40,12 @@ export var Overlay = /*#__PURE__*/function () {
|
|
47
40
|
*/
|
48
41
|
function Overlay(wotInstance, facadeGetter, type, wtSettings, domBindings) {
|
49
42
|
_classCallCheck(this, Overlay);
|
43
|
+
/**
|
44
|
+
* The Walkontable settings.
|
45
|
+
*
|
46
|
+
* @private
|
47
|
+
* @type {Settings}
|
48
|
+
*/
|
50
49
|
_defineProperty(this, "wtSettings", null);
|
51
50
|
defineGetter(this, 'wot', wotInstance, {
|
52
51
|
writable: false
|
@@ -303,7 +302,7 @@ export var Overlay = /*#__PURE__*/function () {
|
|
303
302
|
// todo ioc , or factor func if used only here
|
304
303
|
event: this.wot.wtEvent,
|
305
304
|
// todo ioc , or factory func if used only here
|
306
|
-
|
305
|
+
selections: this.wot.selections // todo ioc , or factory func if used only here
|
307
306
|
});
|
308
307
|
}
|
309
308
|
|
@@ -41,13 +41,6 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
41
41
|
var BottomOverlay = /*#__PURE__*/function (_Overlay) {
|
42
42
|
_inherits(BottomOverlay, _Overlay);
|
43
43
|
var _super = _createSuper(BottomOverlay);
|
44
|
-
/**
|
45
|
-
* Cached value which holds the previous value of the `fixedRowsBottom` option.
|
46
|
-
* It is used as a comparison value that can be used to detect changes in that value.
|
47
|
-
*
|
48
|
-
* @type {number}
|
49
|
-
*/
|
50
|
-
|
51
44
|
/**
|
52
45
|
* @param {Walkontable} wotInstance The Walkontable instance. @TODO refactoring: check if can be deleted.
|
53
46
|
* @param {FacadeGetter} facadeGetter Function which return proper facade.
|
@@ -58,6 +51,12 @@ var BottomOverlay = /*#__PURE__*/function (_Overlay) {
|
|
58
51
|
var _this;
|
59
52
|
_classCallCheck(this, BottomOverlay);
|
60
53
|
_this = _super.call(this, wotInstance, facadeGetter, _constants.CLONE_BOTTOM, wtSettings, domBindings);
|
54
|
+
/**
|
55
|
+
* Cached value which holds the previous value of the `fixedRowsBottom` option.
|
56
|
+
* It is used as a comparison value that can be used to detect changes in that value.
|
57
|
+
*
|
58
|
+
* @type {number}
|
59
|
+
*/
|
61
60
|
_defineProperty(_assertThisInitialized(_this), "cachedFixedRowsBottom", -1);
|
62
61
|
_this.cachedFixedRowsBottom = _this.wtSettings.getSetting('fixedRowsBottom');
|
63
62
|
return _this;
|
@@ -36,13 +36,6 @@ import { CLONE_BOTTOM } from "./constants.mjs";
|
|
36
36
|
export var BottomOverlay = /*#__PURE__*/function (_Overlay) {
|
37
37
|
_inherits(BottomOverlay, _Overlay);
|
38
38
|
var _super = _createSuper(BottomOverlay);
|
39
|
-
/**
|
40
|
-
* Cached value which holds the previous value of the `fixedRowsBottom` option.
|
41
|
-
* It is used as a comparison value that can be used to detect changes in that value.
|
42
|
-
*
|
43
|
-
* @type {number}
|
44
|
-
*/
|
45
|
-
|
46
39
|
/**
|
47
40
|
* @param {Walkontable} wotInstance The Walkontable instance. @TODO refactoring: check if can be deleted.
|
48
41
|
* @param {FacadeGetter} facadeGetter Function which return proper facade.
|
@@ -53,6 +46,12 @@ export var BottomOverlay = /*#__PURE__*/function (_Overlay) {
|
|
53
46
|
var _this;
|
54
47
|
_classCallCheck(this, BottomOverlay);
|
55
48
|
_this = _super.call(this, wotInstance, facadeGetter, CLONE_BOTTOM, wtSettings, domBindings);
|
49
|
+
/**
|
50
|
+
* Cached value which holds the previous value of the `fixedRowsBottom` option.
|
51
|
+
* It is used as a comparison value that can be used to detect changes in that value.
|
52
|
+
*
|
53
|
+
* @type {number}
|
54
|
+
*/
|
56
55
|
_defineProperty(_assertThisInitialized(_this), "cachedFixedRowsBottom", -1);
|
57
56
|
_this.cachedFixedRowsBottom = _this.wtSettings.getSetting('fixedRowsBottom');
|
58
57
|
return _this;
|
@@ -19,7 +19,6 @@ require("core-js/modules/es.object.get-prototype-of.js");
|
|
19
19
|
var _element = require("../../../../helpers/dom/element");
|
20
20
|
var _inlineStart = _interopRequireDefault(require("../table/inlineStart"));
|
21
21
|
var _base = require("./_base");
|
22
|
-
var _selection = require("../selection");
|
23
22
|
var _constants = require("./constants");
|
24
23
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
25
24
|
function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct.bind(); } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }
|
@@ -212,8 +211,11 @@ var InlineStartOverlay = /*#__PURE__*/function (_Overlay) {
|
|
212
211
|
}, {
|
213
212
|
key: "adjustRootChildrenSize",
|
214
213
|
value: function adjustRootChildrenSize() {
|
214
|
+
var _selections$getCell$g;
|
215
215
|
var holder = this.clone.wtTable.holder;
|
216
|
-
var
|
216
|
+
var selections = this.wot.selections;
|
217
|
+
var facade = this.facadeGetter();
|
218
|
+
var selectionCornerOffset = Math.abs((_selections$getCell$g = selections === null || selections === void 0 ? void 0 : selections.getCell().getBorder(facade).cornerCenterPointOffset) !== null && _selections$getCell$g !== void 0 ? _selections$getCell$g : 0);
|
217
219
|
this.clone.wtTable.hider.style.height = this.hider.style.height;
|
218
220
|
holder.style.height = holder.parentNode.style.height;
|
219
221
|
// Add selection corner protruding part to the holder total width to make sure that
|
@@ -28,7 +28,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
28
28
|
import { addClass, getScrollbarWidth, getScrollLeft, getWindowScrollTop, hasClass, outerWidth, removeClass, setOverlayPosition, resetCssTransform } from "../../../../helpers/dom/element.mjs";
|
29
29
|
import InlineStartOverlayTable from "../table/inlineStart.mjs";
|
30
30
|
import { Overlay } from "./_base.mjs";
|
31
|
-
import { CORNER_DEFAULT_STYLE } from "../selection/index.mjs";
|
32
31
|
import { CLONE_INLINE_START } from "./constants.mjs";
|
33
32
|
/**
|
34
33
|
* @class InlineStartOverlay
|
@@ -207,8 +206,11 @@ export var InlineStartOverlay = /*#__PURE__*/function (_Overlay) {
|
|
207
206
|
}, {
|
208
207
|
key: "adjustRootChildrenSize",
|
209
208
|
value: function adjustRootChildrenSize() {
|
209
|
+
var _selections$getCell$g;
|
210
210
|
var holder = this.clone.wtTable.holder;
|
211
|
-
var
|
211
|
+
var selections = this.wot.selections;
|
212
|
+
var facade = this.facadeGetter();
|
213
|
+
var selectionCornerOffset = Math.abs((_selections$getCell$g = selections === null || selections === void 0 ? void 0 : selections.getCell().getBorder(facade).cornerCenterPointOffset) !== null && _selections$getCell$g !== void 0 ? _selections$getCell$g : 0);
|
212
214
|
this.clone.wtTable.hider.style.height = this.hider.style.height;
|
213
215
|
holder.style.height = holder.parentNode.style.height;
|
214
216
|
// Add selection corner protruding part to the holder total width to make sure that
|
@@ -18,7 +18,6 @@ require("core-js/modules/es.number.constructor.js");
|
|
18
18
|
var _element = require("../../../../helpers/dom/element");
|
19
19
|
var _top = _interopRequireDefault(require("./../table/top"));
|
20
20
|
var _base = require("./_base");
|
21
|
-
var _selection = require("../selection");
|
22
21
|
var _constants = require("./constants");
|
23
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
24
23
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
@@ -42,13 +41,6 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
42
41
|
var TopOverlay = /*#__PURE__*/function (_Overlay) {
|
43
42
|
_inherits(TopOverlay, _Overlay);
|
44
43
|
var _super = _createSuper(TopOverlay);
|
45
|
-
/**
|
46
|
-
* Cached value which holds the previous value of the `fixedRowsTop` option.
|
47
|
-
* It is used as a comparison value that can be used to detect changes in this value.
|
48
|
-
*
|
49
|
-
* @type {number}
|
50
|
-
*/
|
51
|
-
|
52
44
|
/**
|
53
45
|
* @param {Walkontable} wotInstance The Walkontable instance. @TODO refactoring: check if can be deleted.
|
54
46
|
* @param {FacadeGetter} facadeGetter Function which return proper facade.
|
@@ -59,6 +51,12 @@ var TopOverlay = /*#__PURE__*/function (_Overlay) {
|
|
59
51
|
var _this;
|
60
52
|
_classCallCheck(this, TopOverlay);
|
61
53
|
_this = _super.call(this, wotInstance, facadeGetter, _constants.CLONE_TOP, wtSettings, domBindings);
|
54
|
+
/**
|
55
|
+
* Cached value which holds the previous value of the `fixedRowsTop` option.
|
56
|
+
* It is used as a comparison value that can be used to detect changes in this value.
|
57
|
+
*
|
58
|
+
* @type {number}
|
59
|
+
*/
|
62
60
|
_defineProperty(_assertThisInitialized(_this), "cachedFixedRowsTop", -1);
|
63
61
|
_this.cachedFixedRowsTop = _this.wtSettings.getSetting('fixedRowsTop');
|
64
62
|
return _this;
|
@@ -242,8 +240,11 @@ var TopOverlay = /*#__PURE__*/function (_Overlay) {
|
|
242
240
|
}, {
|
243
241
|
key: "adjustRootChildrenSize",
|
244
242
|
value: function adjustRootChildrenSize() {
|
243
|
+
var _selections$getCell$g;
|
245
244
|
var holder = this.clone.wtTable.holder;
|
246
|
-
var
|
245
|
+
var selections = this.wot.selections;
|
246
|
+
var facade = this.facadeGetter();
|
247
|
+
var selectionCornerOffset = Math.abs((_selections$getCell$g = selections === null || selections === void 0 ? void 0 : selections.getCell().getBorder(facade).cornerCenterPointOffset) !== null && _selections$getCell$g !== void 0 ? _selections$getCell$g : 0);
|
247
248
|
this.clone.wtTable.hider.style.width = this.hider.style.width;
|
248
249
|
holder.style.width = holder.parentNode.style.width;
|
249
250
|
// Add selection corner protruding part to the holder total height to make sure that
|
@@ -29,7 +29,6 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
29
29
|
import { addClass, getScrollbarWidth, getScrollTop, getWindowScrollLeft, hasClass, outerHeight, removeClass, setOverlayPosition, resetCssTransform } from "../../../../helpers/dom/element.mjs";
|
30
30
|
import TopOverlayTable from "./../table/top.mjs";
|
31
31
|
import { Overlay } from "./_base.mjs";
|
32
|
-
import { CORNER_DEFAULT_STYLE } from "../selection/index.mjs";
|
33
32
|
import { CLONE_TOP } from "./constants.mjs";
|
34
33
|
/**
|
35
34
|
* @class TopOverlay
|
@@ -37,13 +36,6 @@ import { CLONE_TOP } from "./constants.mjs";
|
|
37
36
|
export var TopOverlay = /*#__PURE__*/function (_Overlay) {
|
38
37
|
_inherits(TopOverlay, _Overlay);
|
39
38
|
var _super = _createSuper(TopOverlay);
|
40
|
-
/**
|
41
|
-
* Cached value which holds the previous value of the `fixedRowsTop` option.
|
42
|
-
* It is used as a comparison value that can be used to detect changes in this value.
|
43
|
-
*
|
44
|
-
* @type {number}
|
45
|
-
*/
|
46
|
-
|
47
39
|
/**
|
48
40
|
* @param {Walkontable} wotInstance The Walkontable instance. @TODO refactoring: check if can be deleted.
|
49
41
|
* @param {FacadeGetter} facadeGetter Function which return proper facade.
|
@@ -54,6 +46,12 @@ export var TopOverlay = /*#__PURE__*/function (_Overlay) {
|
|
54
46
|
var _this;
|
55
47
|
_classCallCheck(this, TopOverlay);
|
56
48
|
_this = _super.call(this, wotInstance, facadeGetter, CLONE_TOP, wtSettings, domBindings);
|
49
|
+
/**
|
50
|
+
* Cached value which holds the previous value of the `fixedRowsTop` option.
|
51
|
+
* It is used as a comparison value that can be used to detect changes in this value.
|
52
|
+
*
|
53
|
+
* @type {number}
|
54
|
+
*/
|
57
55
|
_defineProperty(_assertThisInitialized(_this), "cachedFixedRowsTop", -1);
|
58
56
|
_this.cachedFixedRowsTop = _this.wtSettings.getSetting('fixedRowsTop');
|
59
57
|
return _this;
|
@@ -237,8 +235,11 @@ export var TopOverlay = /*#__PURE__*/function (_Overlay) {
|
|
237
235
|
}, {
|
238
236
|
key: "adjustRootChildrenSize",
|
239
237
|
value: function adjustRootChildrenSize() {
|
238
|
+
var _selections$getCell$g;
|
240
239
|
var holder = this.clone.wtTable.holder;
|
241
|
-
var
|
240
|
+
var selections = this.wot.selections;
|
241
|
+
var facade = this.facadeGetter();
|
242
|
+
var selectionCornerOffset = Math.abs((_selections$getCell$g = selections === null || selections === void 0 ? void 0 : selections.getCell().getBorder(facade).cornerCenterPointOffset) !== null && _selections$getCell$g !== void 0 ? _selections$getCell$g : 0);
|
242
243
|
this.clone.wtTable.hider.style.width = this.hider.style.width;
|
243
244
|
holder.style.width = holder.parentNode.style.width;
|
244
245
|
// Add selection corner protruding part to the holder total height to make sure that
|
@@ -41,18 +41,6 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
41
41
|
var TopInlineStartCornerOverlay = /*#__PURE__*/function (_Overlay) {
|
42
42
|
_inherits(TopInlineStartCornerOverlay, _Overlay);
|
43
43
|
var _super = _createSuper(TopInlineStartCornerOverlay);
|
44
|
-
/**
|
45
|
-
* The instance of the Top overlay.
|
46
|
-
*
|
47
|
-
* @type {TopOverlay}
|
48
|
-
*/
|
49
|
-
|
50
|
-
/**
|
51
|
-
* The instance of the InlineStart overlay.
|
52
|
-
*
|
53
|
-
* @type {InlineStartOverlay}
|
54
|
-
*/
|
55
|
-
|
56
44
|
/**
|
57
45
|
* @param {Walkontable} wotInstance The Walkontable instance. @TODO refactoring: check if can be deleted.
|
58
46
|
* @param {FacadeGetter} facadeGetter Function which return proper facade.
|
@@ -65,7 +53,17 @@ var TopInlineStartCornerOverlay = /*#__PURE__*/function (_Overlay) {
|
|
65
53
|
var _this;
|
66
54
|
_classCallCheck(this, TopInlineStartCornerOverlay);
|
67
55
|
_this = _super.call(this, wotInstance, facadeGetter, _constants.CLONE_TOP_INLINE_START_CORNER, wtSettings, domBindings);
|
56
|
+
/**
|
57
|
+
* The instance of the Top overlay.
|
58
|
+
*
|
59
|
+
* @type {TopOverlay}
|
60
|
+
*/
|
68
61
|
_defineProperty(_assertThisInitialized(_this), "topOverlay", void 0);
|
62
|
+
/**
|
63
|
+
* The instance of the InlineStart overlay.
|
64
|
+
*
|
65
|
+
* @type {InlineStartOverlay}
|
66
|
+
*/
|
69
67
|
_defineProperty(_assertThisInitialized(_this), "inlineStartOverlay", void 0);
|
70
68
|
_this.topOverlay = topOverlay;
|
71
69
|
_this.inlineStartOverlay = inlineStartOverlay;
|
@@ -36,18 +36,6 @@ import { CLONE_TOP_INLINE_START_CORNER } from "./constants.mjs";
|
|
36
36
|
export var TopInlineStartCornerOverlay = /*#__PURE__*/function (_Overlay) {
|
37
37
|
_inherits(TopInlineStartCornerOverlay, _Overlay);
|
38
38
|
var _super = _createSuper(TopInlineStartCornerOverlay);
|
39
|
-
/**
|
40
|
-
* The instance of the Top overlay.
|
41
|
-
*
|
42
|
-
* @type {TopOverlay}
|
43
|
-
*/
|
44
|
-
|
45
|
-
/**
|
46
|
-
* The instance of the InlineStart overlay.
|
47
|
-
*
|
48
|
-
* @type {InlineStartOverlay}
|
49
|
-
*/
|
50
|
-
|
51
39
|
/**
|
52
40
|
* @param {Walkontable} wotInstance The Walkontable instance. @TODO refactoring: check if can be deleted.
|
53
41
|
* @param {FacadeGetter} facadeGetter Function which return proper facade.
|
@@ -60,7 +48,17 @@ export var TopInlineStartCornerOverlay = /*#__PURE__*/function (_Overlay) {
|
|
60
48
|
var _this;
|
61
49
|
_classCallCheck(this, TopInlineStartCornerOverlay);
|
62
50
|
_this = _super.call(this, wotInstance, facadeGetter, CLONE_TOP_INLINE_START_CORNER, wtSettings, domBindings);
|
51
|
+
/**
|
52
|
+
* The instance of the Top overlay.
|
53
|
+
*
|
54
|
+
* @type {TopOverlay}
|
55
|
+
*/
|
63
56
|
_defineProperty(_assertThisInitialized(_this), "topOverlay", void 0);
|
57
|
+
/**
|
58
|
+
* The instance of the InlineStart overlay.
|
59
|
+
*
|
60
|
+
* @type {InlineStartOverlay}
|
61
|
+
*/
|
64
62
|
_defineProperty(_assertThisInitialized(_this), "inlineStartOverlay", void 0);
|
65
63
|
_this.topOverlay = topOverlay;
|
66
64
|
_this.inlineStartOverlay = inlineStartOverlay;
|
@@ -37,70 +37,6 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
37
37
|
* @class Overlays
|
38
38
|
*/
|
39
39
|
var Overlays = /*#__PURE__*/function () {
|
40
|
-
/**
|
41
|
-
* Walkontable instance's reference.
|
42
|
-
*
|
43
|
-
* @protected
|
44
|
-
* @type {Walkontable}
|
45
|
-
*/
|
46
|
-
|
47
|
-
/**
|
48
|
-
* Refer to the TopOverlay instance.
|
49
|
-
*
|
50
|
-
* @protected
|
51
|
-
* @type {TopOverlay}
|
52
|
-
*/
|
53
|
-
|
54
|
-
/**
|
55
|
-
* Refer to the BottomOverlay instance.
|
56
|
-
*
|
57
|
-
* @protected
|
58
|
-
* @type {BottomOverlay}
|
59
|
-
*/
|
60
|
-
|
61
|
-
/**
|
62
|
-
* Refer to the InlineStartOverlay or instance.
|
63
|
-
*
|
64
|
-
* @protected
|
65
|
-
* @type {InlineStartOverlay}
|
66
|
-
*/
|
67
|
-
|
68
|
-
/**
|
69
|
-
* Refer to the TopInlineStartCornerOverlay instance.
|
70
|
-
*
|
71
|
-
* @protected
|
72
|
-
* @type {TopInlineStartCornerOverlay}
|
73
|
-
*/
|
74
|
-
|
75
|
-
/**
|
76
|
-
* Refer to the BottomInlineStartCornerOverlay instance.
|
77
|
-
*
|
78
|
-
* @protected
|
79
|
-
* @type {BottomInlineStartCornerOverlay}
|
80
|
-
*/
|
81
|
-
|
82
|
-
/**
|
83
|
-
* Browser line height for purposes of translating mouse wheel.
|
84
|
-
*
|
85
|
-
* @private
|
86
|
-
* @type {number}
|
87
|
-
*/
|
88
|
-
|
89
|
-
/**
|
90
|
-
* The walkontable settings.
|
91
|
-
*
|
92
|
-
* @protected
|
93
|
-
* @type {Settings}
|
94
|
-
*/
|
95
|
-
|
96
|
-
/**
|
97
|
-
* The instance of the ResizeObserver that observes the size of the Walkontable wrapper element.
|
98
|
-
* In case of the size change detection the `onContainerElementResize` is fired.
|
99
|
-
*
|
100
|
-
* @private
|
101
|
-
* @type {ResizeObserver}
|
102
|
-
*/
|
103
|
-
|
104
40
|
/**
|
105
41
|
* @param {Walkontable} wotInstance The Walkontable instance. @todo refactoring remove.
|
106
42
|
* @param {FacadeGetter} facadeGetter Function which return proper facade.
|
@@ -112,14 +48,69 @@ var Overlays = /*#__PURE__*/function () {
|
|
112
48
|
function Overlays(wotInstance, facadeGetter, domBindings, wtSettings, eventManager, wtTable) {
|
113
49
|
var _this = this;
|
114
50
|
_classCallCheck(this, Overlays);
|
51
|
+
/**
|
52
|
+
* Walkontable instance's reference.
|
53
|
+
*
|
54
|
+
* @protected
|
55
|
+
* @type {Walkontable}
|
56
|
+
*/
|
115
57
|
_defineProperty(this, "wot", null);
|
58
|
+
/**
|
59
|
+
* Refer to the TopOverlay instance.
|
60
|
+
*
|
61
|
+
* @protected
|
62
|
+
* @type {TopOverlay}
|
63
|
+
*/
|
116
64
|
_defineProperty(this, "topOverlay", null);
|
65
|
+
/**
|
66
|
+
* Refer to the BottomOverlay instance.
|
67
|
+
*
|
68
|
+
* @protected
|
69
|
+
* @type {BottomOverlay}
|
70
|
+
*/
|
117
71
|
_defineProperty(this, "bottomOverlay", null);
|
72
|
+
/**
|
73
|
+
* Refer to the InlineStartOverlay or instance.
|
74
|
+
*
|
75
|
+
* @protected
|
76
|
+
* @type {InlineStartOverlay}
|
77
|
+
*/
|
118
78
|
_defineProperty(this, "inlineStartOverlay", null);
|
79
|
+
/**
|
80
|
+
* Refer to the TopInlineStartCornerOverlay instance.
|
81
|
+
*
|
82
|
+
* @protected
|
83
|
+
* @type {TopInlineStartCornerOverlay}
|
84
|
+
*/
|
119
85
|
_defineProperty(this, "topInlineStartCornerOverlay", null);
|
86
|
+
/**
|
87
|
+
* Refer to the BottomInlineStartCornerOverlay instance.
|
88
|
+
*
|
89
|
+
* @protected
|
90
|
+
* @type {BottomInlineStartCornerOverlay}
|
91
|
+
*/
|
120
92
|
_defineProperty(this, "bottomInlineStartCornerOverlay", null);
|
93
|
+
/**
|
94
|
+
* Browser line height for purposes of translating mouse wheel.
|
95
|
+
*
|
96
|
+
* @private
|
97
|
+
* @type {number}
|
98
|
+
*/
|
121
99
|
_defineProperty(this, "browserLineHeight", undefined);
|
100
|
+
/**
|
101
|
+
* The walkontable settings.
|
102
|
+
*
|
103
|
+
* @protected
|
104
|
+
* @type {Settings}
|
105
|
+
*/
|
122
106
|
_defineProperty(this, "wtSettings", null);
|
107
|
+
/**
|
108
|
+
* The instance of the ResizeObserver that observes the size of the Walkontable wrapper element.
|
109
|
+
* In case of the size change detection the `onContainerElementResize` is fired.
|
110
|
+
*
|
111
|
+
* @private
|
112
|
+
* @type {ResizeObserver}
|
113
|
+
*/
|
123
114
|
_defineProperty(this, "resizeObserver", new ResizeObserver(function (entries) {
|
124
115
|
(0, _feature.requestAnimationFrame)(function () {
|
125
116
|
if (!Array.isArray(entries) || !entries.length) {
|
@@ -33,70 +33,6 @@ import { InlineStartOverlay, TopOverlay, TopInlineStartCornerOverlay, BottomOver
|
|
33
33
|
* @class Overlays
|
34
34
|
*/
|
35
35
|
var Overlays = /*#__PURE__*/function () {
|
36
|
-
/**
|
37
|
-
* Walkontable instance's reference.
|
38
|
-
*
|
39
|
-
* @protected
|
40
|
-
* @type {Walkontable}
|
41
|
-
*/
|
42
|
-
|
43
|
-
/**
|
44
|
-
* Refer to the TopOverlay instance.
|
45
|
-
*
|
46
|
-
* @protected
|
47
|
-
* @type {TopOverlay}
|
48
|
-
*/
|
49
|
-
|
50
|
-
/**
|
51
|
-
* Refer to the BottomOverlay instance.
|
52
|
-
*
|
53
|
-
* @protected
|
54
|
-
* @type {BottomOverlay}
|
55
|
-
*/
|
56
|
-
|
57
|
-
/**
|
58
|
-
* Refer to the InlineStartOverlay or instance.
|
59
|
-
*
|
60
|
-
* @protected
|
61
|
-
* @type {InlineStartOverlay}
|
62
|
-
*/
|
63
|
-
|
64
|
-
/**
|
65
|
-
* Refer to the TopInlineStartCornerOverlay instance.
|
66
|
-
*
|
67
|
-
* @protected
|
68
|
-
* @type {TopInlineStartCornerOverlay}
|
69
|
-
*/
|
70
|
-
|
71
|
-
/**
|
72
|
-
* Refer to the BottomInlineStartCornerOverlay instance.
|
73
|
-
*
|
74
|
-
* @protected
|
75
|
-
* @type {BottomInlineStartCornerOverlay}
|
76
|
-
*/
|
77
|
-
|
78
|
-
/**
|
79
|
-
* Browser line height for purposes of translating mouse wheel.
|
80
|
-
*
|
81
|
-
* @private
|
82
|
-
* @type {number}
|
83
|
-
*/
|
84
|
-
|
85
|
-
/**
|
86
|
-
* The walkontable settings.
|
87
|
-
*
|
88
|
-
* @protected
|
89
|
-
* @type {Settings}
|
90
|
-
*/
|
91
|
-
|
92
|
-
/**
|
93
|
-
* The instance of the ResizeObserver that observes the size of the Walkontable wrapper element.
|
94
|
-
* In case of the size change detection the `onContainerElementResize` is fired.
|
95
|
-
*
|
96
|
-
* @private
|
97
|
-
* @type {ResizeObserver}
|
98
|
-
*/
|
99
|
-
|
100
36
|
/**
|
101
37
|
* @param {Walkontable} wotInstance The Walkontable instance. @todo refactoring remove.
|
102
38
|
* @param {FacadeGetter} facadeGetter Function which return proper facade.
|
@@ -108,14 +44,69 @@ var Overlays = /*#__PURE__*/function () {
|
|
108
44
|
function Overlays(wotInstance, facadeGetter, domBindings, wtSettings, eventManager, wtTable) {
|
109
45
|
var _this = this;
|
110
46
|
_classCallCheck(this, Overlays);
|
47
|
+
/**
|
48
|
+
* Walkontable instance's reference.
|
49
|
+
*
|
50
|
+
* @protected
|
51
|
+
* @type {Walkontable}
|
52
|
+
*/
|
111
53
|
_defineProperty(this, "wot", null);
|
54
|
+
/**
|
55
|
+
* Refer to the TopOverlay instance.
|
56
|
+
*
|
57
|
+
* @protected
|
58
|
+
* @type {TopOverlay}
|
59
|
+
*/
|
112
60
|
_defineProperty(this, "topOverlay", null);
|
61
|
+
/**
|
62
|
+
* Refer to the BottomOverlay instance.
|
63
|
+
*
|
64
|
+
* @protected
|
65
|
+
* @type {BottomOverlay}
|
66
|
+
*/
|
113
67
|
_defineProperty(this, "bottomOverlay", null);
|
68
|
+
/**
|
69
|
+
* Refer to the InlineStartOverlay or instance.
|
70
|
+
*
|
71
|
+
* @protected
|
72
|
+
* @type {InlineStartOverlay}
|
73
|
+
*/
|
114
74
|
_defineProperty(this, "inlineStartOverlay", null);
|
75
|
+
/**
|
76
|
+
* Refer to the TopInlineStartCornerOverlay instance.
|
77
|
+
*
|
78
|
+
* @protected
|
79
|
+
* @type {TopInlineStartCornerOverlay}
|
80
|
+
*/
|
115
81
|
_defineProperty(this, "topInlineStartCornerOverlay", null);
|
82
|
+
/**
|
83
|
+
* Refer to the BottomInlineStartCornerOverlay instance.
|
84
|
+
*
|
85
|
+
* @protected
|
86
|
+
* @type {BottomInlineStartCornerOverlay}
|
87
|
+
*/
|
116
88
|
_defineProperty(this, "bottomInlineStartCornerOverlay", null);
|
89
|
+
/**
|
90
|
+
* Browser line height for purposes of translating mouse wheel.
|
91
|
+
*
|
92
|
+
* @private
|
93
|
+
* @type {number}
|
94
|
+
*/
|
117
95
|
_defineProperty(this, "browserLineHeight", undefined);
|
96
|
+
/**
|
97
|
+
* The walkontable settings.
|
98
|
+
*
|
99
|
+
* @protected
|
100
|
+
* @type {Settings}
|
101
|
+
*/
|
118
102
|
_defineProperty(this, "wtSettings", null);
|
103
|
+
/**
|
104
|
+
* The instance of the ResizeObserver that observes the size of the Walkontable wrapper element.
|
105
|
+
* In case of the size change detection the `onContainerElementResize` is fired.
|
106
|
+
*
|
107
|
+
* @private
|
108
|
+
* @type {ResizeObserver}
|
109
|
+
*/
|
119
110
|
_defineProperty(this, "resizeObserver", new ResizeObserver(function (entries) {
|
120
111
|
requestAnimationFrame(function () {
|
121
112
|
if (!Array.isArray(entries) || !entries.length) {
|
@@ -315,8 +315,6 @@ var TableRenderer = /*#__PURE__*/function () {
|
|
315
315
|
if (TR.firstChild) {
|
316
316
|
var sourceRowIndex = this.renderedRowToSource(visibleRowIndex);
|
317
317
|
var rowHeight = this.rowUtils.getHeight(sourceRowIndex);
|
318
|
-
TR.ariaRowIndex = "".concat(sourceRowIndex);
|
319
|
-
TR.setAttribute('role', 'row');
|
320
318
|
if (rowHeight) {
|
321
319
|
// Decrease height. 1 pixel will be "replaced" by 1px border top
|
322
320
|
TR.firstChild.style.height = "".concat(rowHeight - 1, "px");
|
@@ -311,8 +311,6 @@ var TableRenderer = /*#__PURE__*/function () {
|
|
311
311
|
if (TR.firstChild) {
|
312
312
|
var sourceRowIndex = this.renderedRowToSource(visibleRowIndex);
|
313
313
|
var rowHeight = this.rowUtils.getHeight(sourceRowIndex);
|
314
|
-
TR.ariaRowIndex = "".concat(sourceRowIndex);
|
315
|
-
TR.setAttribute('role', 'row');
|
316
314
|
if (rowHeight) {
|
317
315
|
// Decrease height. 1 pixel will be "replaced" by 1px border top
|
318
316
|
TR.firstChild.style.height = "".concat(rowHeight - 1, "px");
|