handsontable 0.0.0-next-c2596d4-20240705 → 0.0.0-next-2cb2d27-20240709
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/renderAllColumns.js +1 -1
- package/3rdparty/walkontable/src/calculator/renderAllColumns.mjs +1 -1
- package/3rdparty/walkontable/src/calculator/renderAllRows.js +1 -1
- package/3rdparty/walkontable/src/calculator/renderAllRows.mjs +1 -1
- package/3rdparty/walkontable/src/calculator/viewportColumns.js +3 -3
- package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +3 -3
- package/3rdparty/walkontable/src/calculator/viewportRows.js +3 -3
- package/3rdparty/walkontable/src/calculator/viewportRows.mjs +3 -3
- package/3rdparty/walkontable/src/cell/coords.js +3 -3
- package/3rdparty/walkontable/src/cell/coords.mjs +3 -3
- package/3rdparty/walkontable/src/cell/range.js +4 -4
- package/3rdparty/walkontable/src/cell/range.mjs +3 -3
- package/3rdparty/walkontable/src/core/_base.js +2 -2
- package/3rdparty/walkontable/src/core/_base.mjs +1 -1
- package/3rdparty/walkontable/src/core/clone.js +2 -2
- package/3rdparty/walkontable/src/core/clone.mjs +1 -1
- package/3rdparty/walkontable/src/core/core.js +1 -1
- package/3rdparty/walkontable/src/event.js +2 -2
- package/3rdparty/walkontable/src/event.mjs +2 -2
- package/3rdparty/walkontable/src/facade/core.js +1 -1
- package/3rdparty/walkontable/src/filter/column.js +1 -1
- package/3rdparty/walkontable/src/filter/column.mjs +1 -1
- package/3rdparty/walkontable/src/filter/row.js +1 -1
- package/3rdparty/walkontable/src/filter/row.mjs +1 -1
- package/3rdparty/walkontable/src/index.js +1 -1
- package/3rdparty/walkontable/src/overlay/_base.js +2 -2
- package/3rdparty/walkontable/src/overlay/_base.mjs +1 -1
- package/3rdparty/walkontable/src/overlay/bottom.js +2 -2
- package/3rdparty/walkontable/src/overlay/bottom.mjs +1 -1
- package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.js +1 -1
- package/3rdparty/walkontable/src/overlay/inlineStart.js +1 -1
- package/3rdparty/walkontable/src/overlay/top.js +2 -2
- package/3rdparty/walkontable/src/overlay/top.mjs +1 -1
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.js +2 -2
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.mjs +1 -1
- package/3rdparty/walkontable/src/overlays.js +3 -3
- package/3rdparty/walkontable/src/overlays.mjs +3 -3
- package/3rdparty/walkontable/src/renderer/_base.js +2 -2
- package/3rdparty/walkontable/src/renderer/_base.mjs +1 -1
- package/3rdparty/walkontable/src/renderer/cells.js +2 -2
- package/3rdparty/walkontable/src/renderer/cells.mjs +1 -1
- package/3rdparty/walkontable/src/renderer/colGroup.js +1 -1
- package/3rdparty/walkontable/src/renderer/columnHeaders.js +1 -1
- package/3rdparty/walkontable/src/renderer/index.js +1 -1
- package/3rdparty/walkontable/src/renderer/rowHeaders.js +2 -2
- package/3rdparty/walkontable/src/renderer/rowHeaders.mjs +1 -1
- package/3rdparty/walkontable/src/renderer/rows.js +2 -2
- package/3rdparty/walkontable/src/renderer/rows.mjs +1 -1
- package/3rdparty/walkontable/src/renderer/table.js +1 -1
- package/3rdparty/walkontable/src/renderer/table.mjs +1 -1
- package/3rdparty/walkontable/src/scroll.js +3 -3
- package/3rdparty/walkontable/src/scroll.mjs +3 -3
- package/3rdparty/walkontable/src/selection/index.js +1 -1
- package/3rdparty/walkontable/src/selection/manager.js +4 -4
- package/3rdparty/walkontable/src/selection/manager.mjs +3 -3
- package/3rdparty/walkontable/src/selection/scanner.js +3 -3
- package/3rdparty/walkontable/src/selection/scanner.mjs +3 -3
- package/3rdparty/walkontable/src/selection/selection.js +1 -1
- package/3rdparty/walkontable/src/settings.js +1 -1
- package/3rdparty/walkontable/src/settings.mjs +1 -1
- package/3rdparty/walkontable/src/table/bottom.js +1 -1
- package/3rdparty/walkontable/src/table/bottomInlineStartCorner.js +1 -1
- package/3rdparty/walkontable/src/table/inlineStart.js +1 -1
- package/3rdparty/walkontable/src/table/master.js +1 -1
- package/3rdparty/walkontable/src/table/top.js +1 -1
- package/3rdparty/walkontable/src/table/topInlineStartCorner.js +1 -1
- package/3rdparty/walkontable/src/table.js +2 -2
- package/3rdparty/walkontable/src/table.mjs +1 -1
- package/3rdparty/walkontable/src/utils/column.js +1 -1
- package/3rdparty/walkontable/src/utils/column.mjs +1 -1
- package/3rdparty/walkontable/src/utils/columnStretching.js +3 -3
- package/3rdparty/walkontable/src/utils/columnStretching.mjs +3 -3
- package/3rdparty/walkontable/src/utils/nodesPool.js +1 -1
- package/3rdparty/walkontable/src/utils/nodesPool.mjs +1 -1
- package/3rdparty/walkontable/src/utils/orderView/index.js +1 -1
- package/3rdparty/walkontable/src/utils/orderView/sharedView.js +1 -1
- package/3rdparty/walkontable/src/utils/orderView/view.js +2 -2
- package/3rdparty/walkontable/src/utils/orderView/view.mjs +1 -1
- package/3rdparty/walkontable/src/utils/orderView/viewSize.js +1 -1
- package/3rdparty/walkontable/src/utils/orderView/viewSize.mjs +1 -1
- package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.js +2 -2
- package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.mjs +1 -1
- package/3rdparty/walkontable/src/utils/row.js +1 -1
- package/3rdparty/walkontable/src/utils/row.mjs +1 -1
- package/base.js +3 -3
- package/base.mjs +2 -2
- package/cellTypes/registry.js +1 -1
- package/core.d.ts +2 -0
- package/core.js +11 -1
- package/core.mjs +10 -0
- package/dataMap/dataMap.js +1 -1
- package/dataMap/dataMap.mjs +1 -1
- package/dataMap/dataSource.js +1 -1
- package/dataMap/dataSource.mjs +1 -1
- package/dataMap/index.js +1 -1
- package/dataMap/metaManager/index.js +1 -1
- package/dataMap/metaManager/lazyFactoryMap.js +1 -1
- package/dataMap/metaManager/lazyFactoryMap.mjs +1 -1
- package/dataMap/metaManager/metaLayers/cellMeta.js +2 -2
- package/dataMap/metaManager/metaLayers/cellMeta.mjs +1 -1
- package/dataMap/metaManager/metaLayers/columnMeta.js +2 -2
- package/dataMap/metaManager/metaLayers/columnMeta.mjs +1 -1
- package/dataMap/metaManager/metaLayers/globalMeta.js +2 -2
- package/dataMap/metaManager/metaLayers/globalMeta.mjs +1 -1
- package/dataMap/metaManager/metaLayers/tableMeta.js +1 -1
- package/dataMap/metaManager/metaLayers/tableMeta.mjs +1 -1
- package/dataMap/metaManager/metaSchema.js +25 -0
- package/dataMap/metaManager/metaSchema.mjs +25 -0
- package/dataMap/metaManager/mods/dynamicCellMeta.js +2 -2
- package/dataMap/metaManager/mods/dynamicCellMeta.mjs +1 -1
- package/dataMap/metaManager/mods/extendMetaProperties.js +3 -3
- package/dataMap/metaManager/mods/extendMetaProperties.mjs +3 -3
- package/dataMap/replaceData.js +1 -1
- package/dist/handsontable.css +7 -5
- package/dist/handsontable.full.css +7 -5
- package/dist/handsontable.full.js +566 -486
- package/dist/handsontable.full.min.css +3 -3
- package/dist/handsontable.full.min.js +15 -15
- package/dist/handsontable.js +562 -429
- package/dist/handsontable.min.css +3 -3
- package/dist/handsontable.min.js +14 -14
- package/dist/languages/all.js +3 -3
- package/dist/languages/ar-AR.js +3 -3
- package/dist/languages/cs-CZ.js +3 -3
- package/dist/languages/de-CH.js +3 -3
- package/dist/languages/de-DE.js +3 -3
- package/dist/languages/en-US.js +3 -3
- package/dist/languages/es-MX.js +3 -3
- package/dist/languages/fr-FR.js +3 -3
- package/dist/languages/hr-HR.js +3 -3
- package/dist/languages/it-IT.js +3 -3
- package/dist/languages/ja-JP.js +3 -3
- package/dist/languages/ko-KR.js +3 -3
- package/dist/languages/lv-LV.js +3 -3
- package/dist/languages/nb-NO.js +3 -3
- package/dist/languages/nl-NL.js +3 -3
- package/dist/languages/pl-PL.js +3 -3
- package/dist/languages/pt-BR.js +3 -3
- package/dist/languages/ru-RU.js +3 -3
- package/dist/languages/sr-SP.js +3 -3
- package/dist/languages/zh-CN.js +3 -3
- package/dist/languages/zh-TW.js +3 -3
- package/editorManager.js +4 -4
- package/editorManager.mjs +3 -3
- package/editors/autocompleteEditor/autocompleteEditor.js +3 -3
- package/editors/autocompleteEditor/autocompleteEditor.mjs +3 -3
- package/editors/baseEditor/baseEditor.js +2 -2
- package/editors/baseEditor/baseEditor.mjs +1 -1
- package/editors/dateEditor/dateEditor.js +2 -2
- package/editors/dateEditor/dateEditor.mjs +1 -1
- package/editors/dropdownEditor/dropdownEditor.js +1 -1
- package/editors/registry.js +1 -1
- package/editors/textEditor/textEditor.js +2 -2
- package/editors/textEditor/textEditor.mjs +1 -1
- package/eventManager.js +1 -1
- package/eventManager.mjs +1 -1
- package/focusManager.js +3 -3
- package/focusManager.mjs +3 -3
- package/helpers/mixed.js +2 -2
- package/helpers/mixed.mjs +1 -1
- package/helpers/string.js +1 -1
- package/i18n/languages/index.js +1 -1
- package/i18n/phraseFormatters/index.js +1 -1
- package/i18n/registry.js +1 -1
- package/index.js +1 -1
- package/languages/all.js +3 -3
- package/languages/ar-AR.js +3 -3
- package/languages/cs-CZ.js +3 -3
- package/languages/de-CH.js +3 -3
- package/languages/de-DE.js +3 -3
- package/languages/en-US.js +3 -3
- package/languages/es-MX.js +3 -3
- package/languages/fr-FR.js +3 -3
- package/languages/hr-HR.js +3 -3
- package/languages/index.js +3 -3
- package/languages/it-IT.js +3 -3
- package/languages/ja-JP.js +3 -3
- package/languages/ko-KR.js +3 -3
- package/languages/lv-LV.js +3 -3
- package/languages/nb-NO.js +3 -3
- package/languages/nl-NL.js +3 -3
- package/languages/pl-PL.js +3 -3
- package/languages/pt-BR.js +3 -3
- package/languages/ru-RU.js +3 -3
- package/languages/sr-SP.js +3 -3
- package/languages/zh-CN.js +3 -3
- package/languages/zh-TW.js +3 -3
- package/package.json +1 -2
- package/pluginHooks.js +1 -1
- package/pluginHooks.mjs +1 -1
- package/plugins/autoColumnSize/autoColumnSize.d.ts +1 -1
- package/plugins/autoColumnSize/autoColumnSize.js +123 -123
- package/plugins/autoColumnSize/autoColumnSize.mjs +122 -122
- package/plugins/autoRowSize/autoRowSize.d.ts +2 -1
- package/plugins/autoRowSize/autoRowSize.js +162 -100
- package/plugins/autoRowSize/autoRowSize.mjs +161 -99
- package/plugins/autofill/autofill.js +4 -4
- package/plugins/autofill/autofill.mjs +3 -3
- package/plugins/base/base.js +5 -5
- package/plugins/base/base.mjs +4 -4
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +4 -4
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.mjs +3 -3
- package/plugins/collapsibleColumns/collapsibleColumns.js +4 -4
- package/plugins/collapsibleColumns/collapsibleColumns.mjs +4 -4
- package/plugins/columnSorting/columnSorting.js +4 -4
- package/plugins/columnSorting/columnSorting.mjs +3 -3
- package/plugins/columnSorting/columnStatesManager.js +1 -1
- package/plugins/columnSorting/columnStatesManager.mjs +1 -1
- package/plugins/columnSorting/sortService/registry.js +1 -1
- package/plugins/columnSorting/utils.js +1 -1
- package/plugins/columnSummary/columnSummary.js +4 -4
- package/plugins/columnSummary/columnSummary.mjs +3 -3
- package/plugins/columnSummary/endpoints.js +1 -1
- package/plugins/columnSummary/endpoints.mjs +1 -1
- package/plugins/comments/commentEditor.js +3 -3
- package/plugins/comments/commentEditor.mjs +2 -2
- package/plugins/comments/comments.js +5 -5
- package/plugins/comments/comments.mjs +4 -4
- package/plugins/comments/displaySwitch.js +2 -2
- package/plugins/comments/displaySwitch.mjs +1 -1
- package/plugins/comments/editorResizeObserver.js +4 -4
- package/plugins/comments/editorResizeObserver.mjs +3 -3
- package/plugins/contextMenu/commandExecutor.js +1 -1
- package/plugins/contextMenu/commandExecutor.mjs +1 -1
- package/plugins/contextMenu/contextMenu.js +4 -4
- package/plugins/contextMenu/contextMenu.mjs +3 -3
- package/plugins/contextMenu/itemsFactory.js +1 -1
- package/plugins/contextMenu/itemsFactory.mjs +1 -1
- package/plugins/contextMenu/menu/cursor.js +1 -1
- package/plugins/contextMenu/menu/cursor.mjs +1 -1
- package/plugins/contextMenu/menu/menu.js +4 -4
- package/plugins/contextMenu/menu/menu.mjs +3 -3
- package/plugins/contextMenu/menu/positioner.js +2 -2
- package/plugins/contextMenu/menu/positioner.mjs +2 -2
- package/plugins/copyPaste/copyPaste.js +5 -5
- package/plugins/copyPaste/copyPaste.mjs +4 -4
- package/plugins/copyPaste/copyableRanges.js +3 -3
- package/plugins/copyPaste/copyableRanges.mjs +3 -3
- package/plugins/copyPaste/pasteEvent.js +1 -1
- package/plugins/customBorders/contextMenuItem/index.js +1 -1
- package/plugins/customBorders/customBorders.js +3 -3
- package/plugins/customBorders/customBorders.mjs +3 -3
- package/plugins/dragToScroll/dragToScroll.js +3 -3
- package/plugins/dragToScroll/dragToScroll.mjs +3 -3
- package/plugins/dropdownMenu/dropdownMenu.js +5 -5
- package/plugins/dropdownMenu/dropdownMenu.mjs +4 -4
- package/plugins/exportFile/dataProvider.js +1 -1
- package/plugins/exportFile/dataProvider.mjs +1 -1
- package/plugins/exportFile/exportFile.js +1 -1
- package/plugins/exportFile/typeFactory.js +1 -1
- package/plugins/exportFile/types/_base.js +1 -1
- package/plugins/exportFile/types/_base.mjs +1 -1
- package/plugins/exportFile/types/csv.js +1 -1
- package/plugins/filters/component/_base.js +2 -2
- package/plugins/filters/component/_base.mjs +1 -1
- package/plugins/filters/component/actionBar.js +3 -3
- package/plugins/filters/component/actionBar.mjs +3 -3
- package/plugins/filters/component/condition.js +3 -3
- package/plugins/filters/component/condition.mjs +3 -3
- package/plugins/filters/component/operators.js +3 -3
- package/plugins/filters/component/operators.mjs +3 -3
- package/plugins/filters/component/value.js +3 -3
- package/plugins/filters/component/value.mjs +3 -3
- package/plugins/filters/condition/date/after.js +1 -1
- package/plugins/filters/condition/date/before.js +1 -1
- package/plugins/filters/condition/date/today.js +1 -1
- package/plugins/filters/condition/date/tomorrow.js +1 -1
- package/plugins/filters/condition/date/yesterday.js +1 -1
- package/plugins/filters/conditionCollection.js +2 -2
- package/plugins/filters/conditionCollection.mjs +1 -1
- package/plugins/filters/conditionUpdateObserver.js +4 -4
- package/plugins/filters/conditionUpdateObserver.mjs +3 -3
- package/plugins/filters/dataFilter.js +1 -1
- package/plugins/filters/dataFilter.mjs +1 -1
- package/plugins/filters/filters.js +5 -5
- package/plugins/filters/filters.mjs +4 -4
- package/plugins/filters/ui/_base.js +2 -2
- package/plugins/filters/ui/_base.mjs +1 -1
- package/plugins/filters/ui/input.js +3 -3
- package/plugins/filters/ui/input.mjs +3 -3
- package/plugins/filters/ui/link.js +2 -2
- package/plugins/filters/ui/link.mjs +2 -2
- package/plugins/filters/ui/multipleSelect.js +3 -3
- package/plugins/filters/ui/multipleSelect.mjs +3 -3
- package/plugins/filters/ui/radioInput.js +2 -2
- package/plugins/filters/ui/radioInput.mjs +2 -2
- package/plugins/filters/ui/select.js +3 -3
- package/plugins/filters/ui/select.mjs +3 -3
- package/plugins/formulas/engine/register.js +1 -1
- package/plugins/formulas/formulas.js +5 -5
- package/plugins/formulas/formulas.mjs +4 -4
- package/plugins/formulas/indexSyncer/axisSyncer.js +2 -2
- package/plugins/formulas/indexSyncer/axisSyncer.mjs +2 -2
- package/plugins/formulas/indexSyncer/index.js +3 -3
- package/plugins/formulas/indexSyncer/index.mjs +2 -2
- package/plugins/formulas/utils.js +1 -1
- package/plugins/hiddenColumns/hiddenColumns.js +4 -4
- package/plugins/hiddenColumns/hiddenColumns.mjs +3 -3
- package/plugins/hiddenRows/hiddenRows.js +4 -4
- package/plugins/hiddenRows/hiddenRows.mjs +3 -3
- package/plugins/manualColumnFreeze/manualColumnFreeze.js +4 -4
- package/plugins/manualColumnFreeze/manualColumnFreeze.mjs +3 -3
- package/plugins/manualColumnMove/manualColumnMove.js +4 -4
- package/plugins/manualColumnMove/manualColumnMove.mjs +3 -3
- package/plugins/manualColumnMove/ui/_base.js +1 -1
- package/plugins/manualColumnMove/ui/_base.mjs +1 -1
- package/plugins/manualColumnMove/ui/backlight.js +1 -1
- package/plugins/manualColumnMove/ui/guideline.js +1 -1
- package/plugins/manualColumnResize/manualColumnResize.js +3 -3
- package/plugins/manualColumnResize/manualColumnResize.mjs +3 -3
- package/plugins/manualRowMove/manualRowMove.js +4 -4
- package/plugins/manualRowMove/manualRowMove.mjs +3 -3
- package/plugins/manualRowMove/ui/_base.js +1 -1
- package/plugins/manualRowMove/ui/_base.mjs +1 -1
- package/plugins/manualRowMove/ui/backlight.js +1 -1
- package/plugins/manualRowMove/ui/guideline.js +1 -1
- package/plugins/manualRowResize/manualRowResize.js +3 -3
- package/plugins/manualRowResize/manualRowResize.mjs +3 -3
- package/plugins/mergeCells/calculations/autofill.js +1 -1
- package/plugins/mergeCells/calculations/autofill.mjs +1 -1
- package/plugins/mergeCells/calculations/selection.js +1 -1
- package/plugins/mergeCells/calculations/selection.mjs +1 -1
- package/plugins/mergeCells/cellCoords.js +3 -3
- package/plugins/mergeCells/cellCoords.mjs +3 -3
- package/plugins/mergeCells/cellsCollection.js +4 -4
- package/plugins/mergeCells/cellsCollection.mjs +3 -3
- package/plugins/mergeCells/contextMenuItem/toggleMerge.js +1 -1
- package/plugins/mergeCells/focusOrder.js +4 -4
- package/plugins/mergeCells/focusOrder.mjs +3 -3
- package/plugins/mergeCells/mergeCells.js +5 -5
- package/plugins/mergeCells/mergeCells.mjs +4 -4
- package/plugins/multiColumnSorting/multiColumnSorting.js +1 -1
- package/plugins/multiColumnSorting/multiColumnSorting.mjs +1 -1
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +1 -1
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.mjs +1 -1
- package/plugins/nestedHeaders/nestedHeaders.d.ts +1 -0
- package/plugins/nestedHeaders/nestedHeaders.js +19 -8
- package/plugins/nestedHeaders/nestedHeaders.mjs +18 -7
- package/plugins/nestedHeaders/stateManager/headersTree.js +3 -3
- package/plugins/nestedHeaders/stateManager/headersTree.mjs +2 -2
- package/plugins/nestedHeaders/stateManager/index.js +3 -3
- package/plugins/nestedHeaders/stateManager/index.mjs +2 -2
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +5 -1
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.mjs +5 -1
- package/plugins/nestedHeaders/stateManager/sourceSettings.js +2 -2
- package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +2 -2
- package/plugins/nestedHeaders/stateManager/utils.js +6 -2
- package/plugins/nestedHeaders/stateManager/utils.mjs +6 -2
- package/plugins/nestedHeaders/utils/ghostTable.js +1 -1
- package/plugins/nestedHeaders/utils/ghostTable.mjs +1 -1
- package/plugins/nestedRows/data/dataManager.js +1 -1
- package/plugins/nestedRows/data/dataManager.mjs +1 -1
- package/plugins/nestedRows/nestedRows.js +5 -5
- package/plugins/nestedRows/nestedRows.mjs +4 -4
- package/plugins/nestedRows/ui/_base.js +1 -1
- package/plugins/nestedRows/ui/_base.mjs +1 -1
- package/plugins/nestedRows/ui/collapsing.js +1 -1
- package/plugins/nestedRows/ui/contextMenu.js +4 -4
- package/plugins/nestedRows/ui/contextMenu.mjs +3 -3
- package/plugins/nestedRows/ui/headers.js +1 -1
- package/plugins/nestedRows/utils/rowMoveController.js +1 -1
- package/plugins/nestedRows/utils/rowMoveController.mjs +1 -1
- package/plugins/persistentState/persistentState.js +2 -2
- package/plugins/persistentState/persistentState.mjs +1 -1
- package/plugins/persistentState/storage.js +1 -1
- package/plugins/persistentState/storage.mjs +1 -1
- package/plugins/search/search.js +3 -3
- package/plugins/search/search.mjs +3 -3
- package/plugins/touchScroll/touchScroll.js +3 -3
- package/plugins/touchScroll/touchScroll.mjs +3 -3
- package/plugins/trimRows/trimRows.js +3 -3
- package/plugins/trimRows/trimRows.mjs +3 -3
- package/plugins/undoRedo/undoRedo.js +1 -1
- package/renderers/autocompleteRenderer/autocompleteRenderer.js +1 -1
- package/renderers/checkboxRenderer/checkboxRenderer.js +1 -1
- package/renderers/numericRenderer/numericRenderer.js +1 -1
- package/renderers/registry.js +1 -1
- package/selection/highlight/highlight.js +3 -3
- package/selection/highlight/highlight.mjs +3 -3
- package/selection/highlight/types/activeHeader.js +1 -1
- package/selection/highlight/types/area.js +1 -1
- package/selection/highlight/types/areaLayered.js +1 -1
- package/selection/highlight/types/column.js +1 -1
- package/selection/highlight/types/customSelection.js +1 -1
- package/selection/highlight/types/fill.js +1 -1
- package/selection/highlight/types/focus.js +1 -1
- package/selection/highlight/types/header.js +1 -1
- package/selection/highlight/types/row.js +1 -1
- package/selection/highlight/visualSelection.js +1 -1
- package/selection/highlight/visualSelection.mjs +1 -1
- package/selection/index.js +1 -1
- package/selection/range.js +1 -1
- package/selection/range.mjs +1 -1
- package/selection/selection.js +4 -4
- package/selection/selection.mjs +3 -3
- package/selection/transformation.js +4 -4
- package/selection/transformation.mjs +3 -3
- package/settings.d.ts +1 -0
- package/tableView.js +41 -18
- package/tableView.mjs +40 -17
- package/translations/changesObservable/observable.js +2 -2
- package/translations/changesObservable/observable.mjs +2 -2
- package/translations/changesObservable/observer.js +3 -3
- package/translations/changesObservable/observer.mjs +2 -2
- package/translations/indexMapper.js +2 -2
- package/translations/indexMapper.mjs +1 -1
- package/translations/mapCollections/aggregatedCollection.js +1 -1
- package/translations/mapCollections/aggregatedCollection.mjs +1 -1
- package/translations/mapCollections/mapCollection.js +2 -2
- package/translations/mapCollections/mapCollection.mjs +1 -1
- package/translations/maps/indexMap.js +2 -2
- package/translations/maps/indexMap.mjs +1 -1
- package/translations/maps/linkedPhysicalIndexToValueMap.js +1 -1
- package/translations/maps/linkedPhysicalIndexToValueMap.mjs +1 -1
- package/utils/dataStructures/linkedList.js +1 -1
- package/utils/dataStructures/linkedList.mjs +1 -1
- package/utils/dataStructures/tree.js +1 -1
- package/utils/dataStructures/tree.mjs +1 -1
- package/utils/ghostTable.js +1 -1
- package/utils/ghostTable.mjs +1 -1
- package/utils/interval.js +4 -4
- package/utils/interval.mjs +4 -4
- package/utils/samplesGenerator.js +1 -1
- package/utils/samplesGenerator.mjs +1 -1
- package/validators/dateValidator/dateValidator.js +1 -1
- package/validators/registry.js +1 -1
- package/validators/timeValidator/timeValidator.js +1 -1
package/dist/handsontable.js
CHANGED
@@ -25,8 +25,8 @@
|
|
25
25
|
* INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
|
26
26
|
* USE OR INABILITY TO USE THIS SOFTWARE.
|
27
27
|
*
|
28
|
-
* Version: 0.0.0-next-
|
29
|
-
* Release date: 11/06/2024 (built at
|
28
|
+
* Version: 0.0.0-next-2cb2d27-20240709
|
29
|
+
* Release date: 11/06/2024 (built at 09/07/2024 12:07:29)
|
30
30
|
*/
|
31
31
|
(function webpackUniversalModuleDefinition(root, factory) {
|
32
32
|
if(typeof exports === 'object' && typeof module === 'object')
|
@@ -44,9 +44,9 @@ return /******/ (() => { // webpackBootstrap
|
|
44
44
|
/* 1 */
|
45
45
|
/***/ ((module) => {
|
46
46
|
|
47
|
-
function _interopRequireDefault(
|
48
|
-
return
|
49
|
-
"default":
|
47
|
+
function _interopRequireDefault(e) {
|
48
|
+
return e && e.__esModule ? e : {
|
49
|
+
"default": e
|
50
50
|
};
|
51
51
|
}
|
52
52
|
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
@@ -107,8 +107,8 @@ Handsontable.hooks = _pluginHooks.default.getSingleton();
|
|
107
107
|
Handsontable.CellCoords = _src.CellCoords;
|
108
108
|
Handsontable.CellRange = _src.CellRange;
|
109
109
|
Handsontable.packageName = 'handsontable';
|
110
|
-
Handsontable.buildDate = "
|
111
|
-
Handsontable.version = "0.0.0-next-
|
110
|
+
Handsontable.buildDate = "09/07/2024 12:07:29";
|
111
|
+
Handsontable.version = "0.0.0-next-2cb2d27-20240709";
|
112
112
|
Handsontable.languages = {
|
113
113
|
dictionaryKeys: _registry.dictionaryKeys,
|
114
114
|
getLanguageDictionary: _registry.getLanguageDictionary,
|
@@ -3226,6 +3226,16 @@ function Core(rootElement, userSettings) {
|
|
3226
3226
|
});
|
3227
3227
|
};
|
3228
3228
|
|
3229
|
+
/**
|
3230
|
+
* Returns the meta information for the provided column.
|
3231
|
+
*
|
3232
|
+
* @param {number} column Visual column index.
|
3233
|
+
* @returns {object}
|
3234
|
+
*/
|
3235
|
+
this.getColumnMeta = function (column) {
|
3236
|
+
return metaManager.getColumnMeta(this.toPhysicalColumn(column));
|
3237
|
+
};
|
3238
|
+
|
3229
3239
|
/**
|
3230
3240
|
* Returns an array of cell meta objects for specified physical row index.
|
3231
3241
|
*
|
@@ -9121,7 +9131,7 @@ const domMessages = {
|
|
9121
9131
|
function _injectProductInfo(key, element) {
|
9122
9132
|
const hasValidType = !isEmpty(key);
|
9123
9133
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
9124
|
-
const hotVersion = "0.0.0-next-
|
9134
|
+
const hotVersion = "0.0.0-next-2cb2d27-20240709";
|
9125
9135
|
let keyValidityDate;
|
9126
9136
|
let consoleMessageState = 'invalid';
|
9127
9137
|
let domMessageState = 'invalid';
|
@@ -10737,8 +10747,8 @@ var _unicode = __webpack_require__(157);
|
|
10737
10747
|
var _event = __webpack_require__(158);
|
10738
10748
|
var _registry = __webpack_require__(159);
|
10739
10749
|
var _eventManager = _interopRequireDefault(__webpack_require__(168));
|
10740
|
-
function _classPrivateMethodInitSpec(
|
10741
|
-
function _checkPrivateRedeclaration(
|
10750
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
10751
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
10742
10752
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
10743
10753
|
var _EditorManager_brand = /*#__PURE__*/new WeakSet();
|
10744
10754
|
class EditorManager {
|
@@ -11075,19 +11085,13 @@ var _default = exports["default"] = EditorManager;
|
|
11075
11085
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
11076
11086
|
|
11077
11087
|
var toPropertyKey = __webpack_require__(154);
|
11078
|
-
function _defineProperty(
|
11079
|
-
|
11080
|
-
|
11081
|
-
|
11082
|
-
|
11083
|
-
|
11084
|
-
|
11085
|
-
writable: true
|
11086
|
-
});
|
11087
|
-
} else {
|
11088
|
-
obj[key] = value;
|
11089
|
-
}
|
11090
|
-
return obj;
|
11088
|
+
function _defineProperty(e, r, t) {
|
11089
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
11090
|
+
value: t,
|
11091
|
+
enumerable: !0,
|
11092
|
+
configurable: !0,
|
11093
|
+
writable: !0
|
11094
|
+
}) : e[r] = t, e;
|
11091
11095
|
}
|
11092
11096
|
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
11093
11097
|
|
@@ -15197,9 +15201,9 @@ __webpack_require__(8);
|
|
15197
15201
|
var _console = __webpack_require__(166);
|
15198
15202
|
var _element = __webpack_require__(138);
|
15199
15203
|
var _function = __webpack_require__(146);
|
15200
|
-
function _classPrivateMethodInitSpec(
|
15201
|
-
function _classPrivateFieldInitSpec(
|
15202
|
-
function _checkPrivateRedeclaration(
|
15204
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
15205
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
15206
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
15203
15207
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
15204
15208
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
15205
15209
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -16626,9 +16630,9 @@ var _src = _interopRequireDefault(__webpack_require__(184));
|
|
16626
16630
|
var _mouseEventHandler = __webpack_require__(252);
|
16627
16631
|
var _rootInstance = __webpack_require__(253);
|
16628
16632
|
var _a11y = __webpack_require__(145);
|
16629
|
-
function _classPrivateMethodInitSpec(
|
16630
|
-
function _classPrivateFieldInitSpec(
|
16631
|
-
function _checkPrivateRedeclaration(
|
16633
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
16634
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
16635
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
16632
16636
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
16633
16637
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
16634
16638
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -17766,7 +17770,9 @@ class TableView {
|
|
17766
17770
|
} = this.hot;
|
17767
17771
|
const div = rootDocument.createElement('div');
|
17768
17772
|
const span = rootDocument.createElement('span');
|
17769
|
-
|
17773
|
+
const metaHeaderClassNames = visualColumnIndex >= 0 ? this.hot.getColumnMeta(visualColumnIndex).headerClassName : null;
|
17774
|
+
const classNames = metaHeaderClassNames ? metaHeaderClassNames.split(' ') : [];
|
17775
|
+
div.classList.add('relative', ...classNames);
|
17770
17776
|
span.className = 'colHeader';
|
17771
17777
|
if (this.settings.ariaTags) {
|
17772
17778
|
(0, _element.setAttribute)(div, ...(0, _a11y.A11Y_PRESENTATION)());
|
@@ -17863,39 +17869,51 @@ class TableView {
|
|
17863
17869
|
}
|
17864
17870
|
|
17865
17871
|
/**
|
17866
|
-
* Returns the first rendered row in the DOM (usually is not visible).
|
17872
|
+
* Returns the first rendered row in the DOM (usually is not visible in the table's viewport).
|
17867
17873
|
*
|
17868
|
-
* @returns {number}
|
17874
|
+
* @returns {number | null}
|
17869
17875
|
*/
|
17870
17876
|
getFirstRenderedVisibleRow() {
|
17871
|
-
|
17877
|
+
if (!this._wt.wtViewport.rowsRenderCalculator) {
|
17878
|
+
return null;
|
17879
|
+
}
|
17880
|
+
return this.hot.rowIndexMapper.getNearestNotHiddenIndex(this._wt.wtTable.getFirstRenderedRow(), 1);
|
17872
17881
|
}
|
17873
17882
|
|
17874
17883
|
/**
|
17875
|
-
* Returns the last rendered row in the DOM (usually is not visible).
|
17884
|
+
* Returns the last rendered row in the DOM (usually is not visible in the table's viewport).
|
17876
17885
|
*
|
17877
|
-
* @returns {number}
|
17886
|
+
* @returns {number | null}
|
17878
17887
|
*/
|
17879
17888
|
getLastRenderedVisibleRow() {
|
17880
|
-
|
17889
|
+
if (!this._wt.wtViewport.rowsRenderCalculator) {
|
17890
|
+
return null;
|
17891
|
+
}
|
17892
|
+
return this.hot.rowIndexMapper.getNearestNotHiddenIndex(this._wt.wtTable.getLastRenderedRow(), -1);
|
17881
17893
|
}
|
17882
17894
|
|
17883
17895
|
/**
|
17884
|
-
* Returns the first rendered column in the DOM (usually is not visible).
|
17896
|
+
* Returns the first rendered column in the DOM (usually is not visible in the table's viewport).
|
17885
17897
|
*
|
17886
|
-
* @returns {number}
|
17898
|
+
* @returns {number | null}
|
17887
17899
|
*/
|
17888
17900
|
getFirstRenderedVisibleColumn() {
|
17889
|
-
|
17901
|
+
if (!this._wt.wtViewport.columnsRenderCalculator) {
|
17902
|
+
return null;
|
17903
|
+
}
|
17904
|
+
return this.hot.columnIndexMapper.getNearestNotHiddenIndex(this._wt.wtTable.getFirstRenderedColumn(), 1);
|
17890
17905
|
}
|
17891
17906
|
|
17892
17907
|
/**
|
17893
|
-
* Returns the last rendered column in the DOM (usually is not visible).
|
17908
|
+
* Returns the last rendered column in the DOM (usually is not visible in the table's viewport).
|
17894
17909
|
*
|
17895
|
-
* @returns {number}
|
17910
|
+
* @returns {number | null}
|
17896
17911
|
*/
|
17897
17912
|
getLastRenderedVisibleColumn() {
|
17898
|
-
|
17913
|
+
if (!this._wt.wtViewport.columnsRenderCalculator) {
|
17914
|
+
return null;
|
17915
|
+
}
|
17916
|
+
return this.hot.columnIndexMapper.getNearestNotHiddenIndex(this._wt.wtTable.getLastRenderedColumn(), -1);
|
17899
17917
|
}
|
17900
17918
|
|
17901
17919
|
/**
|
@@ -18056,6 +18074,15 @@ class TableView {
|
|
18056
18074
|
getOverlayByName(overlayName) {
|
18057
18075
|
return this._wt.getOverlayByName(overlayName);
|
18058
18076
|
}
|
18077
|
+
|
18078
|
+
/**
|
18079
|
+
* Checks if the table is visible or not.
|
18080
|
+
*
|
18081
|
+
* @returns {boolean}
|
18082
|
+
*/
|
18083
|
+
isVisible() {
|
18084
|
+
return this._wt.wtTable.isVisible();
|
18085
|
+
}
|
18059
18086
|
/**
|
18060
18087
|
* Destroys internal WalkOnTable's instance. Detaches all of the bonded listeners.
|
18061
18088
|
*
|
@@ -18271,8 +18298,8 @@ __webpack_require__(189);
|
|
18271
18298
|
__webpack_require__(90);
|
18272
18299
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(153));
|
18273
18300
|
var _constants = __webpack_require__(190);
|
18274
|
-
function _classPrivateFieldInitSpec(
|
18275
|
-
function _checkPrivateRedeclaration(
|
18301
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
18302
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
18276
18303
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
18277
18304
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
18278
18305
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -18524,8 +18551,8 @@ __webpack_require__(189);
|
|
18524
18551
|
__webpack_require__(90);
|
18525
18552
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(153));
|
18526
18553
|
var _constants = __webpack_require__(190);
|
18527
|
-
function _classPrivateFieldInitSpec(
|
18528
|
-
function _checkPrivateRedeclaration(
|
18554
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
18555
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
18529
18556
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
18530
18557
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
18531
18558
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -18705,8 +18732,8 @@ var _interopRequireDefault = __webpack_require__(1);
|
|
18705
18732
|
exports.__esModule = true;
|
18706
18733
|
__webpack_require__(8);
|
18707
18734
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(153));
|
18708
|
-
function _classPrivateFieldInitSpec(
|
18709
|
-
function _checkPrivateRedeclaration(
|
18735
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
18736
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
18710
18737
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
18711
18738
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
18712
18739
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -18960,8 +18987,8 @@ __webpack_require__(8);
|
|
18960
18987
|
__webpack_require__(90);
|
18961
18988
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(153));
|
18962
18989
|
var _coords = _interopRequireDefault(__webpack_require__(192));
|
18963
|
-
function _classPrivateFieldInitSpec(
|
18964
|
-
function _checkPrivateRedeclaration(
|
18990
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
18991
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
18965
18992
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
18966
18993
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
18967
18994
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -20119,8 +20146,8 @@ var _function = __webpack_require__(146);
|
|
20119
20146
|
var _feature = __webpack_require__(151);
|
20120
20147
|
var _browser = __webpack_require__(147);
|
20121
20148
|
var _mixed = __webpack_require__(141);
|
20122
|
-
function _classPrivateFieldInitSpec(
|
20123
|
-
function _checkPrivateRedeclaration(
|
20149
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
20150
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
20124
20151
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
20125
20152
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
20126
20153
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -20498,8 +20525,8 @@ var _unicode = __webpack_require__(157);
|
|
20498
20525
|
var _browser = __webpack_require__(147);
|
20499
20526
|
var _console = __webpack_require__(166);
|
20500
20527
|
var _overlay = __webpack_require__(198);
|
20501
|
-
function _classPrivateFieldInitSpec(
|
20502
|
-
function _checkPrivateRedeclaration(
|
20528
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
20529
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
20503
20530
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
20504
20531
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
20505
20532
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -24361,8 +24388,8 @@ var _interopRequireDefault = __webpack_require__(1);
|
|
24361
24388
|
exports.__esModule = true;
|
24362
24389
|
__webpack_require__(8);
|
24363
24390
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(153));
|
24364
|
-
function _classPrivateFieldInitSpec(
|
24365
|
-
function _checkPrivateRedeclaration(
|
24391
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
24392
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
24366
24393
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
24367
24394
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
24368
24395
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -25675,8 +25702,8 @@ exports.__esModule = true;
|
|
25675
25702
|
__webpack_require__(8);
|
25676
25703
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(153));
|
25677
25704
|
var _element = __webpack_require__(138);
|
25678
|
-
function _classPrivateMethodInitSpec(
|
25679
|
-
function _checkPrivateRedeclaration(
|
25705
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
25706
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
25680
25707
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
25681
25708
|
/**
|
25682
25709
|
* @class Scroll
|
@@ -27316,9 +27343,9 @@ __webpack_require__(122);
|
|
27316
27343
|
var _element = __webpack_require__(138);
|
27317
27344
|
var _scanner2 = __webpack_require__(242);
|
27318
27345
|
var _border = _interopRequireDefault(__webpack_require__(243));
|
27319
|
-
function _classPrivateMethodInitSpec(
|
27320
|
-
function _classPrivateFieldInitSpec(
|
27321
|
-
function _checkPrivateRedeclaration(
|
27346
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
27347
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
27348
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
27322
27349
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
27323
27350
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
27324
27351
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -27604,9 +27631,9 @@ __webpack_require__(116);
|
|
27604
27631
|
__webpack_require__(119);
|
27605
27632
|
__webpack_require__(122);
|
27606
27633
|
var _element = __webpack_require__(138);
|
27607
|
-
function _classPrivateMethodInitSpec(
|
27608
|
-
function _classPrivateFieldInitSpec(
|
27609
|
-
function _checkPrivateRedeclaration(
|
27634
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
27635
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
27636
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
27610
27637
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
27611
27638
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
27612
27639
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /* eslint-disable no-continue */
|
@@ -32559,8 +32586,8 @@ __webpack_require__(119);
|
|
32559
32586
|
__webpack_require__(122);
|
32560
32587
|
var _observer = __webpack_require__(273);
|
32561
32588
|
var _utils = __webpack_require__(274);
|
32562
|
-
function _classPrivateFieldInitSpec(
|
32563
|
-
function _checkPrivateRedeclaration(
|
32589
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
32590
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
32564
32591
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
32565
32592
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
32566
32593
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -32699,8 +32726,8 @@ exports.__esModule = true;
|
|
32699
32726
|
__webpack_require__(8);
|
32700
32727
|
var _object = __webpack_require__(148);
|
32701
32728
|
var _localHooks = _interopRequireDefault(__webpack_require__(237));
|
32702
|
-
function _classPrivateFieldInitSpec(
|
32703
|
-
function _checkPrivateRedeclaration(
|
32729
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
32730
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
32704
32731
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
32705
32732
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
32706
32733
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -33420,8 +33447,8 @@ var _templateLiteralTag = __webpack_require__(143);
|
|
33420
33447
|
var _a11y = __webpack_require__(145);
|
33421
33448
|
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); }
|
33422
33449
|
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 && {}.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; }
|
33423
|
-
function _classPrivateFieldInitSpec(
|
33424
|
-
function _checkPrivateRedeclaration(
|
33450
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
33451
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
33425
33452
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
33426
33453
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
33427
33454
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -34663,8 +34690,8 @@ exports.HEADER_TYPE = _src.HIGHLIGHT_HEADER_TYPE;
|
|
34663
34690
|
exports.ROW_TYPE = _src.HIGHLIGHT_ROW_TYPE;
|
34664
34691
|
exports.COLUMN_TYPE = _src.HIGHLIGHT_COLUMN_TYPE;
|
34665
34692
|
var _array = __webpack_require__(144);
|
34666
|
-
function _classPrivateMethodInitSpec(
|
34667
|
-
function _checkPrivateRedeclaration(
|
34693
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
34694
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
34668
34695
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
34669
34696
|
/**
|
34670
34697
|
* Highlight class responsible for managing Walkontable Selection classes.
|
@@ -35784,9 +35811,9 @@ exports.__esModule = true;
|
|
35784
35811
|
__webpack_require__(8);
|
35785
35812
|
var _object = __webpack_require__(148);
|
35786
35813
|
var _localHooks = _interopRequireDefault(__webpack_require__(237));
|
35787
|
-
function _classPrivateMethodInitSpec(
|
35788
|
-
function _classPrivateFieldInitSpec(
|
35789
|
-
function _checkPrivateRedeclaration(
|
35814
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
35815
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
35816
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
35790
35817
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
35791
35818
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
35792
35819
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -40406,6 +40433,31 @@ var _default = () => {
|
|
40406
40433
|
* ```
|
40407
40434
|
*/
|
40408
40435
|
fragmentSelection: false,
|
40436
|
+
/**
|
40437
|
+
* The `headerClassName` option allows adding one or more class names to the column headers' inner `div` element.
|
40438
|
+
* It can be used to align the labels in the column headers to left, center or right by setting this option to
|
40439
|
+
* `htLeft`, `htCenter`, or `htRight` respectively.
|
40440
|
+
*
|
40441
|
+
* @since 14.5.0
|
40442
|
+
* @memberof Options#
|
40443
|
+
* @type {string}
|
40444
|
+
* @default undefined
|
40445
|
+
* @category Core
|
40446
|
+
*
|
40447
|
+
* @example
|
40448
|
+
* ```js
|
40449
|
+
* // Adding class names to all column headers
|
40450
|
+
* headerClassName: 'htRight my-class',
|
40451
|
+
*
|
40452
|
+
* columns: [
|
40453
|
+
* {
|
40454
|
+
* // Adding class names to the column header of a single column
|
40455
|
+
* headerClassName: 'htRight my-class',
|
40456
|
+
* }
|
40457
|
+
* ]
|
40458
|
+
* ```
|
40459
|
+
*/
|
40460
|
+
headerClassName: undefined,
|
40409
40461
|
/**
|
40410
40462
|
* The `height` option configures the height of your grid.
|
40411
40463
|
*
|
@@ -43897,8 +43949,8 @@ __webpack_require__(116);
|
|
43897
43949
|
__webpack_require__(119);
|
43898
43950
|
__webpack_require__(122);
|
43899
43951
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(153));
|
43900
|
-
function _classPrivateFieldInitSpec(
|
43901
|
-
function _checkPrivateRedeclaration(
|
43952
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
43953
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
43902
43954
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
43903
43955
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
43904
43956
|
var _initOnlyCallback = /*#__PURE__*/new WeakMap();
|
@@ -48448,8 +48500,8 @@ var _unicode = __webpack_require__(157);
|
|
48448
48500
|
var _browser = __webpack_require__(147);
|
48449
48501
|
var _textRenderer = __webpack_require__(388);
|
48450
48502
|
var _a11y = __webpack_require__(145);
|
48451
|
-
function _classPrivateFieldInitSpec(
|
48452
|
-
function _checkPrivateRedeclaration(
|
48503
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
48504
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
48453
48505
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
48454
48506
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
48455
48507
|
const EDITOR_TYPE = exports.EDITOR_TYPE = 'autocomplete';
|
@@ -51980,16 +52032,8 @@ var _interopRequireDefault = __webpack_require__(1);
|
|
51980
52032
|
exports.__esModule = true;
|
51981
52033
|
__webpack_require__(8);
|
51982
52034
|
__webpack_require__(90);
|
51983
|
-
__webpack_require__(94);
|
51984
|
-
__webpack_require__(106);
|
51985
|
-
__webpack_require__(109);
|
51986
|
-
__webpack_require__(113);
|
51987
|
-
__webpack_require__(116);
|
51988
|
-
__webpack_require__(119);
|
51989
|
-
__webpack_require__(122);
|
51990
52035
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(153));
|
51991
52036
|
var _base = __webpack_require__(472);
|
51992
|
-
var _array = __webpack_require__(144);
|
51993
52037
|
var _feature = __webpack_require__(151);
|
51994
52038
|
var _ghostTable = _interopRequireDefault(__webpack_require__(474));
|
51995
52039
|
var _pluginHooks = _interopRequireDefault(__webpack_require__(160));
|
@@ -51999,12 +52043,11 @@ var _samplesGenerator = _interopRequireDefault(__webpack_require__(475));
|
|
51999
52043
|
var _string = __webpack_require__(139);
|
52000
52044
|
var _src = __webpack_require__(184);
|
52001
52045
|
var _translations = __webpack_require__(256);
|
52002
|
-
|
52003
|
-
function
|
52004
|
-
function
|
52005
|
-
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
52006
|
-
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
52046
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
52047
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
52048
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
52007
52049
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
52050
|
+
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
52008
52051
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
52009
52052
|
_pluginHooks.default.getSingleton().register('modifyAutoColumnSizeSeed');
|
52010
52053
|
const PLUGIN_KEY = exports.PLUGIN_KEY = 'autoColumnSize';
|
@@ -52109,6 +52152,7 @@ const COLUMN_SIZE_MAP_NAME = 'autoColumnSize';
|
|
52109
52152
|
*/
|
52110
52153
|
/* eslint-enable jsdoc/require-description-complete-sentence */
|
52111
52154
|
var _cachedColumnHeaders = /*#__PURE__*/new WeakMap();
|
52155
|
+
var _visualColumnsToRefresh = /*#__PURE__*/new WeakMap();
|
52112
52156
|
var _AutoColumnSize_brand = /*#__PURE__*/new WeakSet();
|
52113
52157
|
class AutoColumnSize extends _base.BasePlugin {
|
52114
52158
|
static get PLUGIN_KEY() {
|
@@ -52137,7 +52181,9 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52137
52181
|
constructor(hotInstance) {
|
52138
52182
|
super(hotInstance);
|
52139
52183
|
/**
|
52140
|
-
*
|
52184
|
+
* Calculates specific columns width (overwrite cache values).
|
52185
|
+
*
|
52186
|
+
* @param {number[]} visualColumns List of visual columns to calculate.
|
52141
52187
|
*/
|
52142
52188
|
_classPrivateMethodInitSpec(this, _AutoColumnSize_brand);
|
52143
52189
|
(0, _defineProperty2.default)(this, "ghostTable", new _ghostTable.default(this.hot));
|
@@ -52168,13 +52214,6 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52168
52214
|
bundleSeed
|
52169
52215
|
};
|
52170
52216
|
}));
|
52171
|
-
/**
|
52172
|
-
* `true` only if the first calculation was performed.
|
52173
|
-
*
|
52174
|
-
* @private
|
52175
|
-
* @type {boolean}
|
52176
|
-
*/
|
52177
|
-
(0, _defineProperty2.default)(this, "firstCalculation", true);
|
52178
52217
|
/**
|
52179
52218
|
* `true` if the size calculation is in progress.
|
52180
52219
|
*
|
@@ -52201,6 +52240,12 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52201
52240
|
* @type {Array}
|
52202
52241
|
*/
|
52203
52242
|
_classPrivateFieldInitSpec(this, _cachedColumnHeaders, []);
|
52243
|
+
/**
|
52244
|
+
* An array of column indexes whose width will be recalculated.
|
52245
|
+
*
|
52246
|
+
* @type {number[]}
|
52247
|
+
*/
|
52248
|
+
_classPrivateFieldInitSpec(this, _visualColumnsToRefresh, []);
|
52204
52249
|
this.hot.columnIndexMapper.registerMap(COLUMN_SIZE_MAP_NAME, this.columnWidthsMap);
|
52205
52250
|
|
52206
52251
|
// Leave the listener active to allow auto-sizing the columns when the plugin is disabled.
|
@@ -52237,11 +52282,21 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52237
52282
|
}
|
52238
52283
|
return _assertClassBrand(_AutoColumnSize_brand, _this, _onAfterLoadData).call(_this, ...args);
|
52239
52284
|
});
|
52240
|
-
this.addHook('beforeChangeRender',
|
52241
|
-
|
52242
|
-
|
52285
|
+
this.addHook('beforeChangeRender', function () {
|
52286
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
52287
|
+
args[_key2] = arguments[_key2];
|
52288
|
+
}
|
52289
|
+
return _assertClassBrand(_AutoColumnSize_brand, _this, _onBeforeChange).call(_this, ...args);
|
52290
|
+
});
|
52291
|
+
this.addHook('afterFormulasValuesUpdate', function () {
|
52292
|
+
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
52293
|
+
args[_key3] = arguments[_key3];
|
52294
|
+
}
|
52295
|
+
return _assertClassBrand(_AutoColumnSize_brand, _this, _onAfterFormulasValuesUpdate).call(_this, ...args);
|
52296
|
+
});
|
52297
|
+
this.addHook('beforeRender', () => _assertClassBrand(_AutoColumnSize_brand, this, _onBeforeRender).call(this));
|
52243
52298
|
this.addHook('modifyColWidth', (width, col) => this.getColumnWidth(col, width));
|
52244
|
-
this.addHook('
|
52299
|
+
this.addHook('init', () => _assertClassBrand(_AutoColumnSize_brand, this, _onInit).call(this));
|
52245
52300
|
super.enablePlugin();
|
52246
52301
|
}
|
52247
52302
|
|
@@ -52249,11 +52304,7 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52249
52304
|
* Updates the plugin's state. This method is executed when {@link Core#updateSettings} is invoked.
|
52250
52305
|
*/
|
52251
52306
|
updatePlugin() {
|
52252
|
-
|
52253
|
-
if (changedColumns.length) {
|
52254
|
-
this.clearCache(changedColumns);
|
52255
|
-
this.calculateVisibleColumnsWidth();
|
52256
|
-
}
|
52307
|
+
_classPrivateFieldSet(_visualColumnsToRefresh, this, this.findColumnsWhereHeaderWasChanged());
|
52257
52308
|
super.updatePlugin();
|
52258
52309
|
}
|
52259
52310
|
|
@@ -52269,25 +52320,23 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52269
52320
|
}
|
52270
52321
|
|
52271
52322
|
/**
|
52272
|
-
* Calculates visible columns
|
52323
|
+
* Calculates widths for visible columns in the viewport only.
|
52273
52324
|
*/
|
52274
52325
|
calculateVisibleColumnsWidth() {
|
52275
|
-
const rowsCount = this.hot.countRows();
|
52276
|
-
|
52277
52326
|
// Keep last column widths unchanged for situation when all rows was deleted or trimmed (pro #6)
|
52278
|
-
if (!
|
52327
|
+
if (!this.hot.countRows()) {
|
52279
52328
|
return;
|
52280
52329
|
}
|
52281
|
-
const force = this.hot.renderCall;
|
52282
52330
|
const firstVisibleColumn = this.getFirstVisibleColumn();
|
52283
52331
|
const lastVisibleColumn = this.getLastVisibleColumn();
|
52284
52332
|
if (firstVisibleColumn === -1 || lastVisibleColumn === -1) {
|
52285
52333
|
return;
|
52286
52334
|
}
|
52335
|
+
const overwriteCache = this.hot.renderCall;
|
52287
52336
|
this.calculateColumnsWidth({
|
52288
52337
|
from: firstVisibleColumn,
|
52289
52338
|
to: lastVisibleColumn
|
52290
|
-
}, undefined,
|
52339
|
+
}, undefined, overwriteCache);
|
52291
52340
|
}
|
52292
52341
|
|
52293
52342
|
/**
|
@@ -52295,7 +52344,7 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52295
52344
|
*
|
52296
52345
|
* @param {number|object} colRange Visual column index or an object with `from` and `to` visual indexes as a range.
|
52297
52346
|
* @param {number|object} rowRange Visual row index or an object with `from` and `to` visual indexes as a range.
|
52298
|
-
* @param {boolean} [
|
52347
|
+
* @param {boolean} [overwriteCache=false] If `true` the calculation will be processed regardless of whether the width exists in the cache.
|
52299
52348
|
*/
|
52300
52349
|
calculateColumnsWidth() {
|
52301
52350
|
let colRange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
@@ -52306,8 +52355,7 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52306
52355
|
from: 0,
|
52307
52356
|
to: this.hot.countRows() - 1
|
52308
52357
|
};
|
52309
|
-
let
|
52310
|
-
// eslint-disable-line max-len
|
52358
|
+
let overwriteCache = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
52311
52359
|
const columnsRange = typeof colRange === 'number' ? {
|
52312
52360
|
from: colRange,
|
52313
52361
|
to: colRange
|
@@ -52321,12 +52369,9 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52321
52369
|
if (physicalColumn === null) {
|
52322
52370
|
physicalColumn = visualColumn;
|
52323
52371
|
}
|
52324
|
-
if (
|
52372
|
+
if (overwriteCache || this.columnWidthsMap.getValueAtIndex(physicalColumn) === null && !this.hot._getColWidthFromSettings(physicalColumn)) {
|
52325
52373
|
const samples = this.samplesGenerator.generateColumnSamples(visualColumn, rowsRange);
|
52326
|
-
(
|
52327
|
-
let [column, sample] = _ref;
|
52328
|
-
return this.ghostTable.addColumn(column, sample);
|
52329
|
-
});
|
52374
|
+
samples.forEach((sample, column) => this.ghostTable.addColumn(column, sample));
|
52330
52375
|
}
|
52331
52376
|
});
|
52332
52377
|
if (this.ghostTable.columns.length) {
|
@@ -52346,12 +52391,14 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52346
52391
|
* To retrieve width for specified column use {@link AutoColumnSize#getColumnWidth} method.
|
52347
52392
|
*
|
52348
52393
|
* @param {object|number} rowRange Row index or an object with `from` and `to` properties which define row range.
|
52394
|
+
* @param {boolean} [overwriteCache] If `true` the calculation will be processed regardless of whether the width exists in the cache.
|
52349
52395
|
*/
|
52350
52396
|
calculateAllColumnsWidth() {
|
52351
52397
|
let rowRange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
52352
52398
|
from: 0,
|
52353
52399
|
to: this.hot.countRows() - 1
|
52354
52400
|
};
|
52401
|
+
let overwriteCache = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
52355
52402
|
let current = 0;
|
52356
52403
|
const length = this.hot.countCols() - 1;
|
52357
52404
|
let timer = null;
|
@@ -52366,7 +52413,7 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52366
52413
|
this.calculateColumnsWidth({
|
52367
52414
|
from: current,
|
52368
52415
|
to: Math.min(current + AutoColumnSize.CALCULATION_STEP, length)
|
52369
|
-
}, rowRange);
|
52416
|
+
}, rowRange, overwriteCache);
|
52370
52417
|
current = current + AutoColumnSize.CALCULATION_STEP + 1;
|
52371
52418
|
if (current < length) {
|
52372
52419
|
timer = (0, _feature.requestAnimationFrame)(loop);
|
@@ -52381,12 +52428,11 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52381
52428
|
const syncLimit = this.getSyncCalculationLimit();
|
52382
52429
|
|
52383
52430
|
// sync
|
52384
|
-
if (
|
52431
|
+
if (syncLimit >= 0) {
|
52385
52432
|
this.calculateColumnsWidth({
|
52386
52433
|
from: 0,
|
52387
52434
|
to: syncLimit
|
52388
|
-
}, rowRange);
|
52389
|
-
this.firstCalculation = false;
|
52435
|
+
}, rowRange, overwriteCache);
|
52390
52436
|
current = syncLimit + 1;
|
52391
52437
|
}
|
52392
52438
|
// async
|
@@ -52396,7 +52442,6 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52396
52442
|
this.inProgress = false;
|
52397
52443
|
}
|
52398
52444
|
}
|
52399
|
-
|
52400
52445
|
/**
|
52401
52446
|
* Sets the sampling options.
|
52402
52447
|
*
|
@@ -52418,9 +52463,11 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52418
52463
|
* Recalculates all columns width (overwrite cache values).
|
52419
52464
|
*/
|
52420
52465
|
recalculateAllColumnsWidth() {
|
52421
|
-
if (this.hot.view
|
52422
|
-
this.
|
52423
|
-
|
52466
|
+
if (this.hot.view.isVisible()) {
|
52467
|
+
this.calculateAllColumnsWidth({
|
52468
|
+
from: 0,
|
52469
|
+
to: this.hot.countRows() - 1
|
52470
|
+
}, true);
|
52424
52471
|
}
|
52425
52472
|
}
|
52426
52473
|
|
@@ -52455,8 +52502,7 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52455
52502
|
* @param {boolean} [keepMinimum=true] If `true` then returned value won't be smaller then 50 (default column width).
|
52456
52503
|
* @returns {number}
|
52457
52504
|
*/
|
52458
|
-
getColumnWidth(column) {
|
52459
|
-
let defaultWidth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
|
52505
|
+
getColumnWidth(column, defaultWidth) {
|
52460
52506
|
let keepMinimum = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
52461
52507
|
let width = defaultWidth;
|
52462
52508
|
if (width === undefined) {
|
@@ -52474,23 +52520,8 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52474
52520
|
* @returns {number} Returns visual column index, -1 if table is not rendered or if there are no columns to base the the calculations on.
|
52475
52521
|
*/
|
52476
52522
|
getFirstVisibleColumn() {
|
52477
|
-
|
52478
|
-
|
52479
|
-
// Fist fully visible column is stored as renderable index.
|
52480
|
-
const firstFullyVisibleColumn = wot.wtTable.getFirstVisibleColumn();
|
52481
|
-
if (firstFullyVisibleColumn !== -1) {
|
52482
|
-
return this.hot.columnIndexMapper.getVisualFromRenderableIndex(firstFullyVisibleColumn);
|
52483
|
-
}
|
52484
|
-
}
|
52485
|
-
if (wot.wtViewport.columnsRenderCalculator) {
|
52486
|
-
const firstRenderedColumn = wot.wtTable.getFirstRenderedColumn();
|
52487
|
-
|
52488
|
-
// There are no rendered column.
|
52489
|
-
if (firstRenderedColumn !== -1) {
|
52490
|
-
return this.hot.columnIndexMapper.getVisualFromRenderableIndex(firstRenderedColumn);
|
52491
|
-
}
|
52492
|
-
}
|
52493
|
-
return -1;
|
52523
|
+
var _this$hot$view$getFir;
|
52524
|
+
return (_this$hot$view$getFir = this.hot.view.getFirstRenderedVisibleColumn()) !== null && _this$hot$view$getFir !== void 0 ? _this$hot$view$getFir : -1;
|
52494
52525
|
}
|
52495
52526
|
|
52496
52527
|
/**
|
@@ -52499,38 +52530,22 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52499
52530
|
* @returns {number} Returns visual column index or -1 if table is not rendered.
|
52500
52531
|
*/
|
52501
52532
|
getLastVisibleColumn() {
|
52502
|
-
|
52503
|
-
|
52504
|
-
// Last fully visible column is stored as renderable index.
|
52505
|
-
const lastFullyVisibleColumn = wot.wtTable.getLastVisibleColumn();
|
52506
|
-
if (lastFullyVisibleColumn !== -1) {
|
52507
|
-
return this.hot.columnIndexMapper.getVisualFromRenderableIndex(lastFullyVisibleColumn);
|
52508
|
-
}
|
52509
|
-
}
|
52510
|
-
if (wot.wtViewport.columnsRenderCalculator) {
|
52511
|
-
// Last fully visible column is stored as renderable index.
|
52512
|
-
const lastRenderedColumn = wot.wtTable.getLastRenderedColumn();
|
52513
|
-
|
52514
|
-
// There are no rendered columns.
|
52515
|
-
if (lastRenderedColumn !== -1) {
|
52516
|
-
return this.hot.columnIndexMapper.getVisualFromRenderableIndex(lastRenderedColumn);
|
52517
|
-
}
|
52518
|
-
}
|
52519
|
-
return -1;
|
52533
|
+
var _this$hot$view$getLas;
|
52534
|
+
return (_this$hot$view$getLas = this.hot.view.getLastRenderedVisibleColumn()) !== null && _this$hot$view$getLas !== void 0 ? _this$hot$view$getLas : -1;
|
52520
52535
|
}
|
52521
52536
|
|
52522
52537
|
/**
|
52523
52538
|
* Collects all columns which titles has been changed in comparison to the previous state.
|
52524
52539
|
*
|
52525
52540
|
* @private
|
52526
|
-
* @returns {Array} It returns an array of
|
52541
|
+
* @returns {Array} It returns an array of visual column indexes.
|
52527
52542
|
*/
|
52528
52543
|
findColumnsWhereHeaderWasChanged() {
|
52529
52544
|
const columnHeaders = this.hot.getColHeader();
|
52530
|
-
const changedColumns =
|
52545
|
+
const changedColumns = columnHeaders.reduce((acc, columnTitle, physicalColumn) => {
|
52531
52546
|
const cachedColumnsLength = _classPrivateFieldGet(_cachedColumnHeaders, this).length;
|
52532
52547
|
if (cachedColumnsLength - 1 < physicalColumn || _classPrivateFieldGet(_cachedColumnHeaders, this)[physicalColumn] !== columnTitle) {
|
52533
|
-
acc.push(physicalColumn);
|
52548
|
+
acc.push(this.hot.toVisualColumn(physicalColumn));
|
52534
52549
|
}
|
52535
52550
|
if (cachedColumnsLength - 1 < physicalColumn) {
|
52536
52551
|
_classPrivateFieldGet(_cachedColumnHeaders, this).push(columnTitle);
|
@@ -52546,13 +52561,12 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52546
52561
|
* Clears cache of calculated column widths. If you want to clear only selected columns pass an array with their indexes.
|
52547
52562
|
* Otherwise whole cache will be cleared.
|
52548
52563
|
*
|
52549
|
-
* @param {number[]} [
|
52564
|
+
* @param {number[]} [physicalColumns] List of physical column indexes to clear.
|
52550
52565
|
*/
|
52551
|
-
clearCache() {
|
52552
|
-
|
52553
|
-
if (columns.length) {
|
52566
|
+
clearCache(physicalColumns) {
|
52567
|
+
if (Array.isArray(physicalColumns)) {
|
52554
52568
|
this.hot.batchExecution(() => {
|
52555
|
-
|
52569
|
+
physicalColumns.forEach(physicalIndex => {
|
52556
52570
|
this.columnWidthsMap.setValueAtIndex(physicalIndex, null);
|
52557
52571
|
});
|
52558
52572
|
}, true);
|
@@ -52567,8 +52581,13 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52567
52581
|
* @returns {boolean}
|
52568
52582
|
*/
|
52569
52583
|
isNeedRecalculate() {
|
52570
|
-
return !!
|
52584
|
+
return !!this.columnWidthsMap.getValues().slice(0, this.measuredColumns).filter(item => item === null).length;
|
52571
52585
|
}
|
52586
|
+
|
52587
|
+
/**
|
52588
|
+
* On before view render listener.
|
52589
|
+
*/
|
52590
|
+
|
52572
52591
|
/**
|
52573
52592
|
* Destroys the plugin instance.
|
52574
52593
|
*/
|
@@ -52578,25 +52597,47 @@ class AutoColumnSize extends _base.BasePlugin {
|
|
52578
52597
|
}
|
52579
52598
|
}
|
52580
52599
|
exports.AutoColumnSize = AutoColumnSize;
|
52581
|
-
function
|
52600
|
+
function _calculateSpecificColumnsWidth(visualColumns) {
|
52601
|
+
const rowsRange = {
|
52602
|
+
from: 0,
|
52603
|
+
to: this.hot.countRows() - 1
|
52604
|
+
};
|
52605
|
+
visualColumns.forEach(visualColumn => {
|
52606
|
+
const physicalColumn = this.hot.toPhysicalColumn(visualColumn);
|
52607
|
+
if (physicalColumn === null) {
|
52608
|
+
return;
|
52609
|
+
}
|
52610
|
+
if (!this.hot._getColWidthFromSettings(physicalColumn)) {
|
52611
|
+
const samples = this.samplesGenerator.generateColumnSamples(visualColumn, rowsRange);
|
52612
|
+
samples.forEach((sample, column) => this.ghostTable.addColumn(column, sample));
|
52613
|
+
}
|
52614
|
+
});
|
52615
|
+
if (this.ghostTable.columns.length) {
|
52616
|
+
this.hot.batchExecution(() => {
|
52617
|
+
this.ghostTable.getWidths((visualColumn, width) => {
|
52618
|
+
const physicalColumn = this.hot.toPhysicalColumn(visualColumn);
|
52619
|
+
this.columnWidthsMap.setValueAtIndex(physicalColumn, width);
|
52620
|
+
});
|
52621
|
+
}, true);
|
52622
|
+
this.ghostTable.clean();
|
52623
|
+
}
|
52624
|
+
}
|
52625
|
+
function _onBeforeRender() {
|
52582
52626
|
this.calculateVisibleColumnsWidth();
|
52583
|
-
if (
|
52584
|
-
this.
|
52627
|
+
if (!this.inProgress) {
|
52628
|
+
_assertClassBrand(_AutoColumnSize_brand, this, _calculateSpecificColumnsWidth).call(this, _classPrivateFieldGet(_visualColumnsToRefresh, this));
|
52629
|
+
_classPrivateFieldSet(_visualColumnsToRefresh, this, []);
|
52585
52630
|
}
|
52586
52631
|
}
|
52587
52632
|
/**
|
52588
52633
|
* On after load data listener.
|
52634
|
+
*
|
52635
|
+
* @param {Array} sourceData Source data.
|
52636
|
+
* @param {boolean} isFirstLoad `true` if this is the first load.
|
52589
52637
|
*/
|
52590
|
-
function _onAfterLoadData() {
|
52591
|
-
if (
|
52638
|
+
function _onAfterLoadData(sourceData, isFirstLoad) {
|
52639
|
+
if (!isFirstLoad) {
|
52592
52640
|
this.recalculateAllColumnsWidth();
|
52593
|
-
} else {
|
52594
|
-
// first load - initialization
|
52595
|
-
setTimeout(() => {
|
52596
|
-
if (this.hot) {
|
52597
|
-
this.recalculateAllColumnsWidth();
|
52598
|
-
}
|
52599
|
-
}, 0);
|
52600
52641
|
}
|
52601
52642
|
}
|
52602
52643
|
/**
|
@@ -52605,11 +52646,15 @@ function _onAfterLoadData() {
|
|
52605
52646
|
* @param {Array} changes An array of modified data.
|
52606
52647
|
*/
|
52607
52648
|
function _onBeforeChange(changes) {
|
52608
|
-
const changedColumns = (
|
52609
|
-
let [, columnProperty] =
|
52610
|
-
|
52611
|
-
|
52612
|
-
|
52649
|
+
const changedColumns = changes.reduce((acc, _ref) => {
|
52650
|
+
let [, columnProperty] = _ref;
|
52651
|
+
const visualColumn = this.hot.propToCol(columnProperty);
|
52652
|
+
if (Number.isInteger(visualColumn) && acc.indexOf(visualColumn) === -1) {
|
52653
|
+
acc.push(visualColumn);
|
52654
|
+
}
|
52655
|
+
return acc;
|
52656
|
+
}, []);
|
52657
|
+
_classPrivateFieldGet(_visualColumnsToRefresh, this).push(...changedColumns);
|
52613
52658
|
}
|
52614
52659
|
/**
|
52615
52660
|
* On before column resize listener.
|
@@ -52630,8 +52675,9 @@ function _onBeforeColumnResize(size, column, isDblClick) {
|
|
52630
52675
|
/**
|
52631
52676
|
* On after Handsontable init fill plugin with all necessary values.
|
52632
52677
|
*/
|
52633
|
-
function
|
52678
|
+
function _onInit() {
|
52634
52679
|
_classPrivateFieldSet(_cachedColumnHeaders, this, this.hot.getColHeader());
|
52680
|
+
this.recalculateAllColumnsWidth();
|
52635
52681
|
}
|
52636
52682
|
/**
|
52637
52683
|
* After formulas values updated listener.
|
@@ -52639,12 +52685,18 @@ function _onAfterInit() {
|
|
52639
52685
|
* @param {Array} changes An array of modified data.
|
52640
52686
|
*/
|
52641
52687
|
function _onAfterFormulasValuesUpdate(changes) {
|
52642
|
-
const
|
52688
|
+
const changedColumns = changes.reduce((acc, change) => {
|
52643
52689
|
var _change$address;
|
52644
|
-
|
52645
|
-
|
52646
|
-
|
52647
|
-
|
52690
|
+
const physicalColumn = (_change$address = change.address) === null || _change$address === void 0 ? void 0 : _change$address.col;
|
52691
|
+
if (Number.isInteger(physicalColumn)) {
|
52692
|
+
const visualColumn = this.hot.toVisualColumn(physicalColumn);
|
52693
|
+
if (acc.indexOf(visualColumn) === -1) {
|
52694
|
+
acc.push(visualColumn);
|
52695
|
+
}
|
52696
|
+
}
|
52697
|
+
return acc;
|
52698
|
+
}, []);
|
52699
|
+
_classPrivateFieldGet(_visualColumnsToRefresh, this).push(...changedColumns);
|
52648
52700
|
}
|
52649
52701
|
|
52650
52702
|
/***/ }),
|
@@ -52679,9 +52731,9 @@ var _registry3 = __webpack_require__(159);
|
|
52679
52731
|
var _registry4 = __webpack_require__(181);
|
52680
52732
|
var _registry5 = __webpack_require__(182);
|
52681
52733
|
var _eventManager = _interopRequireDefault(__webpack_require__(168));
|
52682
|
-
function _classPrivateMethodInitSpec(
|
52683
|
-
function _classPrivateFieldInitSpec(
|
52684
|
-
function _checkPrivateRedeclaration(
|
52734
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
52735
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
52736
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
52685
52737
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
52686
52738
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
52687
52739
|
const DEPS_TYPE_CHECKERS = new Map([['plugin', _registry.hasPlugin], ['cell-type', _registry2.hasCellType], ['editor', _registry3.hasEditor], ['renderer', _registry4.hasRenderer], ['validator', _registry5.hasValidator]]);
|
@@ -53680,8 +53732,8 @@ var _element = __webpack_require__(138);
|
|
53680
53732
|
var _array = __webpack_require__(144);
|
53681
53733
|
var _mixed = __webpack_require__(141);
|
53682
53734
|
var _utils = __webpack_require__(478);
|
53683
|
-
function _classPrivateMethodInitSpec(
|
53684
|
-
function _checkPrivateRedeclaration(
|
53735
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
53736
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
53685
53737
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
53686
53738
|
_pluginHooks.default.getSingleton().register('modifyAutofillRange');
|
53687
53739
|
_pluginHooks.default.getSingleton().register('beforeAutofill');
|
@@ -54341,19 +54393,21 @@ exports.AutoRowSize = _autoRowSize.AutoRowSize;
|
|
54341
54393
|
var _interopRequireDefault = __webpack_require__(1);
|
54342
54394
|
exports.__esModule = true;
|
54343
54395
|
__webpack_require__(8);
|
54396
|
+
__webpack_require__(90);
|
54344
54397
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(153));
|
54345
54398
|
var _base = __webpack_require__(472);
|
54346
|
-
var _array = __webpack_require__(144);
|
54347
54399
|
var _feature = __webpack_require__(151);
|
54348
|
-
var _element = __webpack_require__(138);
|
54349
54400
|
var _ghostTable = _interopRequireDefault(__webpack_require__(474));
|
54350
54401
|
var _object = __webpack_require__(148);
|
54351
54402
|
var _number = __webpack_require__(178);
|
54352
54403
|
var _samplesGenerator = _interopRequireDefault(__webpack_require__(475));
|
54353
54404
|
var _string = __webpack_require__(139);
|
54354
54405
|
var _translations = __webpack_require__(256);
|
54355
|
-
function _classPrivateMethodInitSpec(
|
54356
|
-
function
|
54406
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
54407
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
54408
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
54409
|
+
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
54410
|
+
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
54357
54411
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
54358
54412
|
const PLUGIN_KEY = exports.PLUGIN_KEY = 'autoRowSize';
|
54359
54413
|
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 40;
|
@@ -54443,6 +54497,7 @@ const ROW_WIDTHS_MAP_NAME = 'autoRowSize';
|
|
54443
54497
|
* :::
|
54444
54498
|
*/
|
54445
54499
|
/* eslint-enable jsdoc/require-description-complete-sentence */
|
54500
|
+
var _visualRowsToRefresh = /*#__PURE__*/new WeakMap();
|
54446
54501
|
var _AutoRowSize_brand = /*#__PURE__*/new WeakSet();
|
54447
54502
|
class AutoRowSize extends _base.BasePlugin {
|
54448
54503
|
static get PLUGIN_KEY() {
|
@@ -54471,7 +54526,9 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54471
54526
|
constructor(hotInstance) {
|
54472
54527
|
super(hotInstance);
|
54473
54528
|
/**
|
54474
|
-
*
|
54529
|
+
* Calculates specific rows height (overwrite cache values).
|
54530
|
+
*
|
54531
|
+
* @param {number[]} visualRows List of visual rows to calculate.
|
54475
54532
|
*/
|
54476
54533
|
_classPrivateMethodInitSpec(this, _AutoRowSize_brand);
|
54477
54534
|
(0, _defineProperty2.default)(this, "headerHeight", null);
|
@@ -54511,13 +54568,6 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54511
54568
|
value: cellValue
|
54512
54569
|
};
|
54513
54570
|
}));
|
54514
|
-
/**
|
54515
|
-
* `true` if only the first calculation was performed.
|
54516
|
-
*
|
54517
|
-
* @private
|
54518
|
-
* @type {boolean}
|
54519
|
-
*/
|
54520
|
-
(0, _defineProperty2.default)(this, "firstCalculation", true);
|
54521
54571
|
/**
|
54522
54572
|
* `true` if the size calculation is in progress.
|
54523
54573
|
*
|
@@ -54537,6 +54587,12 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54537
54587
|
* @type {PhysicalIndexToValueMap}
|
54538
54588
|
*/
|
54539
54589
|
(0, _defineProperty2.default)(this, "rowHeightsMap", new _translations.PhysicalIndexToValueMap());
|
54590
|
+
/**
|
54591
|
+
* An array of row indexes whose height will be recalculated.
|
54592
|
+
*
|
54593
|
+
* @type {number[]}
|
54594
|
+
*/
|
54595
|
+
_classPrivateFieldInitSpec(this, _visualRowsToRefresh, []);
|
54540
54596
|
this.hot.rowIndexMapper.registerMap(ROW_WIDTHS_MAP_NAME, this.rowHeightsMap);
|
54541
54597
|
|
54542
54598
|
// Leave the listener active to allow auto-sizing the rows when the plugin is disabled.
|
@@ -54570,10 +54626,22 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54570
54626
|
}
|
54571
54627
|
return _assertClassBrand(_AutoRowSize_brand, _this, _onAfterLoadData).call(_this, ...args);
|
54572
54628
|
});
|
54573
|
-
this.addHook('beforeChangeRender',
|
54629
|
+
this.addHook('beforeChangeRender', function () {
|
54630
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
54631
|
+
args[_key2] = arguments[_key2];
|
54632
|
+
}
|
54633
|
+
return _assertClassBrand(_AutoRowSize_brand, _this, _onBeforeChange).call(_this, ...args);
|
54634
|
+
});
|
54574
54635
|
this.addHook('beforeColumnResize', () => this.recalculateAllRowsHeight());
|
54575
|
-
this.addHook('
|
54636
|
+
this.addHook('afterFormulasValuesUpdate', function () {
|
54637
|
+
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
54638
|
+
args[_key3] = arguments[_key3];
|
54639
|
+
}
|
54640
|
+
return _assertClassBrand(_AutoRowSize_brand, _this, _onAfterFormulasValuesUpdate).call(_this, ...args);
|
54641
|
+
});
|
54642
|
+
this.addHook('beforeRender', () => _assertClassBrand(_AutoRowSize_brand, this, _onBeforeRender).call(this));
|
54576
54643
|
this.addHook('modifyRowHeight', (height, row) => this.getRowHeight(row, height));
|
54644
|
+
this.addHook('init', () => _assertClassBrand(_AutoRowSize_brand, this, _onInit).call(this));
|
54577
54645
|
this.addHook('modifyColumnHeaderHeight', () => this.getColumnHeaderHeight());
|
54578
54646
|
super.enablePlugin();
|
54579
54647
|
}
|
@@ -54586,16 +54654,36 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54586
54654
|
super.disablePlugin();
|
54587
54655
|
|
54588
54656
|
// Leave the listener active to allow auto-sizing the rows when the plugin is disabled.
|
54589
|
-
// This is
|
54657
|
+
// This is necessary for height recalculation for resize handler doubleclick (ManualRowResize).
|
54590
54658
|
this.addHook('beforeRowResize', (size, row, isDblClick) => _assertClassBrand(_AutoRowSize_brand, this, _onBeforeRowResize).call(this, size, row, isDblClick));
|
54591
54659
|
}
|
54592
54660
|
|
54661
|
+
/**
|
54662
|
+
* Calculates heights for visible rows in the viewport only.
|
54663
|
+
*/
|
54664
|
+
calculateVisibleRowsHeight() {
|
54665
|
+
// Keep last row heights unchanged for situation when all columns was deleted or trimmed
|
54666
|
+
if (!this.hot.countCols()) {
|
54667
|
+
return;
|
54668
|
+
}
|
54669
|
+
const firstVisibleRow = this.getFirstVisibleRow();
|
54670
|
+
const lastVisibleRow = this.getLastVisibleRow();
|
54671
|
+
if (firstVisibleRow === -1 || lastVisibleRow === -1) {
|
54672
|
+
return;
|
54673
|
+
}
|
54674
|
+
const overwriteCache = this.hot.renderCall;
|
54675
|
+
this.calculateRowsHeight({
|
54676
|
+
from: firstVisibleRow,
|
54677
|
+
to: lastVisibleRow
|
54678
|
+
}, undefined, overwriteCache);
|
54679
|
+
}
|
54680
|
+
|
54593
54681
|
/**
|
54594
54682
|
* Calculate a given rows height.
|
54595
54683
|
*
|
54596
54684
|
* @param {number|object} rowRange Row index or an object with `from` and `to` indexes as a range.
|
54597
54685
|
* @param {number|object} colRange Column index or an object with `from` and `to` indexes as a range.
|
54598
|
-
* @param {boolean} [
|
54686
|
+
* @param {boolean} [overwriteCache=false] If `true` the calculation will be processed regardless of whether the width exists in the cache.
|
54599
54687
|
*/
|
54600
54688
|
calculateRowsHeight() {
|
54601
54689
|
let rowRange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
@@ -54606,8 +54694,7 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54606
54694
|
from: 0,
|
54607
54695
|
to: this.hot.countCols() - 1
|
54608
54696
|
};
|
54609
|
-
let
|
54610
|
-
// eslint-disable-line max-len
|
54697
|
+
let overwriteCache = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
54611
54698
|
const rowsRange = typeof rowRange === 'number' ? {
|
54612
54699
|
from: rowRange,
|
54613
54700
|
to: rowRange
|
@@ -54620,15 +54707,17 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54620
54707
|
const samples = this.samplesGenerator.generateRowSamples(-1, columnsRange);
|
54621
54708
|
this.ghostTable.addColumnHeadersRow(samples.get(-1));
|
54622
54709
|
}
|
54623
|
-
(0, _number.rangeEach)(rowsRange.from, rowsRange.to,
|
54710
|
+
(0, _number.rangeEach)(rowsRange.from, rowsRange.to, visualRow => {
|
54711
|
+
let physicalRow = this.hot.toPhysicalRow(visualRow);
|
54712
|
+
if (physicalRow === null) {
|
54713
|
+
physicalRow = visualRow;
|
54714
|
+
}
|
54715
|
+
|
54624
54716
|
// For rows we must calculate row height even when user had set height value manually.
|
54625
54717
|
// We can shrink column but cannot shrink rows!
|
54626
|
-
if (
|
54627
|
-
const samples = this.samplesGenerator.generateRowSamples(
|
54628
|
-
(
|
54629
|
-
let [rowIndex, sample] = _ref;
|
54630
|
-
return this.ghostTable.addRow(rowIndex, sample);
|
54631
|
-
});
|
54718
|
+
if (overwriteCache || this.rowHeightsMap.getValueAtIndex(physicalRow) === null) {
|
54719
|
+
const samples = this.samplesGenerator.generateRowSamples(visualRow, columnsRange);
|
54720
|
+
samples.forEach((sample, row) => this.ghostTable.addRow(row, sample));
|
54632
54721
|
}
|
54633
54722
|
});
|
54634
54723
|
if (this.ghostTable.rows.length) {
|
@@ -54651,12 +54740,14 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54651
54740
|
* To retrieve height for specified row use {@link AutoRowSize#getRowHeight} method.
|
54652
54741
|
*
|
54653
54742
|
* @param {object|number} colRange Row index or an object with `from` and `to` properties which define row range.
|
54743
|
+
* @param {boolean} [overwriteCache] If `true` the calculation will be processed regardless of whether the width exists in the cache.
|
54654
54744
|
*/
|
54655
54745
|
calculateAllRowsHeight() {
|
54656
54746
|
let colRange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
54657
54747
|
from: 0,
|
54658
54748
|
to: this.hot.countCols() - 1
|
54659
54749
|
};
|
54750
|
+
let overwriteCache = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
54660
54751
|
let current = 0;
|
54661
54752
|
const length = this.hot.countRows() - 1;
|
54662
54753
|
let timer = null;
|
@@ -54671,7 +54762,7 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54671
54762
|
this.calculateRowsHeight({
|
54672
54763
|
from: current,
|
54673
54764
|
to: Math.min(current + AutoRowSize.CALCULATION_STEP, length)
|
54674
|
-
}, colRange);
|
54765
|
+
}, colRange, overwriteCache);
|
54675
54766
|
current = current + AutoRowSize.CALCULATION_STEP + 1;
|
54676
54767
|
if (current < length) {
|
54677
54768
|
timer = (0, _feature.requestAnimationFrame)(loop);
|
@@ -54691,12 +54782,11 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54691
54782
|
const syncLimit = this.getSyncCalculationLimit();
|
54692
54783
|
|
54693
54784
|
// sync
|
54694
|
-
if (
|
54785
|
+
if (syncLimit >= 0) {
|
54695
54786
|
this.calculateRowsHeight({
|
54696
54787
|
from: 0,
|
54697
54788
|
to: syncLimit
|
54698
|
-
}, colRange);
|
54699
|
-
this.firstCalculation = false;
|
54789
|
+
}, colRange, overwriteCache);
|
54700
54790
|
current = syncLimit + 1;
|
54701
54791
|
}
|
54702
54792
|
// async
|
@@ -54707,7 +54797,6 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54707
54797
|
this.hot.view.adjustElementsSize();
|
54708
54798
|
}
|
54709
54799
|
}
|
54710
|
-
|
54711
54800
|
/**
|
54712
54801
|
* Sets the sampling options.
|
54713
54802
|
*
|
@@ -54729,9 +54818,11 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54729
54818
|
* Recalculates all rows height (overwrite cache values).
|
54730
54819
|
*/
|
54731
54820
|
recalculateAllRowsHeight() {
|
54732
|
-
if (
|
54733
|
-
this.
|
54734
|
-
|
54821
|
+
if (this.hot.view.isVisible()) {
|
54822
|
+
this.calculateAllRowsHeight({
|
54823
|
+
from: 0,
|
54824
|
+
to: this.hot.countCols() - 1
|
54825
|
+
}, true);
|
54735
54826
|
}
|
54736
54827
|
}
|
54737
54828
|
|
@@ -54771,8 +54862,7 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54771
54862
|
* @param {number} [defaultHeight] If no height is found, `defaultHeight` is returned instead.
|
54772
54863
|
* @returns {number} The height of the specified row, in pixels.
|
54773
54864
|
*/
|
54774
|
-
getRowHeight(row) {
|
54775
|
-
let defaultHeight = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
|
54865
|
+
getRowHeight(row, defaultHeight) {
|
54776
54866
|
const cachedHeight = row < 0 ? this.headerHeight : this.rowHeightsMap.getValueAtIndex(this.hot.toPhysicalRow(row));
|
54777
54867
|
let height = defaultHeight;
|
54778
54868
|
if (cachedHeight !== null && cachedHeight > (defaultHeight || 0)) {
|
@@ -54796,14 +54886,8 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54796
54886
|
* @returns {number} Returns row index, -1 if table is not rendered or if there are no rows to base the the calculations on.
|
54797
54887
|
*/
|
54798
54888
|
getFirstVisibleRow() {
|
54799
|
-
|
54800
|
-
|
54801
|
-
return wot.wtTable.getFirstVisibleRow();
|
54802
|
-
}
|
54803
|
-
if (wot.wtViewport.rowsRenderCalculator) {
|
54804
|
-
return wot.wtTable.getFirstRenderedRow();
|
54805
|
-
}
|
54806
|
-
return -1;
|
54889
|
+
var _this$hot$view$getFir;
|
54890
|
+
return (_this$hot$view$getFir = this.hot.view.getFirstRenderedVisibleRow()) !== null && _this$hot$view$getFir !== void 0 ? _this$hot$view$getFir : -1;
|
54807
54891
|
}
|
54808
54892
|
|
54809
54893
|
/**
|
@@ -54812,22 +54896,27 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54812
54896
|
* @returns {number} Returns row index or -1 if table is not rendered.
|
54813
54897
|
*/
|
54814
54898
|
getLastVisibleRow() {
|
54815
|
-
|
54816
|
-
|
54817
|
-
return wot.wtTable.getLastVisibleRow();
|
54818
|
-
}
|
54819
|
-
if (wot.wtViewport.rowsRenderCalculator) {
|
54820
|
-
return wot.wtTable.getLastRenderedRow();
|
54821
|
-
}
|
54822
|
-
return -1;
|
54899
|
+
var _this$hot$view$getLas;
|
54900
|
+
return (_this$hot$view$getLas = this.hot.view.getLastRenderedVisibleRow()) !== null && _this$hot$view$getLas !== void 0 ? _this$hot$view$getLas : -1;
|
54823
54901
|
}
|
54824
54902
|
|
54825
54903
|
/**
|
54826
|
-
* Clears
|
54904
|
+
* Clears cache of calculated row heights. If you want to clear only selected rows pass an array with their indexes.
|
54905
|
+
* Otherwise whole cache will be cleared.
|
54906
|
+
*
|
54907
|
+
* @param {number[]} [physicalRows] List of physical row indexes to clear.
|
54827
54908
|
*/
|
54828
|
-
clearCache() {
|
54909
|
+
clearCache(physicalRows) {
|
54829
54910
|
this.headerHeight = null;
|
54830
|
-
|
54911
|
+
if (Array.isArray(physicalRows)) {
|
54912
|
+
this.hot.batchExecution(() => {
|
54913
|
+
physicalRows.forEach(physicalIndex => {
|
54914
|
+
this.rowHeightsMap.setValueAtIndex(physicalIndex, null);
|
54915
|
+
});
|
54916
|
+
}, true);
|
54917
|
+
} else {
|
54918
|
+
this.rowHeightsMap.clear();
|
54919
|
+
}
|
54831
54920
|
}
|
54832
54921
|
|
54833
54922
|
/**
|
@@ -54856,8 +54945,13 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54856
54945
|
* @returns {boolean}
|
54857
54946
|
*/
|
54858
54947
|
isNeedRecalculate() {
|
54859
|
-
return !!
|
54948
|
+
return !!this.rowHeightsMap.getValues().slice(0, this.measuredRows).filter(item => item === null).length;
|
54860
54949
|
}
|
54950
|
+
|
54951
|
+
/**
|
54952
|
+
* On before view render listener.
|
54953
|
+
*/
|
54954
|
+
|
54861
54955
|
/**
|
54862
54956
|
* Destroys the plugin instance.
|
54863
54957
|
*/
|
@@ -54867,29 +54961,32 @@ class AutoRowSize extends _base.BasePlugin {
|
|
54867
54961
|
}
|
54868
54962
|
}
|
54869
54963
|
exports.AutoRowSize = AutoRowSize;
|
54870
|
-
function
|
54871
|
-
const
|
54872
|
-
|
54873
|
-
|
54874
|
-
|
54875
|
-
|
54876
|
-
|
54877
|
-
|
54878
|
-
|
54879
|
-
|
54880
|
-
|
54881
|
-
|
54882
|
-
|
54883
|
-
|
54884
|
-
|
54885
|
-
|
54886
|
-
|
54887
|
-
|
54888
|
-
|
54889
|
-
});
|
54964
|
+
function _calculateSpecificRowsHeight(visualRows) {
|
54965
|
+
const columnsRange = {
|
54966
|
+
from: 0,
|
54967
|
+
to: this.hot.countCols() - 1
|
54968
|
+
};
|
54969
|
+
visualRows.forEach(visualRow => {
|
54970
|
+
// For rows we must calculate row height even when user had set height value manually.
|
54971
|
+
// We can shrink column but cannot shrink rows!
|
54972
|
+
const samples = this.samplesGenerator.generateRowSamples(visualRow, columnsRange);
|
54973
|
+
samples.forEach((sample, row) => this.ghostTable.addRow(row, sample));
|
54974
|
+
});
|
54975
|
+
if (this.ghostTable.rows.length) {
|
54976
|
+
this.hot.batchExecution(() => {
|
54977
|
+
this.ghostTable.getHeights((visualRow, height) => {
|
54978
|
+
const physicalRow = this.hot.toPhysicalRow(visualRow);
|
54979
|
+
this.rowHeightsMap.setValueAtIndex(physicalRow, height);
|
54980
|
+
});
|
54981
|
+
}, true);
|
54982
|
+
this.ghostTable.clean();
|
54890
54983
|
}
|
54891
|
-
|
54892
|
-
|
54984
|
+
}
|
54985
|
+
function _onBeforeRender() {
|
54986
|
+
this.calculateVisibleRowsHeight();
|
54987
|
+
if (!this.inProgress) {
|
54988
|
+
_assertClassBrand(_AutoRowSize_brand, this, _calculateSpecificRowsHeight).call(this, _classPrivateFieldGet(_visualRowsToRefresh, this));
|
54989
|
+
_classPrivateFieldSet(_visualRowsToRefresh, this, []);
|
54893
54990
|
}
|
54894
54991
|
}
|
54895
54992
|
/**
|
@@ -54910,17 +55007,13 @@ function _onBeforeRowResize(size, row, isDblClick) {
|
|
54910
55007
|
}
|
54911
55008
|
/**
|
54912
55009
|
* On after load data listener.
|
55010
|
+
*
|
55011
|
+
* @param {Array} sourceData Source data.
|
55012
|
+
* @param {boolean} isFirstLoad `true` if this is the first load.
|
54913
55013
|
*/
|
54914
|
-
function _onAfterLoadData() {
|
54915
|
-
if (
|
55014
|
+
function _onAfterLoadData(sourceData, isFirstLoad) {
|
55015
|
+
if (!isFirstLoad) {
|
54916
55016
|
this.recalculateAllRowsHeight();
|
54917
|
-
} else {
|
54918
|
-
// first load - initialization
|
54919
|
-
this.hot._registerTimeout(() => {
|
54920
|
-
if (this.hot) {
|
54921
|
-
this.recalculateAllRowsHeight();
|
54922
|
-
}
|
54923
|
-
});
|
54924
55017
|
}
|
54925
55018
|
}
|
54926
55019
|
/**
|
@@ -54929,18 +55022,39 @@ function _onAfterLoadData() {
|
|
54929
55022
|
* @param {Array} changes 2D array containing information about each of the edited cells.
|
54930
55023
|
*/
|
54931
55024
|
function _onBeforeChange(changes) {
|
54932
|
-
|
54933
|
-
|
54934
|
-
|
54935
|
-
|
54936
|
-
|
54937
|
-
|
54938
|
-
|
54939
|
-
|
54940
|
-
|
54941
|
-
|
54942
|
-
|
54943
|
-
|
55025
|
+
const changedRows = changes.reduce((acc, _ref) => {
|
55026
|
+
let [row] = _ref;
|
55027
|
+
if (acc.indexOf(row) === -1) {
|
55028
|
+
acc.push(row);
|
55029
|
+
}
|
55030
|
+
return acc;
|
55031
|
+
}, []);
|
55032
|
+
_classPrivateFieldGet(_visualRowsToRefresh, this).push(...changedRows);
|
55033
|
+
}
|
55034
|
+
/**
|
55035
|
+
* On after Handsontable init plugin with all necessary values.
|
55036
|
+
*/
|
55037
|
+
function _onInit() {
|
55038
|
+
this.recalculateAllRowsHeight();
|
55039
|
+
}
|
55040
|
+
/**
|
55041
|
+
* After formulas values updated listener.
|
55042
|
+
*
|
55043
|
+
* @param {Array} changes An array of modified data.
|
55044
|
+
*/
|
55045
|
+
function _onAfterFormulasValuesUpdate(changes) {
|
55046
|
+
const changedRows = changes.reduce((acc, change) => {
|
55047
|
+
var _change$address;
|
55048
|
+
const physicalRow = (_change$address = change.address) === null || _change$address === void 0 ? void 0 : _change$address.row;
|
55049
|
+
if (Number.isInteger(physicalRow)) {
|
55050
|
+
const visualRow = this.hot.toVisualRow(physicalRow);
|
55051
|
+
if (acc.indexOf(visualRow) === -1) {
|
55052
|
+
acc.push(visualRow);
|
55053
|
+
}
|
55054
|
+
}
|
55055
|
+
return acc;
|
55056
|
+
}, []);
|
55057
|
+
_classPrivateFieldGet(_visualRowsToRefresh, this).push(...changedRows);
|
54944
55058
|
}
|
54945
55059
|
|
54946
55060
|
/***/ }),
|
@@ -54970,8 +55084,8 @@ var _defineProperty2 = _interopRequireDefault(__webpack_require__(153));
|
|
54970
55084
|
var _base = __webpack_require__(472);
|
54971
55085
|
var _looseBindsMap = _interopRequireDefault(__webpack_require__(483));
|
54972
55086
|
var _strictBindsMap = _interopRequireDefault(__webpack_require__(484));
|
54973
|
-
function _classPrivateMethodInitSpec(
|
54974
|
-
function _checkPrivateRedeclaration(
|
55087
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
55088
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
54975
55089
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
54976
55090
|
const PLUGIN_KEY = exports.PLUGIN_KEY = 'bindRowsWithHeaders';
|
54977
55091
|
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 210;
|
@@ -55220,9 +55334,9 @@ var _element = __webpack_require__(138);
|
|
55220
55334
|
var _event = __webpack_require__(158);
|
55221
55335
|
var _shortcutContexts = __webpack_require__(315);
|
55222
55336
|
var _a11y = __webpack_require__(145);
|
55223
|
-
function _classPrivateMethodInitSpec(
|
55224
|
-
function _classPrivateFieldInitSpec(
|
55225
|
-
function _checkPrivateRedeclaration(
|
55337
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
55338
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
55339
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
55226
55340
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
55227
55341
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
55228
55342
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -55846,8 +55960,8 @@ var _domHelpers = __webpack_require__(499);
|
|
55846
55960
|
var _rootComparator = __webpack_require__(500);
|
55847
55961
|
var _sortService = __webpack_require__(491);
|
55848
55962
|
var _a11y = __webpack_require__(145);
|
55849
|
-
function _classPrivateMethodInitSpec(
|
55850
|
-
function _checkPrivateRedeclaration(
|
55963
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
55964
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
55851
55965
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
55852
55966
|
const PLUGIN_KEY = exports.PLUGIN_KEY = 'columnSorting';
|
55853
55967
|
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 50;
|
@@ -57458,8 +57572,8 @@ var _object = __webpack_require__(148);
|
|
57458
57572
|
var _endpoints = _interopRequireDefault(__webpack_require__(503));
|
57459
57573
|
var _templateLiteralTag = __webpack_require__(143);
|
57460
57574
|
var _utils = __webpack_require__(504);
|
57461
|
-
function _classPrivateMethodInitSpec(
|
57462
|
-
function _checkPrivateRedeclaration(
|
57575
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
57576
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
57463
57577
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
57464
57578
|
const PLUGIN_KEY = exports.PLUGIN_KEY = 'columnSummary';
|
57465
57579
|
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 220;
|
@@ -58534,9 +58648,9 @@ var _addEditComment = _interopRequireDefault(__webpack_require__(525));
|
|
58534
58648
|
var _removeComment = _interopRequireDefault(__webpack_require__(526));
|
58535
58649
|
var _readOnlyComment = _interopRequireDefault(__webpack_require__(527));
|
58536
58650
|
__webpack_require__(528);
|
58537
|
-
function _classPrivateMethodInitSpec(
|
58538
|
-
function _classPrivateFieldInitSpec(
|
58539
|
-
function _checkPrivateRedeclaration(
|
58651
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
58652
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
58653
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
58540
58654
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
58541
58655
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
58542
58656
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -59329,8 +59443,8 @@ var _element = __webpack_require__(138);
|
|
59329
59443
|
var _object = __webpack_require__(148);
|
59330
59444
|
var _localHooks = _interopRequireDefault(__webpack_require__(237));
|
59331
59445
|
var _editorResizeObserver = __webpack_require__(508);
|
59332
|
-
function _classPrivateFieldInitSpec(
|
59333
|
-
function _checkPrivateRedeclaration(
|
59446
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
59447
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
59334
59448
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
59335
59449
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
59336
59450
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -59592,9 +59706,9 @@ exports.__esModule = true;
|
|
59592
59706
|
__webpack_require__(8);
|
59593
59707
|
var _object = __webpack_require__(148);
|
59594
59708
|
var _localHooks = _interopRequireDefault(__webpack_require__(237));
|
59595
|
-
function _classPrivateMethodInitSpec(
|
59596
|
-
function _classPrivateFieldInitSpec(
|
59597
|
-
function _checkPrivateRedeclaration(
|
59709
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
59710
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
59711
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
59598
59712
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
59599
59713
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
59600
59714
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -60976,8 +61090,8 @@ var _utils = __webpack_require__(512);
|
|
60976
61090
|
var _element = __webpack_require__(138);
|
60977
61091
|
var _predefinedItems = __webpack_require__(510);
|
60978
61092
|
__webpack_require__(545);
|
60979
|
-
function _classPrivateMethodInitSpec(
|
60980
|
-
function _checkPrivateRedeclaration(
|
61093
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
61094
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
60981
61095
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
60982
61096
|
const PLUGIN_KEY = exports.PLUGIN_KEY = 'contextMenu';
|
60983
61097
|
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 70;
|
@@ -61709,8 +61823,8 @@ var _object = __webpack_require__(148);
|
|
61709
61823
|
var _localHooks = _interopRequireDefault(__webpack_require__(237));
|
61710
61824
|
var _menuItemRenderer = __webpack_require__(544);
|
61711
61825
|
var _a11y = __webpack_require__(145);
|
61712
|
-
function _classPrivateFieldInitSpec(
|
61713
|
-
function _checkPrivateRedeclaration(
|
61826
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
61827
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
61714
61828
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
61715
61829
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
61716
61830
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -62338,8 +62452,8 @@ exports.Menu = Menu;
|
|
62338
62452
|
exports.__esModule = true;
|
62339
62453
|
__webpack_require__(8);
|
62340
62454
|
var _cursor2 = __webpack_require__(538);
|
62341
|
-
function _classPrivateFieldInitSpec(
|
62342
|
-
function _checkPrivateRedeclaration(
|
62455
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
62456
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
62343
62457
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
62344
62458
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
62345
62459
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -63401,9 +63515,9 @@ var _pasteEvent = _interopRequireDefault(__webpack_require__(553));
|
|
63401
63515
|
var _copyableRanges = __webpack_require__(555);
|
63402
63516
|
var _parseTable = __webpack_require__(170);
|
63403
63517
|
__webpack_require__(556);
|
63404
|
-
function _classPrivateMethodInitSpec(
|
63405
|
-
function _classPrivateFieldInitSpec(
|
63406
|
-
function _checkPrivateRedeclaration(
|
63518
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
63519
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
63520
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
63407
63521
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
63408
63522
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
63409
63523
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -64487,9 +64601,9 @@ __webpack_require__(8);
|
|
64487
64601
|
__webpack_require__(90);
|
64488
64602
|
var _array = __webpack_require__(144);
|
64489
64603
|
var _number = __webpack_require__(178);
|
64490
|
-
function _classPrivateMethodInitSpec(
|
64491
|
-
function _classPrivateFieldInitSpec(
|
64492
|
-
function _checkPrivateRedeclaration(
|
64604
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
64605
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
64606
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
64493
64607
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
64494
64608
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
64495
64609
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -64750,8 +64864,8 @@ var _utils = __webpack_require__(561);
|
|
64750
64864
|
var _selection = __webpack_require__(281);
|
64751
64865
|
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); }
|
64752
64866
|
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 && {}.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; }
|
64753
|
-
function _classPrivateMethodInitSpec(
|
64754
|
-
function _checkPrivateRedeclaration(
|
64867
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
64868
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
64755
64869
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
64756
64870
|
const PLUGIN_KEY = exports.PLUGIN_KEY = 'customBorders';
|
64757
64871
|
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 90;
|
@@ -65958,8 +66072,8 @@ var _defineProperty2 = _interopRequireDefault(__webpack_require__(153));
|
|
65958
66072
|
var _base = __webpack_require__(472);
|
65959
66073
|
var _event = __webpack_require__(158);
|
65960
66074
|
var _element = __webpack_require__(138);
|
65961
|
-
function _classPrivateMethodInitSpec(
|
65962
|
-
function _checkPrivateRedeclaration(
|
66075
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
66076
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
65963
66077
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
65964
66078
|
const PLUGIN_KEY = exports.PLUGIN_KEY = 'dragToScroll';
|
65965
66079
|
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 100;
|
@@ -66233,9 +66347,9 @@ var _pluginHooks = _interopRequireDefault(__webpack_require__(160));
|
|
66233
66347
|
var _predefinedItems = __webpack_require__(510);
|
66234
66348
|
__webpack_require__(570);
|
66235
66349
|
var _a11y = __webpack_require__(145);
|
66236
|
-
function _classPrivateMethodInitSpec(
|
66237
|
-
function _classPrivateFieldInitSpec(
|
66238
|
-
function _checkPrivateRedeclaration(
|
66350
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
66351
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
66352
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
66239
66353
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
66240
66354
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
66241
66355
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -67412,9 +67526,9 @@ var _translations = __webpack_require__(256);
|
|
67412
67526
|
__webpack_require__(625);
|
67413
67527
|
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); }
|
67414
67528
|
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 && {}.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; }
|
67415
|
-
function _classPrivateMethodInitSpec(
|
67416
|
-
function _classPrivateFieldInitSpec(
|
67417
|
-
function _checkPrivateRedeclaration(
|
67529
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
67530
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
67531
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
67418
67532
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
67419
67533
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
67420
67534
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -68321,8 +68435,8 @@ var _select = __webpack_require__(613);
|
|
68321
68435
|
var _conditionRegisterer = __webpack_require__(582);
|
68322
68436
|
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); }
|
68323
68437
|
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 && {}.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; }
|
68324
|
-
function _classPrivateMethodInitSpec(
|
68325
|
-
function _checkPrivateRedeclaration(
|
68438
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
68439
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
68326
68440
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
68327
68441
|
/**
|
68328
68442
|
* @private
|
@@ -69916,9 +70030,9 @@ __webpack_require__(8);
|
|
69916
70030
|
var _element = __webpack_require__(138);
|
69917
70031
|
var _object = __webpack_require__(148);
|
69918
70032
|
var _base = __webpack_require__(612);
|
69919
|
-
function _classPrivateMethodInitSpec(
|
69920
|
-
function _classPrivateFieldInitSpec(
|
69921
|
-
function _checkPrivateRedeclaration(
|
70033
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
70034
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
70035
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
69922
70036
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
69923
70037
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
69924
70038
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -70242,9 +70356,9 @@ var _base = __webpack_require__(612);
|
|
70242
70356
|
var _a11y = __webpack_require__(145);
|
70243
70357
|
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); }
|
70244
70358
|
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 && {}.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; }
|
70245
|
-
function _classPrivateMethodInitSpec(
|
70246
|
-
function _classPrivateFieldInitSpec(
|
70247
|
-
function _checkPrivateRedeclaration(
|
70359
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
70360
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
70361
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
70248
70362
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
70249
70363
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
70250
70364
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -70503,8 +70617,8 @@ var _conjunction = __webpack_require__(607);
|
|
70503
70617
|
var _disjunction = __webpack_require__(609);
|
70504
70618
|
var _disjunctionWithExtraCondition = __webpack_require__(610);
|
70505
70619
|
var _radioInput = __webpack_require__(615);
|
70506
|
-
function _classPrivateMethodInitSpec(
|
70507
|
-
function _checkPrivateRedeclaration(
|
70620
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
70621
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
70508
70622
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
70509
70623
|
const SELECTED_AT_START_ELEMENT_INDEX = 0;
|
70510
70624
|
|
@@ -70667,8 +70781,8 @@ exports.__esModule = true;
|
|
70667
70781
|
__webpack_require__(8);
|
70668
70782
|
var _object = __webpack_require__(148);
|
70669
70783
|
var _base = __webpack_require__(612);
|
70670
|
-
function _classPrivateFieldInitSpec(
|
70671
|
-
function _checkPrivateRedeclaration(
|
70784
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
70785
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
70672
70786
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
70673
70787
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
70674
70788
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -70787,8 +70901,8 @@ var _conditionRegisterer = __webpack_require__(582);
|
|
70787
70901
|
var _numericRenderer = __webpack_require__(427);
|
70788
70902
|
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); }
|
70789
70903
|
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 && {}.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; }
|
70790
|
-
function _classPrivateMethodInitSpec(
|
70791
|
-
function _checkPrivateRedeclaration(
|
70904
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
70905
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
70792
70906
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
70793
70907
|
/**
|
70794
70908
|
* @private
|
@@ -71047,9 +71161,9 @@ var _link = __webpack_require__(618);
|
|
71047
71161
|
var _utils = __webpack_require__(604);
|
71048
71162
|
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); }
|
71049
71163
|
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 && {}.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; }
|
71050
|
-
function _classPrivateMethodInitSpec(
|
71051
|
-
function _classPrivateFieldInitSpec(
|
71052
|
-
function _checkPrivateRedeclaration(
|
71164
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
71165
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
71166
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
71053
71167
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
71054
71168
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
71055
71169
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -71465,8 +71579,8 @@ exports.__esModule = true;
|
|
71465
71579
|
__webpack_require__(8);
|
71466
71580
|
var _object = __webpack_require__(148);
|
71467
71581
|
var _base = __webpack_require__(612);
|
71468
|
-
function _classPrivateFieldInitSpec(
|
71469
|
-
function _checkPrivateRedeclaration(
|
71582
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
71583
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
71470
71584
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
71471
71585
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
71472
71586
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -71552,8 +71666,8 @@ var _input = __webpack_require__(611);
|
|
71552
71666
|
var _ActionBarComponent;
|
71553
71667
|
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); }
|
71554
71668
|
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 && {}.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; }
|
71555
|
-
function _classPrivateMethodInitSpec(
|
71556
|
-
function _checkPrivateRedeclaration(
|
71669
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
71670
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
71557
71671
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
71558
71672
|
/**
|
71559
71673
|
* @private
|
@@ -72059,8 +72173,8 @@ var _localHooks = _interopRequireDefault(__webpack_require__(237));
|
|
72059
72173
|
var _conditionCollection = _interopRequireDefault(__webpack_require__(620));
|
72060
72174
|
var _dataFilter = _interopRequireDefault(__webpack_require__(621));
|
72061
72175
|
var _utils = __webpack_require__(604);
|
72062
|
-
function _classPrivateMethodInitSpec(
|
72063
|
-
function _checkPrivateRedeclaration(
|
72176
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
72177
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
72064
72178
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
72065
72179
|
/**
|
72066
72180
|
* Class which is designed for observing changes in condition collection. When condition is changed by user at specified
|
@@ -72491,9 +72605,9 @@ var _data = __webpack_require__(255);
|
|
72491
72605
|
var _string = __webpack_require__(139);
|
72492
72606
|
var _pluginHooks = _interopRequireDefault(__webpack_require__(160));
|
72493
72607
|
var _indexSyncer = _interopRequireDefault(__webpack_require__(631));
|
72494
|
-
function _classPrivateMethodInitSpec(
|
72495
|
-
function _classPrivateFieldInitSpec(
|
72496
|
-
function _checkPrivateRedeclaration(
|
72608
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
72609
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
72610
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
72497
72611
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
72498
72612
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
72499
72613
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -74221,8 +74335,8 @@ var _interopRequireDefault = __webpack_require__(1);
|
|
74221
74335
|
exports.__esModule = true;
|
74222
74336
|
__webpack_require__(8);
|
74223
74337
|
var _axisSyncer = _interopRequireDefault(__webpack_require__(632));
|
74224
|
-
function _classPrivateFieldInitSpec(
|
74225
|
-
function _checkPrivateRedeclaration(
|
74338
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
74339
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
74226
74340
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
74227
74341
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
74228
74342
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -74393,8 +74507,8 @@ __webpack_require__(8);
|
|
74393
74507
|
__webpack_require__(90);
|
74394
74508
|
var _string = __webpack_require__(139);
|
74395
74509
|
var _moves = __webpack_require__(633);
|
74396
|
-
function _classPrivateFieldInitSpec(
|
74397
|
-
function _checkPrivateRedeclaration(
|
74510
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
74511
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
74398
74512
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
74399
74513
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
74400
74514
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -74742,9 +74856,9 @@ var _hideColumn = _interopRequireDefault(__webpack_require__(636));
|
|
74742
74856
|
var _showColumn = _interopRequireDefault(__webpack_require__(637));
|
74743
74857
|
var _translations = __webpack_require__(256);
|
74744
74858
|
__webpack_require__(638);
|
74745
|
-
function _classPrivateMethodInitSpec(
|
74746
|
-
function _classPrivateFieldInitSpec(
|
74747
|
-
function _checkPrivateRedeclaration(
|
74859
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
74860
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
74861
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
74748
74862
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
74749
74863
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
74750
74864
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -75449,9 +75563,9 @@ var _hideRow = _interopRequireDefault(__webpack_require__(641));
|
|
75449
75563
|
var _showRow = _interopRequireDefault(__webpack_require__(642));
|
75450
75564
|
var _translations = __webpack_require__(256);
|
75451
75565
|
__webpack_require__(643);
|
75452
|
-
function _classPrivateMethodInitSpec(
|
75453
|
-
function _classPrivateFieldInitSpec(
|
75454
|
-
function _checkPrivateRedeclaration(
|
75566
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
75567
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
75568
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
75455
75569
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
75456
75570
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
75457
75571
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -76134,9 +76248,9 @@ var _pluginHooks = _interopRequireDefault(__webpack_require__(160));
|
|
76134
76248
|
var _freezeColumn = _interopRequireDefault(__webpack_require__(646));
|
76135
76249
|
var _unfreezeColumn = _interopRequireDefault(__webpack_require__(647));
|
76136
76250
|
__webpack_require__(648);
|
76137
|
-
function _classPrivateMethodInitSpec(
|
76138
|
-
function _classPrivateFieldInitSpec(
|
76139
|
-
function _checkPrivateRedeclaration(
|
76251
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
76252
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
76253
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
76140
76254
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
76141
76255
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
76142
76256
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -76454,9 +76568,9 @@ var _number = __webpack_require__(178);
|
|
76454
76568
|
var _backlight2 = _interopRequireDefault(__webpack_require__(651));
|
76455
76569
|
var _guideline2 = _interopRequireDefault(__webpack_require__(653));
|
76456
76570
|
__webpack_require__(654);
|
76457
|
-
function _classPrivateMethodInitSpec(
|
76458
|
-
function _classPrivateFieldInitSpec(
|
76459
|
-
function _checkPrivateRedeclaration(
|
76571
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
76572
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
76573
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
76460
76574
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
76461
76575
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
76462
76576
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -77400,9 +77514,9 @@ var _element = __webpack_require__(138);
|
|
77400
77514
|
var _array = __webpack_require__(144);
|
77401
77515
|
var _number = __webpack_require__(178);
|
77402
77516
|
var _translations = __webpack_require__(256);
|
77403
|
-
function _classPrivateMethodInitSpec(
|
77404
|
-
function _classPrivateFieldInitSpec(
|
77405
|
-
function _checkPrivateRedeclaration(
|
77517
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
77518
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
77519
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
77406
77520
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
77407
77521
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
77408
77522
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -78068,9 +78182,9 @@ var _number = __webpack_require__(178);
|
|
78068
78182
|
var _backlight2 = _interopRequireDefault(__webpack_require__(659));
|
78069
78183
|
var _guideline2 = _interopRequireDefault(__webpack_require__(661));
|
78070
78184
|
__webpack_require__(662);
|
78071
|
-
function _classPrivateMethodInitSpec(
|
78072
|
-
function _classPrivateFieldInitSpec(
|
78073
|
-
function _checkPrivateRedeclaration(
|
78185
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
78186
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
78187
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
78074
78188
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
78075
78189
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
78076
78190
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -78970,9 +79084,9 @@ var _array = __webpack_require__(144);
|
|
78970
79084
|
var _number = __webpack_require__(178);
|
78971
79085
|
var _translations = __webpack_require__(256);
|
78972
79086
|
var _src = __webpack_require__(184);
|
78973
|
-
function _classPrivateMethodInitSpec(
|
78974
|
-
function _classPrivateFieldInitSpec(
|
78975
|
-
function _checkPrivateRedeclaration(
|
79087
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
79088
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
79089
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
78976
79090
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
78977
79091
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
78978
79092
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -79633,9 +79747,9 @@ var _element = __webpack_require__(138);
|
|
79633
79747
|
var _browser = __webpack_require__(147);
|
79634
79748
|
var _focusOrder2 = __webpack_require__(673);
|
79635
79749
|
var _renderer = __webpack_require__(675);
|
79636
|
-
function _classPrivateMethodInitSpec(
|
79637
|
-
function _classPrivateFieldInitSpec(
|
79638
|
-
function _checkPrivateRedeclaration(
|
79750
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
79751
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
79752
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
79639
79753
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
79640
79754
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
79641
79755
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -81109,8 +81223,8 @@ var _number = __webpack_require__(178);
|
|
81109
81223
|
var _console = __webpack_require__(166);
|
81110
81224
|
var _array = __webpack_require__(144);
|
81111
81225
|
var _templateLiteralTag = __webpack_require__(143);
|
81112
|
-
function _classPrivateMethodInitSpec(
|
81113
|
-
function _checkPrivateRedeclaration(
|
81226
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
81227
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
81114
81228
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
81115
81229
|
/**
|
81116
81230
|
* Defines a container object for the merged cells.
|
@@ -81596,8 +81710,8 @@ exports.__esModule = true;
|
|
81596
81710
|
__webpack_require__(8);
|
81597
81711
|
var _defineProperty2 = _interopRequireDefault(__webpack_require__(153));
|
81598
81712
|
var _templateLiteralTag = __webpack_require__(143);
|
81599
|
-
function _classPrivateFieldInitSpec(
|
81600
|
-
function _checkPrivateRedeclaration(
|
81713
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
81714
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
81601
81715
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
81602
81716
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
81603
81717
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -82569,9 +82683,9 @@ exports.__esModule = true;
|
|
82569
82683
|
__webpack_require__(8);
|
82570
82684
|
__webpack_require__(90);
|
82571
82685
|
var _linkedList = _interopRequireDefault(__webpack_require__(674));
|
82572
|
-
function _classPrivateMethodInitSpec(
|
82573
|
-
function _classPrivateFieldInitSpec(
|
82574
|
-
function _checkPrivateRedeclaration(
|
82686
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
82687
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
82688
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
82575
82689
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
82576
82690
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
82577
82691
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -84036,9 +84150,9 @@ var _base = __webpack_require__(472);
|
|
84036
84150
|
var _stateManager2 = _interopRequireDefault(__webpack_require__(686));
|
84037
84151
|
var _ghostTable = _interopRequireDefault(__webpack_require__(699));
|
84038
84152
|
__webpack_require__(700);
|
84039
|
-
function _classPrivateMethodInitSpec(
|
84040
|
-
function _classPrivateFieldInitSpec(
|
84041
|
-
function _checkPrivateRedeclaration(
|
84153
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
84154
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
84155
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
84042
84156
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
84043
84157
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
84044
84158
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -84057,6 +84171,7 @@ const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 280;
|
|
84057
84171
|
* To make any header wider (covering multiple table columns), it's corresponding configuration array element should be
|
84058
84172
|
* provided as an object with `label` and `colspan` properties. The `label` property defines the header's label,
|
84059
84173
|
* while the `colspan` property defines a number of columns that the header should cover.
|
84174
|
+
* You can also set custom class names to any of the headers by providing the `headerClassName` property.
|
84060
84175
|
*
|
84061
84176
|
* __Note__ that the plugin supports a *nested* structure, which means, any header cannot be wider than it's "parent". In
|
84062
84177
|
* other words, headers cannot overlap each other.
|
@@ -84068,7 +84183,7 @@ const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 280;
|
|
84068
84183
|
* const hot = new Handsontable(container, {
|
84069
84184
|
* data: getData(),
|
84070
84185
|
* nestedHeaders: [
|
84071
|
-
* ['A', {label: 'B', colspan: 8}, 'C'],
|
84186
|
+
* ['A', {label: 'B', colspan: 8, headerClassName: 'htRight'}, 'C'],
|
84072
84187
|
* ['D', {label: 'E', colspan: 4}, {label: 'F', colspan: 4}, 'G'],
|
84073
84188
|
* ['H', {label: 'I', colspan: 2}, {label: 'J', colspan: 2}, {label: 'K', colspan: 2}, {label: 'L', colspan: 2}, 'M'],
|
84074
84189
|
* ['N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W']
|
@@ -84081,7 +84196,7 @@ const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 280;
|
|
84081
84196
|
* <HotTable
|
84082
84197
|
* data={getData()}
|
84083
84198
|
* nestedHeaders={[
|
84084
|
-
* ['A', {label: 'B', colspan: 8}, 'C'],
|
84199
|
+
* ['A', {label: 'B', colspan: 8, headerClassName: 'htRight'}, 'C'],
|
84085
84200
|
* ['D', {label: 'E', colspan: 4}, {label: 'F', colspan: 4}, 'G'],
|
84086
84201
|
* ['H', {label: 'I', colspan: 2}, {label: 'J', colspan: 2}, {label: 'K', colspan: 2}, {label: 'L', colspan: 2}, 'M'],
|
84087
84202
|
* ['N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W']
|
@@ -84436,7 +84551,8 @@ class NestedHeaders extends _base.BasePlugin {
|
|
84436
84551
|
const {
|
84437
84552
|
colspan,
|
84438
84553
|
isHidden,
|
84439
|
-
isPlaceholder
|
84554
|
+
isPlaceholder,
|
84555
|
+
headerClassNames
|
84440
84556
|
} = (_classPrivateFieldGet2 = _classPrivateFieldGet(_stateManager, this).getHeaderSettings(headerLevel, visualColumnIndex)) !== null && _classPrivateFieldGet2 !== void 0 ? _classPrivateFieldGet2 : {
|
84441
84557
|
label: ''
|
84442
84558
|
};
|
@@ -84459,6 +84575,15 @@ class NestedHeaders extends _base.BasePlugin {
|
|
84459
84575
|
this.hot.view.appendColHeader(visualColumnIndex, TH, function () {
|
84460
84576
|
return _this2.getColumnHeaderValue(...arguments);
|
84461
84577
|
}, headerLevel);
|
84578
|
+
|
84579
|
+
// Replace the higher-order `headerClassName`s with the one provided in the plugin config, if it was provided.
|
84580
|
+
if (!isPlaceholder && !isHidden) {
|
84581
|
+
const innerHeaderDiv = TH.querySelector('div.relative');
|
84582
|
+
if (innerHeaderDiv && headerClassNames && headerClassNames.length > 0) {
|
84583
|
+
(0, _element.removeClass)(innerHeaderDiv, this.hot.getColumnMeta(visualColumnIndex).headerClassName);
|
84584
|
+
(0, _element.addClass)(innerHeaderDiv, headerClassNames);
|
84585
|
+
}
|
84586
|
+
}
|
84462
84587
|
};
|
84463
84588
|
}
|
84464
84589
|
|
@@ -84976,8 +85101,8 @@ var _headersTree2 = _interopRequireDefault(__webpack_require__(690));
|
|
84976
85101
|
var _nodeModifiers = __webpack_require__(692);
|
84977
85102
|
var _matrixGenerator = __webpack_require__(698);
|
84978
85103
|
var _tree = __webpack_require__(691);
|
84979
|
-
function _classPrivateFieldInitSpec(
|
84980
|
-
function _checkPrivateRedeclaration(
|
85104
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
85105
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
84981
85106
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
84982
85107
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
84983
85108
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -85463,8 +85588,8 @@ __webpack_require__(90);
|
|
85463
85588
|
var _object = __webpack_require__(148);
|
85464
85589
|
var _array = __webpack_require__(144);
|
85465
85590
|
var _settingsNormalizer = __webpack_require__(688);
|
85466
|
-
function _classPrivateFieldInitSpec(
|
85467
|
-
function _checkPrivateRedeclaration(
|
85591
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
85592
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
85468
85593
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
85469
85594
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
85470
85595
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -85743,13 +85868,17 @@ function normalizeSettings(sourceSettings) {
|
|
85743
85868
|
if ((0, _object.isObject)(sourceHeaderSettings)) {
|
85744
85869
|
const {
|
85745
85870
|
label,
|
85746
|
-
colspan
|
85871
|
+
colspan,
|
85872
|
+
headerClassName
|
85747
85873
|
} = sourceHeaderSettings;
|
85748
85874
|
headerSettings.label = (0, _mixed.stringify)(label);
|
85749
85875
|
if (typeof colspan === 'number' && colspan > 1) {
|
85750
85876
|
headerSettings.colspan = colspan;
|
85751
85877
|
headerSettings.origColspan = colspan;
|
85752
85878
|
}
|
85879
|
+
if (typeof headerClassName === 'string') {
|
85880
|
+
headerSettings.headerClassNames = [...headerClassName.split(' ')];
|
85881
|
+
}
|
85753
85882
|
} else {
|
85754
85883
|
headerSettings.label = (0, _mixed.stringify)(sourceHeaderSettings);
|
85755
85884
|
}
|
@@ -85808,6 +85937,8 @@ exports.createPlaceholderHeaderSettings = createPlaceholderHeaderSettings;
|
|
85808
85937
|
* For example for header with colspan = 8 the 7 blank objects are generated to fill the array settings
|
85809
85938
|
* to length = 8.
|
85810
85939
|
* @property {boolean} isPlaceholder The flag determines whether the column header at the specified index is non-renderable.
|
85940
|
+
* @property {string[]} headerClassNames The list of CSS classes that will be added to the `div` element inside the
|
85941
|
+
* header Acts as a replacement for the analogous property from the Handsontable settings.
|
85811
85942
|
*/
|
85812
85943
|
|
85813
85944
|
/**
|
@@ -85826,7 +85957,8 @@ function createDefaultHeaderSettings() {
|
|
85826
85957
|
isCollapsed = false,
|
85827
85958
|
isHidden = false,
|
85828
85959
|
isRoot = false,
|
85829
|
-
isPlaceholder = false
|
85960
|
+
isPlaceholder = false,
|
85961
|
+
headerClassNames = []
|
85830
85962
|
} = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
85831
85963
|
return {
|
85832
85964
|
label,
|
@@ -85837,7 +85969,8 @@ function createDefaultHeaderSettings() {
|
|
85837
85969
|
crossHiddenColumns,
|
85838
85970
|
isHidden,
|
85839
85971
|
isRoot,
|
85840
|
-
isPlaceholder
|
85972
|
+
isPlaceholder,
|
85973
|
+
headerClassNames
|
85841
85974
|
};
|
85842
85975
|
}
|
85843
85976
|
|
@@ -85867,8 +86000,8 @@ exports.__esModule = true;
|
|
85867
86000
|
__webpack_require__(8);
|
85868
86001
|
var _array = __webpack_require__(144);
|
85869
86002
|
var _tree = _interopRequireDefault(__webpack_require__(691));
|
85870
|
-
function _classPrivateFieldInitSpec(
|
85871
|
-
function _checkPrivateRedeclaration(
|
86003
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
86004
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
85872
86005
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
85873
86006
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
85874
86007
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -87074,9 +87207,9 @@ var _translations = __webpack_require__(256);
|
|
87074
87207
|
var _shortcutContexts = __webpack_require__(315);
|
87075
87208
|
var _rowMoveController = _interopRequireDefault(__webpack_require__(708));
|
87076
87209
|
__webpack_require__(709);
|
87077
|
-
function _classPrivateMethodInitSpec(
|
87078
|
-
function _classPrivateFieldInitSpec(
|
87079
|
-
function _checkPrivateRedeclaration(
|
87210
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
87211
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
87212
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
87080
87213
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
87081
87214
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
87082
87215
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
@@ -88984,8 +89117,8 @@ var C = _interopRequireWildcard(__webpack_require__(280));
|
|
88984
89117
|
var _base = _interopRequireDefault(__webpack_require__(705));
|
88985
89118
|
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); }
|
88986
89119
|
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 && {}.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; }
|
88987
|
-
function _classPrivateFieldInitSpec(
|
88988
|
-
function _checkPrivateRedeclaration(
|
89120
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
89121
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
88989
89122
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
88990
89123
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
88991
89124
|
/**
|
@@ -89702,8 +89835,8 @@ var _base = __webpack_require__(472);
|
|
89702
89835
|
var _object = __webpack_require__(148);
|
89703
89836
|
var _number = __webpack_require__(178);
|
89704
89837
|
var _mixed = __webpack_require__(141);
|
89705
|
-
function _classPrivateMethodInitSpec(
|
89706
|
-
function _checkPrivateRedeclaration(
|
89838
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
89839
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
89707
89840
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
89708
89841
|
const PLUGIN_KEY = exports.PLUGIN_KEY = 'search';
|
89709
89842
|
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 190;
|
@@ -90023,8 +90156,8 @@ var _element = __webpack_require__(138);
|
|
90023
90156
|
var _array = __webpack_require__(144);
|
90024
90157
|
var _base = __webpack_require__(472);
|
90025
90158
|
var _feature = __webpack_require__(151);
|
90026
|
-
function _classPrivateMethodInitSpec(
|
90027
|
-
function _checkPrivateRedeclaration(
|
90159
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
90160
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
90028
90161
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
90029
90162
|
const PLUGIN_KEY = exports.PLUGIN_KEY = 'touchScroll';
|
90030
90163
|
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 200;
|
@@ -90231,8 +90364,8 @@ var _defineProperty2 = _interopRequireDefault(__webpack_require__(153));
|
|
90231
90364
|
var _base = __webpack_require__(472);
|
90232
90365
|
var _translations = __webpack_require__(256);
|
90233
90366
|
var _array = __webpack_require__(144);
|
90234
|
-
function _classPrivateMethodInitSpec(
|
90235
|
-
function _checkPrivateRedeclaration(
|
90367
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
90368
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
90236
90369
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
90237
90370
|
const PLUGIN_KEY = exports.PLUGIN_KEY = 'trimRows';
|
90238
90371
|
const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 330;
|