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
package/languages/ja-JP.js
CHANGED
@@ -154,8 +154,7 @@ const dictionary = {
|
|
154
154
|
[C.FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE]: '値2'
|
155
155
|
};
|
156
156
|
_handsontable.default.languages.registerLanguageDictionary(dictionary);
|
157
|
-
var _default = dictionary;
|
158
|
-
exports["default"] = _default;
|
157
|
+
var _default = exports["default"] = dictionary;
|
159
158
|
})();
|
160
159
|
|
161
160
|
__webpack_exports__ = __webpack_exports__.___;
|
package/languages/ko-KR.js
CHANGED
@@ -151,8 +151,7 @@ const dictionary = {
|
|
151
151
|
[C.FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE]: '두번째 값'
|
152
152
|
};
|
153
153
|
_handsontable.default.languages.registerLanguageDictionary(dictionary);
|
154
|
-
var _default = dictionary;
|
155
|
-
exports["default"] = _default;
|
154
|
+
var _default = exports["default"] = dictionary;
|
156
155
|
})();
|
157
156
|
|
158
157
|
__webpack_exports__ = __webpack_exports__.___;
|
package/languages/lv-LV.js
CHANGED
@@ -155,8 +155,7 @@ const dictionary = {
|
|
155
155
|
[C.FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE]: 'Otra vērtība'
|
156
156
|
};
|
157
157
|
_handsontable.default.languages.registerLanguageDictionary(dictionary);
|
158
|
-
var _default = dictionary;
|
159
|
-
exports["default"] = _default;
|
158
|
+
var _default = exports["default"] = dictionary;
|
160
159
|
})();
|
161
160
|
|
162
161
|
__webpack_exports__ = __webpack_exports__.___;
|
package/languages/nb-NO.js
CHANGED
@@ -151,8 +151,7 @@ const dictionary = {
|
|
151
151
|
[C.FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE]: 'Andre verdi'
|
152
152
|
};
|
153
153
|
_handsontable.default.languages.registerLanguageDictionary(dictionary);
|
154
|
-
var _default = dictionary;
|
155
|
-
exports["default"] = _default;
|
154
|
+
var _default = exports["default"] = dictionary;
|
156
155
|
})();
|
157
156
|
|
158
157
|
__webpack_exports__ = __webpack_exports__.___;
|
package/languages/nl-NL.js
CHANGED
@@ -154,8 +154,7 @@ const dictionary = {
|
|
154
154
|
[C.FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE]: 'Tweede waarde'
|
155
155
|
};
|
156
156
|
_handsontable.default.languages.registerLanguageDictionary(dictionary);
|
157
|
-
var _default = dictionary;
|
158
|
-
exports["default"] = _default;
|
157
|
+
var _default = exports["default"] = dictionary;
|
159
158
|
})();
|
160
159
|
|
161
160
|
__webpack_exports__ = __webpack_exports__.___;
|
package/languages/pl-PL.js
CHANGED
@@ -157,8 +157,7 @@ const dictionary = {
|
|
157
157
|
[C.CHECKBOX_UNCHECKED]: 'Odznaczony'
|
158
158
|
};
|
159
159
|
_handsontable.default.languages.registerLanguageDictionary(dictionary);
|
160
|
-
var _default = dictionary;
|
161
|
-
exports["default"] = _default;
|
160
|
+
var _default = exports["default"] = dictionary;
|
162
161
|
})();
|
163
162
|
|
164
163
|
__webpack_exports__ = __webpack_exports__.___;
|
package/languages/pt-BR.js
CHANGED
@@ -151,8 +151,7 @@ const dictionary = {
|
|
151
151
|
[C.FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE]: 'Segundo valor'
|
152
152
|
};
|
153
153
|
_handsontable.default.languages.registerLanguageDictionary(dictionary);
|
154
|
-
var _default = dictionary;
|
155
|
-
exports["default"] = _default;
|
154
|
+
var _default = exports["default"] = dictionary;
|
156
155
|
})();
|
157
156
|
|
158
157
|
__webpack_exports__ = __webpack_exports__.___;
|
package/languages/ru-RU.js
CHANGED
@@ -151,8 +151,7 @@ const dictionary = {
|
|
151
151
|
[C.FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE]: 'Второе значение'
|
152
152
|
};
|
153
153
|
_handsontable.default.languages.registerLanguageDictionary(dictionary);
|
154
|
-
var _default = dictionary;
|
155
|
-
exports["default"] = _default;
|
154
|
+
var _default = exports["default"] = dictionary;
|
156
155
|
})();
|
157
156
|
|
158
157
|
__webpack_exports__ = __webpack_exports__.___;
|
package/languages/sr-SP.js
CHANGED
@@ -152,8 +152,7 @@ const dictionary = {
|
|
152
152
|
[C.FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE]: 'Druga vrednost'
|
153
153
|
};
|
154
154
|
_handsontable.default.languages.registerLanguageDictionary(dictionary);
|
155
|
-
var _default = dictionary;
|
156
|
-
exports["default"] = _default;
|
155
|
+
var _default = exports["default"] = dictionary;
|
157
156
|
})();
|
158
157
|
|
159
158
|
__webpack_exports__ = __webpack_exports__.___;
|
package/languages/zh-CN.js
CHANGED
@@ -154,8 +154,7 @@ const dictionary = {
|
|
154
154
|
[C.FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE]: '第二值'
|
155
155
|
};
|
156
156
|
_handsontable.default.languages.registerLanguageDictionary(dictionary);
|
157
|
-
var _default = dictionary;
|
158
|
-
exports["default"] = _default;
|
157
|
+
var _default = exports["default"] = dictionary;
|
159
158
|
})();
|
160
159
|
|
161
160
|
__webpack_exports__ = __webpack_exports__.___;
|
package/languages/zh-TW.js
CHANGED
@@ -151,8 +151,7 @@ const dictionary = {
|
|
151
151
|
[C.FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE]: '第二值'
|
152
152
|
};
|
153
153
|
_handsontable.default.languages.registerLanguageDictionary(dictionary);
|
154
|
-
var _default = dictionary;
|
155
|
-
exports["default"] = _default;
|
154
|
+
var _default = exports["default"] = dictionary;
|
156
155
|
})();
|
157
156
|
|
158
157
|
__webpack_exports__ = __webpack_exports__.___;
|
package/mixins/localHooks.js
CHANGED
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"url": "https://github.com/handsontable/handsontable/issues"
|
11
11
|
},
|
12
12
|
"author": "Handsoncode <hello@handsontable.com>",
|
13
|
-
"version": "0.0.0-next-
|
13
|
+
"version": "0.0.0-next-f76fee2-20231130",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|
package/pluginHooks.js
CHANGED
@@ -1217,7 +1217,7 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1217
1217
|
* This is due to the priority of other options that may block the feature.
|
1218
1218
|
* For example, when the {@link Options#minSpareCols} is defined, the {@link Options#autoWrapRow} option is not checked.
|
1219
1219
|
* Thus, row wrapping is off.
|
1220
|
-
* @param {CellCoords} newCoords The new focus position.
|
1220
|
+
* @param {CellCoords} newCoords The new focus position. It is an object with keys `row` and `col`, where a value of `-1` indicates a header.
|
1221
1221
|
* @param {boolean} isFlipped `true` if the row index was flipped, `false` otherwise.
|
1222
1222
|
* Flipped index means that the user reached the last row and the focus is moved to the first row or vice versa.
|
1223
1223
|
*/
|
@@ -1233,7 +1233,7 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1233
1233
|
* This is due to the priority of other options that may block the feature.
|
1234
1234
|
* For example, when the {@link Options#minSpareRows} is defined, the {@link Options#autoWrapCol} option is not checked.
|
1235
1235
|
* Thus, column wrapping is off.
|
1236
|
-
* @param {CellCoords} newCoords The new focus position.
|
1236
|
+
* @param {CellCoords} newCoords The new focus position. It is an object with keys `row` and `col`, where a value of `-1` indicates a header.
|
1237
1237
|
* @param {boolean} isFlipped `true` if the column index was flipped, `false` otherwise.
|
1238
1238
|
* Flipped index means that the user reached the last column and the focus is moved to the first column or vice versa.
|
1239
1239
|
*/
|
@@ -1273,6 +1273,8 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1273
1273
|
'beforeSetRangeEnd',
|
1274
1274
|
/**
|
1275
1275
|
* Fired before applying selection coordinates to the renderable coordinates for Walkontable (rendering engine).
|
1276
|
+
* It occurs even when cell coordinates remain unchanged and activates during cell selection and drag selection.
|
1277
|
+
* The behavior of Shift+Tab differs from Arrow Left when there's no further movement possible.
|
1276
1278
|
*
|
1277
1279
|
* @since 14.0.0
|
1278
1280
|
* @event Hooks#beforeSelectionHighlightSet
|
@@ -1342,7 +1344,7 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1342
1344
|
* @event Hooks#modifyFocusedElement
|
1343
1345
|
* @param {number} row Row index.
|
1344
1346
|
* @param {number} column Column index.
|
1345
|
-
* @param {HTMLElement|undefined} focusedElement The element to be focused.
|
1347
|
+
* @param {HTMLElement|undefined} focusedElement The element to be focused. `null` for focusedElement is intended when focused cell is hidden.
|
1346
1348
|
*/
|
1347
1349
|
'modifyFocusedElement',
|
1348
1350
|
/**
|
@@ -2954,5 +2956,4 @@ const globalSingleton = new Hooks();
|
|
2954
2956
|
function getGlobalSingleton() {
|
2955
2957
|
return globalSingleton;
|
2956
2958
|
}
|
2957
|
-
var _default = Hooks;
|
2958
|
-
exports.default = _default;
|
2959
|
+
var _default = exports.default = Hooks;
|
package/pluginHooks.mjs
CHANGED
@@ -1215,7 +1215,7 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1215
1215
|
* This is due to the priority of other options that may block the feature.
|
1216
1216
|
* For example, when the {@link Options#minSpareCols} is defined, the {@link Options#autoWrapRow} option is not checked.
|
1217
1217
|
* Thus, row wrapping is off.
|
1218
|
-
* @param {CellCoords} newCoords The new focus position.
|
1218
|
+
* @param {CellCoords} newCoords The new focus position. It is an object with keys `row` and `col`, where a value of `-1` indicates a header.
|
1219
1219
|
* @param {boolean} isFlipped `true` if the row index was flipped, `false` otherwise.
|
1220
1220
|
* Flipped index means that the user reached the last row and the focus is moved to the first row or vice versa.
|
1221
1221
|
*/
|
@@ -1231,7 +1231,7 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1231
1231
|
* This is due to the priority of other options that may block the feature.
|
1232
1232
|
* For example, when the {@link Options#minSpareRows} is defined, the {@link Options#autoWrapCol} option is not checked.
|
1233
1233
|
* Thus, column wrapping is off.
|
1234
|
-
* @param {CellCoords} newCoords The new focus position.
|
1234
|
+
* @param {CellCoords} newCoords The new focus position. It is an object with keys `row` and `col`, where a value of `-1` indicates a header.
|
1235
1235
|
* @param {boolean} isFlipped `true` if the column index was flipped, `false` otherwise.
|
1236
1236
|
* Flipped index means that the user reached the last column and the focus is moved to the first column or vice versa.
|
1237
1237
|
*/
|
@@ -1271,6 +1271,8 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1271
1271
|
'beforeSetRangeEnd',
|
1272
1272
|
/**
|
1273
1273
|
* Fired before applying selection coordinates to the renderable coordinates for Walkontable (rendering engine).
|
1274
|
+
* It occurs even when cell coordinates remain unchanged and activates during cell selection and drag selection.
|
1275
|
+
* The behavior of Shift+Tab differs from Arrow Left when there's no further movement possible.
|
1274
1276
|
*
|
1275
1277
|
* @since 14.0.0
|
1276
1278
|
* @event Hooks#beforeSelectionHighlightSet
|
@@ -1340,7 +1342,7 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1340
1342
|
* @event Hooks#modifyFocusedElement
|
1341
1343
|
* @param {number} row Row index.
|
1342
1344
|
* @param {number} column Column index.
|
1343
|
-
* @param {HTMLElement|undefined} focusedElement The element to be focused.
|
1345
|
+
* @param {HTMLElement|undefined} focusedElement The element to be focused. `null` for focusedElement is intended when focused cell is hidden.
|
1344
1346
|
*/
|
1345
1347
|
'modifyFocusedElement',
|
1346
1348
|
/**
|
@@ -29,10 +29,8 @@ function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!priva
|
|
29
29
|
function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; }
|
30
30
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
31
31
|
_pluginHooks.default.getSingleton().register('modifyAutoColumnSizeSeed');
|
32
|
-
const PLUGIN_KEY = 'autoColumnSize';
|
33
|
-
exports.
|
34
|
-
const PLUGIN_PRIORITY = 10;
|
35
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
32
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'autoColumnSize';
|
33
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 10;
|
36
34
|
const COLUMN_SIZE_MAP_NAME = 'autoColumnSize';
|
37
35
|
|
38
36
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
@@ -19,10 +19,8 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
19
19
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
20
20
|
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); }
|
21
21
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
22
|
-
const PLUGIN_KEY = 'autoRowSize';
|
23
|
-
exports.
|
24
|
-
const PLUGIN_PRIORITY = 40;
|
25
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
22
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'autoRowSize';
|
23
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 40;
|
26
24
|
const ROW_WIDTHS_MAP_NAME = 'autoRowSize';
|
27
25
|
|
28
26
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
@@ -18,10 +18,8 @@ function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(
|
|
18
18
|
_pluginHooks.default.getSingleton().register('modifyAutofillRange');
|
19
19
|
_pluginHooks.default.getSingleton().register('beforeAutofill');
|
20
20
|
_pluginHooks.default.getSingleton().register('afterAutofill');
|
21
|
-
const PLUGIN_KEY = 'autofill';
|
22
|
-
exports.
|
23
|
-
const PLUGIN_PRIORITY = 20;
|
24
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
21
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'autofill';
|
22
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 20;
|
25
23
|
const SETTING_KEYS = ['fillHandle'];
|
26
24
|
const INSERT_ROW_ALTER_ACTION_NAME = 'insert_row_below';
|
27
25
|
const INTERVAL_FOR_ADDING_ROW = 200;
|
@@ -5,7 +5,7 @@ exports.getDragDirectionAndRange = getDragDirectionAndRange;
|
|
5
5
|
exports.getMappedFillHandleSetting = getMappedFillHandleSetting;
|
6
6
|
var _object = require("../../helpers/object");
|
7
7
|
var _mixed = require("../../helpers/mixed");
|
8
|
-
const DIRECTIONS = {
|
8
|
+
const DIRECTIONS = exports.DIRECTIONS = {
|
9
9
|
horizontal: 'horizontal',
|
10
10
|
vertical: 'vertical'
|
11
11
|
};
|
@@ -18,7 +18,6 @@ const DIRECTIONS = {
|
|
18
18
|
* @param {Function} cellCoordsFactory The function factory for CellCoords objects.
|
19
19
|
* @returns {{direction: string, start: CellCoords, end: CellCoords}}
|
20
20
|
*/
|
21
|
-
exports.DIRECTIONS = DIRECTIONS;
|
22
21
|
function getDragDirectionAndRange(startSelection, endSelection, cellCoordsFactory) {
|
23
22
|
let startOfDragCoords;
|
24
23
|
let endOfDragCoords;
|
package/plugins/base/base.js
CHANGED
@@ -23,8 +23,7 @@ function _classPrivateFieldGet(receiver, privateMap) { var descriptor = _classEx
|
|
23
23
|
function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); }
|
24
24
|
function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; }
|
25
25
|
const DEPS_TYPE_CHECKERS = new Map([['plugin', _registry.hasPlugin], ['cell-type', _registry2.hasCellType], ['editor', _registry3.hasEditor], ['renderer', _registry4.hasRenderer], ['validator', _registry5.hasValidator]]);
|
26
|
-
const PLUGIN_KEY = 'base';
|
27
|
-
exports.PLUGIN_KEY = PLUGIN_KEY;
|
26
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'base';
|
28
27
|
const missingDepsMsgs = [];
|
29
28
|
let initializedPlugins = null;
|
30
29
|
|
@@ -12,10 +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 = 'bindRowsWithHeaders';
|
16
|
-
exports.
|
17
|
-
const PLUGIN_PRIORITY = 210;
|
18
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
15
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'bindRowsWithHeaders';
|
16
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 210;
|
19
17
|
const DEFAULT_BIND = 'loose';
|
20
18
|
const bindTypeToMapStrategy = new Map([['loose', _looseBindsMap.default], ['strict', _strictBindsMap.default]]);
|
21
19
|
|
@@ -22,10 +22,8 @@ function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(
|
|
22
22
|
function _classPrivateFieldSet(receiver, privateMap, value) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "set"); _classApplyDescriptorSet(receiver, descriptor, value); return value; }
|
23
23
|
function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); }
|
24
24
|
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; } }
|
25
|
-
const PLUGIN_KEY = 'collapsibleColumns';
|
26
|
-
exports.
|
27
|
-
const PLUGIN_PRIORITY = 290;
|
28
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
25
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'collapsibleColumns';
|
26
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 290;
|
29
27
|
const SETTING_KEYS = ['nestedHeaders'];
|
30
28
|
const COLLAPSIBLE_ELEMENT_CLASS = 'collapsibleIndicator';
|
31
29
|
const SHORTCUTS_GROUP = PLUGIN_KEY;
|
@@ -24,14 +24,10 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
24
24
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
25
25
|
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); }
|
26
26
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
27
|
-
const PLUGIN_KEY = 'columnSorting';
|
28
|
-
exports.
|
29
|
-
const
|
30
|
-
exports.
|
31
|
-
const APPEND_COLUMN_CONFIG_STRATEGY = 'append';
|
32
|
-
exports.APPEND_COLUMN_CONFIG_STRATEGY = APPEND_COLUMN_CONFIG_STRATEGY;
|
33
|
-
const REPLACE_COLUMN_CONFIG_STRATEGY = 'replace';
|
34
|
-
exports.REPLACE_COLUMN_CONFIG_STRATEGY = REPLACE_COLUMN_CONFIG_STRATEGY;
|
27
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'columnSorting';
|
28
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 50;
|
29
|
+
const APPEND_COLUMN_CONFIG_STRATEGY = exports.APPEND_COLUMN_CONFIG_STRATEGY = 'append';
|
30
|
+
const REPLACE_COLUMN_CONFIG_STRATEGY = exports.REPLACE_COLUMN_CONFIG_STRATEGY = 'replace';
|
35
31
|
const SHORTCUTS_GROUP = PLUGIN_KEY;
|
36
32
|
(0, _sortService.registerRootComparator)(PLUGIN_KEY, _rootComparator.rootComparator);
|
37
33
|
_pluginHooks.default.getSingleton().register('beforeColumnSort');
|
@@ -61,5 +61,4 @@ function compareFunctionFactory(sortOrder, columnMeta, columnPluginSettings) {
|
|
61
61
|
return _sortService.DO_NOT_SWAP;
|
62
62
|
};
|
63
63
|
}
|
64
|
-
const COLUMN_DATA_TYPE = 'checkbox';
|
65
|
-
exports.COLUMN_DATA_TYPE = COLUMN_DATA_TYPE;
|
64
|
+
const COLUMN_DATA_TYPE = exports.COLUMN_DATA_TYPE = 'checkbox';
|
@@ -58,5 +58,4 @@ function compareFunctionFactory(sortOrder, columnMeta, columnPluginSettings) {
|
|
58
58
|
return _sortService.DO_NOT_SWAP;
|
59
59
|
};
|
60
60
|
}
|
61
|
-
const COLUMN_DATA_TYPE = 'date';
|
62
|
-
exports.COLUMN_DATA_TYPE = COLUMN_DATA_TYPE;
|
61
|
+
const COLUMN_DATA_TYPE = exports.COLUMN_DATA_TYPE = 'date';
|
@@ -62,5 +62,4 @@ function compareFunctionFactory(sortOrder, columnMeta, columnPluginSettings) {
|
|
62
62
|
return _sortService.DO_NOT_SWAP;
|
63
63
|
};
|
64
64
|
}
|
65
|
-
const COLUMN_DATA_TYPE = 'default';
|
66
|
-
exports.COLUMN_DATA_TYPE = COLUMN_DATA_TYPE;
|
65
|
+
const COLUMN_DATA_TYPE = exports.COLUMN_DATA_TYPE = 'default';
|
@@ -46,5 +46,4 @@ function compareFunctionFactory(sortOrder, columnMeta, columnPluginSettings) {
|
|
46
46
|
return _sortService.DO_NOT_SWAP;
|
47
47
|
};
|
48
48
|
}
|
49
|
-
const COLUMN_DATA_TYPE = 'numeric';
|
50
|
-
exports.COLUMN_DATA_TYPE = COLUMN_DATA_TYPE;
|
49
|
+
const COLUMN_DATA_TYPE = exports.COLUMN_DATA_TYPE = 'numeric';
|
@@ -3,18 +3,15 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.sort = sort;
|
5
5
|
var _registry = require("./registry");
|
6
|
-
const DO_NOT_SWAP = 0;
|
7
|
-
exports.
|
8
|
-
const
|
9
|
-
exports.FIRST_BEFORE_SECOND = FIRST_BEFORE_SECOND;
|
10
|
-
const FIRST_AFTER_SECOND = 1;
|
6
|
+
const DO_NOT_SWAP = exports.DO_NOT_SWAP = 0;
|
7
|
+
const FIRST_BEFORE_SECOND = exports.FIRST_BEFORE_SECOND = -1;
|
8
|
+
const FIRST_AFTER_SECOND = exports.FIRST_AFTER_SECOND = 1;
|
11
9
|
|
12
10
|
/**
|
13
11
|
* @param {Array} indexesWithData The data to sort.
|
14
12
|
* @param {string} rootComparatorId The comparator logic to use.
|
15
13
|
* @param {Array} argsForRootComparator Additional arguments for comparator function.
|
16
14
|
*/
|
17
|
-
exports.FIRST_AFTER_SECOND = FIRST_AFTER_SECOND;
|
18
15
|
function sort(indexesWithData, rootComparatorId) {
|
19
16
|
const rootComparator = (0, _registry.getRootComparator)(rootComparatorId);
|
20
17
|
for (var _len = arguments.length, argsForRootComparator = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
@@ -8,11 +8,9 @@ exports.isFirstLevelColumnHeader = isFirstLevelColumnHeader;
|
|
8
8
|
exports.wasHeaderClickedProperly = wasHeaderClickedProperly;
|
9
9
|
var _object = require("../../helpers/object");
|
10
10
|
var _event = require("../../helpers/dom/event");
|
11
|
-
const ASC_SORT_STATE = 'asc';
|
12
|
-
exports.
|
13
|
-
const
|
14
|
-
exports.DESC_SORT_STATE = DESC_SORT_STATE;
|
15
|
-
const HEADER_SPAN_CLASS = 'colHeader';
|
11
|
+
const ASC_SORT_STATE = exports.ASC_SORT_STATE = 'asc';
|
12
|
+
const DESC_SORT_STATE = exports.DESC_SORT_STATE = 'desc';
|
13
|
+
const HEADER_SPAN_CLASS = exports.HEADER_SPAN_CLASS = 'colHeader';
|
16
14
|
|
17
15
|
/**
|
18
16
|
* Get if column state is valid.
|
@@ -20,7 +18,6 @@ const HEADER_SPAN_CLASS = 'colHeader';
|
|
20
18
|
* @param {number} columnState Particular column state.
|
21
19
|
* @returns {boolean}
|
22
20
|
*/
|
23
|
-
exports.HEADER_SPAN_CLASS = HEADER_SPAN_CLASS;
|
24
21
|
function isValidColumnState(columnState) {
|
25
22
|
if ((0, _object.isObject)(columnState) === false) {
|
26
23
|
return false;
|
@@ -14,9 +14,8 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
14
14
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
15
15
|
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); }
|
16
16
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
17
|
-
const PLUGIN_KEY = 'columnSummary';
|
18
|
-
exports.
|
19
|
-
const PLUGIN_PRIORITY = 220;
|
17
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'columnSummary';
|
18
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 220;
|
20
19
|
|
21
20
|
/**
|
22
21
|
* @plugin ColumnSummary
|
@@ -104,7 +103,6 @@ const PLUGIN_PRIORITY = 220;
|
|
104
103
|
* ```
|
105
104
|
* :::
|
106
105
|
*/
|
107
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
108
106
|
var _onAfterInit = /*#__PURE__*/new WeakSet();
|
109
107
|
var _onAfterChange = /*#__PURE__*/new WeakSet();
|
110
108
|
var _onAfterRowMove = /*#__PURE__*/new WeakSet();
|
@@ -501,5 +501,4 @@ class Endpoints {
|
|
501
501
|
(0, _console.warn)('One of the Column Summary plugins\' destination points you provided is beyond the table boundaries!');
|
502
502
|
}
|
503
503
|
}
|
504
|
-
var _default = Endpoints;
|
505
|
-
exports.default = _default;
|
504
|
+
var _default = exports.default = Endpoints;
|
@@ -26,18 +26,12 @@ function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.
|
|
26
26
|
function _classPrivateFieldGet(receiver, privateMap) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get"); return _classApplyDescriptorGet(receiver, descriptor); }
|
27
27
|
function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); }
|
28
28
|
function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; }
|
29
|
-
const PLUGIN_KEY = 'comments';
|
30
|
-
exports.
|
31
|
-
const
|
32
|
-
exports.
|
33
|
-
const
|
34
|
-
exports.
|
35
|
-
const META_COMMENT_VALUE = 'value';
|
36
|
-
exports.META_COMMENT_VALUE = META_COMMENT_VALUE;
|
37
|
-
const META_STYLE = 'style';
|
38
|
-
exports.META_STYLE = META_STYLE;
|
39
|
-
const META_READONLY = 'readOnly';
|
40
|
-
exports.META_READONLY = META_READONLY;
|
29
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'comments';
|
30
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 60;
|
31
|
+
const META_COMMENT = exports.META_COMMENT = 'comment';
|
32
|
+
const META_COMMENT_VALUE = exports.META_COMMENT_VALUE = 'value';
|
33
|
+
const META_STYLE = exports.META_STYLE = 'style';
|
34
|
+
const META_READONLY = exports.META_READONLY = 'readOnly';
|
41
35
|
const SHORTCUTS_GROUP = PLUGIN_KEY;
|
42
36
|
const SHORTCUTS_CONTEXT_NAME = `plugin:${PLUGIN_KEY}`;
|
43
37
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.default = addEditCommentItem;
|
5
5
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
6
|
-
function _getRequireWildcardCache(
|
7
|
-
function _interopRequireWildcard(
|
6
|
+
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); }
|
7
|
+
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; }
|
8
8
|
/**
|
9
9
|
* @param {Comments} plugin The Comments plugin instance.
|
10
10
|
* @returns {object}
|
@@ -5,8 +5,8 @@ exports.default = readOnlyCommentItem;
|
|
5
5
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
6
6
|
var _utils = require("../../contextMenu/utils");
|
7
7
|
var _comments = require("../comments");
|
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 {Comments} plugin The Comments plugin instance.
|
12
12
|
* @returns {object}
|
@@ -3,8 +3,8 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.default = removeCommentItem;
|
5
5
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
6
|
-
function _getRequireWildcardCache(
|
7
|
-
function _interopRequireWildcard(
|
6
|
+
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); }
|
7
|
+
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; }
|
8
8
|
/**
|
9
9
|
* @param {Comments} plugin The Comments plugin instance.
|
10
10
|
* @returns {object}
|
@@ -19,10 +19,8 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
19
19
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
20
20
|
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); }
|
21
21
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
22
|
-
const PLUGIN_KEY = 'contextMenu';
|
23
|
-
exports.
|
24
|
-
const PLUGIN_PRIORITY = 70;
|
25
|
-
exports.PLUGIN_PRIORITY = PLUGIN_PRIORITY;
|
22
|
+
const PLUGIN_KEY = exports.PLUGIN_KEY = 'contextMenu';
|
23
|
+
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 70;
|
26
24
|
const SHORTCUTS_GROUP = PLUGIN_KEY;
|
27
25
|
_pluginHooks.default.getSingleton().register('afterContextMenuDefaultOptions');
|
28
26
|
_pluginHooks.default.getSingleton().register('beforeContextMenuShow');
|
@@ -5,14 +5,13 @@ exports.default = alignmentItem;
|
|
5
5
|
var _utils = require("../utils");
|
6
6
|
var _separator = require("./separator");
|
7
7
|
var C = _interopRequireWildcard(require("../../../i18n/constants"));
|
8
|
-
function _getRequireWildcardCache(
|
9
|
-
function _interopRequireWildcard(
|
10
|
-
const KEY = 'alignment';
|
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
|
+
const KEY = exports.KEY = 'alignment';
|
11
11
|
|
12
12
|
/**
|
13
13
|
* @returns {object}
|
14
14
|
*/
|
15
|
-
exports.KEY = KEY;
|
16
15
|
function alignmentItem() {
|
17
16
|
return {
|
18
17
|
key: KEY,
|