handsontable 0.0.0-next-fc6b71a-20231129 → 0.0.0-next-f76fee2-20231130
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/constants.js +3 -6
- package/3rdparty/walkontable/src/calculator/viewportColumns.js +1 -2
- package/3rdparty/walkontable/src/calculator/viewportRows.js +1 -2
- package/3rdparty/walkontable/src/cell/coords.js +1 -2
- package/3rdparty/walkontable/src/cell/range.js +1 -2
- package/3rdparty/walkontable/src/event.js +1 -2
- package/3rdparty/walkontable/src/filter/column.js +1 -2
- package/3rdparty/walkontable/src/filter/row.js +1 -2
- package/3rdparty/walkontable/src/index.js +2 -2
- package/3rdparty/walkontable/src/overlay/constants.js +7 -14
- package/3rdparty/walkontable/src/overlays.js +1 -2
- package/3rdparty/walkontable/src/scroll.js +1 -2
- package/3rdparty/walkontable/src/selection/border/border.js +1 -2
- package/3rdparty/walkontable/src/selection/border/constants.js +2 -3
- package/3rdparty/walkontable/src/selection/constants.js +8 -16
- package/3rdparty/walkontable/src/selection/selection.js +1 -2
- package/3rdparty/walkontable/src/table/bottom.js +1 -2
- package/3rdparty/walkontable/src/table/bottomInlineStartCorner.js +1 -2
- package/3rdparty/walkontable/src/table/inlineStart.js +1 -2
- package/3rdparty/walkontable/src/table/master.js +1 -2
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.js +1 -2
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.js +1 -2
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.js +1 -2
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.js +1 -2
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.js +1 -2
- package/3rdparty/walkontable/src/table/top.js +1 -2
- package/3rdparty/walkontable/src/table/topInlineStartCorner.js +1 -2
- package/3rdparty/walkontable/src/table.js +1 -2
- package/3rdparty/walkontable/src/utils/orderView/constants.js +3 -6
- package/3rdparty/walkontable/src/viewport.js +1 -2
- package/CHANGELOG.md +84 -15
- package/base.js +3 -4
- package/base.mjs +2 -2
- package/cellTypes/autocompleteType/autocompleteType.js +3 -5
- package/cellTypes/checkboxType/checkboxType.js +3 -5
- package/cellTypes/dateType/dateType.js +3 -5
- package/cellTypes/dropdownType/dropdownType.js +3 -5
- package/cellTypes/handsontableType/handsontableType.js +3 -5
- package/cellTypes/numericType/numericType.js +3 -5
- package/cellTypes/passwordType/passwordType.js +3 -5
- package/cellTypes/selectType/selectType.js +3 -5
- package/cellTypes/textType/textType.js +3 -5
- package/cellTypes/timeType/timeType.js +3 -5
- package/core.js +19 -9
- package/core.mjs +19 -9
- package/dataMap/dataMap.js +1 -2
- package/dataMap/dataSource.js +1 -2
- package/dataMap/metaManager/metaSchema.js +11 -11
- package/dataMap/metaManager/metaSchema.mjs +11 -11
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +5147 -5188
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +160 -150
- package/dist/handsontable.js +627 -1038
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +31 -31
- package/dist/languages/all.js +19 -38
- package/dist/languages/all.min.js +1 -1
- package/dist/languages/ar-AR.js +1 -2
- package/dist/languages/cs-CZ.js +1 -2
- package/dist/languages/de-CH.js +1 -2
- package/dist/languages/de-DE.js +1 -2
- package/dist/languages/en-US.js +1 -2
- package/dist/languages/es-MX.js +1 -2
- package/dist/languages/fr-FR.js +1 -2
- package/dist/languages/it-IT.js +1 -2
- package/dist/languages/ja-JP.js +1 -2
- package/dist/languages/ko-KR.js +1 -2
- package/dist/languages/lv-LV.js +1 -2
- package/dist/languages/nb-NO.js +1 -2
- package/dist/languages/nl-NL.js +1 -2
- package/dist/languages/pl-PL.js +1 -2
- package/dist/languages/pt-BR.js +1 -2
- package/dist/languages/ru-RU.js +1 -2
- package/dist/languages/sr-SP.js +1 -2
- package/dist/languages/zh-CN.js +1 -2
- package/dist/languages/zh-TW.js +1 -2
- package/editorManager.js +2 -4
- package/editors/autocompleteEditor/autocompleteEditor.js +1 -2
- package/editors/baseEditor/baseEditor.js +3 -6
- package/editors/checkboxEditor/checkboxEditor.js +1 -2
- package/editors/dateEditor/dateEditor.js +1 -2
- package/editors/dropdownEditor/dropdownEditor.js +1 -2
- package/editors/handsontableEditor/handsontableEditor.js +1 -2
- package/editors/numericEditor/numericEditor.js +1 -2
- package/editors/passwordEditor/passwordEditor.js +1 -2
- package/editors/selectEditor/selectEditor.js +1 -2
- package/editors/textEditor/textEditor.js +1 -2
- package/editors/timeEditor/timeEditor.js +1 -2
- package/eventManager.js +1 -2
- package/helpers/dom/element.js +1 -2
- package/helpers/mixed.js +2 -2
- package/helpers/mixed.mjs +2 -2
- package/helpers/unicode.js +1 -2
- package/i18n/constants.js +84 -166
- package/i18n/languages/ar-AR.js +3 -4
- package/i18n/languages/cs-CZ.js +3 -4
- package/i18n/languages/de-CH.js +3 -4
- package/i18n/languages/de-DE.js +3 -4
- package/i18n/languages/en-US.js +3 -4
- package/i18n/languages/es-MX.js +3 -4
- package/i18n/languages/fr-FR.js +3 -4
- package/i18n/languages/it-IT.js +3 -4
- package/i18n/languages/ja-JP.js +3 -4
- package/i18n/languages/ko-KR.js +3 -4
- package/i18n/languages/lv-LV.js +3 -4
- package/i18n/languages/nb-NO.js +3 -4
- package/i18n/languages/nl-NL.js +3 -4
- package/i18n/languages/pl-PL.js +3 -4
- package/i18n/languages/pt-BR.js +3 -4
- package/i18n/languages/ru-RU.js +3 -4
- package/i18n/languages/sr-SP.js +3 -4
- package/i18n/languages/zh-CN.js +3 -4
- package/i18n/languages/zh-TW.js +3 -4
- package/i18n/registry.js +4 -6
- package/index.js +3 -4
- package/languages/all.js +19 -38
- package/languages/ar-AR.js +1 -2
- package/languages/cs-CZ.js +1 -2
- package/languages/de-CH.js +1 -2
- package/languages/de-DE.js +1 -2
- package/languages/en-US.js +1 -2
- package/languages/es-MX.js +1 -2
- package/languages/fr-FR.js +1 -2
- package/languages/index.js +19 -38
- package/languages/it-IT.js +1 -2
- package/languages/ja-JP.js +1 -2
- package/languages/ko-KR.js +1 -2
- package/languages/lv-LV.js +1 -2
- package/languages/nb-NO.js +1 -2
- package/languages/nl-NL.js +1 -2
- package/languages/pl-PL.js +1 -2
- package/languages/pt-BR.js +1 -2
- package/languages/ru-RU.js +1 -2
- package/languages/sr-SP.js +1 -2
- package/languages/zh-CN.js +1 -2
- package/languages/zh-TW.js +1 -2
- package/mixins/hooksRefRegisterer.js +1 -2
- package/mixins/localHooks.js +1 -2
- package/package.json +1 -1
- package/pluginHooks.js +6 -5
- package/pluginHooks.mjs +5 -3
- package/plugins/autoColumnSize/autoColumnSize.js +2 -4
- package/plugins/autoRowSize/autoRowSize.js +2 -4
- package/plugins/autofill/autofill.js +2 -4
- package/plugins/autofill/utils.js +1 -2
- package/plugins/base/base.js +1 -2
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +2 -4
- package/plugins/bindRowsWithHeaders/maps/looseBindsMap.js +1 -2
- package/plugins/bindRowsWithHeaders/maps/strictBindsMap.js +1 -2
- package/plugins/collapsibleColumns/collapsibleColumns.js +2 -4
- package/plugins/columnSorting/columnSorting.js +4 -8
- package/plugins/columnSorting/sortFunction/checkbox.js +1 -2
- package/plugins/columnSorting/sortFunction/date.js +1 -2
- package/plugins/columnSorting/sortFunction/default.js +1 -2
- package/plugins/columnSorting/sortFunction/numeric.js +1 -2
- package/plugins/columnSorting/sortService/engine.js +3 -6
- package/plugins/columnSorting/utils.js +3 -6
- package/plugins/columnSummary/columnSummary.js +2 -4
- package/plugins/columnSummary/endpoints.js +1 -2
- package/plugins/comments/commentEditor.js +1 -2
- package/plugins/comments/comments.js +6 -12
- package/plugins/comments/contextMenuItem/addEditComment.js +2 -2
- package/plugins/comments/contextMenuItem/readOnlyComment.js +2 -2
- package/plugins/comments/contextMenuItem/removeComment.js +2 -2
- package/plugins/comments/displaySwitch.js +1 -2
- package/plugins/contextMenu/contextMenu.js +2 -4
- package/plugins/contextMenu/predefinedItems/alignment.js +3 -4
- package/plugins/contextMenu/predefinedItems/clearColumn.js +3 -4
- package/plugins/contextMenu/predefinedItems/columnLeft.js +3 -4
- package/plugins/contextMenu/predefinedItems/columnRight.js +3 -4
- package/plugins/contextMenu/predefinedItems/index.js +3 -4
- package/plugins/contextMenu/predefinedItems/noItems.js +1 -2
- package/plugins/contextMenu/predefinedItems/readOnly.js +3 -4
- package/plugins/contextMenu/predefinedItems/redo.js +3 -4
- package/plugins/contextMenu/predefinedItems/removeColumn.js +3 -4
- package/plugins/contextMenu/predefinedItems/removeRow.js +3 -4
- package/plugins/contextMenu/predefinedItems/rowAbove.js +3 -4
- package/plugins/contextMenu/predefinedItems/rowBelow.js +3 -4
- package/plugins/contextMenu/predefinedItems/separator.js +1 -2
- package/plugins/contextMenu/predefinedItems/undo.js +3 -4
- package/plugins/copyPaste/contextMenuItem/cut.js +2 -2
- package/plugins/copyPaste/copyPaste.js +2 -4
- package/plugins/customBorders/contextMenuItem/bottom.js +2 -2
- package/plugins/customBorders/contextMenuItem/left.js +2 -2
- package/plugins/customBorders/contextMenuItem/noBorders.js +2 -2
- package/plugins/customBorders/contextMenuItem/right.js +2 -2
- package/plugins/customBorders/contextMenuItem/top.js +2 -2
- package/plugins/customBorders/customBorders.js +4 -6
- package/plugins/dragToScroll/dragToScroll.js +2 -4
- package/plugins/dropdownMenu/dropdownMenu.js +2 -4
- package/plugins/exportFile/dataProvider.js +1 -2
- package/plugins/exportFile/exportFile.js +4 -6
- package/plugins/exportFile/typeFactory.js +5 -8
- package/plugins/exportFile/types/_base.js +1 -2
- package/plugins/exportFile/types/csv.js +1 -2
- package/plugins/filters/component/actionBar.js +2 -2
- package/plugins/filters/component/condition.js +2 -2
- package/plugins/filters/component/value.js +2 -2
- package/plugins/filters/condition/beginsWith.js +3 -4
- package/plugins/filters/condition/between.js +3 -4
- package/plugins/filters/condition/byValue.js +1 -2
- package/plugins/filters/condition/contains.js +3 -4
- package/plugins/filters/condition/date/after.js +3 -4
- package/plugins/filters/condition/date/before.js +3 -4
- package/plugins/filters/condition/date/today.js +3 -4
- package/plugins/filters/condition/date/tomorrow.js +3 -4
- package/plugins/filters/condition/date/yesterday.js +3 -4
- package/plugins/filters/condition/empty.js +3 -4
- package/plugins/filters/condition/endsWith.js +3 -4
- package/plugins/filters/condition/equal.js +3 -4
- package/plugins/filters/condition/false.js +1 -2
- package/plugins/filters/condition/greaterThan.js +3 -4
- package/plugins/filters/condition/greaterThanOrEqual.js +3 -4
- package/plugins/filters/condition/lessThan.js +3 -4
- package/plugins/filters/condition/lessThanOrEqual.js +3 -4
- package/plugins/filters/condition/none.js +3 -4
- package/plugins/filters/condition/notBetween.js +3 -4
- package/plugins/filters/condition/notContains.js +3 -4
- package/plugins/filters/condition/notEmpty.js +3 -4
- package/plugins/filters/condition/notEqual.js +3 -4
- package/plugins/filters/condition/true.js +1 -2
- package/plugins/filters/conditionCollection.js +1 -2
- package/plugins/filters/conditionRegisterer.js +1 -2
- package/plugins/filters/conditionUpdateObserver.js +1 -2
- package/plugins/filters/constants.js +4 -8
- package/plugins/filters/dataFilter.js +1 -2
- package/plugins/filters/filters.js +4 -6
- package/plugins/filters/logicalOperationRegisterer.js +1 -2
- package/plugins/filters/logicalOperations/conjunction.js +4 -6
- package/plugins/filters/logicalOperations/disjunction.js +4 -6
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.js +4 -6
- package/plugins/filters/ui/_base.js +2 -2
- package/plugins/filters/ui/multipleSelect.js +3 -4
- package/plugins/filters/ui/select.js +2 -2
- package/plugins/formulas/engine/settings.js +2 -4
- package/plugins/formulas/formulas.js +3 -6
- package/plugins/formulas/indexSyncer/axisSyncer.js +1 -2
- package/plugins/formulas/indexSyncer/index.js +1 -2
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.js +2 -2
- package/plugins/hiddenColumns/contextMenuItem/showColumn.js +2 -2
- package/plugins/hiddenColumns/hiddenColumns.js +2 -4
- package/plugins/hiddenRows/contextMenuItem/hideRow.js +2 -2
- package/plugins/hiddenRows/contextMenuItem/showRow.js +2 -2
- package/plugins/hiddenRows/hiddenRows.js +2 -4
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.js +2 -2
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.js +2 -2
- package/plugins/manualColumnFreeze/manualColumnFreeze.js +2 -4
- package/plugins/manualColumnMove/manualColumnMove.js +2 -4
- package/plugins/manualColumnMove/ui/_base.js +1 -2
- package/plugins/manualColumnMove/ui/backlight.js +1 -2
- package/plugins/manualColumnMove/ui/guideline.js +1 -2
- package/plugins/manualColumnResize/manualColumnResize.js +2 -4
- package/plugins/manualRowMove/manualRowMove.js +2 -4
- package/plugins/manualRowMove/ui/_base.js +1 -2
- package/plugins/manualRowMove/ui/backlight.js +1 -2
- package/plugins/manualRowMove/ui/guideline.js +1 -2
- package/plugins/manualRowResize/manualRowResize.js +2 -4
- package/plugins/mergeCells/calculations/autofill.js +1 -2
- package/plugins/mergeCells/calculations/selection.js +1 -2
- package/plugins/mergeCells/cellCoords.js +1 -2
- package/plugins/mergeCells/cellsCollection.js +1 -2
- package/plugins/mergeCells/contextMenuItem/toggleMerge.js +2 -2
- package/plugins/mergeCells/mergeCells.js +3 -5
- package/plugins/mergeCells/mergeCells.mjs +1 -1
- package/plugins/multiColumnSorting/multiColumnSorting.js +2 -4
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +2 -4
- package/plugins/nestedHeaders/nestedHeaders.js +2 -4
- package/plugins/nestedHeaders/stateManager/sourceSettings.js +1 -2
- package/plugins/nestedHeaders/utils/ghostTable.js +1 -2
- package/plugins/nestedRows/data/dataManager.js +1 -2
- package/plugins/nestedRows/nestedRows.js +2 -4
- package/plugins/nestedRows/ui/_base.js +1 -2
- package/plugins/nestedRows/ui/collapsing.js +1 -2
- package/plugins/nestedRows/ui/contextMenu.js +3 -4
- package/plugins/nestedRows/ui/headers.js +1 -2
- package/plugins/persistentState/persistentState.js +2 -4
- package/plugins/persistentState/storage.js +1 -2
- package/plugins/search/search.js +2 -4
- package/plugins/touchScroll/touchScroll.js +2 -4
- package/plugins/trimRows/trimRows.js +2 -4
- package/plugins/undoRedo/index.js +2 -2
- package/plugins/undoRedo/undoRedo.js +2 -4
- package/renderers/autocompleteRenderer/autocompleteRenderer.js +1 -2
- package/renderers/baseRenderer/baseRenderer.js +1 -2
- package/renderers/checkboxRenderer/checkboxRenderer.js +1 -2
- package/renderers/dateRenderer/dateRenderer.js +1 -2
- package/renderers/handsontableRenderer/handsontableRenderer.js +1 -2
- package/renderers/htmlRenderer/htmlRenderer.js +1 -2
- package/renderers/numericRenderer/numericRenderer.js +1 -2
- package/renderers/passwordRenderer/passwordRenderer.js +1 -2
- package/renderers/selectRenderer/selectRenderer.js +1 -2
- package/renderers/textRenderer/textRenderer.js +1 -2
- package/renderers/timeRenderer/timeRenderer.js +1 -2
- package/selection/highlight/highlight.js +1 -2
- package/selection/highlight/visualSelection.js +1 -2
- package/selection/range.js +1 -2
- package/selection/selection.js +3 -4
- package/selection/transformation.js +1 -2
- package/selection/utils.js +5 -10
- package/shortcutContexts/commands/editor/closeAndSave.js +2 -3
- package/shortcutContexts/commands/editor/closeWithoutSaving.js +2 -3
- package/shortcutContexts/commands/editor/fastOpen.js +2 -3
- package/shortcutContexts/commands/editor/open.js +2 -3
- package/shortcutContexts/commands/emptySelectedCells.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/down.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/downByViewportHeight.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/left.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/right.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toColumns.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostBottom.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostInlineEnd.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostInlineStart.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostLeft.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostRight.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toMostTop.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/toRows.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/up.js +2 -3
- package/shortcutContexts/commands/extendCellsSelection/upByViewportHeight.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/down.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/downByViewportHeight.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/inlineEnd.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/inlineStart.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/left.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/right.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostBottom.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostBottomInlineEnd.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostInlineEnd.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostInlineStart.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostLeft.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostRight.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostTop.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/toMostTopInlineStart.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/up.js +2 -3
- package/shortcutContexts/commands/moveCellSelection/upByViewportHeight.js +2 -3
- package/shortcutContexts/commands/populateSelectedCellsData.js +2 -3
- package/shortcutContexts/commands/scrollToFocusedCell.js +2 -3
- package/shortcutContexts/commands/selectAllCells.js +2 -3
- package/shortcutContexts/commands/selectAllCellsAndHeaders.js +2 -3
- package/shortcutContexts/constants.js +2 -4
- package/shortcuts/context.js +1 -1
- package/shortcuts/context.mjs +1 -1
- package/shortcuts/manager.js +2 -2
- package/shortcuts/manager.mjs +2 -2
- package/tableView.js +1 -2
- package/utils/dataStructures/linkedList.js +1 -2
- package/utils/dataStructures/priorityMap.js +2 -4
- package/utils/dataStructures/queue.js +1 -2
- package/utils/dataStructures/stack.js +1 -2
- package/utils/dataStructures/tree.js +3 -6
- package/utils/ghostTable.js +1 -2
- package/utils/interval.js +1 -2
- package/utils/rootInstance.js +2 -4
- package/utils/samplesGenerator.js +1 -2
- package/utils/staticRegister.js +1 -2
- package/validators/autocompleteValidator/autocompleteValidator.js +1 -2
- package/validators/dateValidator/dateValidator.js +1 -2
- package/validators/numericValidator/numericValidator.js +1 -2
- package/validators/timeValidator/timeValidator.js +1 -2
@@ -19,10 +19,8 @@ function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!priva
|
|
19
19
|
function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; }
|
20
20
|
// Developer note! Whenever you make a change in this file, make an analogous change in manualRowResize.js
|
21
21
|
|
22
|
-
const PLUGIN_KEY = 'manualColumnResize';
|
23
|
-
exports.
|
24
|
-
const PLUGIN_PRIORITY = 130;
|
25
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
22
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'manualColumnResize';
|
23
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 130;
|
26
24
|
const PERSISTENT_STATE_KEY = 'manualColumnWidths';
|
27
25
|
|
28
26
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
@@ -22,10 +22,8 @@ function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) {
|
|
22
22
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
23
23
|
_pluginHooks.default.getSingleton().register('beforeRowMove');
|
24
24
|
_pluginHooks.default.getSingleton().register('afterRowMove');
|
25
|
-
const PLUGIN_KEY = 'manualRowMove';
|
26
|
-
exports.
|
27
|
-
const PLUGIN_PRIORITY = 140;
|
28
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
25
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'manualRowMove';
|
26
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 140;
|
29
27
|
const CSS_PLUGIN = 'ht__manualRowMove';
|
30
28
|
const CSS_SHOW_UI = 'show-ui';
|
31
29
|
const CSS_ON_MOVING = 'on-moving--rows';
|
@@ -20,10 +20,8 @@ function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!priva
|
|
20
20
|
function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; }
|
21
21
|
// Developer note! Whenever you make a change in this file, make an analogous change in manualColumnResize.js
|
22
22
|
|
23
|
-
const PLUGIN_KEY = 'manualRowResize';
|
24
|
-
exports.
|
25
|
-
const PLUGIN_PRIORITY = 30;
|
26
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
23
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'manualRowResize';
|
24
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 30;
|
27
25
|
const PERSISTENT_STATE_KEY = 'manualRowHeights';
|
28
26
|
|
29
27
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
@@ -313,5 +313,4 @@ class MergedCellCoords {
|
|
313
313
|
return this.cellRangeFactory(this.cellCoordsFactory(this.row, this.col), this.cellCoordsFactory(this.row, this.col), this.cellCoordsFactory(this.getLastRow(), this.getLastColumn()));
|
314
314
|
}
|
315
315
|
}
|
316
|
-
var _default = MergedCellCoords;
|
317
|
-
exports.default = _default;
|
316
|
+
var _default = exports.default = MergedCellCoords;
|
@@ -5,8 +5,8 @@ exports.default = toggleMergeItem;
|
|
5
5
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
6
6
|
var _cellCoords = _interopRequireDefault(require("../cellCoords"));
|
7
7
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
8
|
-
function _getRequireWildcardCache(
|
9
|
-
function _interopRequireWildcard(
|
8
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
9
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
10
10
|
/**
|
11
11
|
* @param {*} plugin The plugin instance.
|
12
12
|
* @returns {object}
|
@@ -34,10 +34,8 @@ _pluginHooks.default.getSingleton().register('beforeMergeCells');
|
|
34
34
|
_pluginHooks.default.getSingleton().register('afterMergeCells');
|
35
35
|
_pluginHooks.default.getSingleton().register('beforeUnmergeCells');
|
36
36
|
_pluginHooks.default.getSingleton().register('afterUnmergeCells');
|
37
|
-
const PLUGIN_KEY = 'mergeCells';
|
38
|
-
exports.
|
39
|
-
const PLUGIN_PRIORITY = 150;
|
40
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
37
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'mergeCells';
|
38
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 150;
|
41
39
|
const SHORTCUTS_GROUP = PLUGIN_KEY;
|
42
40
|
|
43
41
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
@@ -124,7 +122,7 @@ class MergeCells extends _base.BasePlugin {
|
|
124
122
|
_classPrivateMethodInitSpec(this, _onAfterDrawSelection);
|
125
123
|
/**
|
126
124
|
* `afterModifyTransformStart` hook callback. Fixes a problem with navigating through merged cells at the edges of
|
127
|
-
* the table with the
|
125
|
+
* the table with the <kbd>**Enter**</kbd>/<kbd>**Shift**</kbd>+<kbd>**Enter**</kbd>/<kbd>**Tab**</kbd>/<kbd>**Shift**</kbd>+<kbd>**Tab**</kbd> keys.
|
128
126
|
*
|
129
127
|
* @param {CellCoords} coords Coordinates of the to-be-selected cell.
|
130
128
|
* @param {number} rowTransformDir Row transformation direction (negative value = up, 0 = none, positive value =
|
@@ -118,7 +118,7 @@ export class MergeCells extends BasePlugin {
|
|
118
118
|
_classPrivateMethodInitSpec(this, _onAfterDrawSelection);
|
119
119
|
/**
|
120
120
|
* `afterModifyTransformStart` hook callback. Fixes a problem with navigating through merged cells at the edges of
|
121
|
-
* the table with the
|
121
|
+
* the table with the <kbd>**Enter**</kbd>/<kbd>**Shift**</kbd>+<kbd>**Enter**</kbd>/<kbd>**Tab**</kbd>/<kbd>**Shift**</kbd>+<kbd>**Tab**</kbd> keys.
|
122
122
|
*
|
123
123
|
* @param {CellCoords} coords Coordinates of the to-be-selected cell.
|
124
124
|
* @param {number} rowTransformDir Row transformation direction (negative value = up, 0 = none, positive value =
|
@@ -12,10 +12,8 @@ var _domHelpers = require("./domHelpers");
|
|
12
12
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
13
13
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
14
14
|
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
15
|
-
const PLUGIN_KEY = 'multiColumnSorting';
|
16
|
-
exports.
|
17
|
-
const PLUGIN_PRIORITY = 170;
|
18
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
15
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'multiColumnSorting';
|
16
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 170;
|
19
17
|
const CONFLICTED_PLUGIN_KEY = 'columnSorting';
|
20
18
|
const SHORTCUTS_GROUP = PLUGIN_KEY;
|
21
19
|
(0, _sortService.registerRootComparator)(PLUGIN_KEY, _rootComparator.rootComparator);
|
@@ -9,16 +9,14 @@ var _base = require("../base");
|
|
9
9
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
10
10
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
11
11
|
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
12
|
-
const PLUGIN_KEY = 'multipleSelectionHandles';
|
13
|
-
exports.
|
14
|
-
const PLUGIN_PRIORITY = 160;
|
12
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'multipleSelectionHandles';
|
13
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 160;
|
15
14
|
|
16
15
|
/**
|
17
16
|
* @private
|
18
17
|
* @plugin MultipleSelectionHandles
|
19
18
|
* @class MultipleSelectionHandles
|
20
19
|
*/
|
21
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
22
20
|
class MultipleSelectionHandles extends _base.BasePlugin {
|
23
21
|
constructor() {
|
24
22
|
super(...arguments);
|
@@ -25,9 +25,8 @@ function _classPrivateFieldGet(receiver, privateMap) { var descriptor = _classEx
|
|
25
25
|
function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); }
|
26
26
|
function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; }
|
27
27
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
28
|
-
const PLUGIN_KEY = 'nestedHeaders';
|
29
|
-
exports.
|
30
|
-
const PLUGIN_PRIORITY = 280;
|
28
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'nestedHeaders';
|
29
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 280;
|
31
30
|
|
32
31
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
33
32
|
|
@@ -74,7 +73,6 @@ const PLUGIN_PRIORITY = 280;
|
|
74
73
|
* ```
|
75
74
|
* :::
|
76
75
|
*/
|
77
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
78
76
|
var _stateManager = /*#__PURE__*/new WeakMap();
|
79
77
|
var _hidingIndexMapObserver = /*#__PURE__*/new WeakMap();
|
80
78
|
var _focusInitialCoords = /*#__PURE__*/new WeakMap();
|
@@ -18,7 +18,7 @@ function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.
|
|
18
18
|
*
|
19
19
|
* @type {string[]}
|
20
20
|
*/
|
21
|
-
const HEADER_CONFIGURABLE_PROPS = ['label', 'collapsible'];
|
21
|
+
const HEADER_CONFIGURABLE_PROPS = exports.HEADER_CONFIGURABLE_PROPS = ['label', 'collapsible'];
|
22
22
|
|
23
23
|
/**
|
24
24
|
* The class manages and normalizes settings passed by the developer
|
@@ -28,7 +28,6 @@ const HEADER_CONFIGURABLE_PROPS = ['label', 'collapsible'];
|
|
28
28
|
* @private
|
29
29
|
* @class SourceSettings
|
30
30
|
*/
|
31
|
-
exports.HEADER_CONFIGURABLE_PROPS = HEADER_CONFIGURABLE_PROPS;
|
32
31
|
var _data = /*#__PURE__*/new WeakMap();
|
33
32
|
var _dataLength = /*#__PURE__*/new WeakMap();
|
34
33
|
var _columnsLimit = /*#__PURE__*/new WeakMap();
|
@@ -25,10 +25,8 @@ function _classPrivateFieldSet(receiver, privateMap, value) { var descriptor = _
|
|
25
25
|
function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); }
|
26
26
|
function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); } else { if (!descriptor.writable) { throw new TypeError("attempted to set read only private field"); } descriptor.value = value; } }
|
27
27
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
28
|
-
const PLUGIN_KEY = 'nestedRows';
|
29
|
-
exports.
|
30
|
-
const PLUGIN_PRIORITY = 300;
|
31
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
28
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'nestedRows';
|
29
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 300;
|
32
30
|
const SHORTCUTS_GROUP = PLUGIN_KEY;
|
33
31
|
|
34
32
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
@@ -7,8 +7,8 @@ var _array = require("../../../helpers/array");
|
|
7
7
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
8
8
|
var _base = _interopRequireDefault(require("./_base"));
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
10
|
-
function _getRequireWildcardCache(
|
11
|
-
function _interopRequireWildcard(
|
10
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
11
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
12
12
|
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
13
13
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
14
14
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
@@ -116,5 +116,4 @@ class ContextMenuUI extends _base.default {
|
|
116
116
|
return defaultOptions;
|
117
117
|
}
|
118
118
|
}
|
119
|
-
var _default = ContextMenuUI;
|
120
|
-
exports.default = _default;
|
119
|
+
var _default = exports.default = ContextMenuUI;
|
@@ -12,9 +12,8 @@ function _toPrimitive(input, hint) { if (typeof input !== "object" || input ===
|
|
12
12
|
_pluginHooks.default.getSingleton().register('persistentStateSave');
|
13
13
|
_pluginHooks.default.getSingleton().register('persistentStateLoad');
|
14
14
|
_pluginHooks.default.getSingleton().register('persistentStateReset');
|
15
|
-
const PLUGIN_KEY = 'persistentState';
|
16
|
-
exports.
|
17
|
-
const PLUGIN_PRIORITY = 0;
|
15
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'persistentState';
|
16
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 0;
|
18
17
|
|
19
18
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
20
19
|
|
@@ -43,7 +42,6 @@ const PLUGIN_PRIORITY = 0;
|
|
43
42
|
* __Important:__ In order for the data separation to work properly, make sure that each instance of Handsontable has a unique `id`.
|
44
43
|
*
|
45
44
|
*/
|
46
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
47
45
|
class PersistentState extends _base.BasePlugin {
|
48
46
|
constructor() {
|
49
47
|
super(...arguments);
|
package/plugins/search/search.js
CHANGED
@@ -13,10 +13,8 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
13
13
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
14
14
|
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
15
15
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
16
|
-
const PLUGIN_KEY = 'search';
|
17
|
-
exports.
|
18
|
-
const PLUGIN_PRIORITY = 190;
|
19
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
16
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'search';
|
17
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 190;
|
20
18
|
const DEFAULT_SEARCH_RESULT_CLASS = 'htSearchResult';
|
21
19
|
const DEFAULT_CALLBACK = function (instance, row, col, data, testResult) {
|
22
20
|
instance.getCellMeta(row, col).isSearchResult = testResult;
|
@@ -13,16 +13,14 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
13
13
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
14
14
|
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
15
15
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
16
|
-
const PLUGIN_KEY = 'touchScroll';
|
17
|
-
exports.
|
18
|
-
const PLUGIN_PRIORITY = 200;
|
16
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'touchScroll';
|
17
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 200;
|
19
18
|
|
20
19
|
/**
|
21
20
|
* @private
|
22
21
|
* @plugin TouchScroll
|
23
22
|
* @class TouchScroll
|
24
23
|
*/
|
25
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
26
24
|
var _onAfterViewRender = /*#__PURE__*/new WeakSet();
|
27
25
|
var _onBeforeTouchScroll = /*#__PURE__*/new WeakSet();
|
28
26
|
var _onAfterMomentumScroll = /*#__PURE__*/new WeakSet();
|
@@ -12,9 +12,8 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
12
12
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
13
13
|
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
14
14
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
15
|
-
const PLUGIN_KEY = 'trimRows';
|
16
|
-
exports.
|
17
|
-
const PLUGIN_PRIORITY = 330;
|
15
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'trimRows';
|
16
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 330;
|
18
17
|
|
19
18
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
20
19
|
|
@@ -103,7 +102,6 @@ const PLUGIN_PRIORITY = 330;
|
|
103
102
|
* ```
|
104
103
|
* :::
|
105
104
|
*/
|
106
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
107
105
|
var _onMapInit = /*#__PURE__*/new WeakSet();
|
108
106
|
class TrimRows extends _base.BasePlugin {
|
109
107
|
constructor() {
|
@@ -4,5 +4,5 @@ exports.__esModule = true;
|
|
4
4
|
var _undoRedo = _interopRequireWildcard(require("./undoRedo"));
|
5
5
|
exports.UndoRedo = _undoRedo.default;
|
6
6
|
exports.PLUGIN_KEY = _undoRedo.PLUGIN_KEY;
|
7
|
-
function _getRequireWildcardCache(
|
8
|
-
function _interopRequireWildcard(
|
7
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
8
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
@@ -9,7 +9,7 @@ var _object = require("../../helpers/object");
|
|
9
9
|
var _utils = require("../contextMenu/utils");
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
11
11
|
const SHORTCUTS_GROUP = 'undoRedo';
|
12
|
-
const PLUGIN_KEY = 'undoRedo';
|
12
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'undoRedo';
|
13
13
|
|
14
14
|
/**
|
15
15
|
* @description
|
@@ -24,7 +24,6 @@ const PLUGIN_KEY = 'undoRedo';
|
|
24
24
|
* @plugin UndoRedo
|
25
25
|
* @param {Core} instance The Handsontable instance.
|
26
26
|
*/
|
27
|
-
exports.PLUGIN_KEY = PLUGIN_KEY;
|
28
27
|
function UndoRedo(instance) {
|
29
28
|
const plugin = this;
|
30
29
|
this.instance = instance;
|
@@ -839,5 +838,4 @@ hook.register('beforeRedo');
|
|
839
838
|
hook.register('afterRedo');
|
840
839
|
UndoRedo.PLUGIN_KEY = PLUGIN_KEY;
|
841
840
|
UndoRedo.SETTING_KEYS = true;
|
842
|
-
var _default = UndoRedo;
|
843
|
-
exports.default = _default;
|
841
|
+
var _default = exports.default = UndoRedo;
|
@@ -8,7 +8,7 @@ var _eventManager = _interopRequireDefault(require("../../eventManager"));
|
|
8
8
|
var _element = require("../../helpers/dom/element");
|
9
9
|
var _a11y = require("../../helpers/a11y");
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
11
|
-
const RENDERER_TYPE = 'autocomplete';
|
11
|
+
const RENDERER_TYPE = exports.RENDERER_TYPE = 'autocomplete';
|
12
12
|
|
13
13
|
/**
|
14
14
|
* Autocomplete renderer.
|
@@ -22,7 +22,6 @@ const RENDERER_TYPE = 'autocomplete';
|
|
22
22
|
* @param {*} value The rendered value.
|
23
23
|
* @param {object} cellProperties The cell meta object ({@see Core#getCellMeta}).
|
24
24
|
*/
|
25
|
-
exports.RENDERER_TYPE = RENDERER_TYPE;
|
26
25
|
function autocompleteRenderer(hotInstance, TD, row, col, prop, value, cellProperties) {
|
27
26
|
const {
|
28
27
|
rootDocument
|
@@ -9,7 +9,7 @@ var _a11y = require("../../helpers/a11y");
|
|
9
9
|
* Adds appropriate CSS class to table cell, based on cellProperties.
|
10
10
|
*/
|
11
11
|
|
12
|
-
const RENDERER_TYPE = 'base';
|
12
|
+
const RENDERER_TYPE = exports.RENDERER_TYPE = 'base';
|
13
13
|
|
14
14
|
/**
|
15
15
|
* @param {Core} hotInstance The Handsontable instance.
|
@@ -20,7 +20,6 @@ const RENDERER_TYPE = 'base';
|
|
20
20
|
* @param {*} value The rendered value.
|
21
21
|
* @param {object} cellProperties The cell meta object ({@see Core#getCellMeta}).
|
22
22
|
*/
|
23
|
-
exports.RENDERER_TYPE = RENDERER_TYPE;
|
24
23
|
function baseRenderer(hotInstance, TD, row, col, prop, value, cellProperties) {
|
25
24
|
const ariaEnabled = cellProperties.ariaTags;
|
26
25
|
const classesToAdd = [];
|
@@ -18,8 +18,7 @@ const BAD_VALUE_CLASS = 'htBadValue';
|
|
18
18
|
const ATTR_ROW = 'data-row';
|
19
19
|
const ATTR_COLUMN = 'data-col';
|
20
20
|
const SHORTCUTS_GROUP = 'checkboxRenderer';
|
21
|
-
const RENDERER_TYPE = 'checkbox';
|
22
|
-
exports.RENDERER_TYPE = RENDERER_TYPE;
|
21
|
+
const RENDERER_TYPE = exports.RENDERER_TYPE = 'checkbox';
|
23
22
|
_pluginHooks.default.getSingleton().add('modifyAutoColumnSizeSeed', function (bundleSeed, cellMeta, cellValue) {
|
24
23
|
const {
|
25
24
|
label,
|
@@ -3,7 +3,7 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.dateRenderer = dateRenderer;
|
5
5
|
var _autocompleteRenderer = require("../autocompleteRenderer");
|
6
|
-
const RENDERER_TYPE = 'date';
|
6
|
+
const RENDERER_TYPE = exports.RENDERER_TYPE = 'date';
|
7
7
|
|
8
8
|
/**
|
9
9
|
* Handsontable renderer.
|
@@ -17,7 +17,6 @@ const RENDERER_TYPE = 'date';
|
|
17
17
|
* @param {*} value The rendered value.
|
18
18
|
* @param {object} cellProperties The cell meta object ({@see Core#getCellMeta}).
|
19
19
|
*/
|
20
|
-
exports.RENDERER_TYPE = RENDERER_TYPE;
|
21
20
|
function dateRenderer(hotInstance, TD, row, col, prop, value, cellProperties) {
|
22
21
|
_autocompleteRenderer.autocompleteRenderer.apply(this, [hotInstance, TD, row, col, prop, value, cellProperties]);
|
23
22
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.handsontableRenderer = handsontableRenderer;
|
5
5
|
var _autocompleteRenderer = require("../autocompleteRenderer");
|
6
|
-
const RENDERER_TYPE = 'handsontable';
|
6
|
+
const RENDERER_TYPE = exports.RENDERER_TYPE = 'handsontable';
|
7
7
|
|
8
8
|
/**
|
9
9
|
* Handsontable renderer.
|
@@ -17,7 +17,6 @@ const RENDERER_TYPE = 'handsontable';
|
|
17
17
|
* @param {*} value The rendered value.
|
18
18
|
* @param {object} cellProperties The cell meta object ({@see Core#getCellMeta}).
|
19
19
|
*/
|
20
|
-
exports.RENDERER_TYPE = RENDERER_TYPE;
|
21
20
|
function handsontableRenderer(hotInstance, TD, row, col, prop, value, cellProperties) {
|
22
21
|
_autocompleteRenderer.autocompleteRenderer.apply(this, [hotInstance, TD, row, col, prop, value, cellProperties]);
|
23
22
|
}
|
@@ -4,7 +4,7 @@ exports.__esModule = true;
|
|
4
4
|
exports.htmlRenderer = htmlRenderer;
|
5
5
|
var _baseRenderer = require("../baseRenderer");
|
6
6
|
var _element = require("../../helpers/dom/element");
|
7
|
-
const RENDERER_TYPE = 'html';
|
7
|
+
const RENDERER_TYPE = exports.RENDERER_TYPE = 'html';
|
8
8
|
|
9
9
|
/**
|
10
10
|
* @private
|
@@ -16,7 +16,6 @@ const RENDERER_TYPE = 'html';
|
|
16
16
|
* @param {*} value The rendered value.
|
17
17
|
* @param {object} cellProperties The cell meta object ({@see Core#getCellMeta}).
|
18
18
|
*/
|
19
|
-
exports.RENDERER_TYPE = RENDERER_TYPE;
|
20
19
|
function htmlRenderer(hotInstance, TD, row, col, prop, value, cellProperties) {
|
21
20
|
_baseRenderer.baseRenderer.apply(this, [hotInstance, TD, row, col, prop, value, cellProperties]);
|
22
21
|
(0, _element.fastInnerHTML)(TD, value === null || value === undefined ? '' : value, false);
|
@@ -7,7 +7,7 @@ var _numbro = _interopRequireDefault(require("numbro"));
|
|
7
7
|
var _textRenderer = require("../textRenderer");
|
8
8
|
var _number = require("../../helpers/number");
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
10
|
-
const RENDERER_TYPE = 'numeric';
|
10
|
+
const RENDERER_TYPE = exports.RENDERER_TYPE = 'numeric';
|
11
11
|
|
12
12
|
/**
|
13
13
|
* Numeric cell renderer.
|
@@ -21,7 +21,6 @@ const RENDERER_TYPE = 'numeric';
|
|
21
21
|
* @param {*} value The rendered value.
|
22
22
|
* @param {object} cellProperties The cell meta object ({@see Core#getCellMeta}).
|
23
23
|
*/
|
24
|
-
exports.RENDERER_TYPE = RENDERER_TYPE;
|
25
24
|
function numericRenderer(hotInstance, TD, row, col, prop, value, cellProperties) {
|
26
25
|
let newValue = value;
|
27
26
|
if ((0, _number.isNumeric)(newValue)) {
|
@@ -5,7 +5,7 @@ exports.passwordRenderer = passwordRenderer;
|
|
5
5
|
var _textRenderer = require("../textRenderer");
|
6
6
|
var _element = require("../../helpers/dom/element");
|
7
7
|
var _number = require("../../helpers/number");
|
8
|
-
const RENDERER_TYPE = 'password';
|
8
|
+
const RENDERER_TYPE = exports.RENDERER_TYPE = 'password';
|
9
9
|
|
10
10
|
/**
|
11
11
|
* @private
|
@@ -17,7 +17,6 @@ const RENDERER_TYPE = 'password';
|
|
17
17
|
* @param {*} value The rendered value.
|
18
18
|
* @param {object} cellProperties The cell meta object ({@see Core#getCellMeta}).
|
19
19
|
*/
|
20
|
-
exports.RENDERER_TYPE = RENDERER_TYPE;
|
21
20
|
function passwordRenderer(hotInstance, TD, row, col, prop, value, cellProperties) {
|
22
21
|
_textRenderer.textRenderer.apply(this, [hotInstance, TD, row, col, prop, value, cellProperties]);
|
23
22
|
const hashLength = cellProperties.hashLength || TD.innerHTML.length;
|
@@ -3,7 +3,7 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.selectRenderer = selectRenderer;
|
5
5
|
var _textRenderer = require("../textRenderer");
|
6
|
-
const RENDERER_TYPE = 'select';
|
6
|
+
const RENDERER_TYPE = exports.RENDERER_TYPE = 'select';
|
7
7
|
|
8
8
|
/**
|
9
9
|
* @private
|
@@ -15,7 +15,6 @@ const RENDERER_TYPE = 'select';
|
|
15
15
|
* @param {*} value The rendered value.
|
16
16
|
* @param {object} cellProperties The cell meta object ({@see Core#getCellMeta}).
|
17
17
|
*/
|
18
|
-
exports.RENDERER_TYPE = RENDERER_TYPE;
|
19
18
|
function selectRenderer(hotInstance, TD, row, col, prop, value, cellProperties) {
|
20
19
|
_textRenderer.textRenderer.apply(this, [hotInstance, TD, row, col, prop, value, cellProperties]);
|
21
20
|
}
|