handsontable 0.0.0-next-21b8f14-20221206 → 0.0.0-next-98bffa5-20221207
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/base.js +2 -2
- package/base.mjs +2 -2
- package/core.js +4 -10
- package/core.mjs +4 -10
- package/dataMap/dataMap.js +60 -19
- package/dataMap/dataMap.mjs +60 -19
- package/dataMap/replaceData.js +2 -1
- package/dataMap/replaceData.mjs +2 -1
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +80 -53
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +7 -7
- package/dist/handsontable.js +80 -53
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +3 -3
- package/editorManager.js +7 -4
- package/editorManager.mjs +7 -4
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/plugins/columnSummary/endpoints.js +2 -14
- package/plugins/columnSummary/endpoints.mjs +2 -14
@@ -25,8 +25,8 @@
|
|
25
25
|
* INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
|
26
26
|
* USE OR INABILITY TO USE THIS SOFTWARE.
|
27
27
|
*
|
28
|
-
* Version: 0.0.0-next-
|
29
|
-
* Release date: 25/10/2022 (built at
|
28
|
+
* Version: 0.0.0-next-98bffa5-20221207
|
29
|
+
* Release date: 25/10/2022 (built at 07/12/2022 08:00:21)
|
30
30
|
*/
|
31
31
|
(function webpackUniversalModuleDefinition(root, factory) {
|
32
32
|
if(typeof exports === 'object' && typeof module === 'object')
|
@@ -3075,7 +3075,7 @@ var domMessages = {
|
|
3075
3075
|
function _injectProductInfo(key, element) {
|
3076
3076
|
var hasValidType = !isEmpty(key);
|
3077
3077
|
var isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
3078
|
-
var hotVersion = "0.0.0-next-
|
3078
|
+
var hotVersion = "0.0.0-next-98bffa5-20221207";
|
3079
3079
|
var keyValidityDate;
|
3080
3080
|
var consoleMessageState = 'invalid';
|
3081
3081
|
var domMessageState = 'invalid';
|
@@ -31333,6 +31333,7 @@ var _classCallCheck2 = _interopRequireDefault(__webpack_require__(2));
|
|
31333
31333
|
var _createClass2 = _interopRequireDefault(__webpack_require__(3));
|
31334
31334
|
var _unicode = __webpack_require__(107);
|
31335
31335
|
var _event = __webpack_require__(75);
|
31336
|
+
var _element = __webpack_require__(16);
|
31336
31337
|
var _registry = __webpack_require__(129);
|
31337
31338
|
var _eventManager = _interopRequireDefault(__webpack_require__(49));
|
31338
31339
|
var _mixed = __webpack_require__(24);
|
@@ -31556,10 +31557,12 @@ var EditorManager = /*#__PURE__*/function () {
|
|
31556
31557
|
// Getting values using the modified coordinates.
|
31557
31558
|
this.cellProperties = this.instance.getCellMeta(visualRowToCheck, visualColumnToCheck);
|
31558
31559
|
var activeElement = this.instance.rootDocument.activeElement;
|
31559
|
-
|
31560
|
-
|
31561
|
-
|
31562
|
-
|
31560
|
+
|
31561
|
+
// Blurring the `activeElement` removes the unwanted border around the focusable element (#6877)
|
31562
|
+
// and resets the `document.activeElement` property. The blurring should happen only when the
|
31563
|
+
// previously selected input element has not belonged to the Handsontable editor. If blurring is
|
31564
|
+
// triggered for all elements, there is a problem with the disappearing IME editor (#9672).
|
31565
|
+
if (activeElement && (0, _element.isOutsideInput)(activeElement)) {
|
31563
31566
|
activeElement.blur();
|
31564
31567
|
}
|
31565
31568
|
if (!this.isCellEditable()) {
|
@@ -66917,7 +66920,6 @@ function Core(rootElement, userSettings) {
|
|
66917
66920
|
rowDelta = _datamap$createRow.delta,
|
66918
66921
|
startRowPhysicalIndex = _datamap$createRow.startPhysicalIndex;
|
66919
66922
|
if (rowDelta) {
|
66920
|
-
metaManager.createRow(startRowPhysicalIndex, amount);
|
66921
66923
|
var currentSelectedRange = selection.selectedRange.current();
|
66922
66924
|
var currentFromRange = currentSelectedRange === null || currentSelectedRange === void 0 ? void 0 : currentSelectedRange.from;
|
66923
66925
|
var currentFromRow = currentFromRange === null || currentFromRange === void 0 ? void 0 : currentFromRange.row;
|
@@ -66973,7 +66975,6 @@ function Core(rootElement, userSettings) {
|
|
66973
66975
|
colDelta = _datamap$createCol.delta,
|
66974
66976
|
startColumnPhysicalIndex = _datamap$createCol.startPhysicalIndex;
|
66975
66977
|
if (colDelta) {
|
66976
|
-
metaManager.createColumn(startColumnPhysicalIndex, amount);
|
66977
66978
|
if (Array.isArray(tableMeta.colHeaders)) {
|
66978
66979
|
var spliceArray = [instance.toVisualColumn(startColumnPhysicalIndex), 0];
|
66979
66980
|
spliceArray.length += colDelta; // inserts empty (undefined) elements at the end of an array
|
@@ -67036,7 +67037,6 @@ function Core(rootElement, userSettings) {
|
|
67036
67037
|
if (!wasRemoved) {
|
67037
67038
|
return;
|
67038
67039
|
}
|
67039
|
-
metaManager.removeRow(instance.toPhysicalRow(calcIndex), groupAmount);
|
67040
67040
|
var totalRows = instance.countRows();
|
67041
67041
|
var fixedRowsTop = tableMeta.fixedRowsTop;
|
67042
67042
|
if (fixedRowsTop >= calcIndex + 1) {
|
@@ -67082,7 +67082,6 @@ function Core(rootElement, userSettings) {
|
|
67082
67082
|
if (!wasRemoved) {
|
67083
67083
|
return;
|
67084
67084
|
}
|
67085
|
-
metaManager.removeColumn(physicalColumnIndex, groupAmount);
|
67086
67085
|
var fixedColumnsStart = tableMeta.fixedColumnsStart;
|
67087
67086
|
if (fixedColumnsStart >= calcIndex + 1) {
|
67088
67087
|
tableMeta.fixedColumnsStart -= Math.min(groupAmount, fixedColumnsStart - calcIndex);
|
@@ -67664,9 +67663,7 @@ function Core(rootElement, userSettings) {
|
|
67664
67663
|
source: source
|
67665
67664
|
}),
|
67666
67665
|
numberOfCreatedRows = _datamap$createRow2.delta;
|
67667
|
-
if (numberOfCreatedRows
|
67668
|
-
metaManager.createRow(null, numberOfCreatedRows);
|
67669
|
-
} else {
|
67666
|
+
if (numberOfCreatedRows === 0) {
|
67670
67667
|
skipThisChange = true;
|
67671
67668
|
break;
|
67672
67669
|
}
|
@@ -67678,9 +67675,7 @@ function Core(rootElement, userSettings) {
|
|
67678
67675
|
source: source
|
67679
67676
|
}),
|
67680
67677
|
numberOfCreatedColumns = _datamap$createCol2.delta;
|
67681
|
-
if (numberOfCreatedColumns
|
67682
|
-
metaManager.createColumn(null, numberOfCreatedColumns);
|
67683
|
-
} else {
|
67678
|
+
if (numberOfCreatedColumns === 0) {
|
67684
67679
|
skipThisChange = true;
|
67685
67680
|
break;
|
67686
67681
|
}
|
@@ -68505,6 +68500,7 @@ function Core(rootElement, userSettings) {
|
|
68505
68500
|
dataSource: dataSource,
|
68506
68501
|
internalSource: 'updateData',
|
68507
68502
|
source: source,
|
68503
|
+
metaManager: metaManager,
|
68508
68504
|
firstRun: firstRun
|
68509
68505
|
});
|
68510
68506
|
};
|
@@ -68547,6 +68543,7 @@ function Core(rootElement, userSettings) {
|
|
68547
68543
|
dataSource: dataSource,
|
68548
68544
|
internalSource: 'loadData',
|
68549
68545
|
source: source,
|
68546
|
+
metaManager: metaManager,
|
68550
68547
|
firstRun: firstRun
|
68551
68548
|
});
|
68552
68549
|
};
|
@@ -77924,8 +77921,8 @@ __webpack_require__(73);
|
|
77924
77921
|
__webpack_require__(53);
|
77925
77922
|
__webpack_require__(89);
|
77926
77923
|
__webpack_require__(40);
|
77927
|
-
__webpack_require__(20);
|
77928
77924
|
__webpack_require__(23);
|
77925
|
+
__webpack_require__(20);
|
77929
77926
|
__webpack_require__(35);
|
77930
77927
|
__webpack_require__(22);
|
77931
77928
|
var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(32));
|
@@ -77972,9 +77969,9 @@ var DataMap = /*#__PURE__*/function () {
|
|
77972
77969
|
/**
|
77973
77970
|
* @param {object} instance Instance of Handsontable.
|
77974
77971
|
* @param {Array} data Array of arrays or array of objects containing data.
|
77975
|
-
* @param {
|
77972
|
+
* @param {MetaManager} metaManager The meta manager instance.
|
77976
77973
|
*/
|
77977
|
-
function DataMap(instance, data,
|
77974
|
+
function DataMap(instance, data, metaManager) {
|
77978
77975
|
(0, _classCallCheck2.default)(this, DataMap);
|
77979
77976
|
/**
|
77980
77977
|
* Instance of {@link Handsontable}.
|
@@ -77983,13 +77980,20 @@ var DataMap = /*#__PURE__*/function () {
|
|
77983
77980
|
* @type {Handsontable}
|
77984
77981
|
*/
|
77985
77982
|
this.instance = instance;
|
77983
|
+
/**
|
77984
|
+
* Instance of {@link MetaManager}.
|
77985
|
+
*
|
77986
|
+
* @private
|
77987
|
+
* @type {MetaManager}
|
77988
|
+
*/
|
77989
|
+
this.metaManager = metaManager;
|
77986
77990
|
/**
|
77987
77991
|
* Instance of {@link TableMeta}.
|
77988
77992
|
*
|
77989
77993
|
* @private
|
77990
77994
|
* @type {TableMeta}
|
77991
77995
|
*/
|
77992
|
-
this.tableMeta =
|
77996
|
+
this.tableMeta = metaManager.getTableMeta();
|
77993
77997
|
/**
|
77994
77998
|
* Reference to the original dataset.
|
77995
77999
|
*
|
@@ -78224,7 +78228,9 @@ var DataMap = /*#__PURE__*/function () {
|
|
78224
78228
|
}
|
78225
78229
|
var continueProcess = this.instance.runHooks('beforeCreateRow', rowIndex, amount, source);
|
78226
78230
|
if (continueProcess === false || physicalRowIndex === null) {
|
78227
|
-
return
|
78231
|
+
return {
|
78232
|
+
delta: 0
|
78233
|
+
};
|
78228
78234
|
}
|
78229
78235
|
var maxRows = this.tableMeta.maxRows;
|
78230
78236
|
var columnCount = this.getSchema().length;
|
@@ -78266,6 +78272,15 @@ var DataMap = /*#__PURE__*/function () {
|
|
78266
78272
|
if (this.instance.countSourceRows() === rowsToAdd.length) {
|
78267
78273
|
this.instance.columnIndexMapper.initToLength(this.instance.getInitialColumnCount());
|
78268
78274
|
}
|
78275
|
+
if (numberOfCreatedRows > 0) {
|
78276
|
+
if (index === void 0 || index === null) {
|
78277
|
+
// Creates the meta rows at the end of the rows collection without shifting the cells
|
78278
|
+
// that were defined out of the range of the dataset.
|
78279
|
+
this.metaManager.createRow(null, numberOfCreatedRows);
|
78280
|
+
} else if (source !== 'auto') {
|
78281
|
+
this.metaManager.createRow(physicalRowIndex, amount);
|
78282
|
+
}
|
78283
|
+
}
|
78269
78284
|
this.instance.runHooks('afterCreateRow', newVisualRowIndex, numberOfCreatedRows, source);
|
78270
78285
|
this.instance.forceFullRender = true; // used when data was changed
|
78271
78286
|
|
@@ -78307,7 +78322,9 @@ var DataMap = /*#__PURE__*/function () {
|
|
78307
78322
|
}
|
78308
78323
|
var continueProcess = this.instance.runHooks('beforeCreateCol', columnIndex, amount, source);
|
78309
78324
|
if (continueProcess === false) {
|
78310
|
-
return
|
78325
|
+
return {
|
78326
|
+
delta: 0
|
78327
|
+
};
|
78311
78328
|
}
|
78312
78329
|
var physicalColumnIndex = countSourceCols;
|
78313
78330
|
if (columnIndex < this.instance.countCols()) {
|
@@ -78343,6 +78360,15 @@ var DataMap = /*#__PURE__*/function () {
|
|
78343
78360
|
nrOfColumns += 1;
|
78344
78361
|
}
|
78345
78362
|
this.instance.columnIndexMapper.insertIndexes(columnIndex, numberOfCreatedCols);
|
78363
|
+
if (numberOfCreatedCols > 0) {
|
78364
|
+
if (index === void 0 || index === null) {
|
78365
|
+
// Creates the meta columns at the end of the columns collection without shifting the cells
|
78366
|
+
// that were defined out of the range of the dataset.
|
78367
|
+
this.metaManager.createColumn(null, numberOfCreatedCols);
|
78368
|
+
} else if (source !== 'auto') {
|
78369
|
+
this.metaManager.createColumn(startPhysicalIndex, amount);
|
78370
|
+
}
|
78371
|
+
}
|
78346
78372
|
var newVisualColumnIndex = this.instance.toVisualColumn(startPhysicalIndex);
|
78347
78373
|
this.instance.runHooks('afterCreateCol', newVisualColumnIndex, numberOfCreatedCols, source);
|
78348
78374
|
this.instance.forceFullRender = true; // used when data was changed
|
@@ -78367,6 +78393,7 @@ var DataMap = /*#__PURE__*/function () {
|
|
78367
78393
|
}, {
|
78368
78394
|
key: "removeRow",
|
78369
78395
|
value: function removeRow(index) {
|
78396
|
+
var _this3 = this;
|
78370
78397
|
var amount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
78371
78398
|
var source = arguments.length > 2 ? arguments[2] : undefined;
|
78372
78399
|
var rowIndex = Number.isInteger(index) ? index : -amount; // -amount = taking indexes from the end.
|
@@ -78394,6 +78421,12 @@ var DataMap = /*#__PURE__*/function () {
|
|
78394
78421
|
this.instance.columnIndexMapper.setIndexesSequence([]);
|
78395
78422
|
}
|
78396
78423
|
}
|
78424
|
+
var descendingPhysicalRows = removedPhysicalIndexes.slice(0).sort(function (a, b) {
|
78425
|
+
return b - a;
|
78426
|
+
});
|
78427
|
+
descendingPhysicalRows.forEach(function (rowPhysicalIndex) {
|
78428
|
+
_this3.metaManager.removeRow(rowPhysicalIndex, 1);
|
78429
|
+
});
|
78397
78430
|
this.instance.runHooks('afterRemoveRow', rowIndex, numberOfRemovedIndexes, removedPhysicalIndexes, source);
|
78398
78431
|
this.instance.forceFullRender = true; // used when data was changed
|
78399
78432
|
|
@@ -78420,46 +78453,51 @@ var DataMap = /*#__PURE__*/function () {
|
|
78420
78453
|
}
|
78421
78454
|
var columnIndex = typeof index !== 'number' ? -amount : index;
|
78422
78455
|
columnIndex = (this.instance.countCols() + columnIndex) % this.instance.countCols();
|
78423
|
-
var
|
78424
|
-
var
|
78456
|
+
var removedPhysicalIndexes = this.visualColumnsToPhysical(columnIndex, amount);
|
78457
|
+
var descendingPhysicalColumns = removedPhysicalIndexes.slice(0).sort(function (a, b) {
|
78425
78458
|
return b - a;
|
78426
78459
|
});
|
78427
|
-
var actionWasNotCancelled = this.instance.runHooks('beforeRemoveCol', columnIndex, amount,
|
78460
|
+
var actionWasNotCancelled = this.instance.runHooks('beforeRemoveCol', columnIndex, amount, removedPhysicalIndexes, source);
|
78428
78461
|
if (actionWasNotCancelled === false) {
|
78429
78462
|
return false;
|
78430
78463
|
}
|
78431
78464
|
var isTableUniform = true;
|
78432
|
-
var removedColumnsCount =
|
78465
|
+
var removedColumnsCount = descendingPhysicalColumns.length;
|
78433
78466
|
var data = this.dataSource;
|
78434
78467
|
for (var c = 0; c < removedColumnsCount; c++) {
|
78435
|
-
if (isTableUniform &&
|
78468
|
+
if (isTableUniform && removedPhysicalIndexes[0] !== removedPhysicalIndexes[c] - c) {
|
78436
78469
|
isTableUniform = false;
|
78437
78470
|
}
|
78438
78471
|
}
|
78439
78472
|
if (isTableUniform) {
|
78440
78473
|
for (var r = 0, rlen = this.instance.countSourceRows(); r < rlen; r++) {
|
78441
|
-
data[r].splice(
|
78474
|
+
data[r].splice(removedPhysicalIndexes[0], amount);
|
78475
|
+
if (r === 0) {
|
78476
|
+
this.metaManager.removeColumn(removedPhysicalIndexes[0], amount);
|
78477
|
+
}
|
78442
78478
|
}
|
78443
78479
|
} else {
|
78444
78480
|
for (var _r = 0, _rlen = this.instance.countSourceRows(); _r < _rlen; _r++) {
|
78445
78481
|
for (var _c = 0; _c < removedColumnsCount; _c++) {
|
78446
|
-
data[_r].splice(
|
78482
|
+
data[_r].splice(descendingPhysicalColumns[_c], 1);
|
78483
|
+
if (_r === 0) {
|
78484
|
+
this.metaManager.removeColumn(descendingPhysicalColumns[_c], 1);
|
78485
|
+
}
|
78447
78486
|
}
|
78448
78487
|
}
|
78449
78488
|
}
|
78450
78489
|
|
78451
78490
|
// TODO: Function `removeCol` should validate fully, probably above.
|
78452
78491
|
if (columnIndex < this.instance.countCols()) {
|
78453
|
-
this.instance.columnIndexMapper.removeIndexes(
|
78492
|
+
this.instance.columnIndexMapper.removeIndexes(removedPhysicalIndexes);
|
78454
78493
|
|
78455
78494
|
// All columns have been removed. There shouldn't be any rows.
|
78456
78495
|
if (this.instance.columnIndexMapper.getNotTrimmedIndexesLength() === 0) {
|
78457
78496
|
this.instance.rowIndexMapper.setIndexesSequence([]);
|
78458
78497
|
}
|
78459
78498
|
}
|
78460
|
-
this.instance.runHooks('afterRemoveCol', columnIndex, amount,
|
78499
|
+
this.instance.runHooks('afterRemoveCol', columnIndex, amount, removedPhysicalIndexes, source);
|
78461
78500
|
this.instance.forceFullRender = true; // used when data was changed
|
78462
|
-
|
78463
78501
|
this.refreshDuckSchema();
|
78464
78502
|
return true;
|
78465
78503
|
}
|
@@ -78531,7 +78569,7 @@ var DataMap = /*#__PURE__*/function () {
|
|
78531
78569
|
}, {
|
78532
78570
|
key: "spliceData",
|
78533
78571
|
value: function spliceData(index, deleteCount, elements) {
|
78534
|
-
var
|
78572
|
+
var _this4 = this;
|
78535
78573
|
var continueSplicing = this.instance.runHooks('beforeDataSplice', index, deleteCount, elements);
|
78536
78574
|
if (continueSplicing !== false) {
|
78537
78575
|
var newData = [].concat((0, _toConsumableArray2.default)(this.dataSource.slice(0, index)), (0, _toConsumableArray2.default)(elements), (0, _toConsumableArray2.default)(this.dataSource.slice(index)));
|
@@ -78542,7 +78580,7 @@ var DataMap = /*#__PURE__*/function () {
|
|
78542
78580
|
// Pushing to array instead of using `splice`, because Babel changes the code to one that uses the `apply` method.
|
78543
78581
|
// The used method was cause of the problem described within #7840.
|
78544
78582
|
newData.forEach(function (row) {
|
78545
|
-
return
|
78583
|
+
return _this4.dataSource.push(row);
|
78546
78584
|
});
|
78547
78585
|
}
|
78548
78586
|
}
|
@@ -78868,7 +78906,7 @@ var DataMap = /*#__PURE__*/function () {
|
|
78868
78906
|
key: "destroy",
|
78869
78907
|
value: function destroy() {
|
78870
78908
|
this.instance = null;
|
78871
|
-
this.
|
78909
|
+
this.metaManager = null;
|
78872
78910
|
this.dataSource = null;
|
78873
78911
|
this.duckSchema = null;
|
78874
78912
|
this.colToPropCache.length = 0;
|
@@ -96278,8 +96316,8 @@ Handsontable.hooks = _pluginHooks.default.getSingleton();
|
|
96278
96316
|
Handsontable.CellCoords = _src.CellCoords;
|
96279
96317
|
Handsontable.CellRange = _src.CellRange;
|
96280
96318
|
Handsontable.packageName = 'handsontable';
|
96281
|
-
Handsontable.buildDate = "
|
96282
|
-
Handsontable.version = "0.0.0-next-
|
96319
|
+
Handsontable.buildDate = "07/12/2022 08:00:21";
|
96320
|
+
Handsontable.version = "0.0.0-next-98bffa5-20221207";
|
96283
96321
|
Handsontable.languages = {
|
96284
96322
|
dictionaryKeys: _registry.dictionaryKeys,
|
96285
96323
|
getLanguageDictionary: _registry.getLanguageDictionary,
|
@@ -111268,6 +111306,7 @@ function replaceData(data, setDataMapFunction, callbackFunction, config) {
|
|
111268
111306
|
dataSource = config.dataSource,
|
111269
111307
|
internalSource = config.internalSource,
|
111270
111308
|
source = config.source,
|
111309
|
+
metaManager = config.metaManager,
|
111271
111310
|
firstRun = config.firstRun;
|
111272
111311
|
var capitalizedInternalSource = (0, _string.toUpperCaseFirst)(internalSource);
|
111273
111312
|
var tableMeta = hotInstance.getSettings();
|
@@ -111282,7 +111321,7 @@ function replaceData(data, setDataMapFunction, callbackFunction, config) {
|
|
111282
111321
|
dataMap.destroy();
|
111283
111322
|
}
|
111284
111323
|
data = hotInstance.runHooks("before".concat(capitalizedInternalSource), data, firstRun, source);
|
111285
|
-
var newDataMap = new _dataMap.default(hotInstance, data,
|
111324
|
+
var newDataMap = new _dataMap.default(hotInstance, data, metaManager);
|
111286
111325
|
|
111287
111326
|
// We need to apply the new dataMap immediately, because of some asynchronous logic in the
|
111288
111327
|
// `autoRowSize`/`autoColumnSize` plugins.
|
@@ -124045,15 +124084,6 @@ var Endpoints = /*#__PURE__*/function () {
|
|
124045
124084
|
var useOffset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
124046
124085
|
var alterRowOffset = endpoint.alterRowOffset || 0;
|
124047
124086
|
var alterColOffset = endpoint.alterColumnOffset || 0;
|
124048
|
-
var _ref = [this.hot.toVisualRow(endpoint.destinationRow), this.hot.toVisualColumn(endpoint.destinationColumn)],
|
124049
|
-
visualRowIndex = _ref[0],
|
124050
|
-
visualColumnIndex = _ref[1];
|
124051
|
-
if (visualColumnIndex !== null && visualRowIndex !== null) {
|
124052
|
-
// Clear the meta on the "old" indexes
|
124053
|
-
var cellMeta = this.hot.getCellMeta(visualRowIndex, visualColumnIndex);
|
124054
|
-
cellMeta.readOnly = false;
|
124055
|
-
cellMeta.className = '';
|
124056
|
-
}
|
124057
124087
|
this.cellsToSetCache.push([this.hot.toVisualRow(endpoint.destinationRow + (useOffset ? alterRowOffset : 0)), this.hot.toVisualColumn(endpoint.destinationColumn + (useOffset ? alterColOffset : 0)), '']);
|
124058
124088
|
}
|
124059
124089
|
|
@@ -124068,17 +124098,14 @@ var Endpoints = /*#__PURE__*/function () {
|
|
124068
124098
|
key: "setEndpointValue",
|
124069
124099
|
value: function setEndpointValue(endpoint, source) {
|
124070
124100
|
var render = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
124071
|
-
// We'll need the reversed offset values, because cellMeta will be shifted AGAIN afterwards.
|
124072
|
-
var reverseRowOffset = -1 * endpoint.alterRowOffset || 0;
|
124073
|
-
var reverseColOffset = -1 * endpoint.alterColumnOffset || 0;
|
124074
124101
|
var visualEndpointRowIndex = this.hot.toVisualRow(endpoint.destinationRow);
|
124075
124102
|
if (endpoint.destinationRow >= this.hot.countRows() || endpoint.destinationColumn >= this.hot.countCols()) {
|
124076
124103
|
this.throwOutOfBoundsWarning();
|
124077
124104
|
return;
|
124078
124105
|
}
|
124079
|
-
var destinationVisualRow = this.hot.toVisualRow(endpoint.destinationRow
|
124106
|
+
var destinationVisualRow = this.hot.toVisualRow(endpoint.destinationRow);
|
124080
124107
|
if (destinationVisualRow !== null) {
|
124081
|
-
var cellMeta = this.hot.getCellMeta(destinationVisualRow, endpoint.destinationColumn
|
124108
|
+
var cellMeta = this.hot.getCellMeta(destinationVisualRow, endpoint.destinationColumn);
|
124082
124109
|
if (source === 'init' || cellMeta.readOnly !== endpoint.readOnly) {
|
124083
124110
|
cellMeta.readOnly = endpoint.readOnly;
|
124084
124111
|
cellMeta.className = 'columnSummaryResult';
|
@@ -26,8 +26,8 @@
|
|
26
26
|
* INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
|
27
27
|
* USE OR INABILITY TO USE THIS SOFTWARE.
|
28
28
|
*
|
29
|
-
* Version: 0.0.0-next-
|
30
|
-
* Release date: 25/10/2022 (built at
|
29
|
+
* Version: 0.0.0-next-98bffa5-20221207
|
30
|
+
* Release date: 25/10/2022 (built at 07/12/2022 08:01:11)
|
31
31
|
*/.handsontable .table td,.handsontable .table th{border-top:none}.handsontable tr{background:#fff}.handsontable td{background-color:inherit}.handsontable .table caption+thead tr:first-child td,.handsontable .table caption+thead tr:first-child th,.handsontable .table colgroup+thead tr:first-child td,.handsontable .table colgroup+thead tr:first-child th,.handsontable .table thead:first-child tr:first-child td,.handsontable .table thead:first-child tr:first-child th{border-top:1px solid #ccc}.handsontable .table-bordered{border:0;border-collapse:separate}.handsontable .table-bordered td,.handsontable .table-bordered th{border-left:none}.handsontable .table-bordered td:first-child,.handsontable .table-bordered th:first-child{border-left:1px solid #ccc}.handsontable .table>tbody>tr>td,.handsontable .table>tbody>tr>th,.handsontable .table>tfoot>tr>td,.handsontable .table>tfoot>tr>th,.handsontable .table>thead>tr>td,.handsontable .table>thead>tr>th{line-height:21px;padding:0}.col-lg-1.handsontable,.col-lg-2.handsontable,.col-lg-3.handsontable,.col-lg-4.handsontable,.col-lg-5.handsontable,.col-lg-6.handsontable,.col-lg-7.handsontable,.col-lg-8.handsontable,.col-lg-9.handsontable,.col-lg-10.handsontable,.col-lg-11.handsontable,.col-lg-12.handsontable,.col-md-1.handsontable,.col-md-2.handsontable,.col-md-3.handsontable,.col-md-4.handsontable,.col-md-5.handsontable,.col-md-6.handsontable,.col-md-7.handsontable,.col-md-8.handsontable,.col-md-9.handsontable .col-sm-1.handsontable,.col-md-10.handsontable,.col-md-11.handsontable,.col-md-12.handsontable,.col-sm-2.handsontable,.col-sm-3.handsontable,.col-sm-4.handsontable,.col-sm-5.handsontable,.col-sm-6.handsontable,.col-sm-7.handsontable,.col-sm-8.handsontable,.col-sm-9.handsontable .col-xs-1.handsontable,.col-sm-10.handsontable,.col-sm-11.handsontable,.col-sm-12.handsontable,.col-xs-2.handsontable,.col-xs-3.handsontable,.col-xs-4.handsontable,.col-xs-5.handsontable,.col-xs-6.handsontable,.col-xs-7.handsontable,.col-xs-8.handsontable,.col-xs-9.handsontable,.col-xs-10.handsontable,.col-xs-11.handsontable,.col-xs-12.handsontable{padding-left:0;padding-right:0}.handsontable .table-striped>tbody>tr:nth-of-type(2n){background-color:#fff}.handsontable{position:relative}.handsontable .hide{display:none}.handsontable .relative{position:relative}.handsontable .wtHider{width:0}.handsontable .wtSpreader{position:relative;width:0;height:auto}.handsontable div,.handsontable input,.handsontable table,.handsontable tbody,.handsontable td,.handsontable textarea,.handsontable th,.handsontable thead{box-sizing:content-box;-webkit-box-sizing:content-box;-moz-box-sizing:content-box}.handsontable input,.handsontable textarea{min-height:0}.handsontable table.htCore{border-collapse:separate;border-spacing:0;margin:0;border-width:0;table-layout:fixed;width:0;outline-width:0;cursor:default;max-width:none;max-height:none}.handsontable col,.handsontable col.rowHeader{width:50px}.handsontable td,.handsontable th{border-top-width:0;border-left-width:0;border-right:1px solid #ccc;border-bottom:1px solid #ccc;height:22px;empty-cells:show;line-height:21px;padding:0 4px;background-color:#fff;vertical-align:top;overflow:hidden;outline-width:0;white-space:pre-wrap}[dir=rtl].handsontable td,[dir=rtl].handsontable th{border-right-width:0;border-left:1px solid #ccc}.handsontable th:last-child{border-left:none;border-right:1px solid #ccc;border-bottom:1px solid #ccc}[dir=rtl].handsontable th:last-child{border-right:none;border-left:1px solid #ccc}.handsontable td:first-of-type,.handsontable th:first-child,.handsontable th:nth-child(2){border-left:1px solid #ccc}[dir=rtl].handsontable td:first-of-type,[dir=rtl].handsontable th:first-child,[dir=rtl].handsontable th:nth-child(2){border-right:1px solid #ccc}.handsontable .ht_clone_top th:nth-child(2){border-left-width:0;border-right:1px solid #ccc}[dir=rtl].handsontable .ht_clone_top th:nth-child(2){border-right-width:0;border-left:1px solid #ccc}.handsontable.htRowHeaders thead tr th:nth-child(2){border-left:1px solid #ccc}[dir=rtl].handsontable.htRowHeaders thead tr th:nth-child(2){border-right:1px solid #ccc}.handsontable tr:first-child td,.handsontable tr:first-child th{border-top:1px solid #ccc}.ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable:not(.ht_clone_top) thead tr th:first-child,.ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable tbody tr th{border-right-width:0;border-left:1px solid #ccc}[dir=rtl].ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable:not(.ht_clone_top) thead tr th:first-child,[dir=rtl].ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable tbody tr th{border-left-width:0;border-right:1px solid #ccc}.ht_master:not(.innerBorderTop):not(.innerBorderBottom) thead tr.lastChild th,.ht_master:not(.innerBorderTop):not(.innerBorderBottom) thead tr:last-child th,.ht_master:not(.innerBorderTop):not(.innerBorderBottom)~.handsontable thead tr.lastChild th,.ht_master:not(.innerBorderTop):not(.innerBorderBottom)~.handsontable thead tr:last-child th{border-bottom-width:0}.handsontable th{background-color:#f0f0f0;color:#222;text-align:center;font-weight:400;white-space:nowrap}.handsontable thead th{padding:0}.handsontable th.active{background-color:#ccc}.handsontable thead th .relative{padding:2px 4px}.handsontable span.colHeader{display:inline-block;line-height:1.1}.handsontable .wtBorder{position:absolute;font-size:0}.handsontable .wtBorder.hidden{display:none!important}.handsontable .wtBorder.current{z-index:10}.handsontable .wtBorder.area{z-index:8}.handsontable .wtBorder.fill{z-index:6}.handsontable .wtBorder.corner{font-size:0;cursor:crosshair}.ht_clone_master{z-index:100}.ht_clone_inline_start{z-index:120}.ht_clone_bottom{z-index:130}.ht_clone_bottom_inline_start_corner{z-index:150}.ht_clone_top{z-index:160}.ht_clone_top_inline_start_corner{z-index:180}.handsontable col.hidden{width:0!important}.handsontable tr.hidden,.handsontable tr.hidden td,.handsontable tr.hidden th{display:none}.ht_clone_bottom,.ht_clone_inline_start,.ht_clone_top,.ht_master{overflow:hidden}.ht_master .wtHolder{overflow:auto}.handsontable .ht_clone_inline_start thead,.handsontable .ht_master thead,.handsontable .ht_master tr th{visibility:hidden}.ht_clone_bottom .wtHolder,.ht_clone_inline_start .wtHolder,.ht_clone_top .wtHolder{overflow:hidden}.handsontable{touch-action:manipulation;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Helvetica Neue,Arial,sans-serif;font-size:13px;font-weight:400;color:#373737}.handsontable a{color:#104acc}.handsontable.htAutoSize{visibility:hidden;left:-99000px;position:absolute;top:-99000px}.handsontable td.htInvalid{background-color:#ff4c42!important}.handsontable td.htNoWrap{white-space:nowrap}#hot-display-license-info{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Helvetica Neue,Arial,sans-serif;font-size:10px;font-weight:400;color:#373737;padding:5px 0 3px;text-align:left}#hot-display-license-info a{color:#104acc;font-size:10px}.handsontable .manualColumnResizer{position:absolute;top:0;cursor:col-resize;z-index:210;width:5px;height:25px}.handsontable .manualRowResizer{position:absolute;left:0;cursor:row-resize;z-index:210;height:5px;width:50px}.handsontable .manualColumnResizer.active,.handsontable .manualColumnResizer:hover,.handsontable .manualRowResizer.active,.handsontable .manualRowResizer:hover{background-color:#34a9db}.handsontable .manualColumnResizerGuide{position:absolute;right:unset;top:0;background-color:#34a9db;display:none;width:0;border-right:1px dashed #777;border-left:none;margin-left:5px;margin-right:unset}[dir=rtl].handsontable .manualColumnResizerGuide{left:unset;border-left:1px dashed #777;border-right:none;margin-right:5px;margin-left:unset}.handsontable .manualRowResizerGuide{position:absolute;left:0;bottom:0;background-color:#34a9db;display:none;height:0;border-bottom:1px dashed #777;margin-top:5px}.handsontable .manualColumnResizerGuide.active,.handsontable .manualRowResizerGuide.active{display:block;z-index:209}.handsontable .columnSorting{position:relative}.handsontable .columnSorting.sortAction:hover{text-decoration:underline;cursor:pointer}.handsontable span.colHeader.columnSorting:before{top:50%;margin-top:-6px;padding-left:8px;padding-right:0;position:absolute;right:-9px;left:unset;content:"";height:10px;width:5px;background-size:contain;background-repeat:no-repeat;background-position-x:right}[dir=rtl].handsontable span.colHeader.columnSorting:before{padding-right:8px;padding-left:0;left:-9px;right:unset;background-position-x:left}.handsontable span.colHeader.columnSorting.ascending:before{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAoCAMAAADJ7yrpAAAAKlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKE86IAAAADXRSTlMABBEmRGprlJW72e77tTkTKwAAAFNJREFUeAHtzjkSgCAUBNHPgsoy97+ulGXRqJE5L+xkxoYt2UdsLb5bqFINz+aLuuLn5rIu2RkO3fZpWENimNgiw6iBYRTPMLJjGFxQZ1hxxb/xBI1qC8k39CdKAAAAAElFTkSuQmCC")}.handsontable span.colHeader.columnSorting.descending:before{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAoCAMAAADJ7yrpAAAAKlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKE86IAAAADXRSTlMABBEmRGprlJW72e77tTkTKwAAAFJJREFUeAHtzjkSgCAQRNFmQYUZ7n9dKUvru0TmvPAn3br0QfgdZ5xx6x+rQn23GqTYnq1FDcnuzZIO2WmedVqIRVxgGKEyjNgYRjKGkZ1hFIZ3I70LyM0VtU8AAAAASUVORK5CYII=")}.htGhostTable .htCore span.colHeader.columnSorting:not(.indicatorDisabled):after{content:"*";display:inline-block;position:relative;padding-right:20px}.handsontable td.area,.handsontable td.area-1,.handsontable td.area-2,.handsontable td.area-3,.handsontable td.area-4,.handsontable td.area-5,.handsontable td.area-6,.handsontable td.area-7{position:relative}.handsontable td.area-1:before,.handsontable td.area-2:before,.handsontable td.area-3:before,.handsontable td.area-4:before,.handsontable td.area-5:before,.handsontable td.area-6:before,.handsontable td.area-7:before,.handsontable td.area:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;bottom:-100%\9;background:#005eff}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.handsontable td.area-1:before,.handsontable td.area-2:before,.handsontable td.area-3:before,.handsontable td.area-4:before,.handsontable td.area-5:before,.handsontable td.area-6:before,.handsontable td.area-7:before,.handsontable td.area:before{bottom:-100%}}.handsontable td.area:before{opacity:.1}.handsontable td.area-1:before{opacity:.2}.handsontable td.area-2:before{opacity:.27}.handsontable td.area-3:before{opacity:.35}.handsontable td.area-4:before{opacity:.41}.handsontable td.area-5:before{opacity:.47}.handsontable td.area-6:before{opacity:.54}.handsontable td.area-7:before{opacity:.58}.handsontable tbody th.ht__highlight,.handsontable thead th.ht__highlight{background-color:#dcdcdc}.handsontable tbody th.ht__active_highlight,.handsontable thead th.ht__active_highlight{background-color:#8eb0e7;color:#000}.handsontableInput{border:none;outline-width:0;margin:0;padding:1px 5px 0;font-family:inherit;line-height:21px;font-size:inherit;box-shadow:inset 0 0 0 2px #5292f7;resize:none;display:block;color:#000;border-radius:0;background-color:#fff}.handsontableInput:focus{outline:none}.handsontableInputHolder{position:absolute;top:0;left:0}.htSelectEditor{-webkit-appearance:menulist-button!important;position:absolute;width:auto}.htSelectEditor:focus{outline:none}.handsontable .htDimmed{color:#777}.handsontable .htSubmenu{position:relative}.handsontable .htSubmenu :after{content:"▶";color:#777;position:absolute;right:5px;font-size:9px}[dir=rtl].handsontable .htSubmenu :after{content:""}[dir=rtl].handsontable .htSubmenu :before{content:"◀";color:#777;position:absolute;left:5px;font-size:9px}.handsontable .htLeft{text-align:left}.handsontable .htCenter{text-align:center}.handsontable .htRight{text-align:right}.handsontable .htJustify{text-align:justify}.handsontable .htTop{vertical-align:top}.handsontable .htMiddle{vertical-align:middle}.handsontable .htBottom{vertical-align:bottom}.handsontable .htPlaceholder{color:#999}.handsontable.listbox{margin:0}.handsontable.listbox .ht_master table{border:1px solid #ccc;border-collapse:separate;background:#fff}.handsontable.listbox td,.handsontable.listbox th,.handsontable.listbox tr:first-child td,.handsontable.listbox tr:first-child th,.handsontable.listbox tr:last-child th{border-color:transparent!important}.handsontable.listbox td,.handsontable.listbox th{white-space:nowrap;text-overflow:ellipsis}.handsontable.listbox td.htDimmed{cursor:default;color:inherit;font-style:inherit}.handsontable.listbox .wtBorder{visibility:hidden}.handsontable.listbox tr:hover td,.handsontable.listbox tr td.current{background:#eee}.ht_editor_hidden{z-index:-1}.ht_editor_visible{z-index:200}.handsontable td.htSearchResult{background:#fcedd9;color:#583707}.handsontable .collapsibleIndicator{position:absolute;top:50%;transform:translateY(-50%);left:unset;right:5px;border:1px solid #a6a6a6;line-height:8px;color:#222;border-radius:10px;font-size:10px;width:10px;height:10px;cursor:pointer;-webkit-box-shadow:0 0 0 6px #eee;-moz-box-shadow:0 0 0 6px #eee;box-shadow:0 0 0 6px #eee;background:#eee;text-align:center}[dir=rtl].handsontable .collapsibleIndicator{right:unset;left:5px}.handsontable.mobile,.handsontable.mobile .wtHolder{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-overflow-scrolling:touch}.handsontable.mobile .handsontableInput:focus{-webkit-box-shadow:0 0 0 2px #5292f7 inset;-moz-box-shadow:0 0 0 2px #5292f7 inset;box-shadow:inset 0 0 0 2px #5292f7;-webkit-appearance:none}.topSelectionHandle-HitArea:not(.ht_master .topSelectionHandle-HitArea),.topSelectionHandle:not(.ht_master .topSelectionHandle){z-index:9999}.handsontable .bottomSelectionHandle,.handsontable .bottomSelectionHandle-HitArea,.handsontable .topSelectionHandle,.handsontable .topSelectionHandle-HitArea{left:-10000px;right:unset;top:-10000px}[dir=rtl].handsontable .bottomSelectionHandle,[dir=rtl].handsontable .bottomSelectionHandle-HitArea,[dir=rtl].handsontable .topSelectionHandle,[dir=rtl].handsontable .topSelectionHandle-HitArea{right:-10000px;left:unset}.handsontable.hide-tween{-webkit-animation:opacity-hide .3s;animation:opacity-hide .3s;animation-fill-mode:forwards;-webkit-animation-fill-mode:forwards}.handsontable.show-tween{-webkit-animation:opacity-show .3s;animation:opacity-show .3s;animation-fill-mode:forwards;-webkit-animation-fill-mode:forwards}
|
32
32
|
/*!
|
33
33
|
* Pikaday
|