handsontable 0.0.0-next-8a47869-20230712 → 0.0.0-next-4fd762c-20230713
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/calculator/viewportColumns.js +3 -1
- package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +3 -1
- package/3rdparty/walkontable/src/calculator/viewportRows.js +3 -1
- package/3rdparty/walkontable/src/calculator/viewportRows.mjs +3 -1
- package/3rdparty/walkontable/src/cell/range.js +1 -0
- package/3rdparty/walkontable/src/cell/range.mjs +1 -0
- package/3rdparty/walkontable/src/core/_base.js +1 -0
- package/3rdparty/walkontable/src/core/_base.mjs +1 -0
- package/3rdparty/walkontable/src/core/core.js +1 -0
- package/3rdparty/walkontable/src/core/core.mjs +1 -0
- package/3rdparty/walkontable/src/overlay/_base.js +1 -0
- package/3rdparty/walkontable/src/overlay/_base.mjs +1 -0
- package/3rdparty/walkontable/src/overlay/bottom.js +1 -0
- package/3rdparty/walkontable/src/overlay/bottom.mjs +1 -0
- package/3rdparty/walkontable/src/overlay/inlineStart.js +3 -1
- package/3rdparty/walkontable/src/overlay/inlineStart.mjs +3 -1
- package/3rdparty/walkontable/src/overlay/top.js +3 -1
- package/3rdparty/walkontable/src/overlay/top.mjs +3 -1
- package/3rdparty/walkontable/src/overlays.js +1 -0
- package/3rdparty/walkontable/src/overlays.mjs +1 -0
- package/3rdparty/walkontable/src/selection.js +1 -0
- package/3rdparty/walkontable/src/selection.mjs +1 -0
- package/3rdparty/walkontable/src/settings.js +1 -0
- package/3rdparty/walkontable/src/settings.mjs +1 -0
- package/3rdparty/walkontable/src/table.js +2 -0
- package/3rdparty/walkontable/src/table.mjs +2 -0
- package/3rdparty/walkontable/src/utils/orderView/view.js +1 -0
- package/3rdparty/walkontable/src/utils/orderView/view.mjs +1 -0
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/cellTypes/registry.js +1 -0
- package/cellTypes/registry.mjs +1 -0
- package/core.js +7 -3
- package/core.mjs +7 -3
- package/dataMap/dataMap.js +2 -0
- package/dataMap/dataMap.mjs +2 -0
- package/dataMap/dataSource.js +1 -0
- package/dataMap/dataSource.mjs +1 -0
- package/dataMap/metaManager/index.js +1 -0
- package/dataMap/metaManager/index.mjs +1 -0
- package/dataMap/metaManager/lazyFactoryMap.js +1 -0
- package/dataMap/metaManager/lazyFactoryMap.mjs +1 -0
- package/dataMap/metaManager/metaLayers/cellMeta.js +1 -0
- package/dataMap/metaManager/metaLayers/cellMeta.mjs +1 -0
- package/dataMap/metaManager/metaLayers/globalMeta.js +2 -1
- package/dataMap/metaManager/metaLayers/globalMeta.mjs +2 -1
- package/dataMap/metaManager/mods/dynamicCellMeta.js +2 -1
- package/dataMap/metaManager/mods/dynamicCellMeta.mjs +2 -1
- package/dataMap/metaManager/mods/extendMetaProperties.js +1 -0
- package/dataMap/metaManager/mods/extendMetaProperties.mjs +1 -0
- package/dataMap/metaManager/utils.js +1 -0
- package/dataMap/metaManager/utils.mjs +1 -0
- package/dataMap/replaceData.js +2 -0
- package/dataMap/replaceData.mjs +2 -0
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +3556 -2618
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +19 -19
- package/dist/handsontable.js +3171 -2233
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +18 -18
- package/editors/autocompleteEditor/autocompleteEditor.js +1 -0
- package/editors/autocompleteEditor/autocompleteEditor.mjs +1 -0
- package/editors/baseEditor/baseEditor.js +3 -1
- package/editors/baseEditor/baseEditor.mjs +3 -1
- package/editors/dateEditor/dateEditor.js +1 -0
- package/editors/dateEditor/dateEditor.mjs +1 -0
- package/editors/registry.js +1 -0
- package/editors/registry.mjs +1 -0
- package/eventManager.js +1 -0
- package/eventManager.mjs +1 -0
- package/helpers/array.js +1 -0
- package/helpers/array.mjs +1 -0
- package/helpers/data.js +1 -0
- package/helpers/data.mjs +1 -0
- package/helpers/dom/element.js +2 -0
- package/helpers/dom/element.mjs +2 -0
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/helpers/object.js +2 -0
- package/helpers/object.mjs +2 -0
- package/helpers/string.js +1 -0
- package/helpers/string.mjs +1 -0
- package/helpers/unicode.js +1 -0
- package/helpers/unicode.mjs +1 -0
- package/helpers/wrappers/jquery.js +1 -0
- package/helpers/wrappers/jquery.mjs +1 -0
- package/index.js +6 -5
- package/index.mjs +6 -5
- package/mixins/hooksRefRegisterer.js +1 -0
- package/mixins/hooksRefRegisterer.mjs +1 -0
- package/mixins/localHooks.js +1 -0
- package/mixins/localHooks.mjs +1 -0
- package/package.json +1 -1
- package/pluginHooks.js +1 -0
- package/pluginHooks.mjs +1 -0
- package/plugins/autoColumnSize/autoColumnSize.js +1 -0
- package/plugins/autoColumnSize/autoColumnSize.mjs +1 -0
- package/plugins/autofill/autofill.js +1 -0
- package/plugins/autofill/autofill.mjs +1 -0
- package/plugins/base/base.js +2 -0
- package/plugins/base/base.mjs +2 -0
- package/plugins/collapsibleColumns/collapsibleColumns.js +6 -2
- package/plugins/collapsibleColumns/collapsibleColumns.mjs +6 -2
- package/plugins/columnSorting/columnSorting.js +1 -0
- package/plugins/columnSorting/columnSorting.mjs +1 -0
- package/plugins/columnSorting/domHelpers.js +1 -0
- package/plugins/columnSorting/domHelpers.mjs +1 -0
- package/plugins/columnSummary/columnSummary.js +1 -0
- package/plugins/columnSummary/columnSummary.mjs +1 -0
- package/plugins/columnSummary/endpoints.js +2 -0
- package/plugins/columnSummary/endpoints.mjs +2 -0
- package/plugins/comments/comments.js +5 -2
- package/plugins/comments/comments.mjs +5 -2
- package/plugins/contextMenu/commandExecutor.js +3 -0
- package/plugins/contextMenu/commandExecutor.mjs +3 -0
- package/plugins/contextMenu/itemsFactory.js +1 -0
- package/plugins/contextMenu/itemsFactory.mjs +1 -0
- package/plugins/contextMenu/menu.js +1 -0
- package/plugins/contextMenu/menu.mjs +1 -0
- package/plugins/contextMenu/utils.js +1 -0
- package/plugins/contextMenu/utils.mjs +1 -0
- package/plugins/copyPaste/copyPaste.js +5 -2
- package/plugins/copyPaste/copyPaste.mjs +5 -2
- package/plugins/copyPaste/copyableRanges.js +2 -0
- package/plugins/copyPaste/copyableRanges.mjs +2 -0
- package/plugins/customBorders/customBorders.js +2 -0
- package/plugins/customBorders/customBorders.mjs +2 -0
- package/plugins/customBorders/utils.js +6 -3
- package/plugins/customBorders/utils.mjs +6 -3
- package/plugins/exportFile/dataProvider.js +1 -0
- package/plugins/exportFile/dataProvider.mjs +1 -0
- package/plugins/exportFile/exportFile.js +1 -0
- package/plugins/exportFile/exportFile.mjs +1 -0
- package/plugins/filters/component/_base.js +1 -0
- package/plugins/filters/component/_base.mjs +1 -0
- package/plugins/filters/component/actionBar.js +1 -0
- package/plugins/filters/component/actionBar.mjs +1 -0
- package/plugins/filters/component/condition.js +1 -0
- package/plugins/filters/component/condition.mjs +1 -0
- package/plugins/filters/component/operators.js +2 -0
- package/plugins/filters/component/operators.mjs +2 -0
- package/plugins/filters/component/value.js +1 -0
- package/plugins/filters/component/value.mjs +1 -0
- package/plugins/filters/conditionCollection.js +6 -2
- package/plugins/filters/conditionCollection.mjs +6 -2
- package/plugins/filters/conditionRegisterer.js +1 -0
- package/plugins/filters/conditionRegisterer.mjs +1 -0
- package/plugins/filters/conditionUpdateObserver.js +1 -0
- package/plugins/filters/conditionUpdateObserver.mjs +1 -0
- package/plugins/filters/constants.js +1 -0
- package/plugins/filters/constants.mjs +1 -0
- package/plugins/filters/dataFilter.js +1 -0
- package/plugins/filters/dataFilter.mjs +1 -0
- package/plugins/filters/filters.js +3 -1
- package/plugins/filters/filters.mjs +3 -1
- package/plugins/filters/logicalOperationRegisterer.js +1 -0
- package/plugins/filters/logicalOperationRegisterer.mjs +1 -0
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.js +1 -0
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.mjs +1 -0
- package/plugins/filters/ui/multipleSelect.js +1 -0
- package/plugins/filters/ui/multipleSelect.mjs +1 -0
- package/plugins/filters/utils.js +1 -0
- package/plugins/filters/utils.mjs +1 -0
- package/plugins/formulas/engine/register.js +5 -2
- package/plugins/formulas/engine/register.mjs +5 -2
- package/plugins/formulas/formulas.js +10 -6
- package/plugins/formulas/formulas.mjs +10 -6
- package/plugins/formulas/indexSyncer/axisSyncer.js +3 -1
- package/plugins/formulas/indexSyncer/axisSyncer.mjs +3 -1
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.js +1 -0
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.mjs +1 -0
- package/plugins/hiddenColumns/contextMenuItem/showColumn.js +4 -2
- package/plugins/hiddenColumns/contextMenuItem/showColumn.mjs +4 -2
- package/plugins/hiddenColumns/hiddenColumns.js +1 -0
- package/plugins/hiddenColumns/hiddenColumns.mjs +1 -0
- package/plugins/hiddenRows/contextMenuItem/hideRow.js +1 -0
- package/plugins/hiddenRows/contextMenuItem/hideRow.mjs +1 -0
- package/plugins/hiddenRows/contextMenuItem/showRow.js +4 -2
- package/plugins/hiddenRows/contextMenuItem/showRow.mjs +4 -2
- package/plugins/hiddenRows/hiddenRows.js +1 -0
- package/plugins/hiddenRows/hiddenRows.mjs +1 -0
- package/plugins/manualColumnFreeze/manualColumnFreeze.js +1 -0
- package/plugins/manualColumnFreeze/manualColumnFreeze.mjs +1 -0
- package/plugins/manualColumnMove/manualColumnMove.js +1 -0
- package/plugins/manualColumnMove/manualColumnMove.mjs +1 -0
- package/plugins/manualColumnResize/manualColumnResize.js +1 -0
- package/plugins/manualColumnResize/manualColumnResize.mjs +1 -0
- package/plugins/manualRowMove/manualRowMove.js +1 -0
- package/plugins/manualRowMove/manualRowMove.mjs +1 -0
- package/plugins/manualRowResize/manualRowResize.js +1 -0
- package/plugins/manualRowResize/manualRowResize.mjs +1 -0
- package/plugins/mergeCells/calculations/selection.js +1 -0
- package/plugins/mergeCells/calculations/selection.mjs +1 -0
- package/plugins/mergeCells/cellsCollection.js +1 -0
- package/plugins/mergeCells/cellsCollection.mjs +1 -0
- package/plugins/mergeCells/mergeCells.js +1 -0
- package/plugins/mergeCells/mergeCells.mjs +1 -0
- package/plugins/multiColumnSorting/domHelpers.js +1 -0
- package/plugins/multiColumnSorting/domHelpers.mjs +1 -0
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +1 -0
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.mjs +1 -0
- package/plugins/nestedHeaders/nestedHeaders.js +7 -3
- package/plugins/nestedHeaders/nestedHeaders.mjs +7 -3
- package/plugins/nestedHeaders/stateManager/index.js +7 -3
- package/plugins/nestedHeaders/stateManager/index.mjs +7 -3
- package/plugins/nestedHeaders/stateManager/matrixGenerator.js +1 -0
- package/plugins/nestedHeaders/stateManager/matrixGenerator.mjs +1 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.js +2 -1
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.mjs +2 -1
- package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.js +2 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.mjs +2 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.js +1 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.mjs +1 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.js +1 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.mjs +1 -0
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +1 -0
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.mjs +1 -0
- package/plugins/nestedHeaders/stateManager/sourceSettings.js +4 -1
- package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +4 -1
- package/plugins/nestedRows/data/dataManager.js +1 -0
- package/plugins/nestedRows/data/dataManager.mjs +1 -0
- package/plugins/nestedRows/nestedRows.js +1 -0
- package/plugins/nestedRows/nestedRows.mjs +1 -0
- package/plugins/nestedRows/ui/collapsing.js +1 -0
- package/plugins/nestedRows/ui/collapsing.mjs +1 -0
- package/plugins/nestedRows/utils/rowMoveController.js +1 -0
- package/plugins/nestedRows/utils/rowMoveController.mjs +1 -0
- package/plugins/persistentState/storage.js +1 -0
- package/plugins/persistentState/storage.mjs +1 -0
- package/plugins/registry.js +1 -0
- package/plugins/registry.mjs +1 -0
- package/plugins/search/search.js +1 -0
- package/plugins/search/search.mjs +1 -0
- package/plugins/touchScroll/touchScroll.js +1 -0
- package/plugins/touchScroll/touchScroll.mjs +1 -0
- package/plugins/trimRows/trimRows.js +1 -0
- package/plugins/trimRows/trimRows.mjs +1 -0
- package/plugins/undoRedo/undoRedo.js +1 -0
- package/plugins/undoRedo/undoRedo.mjs +1 -0
- package/renderers/baseRenderer/baseRenderer.js +1 -0
- package/renderers/baseRenderer/baseRenderer.mjs +1 -0
- package/renderers/checkboxRenderer/checkboxRenderer.js +1 -0
- package/renderers/checkboxRenderer/checkboxRenderer.mjs +1 -0
- package/renderers/numericRenderer/numericRenderer.js +1 -0
- package/renderers/numericRenderer/numericRenderer.mjs +1 -0
- package/renderers/registry.js +1 -0
- package/renderers/registry.mjs +1 -0
- package/selection/highlight/highlight.js +1 -0
- package/selection/highlight/highlight.mjs +1 -0
- package/selection/range.js +1 -0
- package/selection/range.mjs +1 -0
- package/selection/selection.js +1 -0
- package/selection/selection.mjs +1 -0
- package/selection/utils.js +2 -0
- package/selection/utils.mjs +2 -0
- package/shortcuts/context.js +2 -0
- package/shortcuts/context.mjs +2 -0
- package/shortcuts/recorder.js +1 -0
- package/shortcuts/recorder.mjs +1 -0
- package/tableView.js +4 -2
- package/tableView.mjs +4 -2
- package/translations/changesObservable/observable.js +1 -1
- package/translations/changesObservable/observable.mjs +1 -1
- package/translations/changesObservable/utils.js +1 -0
- package/translations/changesObservable/utils.mjs +1 -0
- package/translations/indexMapper.js +1 -0
- package/translations/indexMapper.mjs +1 -0
- package/translations/mapCollections/aggregatedCollection.js +1 -0
- package/translations/mapCollections/aggregatedCollection.mjs +1 -0
- package/translations/maps/hidingMap.js +1 -0
- package/translations/maps/hidingMap.mjs +1 -0
- package/translations/maps/index.js +1 -0
- package/translations/maps/index.mjs +1 -0
- package/translations/maps/indexMap.js +1 -0
- package/translations/maps/indexMap.mjs +1 -0
- package/translations/maps/trimmingMap.js +1 -0
- package/translations/maps/trimmingMap.mjs +1 -0
- package/translations/maps/utils/index.js +1 -0
- package/translations/maps/utils/index.mjs +1 -0
- package/utils/dataStructures/priorityMap.js +1 -0
- package/utils/dataStructures/priorityMap.mjs +1 -0
- package/utils/dataStructures/queue.js +1 -0
- package/utils/dataStructures/queue.mjs +1 -0
- package/utils/dataStructures/stack.js +1 -0
- package/utils/dataStructures/stack.mjs +1 -0
- package/utils/dataStructures/tree.js +2 -0
- package/utils/dataStructures/tree.mjs +2 -0
- package/utils/dataStructures/uniqueMap.js +1 -0
- package/utils/dataStructures/uniqueMap.mjs +1 -0
- package/utils/dataStructures/uniqueSet.js +1 -0
- package/utils/dataStructures/uniqueSet.mjs +1 -0
- package/utils/ghostTable.js +2 -0
- package/utils/ghostTable.mjs +2 -0
- package/utils/parseTable.js +1 -0
- package/utils/parseTable.mjs +1 -0
- package/utils/samplesGenerator.js +2 -0
- package/utils/samplesGenerator.mjs +2 -0
- package/validators/registry.js +1 -0
- package/validators/registry.mjs +1 -0
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
+
require("core-js/modules/es.array.push.js");
|
4
5
|
var _base = require("../base");
|
5
6
|
var _staticRegister = _interopRequireDefault(require("../../utils/staticRegister"));
|
6
7
|
var _console = require("../../helpers/console");
|
@@ -172,11 +173,12 @@ class Formulas extends _base.BasePlugin {
|
|
172
173
|
* Enables the plugin functionality for this Handsontable instance.
|
173
174
|
*/
|
174
175
|
enablePlugin() {
|
175
|
-
var
|
176
|
+
var _setupEngine,
|
177
|
+
_this7 = this;
|
176
178
|
if (this.enabled) {
|
177
179
|
return;
|
178
180
|
}
|
179
|
-
this.engine = (0, _register.setupEngine)(this.hot)
|
181
|
+
this.engine = (_setupEngine = (0, _register.setupEngine)(this.hot)) != null ? _setupEngine : this.engine;
|
180
182
|
if (!this.engine) {
|
181
183
|
(0, _console.warn)('Missing the required `engine` key in the Formulas settings. Please fill it with either an' + ' engine class or an engine instance.');
|
182
184
|
return;
|
@@ -354,7 +356,7 @@ class Formulas extends _base.BasePlugin {
|
|
354
356
|
if (sheetName && this.engine.doesSheetExist(sheetName)) {
|
355
357
|
this.switchSheet(this.sheetName);
|
356
358
|
} else {
|
357
|
-
this.sheetName = this.addSheet(sheetName
|
359
|
+
this.sheetName = this.addSheet(sheetName != null ? sheetName : void 0, this.hot.getSourceDataArray());
|
358
360
|
}
|
359
361
|
}
|
360
362
|
super.updatePlugin(newSettings);
|
@@ -394,7 +396,7 @@ class Formulas extends _base.BasePlugin {
|
|
394
396
|
return false;
|
395
397
|
}
|
396
398
|
try {
|
397
|
-
const actualSheetName = this.engine.addSheet(sheetName
|
399
|
+
const actualSheetName = this.engine.addSheet(sheetName != null ? sheetName : void 0);
|
398
400
|
if (sheetData) {
|
399
401
|
this.engine.setSheetContent(this.engine.getSheetId(actualSheetName), sheetData);
|
400
402
|
}
|
@@ -502,19 +504,21 @@ class Formulas extends _base.BasePlugin {
|
|
502
504
|
validateDependentCells(dependentCells) {
|
503
505
|
let changedCells = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
504
506
|
const stringifyAddress = change => {
|
507
|
+
var _change$address;
|
505
508
|
const {
|
506
509
|
row,
|
507
510
|
col,
|
508
511
|
sheet
|
509
|
-
} = change?.address
|
512
|
+
} = (_change$address = change?.address) != null ? _change$address : {};
|
510
513
|
return (0, _mixed.isDefined)(sheet) ? `${sheet}:${row}x${col}` : '';
|
511
514
|
};
|
512
515
|
const changedCellsSet = new Set(changedCells.map(change => stringifyAddress(change)));
|
513
516
|
dependentCells.forEach(change => {
|
517
|
+
var _change$address2;
|
514
518
|
const {
|
515
519
|
row,
|
516
520
|
col
|
517
|
-
} = change.address
|
521
|
+
} = (_change$address2 = change.address) != null ? _change$address2 : {};
|
518
522
|
|
519
523
|
// Don't try to validate cells outside of the visual part of the table.
|
520
524
|
if ((0, _mixed.isDefined)(row) === false || (0, _mixed.isDefined)(col) === false || row >= this.hot.countRows() || col >= this.hot.countCols()) {
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import "core-js/modules/es.array.push.js";
|
1
2
|
import { BasePlugin } from "../base/index.mjs";
|
2
3
|
import staticRegister from "../../utils/staticRegister.mjs";
|
3
4
|
import { error, warn } from "../../helpers/console.mjs";
|
@@ -165,11 +166,12 @@ export class Formulas extends BasePlugin {
|
|
165
166
|
* Enables the plugin functionality for this Handsontable instance.
|
166
167
|
*/
|
167
168
|
enablePlugin() {
|
168
|
-
var
|
169
|
+
var _setupEngine,
|
170
|
+
_this7 = this;
|
169
171
|
if (this.enabled) {
|
170
172
|
return;
|
171
173
|
}
|
172
|
-
this.engine = setupEngine(this.hot)
|
174
|
+
this.engine = (_setupEngine = setupEngine(this.hot)) != null ? _setupEngine : this.engine;
|
173
175
|
if (!this.engine) {
|
174
176
|
warn('Missing the required `engine` key in the Formulas settings. Please fill it with either an' + ' engine class or an engine instance.');
|
175
177
|
return;
|
@@ -347,7 +349,7 @@ export class Formulas extends BasePlugin {
|
|
347
349
|
if (sheetName && this.engine.doesSheetExist(sheetName)) {
|
348
350
|
this.switchSheet(this.sheetName);
|
349
351
|
} else {
|
350
|
-
this.sheetName = this.addSheet(sheetName
|
352
|
+
this.sheetName = this.addSheet(sheetName != null ? sheetName : void 0, this.hot.getSourceDataArray());
|
351
353
|
}
|
352
354
|
}
|
353
355
|
super.updatePlugin(newSettings);
|
@@ -387,7 +389,7 @@ export class Formulas extends BasePlugin {
|
|
387
389
|
return false;
|
388
390
|
}
|
389
391
|
try {
|
390
|
-
const actualSheetName = this.engine.addSheet(sheetName
|
392
|
+
const actualSheetName = this.engine.addSheet(sheetName != null ? sheetName : void 0);
|
391
393
|
if (sheetData) {
|
392
394
|
this.engine.setSheetContent(this.engine.getSheetId(actualSheetName), sheetData);
|
393
395
|
}
|
@@ -495,19 +497,21 @@ export class Formulas extends BasePlugin {
|
|
495
497
|
validateDependentCells(dependentCells) {
|
496
498
|
let changedCells = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
497
499
|
const stringifyAddress = change => {
|
500
|
+
var _change$address;
|
498
501
|
const {
|
499
502
|
row,
|
500
503
|
col,
|
501
504
|
sheet
|
502
|
-
} = change?.address
|
505
|
+
} = (_change$address = change?.address) != null ? _change$address : {};
|
503
506
|
return isDefined(sheet) ? `${sheet}:${row}x${col}` : '';
|
504
507
|
};
|
505
508
|
const changedCellsSet = new Set(changedCells.map(change => stringifyAddress(change)));
|
506
509
|
dependentCells.forEach(change => {
|
510
|
+
var _change$address2;
|
507
511
|
const {
|
508
512
|
row,
|
509
513
|
col
|
510
|
-
} = change.address
|
514
|
+
} = (_change$address2 = change.address) != null ? _change$address2 : {};
|
511
515
|
|
512
516
|
// Don't try to validate cells outside of the visual part of the table.
|
513
517
|
if (isDefined(row) === false || isDefined(col) === false || row >= this.hot.countRows() || col >= this.hot.countCols()) {
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
+
require("core-js/modules/es.array.push.js");
|
4
5
|
var _string = require("../../../helpers/string");
|
5
6
|
/**
|
6
7
|
* @private
|
@@ -152,7 +153,8 @@ class AxisSyncer {
|
|
152
153
|
const numberOfElements = this.#indexMapper.getNumberOfIndexes();
|
153
154
|
const notMovedElements = Array.from(Array(numberOfElements).keys()).filter(index => movedHfIndexes.includes(index) === false);
|
154
155
|
if (finalHfIndex === 0) {
|
155
|
-
|
156
|
+
var _notMovedElements$fin;
|
157
|
+
return (_notMovedElements$fin = notMovedElements[finalHfIndex]) != null ? _notMovedElements$fin : 0; // Moving before the first dataset's element.
|
156
158
|
}
|
157
159
|
|
158
160
|
return notMovedElements[finalHfIndex - 1] + 1; // Moving before another element.
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import "core-js/modules/es.array.push.js";
|
1
2
|
import { toUpperCaseFirst } from "../../../helpers/string.mjs";
|
2
3
|
/**
|
3
4
|
* @private
|
@@ -149,7 +150,8 @@ class AxisSyncer {
|
|
149
150
|
const numberOfElements = this.#indexMapper.getNumberOfIndexes();
|
150
151
|
const notMovedElements = Array.from(Array(numberOfElements).keys()).filter(index => movedHfIndexes.includes(index) === false);
|
151
152
|
if (finalHfIndex === 0) {
|
152
|
-
|
153
|
+
var _notMovedElements$fin;
|
154
|
+
return (_notMovedElements$fin = notMovedElements[finalHfIndex]) != null ? _notMovedElements$fin : 0; // Moving before the first dataset's element.
|
153
155
|
}
|
154
156
|
|
155
157
|
return notMovedElements[finalHfIndex - 1] + 1; // Moving before another element.
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.default = hideColumnItem;
|
5
|
+
require("core-js/modules/es.array.push.js");
|
5
6
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
6
7
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
7
8
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.default = showColumnItem;
|
5
|
+
require("core-js/modules/es.array.push.js");
|
5
6
|
var _array = require("../../../helpers/array");
|
6
7
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
7
8
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
@@ -19,6 +20,7 @@ function showColumnItem(hiddenColumnsPlugin) {
|
|
19
20
|
return this.getTranslatedPhrase(C.CONTEXTMENU_ITEMS_SHOW_COLUMN, pluralForm);
|
20
21
|
},
|
21
22
|
callback() {
|
23
|
+
var _this$columnIndexMapp, _this$columnIndexMapp2;
|
22
24
|
if (columns.length === 0) {
|
23
25
|
return;
|
24
26
|
}
|
@@ -26,9 +28,9 @@ function showColumnItem(hiddenColumnsPlugin) {
|
|
26
28
|
let endVisualColumn = columns[columns.length - 1];
|
27
29
|
|
28
30
|
// Add to the selection one more visual column on the left.
|
29
|
-
startVisualColumn = this.columnIndexMapper.getNearestNotHiddenIndex(startVisualColumn - 1, -1)
|
31
|
+
startVisualColumn = (_this$columnIndexMapp = this.columnIndexMapper.getNearestNotHiddenIndex(startVisualColumn - 1, -1)) != null ? _this$columnIndexMapp : 0;
|
30
32
|
// Add to the selection one more visual column on the right.
|
31
|
-
endVisualColumn = this.columnIndexMapper.getNearestNotHiddenIndex(endVisualColumn + 1, 1)
|
33
|
+
endVisualColumn = (_this$columnIndexMapp2 = this.columnIndexMapper.getNearestNotHiddenIndex(endVisualColumn + 1, 1)) != null ? _this$columnIndexMapp2 : this.countCols() - 1;
|
32
34
|
hiddenColumnsPlugin.showColumns(columns);
|
33
35
|
|
34
36
|
// We render columns at first. It was needed for getting fixed columns.
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import "core-js/modules/es.array.push.js";
|
1
2
|
import { arrayEach, arrayMap } from "../../../helpers/array.mjs";
|
2
3
|
import * as C from "../../../i18n/constants.mjs";
|
3
4
|
/**
|
@@ -13,6 +14,7 @@ export default function showColumnItem(hiddenColumnsPlugin) {
|
|
13
14
|
return this.getTranslatedPhrase(C.CONTEXTMENU_ITEMS_SHOW_COLUMN, pluralForm);
|
14
15
|
},
|
15
16
|
callback() {
|
17
|
+
var _this$columnIndexMapp, _this$columnIndexMapp2;
|
16
18
|
if (columns.length === 0) {
|
17
19
|
return;
|
18
20
|
}
|
@@ -20,9 +22,9 @@ export default function showColumnItem(hiddenColumnsPlugin) {
|
|
20
22
|
let endVisualColumn = columns[columns.length - 1];
|
21
23
|
|
22
24
|
// Add to the selection one more visual column on the left.
|
23
|
-
startVisualColumn = this.columnIndexMapper.getNearestNotHiddenIndex(startVisualColumn - 1, -1)
|
25
|
+
startVisualColumn = (_this$columnIndexMapp = this.columnIndexMapper.getNearestNotHiddenIndex(startVisualColumn - 1, -1)) != null ? _this$columnIndexMapp : 0;
|
24
26
|
// Add to the selection one more visual column on the right.
|
25
|
-
endVisualColumn = this.columnIndexMapper.getNearestNotHiddenIndex(endVisualColumn + 1, 1)
|
27
|
+
endVisualColumn = (_this$columnIndexMapp2 = this.columnIndexMapper.getNearestNotHiddenIndex(endVisualColumn + 1, 1)) != null ? _this$columnIndexMapp2 : this.countCols() - 1;
|
26
28
|
hiddenColumnsPlugin.showColumns(columns);
|
27
29
|
|
28
30
|
// We render columns at first. It was needed for getting fixed columns.
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.default = hideRowItem;
|
5
|
+
require("core-js/modules/es.array.push.js");
|
5
6
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
6
7
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
7
8
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.default = showRowItem;
|
5
|
+
require("core-js/modules/es.array.push.js");
|
5
6
|
var _array = require("../../../helpers/array");
|
6
7
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
7
8
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
@@ -19,6 +20,7 @@ function showRowItem(hiddenRowsPlugin) {
|
|
19
20
|
return this.getTranslatedPhrase(C.CONTEXTMENU_ITEMS_SHOW_ROW, pluralForm);
|
20
21
|
},
|
21
22
|
callback() {
|
23
|
+
var _this$rowIndexMapper$, _this$rowIndexMapper$2;
|
22
24
|
if (rows.length === 0) {
|
23
25
|
return;
|
24
26
|
}
|
@@ -26,9 +28,9 @@ function showRowItem(hiddenRowsPlugin) {
|
|
26
28
|
let endVisualRow = rows[rows.length - 1];
|
27
29
|
|
28
30
|
// Add to the selection one more visual row on the top.
|
29
|
-
startVisualRow = this.rowIndexMapper.getNearestNotHiddenIndex(startVisualRow - 1, -1)
|
31
|
+
startVisualRow = (_this$rowIndexMapper$ = this.rowIndexMapper.getNearestNotHiddenIndex(startVisualRow - 1, -1)) != null ? _this$rowIndexMapper$ : 0;
|
30
32
|
// Add to the selection one more visual row on the bottom.
|
31
|
-
endVisualRow = this.rowIndexMapper.getNearestNotHiddenIndex(endVisualRow + 1, 1)
|
33
|
+
endVisualRow = (_this$rowIndexMapper$2 = this.rowIndexMapper.getNearestNotHiddenIndex(endVisualRow + 1, 1)) != null ? _this$rowIndexMapper$2 : this.countRows() - 1;
|
32
34
|
hiddenRowsPlugin.showRows(rows);
|
33
35
|
|
34
36
|
// We render rows at first. It was needed for getting fixed rows.
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import "core-js/modules/es.array.push.js";
|
1
2
|
import { arrayEach, arrayMap } from "../../../helpers/array.mjs";
|
2
3
|
import * as C from "../../../i18n/constants.mjs";
|
3
4
|
/**
|
@@ -13,6 +14,7 @@ export default function showRowItem(hiddenRowsPlugin) {
|
|
13
14
|
return this.getTranslatedPhrase(C.CONTEXTMENU_ITEMS_SHOW_ROW, pluralForm);
|
14
15
|
},
|
15
16
|
callback() {
|
17
|
+
var _this$rowIndexMapper$, _this$rowIndexMapper$2;
|
16
18
|
if (rows.length === 0) {
|
17
19
|
return;
|
18
20
|
}
|
@@ -20,9 +22,9 @@ export default function showRowItem(hiddenRowsPlugin) {
|
|
20
22
|
let endVisualRow = rows[rows.length - 1];
|
21
23
|
|
22
24
|
// Add to the selection one more visual row on the top.
|
23
|
-
startVisualRow = this.rowIndexMapper.getNearestNotHiddenIndex(startVisualRow - 1, -1)
|
25
|
+
startVisualRow = (_this$rowIndexMapper$ = this.rowIndexMapper.getNearestNotHiddenIndex(startVisualRow - 1, -1)) != null ? _this$rowIndexMapper$ : 0;
|
24
26
|
// Add to the selection one more visual row on the bottom.
|
25
|
-
endVisualRow = this.rowIndexMapper.getNearestNotHiddenIndex(endVisualRow + 1, 1)
|
27
|
+
endVisualRow = (_this$rowIndexMapper$2 = this.rowIndexMapper.getNearestNotHiddenIndex(endVisualRow + 1, 1)) != null ? _this$rowIndexMapper$2 : this.countRows() - 1;
|
26
28
|
hiddenRowsPlugin.showRows(rows);
|
27
29
|
|
28
30
|
// We render rows at first. It was needed for getting fixed rows.
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
+
require("core-js/modules/es.array.push.js");
|
4
5
|
var _base = require("../base");
|
5
6
|
var _pluginHooks = _interopRequireDefault(require("../../pluginHooks"));
|
6
7
|
var _freezeColumn = _interopRequireDefault(require("./contextMenuItem/freezeColumn"));
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
+
require("core-js/modules/es.array.push.js");
|
4
5
|
var _base = require("../base");
|
5
6
|
var _pluginHooks = _interopRequireDefault(require("../../pluginHooks"));
|
6
7
|
var _cellsCollection = _interopRequireDefault(require("./cellsCollection"));
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
+
require("core-js/modules/es.array.push.js");
|
4
5
|
var _element = require("../../helpers/dom/element");
|
5
6
|
var _number = require("../../helpers/number");
|
6
7
|
var _event = require("../../helpers/dom/event");
|
@@ -306,6 +307,7 @@ class NestedHeaders extends _base.BasePlugin {
|
|
306
307
|
var _this2 = this;
|
307
308
|
const fixedColumnsStart = this.hot.view._wt.getSetting('fixedColumnsStart');
|
308
309
|
return (renderedColumnIndex, TH) => {
|
310
|
+
var _this$stateManager$ge;
|
309
311
|
const {
|
310
312
|
columnIndexMapper,
|
311
313
|
view
|
@@ -320,7 +322,7 @@ class NestedHeaders extends _base.BasePlugin {
|
|
320
322
|
colspan,
|
321
323
|
isHidden,
|
322
324
|
isPlaceholder
|
323
|
-
} = this.#stateManager.getHeaderSettings(headerLevel, visualColumnIndex)
|
325
|
+
} = (_this$stateManager$ge = this.#stateManager.getHeaderSettings(headerLevel, visualColumnIndex)) != null ? _this$stateManager$ge : {
|
324
326
|
label: ''
|
325
327
|
};
|
326
328
|
if (isPlaceholder || isHidden) {
|
@@ -356,10 +358,11 @@ class NestedHeaders extends _base.BasePlugin {
|
|
356
358
|
* @returns {string} Returns the column header value to update.
|
357
359
|
*/
|
358
360
|
getColumnHeaderValue(visualColumnIndex, headerLevel) {
|
361
|
+
var _this$stateManager$ge2;
|
359
362
|
const {
|
360
363
|
isHidden,
|
361
364
|
isPlaceholder
|
362
|
-
} = this.#stateManager.getHeaderSettings(headerLevel, visualColumnIndex)
|
365
|
+
} = (_this$stateManager$ge2 = this.#stateManager.getHeaderSettings(headerLevel, visualColumnIndex)) != null ? _this$stateManager$ge2 : {};
|
363
366
|
if (isPlaceholder || isHidden) {
|
364
367
|
return '';
|
365
368
|
}
|
@@ -632,9 +635,10 @@ class NestedHeaders extends _base.BasePlugin {
|
|
632
635
|
* @returns {string} Returns the column header value to update.
|
633
636
|
*/
|
634
637
|
onModifyColumnHeaderValue(value, visualColumnIndex, headerLevel) {
|
638
|
+
var _this$stateManager$ge3;
|
635
639
|
const {
|
636
640
|
label
|
637
|
-
} = this.#stateManager.getHeaderTreeNodeData(headerLevel, visualColumnIndex)
|
641
|
+
} = (_this$stateManager$ge3 = this.#stateManager.getHeaderTreeNodeData(headerLevel, visualColumnIndex)) != null ? _this$stateManager$ge3 : {
|
638
642
|
label: ''
|
639
643
|
};
|
640
644
|
return label;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import "core-js/modules/es.array.push.js";
|
1
2
|
import { addClass, removeClass } from "../../helpers/dom/element.mjs";
|
2
3
|
import { isNumeric } from "../../helpers/number.mjs";
|
3
4
|
import { isLeftClick, isRightClick } from "../../helpers/dom/event.mjs";
|
@@ -300,6 +301,7 @@ export class NestedHeaders extends BasePlugin {
|
|
300
301
|
var _this2 = this;
|
301
302
|
const fixedColumnsStart = this.hot.view._wt.getSetting('fixedColumnsStart');
|
302
303
|
return (renderedColumnIndex, TH) => {
|
304
|
+
var _this$stateManager$ge;
|
303
305
|
const {
|
304
306
|
columnIndexMapper,
|
305
307
|
view
|
@@ -314,7 +316,7 @@ export class NestedHeaders extends BasePlugin {
|
|
314
316
|
colspan,
|
315
317
|
isHidden,
|
316
318
|
isPlaceholder
|
317
|
-
} = this.#stateManager.getHeaderSettings(headerLevel, visualColumnIndex)
|
319
|
+
} = (_this$stateManager$ge = this.#stateManager.getHeaderSettings(headerLevel, visualColumnIndex)) != null ? _this$stateManager$ge : {
|
318
320
|
label: ''
|
319
321
|
};
|
320
322
|
if (isPlaceholder || isHidden) {
|
@@ -350,10 +352,11 @@ export class NestedHeaders extends BasePlugin {
|
|
350
352
|
* @returns {string} Returns the column header value to update.
|
351
353
|
*/
|
352
354
|
getColumnHeaderValue(visualColumnIndex, headerLevel) {
|
355
|
+
var _this$stateManager$ge2;
|
353
356
|
const {
|
354
357
|
isHidden,
|
355
358
|
isPlaceholder
|
356
|
-
} = this.#stateManager.getHeaderSettings(headerLevel, visualColumnIndex)
|
359
|
+
} = (_this$stateManager$ge2 = this.#stateManager.getHeaderSettings(headerLevel, visualColumnIndex)) != null ? _this$stateManager$ge2 : {};
|
357
360
|
if (isPlaceholder || isHidden) {
|
358
361
|
return '';
|
359
362
|
}
|
@@ -626,9 +629,10 @@ export class NestedHeaders extends BasePlugin {
|
|
626
629
|
* @returns {string} Returns the column header value to update.
|
627
630
|
*/
|
628
631
|
onModifyColumnHeaderValue(value, visualColumnIndex, headerLevel) {
|
632
|
+
var _this$stateManager$ge3;
|
629
633
|
const {
|
630
634
|
label
|
631
|
-
} = this.#stateManager.getHeaderTreeNodeData(headerLevel, visualColumnIndex)
|
635
|
+
} = (_this$stateManager$ge3 = this.#stateManager.getHeaderTreeNodeData(headerLevel, visualColumnIndex)) != null ? _this$stateManager$ge3 : {
|
632
636
|
label: ''
|
633
637
|
};
|
634
638
|
return label;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
+
require("core-js/modules/es.array.push.js");
|
4
5
|
var _array = require("../../../helpers/array");
|
5
6
|
var _sourceSettings = _interopRequireDefault(require("./sourceSettings"));
|
6
7
|
var _headersTree = _interopRequireDefault(require("./headersTree"));
|
@@ -275,13 +276,14 @@ class StateManager {
|
|
275
276
|
* @returns {object|null}
|
276
277
|
*/
|
277
278
|
getHeaderSettings(headerLevel, columnIndex) {
|
279
|
+
var _this$stateMatrix$hea;
|
278
280
|
if (headerLevel < 0) {
|
279
281
|
headerLevel = this.rowCoordsToLevel(headerLevel);
|
280
282
|
}
|
281
283
|
if (headerLevel === null || headerLevel >= this.getLayersCount()) {
|
282
284
|
return null;
|
283
285
|
}
|
284
|
-
return this.#stateMatrix[headerLevel]?.[columnIndex]
|
286
|
+
return (_this$stateMatrix$hea = this.#stateMatrix[headerLevel]?.[columnIndex]) != null ? _this$stateMatrix$hea : null;
|
285
287
|
}
|
286
288
|
|
287
289
|
/**
|
@@ -319,9 +321,10 @@ class StateManager {
|
|
319
321
|
* @returns {number}
|
320
322
|
*/
|
321
323
|
findLeftMostColumnIndex(headerLevel, columnIndex) {
|
324
|
+
var _this$getHeaderSettin;
|
322
325
|
const {
|
323
326
|
isRoot
|
324
|
-
} = this.getHeaderSettings(headerLevel, columnIndex)
|
327
|
+
} = (_this$getHeaderSettin = this.getHeaderSettings(headerLevel, columnIndex)) != null ? _this$getHeaderSettin : {
|
325
328
|
isRoot: true
|
326
329
|
};
|
327
330
|
if (isRoot) {
|
@@ -329,9 +332,10 @@ class StateManager {
|
|
329
332
|
}
|
330
333
|
let stepBackColumn = columnIndex - 1;
|
331
334
|
while (stepBackColumn >= 0) {
|
335
|
+
var _this$getHeaderSettin2;
|
332
336
|
const {
|
333
337
|
isRoot: isRootNode
|
334
|
-
} = this.getHeaderSettings(headerLevel, stepBackColumn)
|
338
|
+
} = (_this$getHeaderSettin2 = this.getHeaderSettings(headerLevel, stepBackColumn)) != null ? _this$getHeaderSettin2 : {
|
335
339
|
isRoot: true
|
336
340
|
};
|
337
341
|
if (isRootNode) {
|