handsontable 0.0.0-next-b96fb9f-20231207 → 0.0.0-next-3d099da-20231208
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/index.js +6 -11
- package/3rdparty/walkontable/src/calculator/index.mjs +3 -5
- package/3rdparty/walkontable/src/calculator/viewportColumns.js +122 -1
- package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +124 -2
- package/3rdparty/walkontable/src/calculator/viewportRows.js +1 -1
- package/3rdparty/walkontable/src/calculator/viewportRows.mjs +3 -2
- package/3rdparty/walkontable/src/core/_base.js +12 -0
- package/3rdparty/walkontable/src/core/_base.mjs +12 -0
- package/3rdparty/walkontable/src/core/core.js +2 -0
- package/3rdparty/walkontable/src/core/core.mjs +2 -0
- package/3rdparty/walkontable/src/facade/core.js +9 -0
- package/3rdparty/walkontable/src/facade/core.mjs +9 -0
- package/3rdparty/walkontable/src/index.js +4 -3
- package/3rdparty/walkontable/src/index.mjs +2 -1
- package/3rdparty/walkontable/src/overlays.js +3 -0
- package/3rdparty/walkontable/src/overlays.mjs +4 -0
- package/3rdparty/walkontable/src/renderer/colGroup.js +0 -10
- package/3rdparty/walkontable/src/renderer/colGroup.mjs +0 -10
- package/3rdparty/walkontable/src/renderer/rows.js +3 -4
- package/3rdparty/walkontable/src/renderer/rows.mjs +3 -4
- package/3rdparty/walkontable/src/selection/manager.js +1 -0
- package/3rdparty/walkontable/src/selection/manager.mjs +1 -0
- package/3rdparty/walkontable/src/settings.js +0 -3
- package/3rdparty/walkontable/src/settings.mjs +0 -2
- package/3rdparty/walkontable/src/table.js +1 -0
- package/3rdparty/walkontable/src/table.mjs +1 -0
- package/3rdparty/walkontable/src/utils/column.js +12 -27
- package/3rdparty/walkontable/src/utils/column.mjs +12 -27
- package/3rdparty/walkontable/src/viewport.js +17 -22
- package/3rdparty/walkontable/src/viewport.mjs +18 -23
- package/base.js +2 -4
- package/base.mjs +2 -2
- package/core/focusCatcher/index.js +6 -44
- package/core/focusCatcher/index.mjs +6 -44
- package/core.js +11 -0
- package/core.mjs +11 -0
- package/dataMap/dataMap.js +0 -1
- package/dataMap/metaManager/metaSchema.js +2 -28
- package/dataMap/metaManager/metaSchema.mjs +2 -28
- package/dataMap/metaManager/mods/extendMetaProperties.js +0 -12
- package/dataMap/metaManager/mods/extendMetaProperties.mjs +0 -12
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +3903 -2640
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +70 -66
- package/dist/handsontable.js +3906 -2643
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +39 -35
- package/editorManager.js +4 -3
- package/editorManager.mjs +4 -3
- package/editors/autocompleteEditor/autocompleteEditor.js +2 -0
- package/editors/autocompleteEditor/autocompleteEditor.mjs +2 -0
- package/editors/handsontableEditor/handsontableEditor.js +1 -0
- package/editors/handsontableEditor/handsontableEditor.mjs +1 -0
- package/editors/textEditor/textEditor.js +4 -0
- package/editors/textEditor/textEditor.mjs +4 -0
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/pluginHooks.d.ts +29 -6
- package/pluginHooks.js +123 -65
- package/pluginHooks.mjs +122 -62
- package/plugins/copyPaste/clipboardData/clipboardData.js +588 -0
- package/plugins/copyPaste/clipboardData/clipboardData.mjs +584 -0
- package/plugins/copyPaste/clipboardData/copyClipboardData.js +69 -0
- package/plugins/copyPaste/clipboardData/copyClipboardData.mjs +65 -0
- package/plugins/copyPaste/clipboardData/index.js +9 -0
- package/plugins/copyPaste/clipboardData/index.mjs +4 -0
- package/plugins/copyPaste/clipboardData/pasteClipboardData.js +81 -0
- package/plugins/copyPaste/clipboardData/pasteClipboardData.mjs +77 -0
- package/plugins/copyPaste/copyPaste.js +51 -129
- package/plugins/copyPaste/copyPaste.mjs +54 -132
- package/plugins/copyPaste/copyableRanges.js +7 -43
- package/plugins/copyPaste/copyableRanges.mjs +7 -42
- package/plugins/copyPaste/pasteEvent.mjs +1 -1
- package/plugins/customBorders/customBorders.js +5 -0
- package/plugins/customBorders/customBorders.mjs +5 -0
- package/plugins/customBorders/utils.js +1 -0
- package/plugins/customBorders/utils.mjs +1 -0
- package/plugins/filters/ui/radioInput.js +1 -1
- package/plugins/filters/ui/radioInput.mjs +1 -1
- package/plugins/formulas/formulas.js +2 -0
- package/plugins/formulas/formulas.mjs +2 -0
- package/plugins/formulas/indexSyncer/axisSyncer.js +1 -0
- package/plugins/formulas/indexSyncer/axisSyncer.mjs +1 -0
- package/plugins/manualColumnResize/manualColumnResize.js +1 -0
- package/plugins/manualColumnResize/manualColumnResize.mjs +1 -0
- package/plugins/mergeCells/mergeCells.js +127 -1
- package/plugins/mergeCells/mergeCells.mjs +127 -1
- package/plugins/nestedHeaders/nestedHeaders.js +87 -41
- package/plugins/nestedHeaders/nestedHeaders.mjs +88 -42
- package/plugins/nestedHeaders/stateManager/headersTree.js +1 -0
- package/plugins/nestedHeaders/stateManager/headersTree.mjs +1 -0
- package/plugins/undoRedo/undoRedo.js +2 -0
- package/plugins/undoRedo/undoRedo.mjs +2 -0
- package/renderers/autocompleteRenderer/autocompleteRenderer.js +1 -0
- package/renderers/autocompleteRenderer/autocompleteRenderer.mjs +1 -0
- package/renderers/checkboxRenderer/checkboxRenderer.js +2 -0
- package/renderers/checkboxRenderer/checkboxRenderer.mjs +2 -0
- package/selection/highlight/highlight.js +1 -0
- package/selection/highlight/highlight.mjs +1 -0
- package/selection/index.js +3 -1
- package/selection/index.mjs +2 -2
- package/selection/utils.js +34 -0
- package/selection/utils.mjs +33 -0
- package/settings.d.ts +0 -1
- package/tableView.js +2 -1
- package/tableView.mjs +2 -1
- package/translations/indexMapper.js +1 -2
- package/utils/parseTable.js +538 -84
- package/utils/parseTable.mjs +534 -83
- package/validators/timeValidator/timeValidator.js +1 -0
- package/validators/timeValidator/timeValidator.mjs +1 -0
- package/3rdparty/walkontable/src/calculator/renderAllColumns.js +0 -50
- package/3rdparty/walkontable/src/calculator/renderAllColumns.mjs +0 -46
- package/3rdparty/walkontable/src/calculator/renderAllRows.js +0 -50
- package/3rdparty/walkontable/src/calculator/renderAllRows.mjs +0 -46
- package/3rdparty/walkontable/src/utils/columnStretching.js +0 -219
- package/3rdparty/walkontable/src/utils/columnStretching.mjs +0 -215
- package/plugins/copyPaste/clipboardData.js +0 -18
- package/plugins/copyPaste/clipboardData.mjs +0 -14
@@ -8,15 +8,14 @@ import { installFocusDetector } from "./focusDetector.mjs";
|
|
8
8
|
* @param {Core} hot The Handsontable instance.
|
9
9
|
*/
|
10
10
|
export function installFocusCatcher(hot) {
|
11
|
-
const clampCoordsIfNeeded = normalizeCoordsIfNeeded(hot);
|
12
11
|
let recentlyAddedFocusCoords;
|
13
12
|
const {
|
14
13
|
activate,
|
15
14
|
deactivate
|
16
15
|
} = installFocusDetector(hot, {
|
17
16
|
onFocusFromTop() {
|
18
|
-
var
|
19
|
-
const mostTopStartCoords = (
|
17
|
+
var _recentlyAddedFocusCo;
|
18
|
+
const mostTopStartCoords = (_recentlyAddedFocusCo = recentlyAddedFocusCoords) !== null && _recentlyAddedFocusCo !== void 0 ? _recentlyAddedFocusCo : getMostTopStartPosition(hot);
|
20
19
|
if (mostTopStartCoords) {
|
21
20
|
hot.runHooks('modifyFocusOnTabNavigation', 'from_above', mostTopStartCoords);
|
22
21
|
hot.selectCell(mostTopStartCoords.row, mostTopStartCoords.col);
|
@@ -24,8 +23,8 @@ export function installFocusCatcher(hot) {
|
|
24
23
|
hot.listen();
|
25
24
|
},
|
26
25
|
onFocusFromBottom() {
|
27
|
-
var
|
28
|
-
const mostBottomEndCoords = (
|
26
|
+
var _recentlyAddedFocusCo2;
|
27
|
+
const mostBottomEndCoords = (_recentlyAddedFocusCo2 = recentlyAddedFocusCoords) !== null && _recentlyAddedFocusCo2 !== void 0 ? _recentlyAddedFocusCo2 : getMostBottomEndPosition(hot);
|
29
28
|
if (mostBottomEndCoords) {
|
30
29
|
hot.runHooks('modifyFocusOnTabNavigation', 'from_below', mostBottomEndCoords);
|
31
30
|
hot.selectCell(mostBottomEndCoords.row, mostBottomEndCoords.col);
|
@@ -39,12 +38,10 @@ export function installFocusCatcher(hot) {
|
|
39
38
|
};
|
40
39
|
let isSavingCoordsEnabled = true;
|
41
40
|
let isTabOrShiftTabPressed = false;
|
42
|
-
let preventViewportScroll = false;
|
43
41
|
hot.addHook('afterListen', () => deactivate());
|
44
42
|
hot.addHook('afterUnlisten', () => activate());
|
45
43
|
hot.addHook('afterSelection', (row, column, row2, column2, preventScrolling) => {
|
46
|
-
if (isTabOrShiftTabPressed &&
|
47
|
-
preventViewportScroll = false;
|
44
|
+
if (isTabOrShiftTabPressed && rowWrapState.wrapped && rowWrapState.flipped) {
|
48
45
|
preventScrolling.value = true;
|
49
46
|
}
|
50
47
|
if (isSavingCoordsEnabled) {
|
@@ -76,16 +73,10 @@ export function installFocusCatcher(hot) {
|
|
76
73
|
hot.getShortcutManager().getContext('grid').addShortcuts([{
|
77
74
|
...shortcutOptions,
|
78
75
|
callback: () => {
|
79
|
-
const {
|
80
|
-
tabNavigation
|
81
|
-
} = hot.getSettings();
|
82
76
|
isTabOrShiftTabPressed = true;
|
83
|
-
if (hot.getSelectedRangeLast() && !tabNavigation) {
|
77
|
+
if (hot.getSelectedRangeLast() && !hot.getSettings().tabNavigation) {
|
84
78
|
isSavingCoordsEnabled = false;
|
85
79
|
}
|
86
|
-
if (!tabNavigation) {
|
87
|
-
preventViewportScroll = true;
|
88
|
-
}
|
89
80
|
},
|
90
81
|
position: 'before'
|
91
82
|
}, {
|
@@ -170,33 +161,4 @@ function getMostBottomEndPosition(hot) {
|
|
170
161
|
endColumn = -1;
|
171
162
|
}
|
172
163
|
return hot._createCellCoords((_rowIndexMapper$getVi = rowIndexMapper.getVisualFromRenderableIndex(bottomRow)) !== null && _rowIndexMapper$getVi !== void 0 ? _rowIndexMapper$getVi : bottomRow, (_columnIndexMapper$ge = columnIndexMapper.getVisualFromRenderableIndex(endColumn)) !== null && _columnIndexMapper$ge !== void 0 ? _columnIndexMapper$ge : endColumn);
|
173
|
-
}
|
174
|
-
|
175
|
-
/**
|
176
|
-
* Normalizes the coordinates (clamps to nearest visible cell position within dataset range).
|
177
|
-
*
|
178
|
-
* @param {Core} hot The Handsontable instance.
|
179
|
-
* @returns {function(Coords | undefined): Coords | null}
|
180
|
-
*/
|
181
|
-
function normalizeCoordsIfNeeded(hot) {
|
182
|
-
return coords => {
|
183
|
-
if (!coords) {
|
184
|
-
return null;
|
185
|
-
}
|
186
|
-
const mostTopStartCoords = getMostTopStartPosition(hot);
|
187
|
-
const mostBottomEndCoords = getMostBottomEndPosition(hot);
|
188
|
-
if (coords.col < mostTopStartCoords.col) {
|
189
|
-
coords.col = mostTopStartCoords.col;
|
190
|
-
}
|
191
|
-
if (coords.col > mostBottomEndCoords.col) {
|
192
|
-
coords.col = mostBottomEndCoords.col;
|
193
|
-
}
|
194
|
-
if (coords.row < mostTopStartCoords.row) {
|
195
|
-
coords.row = mostTopStartCoords.row;
|
196
|
-
}
|
197
|
-
if (coords.row > mostBottomEndCoords.row) {
|
198
|
-
coords.row = mostBottomEndCoords.row;
|
199
|
-
}
|
200
|
-
return coords;
|
201
|
-
};
|
202
164
|
}
|
package/core.js
CHANGED
@@ -254,6 +254,7 @@ function Core(rootElement, userSettings) {
|
|
254
254
|
if (!this.rootElement.id || this.rootElement.id.substring(0, 3) === 'ht_') {
|
255
255
|
this.rootElement.id = this.guid; // if root element does not have an id, assign a random id
|
256
256
|
}
|
257
|
+
|
257
258
|
const visualToRenderableCoords = coords => {
|
258
259
|
const {
|
259
260
|
row: visualRow,
|
@@ -273,6 +274,7 @@ function Core(rootElement, userSettings) {
|
|
273
274
|
renderableRow >= 0 ? instance.rowIndexMapper.getVisualFromRenderableIndex(renderableRow) : renderableRow, renderableColumn >= 0 ? instance.columnIndexMapper.getVisualFromRenderableIndex(renderableColumn) : renderableColumn // eslint-disable-line max-len
|
274
275
|
);
|
275
276
|
};
|
277
|
+
|
276
278
|
let selection = new _selection.Selection(tableMeta, {
|
277
279
|
rowIndexMapper: instance.rowIndexMapper,
|
278
280
|
columnIndexMapper: instance.columnIndexMapper,
|
@@ -575,6 +577,7 @@ function Core(rootElement, userSettings) {
|
|
575
577
|
instance._refreshBorders(); // it will call render and prepare methods
|
576
578
|
}
|
577
579
|
}
|
580
|
+
|
578
581
|
break;
|
579
582
|
case 'insert_col_start':
|
580
583
|
case 'insert_col_end':
|
@@ -597,6 +600,7 @@ function Core(rootElement, userSettings) {
|
|
597
600
|
spliceArray.length += colDelta; // inserts empty (undefined) elements at the end of an array
|
598
601
|
Array.prototype.splice.apply(tableMeta.colHeaders, spliceArray); // inserts empty (undefined) elements into the colHeader array
|
599
602
|
}
|
603
|
+
|
600
604
|
const currentSelectedRange = selection.selectedRange.current();
|
601
605
|
const currentFromRange = currentSelectedRange === null || currentSelectedRange === void 0 ? void 0 : currentSelectedRange.from;
|
602
606
|
const currentFromColumn = currentFromRange === null || currentFromRange === void 0 ? void 0 : currentFromRange.col;
|
@@ -630,6 +634,7 @@ function Core(rootElement, userSettings) {
|
|
630
634
|
instance._refreshBorders(); // it will call render and prepare methods
|
631
635
|
}
|
632
636
|
}
|
637
|
+
|
633
638
|
break;
|
634
639
|
case 'remove_row':
|
635
640
|
const removeRow = indexes => {
|
@@ -725,6 +730,7 @@ function Core(rootElement, userSettings) {
|
|
725
730
|
grid.adjustRowsAndCols(); // makes sure that we did not add rows that will be removed in next refresh
|
726
731
|
}
|
727
732
|
},
|
733
|
+
|
728
734
|
/**
|
729
735
|
* Makes sure there are empty rows at the bottom of the table.
|
730
736
|
*
|
@@ -1180,6 +1186,7 @@ function Core(rootElement, userSettings) {
|
|
1180
1186
|
}
|
1181
1187
|
callback(isValid); // called when async validators are resolved and beforeChange was not async
|
1182
1188
|
};
|
1189
|
+
|
1183
1190
|
for (let i = changes.length - 1; i >= 0; i--) {
|
1184
1191
|
const [row, prop,, newValue] = changes[i];
|
1185
1192
|
const col = datamap.propToCol(prop);
|
@@ -1449,6 +1456,7 @@ function Core(rootElement, userSettings) {
|
|
1449
1456
|
if (typeof input[i][1] !== 'number') {
|
1450
1457
|
throw new Error('Method `setDataAtCell` accepts row and column number as its parameters. If you want to use object property name, use method `setDataAtRowProp`'); // eslint-disable-line max-len
|
1451
1458
|
}
|
1459
|
+
|
1452
1460
|
if (input[i][1] >= this.countCols()) {
|
1453
1461
|
prop = input[i][1];
|
1454
1462
|
} else {
|
@@ -1579,6 +1587,7 @@ function Core(rootElement, userSettings) {
|
|
1579
1587
|
if (!(typeof input === 'object' && typeof input[0] === 'object')) {
|
1580
1588
|
throw new Error('populateFromArray parameter `input` must be an array of arrays'); // API changed in 0.9-beta2, let's check if you use it correctly
|
1581
1589
|
}
|
1590
|
+
|
1582
1591
|
const c = typeof endRow === 'number' ? instance._createCellCoords(endRow, endCol) : null;
|
1583
1592
|
return grid.populateFromArray(instance._createCellCoords(row, column), input, c, source, method);
|
1584
1593
|
};
|
@@ -3479,6 +3488,7 @@ function Core(rootElement, userSettings) {
|
|
3479
3488
|
} else if (tableMeta.colHeaders && typeof tableMeta.colHeaders !== 'string' && typeof tableMeta.colHeaders !== 'number') {
|
3480
3489
|
result = (0, _data.spreadsheetColumnLabel)(columnIndex); // see #1458
|
3481
3490
|
}
|
3491
|
+
|
3482
3492
|
result = instance.runHooks('modifyColumnHeaderValue', result, column, headerLevel);
|
3483
3493
|
return result;
|
3484
3494
|
};
|
@@ -4109,6 +4119,7 @@ function Core(rootElement, userSettings) {
|
|
4109
4119
|
};
|
4110
4120
|
/* eslint-enable prefer-rest-params */
|
4111
4121
|
}
|
4122
|
+
|
4112
4123
|
const {
|
4113
4124
|
row,
|
4114
4125
|
col,
|
package/core.mjs
CHANGED
@@ -249,6 +249,7 @@ export default function Core(rootElement, userSettings) {
|
|
249
249
|
if (!this.rootElement.id || this.rootElement.id.substring(0, 3) === 'ht_') {
|
250
250
|
this.rootElement.id = this.guid; // if root element does not have an id, assign a random id
|
251
251
|
}
|
252
|
+
|
252
253
|
const visualToRenderableCoords = coords => {
|
253
254
|
const {
|
254
255
|
row: visualRow,
|
@@ -268,6 +269,7 @@ export default function Core(rootElement, userSettings) {
|
|
268
269
|
renderableRow >= 0 ? instance.rowIndexMapper.getVisualFromRenderableIndex(renderableRow) : renderableRow, renderableColumn >= 0 ? instance.columnIndexMapper.getVisualFromRenderableIndex(renderableColumn) : renderableColumn // eslint-disable-line max-len
|
269
270
|
);
|
270
271
|
};
|
272
|
+
|
271
273
|
let selection = new Selection(tableMeta, {
|
272
274
|
rowIndexMapper: instance.rowIndexMapper,
|
273
275
|
columnIndexMapper: instance.columnIndexMapper,
|
@@ -570,6 +572,7 @@ export default function Core(rootElement, userSettings) {
|
|
570
572
|
instance._refreshBorders(); // it will call render and prepare methods
|
571
573
|
}
|
572
574
|
}
|
575
|
+
|
573
576
|
break;
|
574
577
|
case 'insert_col_start':
|
575
578
|
case 'insert_col_end':
|
@@ -592,6 +595,7 @@ export default function Core(rootElement, userSettings) {
|
|
592
595
|
spliceArray.length += colDelta; // inserts empty (undefined) elements at the end of an array
|
593
596
|
Array.prototype.splice.apply(tableMeta.colHeaders, spliceArray); // inserts empty (undefined) elements into the colHeader array
|
594
597
|
}
|
598
|
+
|
595
599
|
const currentSelectedRange = selection.selectedRange.current();
|
596
600
|
const currentFromRange = currentSelectedRange === null || currentSelectedRange === void 0 ? void 0 : currentSelectedRange.from;
|
597
601
|
const currentFromColumn = currentFromRange === null || currentFromRange === void 0 ? void 0 : currentFromRange.col;
|
@@ -625,6 +629,7 @@ export default function Core(rootElement, userSettings) {
|
|
625
629
|
instance._refreshBorders(); // it will call render and prepare methods
|
626
630
|
}
|
627
631
|
}
|
632
|
+
|
628
633
|
break;
|
629
634
|
case 'remove_row':
|
630
635
|
const removeRow = indexes => {
|
@@ -720,6 +725,7 @@ export default function Core(rootElement, userSettings) {
|
|
720
725
|
grid.adjustRowsAndCols(); // makes sure that we did not add rows that will be removed in next refresh
|
721
726
|
}
|
722
727
|
},
|
728
|
+
|
723
729
|
/**
|
724
730
|
* Makes sure there are empty rows at the bottom of the table.
|
725
731
|
*
|
@@ -1175,6 +1181,7 @@ export default function Core(rootElement, userSettings) {
|
|
1175
1181
|
}
|
1176
1182
|
callback(isValid); // called when async validators are resolved and beforeChange was not async
|
1177
1183
|
};
|
1184
|
+
|
1178
1185
|
for (let i = changes.length - 1; i >= 0; i--) {
|
1179
1186
|
const [row, prop,, newValue] = changes[i];
|
1180
1187
|
const col = datamap.propToCol(prop);
|
@@ -1444,6 +1451,7 @@ export default function Core(rootElement, userSettings) {
|
|
1444
1451
|
if (typeof input[i][1] !== 'number') {
|
1445
1452
|
throw new Error('Method `setDataAtCell` accepts row and column number as its parameters. If you want to use object property name, use method `setDataAtRowProp`'); // eslint-disable-line max-len
|
1446
1453
|
}
|
1454
|
+
|
1447
1455
|
if (input[i][1] >= this.countCols()) {
|
1448
1456
|
prop = input[i][1];
|
1449
1457
|
} else {
|
@@ -1574,6 +1582,7 @@ export default function Core(rootElement, userSettings) {
|
|
1574
1582
|
if (!(typeof input === 'object' && typeof input[0] === 'object')) {
|
1575
1583
|
throw new Error('populateFromArray parameter `input` must be an array of arrays'); // API changed in 0.9-beta2, let's check if you use it correctly
|
1576
1584
|
}
|
1585
|
+
|
1577
1586
|
const c = typeof endRow === 'number' ? instance._createCellCoords(endRow, endCol) : null;
|
1578
1587
|
return grid.populateFromArray(instance._createCellCoords(row, column), input, c, source, method);
|
1579
1588
|
};
|
@@ -3474,6 +3483,7 @@ export default function Core(rootElement, userSettings) {
|
|
3474
3483
|
} else if (tableMeta.colHeaders && typeof tableMeta.colHeaders !== 'string' && typeof tableMeta.colHeaders !== 'number') {
|
3475
3484
|
result = spreadsheetColumnLabel(columnIndex); // see #1458
|
3476
3485
|
}
|
3486
|
+
|
3477
3487
|
result = instance.runHooks('modifyColumnHeaderValue', result, column, headerLevel);
|
3478
3488
|
return result;
|
3479
3489
|
};
|
@@ -4104,6 +4114,7 @@ export default function Core(rootElement, userSettings) {
|
|
4104
4114
|
};
|
4105
4115
|
/* eslint-enable prefer-rest-params */
|
4106
4116
|
}
|
4117
|
+
|
4107
4118
|
const {
|
4108
4119
|
row,
|
4109
4120
|
col,
|
package/dataMap/dataMap.js
CHANGED
@@ -33,7 +33,6 @@ The above copyright notice and this permission notice shall be included in all c
|
|
33
33
|
|
34
34
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
35
35
|
*/
|
36
|
-
|
37
36
|
/**
|
38
37
|
* Utility class that gets and saves data from/to the data source using mapping of columns numbers to object property names.
|
39
38
|
*
|
@@ -3573,7 +3573,7 @@ var _default = () => {
|
|
3573
3573
|
*
|
3574
3574
|
* @memberof Options#
|
3575
3575
|
* @type {boolean}
|
3576
|
-
* @default
|
3576
|
+
* @default undefined
|
3577
3577
|
* @category Core
|
3578
3578
|
*
|
3579
3579
|
* @example
|
@@ -3582,33 +3582,7 @@ var _default = () => {
|
|
3582
3582
|
* renderAllRows: true,
|
3583
3583
|
* ```
|
3584
3584
|
*/
|
3585
|
-
renderAllRows:
|
3586
|
-
/**
|
3587
|
-
* The `renderAllColumns` option configures Handsontable's [column virtualization](@/guides/columns/column-virtualization.md).
|
3588
|
-
*
|
3589
|
-
* You can set the `renderAllColumns` option to one of the following:
|
3590
|
-
*
|
3591
|
-
* | Setting | Description |
|
3592
|
-
* | ----------------- | -------------------------------------------------------------------------------------------------- |
|
3593
|
-
* | `false` (default) | Enable [column virtualization](@/guides/columns/column-virtualization.md) |
|
3594
|
-
* | `true` | Disable [column virtualization](@/guides/columns/column-virtualization.md)<br>(render all columns of the grid) |
|
3595
|
-
*
|
3596
|
-
* Read more:
|
3597
|
-
* - [Row virtualization](@/guides/columns/column-virtualization.md)
|
3598
|
-
*
|
3599
|
-
* @since 14.1.0
|
3600
|
-
* @memberof Options#
|
3601
|
-
* @type {boolean}
|
3602
|
-
* @default false
|
3603
|
-
* @category Core
|
3604
|
-
*
|
3605
|
-
* @example
|
3606
|
-
* ```js
|
3607
|
-
* // disable column virtualization
|
3608
|
-
* renderAllColumns: true,
|
3609
|
-
* ```
|
3610
|
-
*/
|
3611
|
-
renderAllColumns: false,
|
3585
|
+
renderAllRows: undefined,
|
3612
3586
|
/**
|
3613
3587
|
* @description
|
3614
3588
|
* The `renderer` option sets a [cell renderer](@/guides/cell-functions/cell-renderer.md) for a cell.
|
@@ -3570,7 +3570,7 @@ export default (() => {
|
|
3570
3570
|
*
|
3571
3571
|
* @memberof Options#
|
3572
3572
|
* @type {boolean}
|
3573
|
-
* @default
|
3573
|
+
* @default undefined
|
3574
3574
|
* @category Core
|
3575
3575
|
*
|
3576
3576
|
* @example
|
@@ -3579,33 +3579,7 @@ export default (() => {
|
|
3579
3579
|
* renderAllRows: true,
|
3580
3580
|
* ```
|
3581
3581
|
*/
|
3582
|
-
renderAllRows:
|
3583
|
-
/**
|
3584
|
-
* The `renderAllColumns` option configures Handsontable's [column virtualization](@/guides/columns/column-virtualization.md).
|
3585
|
-
*
|
3586
|
-
* You can set the `renderAllColumns` option to one of the following:
|
3587
|
-
*
|
3588
|
-
* | Setting | Description |
|
3589
|
-
* | ----------------- | -------------------------------------------------------------------------------------------------- |
|
3590
|
-
* | `false` (default) | Enable [column virtualization](@/guides/columns/column-virtualization.md) |
|
3591
|
-
* | `true` | Disable [column virtualization](@/guides/columns/column-virtualization.md)<br>(render all columns of the grid) |
|
3592
|
-
*
|
3593
|
-
* Read more:
|
3594
|
-
* - [Row virtualization](@/guides/columns/column-virtualization.md)
|
3595
|
-
*
|
3596
|
-
* @since 14.1.0
|
3597
|
-
* @memberof Options#
|
3598
|
-
* @type {boolean}
|
3599
|
-
* @default false
|
3600
|
-
* @category Core
|
3601
|
-
*
|
3602
|
-
* @example
|
3603
|
-
* ```js
|
3604
|
-
* // disable column virtualization
|
3605
|
-
* renderAllColumns: true,
|
3606
|
-
* ```
|
3607
|
-
*/
|
3608
|
-
renderAllColumns: false,
|
3582
|
+
renderAllRows: undefined,
|
3609
3583
|
/**
|
3610
3584
|
* @description
|
3611
3585
|
* The `renderer` option sets a [cell renderer](@/guides/cell-functions/cell-renderer.md) for a cell.
|
@@ -44,18 +44,6 @@ class ExtendMetaPropertiesMod {
|
|
44
44
|
throw new Error(`The \`${propName}\` option can not be updated after the Handsontable is initialized.`);
|
45
45
|
}
|
46
46
|
}
|
47
|
-
}], ['renderAllColumns', {
|
48
|
-
onChange(propName, value, isInitialChange) {
|
49
|
-
if (!isInitialChange) {
|
50
|
-
throw new Error(`The \`${propName}\` option can not be updated after the Handsontable is initialized.`);
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}], ['renderAllRows', {
|
54
|
-
onChange(propName, value, isInitialChange) {
|
55
|
-
if (!isInitialChange) {
|
56
|
-
throw new Error(`The \`${propName}\` option can not be updated after the Handsontable is initialized.`);
|
57
|
-
}
|
58
|
-
}
|
59
47
|
}]]));
|
60
48
|
this.metaManager = metaManager;
|
61
49
|
this.extendMetaProps();
|
@@ -41,18 +41,6 @@ export class ExtendMetaPropertiesMod {
|
|
41
41
|
throw new Error(`The \`${propName}\` option can not be updated after the Handsontable is initialized.`);
|
42
42
|
}
|
43
43
|
}
|
44
|
-
}], ['renderAllColumns', {
|
45
|
-
onChange(propName, value, isInitialChange) {
|
46
|
-
if (!isInitialChange) {
|
47
|
-
throw new Error(`The \`${propName}\` option can not be updated after the Handsontable is initialized.`);
|
48
|
-
}
|
49
|
-
}
|
50
|
-
}], ['renderAllRows', {
|
51
|
-
onChange(propName, value, isInitialChange) {
|
52
|
-
if (!isInitialChange) {
|
53
|
-
throw new Error(`The \`${propName}\` option can not be updated after the Handsontable is initialized.`);
|
54
|
-
}
|
55
|
-
}
|
56
44
|
}]]));
|
57
45
|
this.metaManager = metaManager;
|
58
46
|
this.extendMetaProps();
|
package/dist/handsontable.css
CHANGED
@@ -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: 30/11/2023 (built at
|
28
|
+
* Version: 0.0.0-next-3d099da-20231208
|
29
|
+
* Release date: 30/11/2023 (built at 08/12/2023 08:37:44)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|
@@ -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: 30/11/2023 (built at
|
28
|
+
* Version: 0.0.0-next-3d099da-20231208
|
29
|
+
* Release date: 30/11/2023 (built at 08/12/2023 08:37:44)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|