handsontable 0.0.0-next-6129043-20241108 → 0.0.0-next-e035192-20241108
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 +2 -1
- package/3rdparty/walkontable/src/calculator/index.mjs +2 -2
- package/3rdparty/walkontable/src/calculator/viewportBase.js +2 -0
- package/3rdparty/walkontable/src/calculator/viewportBase.mjs +2 -0
- package/3rdparty/walkontable/src/calculator/viewportRows.js +3 -3
- package/3rdparty/walkontable/src/calculator/viewportRows.mjs +3 -3
- package/3rdparty/walkontable/src/core/_base.js +0 -3
- package/3rdparty/walkontable/src/core/_base.mjs +0 -3
- package/3rdparty/walkontable/src/core/clone.js +0 -1
- package/3rdparty/walkontable/src/core/clone.mjs +0 -1
- package/3rdparty/walkontable/src/core/core.js +0 -2
- package/3rdparty/walkontable/src/core/core.mjs +0 -2
- package/3rdparty/walkontable/src/facade/core.js +0 -3
- package/3rdparty/walkontable/src/facade/core.mjs +0 -3
- package/3rdparty/walkontable/src/index.js +1 -0
- package/3rdparty/walkontable/src/index.mjs +2 -2
- package/3rdparty/walkontable/src/overlay/_base.js +3 -3
- package/3rdparty/walkontable/src/overlay/_base.mjs +3 -3
- package/3rdparty/walkontable/src/overlay/bottom.js +2 -2
- package/3rdparty/walkontable/src/overlay/bottom.mjs +2 -2
- package/3rdparty/walkontable/src/overlay/index.js +2 -0
- package/3rdparty/walkontable/src/overlay/top.js +1 -1
- package/3rdparty/walkontable/src/overlay/top.mjs +1 -1
- package/3rdparty/walkontable/src/overlays.js +3 -0
- package/3rdparty/walkontable/src/overlays.mjs +3 -0
- package/3rdparty/walkontable/src/renderer/index.js +2 -4
- package/3rdparty/walkontable/src/renderer/index.mjs +2 -4
- package/3rdparty/walkontable/src/renderer/table.js +3 -12
- package/3rdparty/walkontable/src/renderer/table.mjs +3 -12
- package/3rdparty/walkontable/src/selection/index.js +2 -0
- package/3rdparty/walkontable/src/selection/manager.js +3 -0
- package/3rdparty/walkontable/src/selection/manager.mjs +3 -0
- package/3rdparty/walkontable/src/settings.js +2 -0
- package/3rdparty/walkontable/src/settings.mjs +2 -0
- package/3rdparty/walkontable/src/table.js +11 -15
- package/3rdparty/walkontable/src/table.mjs +11 -15
- package/3rdparty/walkontable/src/types.js +0 -1
- package/3rdparty/walkontable/src/types.mjs +0 -1
- package/3rdparty/walkontable/src/utils/column.js +1 -1
- package/3rdparty/walkontable/src/utils/column.mjs +1 -1
- package/3rdparty/walkontable/src/viewport.js +1 -1
- package/3rdparty/walkontable/src/viewport.mjs +1 -1
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core/hooks/bucket.js +4 -0
- package/core/hooks/bucket.mjs +4 -0
- package/core/index.js +2 -0
- package/core.d.ts +0 -2
- package/core.js +4 -46
- package/core.mjs +4 -46
- package/dataMap/dataMap.js +3 -0
- package/dataMap/dataMap.mjs +3 -0
- package/dataMap/dataSource.js +2 -0
- package/dataMap/dataSource.mjs +2 -0
- package/dataMap/metaManager/index.js +2 -0
- package/dataMap/metaManager/index.mjs +2 -0
- package/dataMap/metaManager/metaSchema.js +3 -23
- package/dataMap/metaManager/metaSchema.mjs +3 -23
- package/dataMap/metaManager/mods/extendMetaProperties.js +2 -0
- package/dataMap/metaManager/mods/extendMetaProperties.mjs +2 -0
- package/dist/handsontable.css +9 -17
- package/dist/handsontable.full.css +240 -249
- package/dist/handsontable.full.js +11156 -4984
- package/dist/handsontable.full.min.css +9 -11
- package/dist/handsontable.full.min.js +242 -50
- package/dist/handsontable.js +4809 -4128
- package/dist/handsontable.min.css +4 -5
- package/dist/handsontable.min.js +33 -33
- package/dist/languages/all.js +1 -1
- package/dist/languages/ar-AR.js +1 -1
- package/dist/languages/cs-CZ.js +1 -1
- package/dist/languages/de-CH.js +1 -1
- package/dist/languages/de-DE.js +1 -1
- package/dist/languages/en-US.js +1 -1
- package/dist/languages/es-MX.js +1 -1
- package/dist/languages/fr-FR.js +1 -1
- package/dist/languages/hr-HR.js +1 -1
- package/dist/languages/it-IT.js +1 -1
- package/dist/languages/ja-JP.js +1 -1
- package/dist/languages/ko-KR.js +1 -1
- package/dist/languages/lv-LV.js +1 -1
- package/dist/languages/nb-NO.js +1 -1
- package/dist/languages/nl-NL.js +1 -1
- package/dist/languages/pl-PL.js +1 -1
- package/dist/languages/pt-BR.js +1 -1
- package/dist/languages/ru-RU.js +1 -1
- package/dist/languages/sr-SP.js +1 -1
- package/dist/languages/zh-CN.js +1 -1
- package/dist/languages/zh-TW.js +1 -1
- package/editors/autocompleteEditor/autocompleteEditor.js +5 -1
- package/editors/autocompleteEditor/autocompleteEditor.mjs +5 -1
- package/editors/baseEditor/baseEditor.js +1 -1
- package/editors/baseEditor/baseEditor.mjs +1 -1
- package/editors/dateEditor/dateEditor.js +0 -2
- package/editors/dateEditor/dateEditor.mjs +0 -2
- package/editors/dropdownEditor/dropdownEditor.js +2 -0
- package/editors/dropdownEditor/dropdownEditor.mjs +2 -0
- package/editors/handsontableEditor/handsontableEditor.js +8 -5
- package/editors/handsontableEditor/handsontableEditor.mjs +8 -5
- package/editors/selectEditor/selectEditor.js +9 -20
- package/editors/selectEditor/selectEditor.mjs +9 -20
- package/editors/textEditor/textEditor.js +11 -4
- package/editors/textEditor/textEditor.mjs +11 -4
- package/focusManager.js +5 -7
- package/focusManager.mjs +5 -7
- package/helpers/array.js +2 -0
- package/helpers/array.mjs +2 -0
- package/helpers/data.js +3 -0
- package/helpers/data.mjs +3 -0
- package/helpers/dom/element.js +3 -31
- package/helpers/dom/element.mjs +3 -30
- package/helpers/mixed.js +2 -2
- package/helpers/mixed.mjs +2 -2
- package/helpers/moves.js +3 -0
- package/helpers/moves.mjs +3 -0
- package/helpers/number.js +1 -0
- package/helpers/number.mjs +1 -0
- package/helpers/object.js +2 -0
- package/helpers/object.mjs +2 -0
- package/i18n/index.js +2 -0
- package/i18n/phraseFormatters/substituteVariables.js +1 -0
- package/i18n/phraseFormatters/substituteVariables.mjs +1 -0
- package/languages/all.js +1 -1
- package/languages/ar-AR.js +1 -1
- package/languages/cs-CZ.js +1 -1
- package/languages/de-CH.js +1 -1
- package/languages/de-DE.js +1 -1
- package/languages/en-US.js +1 -1
- package/languages/es-MX.js +1 -1
- package/languages/fr-FR.js +1 -1
- package/languages/hr-HR.js +1 -1
- package/languages/index.js +1 -1
- package/languages/it-IT.js +1 -1
- package/languages/ja-JP.js +1 -1
- package/languages/ko-KR.js +1 -1
- package/languages/lv-LV.js +1 -1
- package/languages/nb-NO.js +1 -1
- package/languages/nl-NL.js +1 -1
- package/languages/pl-PL.js +1 -1
- package/languages/pt-BR.js +1 -1
- package/languages/ru-RU.js +1 -1
- package/languages/sr-SP.js +1 -1
- package/languages/zh-CN.js +1 -1
- package/languages/zh-TW.js +1 -1
- package/package.json +5 -14
- package/plugins/autoColumnSize/autoColumnSize.js +4 -0
- package/plugins/autoColumnSize/autoColumnSize.mjs +4 -0
- package/plugins/autoRowSize/autoRowSize.js +4 -0
- package/plugins/autoRowSize/autoRowSize.mjs +4 -0
- package/plugins/base/base.js +2 -0
- package/plugins/base/base.mjs +2 -0
- package/plugins/columnSorting/columnSorting.js +2 -0
- package/plugins/columnSorting/columnSorting.mjs +2 -0
- package/plugins/columnSorting/columnStatesManager.js +1 -0
- package/plugins/columnSorting/columnStatesManager.mjs +1 -0
- package/plugins/columnSorting/utils.js +3 -0
- package/plugins/columnSorting/utils.mjs +3 -0
- package/plugins/columnSummary/endpoints.js +3 -0
- package/plugins/columnSummary/endpoints.mjs +3 -0
- package/plugins/comments/commentEditor.js +0 -9
- package/plugins/comments/commentEditor.mjs +0 -9
- package/plugins/comments/comments.js +0 -8
- package/plugins/comments/comments.mjs +0 -8
- package/plugins/comments/editorResizeObserver.js +2 -0
- package/plugins/comments/editorResizeObserver.mjs +2 -0
- package/plugins/contextMenu/contextMenu.d.ts +2 -1
- package/plugins/contextMenu/menu/index.js +2 -0
- package/plugins/contextMenu/menu/menu.js +4 -3
- package/plugins/contextMenu/menu/menu.mjs +4 -3
- package/plugins/contextMenu/menu/shortcuts.js +2 -0
- package/plugins/contextMenu/menu/shortcuts.mjs +2 -0
- package/plugins/copyPaste/copyPaste.d.ts +1 -0
- package/plugins/copyPaste/copyPaste.js +3 -0
- package/plugins/copyPaste/copyPaste.mjs +3 -0
- package/plugins/customBorders/utils.js +2 -0
- package/plugins/customBorders/utils.mjs +2 -0
- package/plugins/dropdownMenu/dropdownMenu.d.ts +2 -1
- package/plugins/exportFile/types/csv.js +1 -0
- package/plugins/exportFile/types/csv.mjs +1 -0
- package/plugins/filters/component/condition.js +2 -0
- package/plugins/filters/component/condition.mjs +2 -0
- package/plugins/filters/component/operators.js +2 -0
- package/plugins/filters/component/operators.mjs +2 -0
- package/plugins/filters/component/value.js +3 -0
- package/plugins/filters/component/value.mjs +3 -0
- package/plugins/filters/conditionCollection.js +3 -0
- package/plugins/filters/conditionCollection.mjs +3 -0
- package/plugins/filters/conditionUpdateObserver.js +2 -0
- package/plugins/filters/conditionUpdateObserver.mjs +2 -0
- package/plugins/filters/filters.js +4 -0
- package/plugins/filters/filters.mjs +4 -0
- package/plugins/filters/logicalOperations/conjunction.js +2 -0
- package/plugins/filters/logicalOperations/conjunction.mjs +2 -0
- package/plugins/filters/logicalOperations/disjunction.js +2 -0
- package/plugins/filters/logicalOperations/disjunction.mjs +2 -0
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.js +2 -0
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.mjs +2 -0
- package/plugins/filters/menu/focusController.js +2 -0
- package/plugins/filters/menu/focusController.mjs +2 -0
- package/plugins/filters/ui/multipleSelect.js +4 -0
- package/plugins/filters/ui/multipleSelect.mjs +4 -0
- package/plugins/formulas/engine/register.js +3 -0
- package/plugins/formulas/engine/register.mjs +3 -0
- package/plugins/formulas/engine/settings.js +3 -0
- package/plugins/formulas/engine/settings.mjs +3 -0
- package/plugins/formulas/formulas.js +5 -0
- package/plugins/formulas/formulas.mjs +5 -0
- package/plugins/formulas/indexSyncer/axisSyncer.js +3 -0
- package/plugins/formulas/indexSyncer/axisSyncer.mjs +3 -0
- package/plugins/hiddenColumns/contextMenuItem/showColumn.js +2 -0
- package/plugins/hiddenColumns/contextMenuItem/showColumn.mjs +2 -0
- package/plugins/hiddenColumns/hiddenColumns.js +3 -0
- package/plugins/hiddenColumns/hiddenColumns.mjs +3 -0
- package/plugins/hiddenRows/contextMenuItem/showRow.js +2 -0
- package/plugins/hiddenRows/contextMenuItem/showRow.mjs +2 -0
- package/plugins/hiddenRows/hiddenRows.js +3 -0
- package/plugins/hiddenRows/hiddenRows.mjs +3 -0
- package/plugins/manualColumnFreeze/manualColumnFreeze.js +2 -0
- package/plugins/manualColumnFreeze/manualColumnFreeze.mjs +2 -0
- package/plugins/manualColumnMove/manualColumnMove.js +2 -0
- package/plugins/manualColumnMove/manualColumnMove.mjs +2 -0
- package/plugins/manualColumnResize/manualColumnResize.js +2 -0
- package/plugins/manualColumnResize/manualColumnResize.mjs +2 -0
- package/plugins/manualRowMove/manualRowMove.js +3 -1
- package/plugins/manualRowMove/manualRowMove.mjs +3 -1
- package/plugins/manualRowResize/manualRowResize.js +4 -1
- package/plugins/manualRowResize/manualRowResize.mjs +5 -2
- package/plugins/mergeCells/cellsCollection.js +4 -0
- package/plugins/mergeCells/cellsCollection.mjs +4 -0
- package/plugins/mergeCells/mergeCells.js +6 -1
- package/plugins/mergeCells/mergeCells.mjs +6 -1
- package/plugins/multiColumnSorting/domHelpers.js +2 -0
- package/plugins/multiColumnSorting/domHelpers.mjs +2 -0
- package/plugins/nestedHeaders/nestedHeaders.js +2 -0
- package/plugins/nestedHeaders/nestedHeaders.mjs +2 -0
- package/plugins/nestedHeaders/stateManager/index.js +1 -0
- package/plugins/nestedHeaders/stateManager/index.mjs +1 -0
- package/plugins/nestedRows/nestedRows.js +3 -0
- package/plugins/nestedRows/nestedRows.mjs +3 -0
- package/plugins/nestedRows/ui/headers.js +1 -7
- package/plugins/nestedRows/ui/headers.mjs +1 -7
- package/plugins/nestedRows/utils/rowMoveController.js +4 -0
- package/plugins/nestedRows/utils/rowMoveController.mjs +4 -0
- package/plugins/stretchColumns/calculator.js +3 -2
- package/plugins/stretchColumns/calculator.mjs +4 -3
- package/plugins/stretchColumns/strategies/all.js +3 -0
- package/plugins/stretchColumns/strategies/all.mjs +3 -0
- package/plugins/stretchColumns/strategies/last.js +2 -0
- package/plugins/stretchColumns/strategies/last.mjs +2 -0
- package/plugins/stretchColumns/stretchColumns.js +2 -0
- package/plugins/stretchColumns/stretchColumns.mjs +2 -0
- package/plugins/trimRows/trimRows.js +2 -0
- package/plugins/trimRows/trimRows.mjs +2 -0
- package/plugins/undoRedo/undoRedo.js +5 -0
- package/plugins/undoRedo/undoRedo.mjs +5 -0
- package/renderers/checkboxRenderer/checkboxRenderer.js +3 -0
- package/renderers/checkboxRenderer/checkboxRenderer.mjs +3 -0
- package/selection/index.js +2 -0
- package/selection/range.js +2 -0
- package/selection/range.mjs +2 -0
- package/selection/selection.js +3 -0
- package/selection/selection.mjs +3 -0
- package/selection/utils.js +2 -0
- package/selection/utils.mjs +2 -0
- package/settings.d.ts +0 -1
- package/shortcutContexts/commands/index.js +2 -0
- package/shortcutContexts/commands/index.mjs +2 -0
- package/shortcutContexts/index.js +2 -0
- package/shortcutContexts/index.mjs +2 -0
- package/shortcuts/context.js +3 -0
- package/shortcuts/context.mjs +3 -0
- package/shortcuts/utils.js +1 -0
- package/shortcuts/utils.mjs +1 -0
- package/tableView.js +0 -46
- package/tableView.mjs +1 -47
- package/translations/changesObservable/observable.js +2 -0
- package/translations/changesObservable/observable.mjs +2 -0
- package/translations/index.js +2 -0
- package/translations/indexMapper.js +4 -0
- package/translations/indexMapper.mjs +4 -0
- package/translations/mapCollections/index.js +2 -0
- package/translations/mapCollections/mapCollection.js +2 -0
- package/translations/mapCollections/mapCollection.mjs +2 -0
- package/translations/maps/index.js +2 -0
- package/translations/maps/linkedPhysicalIndexToValueMap.js +1 -0
- package/translations/maps/linkedPhysicalIndexToValueMap.mjs +1 -0
- package/translations/maps/utils/actionsOnIndexes.js +2 -0
- package/translations/maps/utils/actionsOnIndexes.mjs +2 -0
- package/translations/maps/utils/physicallyIndexed.js +1 -0
- package/translations/maps/utils/physicallyIndexed.mjs +1 -0
- package/utils/autoResize.js +1 -4
- package/utils/autoResize.mjs +1 -4
- package/utils/dataStructures/priorityMap.js +1 -0
- package/utils/dataStructures/priorityMap.mjs +1 -0
- package/utils/dataStructures/uniqueMap.js +2 -0
- package/utils/dataStructures/uniqueMap.mjs +2 -0
- package/utils/ghostTable.js +5 -5
- package/utils/ghostTable.mjs +5 -5
- package/utils/parseTable.js +4 -0
- package/utils/parseTable.mjs +4 -0
- package/3rdparty/walkontable/src/utils/stylesHandler.js +0 -271
- package/3rdparty/walkontable/src/utils/stylesHandler.mjs +0 -267
- package/helpers/themes.js +0 -17
- package/helpers/themes.mjs +0 -13
- package/styles/handsontable.css +0 -2053
- package/styles/handsontable.min.css +0 -30
- package/styles/ht-theme-horizon.css +0 -571
- package/styles/ht-theme-horizon.min.css +0 -30
- package/styles/ht-theme-main.css +0 -575
- package/styles/ht-theme-main.min.css +0 -30
@@ -1,5 +1,7 @@
|
|
1
1
|
import "core-js/modules/es.error.cause.js";
|
2
2
|
import "core-js/modules/es.array.push.js";
|
3
|
+
import "core-js/modules/esnext.iterator.constructor.js";
|
4
|
+
import "core-js/modules/esnext.iterator.for-each.js";
|
3
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
4
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
5
7
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
@@ -111,8 +113,7 @@ class Table {
|
|
111
113
|
TBODY: this.TBODY,
|
112
114
|
rowUtils: this.rowUtils,
|
113
115
|
columnUtils: this.columnUtils,
|
114
|
-
cellRenderer: this.wtSettings.getSettingPure('cellRenderer')
|
115
|
-
stylesHandler: this.dataAccessObject.stylesHandler
|
116
|
+
cellRenderer: this.wtSettings.getSettingPure('cellRenderer')
|
116
117
|
});
|
117
118
|
}
|
118
119
|
|
@@ -348,7 +349,7 @@ class Table {
|
|
348
349
|
markIfOversizedColumnHeader(col) {
|
349
350
|
const sourceColIndex = this.columnFilter.renderedToSource(col);
|
350
351
|
let level = this.wtSettings.getSetting('columnHeaders').length;
|
351
|
-
const defaultRowHeight = this.
|
352
|
+
const defaultRowHeight = this.wtSettings.getSetting('defaultRowHeight');
|
352
353
|
let previousColHeaderHeight;
|
353
354
|
let currentHeader;
|
354
355
|
let currentHeaderHeight;
|
@@ -626,13 +627,10 @@ class Table {
|
|
626
627
|
return;
|
627
628
|
}
|
628
629
|
let rowCount = this.TBODY.childNodes.length;
|
629
|
-
const expectedTableHeight = rowCount * this.
|
630
|
+
const expectedTableHeight = rowCount * this.wtSettings.getSetting('defaultRowHeight');
|
630
631
|
const actualTableHeight = innerHeight(this.TBODY) - 1;
|
631
|
-
const borderBoxSizing = this.wot.stylesHandler.areCellsBorderBox();
|
632
|
-
const rowHeightFn = borderBoxSizing ? outerHeight : innerHeight;
|
633
|
-
const borderCompensation = borderBoxSizing ? 0 : 1;
|
634
632
|
let previousRowHeight;
|
635
|
-
let
|
633
|
+
let rowInnerHeight;
|
636
634
|
let sourceRowIndex;
|
637
635
|
let currentTr;
|
638
636
|
let rowHeader;
|
@@ -647,15 +645,13 @@ class Table {
|
|
647
645
|
currentTr = this.getTrForRow(sourceRowIndex);
|
648
646
|
rowHeader = currentTr.querySelector('th');
|
649
647
|
if (rowHeader) {
|
650
|
-
|
648
|
+
rowInnerHeight = innerHeight(rowHeader);
|
651
649
|
} else {
|
652
|
-
|
650
|
+
rowInnerHeight = innerHeight(currentTr) - 1;
|
653
651
|
}
|
654
|
-
if (!previousRowHeight && this.
|
655
|
-
|
656
|
-
|
657
|
-
}
|
658
|
-
this.dataAccessObject.wtViewport.oversizedRows[sourceRowIndex] = rowCurrentHeight;
|
652
|
+
if (!previousRowHeight && this.wtSettings.getSetting('defaultRowHeight') < rowInnerHeight || previousRowHeight < rowInnerHeight) {
|
653
|
+
rowInnerHeight += 1;
|
654
|
+
this.dataAccessObject.wtViewport.oversizedRows[sourceRowIndex] = rowInnerHeight;
|
659
655
|
}
|
660
656
|
}
|
661
657
|
}
|
@@ -66,7 +66,6 @@
|
|
66
66
|
* @property {Walkontable} cloneSource CloneSource.
|
67
67
|
* @property {Walkontable} wot Wot.
|
68
68
|
* @property {number} parentTableOffset ParentTableOffset.
|
69
|
-
* @property {StylesHandler} stylesHandler StylesHandler.
|
70
69
|
* @property {number|null} startColumnRendered StartColumnRendered.
|
71
70
|
* @property {number|null} startColumnVisible StartColumnVisible.
|
72
71
|
* @property {number|null} endColumnRendered EndColumnRendered.
|
@@ -66,7 +66,6 @@
|
|
66
66
|
* @property {Walkontable} cloneSource CloneSource.
|
67
67
|
* @property {Walkontable} wot Wot.
|
68
68
|
* @property {number} parentTableOffset ParentTableOffset.
|
69
|
-
* @property {StylesHandler} stylesHandler StylesHandler.
|
70
69
|
* @property {number|null} startColumnRendered StartColumnRendered.
|
71
70
|
* @property {number|null} startColumnVisible StartColumnVisible.
|
72
71
|
* @property {number|null} endColumnRendered EndColumnRendered.
|
@@ -50,7 +50,7 @@ class ColumnUtils {
|
|
50
50
|
* @returns {number}
|
51
51
|
*/
|
52
52
|
getHeaderHeight(level) {
|
53
|
-
let height = this.
|
53
|
+
let height = this.wtSettings.getSetting('defaultRowHeight');
|
54
54
|
const oversizedHeight = this.dataAccessObject.wtViewport.oversizedColumnHeaders[level];
|
55
55
|
if (oversizedHeight !== undefined) {
|
56
56
|
height = height ? Math.max(height, oversizedHeight) : oversizedHeight;
|
@@ -47,7 +47,7 @@ export default class ColumnUtils {
|
|
47
47
|
* @returns {number}
|
48
48
|
*/
|
49
49
|
getHeaderHeight(level) {
|
50
|
-
let height = this.
|
50
|
+
let height = this.wtSettings.getSetting('defaultRowHeight');
|
51
51
|
const oversizedHeight = this.dataAccessObject.wtViewport.oversizedColumnHeaders[level];
|
52
52
|
if (oversizedHeight !== undefined) {
|
53
53
|
height = height ? Math.max(height, oversizedHeight) : oversizedHeight;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
|
+
require("core-js/modules/esnext.iterator.map.js");
|
4
5
|
var _element = require("../../../helpers/dom/element");
|
5
6
|
var _object = require("../../../helpers/object");
|
6
7
|
var _calculator = require("./calculator");
|
@@ -263,7 +264,6 @@ class Viewport {
|
|
263
264
|
viewportHeight: height,
|
264
265
|
scrollOffset: pos,
|
265
266
|
totalRows: wtSettings.getSetting('totalRows'),
|
266
|
-
defaultRowHeight: this.instance.stylesHandler.getDefaultRowHeight(),
|
267
267
|
rowHeightFn: sourceRow => wtTable.getRowHeight(sourceRow),
|
268
268
|
overrideFn: wtSettings.getSettingPure('viewportRowCalculatorOverride'),
|
269
269
|
horizontalScrollbarHeight: scrollbarHeight
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import "core-js/modules/esnext.iterator.map.js";
|
1
2
|
import { getScrollbarWidth, offset, outerHeight, outerWidth } from "../../../helpers/dom/element.mjs";
|
2
3
|
import { objectEach } from "../../../helpers/object.mjs";
|
3
4
|
import { FullyVisibleColumnsCalculationType, FullyVisibleRowsCalculationType, PartiallyVisibleColumnsCalculationType, PartiallyVisibleRowsCalculationType, RenderedAllColumnsCalculationType, RenderedAllRowsCalculationType, RenderedColumnsCalculationType, RenderedRowsCalculationType, ViewportColumnsCalculator, ViewportRowsCalculator } from "./calculator/index.mjs";
|
@@ -260,7 +261,6 @@ class Viewport {
|
|
260
261
|
viewportHeight: height,
|
261
262
|
scrollOffset: pos,
|
262
263
|
totalRows: wtSettings.getSetting('totalRows'),
|
263
|
-
defaultRowHeight: this.instance.stylesHandler.getDefaultRowHeight(),
|
264
264
|
rowHeightFn: sourceRow => wtTable.getRowHeight(sourceRow),
|
265
265
|
overrideFn: wtSettings.getSettingPure('viewportRowCalculatorOverride'),
|
266
266
|
horizontalScrollbarHeight: scrollbarHeight
|
package/base.js
CHANGED
@@ -45,8 +45,8 @@ Handsontable.hooks = _hooks.Hooks.getSingleton();
|
|
45
45
|
Handsontable.CellCoords = _src.CellCoords;
|
46
46
|
Handsontable.CellRange = _src.CellRange;
|
47
47
|
Handsontable.packageName = 'handsontable';
|
48
|
-
Handsontable.buildDate = "08/11/2024
|
49
|
-
Handsontable.version = "0.0.0-next-
|
48
|
+
Handsontable.buildDate = "08/11/2024 12:17:12";
|
49
|
+
Handsontable.version = "0.0.0-next-e035192-20241108";
|
50
50
|
Handsontable.languages = {
|
51
51
|
dictionaryKeys: _registry.dictionaryKeys,
|
52
52
|
getLanguageDictionary: _registry.getLanguageDictionary,
|
package/base.mjs
CHANGED
@@ -35,8 +35,8 @@ Handsontable.hooks = Hooks.getSingleton();
|
|
35
35
|
Handsontable.CellCoords = CellCoords;
|
36
36
|
Handsontable.CellRange = CellRange;
|
37
37
|
Handsontable.packageName = 'handsontable';
|
38
|
-
Handsontable.buildDate = "08/11/2024
|
39
|
-
Handsontable.version = "0.0.0-next-
|
38
|
+
Handsontable.buildDate = "08/11/2024 12:17:17";
|
39
|
+
Handsontable.version = "0.0.0-next-e035192-20241108";
|
40
40
|
Handsontable.languages = {
|
41
41
|
dictionaryKeys,
|
42
42
|
getLanguageDictionary,
|
package/core/hooks/bucket.js
CHANGED
@@ -11,6 +11,10 @@ require("core-js/modules/es.set.is-subset-of.v2.js");
|
|
11
11
|
require("core-js/modules/es.set.is-superset-of.v2.js");
|
12
12
|
require("core-js/modules/es.set.symmetric-difference.v2.js");
|
13
13
|
require("core-js/modules/es.set.union.v2.js");
|
14
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
15
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
16
|
+
require("core-js/modules/esnext.iterator.find.js");
|
17
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
14
18
|
var _constants = require("./constants");
|
15
19
|
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
16
20
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
package/core/hooks/bucket.mjs
CHANGED
@@ -8,6 +8,10 @@ import "core-js/modules/es.set.is-subset-of.v2.js";
|
|
8
8
|
import "core-js/modules/es.set.is-superset-of.v2.js";
|
9
9
|
import "core-js/modules/es.set.symmetric-difference.v2.js";
|
10
10
|
import "core-js/modules/es.set.union.v2.js";
|
11
|
+
import "core-js/modules/esnext.iterator.constructor.js";
|
12
|
+
import "core-js/modules/esnext.iterator.filter.js";
|
13
|
+
import "core-js/modules/esnext.iterator.find.js";
|
14
|
+
import "core-js/modules/esnext.iterator.for-each.js";
|
11
15
|
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
12
16
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
13
17
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
package/core/index.js
CHANGED
package/core.d.ts
CHANGED
@@ -73,7 +73,6 @@ export default class Core {
|
|
73
73
|
getCoords(element: Element | null): CellCoords;
|
74
74
|
getCopyableData(row: number, column: number): string;
|
75
75
|
getCopyableText(startRow: number, startColumn: number, endRow: number, endColumn: number): string;
|
76
|
-
getCurrentThemeName(): string | undefined;
|
77
76
|
getData(row?: number, column?: number, row2?: number, column2?: number): CellValue[];
|
78
77
|
getDataAtCell(row: number, column: number): CellValue;
|
79
78
|
getDataAtCol(column: number): CellValue[];
|
@@ -180,7 +179,6 @@ export default class Core {
|
|
180
179
|
unlisten(): void;
|
181
180
|
updateData(data: CellValue[][] | RowObject[], source?: string): void;
|
182
181
|
updateSettings(settings: GridSettings, init?: boolean): void;
|
183
|
-
useTheme(themeName: string|undefined): void;
|
184
182
|
validateCell(value: any, cellProperties: CellProperties, callback: (valid: boolean) => void, source: string): void;
|
185
183
|
validateCells(callback?: (valid: boolean) => void): void;
|
186
184
|
validateColumns(columns: number[], callback?: (valid: boolean) => void): void;
|
package/core.js
CHANGED
@@ -11,6 +11,10 @@ require("core-js/modules/es.set.is-subset-of.v2.js");
|
|
11
11
|
require("core-js/modules/es.set.is-superset-of.v2.js");
|
12
12
|
require("core-js/modules/es.set.symmetric-difference.v2.js");
|
13
13
|
require("core-js/modules/es.set.union.v2.js");
|
14
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
15
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
16
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
17
|
+
require("core-js/modules/esnext.iterator.map.js");
|
14
18
|
require("core-js/modules/web.immediate.js");
|
15
19
|
var _element = require("./helpers/dom/element");
|
16
20
|
var _function = require("./helpers/function");
|
@@ -43,7 +47,6 @@ var _index3 = require("./core/index");
|
|
43
47
|
var _uniqueMap = require("./utils/dataStructures/uniqueMap");
|
44
48
|
var _shortcuts = require("./shortcuts");
|
45
49
|
var _shortcutContexts = require("./shortcutContexts");
|
46
|
-
var _themes = require("./helpers/themes");
|
47
50
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
48
51
|
let activeGuid = null;
|
49
52
|
|
@@ -231,7 +234,6 @@ function Core(rootElement, userSettings) {
|
|
231
234
|
rootElement.insertBefore(this.container, rootElement.firstChild);
|
232
235
|
if ((0, _rootInstance.isRootInstance)(this)) {
|
233
236
|
(0, _mixed._injectProductInfo)(userSettings.licenseKey, rootElement);
|
234
|
-
(0, _element.addClass)(rootElement, 'ht-wrapper');
|
235
237
|
}
|
236
238
|
this.guid = `ht_${(0, _string.randomString)()}`; // this is the namespace for global events
|
237
239
|
|
@@ -1032,13 +1034,6 @@ function Core(rootElement, userSettings) {
|
|
1032
1034
|
}
|
1033
1035
|
this.updateSettings(tableMeta, true);
|
1034
1036
|
this.view = new _tableView.default(this);
|
1035
|
-
const themeName = tableMeta.themeName || (0, _themes.getThemeClassName)(instance.rootElement);
|
1036
|
-
|
1037
|
-
// Use the theme defined as a root element class or in the settings (in that order).
|
1038
|
-
instance.useTheme(themeName);
|
1039
|
-
|
1040
|
-
// Add the theme class name to the license info element.
|
1041
|
-
instance.view.addClassNameToLicenseElement(instance.getCurrentThemeName());
|
1042
1037
|
editorManager = _editorManager.default.getInstance(instance, tableMeta, selection);
|
1043
1038
|
viewportScroller = (0, _index3.createViewportScroller)(instance);
|
1044
1039
|
focusManager = new _focusManager.FocusManager(instance);
|
@@ -2392,19 +2387,6 @@ function Core(rootElement, userSettings) {
|
|
2392
2387
|
if (instance.view) {
|
2393
2388
|
instance.view._wt.wtViewport.resetHasOversizedColumnHeadersMarked();
|
2394
2389
|
instance.view._wt.exportSettingsAsClassNames();
|
2395
|
-
const currentThemeName = instance.getCurrentThemeName();
|
2396
|
-
const themeNameOptionExists = (0, _object.hasOwnProperty)(settings, 'themeName');
|
2397
|
-
if (currentThemeName && themeNameOptionExists) {
|
2398
|
-
instance.view.getStylesHandler().removeClassNames();
|
2399
|
-
instance.view.removeClassNameFromLicenseElement(currentThemeName);
|
2400
|
-
}
|
2401
|
-
const themeName = themeNameOptionExists && settings.themeName || (0, _themes.getThemeClassName)(instance.rootElement);
|
2402
|
-
|
2403
|
-
// Use the theme defined as a root element class or in the settings (in that order).
|
2404
|
-
instance.useTheme(themeName);
|
2405
|
-
|
2406
|
-
// Add the theme class name to the license info element.
|
2407
|
-
instance.view.addClassNameToLicenseElement(instance.getCurrentThemeName());
|
2408
2390
|
}
|
2409
2391
|
instance.runHooks('afterUpdateSettings', settings);
|
2410
2392
|
}
|
@@ -4608,30 +4590,6 @@ function Core(rootElement, userSettings) {
|
|
4608
4590
|
};
|
4609
4591
|
this.timeouts = [];
|
4610
4592
|
|
4611
|
-
/**
|
4612
|
-
* Use the theme specified by the provided name.
|
4613
|
-
*
|
4614
|
-
* @memberof Core#
|
4615
|
-
* @function useTheme
|
4616
|
-
* @since 15.0.0
|
4617
|
-
* @param {string|boolean|undefined} themeName The name of the theme to use.
|
4618
|
-
*/
|
4619
|
-
this.useTheme = themeName => {
|
4620
|
-
this.view.getStylesHandler().useTheme(themeName);
|
4621
|
-
};
|
4622
|
-
|
4623
|
-
/**
|
4624
|
-
* Gets the name of the currently used theme.
|
4625
|
-
*
|
4626
|
-
* @memberof Core#
|
4627
|
-
* @function getCurrentThemeName
|
4628
|
-
* @since 15.0.0
|
4629
|
-
* @returns {string|undefined} The name of the currently used theme.
|
4630
|
-
*/
|
4631
|
-
this.getCurrentThemeName = () => {
|
4632
|
-
return this.view.getStylesHandler().getThemeName();
|
4633
|
-
};
|
4634
|
-
|
4635
4593
|
/**
|
4636
4594
|
* Sets timeout. Purpose of this method is to clear all known timeouts when `destroy` method is called.
|
4637
4595
|
*
|
package/core.mjs
CHANGED
@@ -7,6 +7,10 @@ import "core-js/modules/es.set.is-subset-of.v2.js";
|
|
7
7
|
import "core-js/modules/es.set.is-superset-of.v2.js";
|
8
8
|
import "core-js/modules/es.set.symmetric-difference.v2.js";
|
9
9
|
import "core-js/modules/es.set.union.v2.js";
|
10
|
+
import "core-js/modules/esnext.iterator.constructor.js";
|
11
|
+
import "core-js/modules/esnext.iterator.filter.js";
|
12
|
+
import "core-js/modules/esnext.iterator.for-each.js";
|
13
|
+
import "core-js/modules/esnext.iterator.map.js";
|
10
14
|
import "core-js/modules/web.immediate.js";
|
11
15
|
import { addClass, empty, observeVisibilityChangeOnce, removeClass } from "./helpers/dom/element.mjs";
|
12
16
|
import { isFunction } from "./helpers/function.mjs";
|
@@ -39,7 +43,6 @@ import { installFocusCatcher, createViewportScroller } from "./core/index.mjs";
|
|
39
43
|
import { createUniqueMap } from "./utils/dataStructures/uniqueMap.mjs";
|
40
44
|
import { createShortcutManager } from "./shortcuts/index.mjs";
|
41
45
|
import { registerAllShortcutContexts } from "./shortcutContexts/index.mjs";
|
42
|
-
import { getThemeClassName } from "./helpers/themes.mjs";
|
43
46
|
let activeGuid = null;
|
44
47
|
|
45
48
|
/**
|
@@ -226,7 +229,6 @@ export default function Core(rootElement, userSettings) {
|
|
226
229
|
rootElement.insertBefore(this.container, rootElement.firstChild);
|
227
230
|
if (isRootInstance(this)) {
|
228
231
|
_injectProductInfo(userSettings.licenseKey, rootElement);
|
229
|
-
addClass(rootElement, 'ht-wrapper');
|
230
232
|
}
|
231
233
|
this.guid = `ht_${randomString()}`; // this is the namespace for global events
|
232
234
|
|
@@ -1027,13 +1029,6 @@ export default function Core(rootElement, userSettings) {
|
|
1027
1029
|
}
|
1028
1030
|
this.updateSettings(tableMeta, true);
|
1029
1031
|
this.view = new TableView(this);
|
1030
|
-
const themeName = tableMeta.themeName || getThemeClassName(instance.rootElement);
|
1031
|
-
|
1032
|
-
// Use the theme defined as a root element class or in the settings (in that order).
|
1033
|
-
instance.useTheme(themeName);
|
1034
|
-
|
1035
|
-
// Add the theme class name to the license info element.
|
1036
|
-
instance.view.addClassNameToLicenseElement(instance.getCurrentThemeName());
|
1037
1032
|
editorManager = EditorManager.getInstance(instance, tableMeta, selection);
|
1038
1033
|
viewportScroller = createViewportScroller(instance);
|
1039
1034
|
focusManager = new FocusManager(instance);
|
@@ -2387,19 +2382,6 @@ export default function Core(rootElement, userSettings) {
|
|
2387
2382
|
if (instance.view) {
|
2388
2383
|
instance.view._wt.wtViewport.resetHasOversizedColumnHeadersMarked();
|
2389
2384
|
instance.view._wt.exportSettingsAsClassNames();
|
2390
|
-
const currentThemeName = instance.getCurrentThemeName();
|
2391
|
-
const themeNameOptionExists = hasOwnProperty(settings, 'themeName');
|
2392
|
-
if (currentThemeName && themeNameOptionExists) {
|
2393
|
-
instance.view.getStylesHandler().removeClassNames();
|
2394
|
-
instance.view.removeClassNameFromLicenseElement(currentThemeName);
|
2395
|
-
}
|
2396
|
-
const themeName = themeNameOptionExists && settings.themeName || getThemeClassName(instance.rootElement);
|
2397
|
-
|
2398
|
-
// Use the theme defined as a root element class or in the settings (in that order).
|
2399
|
-
instance.useTheme(themeName);
|
2400
|
-
|
2401
|
-
// Add the theme class name to the license info element.
|
2402
|
-
instance.view.addClassNameToLicenseElement(instance.getCurrentThemeName());
|
2403
2385
|
}
|
2404
2386
|
instance.runHooks('afterUpdateSettings', settings);
|
2405
2387
|
}
|
@@ -4603,30 +4585,6 @@ export default function Core(rootElement, userSettings) {
|
|
4603
4585
|
};
|
4604
4586
|
this.timeouts = [];
|
4605
4587
|
|
4606
|
-
/**
|
4607
|
-
* Use the theme specified by the provided name.
|
4608
|
-
*
|
4609
|
-
* @memberof Core#
|
4610
|
-
* @function useTheme
|
4611
|
-
* @since 15.0.0
|
4612
|
-
* @param {string|boolean|undefined} themeName The name of the theme to use.
|
4613
|
-
*/
|
4614
|
-
this.useTheme = themeName => {
|
4615
|
-
this.view.getStylesHandler().useTheme(themeName);
|
4616
|
-
};
|
4617
|
-
|
4618
|
-
/**
|
4619
|
-
* Gets the name of the currently used theme.
|
4620
|
-
*
|
4621
|
-
* @memberof Core#
|
4622
|
-
* @function getCurrentThemeName
|
4623
|
-
* @since 15.0.0
|
4624
|
-
* @returns {string|undefined} The name of the currently used theme.
|
4625
|
-
*/
|
4626
|
-
this.getCurrentThemeName = () => {
|
4627
|
-
return this.view.getStylesHandler().getThemeName();
|
4628
|
-
};
|
4629
|
-
|
4630
4588
|
/**
|
4631
4589
|
* Sets timeout. Purpose of this method is to clear all known timeouts when `destroy` method is called.
|
4632
4590
|
*
|
package/dataMap/dataMap.js
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
require("core-js/modules/es.error.cause.js");
|
5
5
|
require("core-js/modules/es.array.push.js");
|
6
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
7
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
8
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
6
9
|
var _SheetClip = require("../3rdparty/SheetClip");
|
7
10
|
var _data = require("../helpers/data");
|
8
11
|
var _object = require("../helpers/object");
|
package/dataMap/dataMap.mjs
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
import "core-js/modules/es.error.cause.js";
|
2
2
|
import "core-js/modules/es.array.push.js";
|
3
|
+
import "core-js/modules/esnext.iterator.constructor.js";
|
4
|
+
import "core-js/modules/esnext.iterator.filter.js";
|
5
|
+
import "core-js/modules/esnext.iterator.for-each.js";
|
3
6
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
4
7
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
5
8
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
package/dataMap/dataSource.js
CHANGED
@@ -3,6 +3,8 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
require("core-js/modules/es.error.cause.js");
|
5
5
|
require("core-js/modules/es.array.push.js");
|
6
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
7
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
6
8
|
var _object = require("../helpers/object");
|
7
9
|
var _data = require("../helpers/data");
|
8
10
|
var _array = require("../helpers/array");
|
package/dataMap/dataSource.mjs
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
import "core-js/modules/es.error.cause.js";
|
2
2
|
import "core-js/modules/es.array.push.js";
|
3
|
+
import "core-js/modules/esnext.iterator.constructor.js";
|
4
|
+
import "core-js/modules/esnext.iterator.for-each.js";
|
3
5
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
4
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
5
7
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
require("core-js/modules/es.error.cause.js");
|
5
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
6
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
5
7
|
var _globalMeta = _interopRequireDefault(require("./metaLayers/globalMeta"));
|
6
8
|
var _tableMeta = _interopRequireDefault(require("./metaLayers/tableMeta"));
|
7
9
|
var _columnMeta = _interopRequireDefault(require("./metaLayers/columnMeta"));
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import "core-js/modules/es.error.cause.js";
|
2
|
+
import "core-js/modules/esnext.iterator.constructor.js";
|
3
|
+
import "core-js/modules/esnext.iterator.for-each.js";
|
2
4
|
import GlobalMeta from "./metaLayers/globalMeta.mjs";
|
3
5
|
import TableMeta from "./metaLayers/tableMeta.mjs";
|
4
6
|
import ColumnMeta from "./metaLayers/columnMeta.mjs";
|
@@ -3842,8 +3842,8 @@ var _default = () => {
|
|
3842
3842
|
/**
|
3843
3843
|
* The `rowHeights` option sets rows' heights, in pixels.
|
3844
3844
|
*
|
3845
|
-
* In the rendering process, the default row height is 23 px (
|
3846
|
-
* You can change it to equal or greater than
|
3845
|
+
* In the rendering process, the default row height is 23 px (22 px + 1 px of the row's bottom border).
|
3846
|
+
* You can change it to equal or greater than 23px, by setting the `rowHeights` option to one of the following:
|
3847
3847
|
*
|
3848
3848
|
* | Setting | Description | Example |
|
3849
3849
|
* | ----------- | --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
|
@@ -3875,7 +3875,7 @@ var _default = () => {
|
|
3875
3875
|
* // set the first (by visual index) row's height to 100
|
3876
3876
|
* // set the second (by visual index) row's height to 120
|
3877
3877
|
* // set the third (by visual index) row's height to `undefined`
|
3878
|
-
* // set any other row's height to the default
|
3878
|
+
* // set any other row's height to the default 23px
|
3879
3879
|
* rowHeights: [100, 120, undefined],
|
3880
3880
|
*
|
3881
3881
|
* // set each row's height individually, using a function
|
@@ -4313,26 +4313,6 @@ var _default = () => {
|
|
4313
4313
|
* ```
|
4314
4314
|
*/
|
4315
4315
|
tableClassName: undefined,
|
4316
|
-
/**
|
4317
|
-
* The `themeName` option allows enabling a theme by that name.
|
4318
|
-
*
|
4319
|
-
* If no `themeName` is provided, the table will use the classic theme (if the correct CSS files are imported).
|
4320
|
-
*
|
4321
|
-
* Read more:
|
4322
|
-
* - [Themes](@/guides/styling/themes/themes.md)
|
4323
|
-
*
|
4324
|
-
* @memberof Options#
|
4325
|
-
* @type {string|boolean|undefined}
|
4326
|
-
* @default undefined
|
4327
|
-
* @category Core
|
4328
|
-
* @since 15.0.0
|
4329
|
-
*
|
4330
|
-
* @example
|
4331
|
-
* ```js
|
4332
|
-
* themeName: 'ht-theme-name',
|
4333
|
-
* ```
|
4334
|
-
*/
|
4335
|
-
themeName: undefined,
|
4336
4316
|
/**
|
4337
4317
|
* The `tabMoves` option configures the action of the <kbd>**Tab**</kbd> key.
|
4338
4318
|
*
|
@@ -3839,8 +3839,8 @@ export default () => {
|
|
3839
3839
|
/**
|
3840
3840
|
* The `rowHeights` option sets rows' heights, in pixels.
|
3841
3841
|
*
|
3842
|
-
* In the rendering process, the default row height is 23 px (
|
3843
|
-
* You can change it to equal or greater than
|
3842
|
+
* In the rendering process, the default row height is 23 px (22 px + 1 px of the row's bottom border).
|
3843
|
+
* You can change it to equal or greater than 23px, by setting the `rowHeights` option to one of the following:
|
3844
3844
|
*
|
3845
3845
|
* | Setting | Description | Example |
|
3846
3846
|
* | ----------- | --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
|
@@ -3872,7 +3872,7 @@ export default () => {
|
|
3872
3872
|
* // set the first (by visual index) row's height to 100
|
3873
3873
|
* // set the second (by visual index) row's height to 120
|
3874
3874
|
* // set the third (by visual index) row's height to `undefined`
|
3875
|
-
* // set any other row's height to the default
|
3875
|
+
* // set any other row's height to the default 23px
|
3876
3876
|
* rowHeights: [100, 120, undefined],
|
3877
3877
|
*
|
3878
3878
|
* // set each row's height individually, using a function
|
@@ -4310,26 +4310,6 @@ export default () => {
|
|
4310
4310
|
* ```
|
4311
4311
|
*/
|
4312
4312
|
tableClassName: undefined,
|
4313
|
-
/**
|
4314
|
-
* The `themeName` option allows enabling a theme by that name.
|
4315
|
-
*
|
4316
|
-
* If no `themeName` is provided, the table will use the classic theme (if the correct CSS files are imported).
|
4317
|
-
*
|
4318
|
-
* Read more:
|
4319
|
-
* - [Themes](@/guides/styling/themes/themes.md)
|
4320
|
-
*
|
4321
|
-
* @memberof Options#
|
4322
|
-
* @type {string|boolean|undefined}
|
4323
|
-
* @default undefined
|
4324
|
-
* @category Core
|
4325
|
-
* @since 15.0.0
|
4326
|
-
*
|
4327
|
-
* @example
|
4328
|
-
* ```js
|
4329
|
-
* themeName: 'ht-theme-name',
|
4330
|
-
* ```
|
4331
|
-
*/
|
4332
|
-
themeName: undefined,
|
4333
4313
|
/**
|
4334
4314
|
* The `tabMoves` option configures the action of the <kbd>**Tab**</kbd> key.
|
4335
4315
|
*
|
@@ -10,6 +10,8 @@ require("core-js/modules/es.set.is-subset-of.v2.js");
|
|
10
10
|
require("core-js/modules/es.set.is-superset-of.v2.js");
|
11
11
|
require("core-js/modules/es.set.symmetric-difference.v2.js");
|
12
12
|
require("core-js/modules/es.set.union.v2.js");
|
13
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
14
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
13
15
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
14
16
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
15
17
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
@@ -7,6 +7,8 @@ import "core-js/modules/es.set.is-subset-of.v2.js";
|
|
7
7
|
import "core-js/modules/es.set.is-superset-of.v2.js";
|
8
8
|
import "core-js/modules/es.set.symmetric-difference.v2.js";
|
9
9
|
import "core-js/modules/es.set.union.v2.js";
|
10
|
+
import "core-js/modules/esnext.iterator.constructor.js";
|
11
|
+
import "core-js/modules/esnext.iterator.for-each.js";
|
10
12
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
11
13
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
12
14
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
package/dist/handsontable.css
CHANGED
@@ -25,13 +25,13 @@
|
|
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: 17/10/2024 (built at 08/11/2024
|
28
|
+
* Version: 0.0.0-next-e035192-20241108
|
29
|
+
* Release date: 17/10/2024 (built at 08/11/2024 12:17:22)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|
33
33
|
*/
|
34
|
-
|
34
|
+
.handsontable .table th, .handsontable .table td {
|
35
35
|
border-top: none;
|
36
36
|
}
|
37
37
|
|
@@ -589,7 +589,6 @@ innerBorderBottom - Property controlled by bottom overlay
|
|
589
589
|
color: #000;
|
590
590
|
border-radius: 0;
|
591
591
|
background-color: #FFF;
|
592
|
-
box-sizing: border-box !important;
|
593
592
|
/*overwrite styles potentionally made by a framework*/
|
594
593
|
}
|
595
594
|
|
@@ -604,25 +603,16 @@ innerBorderBottom - Property controlled by bottom overlay
|
|
604
603
|
}
|
605
604
|
|
606
605
|
.htSelectEditor {
|
606
|
+
-webkit-appearance: menulist-button !important;
|
607
607
|
position: absolute;
|
608
|
-
|
609
|
-
|
610
|
-
-webkit-appearance: menulist-button !important;
|
611
|
-
width: 100%;
|
612
|
-
height: 100%;
|
613
|
-
border: 2px solid #4b89ff;
|
614
|
-
box-sizing: border-box !important;
|
615
|
-
}
|
608
|
+
width: auto;
|
609
|
+
border: 2px solid #4b89ff;
|
616
610
|
}
|
617
611
|
|
618
|
-
.htSelectEditor
|
612
|
+
.htSelectEditor:focus {
|
619
613
|
outline: none;
|
620
614
|
}
|
621
615
|
|
622
|
-
.htSelectEditor .htAutocompleteArrow {
|
623
|
-
display: none;
|
624
|
-
}
|
625
|
-
|
626
616
|
/*
|
627
617
|
TextRenderer readOnly cell
|
628
618
|
*/
|
@@ -2066,3 +2056,5 @@ textarea.HandsontableCopyPaste {
|
|
2066
2056
|
left: 0;
|
2067
2057
|
right: unset;
|
2068
2058
|
}
|
2059
|
+
|
2060
|
+
/*# sourceMappingURL=handsontable.css.map*/
|