handsontable 19.0.0-rc8 → 19.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/3rdparty/walkontable/src/overlay/scrollbarProxies.js +3 -1
- package/3rdparty/walkontable/src/overlay/scrollbarProxies.mjs +3 -1
- package/CHANGELOG.md +5 -4
- package/README.md +11 -4
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core/hooks/constants.d.ts +2 -0
- package/core/hooks/constants.js +15 -6
- package/core/hooks/constants.mjs +15 -6
- package/core/license.js +2 -2
- package/core/license.mjs +2 -2
- package/core/types.d.ts +1 -0
- package/core.js +51 -4
- package/core.mjs +51 -4
- package/dataMap/metaManager/metaSchema.js +1 -0
- package/dataMap/metaManager/metaSchema.mjs +1 -0
- package/dist/handsontable.full.js +299 -121
- package/dist/handsontable.full.min.js +24 -24
- package/dist/handsontable.js +299 -121
- package/dist/handsontable.min.js +24 -24
- package/dist/handsontable.settings-schema.js +23 -13
- package/dist/handsontable.settings-schema.min.js +2 -2
- package/dist/manifest.json +1 -71
- package/dist/themes/classic.js +2 -2
- package/dist/themes/classic.min.js +2 -2
- package/dist/themes/horizon.js +2 -2
- package/dist/themes/horizon.min.js +2 -2
- package/dist/themes/main.js +2 -2
- package/dist/themes/main.min.js +2 -2
- package/dist/themes/static/variables/colors/ant.js +2 -2
- package/dist/themes/static/variables/colors/ant.min.js +2 -2
- package/dist/themes/static/variables/colors/classic.js +2 -2
- package/dist/themes/static/variables/colors/classic.min.js +2 -2
- package/dist/themes/static/variables/colors/horizon.js +2 -2
- package/dist/themes/static/variables/colors/horizon.min.js +2 -2
- package/dist/themes/static/variables/colors/main.js +2 -2
- package/dist/themes/static/variables/colors/main.min.js +2 -2
- package/dist/themes/static/variables/colors/material.js +2 -2
- package/dist/themes/static/variables/colors/material.min.js +2 -2
- package/dist/themes/static/variables/colors/shadcn.js +2 -2
- package/dist/themes/static/variables/colors/shadcn.min.js +2 -2
- package/dist/themes/static/variables/density.js +2 -2
- package/dist/themes/static/variables/density.min.js +2 -2
- package/dist/themes/static/variables/helpers/iconStyles.js +2 -2
- package/dist/themes/static/variables/helpers/iconStyles.min.js +2 -2
- package/dist/themes/static/variables/helpers/iconsMap.js +2 -2
- package/dist/themes/static/variables/helpers/iconsMap.min.js +2 -2
- package/dist/themes/static/variables/icons/horizon.js +2 -2
- package/dist/themes/static/variables/icons/horizon.min.js +2 -2
- package/dist/themes/static/variables/icons/main.js +2 -2
- package/dist/themes/static/variables/icons/main.min.js +2 -2
- package/dist/themes/static/variables/sizing.js +2 -2
- package/dist/themes/static/variables/sizing.min.js +2 -2
- package/dist/themes/static/variables/tokens/classic.js +2 -2
- package/dist/themes/static/variables/tokens/classic.min.js +2 -2
- package/dist/themes/static/variables/tokens/horizon.js +2 -2
- package/dist/themes/static/variables/tokens/horizon.min.js +2 -2
- package/dist/themes/static/variables/tokens/main.js +2 -2
- package/dist/themes/static/variables/tokens/main.min.js +2 -2
- package/helpers/mixed.js +5 -5
- package/helpers/mixed.mjs +5 -5
- package/package.json +1 -1
- package/plugins/asyncValues/feature.generated.js +0 -1
- package/plugins/asyncValues/feature.generated.mjs +0 -1
- package/plugins/autoColumnSize/autoColumnSize.js +3 -3
- package/plugins/autoColumnSize/autoColumnSize.mjs +3 -3
- package/plugins/autoColumnSize/feature.generated.js +0 -1
- package/plugins/autoColumnSize/feature.generated.mjs +0 -1
- package/plugins/autoLink/feature.generated.js +0 -1
- package/plugins/autoLink/feature.generated.mjs +0 -1
- package/plugins/autoRowHeaderSize/feature.generated.js +0 -1
- package/plugins/autoRowHeaderSize/feature.generated.mjs +0 -1
- package/plugins/autoRowSize/autoRowSize.js +5 -5
- package/plugins/autoRowSize/autoRowSize.mjs +5 -5
- package/plugins/autoRowSize/feature.generated.js +0 -1
- package/plugins/autoRowSize/feature.generated.mjs +0 -1
- package/plugins/autofill/feature.generated.js +0 -1
- package/plugins/autofill/feature.generated.mjs +0 -1
- package/plugins/base/base.d.ts +8 -1
- package/plugins/bindRowsWithHeaders/feature.generated.js +0 -1
- package/plugins/bindRowsWithHeaders/feature.generated.mjs +0 -1
- package/plugins/checkboxHeader/feature.generated.js +0 -1
- package/plugins/checkboxHeader/feature.generated.mjs +0 -1
- package/plugins/collapsibleColumns/feature.generated.js +0 -1
- package/plugins/collapsibleColumns/feature.generated.mjs +0 -1
- package/plugins/columnSorting/feature.generated.js +0 -1
- package/plugins/columnSorting/feature.generated.mjs +0 -1
- package/plugins/columnSummary/feature.generated.js +0 -1
- package/plugins/columnSummary/feature.generated.mjs +0 -1
- package/plugins/comments/feature.generated.js +0 -1
- package/plugins/comments/feature.generated.mjs +0 -1
- package/plugins/contextMenu/feature.generated.js +0 -1
- package/plugins/contextMenu/feature.generated.mjs +0 -1
- package/plugins/copyPaste/feature.generated.js +0 -1
- package/plugins/copyPaste/feature.generated.mjs +0 -1
- package/plugins/customBorders/feature.generated.js +0 -1
- package/plugins/customBorders/feature.generated.mjs +0 -1
- package/plugins/dataProvider/feature.generated.js +0 -1
- package/plugins/dataProvider/feature.generated.mjs +0 -1
- package/plugins/dialog/feature.generated.js +0 -1
- package/plugins/dialog/feature.generated.mjs +0 -1
- package/plugins/dragToScroll/feature.generated.js +0 -1
- package/plugins/dragToScroll/feature.generated.mjs +0 -1
- package/plugins/dropdownMenu/feature.generated.js +0 -1
- package/plugins/dropdownMenu/feature.generated.mjs +0 -1
- package/plugins/emptyDataState/feature.generated.js +0 -1
- package/plugins/emptyDataState/feature.generated.mjs +0 -1
- package/plugins/exportFile/feature.generated.js +0 -1
- package/plugins/exportFile/feature.generated.mjs +0 -1
- package/plugins/filters/feature.generated.js +0 -1
- package/plugins/filters/feature.generated.mjs +0 -1
- package/plugins/formulaBuilder/feature.generated.js +0 -1
- package/plugins/formulaBuilder/feature.generated.mjs +0 -1
- package/plugins/formulas/feature.generated.js +0 -1
- package/plugins/formulas/feature.generated.mjs +0 -1
- package/plugins/formulas/formulas.js +4 -4
- package/plugins/formulas/formulas.mjs +4 -4
- package/plugins/freezeBar/feature.generated.js +0 -1
- package/plugins/freezeBar/feature.generated.mjs +0 -1
- package/plugins/hiddenColumns/feature.generated.js +0 -1
- package/plugins/hiddenColumns/feature.generated.mjs +0 -1
- package/plugins/hiddenRows/feature.generated.js +0 -1
- package/plugins/hiddenRows/feature.generated.mjs +0 -1
- package/plugins/importFile/feature.generated.js +0 -1
- package/plugins/importFile/feature.generated.mjs +0 -1
- package/plugins/loading/feature.generated.js +0 -1
- package/plugins/loading/feature.generated.mjs +0 -1
- package/plugins/manualColumnFreeze/feature.generated.js +0 -1
- package/plugins/manualColumnFreeze/feature.generated.mjs +0 -1
- package/plugins/manualColumnMove/feature.generated.js +0 -1
- package/plugins/manualColumnMove/feature.generated.mjs +0 -1
- package/plugins/manualColumnResize/feature.generated.js +0 -1
- package/plugins/manualColumnResize/feature.generated.mjs +0 -1
- package/plugins/manualRowMove/feature.generated.js +0 -1
- package/plugins/manualRowMove/feature.generated.mjs +0 -1
- package/plugins/manualRowResize/feature.generated.js +0 -1
- package/plugins/manualRowResize/feature.generated.mjs +0 -1
- package/plugins/mergeCells/feature.generated.js +0 -1
- package/plugins/mergeCells/feature.generated.mjs +0 -1
- package/plugins/mergeCells/mergeCells.js +159 -16
- package/plugins/mergeCells/mergeCells.mjs +159 -16
- package/plugins/moveCells/feature.generated.js +0 -1
- package/plugins/moveCells/feature.generated.mjs +0 -1
- package/plugins/multiColumnSorting/feature.generated.js +0 -1
- package/plugins/multiColumnSorting/feature.generated.mjs +0 -1
- package/plugins/nestedHeaders/feature.generated.js +0 -1
- package/plugins/nestedHeaders/feature.generated.mjs +0 -1
- package/plugins/nestedRows/feature.generated.js +0 -1
- package/plugins/nestedRows/feature.generated.mjs +0 -1
- package/plugins/notification/feature.generated.js +0 -1
- package/plugins/notification/feature.generated.mjs +0 -1
- package/plugins/pagination/feature.generated.js +0 -1
- package/plugins/pagination/feature.generated.mjs +0 -1
- package/plugins/pagination/pagination.js +17 -4
- package/plugins/pagination/pagination.mjs +17 -4
- package/plugins/rowSelection/feature.generated.js +0 -1
- package/plugins/rowSelection/feature.generated.mjs +0 -1
- package/plugins/search/feature.generated.js +0 -1
- package/plugins/search/feature.generated.mjs +0 -1
- package/plugins/selectionHandles/feature.generated.js +0 -1
- package/plugins/selectionHandles/feature.generated.mjs +0 -1
- package/plugins/sheetsBar/feature.generated.js +0 -1
- package/plugins/sheetsBar/feature.generated.mjs +0 -1
- package/plugins/stretchColumns/feature.generated.js +0 -1
- package/plugins/stretchColumns/feature.generated.mjs +0 -1
- package/plugins/trimRows/feature.generated.js +0 -1
- package/plugins/trimRows/feature.generated.mjs +0 -1
- package/plugins/undoRedo/feature.generated.js +0 -1
- package/plugins/undoRedo/feature.generated.mjs +0 -1
- package/plugins/undoRedo/restore.js +20 -8
- package/plugins/undoRedo/restore.mjs +20 -8
- package/plugins/undoRedo/snapshot/gridState.d.ts +5 -1
- package/plugins/undoRedo/snapshot/gridState.js +5 -2
- package/plugins/undoRedo/snapshot/gridState.mjs +5 -2
- package/plugins/viewState/feature.generated.js +0 -1
- package/plugins/viewState/feature.generated.mjs +0 -1
- package/styles/handsontable.css +2 -2
- package/styles/handsontable.min.css +2 -2
- package/styles/handsontableStyles.d.ts +1 -1
- package/styles/handsontableStyles.js +1 -1
- package/styles/handsontableStyles.mjs +1 -1
- package/styles/ht-icons-horizon.min.css +2 -2
- package/styles/ht-icons-main.min.css +2 -2
- package/styles/ht-theme-classic-no-icons.min.css +2 -2
- package/styles/ht-theme-classic.min.css +2 -2
- package/styles/ht-theme-horizon-no-icons.min.css +2 -2
- package/styles/ht-theme-horizon.min.css +2 -2
- package/styles/ht-theme-main-no-icons.min.css +2 -2
- package/styles/ht-theme-main.min.css +2 -2
- package/utils/licenseBranding/index.js +5 -4
- package/utils/licenseBranding/index.mjs +5 -4
- package/utils/licenseNotification.js +2 -2
- package/utils/licenseNotification.mjs +2 -2
- package/utils/xlsxEngine/licenseCapabilities.generated.js +0 -4
- package/utils/xlsxEngine/licenseCapabilities.generated.mjs +0 -4
|
@@ -836,15 +836,15 @@ var /**
|
|
|
836
836
|
*/ _isBatchEvaluationEnabled = /*#__PURE__*/ new WeakSet(), /**
|
|
837
837
|
* `afterSuspendExecution` hook callback. With `batchEvaluation` on, the grid holds the engine's
|
|
838
838
|
* recalculation: the engine is suspended at the first engine write the plugin makes from now on, not here,
|
|
839
|
-
* so a suspension that writes only index maps (
|
|
839
|
+
* so a suspension that writes only index maps (a filter, a hidden row, a page change) never
|
|
840
840
|
* touches the engine.
|
|
841
841
|
*/ _onAfterSuspendExecution = /*#__PURE__*/ new WeakMap(), /**
|
|
842
842
|
* `afterResumeExecution` hook callback. Releases the hold this grid has on the engine.
|
|
843
843
|
*/ _onAfterResumeExecution = /*#__PURE__*/ new WeakMap(), /**
|
|
844
844
|
* Takes this grid out of the hold on its engine. When it was the last grid holding it, the held writes are
|
|
845
845
|
* recalculated, once, and their dependents are validated, once each. Both run in one plugin write scope, so
|
|
846
|
-
* the grids paint after the validation, and a paint that suspends a grid's execution again (
|
|
847
|
-
*
|
|
846
|
+
* the grids paint after the validation, and a paint that suspends a grid's execution again (a batch a render
|
|
847
|
+
* listener makes) starts a hold of its own. When the host holds the engine suspended itself, the hold ends and
|
|
848
848
|
* the dependents are validated when the host resumes it.
|
|
849
849
|
*
|
|
850
850
|
* @param {boolean} [leaving=false] `true` when the grid is being destroyed: its own cells are not validated,
|
|
@@ -5089,7 +5089,7 @@ function validateHeldDependents(engine, recalculations, leavingSheetId) {
|
|
|
5089
5089
|
dependents.push(change);
|
|
5090
5090
|
}
|
|
5091
5091
|
});
|
|
5092
|
-
// Most holds end with nothing to validate (
|
|
5092
|
+
// Most holds end with nothing to validate (a filter, a hidden row), so the registry is not read for them.
|
|
5093
5093
|
if (dependentsBySheet.size === 0) {
|
|
5094
5094
|
return;
|
|
5095
5095
|
}
|
|
@@ -809,15 +809,15 @@ var /**
|
|
|
809
809
|
*/ _isBatchEvaluationEnabled = /*#__PURE__*/ new WeakSet(), /**
|
|
810
810
|
* `afterSuspendExecution` hook callback. With `batchEvaluation` on, the grid holds the engine's
|
|
811
811
|
* recalculation: the engine is suspended at the first engine write the plugin makes from now on, not here,
|
|
812
|
-
* so a suspension that writes only index maps (
|
|
812
|
+
* so a suspension that writes only index maps (a filter, a hidden row, a page change) never
|
|
813
813
|
* touches the engine.
|
|
814
814
|
*/ _onAfterSuspendExecution = /*#__PURE__*/ new WeakMap(), /**
|
|
815
815
|
* `afterResumeExecution` hook callback. Releases the hold this grid has on the engine.
|
|
816
816
|
*/ _onAfterResumeExecution = /*#__PURE__*/ new WeakMap(), /**
|
|
817
817
|
* Takes this grid out of the hold on its engine. When it was the last grid holding it, the held writes are
|
|
818
818
|
* recalculated, once, and their dependents are validated, once each. Both run in one plugin write scope, so
|
|
819
|
-
* the grids paint after the validation, and a paint that suspends a grid's execution again (
|
|
820
|
-
*
|
|
819
|
+
* the grids paint after the validation, and a paint that suspends a grid's execution again (a batch a render
|
|
820
|
+
* listener makes) starts a hold of its own. When the host holds the engine suspended itself, the hold ends and
|
|
821
821
|
* the dependents are validated when the host resumes it.
|
|
822
822
|
*
|
|
823
823
|
* @param {boolean} [leaving=false] `true` when the grid is being destroyed: its own cells are not validated,
|
|
@@ -5084,7 +5084,7 @@ function validateHeldDependents(engine, recalculations, leavingSheetId) {
|
|
|
5084
5084
|
dependents.push(change);
|
|
5085
5085
|
}
|
|
5086
5086
|
});
|
|
5087
|
-
// Most holds end with nothing to validate (
|
|
5087
|
+
// Most holds end with nothing to validate (a filter, a hidden row), so the registry is not read for them.
|
|
5088
5088
|
if (dependentsBySheet.size === 0) {
|
|
5089
5089
|
return;
|
|
5090
5090
|
}
|