handsontable 12.1.3 → 12.3.0-next-bb1a7c2-20221208
Sign up to get free protection for your applications and to get access to all the features.
- package/3rdparty/SheetClip/SheetClip.js +3 -32
- package/3rdparty/SheetClip/SheetClip.mjs +3 -23
- package/3rdparty/SheetClip/index.js +0 -2
- package/3rdparty/autoResize/autoResize.js +119 -145
- package/3rdparty/autoResize/autoResize.mjs +119 -143
- package/3rdparty/autoResize/index.js +0 -2
- package/3rdparty/walkontable/src/border.js +44 -154
- package/3rdparty/walkontable/src/border.mjs +41 -136
- package/3rdparty/walkontable/src/calculator/constants.js +0 -3
- package/3rdparty/walkontable/src/calculator/constants.mjs +0 -2
- package/3rdparty/walkontable/src/calculator/index.js +0 -10
- package/3rdparty/walkontable/src/calculator/viewportColumns.js +36 -77
- package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +36 -70
- package/3rdparty/walkontable/src/calculator/viewportRows.js +30 -49
- package/3rdparty/walkontable/src/calculator/viewportRows.mjs +30 -42
- package/3rdparty/walkontable/src/cell/coords.d.ts +1 -1
- package/3rdparty/walkontable/src/cell/coords.js +73 -65
- package/3rdparty/walkontable/src/cell/coords.mjs +73 -60
- package/3rdparty/walkontable/src/cell/range.d.ts +19 -16
- package/3rdparty/walkontable/src/cell/range.js +251 -231
- package/3rdparty/walkontable/src/cell/range.mjs +251 -222
- package/3rdparty/walkontable/src/core/_base.js +30 -74
- package/3rdparty/walkontable/src/core/_base.mjs +30 -67
- package/3rdparty/walkontable/src/core/clone.js +11 -44
- package/3rdparty/walkontable/src/core/clone.mjs +11 -32
- package/3rdparty/walkontable/src/core/core.js +8 -56
- package/3rdparty/walkontable/src/core/core.mjs +8 -38
- package/3rdparty/walkontable/src/event.js +41 -79
- package/3rdparty/walkontable/src/event.mjs +41 -66
- package/3rdparty/walkontable/src/facade/core.js +14 -16
- package/3rdparty/walkontable/src/facade/core.mjs +14 -13
- package/3rdparty/walkontable/src/filter/column.js +22 -17
- package/3rdparty/walkontable/src/filter/column.mjs +22 -16
- package/3rdparty/walkontable/src/filter/row.js +22 -17
- package/3rdparty/walkontable/src/filter/row.mjs +22 -16
- package/3rdparty/walkontable/src/index.js +0 -31
- package/3rdparty/walkontable/src/overlay/_base.js +38 -69
- package/3rdparty/walkontable/src/overlay/_base.mjs +38 -61
- package/3rdparty/walkontable/src/overlay/bottom.js +38 -103
- package/3rdparty/walkontable/src/overlay/bottom.mjs +38 -88
- package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.js +12 -52
- package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.mjs +12 -37
- package/3rdparty/walkontable/src/overlay/constants.js +0 -6
- package/3rdparty/walkontable/src/overlay/constants.mjs +0 -1
- package/3rdparty/walkontable/src/overlay/index.js +0 -17
- package/3rdparty/walkontable/src/overlay/inlineStart.js +26 -90
- package/3rdparty/walkontable/src/overlay/inlineStart.mjs +26 -75
- package/3rdparty/walkontable/src/overlay/top.js +37 -104
- package/3rdparty/walkontable/src/overlay/top.mjs +37 -89
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.js +14 -55
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.mjs +14 -40
- package/3rdparty/walkontable/src/overlays.js +124 -145
- package/3rdparty/walkontable/src/overlays.mjs +124 -135
- package/3rdparty/walkontable/src/renderer/_base.js +17 -19
- package/3rdparty/walkontable/src/renderer/_base.mjs +17 -17
- package/3rdparty/walkontable/src/renderer/cells.js +15 -53
- package/3rdparty/walkontable/src/renderer/cells.mjs +15 -39
- package/3rdparty/walkontable/src/renderer/colGroup.js +15 -46
- package/3rdparty/walkontable/src/renderer/colGroup.mjs +15 -34
- package/3rdparty/walkontable/src/renderer/columnHeaders.js +13 -49
- package/3rdparty/walkontable/src/renderer/columnHeaders.mjs +13 -37
- package/3rdparty/walkontable/src/renderer/index.js +26 -35
- package/3rdparty/walkontable/src/renderer/index.mjs +26 -22
- package/3rdparty/walkontable/src/renderer/rowHeaders.js +13 -49
- package/3rdparty/walkontable/src/renderer/rowHeaders.mjs +13 -36
- package/3rdparty/walkontable/src/renderer/rows.js +11 -49
- package/3rdparty/walkontable/src/renderer/rows.mjs +11 -32
- package/3rdparty/walkontable/src/renderer/table.js +35 -48
- package/3rdparty/walkontable/src/renderer/table.mjs +35 -47
- package/3rdparty/walkontable/src/scroll.js +69 -86
- package/3rdparty/walkontable/src/scroll.mjs +69 -84
- package/3rdparty/walkontable/src/selection.js +28 -103
- package/3rdparty/walkontable/src/selection.mjs +26 -83
- package/3rdparty/walkontable/src/settings.js +25 -31
- package/3rdparty/walkontable/src/settings.mjs +25 -29
- package/3rdparty/walkontable/src/table/bottom.js +6 -34
- package/3rdparty/walkontable/src/table/bottom.mjs +6 -19
- package/3rdparty/walkontable/src/table/bottomInlineStartCorner.js +6 -34
- package/3rdparty/walkontable/src/table/bottomInlineStartCorner.mjs +6 -19
- package/3rdparty/walkontable/src/table/inlineStart.js +6 -34
- package/3rdparty/walkontable/src/table/inlineStart.mjs +6 -19
- package/3rdparty/walkontable/src/table/master.js +15 -54
- package/3rdparty/walkontable/src/table/master.mjs +15 -38
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.js +1 -16
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.mjs +1 -14
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.js +1 -16
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.mjs +1 -14
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.js +1 -10
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.mjs +1 -8
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.js +1 -11
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.mjs +1 -9
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.js +1 -10
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.mjs +1 -8
- package/3rdparty/walkontable/src/table/top.js +6 -34
- package/3rdparty/walkontable/src/table/top.mjs +6 -19
- package/3rdparty/walkontable/src/table/topInlineStartCorner.js +6 -34
- package/3rdparty/walkontable/src/table/topInlineStartCorner.mjs +6 -19
- package/3rdparty/walkontable/src/table.js +73 -233
- package/3rdparty/walkontable/src/table.mjs +71 -210
- package/3rdparty/walkontable/src/types.js +0 -5
- package/3rdparty/walkontable/src/types.mjs +0 -5
- package/3rdparty/walkontable/src/utils/column.js +18 -30
- package/3rdparty/walkontable/src/utils/column.mjs +18 -25
- package/3rdparty/walkontable/src/utils/nodesPool.js +16 -11
- package/3rdparty/walkontable/src/utils/nodesPool.mjs +16 -10
- package/3rdparty/walkontable/src/utils/orderView/constants.js +0 -3
- package/3rdparty/walkontable/src/utils/orderView/constants.mjs +0 -2
- package/3rdparty/walkontable/src/utils/orderView/index.js +0 -5
- package/3rdparty/walkontable/src/utils/orderView/sharedView.js +7 -32
- package/3rdparty/walkontable/src/utils/orderView/sharedView.mjs +7 -21
- package/3rdparty/walkontable/src/utils/orderView/view.js +27 -45
- package/3rdparty/walkontable/src/utils/orderView/view.mjs +27 -42
- package/3rdparty/walkontable/src/utils/orderView/viewSize.js +16 -14
- package/3rdparty/walkontable/src/utils/orderView/viewSize.mjs +16 -13
- package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.js +21 -21
- package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.mjs +21 -18
- package/3rdparty/walkontable/src/utils/row.js +15 -12
- package/3rdparty/walkontable/src/utils/row.mjs +15 -11
- package/3rdparty/walkontable/src/viewport.js +51 -99
- package/3rdparty/walkontable/src/viewport.mjs +51 -96
- package/CHANGELOG.md +99 -1
- package/base.d.ts +1 -0
- package/base.js +11 -17
- package/base.mjs +10 -11
- package/cellTypes/autocompleteType/autocompleteType.js +0 -4
- package/cellTypes/autocompleteType/index.js +0 -2
- package/cellTypes/checkboxType/checkboxType.js +0 -3
- package/cellTypes/checkboxType/index.js +0 -2
- package/cellTypes/dateType/dateType.js +0 -4
- package/cellTypes/dateType/index.js +0 -2
- package/cellTypes/dropdownType/dropdownType.js +0 -4
- package/cellTypes/dropdownType/index.js +0 -2
- package/cellTypes/handsontableType/handsontableType.js +0 -3
- package/cellTypes/handsontableType/index.js +0 -2
- package/cellTypes/index.js +0 -21
- package/cellTypes/index.mjs +0 -1
- package/cellTypes/numericType/index.js +0 -2
- package/cellTypes/numericType/numericType.js +0 -4
- package/cellTypes/passwordType/index.js +0 -2
- package/cellTypes/passwordType/passwordType.js +0 -3
- package/cellTypes/registry.js +10 -25
- package/cellTypes/registry.mjs +10 -20
- package/cellTypes/textType/index.js +0 -2
- package/cellTypes/textType/textType.js +0 -3
- package/cellTypes/timeType/index.js +0 -2
- package/cellTypes/timeType/timeType.js +0 -4
- package/core.d.ts +6 -2
- package/core.js +714 -1070
- package/core.mjs +717 -1015
- package/dataMap/dataMap.js +202 -236
- package/dataMap/dataMap.mjs +201 -209
- package/{dataSource.js → dataMap/dataSource.js} +29 -65
- package/{dataSource.mjs → dataMap/dataSource.mjs} +29 -57
- package/dataMap/index.js +0 -13
- package/dataMap/metaManager/index.js +33 -45
- package/dataMap/metaManager/index.mjs +33 -37
- package/dataMap/metaManager/lazyFactoryMap.js +17 -62
- package/dataMap/metaManager/lazyFactoryMap.mjs +17 -46
- package/dataMap/metaManager/metaLayers/cellMeta.js +26 -57
- package/dataMap/metaManager/metaLayers/cellMeta.mjs +25 -41
- package/dataMap/metaManager/metaLayers/columnMeta.js +23 -24
- package/dataMap/metaManager/metaLayers/columnMeta.mjs +24 -21
- package/dataMap/metaManager/metaLayers/globalMeta.js +30 -21
- package/dataMap/metaManager/metaLayers/globalMeta.mjs +31 -18
- package/dataMap/metaManager/metaLayers/tableMeta.js +18 -15
- package/dataMap/metaManager/metaLayers/tableMeta.mjs +19 -14
- package/dataMap/metaManager/metaSchema.js +173 -213
- package/dataMap/metaManager/metaSchema.mjs +173 -204
- package/dataMap/metaManager/mods/dynamicCellMeta.js +15 -35
- package/dataMap/metaManager/mods/dynamicCellMeta.mjs +15 -24
- package/dataMap/metaManager/mods/extendMetaProperties.js +14 -27
- package/dataMap/metaManager/mods/extendMetaProperties.mjs +14 -19
- package/dataMap/metaManager/utils.js +49 -28
- package/dataMap/metaManager/utils.mjs +50 -21
- package/dataMap/replaceData.js +15 -35
- package/dataMap/replaceData.mjs +15 -23
- package/dist/handsontable.css +9 -9
- package/dist/handsontable.full.css +9 -9
- package/dist/handsontable.full.js +13065 -28165
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +108 -114
- package/dist/handsontable.js +11528 -21792
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +3 -3
- package/dist/languages/all.js +111 -240
- package/dist/languages/all.min.js +1 -1
- package/dist/languages/ar-AR.js +50 -14
- package/dist/languages/ar-AR.min.js +1 -1
- package/dist/languages/cs-CZ.js +52 -16
- package/dist/languages/cs-CZ.min.js +1 -1
- package/dist/languages/de-CH.js +52 -16
- package/dist/languages/de-CH.min.js +1 -1
- package/dist/languages/de-DE.js +53 -17
- package/dist/languages/de-DE.min.js +1 -1
- package/dist/languages/en-US.js +56 -20
- package/dist/languages/en-US.min.js +1 -1
- package/dist/languages/es-MX.js +56 -20
- package/dist/languages/es-MX.min.js +1 -1
- package/dist/languages/fr-FR.js +55 -19
- package/dist/languages/fr-FR.min.js +1 -1
- package/dist/languages/it-IT.js +55 -19
- package/dist/languages/it-IT.min.js +1 -1
- package/dist/languages/ja-JP.js +83 -43
- package/dist/languages/ja-JP.min.js +1 -1
- package/dist/languages/ko-KR.js +84 -43
- package/dist/languages/ko-KR.min.js +1 -1
- package/dist/languages/lv-LV.js +85 -43
- package/dist/languages/lv-LV.min.js +1 -1
- package/dist/languages/nb-NO.js +86 -43
- package/dist/languages/nb-NO.min.js +1 -1
- package/dist/languages/nl-NL.js +87 -43
- package/dist/languages/nl-NL.min.js +1 -1
- package/dist/languages/pl-PL.js +88 -43
- package/dist/languages/pl-PL.min.js +1 -1
- package/dist/languages/pt-BR.js +67 -28
- package/dist/languages/pt-BR.min.js +1 -1
- package/dist/languages/ru-RU.js +67 -28
- package/dist/languages/ru-RU.min.js +1 -1
- package/dist/languages/sr-SP.js +55 -16
- package/dist/languages/sr-SP.min.js +1 -1
- package/dist/languages/zh-CN.js +55 -16
- package/dist/languages/zh-CN.min.js +1 -1
- package/dist/languages/zh-TW.js +55 -16
- package/dist/languages/zh-TW.min.js +1 -1
- package/editorManager.js +53 -113
- package/editorManager.mjs +50 -90
- package/editors/autocompleteEditor/autocompleteEditor.js +36 -138
- package/editors/autocompleteEditor/autocompleteEditor.mjs +35 -108
- package/editors/autocompleteEditor/index.js +0 -2
- package/editors/baseEditor/baseEditor.js +55 -160
- package/editors/baseEditor/baseEditor.mjs +54 -133
- package/editors/baseEditor/index.js +0 -2
- package/editors/checkboxEditor/checkboxEditor.js +8 -34
- package/editors/checkboxEditor/checkboxEditor.mjs +8 -20
- package/editors/checkboxEditor/index.js +0 -2
- package/editors/dateEditor/dateEditor.js +26 -97
- package/editors/dateEditor/dateEditor.mjs +26 -76
- package/editors/dateEditor/index.js +0 -2
- package/editors/dropdownEditor/dropdownEditor.js +7 -42
- package/editors/dropdownEditor/dropdownEditor.mjs +7 -23
- package/editors/dropdownEditor/index.js +0 -2
- package/editors/handsontableEditor/handsontableEditor.js +19 -86
- package/editors/handsontableEditor/handsontableEditor.mjs +19 -67
- package/editors/handsontableEditor/index.js +0 -2
- package/editors/index.js +0 -25
- package/editors/index.mjs +0 -1
- package/editors/numericEditor/index.js +0 -2
- package/editors/numericEditor/numericEditor.js +7 -32
- package/editors/numericEditor/numericEditor.mjs +7 -19
- package/editors/passwordEditor/index.js +0 -2
- package/editors/passwordEditor/passwordEditor.js +7 -39
- package/editors/passwordEditor/passwordEditor.mjs +7 -23
- package/editors/registry.js +13 -36
- package/editors/registry.mjs +12 -26
- package/editors/selectEditor/index.js +0 -2
- package/editors/selectEditor/selectEditor.js +27 -74
- package/editors/selectEditor/selectEditor.mjs +27 -57
- package/editors/textEditor/caretPositioner.js +0 -8
- package/editors/textEditor/caretPositioner.mjs +0 -7
- package/editors/textEditor/index.js +0 -2
- package/editors/textEditor/textEditor.js +45 -139
- package/editors/textEditor/textEditor.mjs +45 -108
- package/editors/timeEditor/index.js +0 -2
- package/editors/timeEditor/timeEditor.js +7 -37
- package/editors/timeEditor/timeEditor.mjs +7 -22
- package/eventManager.js +26 -47
- package/eventManager.mjs +27 -45
- package/helpers/array.js +22 -88
- package/helpers/array.mjs +22 -58
- package/helpers/browser.js +25 -51
- package/helpers/browser.mjs +25 -32
- package/helpers/console.js +3 -13
- package/helpers/console.mjs +3 -10
- package/helpers/data.d.ts +0 -2
- package/helpers/data.js +8 -102
- package/helpers/data.mjs +9 -80
- package/helpers/date.js +2 -3
- package/helpers/date.mjs +2 -2
- package/helpers/dom/element.js +89 -256
- package/helpers/dom/element.mjs +88 -184
- package/helpers/dom/event.js +3 -7
- package/helpers/dom/event.mjs +3 -3
- package/helpers/feature.js +21 -82
- package/helpers/feature.mjs +15 -60
- package/helpers/function.js +14 -59
- package/helpers/function.mjs +14 -45
- package/helpers/mixed.js +9 -64
- package/helpers/mixed.mjs +9 -43
- package/helpers/number.js +4 -46
- package/helpers/number.mjs +4 -23
- package/helpers/object.js +30 -77
- package/helpers/object.mjs +25 -47
- package/helpers/string.js +6 -28
- package/helpers/string.mjs +6 -14
- package/helpers/templateLiteralTag.js +0 -6
- package/helpers/templateLiteralTag.mjs +0 -2
- package/helpers/unicode.js +17 -22
- package/helpers/unicode.mjs +17 -13
- package/helpers/wrappers/jquery.js +4 -14
- package/helpers/wrappers/jquery.mjs +4 -13
- package/i18n/constants.js +50 -45
- package/i18n/constants.mjs +46 -42
- package/i18n/index.js +0 -7
- package/i18n/languages/ar-AR.js +12 -23
- package/i18n/languages/ar-AR.mjs +14 -3
- package/i18n/languages/cs-CZ.js +12 -23
- package/i18n/languages/cs-CZ.mjs +14 -3
- package/i18n/languages/de-CH.js +12 -23
- package/i18n/languages/de-CH.mjs +14 -3
- package/i18n/languages/de-DE.js +12 -23
- package/i18n/languages/de-DE.mjs +14 -3
- package/i18n/languages/en-US.js +13 -24
- package/i18n/languages/en-US.mjs +15 -4
- package/i18n/languages/es-MX.js +13 -24
- package/i18n/languages/es-MX.mjs +17 -5
- package/i18n/languages/fr-FR.js +12 -23
- package/i18n/languages/fr-FR.mjs +14 -3
- package/i18n/languages/index.js +0 -39
- package/i18n/languages/it-IT.js +12 -23
- package/i18n/languages/it-IT.mjs +14 -3
- package/i18n/languages/ja-JP.js +12 -23
- package/i18n/languages/ja-JP.mjs +14 -3
- package/i18n/languages/ko-KR.js +12 -23
- package/i18n/languages/ko-KR.mjs +14 -3
- package/i18n/languages/lv-LV.js +13 -24
- package/i18n/languages/lv-LV.mjs +17 -6
- package/i18n/languages/nb-NO.js +12 -23
- package/i18n/languages/nb-NO.mjs +14 -3
- package/i18n/languages/nl-NL.js +13 -24
- package/i18n/languages/nl-NL.mjs +17 -6
- package/i18n/languages/pl-PL.js +13 -24
- package/i18n/languages/pl-PL.mjs +16 -5
- package/i18n/languages/pt-BR.js +12 -23
- package/i18n/languages/pt-BR.mjs +14 -3
- package/i18n/languages/ru-RU.js +12 -23
- package/i18n/languages/ru-RU.mjs +14 -3
- package/i18n/languages/sr-SP.js +12 -23
- package/i18n/languages/sr-SP.mjs +14 -3
- package/i18n/languages/zh-CN.js +12 -23
- package/i18n/languages/zh-CN.mjs +14 -3
- package/i18n/languages/zh-TW.js +12 -23
- package/i18n/languages/zh-TW.mjs +14 -3
- package/i18n/phraseFormatters/index.js +4 -11
- package/i18n/phraseFormatters/index.mjs +4 -6
- package/i18n/phraseFormatters/pluralize.js +0 -5
- package/i18n/phraseFormatters/pluralize.mjs +0 -3
- package/i18n/phraseFormatters/substituteVariables.js +0 -4
- package/i18n/phraseFormatters/substituteVariables.mjs +0 -2
- package/i18n/registry.js +18 -59
- package/i18n/registry.mjs +18 -30
- package/i18n/utils.js +4 -22
- package/i18n/utils.mjs +4 -11
- package/index.d.ts +9 -0
- package/index.js +23 -58
- package/index.mjs +21 -16
- package/languages/all.js +111 -240
- package/languages/ar-AR.js +50 -14
- package/languages/ar-AR.mjs +14 -3
- package/languages/cs-CZ.js +52 -16
- package/languages/cs-CZ.mjs +14 -3
- package/languages/de-CH.js +52 -16
- package/languages/de-CH.mjs +14 -3
- package/languages/de-DE.js +53 -17
- package/languages/de-DE.mjs +14 -3
- package/languages/en-US.js +56 -20
- package/languages/en-US.mjs +15 -4
- package/languages/es-MX.js +56 -20
- package/languages/es-MX.mjs +17 -5
- package/languages/fr-FR.js +55 -19
- package/languages/fr-FR.mjs +14 -3
- package/languages/index.js +111 -240
- package/languages/it-IT.js +55 -19
- package/languages/it-IT.mjs +14 -3
- package/languages/ja-JP.js +83 -43
- package/languages/ja-JP.mjs +14 -3
- package/languages/ko-KR.js +84 -43
- package/languages/ko-KR.mjs +14 -3
- package/languages/lv-LV.js +85 -43
- package/languages/lv-LV.mjs +17 -6
- package/languages/nb-NO.js +86 -43
- package/languages/nb-NO.mjs +14 -3
- package/languages/nl-NL.js +87 -43
- package/languages/nl-NL.mjs +17 -6
- package/languages/pl-PL.js +88 -43
- package/languages/pl-PL.mjs +16 -5
- package/languages/pt-BR.js +67 -28
- package/languages/pt-BR.mjs +14 -3
- package/languages/ru-RU.js +67 -28
- package/languages/ru-RU.mjs +14 -3
- package/languages/sr-SP.js +55 -16
- package/languages/sr-SP.mjs +14 -3
- package/languages/zh-CN.js +55 -16
- package/languages/zh-CN.mjs +14 -3
- package/languages/zh-TW.js +55 -16
- package/languages/zh-TW.mjs +14 -3
- package/mixins/hooksRefRegisterer.js +1 -12
- package/mixins/hooksRefRegisterer.mjs +1 -9
- package/mixins/localHooks.js +4 -11
- package/mixins/localHooks.mjs +4 -8
- package/package.json +2 -2
- package/pluginHooks.d.ts +10 -5
- package/pluginHooks.js +376 -116
- package/pluginHooks.mjs +375 -103
- package/plugins/autoColumnSize/autoColumnSize.js +81 -174
- package/plugins/autoColumnSize/autoColumnSize.mjs +81 -139
- package/plugins/autoColumnSize/index.js +0 -2
- package/plugins/autoRowSize/autoRowSize.js +89 -160
- package/plugins/autoRowSize/autoRowSize.mjs +89 -131
- package/plugins/autoRowSize/index.js +0 -2
- package/plugins/autofill/autofill.js +53 -165
- package/plugins/autofill/autofill.mjs +53 -133
- package/plugins/autofill/index.js +0 -2
- package/plugins/autofill/utils.js +4 -26
- package/plugins/autofill/utils.mjs +4 -18
- package/plugins/base/base.js +28 -91
- package/plugins/base/base.mjs +28 -63
- package/plugins/base/index.js +0 -2
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +25 -53
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.mjs +25 -34
- package/plugins/bindRowsWithHeaders/index.js +0 -2
- package/plugins/bindRowsWithHeaders/maps/looseBindsMap.js +11 -42
- package/plugins/bindRowsWithHeaders/maps/looseBindsMap.mjs +11 -30
- package/plugins/bindRowsWithHeaders/maps/strictBindsMap.js +12 -54
- package/plugins/bindRowsWithHeaders/maps/strictBindsMap.mjs +12 -38
- package/plugins/collapsibleColumns/collapsibleColumns.js +106 -193
- package/plugins/collapsibleColumns/collapsibleColumns.mjs +106 -162
- package/plugins/collapsibleColumns/index.js +0 -2
- package/plugins/columnSorting/columnSorting.js +58 -192
- package/plugins/columnSorting/columnSorting.mjs +58 -147
- package/plugins/columnSorting/columnStatesManager.js +27 -77
- package/plugins/columnSorting/columnStatesManager.mjs +24 -51
- package/plugins/columnSorting/domHelpers.js +2 -18
- package/plugins/columnSorting/domHelpers.mjs +2 -7
- package/plugins/columnSorting/index.js +0 -2
- package/plugins/columnSorting/rootComparator.js +5 -24
- package/plugins/columnSorting/rootComparator.mjs +5 -13
- package/plugins/columnSorting/sortFunction/checkbox.js +8 -16
- package/plugins/columnSorting/sortFunction/checkbox.mjs +8 -12
- package/plugins/columnSorting/sortFunction/date.js +2 -19
- package/plugins/columnSorting/sortFunction/date.mjs +2 -14
- package/plugins/columnSorting/sortFunction/default.js +2 -17
- package/plugins/columnSorting/sortFunction/default.mjs +2 -14
- package/plugins/columnSorting/sortFunction/numeric.js +2 -11
- package/plugins/columnSorting/sortFunction/numeric.mjs +2 -8
- package/plugins/columnSorting/sortService/engine.js +1 -7
- package/plugins/columnSorting/sortService/engine.mjs +1 -3
- package/plugins/columnSorting/sortService/index.js +0 -5
- package/plugins/columnSorting/sortService/registry.js +6 -18
- package/plugins/columnSorting/sortService/registry.mjs +6 -10
- package/plugins/columnSorting/utils.js +9 -34
- package/plugins/columnSorting/utils.mjs +9 -15
- package/plugins/columnSummary/columnSummary.js +65 -126
- package/plugins/columnSummary/columnSummary.mjs +65 -101
- package/plugins/columnSummary/endpoints.js +33 -109
- package/plugins/columnSummary/endpoints.mjs +33 -105
- package/plugins/columnSummary/index.js +0 -2
- package/plugins/columnSummary/utils.js +0 -1
- package/plugins/comments/commentEditor.js +29 -27
- package/plugins/comments/commentEditor.mjs +29 -26
- package/plugins/comments/comments.js +106 -178
- package/plugins/comments/comments.mjs +106 -152
- package/plugins/comments/displaySwitch.js +20 -24
- package/plugins/comments/displaySwitch.mjs +20 -19
- package/plugins/comments/index.js +0 -2
- package/plugins/contextMenu/commandExecutor.js +17 -29
- package/plugins/contextMenu/commandExecutor.mjs +17 -27
- package/plugins/contextMenu/contextMenu.d.ts +4 -3
- package/plugins/contextMenu/contextMenu.js +28 -121
- package/plugins/contextMenu/contextMenu.mjs +28 -91
- package/plugins/contextMenu/cursor.js +19 -19
- package/plugins/contextMenu/cursor.mjs +19 -18
- package/plugins/contextMenu/index.js +0 -2
- package/plugins/contextMenu/itemsFactory.js +21 -35
- package/plugins/contextMenu/itemsFactory.mjs +21 -31
- package/plugins/contextMenu/menu.js +71 -180
- package/plugins/contextMenu/menu.mjs +70 -151
- package/plugins/contextMenu/predefinedItems/alignment.js +1 -55
- package/plugins/contextMenu/predefinedItems/alignment.mjs +1 -37
- package/plugins/contextMenu/predefinedItems/clearColumn.js +1 -20
- package/plugins/contextMenu/predefinedItems/clearColumn.mjs +1 -4
- package/plugins/contextMenu/predefinedItems/columnLeft.js +6 -43
- package/plugins/contextMenu/predefinedItems/columnLeft.mjs +6 -26
- package/plugins/contextMenu/predefinedItems/columnRight.js +4 -42
- package/plugins/contextMenu/predefinedItems/columnRight.mjs +4 -25
- package/plugins/contextMenu/predefinedItems/noItems.js +1 -4
- package/plugins/contextMenu/predefinedItems/noItems.mjs +1 -1
- package/plugins/contextMenu/predefinedItems/readOnly.js +1 -25
- package/plugins/contextMenu/predefinedItems/readOnly.mjs +1 -8
- package/plugins/contextMenu/predefinedItems/redo.js +1 -16
- package/plugins/contextMenu/predefinedItems/redo.mjs +1 -1
- package/plugins/contextMenu/predefinedItems/removeColumn.js +4 -39
- package/plugins/contextMenu/predefinedItems/removeColumn.mjs +4 -19
- package/plugins/contextMenu/predefinedItems/removeRow.js +4 -38
- package/plugins/contextMenu/predefinedItems/removeRow.mjs +4 -18
- package/plugins/contextMenu/predefinedItems/rowAbove.js +6 -35
- package/plugins/contextMenu/predefinedItems/rowAbove.mjs +6 -19
- package/plugins/contextMenu/predefinedItems/rowBelow.js +4 -42
- package/plugins/contextMenu/predefinedItems/rowBelow.mjs +4 -25
- package/plugins/contextMenu/predefinedItems/separator.js +1 -2
- package/plugins/contextMenu/predefinedItems/separator.mjs +1 -1
- package/plugins/contextMenu/predefinedItems/undo.js +1 -16
- package/plugins/contextMenu/predefinedItems/undo.mjs +1 -1
- package/plugins/contextMenu/predefinedItems.js +14 -55
- package/plugins/contextMenu/predefinedItems.mjs +16 -8
- package/plugins/contextMenu/utils.js +17 -57
- package/plugins/contextMenu/utils.mjs +17 -34
- package/plugins/copyPaste/clipboardData.js +14 -9
- package/plugins/copyPaste/clipboardData.mjs +14 -8
- package/plugins/copyPaste/contextMenuItem/copy.js +5 -32
- package/plugins/copyPaste/contextMenuItem/copy.mjs +5 -7
- package/plugins/copyPaste/contextMenuItem/copyColumnHeadersOnly.js +35 -0
- package/plugins/copyPaste/contextMenuItem/copyColumnHeadersOnly.mjs +31 -0
- package/plugins/copyPaste/contextMenuItem/copyWithColumnGroupHeaders.js +35 -0
- package/plugins/copyPaste/contextMenuItem/copyWithColumnGroupHeaders.mjs +31 -0
- package/plugins/copyPaste/contextMenuItem/copyWithColumnHeaders.js +35 -0
- package/plugins/copyPaste/contextMenuItem/copyWithColumnHeaders.mjs +31 -0
- package/plugins/copyPaste/contextMenuItem/cut.js +2 -17
- package/plugins/copyPaste/contextMenuItem/cut.mjs +2 -4
- package/plugins/copyPaste/copyPaste.d.ts +10 -2
- package/plugins/copyPaste/copyPaste.js +339 -372
- package/plugins/copyPaste/copyPaste.mjs +339 -331
- package/plugins/copyPaste/copyableRanges.js +269 -0
- package/plugins/copyPaste/copyableRanges.mjs +264 -0
- package/plugins/copyPaste/focusableElement.js +21 -55
- package/plugins/copyPaste/focusableElement.mjs +21 -45
- package/plugins/copyPaste/index.js +0 -2
- package/plugins/copyPaste/pasteEvent.js +14 -9
- package/plugins/copyPaste/pasteEvent.mjs +14 -7
- package/plugins/customBorders/contextMenuItem/bottom.js +0 -17
- package/plugins/customBorders/contextMenuItem/bottom.mjs +0 -3
- package/plugins/customBorders/contextMenuItem/index.js +0 -11
- package/plugins/customBorders/contextMenuItem/left.js +0 -17
- package/plugins/customBorders/contextMenuItem/left.mjs +0 -3
- package/plugins/customBorders/contextMenuItem/noBorders.js +0 -15
- package/plugins/customBorders/contextMenuItem/noBorders.mjs +0 -1
- package/plugins/customBorders/contextMenuItem/right.js +0 -17
- package/plugins/customBorders/contextMenuItem/right.mjs +0 -3
- package/plugins/customBorders/contextMenuItem/top.js +0 -17
- package/plugins/customBorders/contextMenuItem/top.mjs +0 -3
- package/plugins/customBorders/customBorders.js +64 -188
- package/plugins/customBorders/customBorders.mjs +63 -153
- package/plugins/customBorders/index.js +0 -2
- package/plugins/customBorders/utils.js +13 -52
- package/plugins/customBorders/utils.mjs +13 -31
- package/plugins/dragToScroll/dragToScroll.js +23 -75
- package/plugins/dragToScroll/dragToScroll.mjs +23 -56
- package/plugins/dragToScroll/index.js +0 -2
- package/plugins/dropdownMenu/dropdownMenu.js +49 -127
- package/plugins/dropdownMenu/dropdownMenu.mjs +49 -96
- package/plugins/dropdownMenu/index.js +0 -2
- package/plugins/exportFile/dataProvider.js +34 -72
- package/plugins/exportFile/dataProvider.mjs +31 -58
- package/plugins/exportFile/exportFile.js +56 -61
- package/plugins/exportFile/exportFile.mjs +54 -37
- package/plugins/exportFile/index.js +0 -2
- package/plugins/exportFile/typeFactory.js +15 -12
- package/plugins/exportFile/typeFactory.mjs +15 -5
- package/plugins/exportFile/types/_base.js +15 -15
- package/plugins/exportFile/types/_base.mjs +15 -13
- package/plugins/exportFile/types/csv.js +8 -51
- package/plugins/exportFile/types/csv.mjs +8 -30
- package/plugins/filters/component/_base.js +25 -31
- package/plugins/filters/component/_base.mjs +25 -26
- package/plugins/filters/component/actionBar.js +13 -56
- package/plugins/filters/component/actionBar.mjs +11 -34
- package/plugins/filters/component/condition.js +22 -95
- package/plugins/filters/component/condition.mjs +20 -63
- package/plugins/filters/component/operators.js +18 -71
- package/plugins/filters/component/operators.mjs +18 -48
- package/plugins/filters/component/value.js +22 -97
- package/plugins/filters/component/value.mjs +22 -67
- package/plugins/filters/condition/beginsWith.js +3 -33
- package/plugins/filters/condition/beginsWith.mjs +3 -11
- package/plugins/filters/condition/between.js +4 -38
- package/plugins/filters/condition/between.mjs +4 -16
- package/plugins/filters/condition/byValue.js +4 -28
- package/plugins/filters/condition/byValue.mjs +4 -13
- package/plugins/filters/condition/contains.js +3 -33
- package/plugins/filters/condition/contains.mjs +3 -11
- package/plugins/filters/condition/date/after.js +3 -35
- package/plugins/filters/condition/date/after.mjs +3 -13
- package/plugins/filters/condition/date/before.js +3 -35
- package/plugins/filters/condition/date/before.mjs +3 -13
- package/plugins/filters/condition/date/today.js +1 -22
- package/plugins/filters/condition/date/today.mjs +1 -3
- package/plugins/filters/condition/date/tomorrow.js +1 -22
- package/plugins/filters/condition/date/tomorrow.mjs +1 -3
- package/plugins/filters/condition/date/yesterday.js +1 -22
- package/plugins/filters/condition/date/yesterday.mjs +1 -3
- package/plugins/filters/condition/empty.js +1 -19
- package/plugins/filters/condition/empty.mjs +1 -1
- package/plugins/filters/condition/endsWith.js +3 -33
- package/plugins/filters/condition/endsWith.mjs +3 -11
- package/plugins/filters/condition/equal.js +3 -32
- package/plugins/filters/condition/equal.mjs +3 -11
- package/plugins/filters/condition/false.js +1 -5
- package/plugins/filters/condition/false.mjs +1 -1
- package/plugins/filters/condition/greaterThan.js +3 -33
- package/plugins/filters/condition/greaterThan.mjs +3 -13
- package/plugins/filters/condition/greaterThanOrEqual.js +3 -33
- package/plugins/filters/condition/greaterThanOrEqual.mjs +3 -13
- package/plugins/filters/condition/lessThan.js +3 -33
- package/plugins/filters/condition/lessThan.mjs +3 -13
- package/plugins/filters/condition/lessThanOrEqual.js +3 -33
- package/plugins/filters/condition/lessThanOrEqual.mjs +3 -13
- package/plugins/filters/condition/none.js +1 -18
- package/plugins/filters/condition/none.mjs +1 -1
- package/plugins/filters/condition/notBetween.js +1 -19
- package/plugins/filters/condition/notBetween.mjs +1 -1
- package/plugins/filters/condition/notContains.js +1 -19
- package/plugins/filters/condition/notContains.mjs +1 -1
- package/plugins/filters/condition/notEmpty.js +1 -19
- package/plugins/filters/condition/notEmpty.mjs +1 -1
- package/plugins/filters/condition/notEqual.js +1 -19
- package/plugins/filters/condition/notEqual.mjs +1 -1
- package/plugins/filters/condition/true.js +1 -5
- package/plugins/filters/condition/true.mjs +1 -1
- package/plugins/filters/conditionCollection.js +31 -84
- package/plugins/filters/conditionCollection.mjs +39 -69
- package/plugins/filters/conditionRegisterer.js +5 -14
- package/plugins/filters/conditionRegisterer.mjs +5 -9
- package/plugins/filters/conditionUpdateObserver.js +29 -56
- package/plugins/filters/conditionUpdateObserver.mjs +29 -44
- package/plugins/filters/constants.js +15 -67
- package/plugins/filters/constants.mjs +15 -9
- package/plugins/filters/dataFilter.js +17 -20
- package/plugins/filters/dataFilter.mjs +17 -19
- package/plugins/filters/filters.js +110 -210
- package/plugins/filters/filters.mjs +110 -165
- package/plugins/filters/index.js +0 -2
- package/plugins/filters/logicalOperationRegisterer.js +3 -9
- package/plugins/filters/logicalOperationRegisterer.mjs +3 -4
- package/plugins/filters/logicalOperations/conjunction.js +2 -19
- package/plugins/filters/logicalOperations/conjunction.mjs +2 -2
- package/plugins/filters/logicalOperations/disjunction.js +2 -19
- package/plugins/filters/logicalOperations/disjunction.mjs +2 -2
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.js +2 -21
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.mjs +2 -3
- package/plugins/filters/ui/_base.js +24 -62
- package/plugins/filters/ui/_base.mjs +26 -36
- package/plugins/filters/ui/input.js +13 -53
- package/plugins/filters/ui/input.mjs +13 -35
- package/plugins/filters/ui/link.js +9 -44
- package/plugins/filters/ui/link.mjs +9 -26
- package/plugins/filters/ui/multipleSelect.js +25 -113
- package/plugins/filters/ui/multipleSelect.mjs +26 -77
- package/plugins/filters/ui/radioInput.js +12 -48
- package/plugins/filters/ui/radioInput.mjs +12 -31
- package/plugins/filters/ui/select.js +20 -77
- package/plugins/filters/ui/select.mjs +20 -53
- package/plugins/filters/utils.js +6 -39
- package/plugins/filters/utils.mjs +6 -23
- package/plugins/formulas/engine/register.js +24 -74
- package/plugins/formulas/engine/register.mjs +24 -45
- package/plugins/formulas/engine/settings.js +16 -25
- package/plugins/formulas/engine/settings.mjs +16 -13
- package/plugins/formulas/formulas.js +127 -306
- package/plugins/formulas/formulas.mjs +128 -259
- package/plugins/formulas/index.js +0 -2
- package/plugins/formulas/utils.js +1 -3
- package/plugins/formulas/utils.mjs +1 -1
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.js +5 -39
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.mjs +5 -21
- package/plugins/hiddenColumns/contextMenuItem/showColumn.js +17 -45
- package/plugins/hiddenColumns/contextMenuItem/showColumn.mjs +17 -24
- package/plugins/hiddenColumns/hiddenColumns.js +77 -150
- package/plugins/hiddenColumns/hiddenColumns.mjs +77 -109
- package/plugins/hiddenColumns/index.js +0 -2
- package/plugins/hiddenRows/contextMenuItem/hideRow.js +5 -39
- package/plugins/hiddenRows/contextMenuItem/hideRow.mjs +5 -21
- package/plugins/hiddenRows/contextMenuItem/showRow.js +17 -45
- package/plugins/hiddenRows/contextMenuItem/showRow.mjs +17 -24
- package/plugins/hiddenRows/hiddenRows.js +75 -149
- package/plugins/hiddenRows/hiddenRows.mjs +75 -108
- package/plugins/hiddenRows/index.js +0 -2
- package/plugins/index.js +0 -71
- package/plugins/index.mjs +0 -1
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.js +2 -29
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.mjs +2 -13
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.js +2 -29
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.mjs +2 -13
- package/plugins/manualColumnFreeze/index.js +0 -2
- package/plugins/manualColumnFreeze/manualColumnFreeze.js +27 -79
- package/plugins/manualColumnFreeze/manualColumnFreeze.mjs +27 -55
- package/plugins/manualColumnMove/index.js +0 -2
- package/plugins/manualColumnMove/manualColumnMove.js +51 -135
- package/plugins/manualColumnMove/manualColumnMove.mjs +51 -107
- package/plugins/manualColumnMove/ui/_base.js +26 -31
- package/plugins/manualColumnMove/ui/_base.mjs +26 -28
- package/plugins/manualColumnMove/ui/backlight.js +7 -38
- package/plugins/manualColumnMove/ui/backlight.mjs +7 -23
- package/plugins/manualColumnMove/ui/guideline.js +7 -38
- package/plugins/manualColumnMove/ui/guideline.mjs +7 -23
- package/plugins/manualColumnResize/index.js +0 -2
- package/plugins/manualColumnResize/manualColumnResize.js +50 -144
- package/plugins/manualColumnResize/manualColumnResize.mjs +49 -119
- package/plugins/manualRowMove/index.js +0 -2
- package/plugins/manualRowMove/manualRowMove.js +51 -138
- package/plugins/manualRowMove/manualRowMove.mjs +51 -110
- package/plugins/manualRowMove/ui/_base.js +26 -28
- package/plugins/manualRowMove/ui/_base.mjs +26 -27
- package/plugins/manualRowMove/ui/backlight.js +7 -38
- package/plugins/manualRowMove/ui/backlight.mjs +7 -23
- package/plugins/manualRowMove/ui/guideline.js +7 -38
- package/plugins/manualRowMove/ui/guideline.mjs +7 -23
- package/plugins/manualRowResize/index.js +0 -2
- package/plugins/manualRowResize/manualRowResize.js +48 -139
- package/plugins/manualRowResize/manualRowResize.mjs +47 -113
- package/plugins/mergeCells/calculations/autofill.js +49 -133
- package/plugins/mergeCells/calculations/autofill.mjs +46 -117
- package/plugins/mergeCells/calculations/selection.js +22 -39
- package/plugins/mergeCells/calculations/selection.mjs +22 -36
- package/plugins/mergeCells/cellCoords.js +43 -50
- package/plugins/mergeCells/cellCoords.mjs +43 -48
- package/plugins/mergeCells/cellsCollection.js +22 -86
- package/plugins/mergeCells/cellsCollection.mjs +19 -63
- package/plugins/mergeCells/contextMenuItem/toggleMerge.js +0 -22
- package/plugins/mergeCells/contextMenuItem/toggleMerge.mjs +0 -6
- package/plugins/mergeCells/index.js +0 -2
- package/plugins/mergeCells/mergeCells.js +136 -334
- package/plugins/mergeCells/mergeCells.mjs +136 -293
- package/plugins/mergeCells/utils.js +0 -3
- package/plugins/mergeCells/utils.mjs +0 -1
- package/plugins/multiColumnSorting/domHelpers.js +2 -12
- package/plugins/multiColumnSorting/domHelpers.mjs +2 -5
- package/plugins/multiColumnSorting/index.js +0 -2
- package/plugins/multiColumnSorting/multiColumnSorting.js +20 -67
- package/plugins/multiColumnSorting/multiColumnSorting.mjs +20 -45
- package/plugins/multiColumnSorting/rootComparator.js +2 -26
- package/plugins/multiColumnSorting/rootComparator.mjs +2 -15
- package/plugins/multiColumnSorting/utils.js +0 -7
- package/plugins/multiColumnSorting/utils.mjs +0 -4
- package/plugins/multipleSelectionHandles/index.js +0 -2
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +12 -110
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.mjs +12 -88
- package/plugins/nestedHeaders/index.js +0 -2
- package/plugins/nestedHeaders/nestedHeaders.js +198 -211
- package/plugins/nestedHeaders/nestedHeaders.mjs +206 -191
- package/plugins/nestedHeaders/stateManager/headersTree.js +26 -96
- package/plugins/nestedHeaders/stateManager/headersTree.mjs +26 -76
- package/plugins/nestedHeaders/stateManager/index.js +55 -118
- package/plugins/nestedHeaders/stateManager/index.mjs +61 -105
- package/plugins/nestedHeaders/stateManager/matrixGenerator.js +7 -25
- package/plugins/nestedHeaders/stateManager/matrixGenerator.mjs +7 -18
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.js +12 -27
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.mjs +12 -17
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.js +10 -25
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.mjs +10 -15
- package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.js +3 -19
- package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.mjs +3 -13
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.js +2 -12
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.mjs +1 -3
- package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.js +3 -22
- package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.mjs +3 -14
- package/plugins/nestedHeaders/stateManager/nodeModifiers/utils/tree.js +3 -10
- package/plugins/nestedHeaders/stateManager/nodeModifiers/utils/tree.mjs +3 -7
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +5 -36
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.mjs +5 -20
- package/plugins/nestedHeaders/stateManager/sourceSettings.js +27 -81
- package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +33 -71
- package/plugins/nestedHeaders/stateManager/utils.js +19 -22
- package/plugins/nestedHeaders/stateManager/utils.mjs +19 -20
- package/plugins/nestedHeaders/utils/ghostTable.js +23 -37
- package/plugins/nestedHeaders/utils/ghostTable.mjs +23 -36
- package/plugins/nestedRows/data/dataManager.js +47 -162
- package/plugins/nestedRows/data/dataManager.mjs +45 -143
- package/plugins/nestedRows/index.js +0 -2
- package/plugins/nestedRows/nestedRows.js +46 -119
- package/plugins/nestedRows/nestedRows.mjs +46 -86
- package/plugins/nestedRows/ui/_base.js +14 -8
- package/plugins/nestedRows/ui/_base.mjs +14 -7
- package/plugins/nestedRows/ui/collapsing.js +33 -133
- package/plugins/nestedRows/ui/collapsing.mjs +33 -111
- package/plugins/nestedRows/ui/contextMenu.js +9 -55
- package/plugins/nestedRows/ui/contextMenu.mjs +8 -33
- package/plugins/nestedRows/ui/headers.js +10 -49
- package/plugins/nestedRows/ui/headers.mjs +10 -34
- package/plugins/nestedRows/utils/rowMoveController.js +36 -79
- package/plugins/nestedRows/utils/rowMoveController.mjs +45 -71
- package/plugins/persistentState/index.js +0 -2
- package/plugins/persistentState/persistentState.js +16 -59
- package/plugins/persistentState/persistentState.mjs +16 -38
- package/plugins/persistentState/storage.js +22 -24
- package/plugins/persistentState/storage.mjs +22 -22
- package/plugins/registry.js +8 -52
- package/plugins/registry.mjs +8 -33
- package/plugins/search/index.js +0 -2
- package/plugins/search/search.js +22 -97
- package/plugins/search/search.mjs +22 -68
- package/plugins/touchScroll/index.js +0 -2
- package/plugins/touchScroll/touchScroll.js +21 -77
- package/plugins/touchScroll/touchScroll.mjs +21 -59
- package/plugins/trimRows/index.js +0 -2
- package/plugins/trimRows/trimRows.js +64 -86
- package/plugins/trimRows/trimRows.mjs +64 -63
- package/plugins/undoRedo/index.js +0 -14
- package/plugins/undoRedo/undoRedo.js +98 -250
- package/plugins/undoRedo/undoRedo.mjs +98 -220
- package/registry.js +0 -11
- package/registry.mjs +1 -2
- package/renderers/autocompleteRenderer/autocompleteRenderer.js +5 -14
- package/renderers/autocompleteRenderer/autocompleteRenderer.mjs +5 -6
- package/renderers/autocompleteRenderer/index.js +0 -2
- package/renderers/baseRenderer/baseRenderer.js +2 -11
- package/renderers/baseRenderer/baseRenderer.mjs +1 -7
- package/renderers/baseRenderer/index.js +0 -2
- package/renderers/checkboxRenderer/checkboxRenderer.js +22 -103
- package/renderers/checkboxRenderer/checkboxRenderer.mjs +22 -81
- package/renderers/checkboxRenderer/index.js +0 -2
- package/renderers/htmlRenderer/htmlRenderer.js +1 -7
- package/renderers/htmlRenderer/htmlRenderer.mjs +1 -1
- package/renderers/htmlRenderer/index.js +0 -2
- package/renderers/index.js +0 -19
- package/renderers/index.mjs +0 -1
- package/renderers/numericRenderer/index.js +0 -2
- package/renderers/numericRenderer/numericRenderer.js +1 -21
- package/renderers/numericRenderer/numericRenderer.mjs +1 -9
- package/renderers/passwordRenderer/index.js +0 -2
- package/renderers/passwordRenderer/passwordRenderer.js +1 -8
- package/renderers/passwordRenderer/passwordRenderer.mjs +1 -1
- package/renderers/registry.js +7 -16
- package/renderers/registry.mjs +7 -14
- package/renderers/textRenderer/index.js +0 -2
- package/renderers/textRenderer/textRenderer.js +1 -13
- package/renderers/textRenderer/textRenderer.mjs +1 -5
- package/renderers/timeRenderer/index.js +0 -2
- package/renderers/timeRenderer/timeRenderer.js +1 -6
- package/renderers/timeRenderer/timeRenderer.mjs +1 -1
- package/selection/highlight/highlight.js +24 -73
- package/selection/highlight/highlight.mjs +24 -50
- package/selection/highlight/types/activeHeader.js +14 -23
- package/selection/highlight/types/activeHeader.mjs +14 -12
- package/selection/highlight/types/area.js +15 -24
- package/selection/highlight/types/area.mjs +15 -13
- package/selection/highlight/types/cell.js +14 -23
- package/selection/highlight/types/cell.mjs +14 -12
- package/selection/highlight/types/customSelection.js +15 -24
- package/selection/highlight/types/customSelection.mjs +15 -13
- package/selection/highlight/types/fill.js +16 -20
- package/selection/highlight/types/fill.mjs +16 -9
- package/selection/highlight/types/header.js +16 -25
- package/selection/highlight/types/header.mjs +16 -14
- package/selection/highlight/types/index.js +17 -27
- package/selection/highlight/types/index.mjs +17 -13
- package/selection/highlight/visualSelection.js +35 -80
- package/selection/highlight/visualSelection.mjs +35 -68
- package/selection/index.js +0 -14
- package/selection/mouseEventHandler.js +19 -30
- package/selection/mouseEventHandler.mjs +19 -22
- package/selection/range.js +17 -30
- package/selection/range.mjs +17 -21
- package/selection/selection.js +72 -160
- package/selection/selection.mjs +77 -137
- package/selection/transformation.js +23 -39
- package/selection/transformation.mjs +23 -36
- package/selection/utils.js +23 -71
- package/selection/utils.mjs +23 -48
- package/shortcuts/context.js +24 -79
- package/shortcuts/context.mjs +24 -56
- package/shortcuts/index.js +0 -2
- package/shortcuts/keyObserver.js +0 -9
- package/shortcuts/keyObserver.mjs +0 -4
- package/shortcuts/manager.js +17 -37
- package/shortcuts/manager.mjs +17 -34
- package/shortcuts/recorder.js +9 -40
- package/shortcuts/recorder.mjs +9 -31
- package/shortcuts/utils.js +5 -20
- package/shortcuts/utils.mjs +5 -6
- package/tableView.js +239 -330
- package/tableView.mjs +239 -308
- package/translations/changesObservable/observable.js +14 -53
- package/translations/changesObservable/observable.mjs +14 -43
- package/translations/changesObservable/observer.js +13 -31
- package/translations/changesObservable/observer.mjs +13 -23
- package/translations/changesObservable/utils.js +1 -5
- package/translations/changesObservable/utils.mjs +1 -4
- package/translations/index.js +0 -11
- package/translations/indexMapper.js +80 -162
- package/translations/indexMapper.mjs +85 -134
- package/translations/mapCollections/aggregatedCollection.js +14 -50
- package/translations/mapCollections/aggregatedCollection.mjs +14 -37
- package/translations/mapCollections/index.js +0 -7
- package/translations/mapCollections/mapCollection.js +20 -34
- package/translations/mapCollections/mapCollection.mjs +20 -23
- package/translations/maps/hidingMap.js +7 -34
- package/translations/maps/hidingMap.mjs +7 -22
- package/translations/maps/index.js +1 -24
- package/translations/maps/index.mjs +1 -3
- package/translations/maps/indexMap.js +25 -33
- package/translations/maps/indexMap.mjs +25 -27
- package/translations/maps/indexesSequence.js +8 -40
- package/translations/maps/indexesSequence.mjs +8 -25
- package/translations/maps/linkedPhysicalIndexToValueMap.js +18 -81
- package/translations/maps/linkedPhysicalIndexToValueMap.mjs +17 -54
- package/translations/maps/physicalIndexToValueMap.js +7 -38
- package/translations/maps/physicalIndexToValueMap.mjs +7 -24
- package/translations/maps/trimmingMap.js +7 -34
- package/translations/maps/trimmingMap.mjs +7 -22
- package/translations/maps/utils/actionsOnIndexes.js +1 -7
- package/translations/maps/utils/actionsOnIndexes.mjs +1 -3
- package/translations/maps/utils/index.js +0 -13
- package/translations/maps/utils/index.mjs +0 -3
- package/translations/maps/utils/indexesSequence.js +1 -24
- package/translations/maps/utils/indexesSequence.mjs +1 -9
- package/translations/maps/utils/physicallyIndexed.js +1 -27
- package/translations/maps/utils/physicallyIndexed.mjs +1 -10
- package/utils/dataStructures/linkedList.js +23 -50
- package/utils/dataStructures/linkedList.mjs +23 -48
- package/utils/dataStructures/priorityMap.js +9 -47
- package/utils/dataStructures/priorityMap.mjs +9 -30
- package/utils/dataStructures/queue.js +19 -16
- package/utils/dataStructures/queue.mjs +19 -15
- package/utils/dataStructures/stack.js +19 -16
- package/utils/dataStructures/stack.mjs +19 -15
- package/utils/dataStructures/tree.js +19 -77
- package/utils/dataStructures/tree.mjs +19 -56
- package/utils/dataStructures/uniqueMap.js +18 -57
- package/utils/dataStructures/uniqueMap.mjs +18 -43
- package/utils/dataStructures/uniqueSet.js +5 -32
- package/utils/dataStructures/uniqueSet.mjs +5 -19
- package/utils/ghostTable.js +42 -106
- package/utils/ghostTable.mjs +40 -90
- package/utils/interval.js +17 -29
- package/utils/interval.mjs +18 -26
- package/utils/parseTable.js +11 -92
- package/utils/parseTable.mjs +11 -62
- package/utils/rootInstance.js +3 -14
- package/utils/rootInstance.mjs +3 -3
- package/utils/samplesGenerator.js +25 -51
- package/utils/samplesGenerator.mjs +25 -42
- package/utils/staticRegister.js +6 -33
- package/utils/staticRegister.mjs +6 -19
- package/validators/autocompleteValidator/autocompleteValidator.js +2 -10
- package/validators/autocompleteValidator/autocompleteValidator.mjs +2 -8
- package/validators/autocompleteValidator/index.js +0 -2
- package/validators/dateValidator/dateValidator.js +2 -21
- package/validators/dateValidator/dateValidator.mjs +2 -11
- package/validators/dateValidator/index.js +0 -2
- package/validators/index.js +0 -11
- package/validators/index.mjs +0 -1
- package/validators/numericValidator/index.js +0 -2
- package/validators/numericValidator/numericValidator.js +1 -7
- package/validators/numericValidator/numericValidator.mjs +1 -3
- package/validators/registry.js +7 -16
- package/validators/registry.mjs +7 -14
- package/validators/timeValidator/index.js +0 -2
- package/validators/timeValidator/timeValidator.js +6 -18
- package/validators/timeValidator/timeValidator.mjs +8 -13
@@ -2,35 +2,23 @@
|
|
2
2
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.default = void 0;
|
5
|
-
|
6
5
|
require("core-js/modules/es.symbol.js");
|
7
|
-
|
8
6
|
require("core-js/modules/es.symbol.description.js");
|
9
|
-
|
10
7
|
require("core-js/modules/es.object.to-string.js");
|
11
|
-
|
12
8
|
require("core-js/modules/es.symbol.iterator.js");
|
13
|
-
|
14
9
|
require("core-js/modules/es.array.iterator.js");
|
15
|
-
|
16
10
|
require("core-js/modules/es.string.iterator.js");
|
17
|
-
|
18
11
|
require("core-js/modules/web.dom-collections.iterator.js");
|
19
|
-
|
20
12
|
var _mixed = require("../../helpers/mixed");
|
21
|
-
|
22
13
|
var _object = require("../../helpers/object");
|
23
|
-
|
24
14
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
25
|
-
|
26
15
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
27
|
-
|
28
16
|
/**
|
29
17
|
* @alias Options
|
30
18
|
* @class Options
|
31
19
|
* @description
|
32
20
|
*
|
33
|
-
* [Configuration options](@/guides/getting-started/
|
21
|
+
* [Configuration options](@/guides/getting-started/configuration-options.md) let you heavily customize your Handsontable instance. For example, you can:
|
34
22
|
*
|
35
23
|
* - Enable and disable built-in features
|
36
24
|
* - Enable and configure additional [plugins](@/guides/tools-and-building/custom-plugins.md)
|
@@ -38,17 +26,27 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
38
26
|
* - Adjust Handsontable's behavior
|
39
27
|
* - Implement your own custom features
|
40
28
|
*
|
41
|
-
*
|
29
|
+
* ::: only-for javascript
|
30
|
+
*
|
31
|
+
* To apply [configuration options](@/guides/getting-started/configuration-options.md), pass them as
|
42
32
|
* a second argument of the [Handsontable constructor](@/guides/getting-started/installation.md#initialize-handsontable),
|
43
33
|
* using the [object literal notation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer):
|
44
34
|
*
|
35
|
+
* Read more on the [Configuration options](@/guides/getting-started/configuration-options.md) page.
|
36
|
+
*
|
45
37
|
* ```js
|
46
38
|
* const container = document.getElementById('example');
|
47
39
|
*
|
48
40
|
* const hot = new Handsontable(container, {
|
49
41
|
* // configuration options, in the object literal notation
|
50
42
|
* licenseKey: 'non-commercial-and-evaluation',
|
51
|
-
* data:
|
43
|
+
* data: [
|
44
|
+
* ['A1', 'B1', 'C1', 'D1', 'E1'],
|
45
|
+
* ['A2', 'B2', 'C2', 'D2', 'E2'],
|
46
|
+
* ['A3', 'B3', 'C3', 'D3', 'E3'],
|
47
|
+
* ['A4', 'B4', 'C4', 'D4', 'E4'],
|
48
|
+
* ['A5', 'B5', 'C5', 'D5', 'E5'],
|
49
|
+
* ],
|
52
50
|
* width: 400,
|
53
51
|
* height: 300,
|
54
52
|
* colHeaders: true,
|
@@ -60,21 +58,64 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
60
58
|
* manualRowMove: true,
|
61
59
|
* });
|
62
60
|
* ```
|
61
|
+
* :::
|
62
|
+
*
|
63
|
+
* ::: only-for react
|
64
|
+
*
|
65
|
+
* To apply configuration options, pass them as individual props
|
66
|
+
* of the [`HotTable`](@/guides/getting-started/installation.md#use-the-hottable-component)
|
67
|
+
* or [`HotColumn`](@/guides/columns/react-hot-column.md) components.
|
68
|
+
*
|
69
|
+
* Read more on the [Configuration options](@/guides/getting-started/configuration-options.md) page.
|
70
|
+
*
|
71
|
+
* ```jsx
|
72
|
+
* <HotTable
|
73
|
+
* // configuration options, in the object literal notation
|
74
|
+
* licenseKey='non-commercial-and-evaluation'
|
75
|
+
* data={[
|
76
|
+
* ['A1', 'B1', 'C1', 'D1', 'E1'],
|
77
|
+
* ['A2', 'B2', 'C2', 'D2', 'E2'],
|
78
|
+
* ['A3', 'B3', 'C3', 'D3', 'E3'],
|
79
|
+
* ['A4', 'B4', 'C4', 'D4', 'E4'],
|
80
|
+
* ['A5', 'B5', 'C5', 'D5', 'E5'],
|
81
|
+
* ]}
|
82
|
+
* width={400}
|
83
|
+
* height={300}
|
84
|
+
* colHeaders={true}
|
85
|
+
* rowHeaders={true}
|
86
|
+
* customBorders={true}
|
87
|
+
* dropdownMenu={true}
|
88
|
+
* multiColumnSorting={true}
|
89
|
+
* filters={true}
|
90
|
+
* manualRowMove={true}
|
91
|
+
* />
|
92
|
+
* ```
|
93
|
+
* :::
|
63
94
|
*
|
64
95
|
* Depending on your needs, you can apply [configuration options](@/api/options.md) to different elements of your grid:
|
65
|
-
* - [The entire grid](@/guides/getting-started/
|
66
|
-
* - [Individual columns](@/guides/getting-started/
|
67
|
-
* - [Individual rows](@/guides/getting-started/
|
68
|
-
* - [Individual cells](@/guides/getting-started/
|
69
|
-
* - [Individual grid elements, based on any logic you implement](@/guides/getting-started/
|
96
|
+
* - [The entire grid](@/guides/getting-started/configuration-options.md#set-grid-options)
|
97
|
+
* - [Individual columns](@/guides/getting-started/configuration-options.md#set-column-options)
|
98
|
+
* - [Individual rows](@/guides/getting-started/configuration-options.md#set-row-options)
|
99
|
+
* - [Individual cells](@/guides/getting-started/configuration-options.md#set-cell-options)
|
100
|
+
* - [Individual grid elements, based on any logic you implement](@/guides/getting-started/configuration-options.md#implementing-custom-logic)
|
70
101
|
*
|
71
102
|
* Read more:
|
72
|
-
* - [Configuration options](@/guides/getting-started/
|
103
|
+
* - [Configuration options](@/guides/getting-started/configuration-options.md)
|
73
104
|
*/
|
74
105
|
var _default = function _default() {
|
75
106
|
return {
|
76
107
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
77
108
|
|
109
|
+
/**
|
110
|
+
* Information on which of the meta properties were added automatically.
|
111
|
+
* For example: setting the `renderer` property directly won't extend the `_automaticallyAssignedMetaProps`
|
112
|
+
* entry, but setting a `type` will modify it to `Set(3) {'renderer', 'editor', 'validator', ...}`.
|
113
|
+
*
|
114
|
+
* @private
|
115
|
+
* @type {Set}
|
116
|
+
* @default undefined
|
117
|
+
*/
|
118
|
+
_automaticallyAssignedMetaProps: void 0,
|
78
119
|
/**
|
79
120
|
* The `activeHeaderClassName` option lets you add a CSS class name
|
80
121
|
* to every currently-active, currently-selected header (when a whole column or row is selected).
|
@@ -104,7 +145,6 @@ var _default = function _default() {
|
|
104
145
|
* ```
|
105
146
|
*/
|
106
147
|
activeHeaderClassName: 'ht__active_highlight',
|
107
|
-
|
108
148
|
/**
|
109
149
|
* The `allowEmpty` option determines whether Handsontable accepts the following values:
|
110
150
|
* - `null`
|
@@ -144,7 +184,6 @@ var _default = function _default() {
|
|
144
184
|
* ```
|
145
185
|
*/
|
146
186
|
allowEmpty: true,
|
147
|
-
|
148
187
|
/**
|
149
188
|
* The `allowHtml` option configures whether [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md)
|
150
189
|
* and [`dropdown`](@/guides/cell-types/dropdown-cell-type.md) cells' [`source`](#source) data
|
@@ -184,7 +223,6 @@ var _default = function _default() {
|
|
184
223
|
* ```
|
185
224
|
*/
|
186
225
|
allowHtml: false,
|
187
|
-
|
188
226
|
/**
|
189
227
|
* If set to `true`, the `allowInsertColumn` option adds the following menu items to the [context menu](@/guides/accessories-and-menus/context-menu.md):
|
190
228
|
* - **Insert column left**
|
@@ -202,7 +240,6 @@ var _default = function _default() {
|
|
202
240
|
* ```
|
203
241
|
*/
|
204
242
|
allowInsertColumn: true,
|
205
|
-
|
206
243
|
/**
|
207
244
|
* If set to `true`, the `allowInsertRow` option adds the following menu items to the [context menu](@/guides/accessories-and-menus/context-menu.md):
|
208
245
|
* - **Insert row above**
|
@@ -220,7 +257,6 @@ var _default = function _default() {
|
|
220
257
|
* ```
|
221
258
|
*/
|
222
259
|
allowInsertRow: true,
|
223
|
-
|
224
260
|
/**
|
225
261
|
* The `allowInvalid` option determines whether Handsontable accepts values
|
226
262
|
* that were marked as `invalid` by the [cell validator](@/guides/cell-functions/cell-validator.md).
|
@@ -253,7 +289,6 @@ var _default = function _default() {
|
|
253
289
|
* ```
|
254
290
|
*/
|
255
291
|
allowInvalid: true,
|
256
|
-
|
257
292
|
/**
|
258
293
|
* If set to `true`, the `allowRemoveColumn` option adds the following menu items to the [context menu](@/guides/accessories-and-menus/context-menu.md):
|
259
294
|
* - **Remove column**
|
@@ -273,7 +308,6 @@ var _default = function _default() {
|
|
273
308
|
* ```
|
274
309
|
*/
|
275
310
|
allowRemoveColumn: true,
|
276
|
-
|
277
311
|
/**
|
278
312
|
* If set to `true`, the `allowRemoveRow` option adds the following menu items to the [context menu](@/guides/accessories-and-menus/context-menu.md):
|
279
313
|
* - **Remove row**
|
@@ -293,7 +327,6 @@ var _default = function _default() {
|
|
293
327
|
* ```
|
294
328
|
*/
|
295
329
|
allowRemoveRow: true,
|
296
|
-
|
297
330
|
/**
|
298
331
|
* The `autoColumnSize` option configures the [`AutoColumnSize`](@/api/autoColumnSize.md) plugin.
|
299
332
|
*
|
@@ -344,7 +377,6 @@ var _default = function _default() {
|
|
344
377
|
* ```
|
345
378
|
*/
|
346
379
|
autoColumnSize: void 0,
|
347
|
-
|
348
380
|
/**
|
349
381
|
* The `autoRowSize` option configures the [`AutoRowSize`](@/api/autoRowSize.md) plugin.
|
350
382
|
*
|
@@ -384,16 +416,17 @@ var _default = function _default() {
|
|
384
416
|
* ```
|
385
417
|
*/
|
386
418
|
autoRowSize: void 0,
|
387
|
-
|
388
419
|
/**
|
389
|
-
*
|
420
|
+
* With [`autoWrapCol`](#autowrapcol) enabled:
|
421
|
+
* - When you select a bottom-most cell, pressing <kbd>**↓**</kbd> takes you to the top-most cell of the next column.
|
422
|
+
* - When you select a top-most cell, pressing <kbd>**↑**</kbd> takes you to the bottom-most cell of the previous column.
|
390
423
|
*
|
391
|
-
* You can set the `autoWrapCol` option to one of the following:
|
424
|
+
* You can set the [`autoWrapCol`](#autowrapcol) option to one of the following:
|
392
425
|
*
|
393
|
-
* | Setting | Description
|
394
|
-
* | ----------------- |
|
395
|
-
* | `true` |
|
396
|
-
* | `false` (default) |
|
426
|
+
* | Setting | Description |
|
427
|
+
* | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
428
|
+
* | `true` | When you select a bottom-most cell, pressing <kbd>**↓**</kbd> takes you to the top-most cell of the next column.<br><br>When you select a top-most cell, pressing <kbd>**↑**</kbd> takes you to the bottom-most cell of the previous column. |
|
429
|
+
* | `false` (default) | When you select a bottom-most cell, pressing <kbd>**↓**</kbd> doesn't do anything.<br><br>When you select a top-most cell, pressing <kbd>**↑**</kbd> doesn't do anything. |
|
397
430
|
*
|
398
431
|
* @memberof Options#
|
399
432
|
* @type {boolean}
|
@@ -402,21 +435,29 @@ var _default = function _default() {
|
|
402
435
|
*
|
403
436
|
* @example
|
404
437
|
* ```js
|
405
|
-
* //
|
438
|
+
* // when you select a bottom-most cell, pressing ⬇ doesn't do anything
|
439
|
+
* // when you select a top-most cell, pressing ⬆ doesn't do anything
|
440
|
+
* autoWrapCol: false, // default setting
|
441
|
+
*
|
442
|
+
* // when you select a bottom-most cell, pressing ⬇ takes you to the top-most cell of the next column
|
443
|
+
* // when you select a top-most cell, pressing ⬆ takes you to the bottom-most cell of the previous column
|
406
444
|
* autoWrapCol: true,
|
407
445
|
* ```
|
408
446
|
*/
|
409
447
|
autoWrapCol: false,
|
410
|
-
|
411
448
|
/**
|
412
|
-
*
|
449
|
+
* With [`autoWrapRow`](#autoWrapRow) enabled:
|
450
|
+
* - When you select the first cell of a row, pressing <kbd>**←**</kbd>* takes you to the last cell of the row above.
|
451
|
+
* - When you select the last cell of a row, pressing <kbd>**→**</kbd>* takes you to the first cell of the row below.
|
452
|
+
*
|
453
|
+
* You can set the [`autoWrapRow`](#autoWrapRow) option to one of the following:
|
413
454
|
*
|
414
|
-
*
|
455
|
+
* | Setting | Description |
|
456
|
+
* | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
457
|
+
* | `true` | When you select the first cell of a row, pressing <kbd>**←**</kbd>* takes you to the last cell of the row above.<br><br>When you select the last cell of a row, pressing <kbd>**→**</kbd>* takes you to the first cell of the row below. |
|
458
|
+
* | `false` (default) | When you select the first cell of a row, pressing <kbd>**←**</kbd>* doesn't do anything.<br><br>When you select the last cell of a row, pressing <kbd>**→**</kbd>* doesn't do anything. |
|
415
459
|
*
|
416
|
-
*
|
417
|
-
* | ----------------- | ---------------------------------------------------------------------------------------------------------------------------- |
|
418
|
-
* | `true` | On reaching the grid's left or right edge:<br>- Jump to the grid's opposite edge<br>- Select a cell in the previous/next row |
|
419
|
-
* | `false` (default) | On reaching the grid's left or right edge, stop |
|
460
|
+
* \* The exact key depends on your [`layoutDirection`](#layoutdirection) configuration.
|
420
461
|
*
|
421
462
|
* @memberof Options#
|
422
463
|
* @type {boolean}
|
@@ -425,12 +466,16 @@ var _default = function _default() {
|
|
425
466
|
*
|
426
467
|
* @example
|
427
468
|
* ```js
|
428
|
-
* //
|
469
|
+
* // when you select the first cell of a row, pressing ⬅ doesn't do anything
|
470
|
+
* // when you select the last cell of a row, pressing ➡️ doesn't do anything
|
471
|
+
* autoWrapRow: false, // default setting
|
472
|
+
*
|
473
|
+
* // when you select the first cell of a row, pressing ⬅ takes you to the last cell of the row above
|
474
|
+
* // when you select the last cell of a row, pressing ➡️ takes you to the first cell of the row below
|
429
475
|
* autoWrapRow: true,
|
430
476
|
* ```
|
431
477
|
*/
|
432
478
|
autoWrapRow: false,
|
433
|
-
|
434
479
|
/**
|
435
480
|
* @description
|
436
481
|
* The `bindRowsWithHeaders` option configures the [`BindRowsWithHeaders`](@/api/bindRowsWithHeaders.md) plugin.
|
@@ -457,15 +502,14 @@ var _default = function _default() {
|
|
457
502
|
* ```
|
458
503
|
*/
|
459
504
|
bindRowsWithHeaders: void 0,
|
460
|
-
|
461
505
|
/**
|
462
|
-
* The `cell` option lets you apply [configuration options](@/guides/getting-started/
|
506
|
+
* The `cell` option lets you apply [configuration options](@/guides/getting-started/configuration-options.md) to individual cells.
|
463
507
|
*
|
464
|
-
* The `cell` option overwrites the [top-level grid options](@/guides/getting-started/
|
508
|
+
* The `cell` option overwrites the [top-level grid options](@/guides/getting-started/configuration-options.md#set-grid-options),
|
465
509
|
* and the [`columns`](#columns) options.
|
466
510
|
*
|
467
511
|
* Read more:
|
468
|
-
* - [Configuration options: Setting cell options](@/guides/getting-started/
|
512
|
+
* - [Configuration options: Setting cell options](@/guides/getting-started/configuration-options.md#set-cell-options)
|
469
513
|
* - [`columns`](#columns)
|
470
514
|
*
|
471
515
|
* @memberof Options#
|
@@ -487,10 +531,9 @@ var _default = function _default() {
|
|
487
531
|
* ```
|
488
532
|
*/
|
489
533
|
cell: [],
|
490
|
-
|
491
534
|
/**
|
492
535
|
* @description
|
493
|
-
* The `cells` option lets you apply any other [configuration options](@/guides/getting-started/
|
536
|
+
* The `cells` option lets you apply any other [configuration options](@/guides/getting-started/configuration-options.md) to
|
494
537
|
* individual grid elements (columns, rows, cells), based on any logic you implement.
|
495
538
|
*
|
496
539
|
* The `cells` option overwrites all other options (including options set by [`columns`](#columns) and [`cell`](#cell)).
|
@@ -503,8 +546,8 @@ var _default = function _default() {
|
|
503
546
|
* | `prop` | No | String \| Number | If [`data`](#data) is set to an [array of arrays](@/guides/getting-started/binding-to-data.md#array-of-arrays), `prop` is the same number as `column`.<br><br>If [`data`](#data) is set to an [array of objects](@/guides/getting-started/binding-to-data.md#array-of-objects), `prop` is a property name for the column's data object. |
|
504
547
|
*
|
505
548
|
* Read more:
|
506
|
-
* - [Configuration options: Implementing custom logic](@/guides/getting-started/
|
507
|
-
* - [Configuration options: Setting row options](@/guides/getting-started/
|
549
|
+
* - [Configuration options: Implementing custom logic](@/guides/getting-started/configuration-options.md#implement-custom-logic)
|
550
|
+
* - [Configuration options: Setting row options](@/guides/getting-started/configuration-options.md#set-row-options)
|
508
551
|
* - [`columns`](#columns)
|
509
552
|
* - [`cell`](#cell)
|
510
553
|
*
|
@@ -530,7 +573,6 @@ var _default = function _default() {
|
|
530
573
|
* ```
|
531
574
|
*/
|
532
575
|
cells: void 0,
|
533
|
-
|
534
576
|
/**
|
535
577
|
* The `checkedTemplate` option lets you configure what value
|
536
578
|
* a checked [`checkbox`](@/guides/cell-types/checkbox-cell-type.md) cell has.
|
@@ -573,7 +615,6 @@ var _default = function _default() {
|
|
573
615
|
* ```
|
574
616
|
*/
|
575
617
|
checkedTemplate: void 0,
|
576
|
-
|
577
618
|
/**
|
578
619
|
* The `className` option lets you add CSS class names to every currently-selected element.
|
579
620
|
*
|
@@ -584,10 +625,15 @@ var _default = function _default() {
|
|
584
625
|
* | A string | Add a single CSS class name to every currently-selected element |
|
585
626
|
* | An array of strings | Add multiple CSS class names to every currently-selected element |
|
586
627
|
*
|
587
|
-
*
|
628
|
+
* ::: tip
|
629
|
+
* Don't change the `className` metadata of the [column summary](@/guides/columns/column-summary.md) row.
|
630
|
+
* To style the summary row, use the class name assigned automatically by the [`ColumnSummary`](@/api/columnSummary.md) plugin: `columnSummaryResult`.
|
631
|
+
* :::
|
632
|
+
*
|
633
|
+
* To apply different CSS class names on different levels, use Handsontable's [cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration).
|
588
634
|
*
|
589
635
|
* Read more:
|
590
|
-
* - [Configuration options: Cascading configuration](@/guides/getting-started/
|
636
|
+
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration)
|
591
637
|
* - [`currentRowClassName`](#currentRowClassName)
|
592
638
|
* - [`currentColClassName`](#currentColClassName)
|
593
639
|
* - [`currentHeaderClassName`](#currentHeaderClassName)
|
@@ -616,7 +662,6 @@ var _default = function _default() {
|
|
616
662
|
* ```
|
617
663
|
*/
|
618
664
|
className: void 0,
|
619
|
-
|
620
665
|
/**
|
621
666
|
* The `colHeaders` option configures your grid's column headers.
|
622
667
|
*
|
@@ -652,7 +697,6 @@ var _default = function _default() {
|
|
652
697
|
* ```
|
653
698
|
*/
|
654
699
|
colHeaders: null,
|
655
|
-
|
656
700
|
/**
|
657
701
|
* @description
|
658
702
|
* The `collapsibleColumns` option configures the [`CollapsibleColumns`](@/api/collapsibleColumns.md) plugin.
|
@@ -686,7 +730,6 @@ var _default = function _default() {
|
|
686
730
|
* ```
|
687
731
|
*/
|
688
732
|
collapsibleColumns: void 0,
|
689
|
-
|
690
733
|
/**
|
691
734
|
* @description
|
692
735
|
* The `columnHeaderHeight` option configures the height of column headers.
|
@@ -713,21 +756,20 @@ var _default = function _default() {
|
|
713
756
|
* ```
|
714
757
|
*/
|
715
758
|
columnHeaderHeight: void 0,
|
716
|
-
|
717
759
|
/**
|
718
760
|
* @description
|
719
|
-
* The `columns` option lets you apply any other [configuration options](@/guides/getting-started/
|
761
|
+
* The `columns` option lets you apply any other [configuration options](@/guides/getting-started/configuration-options.md) to individual columns (or ranges of columns).
|
720
762
|
*
|
721
763
|
* You can set the `columns` option to one of the following:
|
722
764
|
* - An array of objects (each object represents one column)
|
723
765
|
* - A function that returns an array of objects
|
724
766
|
*
|
725
|
-
* The `columns` option overwrites the [top-level grid options](@/guides/getting-started/
|
767
|
+
* The `columns` option overwrites the [top-level grid options](@/guides/getting-started/configuration-options.md#set-grid-options).
|
726
768
|
*
|
727
769
|
* When you use `columns`, the [`startCols`](#startCols), [`minCols`](#minCols), and [`maxCols`](#maxCols) options are ignored.
|
728
770
|
*
|
729
771
|
* Read more:
|
730
|
-
* - [Configuration options: Setting column options](@/guides/getting-started/
|
772
|
+
* - [Configuration options: Setting column options](@/guides/getting-started/configuration-options.md#set-column-options)
|
731
773
|
* - [`startCols`](#startCols)
|
732
774
|
* - [`minCols`](#minCols)
|
733
775
|
* - [`maxCols`](#maxCols)
|
@@ -767,7 +809,6 @@ var _default = function _default() {
|
|
767
809
|
* ```
|
768
810
|
*/
|
769
811
|
columns: void 0,
|
770
|
-
|
771
812
|
/**
|
772
813
|
* @description
|
773
814
|
* The `columnSorting` option configures the [`ColumnSorting`](@/api/columnSorting.md) plugin.
|
@@ -847,7 +888,6 @@ var _default = function _default() {
|
|
847
888
|
* ```
|
848
889
|
*/
|
849
890
|
columnSorting: void 0,
|
850
|
-
|
851
891
|
/**
|
852
892
|
* @description
|
853
893
|
* The `columnSummary` option configures the [`ColumnSummary`](@/api/columnSummary.md) plugin.
|
@@ -862,12 +902,12 @@ var _default = function _default() {
|
|
862
902
|
* | `type` | `'sum'` \| `'min'` \| `'max'` \| `'count'` \| `'average'` \| `'custom'` | [Summary function](@/guides/columns/column-summary.md#step-3-calculate-your-summary) |
|
863
903
|
* | `destinationRow` | A number | [Destination cell's row coordinate](@/guides/columns/column-summary.md#step-4-provide-the-destination-cell-s-coordinates) |
|
864
904
|
* | `destinationColumn` | A number | [Destination cell's column coordinate](@/guides/columns/column-summary.md#step-4-provide-the-destination-cell-s-coordinates) |
|
865
|
-
* | `forceNumeric` | `true` \| `false` | [Treat non-numerics as numerics](@/guides/columns/column-summary.md#
|
905
|
+
* | `forceNumeric` | `true` \| `false` | [Treat non-numerics as numerics](@/guides/columns/column-summary.md#force-numeric-values) |
|
866
906
|
* | `reversedRowCoords` | `true` \| `false` | [Reverse row coordinates](@/guides/columns/column-summary.md#step-5-make-room-for-the-destination-cell) |
|
867
|
-
* | `suppressDataTypeErrors` | `true` \| `false` | [Suppress data type errors](@/guides/columns/column-summary.md#
|
907
|
+
* | `suppressDataTypeErrors` | `true` \| `false` | [Suppress data type errors](@/guides/columns/column-summary.md#throw-data-type-errors) |
|
868
908
|
* | `readOnly` | `true` \| `false` | Make summary cell read-only |
|
869
|
-
* | `roundFloat` | `true` \| `false` | [Round summary result](@/guides/columns/column-summary.md#
|
870
|
-
* | `customFunction` | A function | [Custom summary function](@/guides/columns/column-summary.md#
|
909
|
+
* | `roundFloat` | `true` \| `false` | [Round summary result](@/guides/columns/column-summary.md#round-a-column-summary-result) |
|
910
|
+
* | `customFunction` | A function | [Custom summary function](@/guides/columns/column-summary.md#implement-a-custom-summary-function) |
|
871
911
|
*
|
872
912
|
* Read more:
|
873
913
|
* - [Column summary](@/guides/columns/column-summary.md)
|
@@ -902,7 +942,6 @@ var _default = function _default() {
|
|
902
942
|
* ```
|
903
943
|
*/
|
904
944
|
columnSummary: void 0,
|
905
|
-
|
906
945
|
/**
|
907
946
|
* The `colWidths` option sets columns' widths, in pixels.
|
908
947
|
*
|
@@ -950,7 +989,6 @@ var _default = function _default() {
|
|
950
989
|
* ```
|
951
990
|
*/
|
952
991
|
colWidths: void 0,
|
953
|
-
|
954
992
|
/**
|
955
993
|
* The `commentedCellClassName` option lets you add a CSS class name to cells
|
956
994
|
* that have comments.
|
@@ -982,7 +1020,6 @@ var _default = function _default() {
|
|
982
1020
|
* ```
|
983
1021
|
*/
|
984
1022
|
commentedCellClassName: 'htCommentCell',
|
985
|
-
|
986
1023
|
/**
|
987
1024
|
* @description
|
988
1025
|
* The `comments` option configures the [`Comments`](@/api/comments.md) plugin.
|
@@ -1037,7 +1074,6 @@ var _default = function _default() {
|
|
1037
1074
|
* ```
|
1038
1075
|
*/
|
1039
1076
|
comments: false,
|
1040
|
-
|
1041
1077
|
/**
|
1042
1078
|
* @description
|
1043
1079
|
* The `contextMenu` option configures the [`ContextMenu`](@/api/contextMenu.md) plugin.
|
@@ -1049,13 +1085,13 @@ var _default = function _default() {
|
|
1049
1085
|
* | `false` | Disable the [`ContextMenu`](@/api/contextMenu.md) plugin |
|
1050
1086
|
* | `true` | - Enable the [`ContextMenu`](@/api/contextMenu.md) plugin<br>- Use the [default context menu options](@/guides/accessories-and-menus/context-menu.md#context-menu-with-default-options) |
|
1051
1087
|
* | An array | - Enable the [`ContextMenu`](@/api/contextMenu.md) plugin<br>- Modify [individual context menu options](@/guides/accessories-and-menus/context-menu.md#context-menu-with-specific-options) |
|
1052
|
-
* | An object | - Enable the [`ContextMenu`](@/api/contextMenu.md) plugin<br>- Apply a [custom context menu configuration](@/guides/accessories-and-menus/context-menu.md#context-menu-with-fully-custom-configuration) |
|
1088
|
+
* | An object | - Enable the [`ContextMenu`](@/api/contextMenu.md) plugin<br>- Apply a [custom context menu configuration](@/guides/accessories-and-menus/context-menu.md#context-menu-with-a-fully-custom-configuration) |
|
1053
1089
|
*
|
1054
1090
|
* Read more:
|
1055
1091
|
* - [Context menu](@/guides/accessories-and-menus/context-menu.md)
|
1056
1092
|
* - [Context menu: Context menu with default options](@/guides/accessories-and-menus/context-menu.md#context-menu-with-default-options)
|
1057
1093
|
* - [Context menu: Context menu with specific options](@/guides/accessories-and-menus/context-menu.md#context-menu-with-specific-options)
|
1058
|
-
* - [Context menu: Context menu with fully custom configuration options](@/guides/accessories-and-menus/context-menu.md#context-menu-with-fully-custom-configuration)
|
1094
|
+
* - [Context menu: Context menu with fully custom configuration options](@/guides/accessories-and-menus/context-menu.md#context-menu-with-a-fully-custom-configuration)
|
1059
1095
|
* - [Plugins: `ContextMenu`](@/api/contextMenu.md)
|
1060
1096
|
*
|
1061
1097
|
* @memberof Options#
|
@@ -1100,7 +1136,6 @@ var _default = function _default() {
|
|
1100
1136
|
* ```
|
1101
1137
|
*/
|
1102
1138
|
contextMenu: void 0,
|
1103
|
-
|
1104
1139
|
/**
|
1105
1140
|
* @description
|
1106
1141
|
* The `copyable` option determines whether a cell's value can be copied to the clipboard or not.
|
@@ -1114,7 +1149,7 @@ var _default = function _default() {
|
|
1114
1149
|
*
|
1115
1150
|
* Read more:
|
1116
1151
|
* - [Clipboard](@/guides/cell-features/clipboard.md)
|
1117
|
-
* - [Configuration options: Cascading configuration](@/guides/getting-started/
|
1152
|
+
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration)
|
1118
1153
|
* - [Password cell type](@/guides/cell-types/password-cell-type.md)
|
1119
1154
|
*
|
1120
1155
|
* @memberof Options#
|
@@ -1151,7 +1186,6 @@ var _default = function _default() {
|
|
1151
1186
|
* ```
|
1152
1187
|
*/
|
1153
1188
|
copyable: true,
|
1154
|
-
|
1155
1189
|
/**
|
1156
1190
|
* The `copyPaste` option configures the [`CopyPaste`](@/api/copyPaste.md) plugin.
|
1157
1191
|
*
|
@@ -1163,17 +1197,23 @@ var _default = function _default() {
|
|
1163
1197
|
* | `false` | Disable the [`CopyPaste`](@/api/copyPaste.md) plugin |
|
1164
1198
|
* | An object | - Enable the [`CopyPaste`](@/api/copyPaste.md) plugin<br>- Modify the [`CopyPaste`](@/api/copyPaste.md) plugin options |
|
1165
1199
|
*
|
1200
|
+
* ##### copyPaste: Additional options
|
1201
|
+
*
|
1166
1202
|
* If you set the `copyPaste` option to an object, you can set the following `CopyPaste` plugin options:
|
1167
1203
|
*
|
1168
|
-
* | Option
|
1169
|
-
* |
|
1170
|
-
* | `columnsLimit`
|
1171
|
-
* | `rowsLimit`
|
1172
|
-
* | `pasteMode`
|
1173
|
-
* | `
|
1204
|
+
* | Option | Possible settings | Description |
|
1205
|
+
* | ------------------------ | -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
1206
|
+
* | `columnsLimit` | A number (default: `Infinity`) | The maximum number of columns that can be copied |
|
1207
|
+
* | `rowsLimit` | A number (default: `Infinity`) | The maximum number of columns that can be copied |
|
1208
|
+
* | `pasteMode` | `'overwrite'` \| `'shift_down'` \| `'shift_right'` | When pasting:<br>`'overwrite'`: overwrite the currently-selected cells<br>`'shift_down'`: move the currently-selected cells down<br>`'shift_right'`: move the currently-selected cells to the right |
|
1209
|
+
* | `copyColumnHeaders` | Boolean (default: `false`) | `true`: add a context menu option for copying cells along with their nearest column headers |
|
1210
|
+
* | `copyColumnGroupHeaders` | Boolean (default: `false`) | `true`: add a context menu option for copying cells along with all their related columns headers |
|
1211
|
+
* | `copyColumnHeadersOnly` | Boolean (default: `false`) | `true`: add a context menu option for copying column headers nearest to the selected cells (without copying cells) |
|
1212
|
+
* | `uiContainer` | An HTML element | The UI container for the secondary focusable element |
|
1174
1213
|
*
|
1175
1214
|
* Read more:
|
1176
1215
|
* - [Plugins: `CopyPaste`](@/api/copyPaste.md)
|
1216
|
+
* - [Guides: Clipboard](@/guides/cell-features/clipboard.md)
|
1177
1217
|
*
|
1178
1218
|
* @memberof Options#
|
1179
1219
|
* @type {object|boolean}
|
@@ -1182,25 +1222,38 @@ var _default = function _default() {
|
|
1182
1222
|
*
|
1183
1223
|
* @example
|
1184
1224
|
* ```js
|
1185
|
-
* //
|
1225
|
+
* // enable the plugin with the default configuration
|
1226
|
+
* copyPaste: true // set by default
|
1227
|
+
*
|
1228
|
+
* // disable the plugin
|
1186
1229
|
* copyPaste: false,
|
1187
1230
|
*
|
1188
|
-
* // enable the
|
1189
|
-
* // and modify the `CopyPaste` plugin options
|
1231
|
+
* // enable the plugin with a custom configuration
|
1190
1232
|
* copyPaste: {
|
1191
|
-
* // set
|
1233
|
+
* // set a maximum number of columns that can be copied
|
1192
1234
|
* columnsLimit: 25,
|
1193
|
-
*
|
1235
|
+
*
|
1236
|
+
* // set a maximum number of rows that can be copied
|
1194
1237
|
* rowsLimit: 50,
|
1238
|
+
*
|
1195
1239
|
* // set the paste behavior
|
1196
1240
|
* pasteMode: 'shift_down',
|
1197
|
-
*
|
1241
|
+
*
|
1242
|
+
* // add the option to copy cells along with their nearest column headers
|
1243
|
+
* copyColumnHeaders: true,
|
1244
|
+
*
|
1245
|
+
* // add the option to copy cells along with all their related columns headers
|
1246
|
+
* copyColumnGroupHeaders: true,
|
1247
|
+
*
|
1248
|
+
* // add the option to copy just column headers (without copying cells)
|
1249
|
+
* copyColumnHeadersOnly: true,
|
1250
|
+
*
|
1251
|
+
* // set a UI container
|
1198
1252
|
* uiContainer: document.body,
|
1199
1253
|
* },
|
1200
1254
|
* ```
|
1201
1255
|
*/
|
1202
1256
|
copyPaste: true,
|
1203
|
-
|
1204
1257
|
/**
|
1205
1258
|
* The `correctFormat` option configures whether incorrectly-formatted times and dates are amended or not.
|
1206
1259
|
*
|
@@ -1248,7 +1301,6 @@ var _default = function _default() {
|
|
1248
1301
|
* ```
|
1249
1302
|
*/
|
1250
1303
|
correctFormat: false,
|
1251
|
-
|
1252
1304
|
/**
|
1253
1305
|
* The `currentColClassName` option lets you add a CSS class name
|
1254
1306
|
* to each cell of the currently-visible, currently-selected columns.
|
@@ -1278,7 +1330,6 @@ var _default = function _default() {
|
|
1278
1330
|
* ```
|
1279
1331
|
*/
|
1280
1332
|
currentColClassName: void 0,
|
1281
|
-
|
1282
1333
|
/**
|
1283
1334
|
* The `currentHeaderClassName` option lets you add a CSS class name
|
1284
1335
|
* to every currently-visible, currently-selected header.
|
@@ -1307,7 +1358,6 @@ var _default = function _default() {
|
|
1307
1358
|
* ```
|
1308
1359
|
*/
|
1309
1360
|
currentHeaderClassName: 'ht__highlight',
|
1310
|
-
|
1311
1361
|
/**
|
1312
1362
|
* The `currentRowClassName` option lets you add a CSS class name
|
1313
1363
|
* to each cell of the currently-visible, currently-selected rows.
|
@@ -1337,7 +1387,6 @@ var _default = function _default() {
|
|
1337
1387
|
* ```
|
1338
1388
|
*/
|
1339
1389
|
currentRowClassName: void 0,
|
1340
|
-
|
1341
1390
|
/**
|
1342
1391
|
* @description
|
1343
1392
|
* The `customBorders` option configures the [`CustomBorders`](@/api/customBorders.md) plugin.
|
@@ -1450,7 +1499,6 @@ var _default = function _default() {
|
|
1450
1499
|
* ```
|
1451
1500
|
*/
|
1452
1501
|
customBorders: false,
|
1453
|
-
|
1454
1502
|
/**
|
1455
1503
|
* @description
|
1456
1504
|
* The `data` option sets the initial [data](@/guides/getting-started/binding-to-data.md) of your Handsontable instance.
|
@@ -1494,7 +1542,6 @@ var _default = function _default() {
|
|
1494
1542
|
* ```
|
1495
1543
|
*/
|
1496
1544
|
data: void 0,
|
1497
|
-
|
1498
1545
|
/**
|
1499
1546
|
* @description
|
1500
1547
|
* When the [`data`](#data) option is set to an [array of objects](@/guides/getting-started/binding-to-data.md#array-of-objects)
|
@@ -1533,7 +1580,6 @@ var _default = function _default() {
|
|
1533
1580
|
* ```
|
1534
1581
|
*/
|
1535
1582
|
dataSchema: void 0,
|
1536
|
-
|
1537
1583
|
/**
|
1538
1584
|
* The `dateFormat` option configures the date format accepted by [`date`](@/guides/cell-types/date-cell-type.md) cells.
|
1539
1585
|
*
|
@@ -1564,7 +1610,6 @@ var _default = function _default() {
|
|
1564
1610
|
* ```
|
1565
1611
|
*/
|
1566
1612
|
dateFormat: 'DD/MM/YYYY',
|
1567
|
-
|
1568
1613
|
/**
|
1569
1614
|
* The `datePickerConfig` option configures the `date` [cell editor](@/guides/cell-functions/cell-editor.md)'s date picker, which uses an external dependency: [Pikaday](https://github.com/Pikaday/Pikaday/tree/1.8.2).
|
1570
1615
|
*
|
@@ -1594,7 +1639,6 @@ var _default = function _default() {
|
|
1594
1639
|
* @category Core
|
1595
1640
|
*/
|
1596
1641
|
datePickerConfig: void 0,
|
1597
|
-
|
1598
1642
|
/**
|
1599
1643
|
* The `defaultDate` option configures the date displayed
|
1600
1644
|
* in empty [`date`](@/guides/cell-types/date-cell-type.md) cells.
|
@@ -1623,7 +1667,6 @@ var _default = function _default() {
|
|
1623
1667
|
* ```
|
1624
1668
|
*/
|
1625
1669
|
defaultDate: void 0,
|
1626
|
-
|
1627
1670
|
/**
|
1628
1671
|
* @description
|
1629
1672
|
* The `disableVisualSelection` option configures how
|
@@ -1667,7 +1710,6 @@ var _default = function _default() {
|
|
1667
1710
|
* ```
|
1668
1711
|
*/
|
1669
1712
|
disableVisualSelection: false,
|
1670
|
-
|
1671
1713
|
/**
|
1672
1714
|
* @description
|
1673
1715
|
* The `dragToScroll` option configures the [`DragToScroll`](@/api/dragToScroll.md) plugin.
|
@@ -1694,7 +1736,6 @@ var _default = function _default() {
|
|
1694
1736
|
* ```
|
1695
1737
|
*/
|
1696
1738
|
dragToScroll: true,
|
1697
|
-
|
1698
1739
|
/**
|
1699
1740
|
* The `dropdownMenu` option configures the [`DropdownMenu`](@/api/dropdownMenu.md) plugin.
|
1700
1741
|
*
|
@@ -1753,7 +1794,6 @@ var _default = function _default() {
|
|
1753
1794
|
* ```
|
1754
1795
|
*/
|
1755
1796
|
dropdownMenu: void 0,
|
1756
|
-
|
1757
1797
|
/**
|
1758
1798
|
* The `editor` option sets a [cell editor](@/guides/cell-functions/cell-editor.md) for a cell.
|
1759
1799
|
*
|
@@ -1785,7 +1825,7 @@ var _default = function _default() {
|
|
1785
1825
|
* Read more:
|
1786
1826
|
* - [Cell editor](@/guides/cell-functions/cell-editor.md)
|
1787
1827
|
* - [Cell type](@/guides/cell-types/cell-type.md)
|
1788
|
-
* - [Configuration options: Cascading configuration](@/guides/getting-started/
|
1828
|
+
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration)
|
1789
1829
|
* - [`type`](#type)
|
1790
1830
|
*
|
1791
1831
|
* @memberof Options#
|
@@ -1812,7 +1852,6 @@ var _default = function _default() {
|
|
1812
1852
|
* ```
|
1813
1853
|
*/
|
1814
1854
|
editor: void 0,
|
1815
|
-
|
1816
1855
|
/**
|
1817
1856
|
* The `enterBeginsEditing` option configures the action of the <kbd>**Enter**</kbd> key.
|
1818
1857
|
*
|
@@ -1842,7 +1881,6 @@ var _default = function _default() {
|
|
1842
1881
|
* ```
|
1843
1882
|
*/
|
1844
1883
|
enterBeginsEditing: true,
|
1845
|
-
|
1846
1884
|
/**
|
1847
1885
|
* The `enterMoves` option configures the action of the <kbd>**Enter**</kbd> key.
|
1848
1886
|
*
|
@@ -1886,7 +1924,6 @@ var _default = function _default() {
|
|
1886
1924
|
col: 0,
|
1887
1925
|
row: 1
|
1888
1926
|
},
|
1889
|
-
|
1890
1927
|
/**
|
1891
1928
|
* The `fillHandle` option configures the [Autofill](@/api/autofill.md) plugin.
|
1892
1929
|
*
|
@@ -1946,7 +1983,6 @@ var _default = function _default() {
|
|
1946
1983
|
fillHandle: {
|
1947
1984
|
autoInsertRow: false
|
1948
1985
|
},
|
1949
|
-
|
1950
1986
|
/**
|
1951
1987
|
* The `filter` option configures whether [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md) cells'
|
1952
1988
|
* lists are updated by the end user's input.
|
@@ -1983,7 +2019,6 @@ var _default = function _default() {
|
|
1983
2019
|
* ```
|
1984
2020
|
*/
|
1985
2021
|
filter: true,
|
1986
|
-
|
1987
2022
|
/**
|
1988
2023
|
* The `filteringCaseSensitive` option configures whether [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md) cells'
|
1989
2024
|
* input is case-sensitive.
|
@@ -2018,7 +2053,6 @@ var _default = function _default() {
|
|
2018
2053
|
* ```
|
2019
2054
|
*/
|
2020
2055
|
filteringCaseSensitive: false,
|
2021
|
-
|
2022
2056
|
/**
|
2023
2057
|
* The `filters` option configures the [`Filters`](@/api/filters.md) plugin.
|
2024
2058
|
*
|
@@ -2046,7 +2080,6 @@ var _default = function _default() {
|
|
2046
2080
|
* ```
|
2047
2081
|
*/
|
2048
2082
|
filters: void 0,
|
2049
|
-
|
2050
2083
|
/**
|
2051
2084
|
* `fixedColumnsLeft` is a legacy option.
|
2052
2085
|
*
|
@@ -2071,7 +2104,6 @@ var _default = function _default() {
|
|
2071
2104
|
* ```
|
2072
2105
|
*/
|
2073
2106
|
fixedColumnsLeft: 0,
|
2074
|
-
|
2075
2107
|
/**
|
2076
2108
|
* If your grid's [layout direction](@/guides/internationalization/layout-direction.md) is LTR (default), the `fixedColumnsStart` option sets the number of [frozen columns](@/guides/columns/column-freezing.md) at the left-hand edge of the grid.
|
2077
2109
|
*
|
@@ -2110,7 +2142,6 @@ var _default = function _default() {
|
|
2110
2142
|
* ```
|
2111
2143
|
*/
|
2112
2144
|
fixedColumnsStart: 0,
|
2113
|
-
|
2114
2145
|
/**
|
2115
2146
|
* The `fixedRowsBottom` option sets the number of [frozen rows](@/guides/rows/row-freezing.md)
|
2116
2147
|
* at the bottom of the grid.
|
@@ -2130,7 +2161,6 @@ var _default = function _default() {
|
|
2130
2161
|
* ```
|
2131
2162
|
*/
|
2132
2163
|
fixedRowsBottom: 0,
|
2133
|
-
|
2134
2164
|
/**
|
2135
2165
|
* The `fixedRowsTop` option sets the number of [frozen rows](@/guides/rows/row-freezing.md) at the top of the grid.
|
2136
2166
|
*
|
@@ -2149,7 +2179,6 @@ var _default = function _default() {
|
|
2149
2179
|
* ```
|
2150
2180
|
*/
|
2151
2181
|
fixedRowsTop: 0,
|
2152
|
-
|
2153
2182
|
/**
|
2154
2183
|
* The `formulas` option configures the [`Formulas`](@/api/formulas.md) plugin.
|
2155
2184
|
*
|
@@ -2229,7 +2258,6 @@ var _default = function _default() {
|
|
2229
2258
|
* ```
|
2230
2259
|
*/
|
2231
2260
|
formulas: void 0,
|
2232
|
-
|
2233
2261
|
/**
|
2234
2262
|
* The `fragmentSelection` option configures text selection settings.
|
2235
2263
|
*
|
@@ -2256,7 +2284,6 @@ var _default = function _default() {
|
|
2256
2284
|
* ```
|
2257
2285
|
*/
|
2258
2286
|
fragmentSelection: false,
|
2259
|
-
|
2260
2287
|
/**
|
2261
2288
|
* The `height` option configures the height of your grid.
|
2262
2289
|
*
|
@@ -2291,7 +2318,6 @@ var _default = function _default() {
|
|
2291
2318
|
* ```
|
2292
2319
|
*/
|
2293
2320
|
height: void 0,
|
2294
|
-
|
2295
2321
|
/**
|
2296
2322
|
* The `hiddenColumns` option configures the [`HiddenColumns`](@/api/hiddenColumns.md) plugin.
|
2297
2323
|
*
|
@@ -2337,7 +2363,6 @@ var _default = function _default() {
|
|
2337
2363
|
* ```
|
2338
2364
|
*/
|
2339
2365
|
hiddenColumns: void 0,
|
2340
|
-
|
2341
2366
|
/**
|
2342
2367
|
* The `hiddenRows` option configures the [`HiddenRows`](@/api/hiddenRows.md) plugin.
|
2343
2368
|
*
|
@@ -2383,7 +2408,6 @@ var _default = function _default() {
|
|
2383
2408
|
* ```
|
2384
2409
|
*/
|
2385
2410
|
hiddenRows: void 0,
|
2386
|
-
|
2387
2411
|
/**
|
2388
2412
|
* The `invalidCellClassName` option lets you add a CSS class name to cells
|
2389
2413
|
* that were marked as `invalid` by the [cell validator](@/guides/cell-functions/cell-validator.md).
|
@@ -2413,7 +2437,6 @@ var _default = function _default() {
|
|
2413
2437
|
* ```
|
2414
2438
|
*/
|
2415
2439
|
invalidCellClassName: 'htInvalid',
|
2416
|
-
|
2417
2440
|
/**
|
2418
2441
|
* The `isEmptyCol` option lets you define your own custom method
|
2419
2442
|
* for checking if a column at a given visual index is empty.
|
@@ -2439,18 +2462,14 @@ var _default = function _default() {
|
|
2439
2462
|
var row;
|
2440
2463
|
var rowLen;
|
2441
2464
|
var value;
|
2442
|
-
|
2443
2465
|
for (row = 0, rowLen = this.countRows(); row < rowLen; row++) {
|
2444
2466
|
value = this.getDataAtCell(row, col);
|
2445
|
-
|
2446
2467
|
if ((0, _mixed.isEmpty)(value) === false) {
|
2447
2468
|
return false;
|
2448
2469
|
}
|
2449
2470
|
}
|
2450
|
-
|
2451
2471
|
return true;
|
2452
2472
|
},
|
2453
|
-
|
2454
2473
|
/**
|
2455
2474
|
* The `isEmptyRow` option lets you define your own custom method
|
2456
2475
|
* for checking if a row at a given visual index is empty.
|
@@ -2477,23 +2496,18 @@ var _default = function _default() {
|
|
2477
2496
|
var colLen;
|
2478
2497
|
var value;
|
2479
2498
|
var meta;
|
2480
|
-
|
2481
2499
|
for (col = 0, colLen = this.countCols(); col < colLen; col++) {
|
2482
2500
|
value = this.getDataAtCell(row, col);
|
2483
|
-
|
2484
2501
|
if ((0, _mixed.isEmpty)(value) === false) {
|
2485
2502
|
if (_typeof(value) === 'object') {
|
2486
2503
|
meta = this.getCellMeta(row, col);
|
2487
2504
|
return (0, _object.isObjectEqual)(this.getSchema()[meta.prop], value);
|
2488
2505
|
}
|
2489
|
-
|
2490
2506
|
return false;
|
2491
2507
|
}
|
2492
2508
|
}
|
2493
|
-
|
2494
2509
|
return true;
|
2495
2510
|
},
|
2496
|
-
|
2497
2511
|
/**
|
2498
2512
|
* @description
|
2499
2513
|
* The `label` option configures [`checkbox`](@/guides/cell-types/checkbox-cell-type.md) cells` labels.
|
@@ -2525,7 +2539,6 @@ var _default = function _default() {
|
|
2525
2539
|
* ```
|
2526
2540
|
*/
|
2527
2541
|
label: void 0,
|
2528
|
-
|
2529
2542
|
/**
|
2530
2543
|
* The `language` option configures Handsontable's [language](@/guides/internationalization/language.md) settings.
|
2531
2544
|
*
|
@@ -2570,13 +2583,12 @@ var _default = function _default() {
|
|
2570
2583
|
* ```
|
2571
2584
|
*/
|
2572
2585
|
language: 'en-US',
|
2573
|
-
|
2574
2586
|
/**
|
2575
2587
|
* The `layoutDirection` option configures whether Handsontable renders from the left to the right, or from the right to the left.
|
2576
2588
|
*
|
2577
2589
|
* You can set the layout direction only at Handsontable's [initialization](@/guides/getting-started/installation.md#initialize-handsontable). Any change of the `layoutDirection` option after the initialization (e.g. using the [`updateSettings()`](@/api/core.md#updatesettings) method) is ignored.
|
2578
2590
|
*
|
2579
|
-
* You can set the `layoutDirection` option only [for the entire grid](@/guides/getting-started/
|
2591
|
+
* You can set the `layoutDirection` option only [for the entire grid](@/guides/getting-started/configuration-options.md#set-grid-options).
|
2580
2592
|
* You can't set it for individual columns, rows, or cells.
|
2581
2593
|
*
|
2582
2594
|
* You can set the `layoutDirection` option to one of the following strings:
|
@@ -2616,7 +2628,6 @@ var _default = function _default() {
|
|
2616
2628
|
* ```
|
2617
2629
|
*/
|
2618
2630
|
layoutDirection: 'inherit',
|
2619
|
-
|
2620
2631
|
/**
|
2621
2632
|
* The `licenseKey` option sets your Handsontable license key.
|
2622
2633
|
*
|
@@ -2645,13 +2656,12 @@ var _default = function _default() {
|
|
2645
2656
|
* ```
|
2646
2657
|
*/
|
2647
2658
|
licenseKey: void 0,
|
2648
|
-
|
2649
2659
|
/**
|
2650
2660
|
* The `locale` option configures Handsontable's [locale](@/guides/internationalization/locale.md) settings.
|
2651
2661
|
*
|
2652
2662
|
* You can set the `locale` option to any valid and canonicalized Unicode BCP 47 locale tag,
|
2653
|
-
* both for the [entire grid](@/guides/internationalization/locale.md#
|
2654
|
-
* and for [individual columns](@/guides/internationalization/locale.md#
|
2663
|
+
* both for the [entire grid](@/guides/internationalization/locale.md#set-the-grid-s-locale),
|
2664
|
+
* and for [individual columns](@/guides/internationalization/locale.md#set-a-column-s-locale).
|
2655
2665
|
*
|
2656
2666
|
* Read more:
|
2657
2667
|
* - [Locale](@/guides/internationalization/locale.md)
|
@@ -2682,7 +2692,6 @@ var _default = function _default() {
|
|
2682
2692
|
* ```
|
2683
2693
|
*/
|
2684
2694
|
locale: 'en-US',
|
2685
|
-
|
2686
2695
|
/**
|
2687
2696
|
* The `manualColumnFreeze` option configures the [`ManualColumnFreeze`](@/api/manualColumnFreeze.md) plugin.
|
2688
2697
|
*
|
@@ -2708,7 +2717,6 @@ var _default = function _default() {
|
|
2708
2717
|
* ```
|
2709
2718
|
*/
|
2710
2719
|
manualColumnFreeze: void 0,
|
2711
|
-
|
2712
2720
|
/**
|
2713
2721
|
* The `manualColumnMove` option configures the [`ManualColumnMove`](@/api/manualColumnMove.md) plugin.
|
2714
2722
|
*
|
@@ -2741,7 +2749,6 @@ var _default = function _default() {
|
|
2741
2749
|
* ```
|
2742
2750
|
*/
|
2743
2751
|
manualColumnMove: void 0,
|
2744
|
-
|
2745
2752
|
/**
|
2746
2753
|
* @description
|
2747
2754
|
* The `manualColumnResize` option configures the [`ManualColumnResize`](@/api/manualColumnResize.md) plugin.
|
@@ -2775,7 +2782,6 @@ var _default = function _default() {
|
|
2775
2782
|
* ```
|
2776
2783
|
*/
|
2777
2784
|
manualColumnResize: void 0,
|
2778
|
-
|
2779
2785
|
/**
|
2780
2786
|
* @description
|
2781
2787
|
* The `manualRowMove` option configures the [`ManualRowMove`](@/api/manualRowMove.md) plugin.
|
@@ -2809,7 +2815,6 @@ var _default = function _default() {
|
|
2809
2815
|
* ```
|
2810
2816
|
*/
|
2811
2817
|
manualRowMove: void 0,
|
2812
|
-
|
2813
2818
|
/**
|
2814
2819
|
* @description
|
2815
2820
|
* The `manualRowResize` option configures the [`ManualRowResize`](@/api/manualRowResize.md) plugin.
|
@@ -2843,7 +2848,6 @@ var _default = function _default() {
|
|
2843
2848
|
* ```
|
2844
2849
|
*/
|
2845
2850
|
manualRowResize: void 0,
|
2846
|
-
|
2847
2851
|
/**
|
2848
2852
|
* The `maxCols` option sets a maximum number of columns.
|
2849
2853
|
*
|
@@ -2864,7 +2868,6 @@ var _default = function _default() {
|
|
2864
2868
|
* ```
|
2865
2869
|
*/
|
2866
2870
|
maxCols: Infinity,
|
2867
|
-
|
2868
2871
|
/**
|
2869
2872
|
* The `maxRows` option sets a maximum number of rows.
|
2870
2873
|
*
|
@@ -2885,7 +2888,6 @@ var _default = function _default() {
|
|
2885
2888
|
* ```
|
2886
2889
|
*/
|
2887
2890
|
maxRows: Infinity,
|
2888
|
-
|
2889
2891
|
/**
|
2890
2892
|
* @description
|
2891
2893
|
* The `mergeCells` option configures the [`MergeCells`](@/api/mergeCells.md) plugin.
|
@@ -2934,7 +2936,6 @@ var _default = function _default() {
|
|
2934
2936
|
* ```
|
2935
2937
|
*/
|
2936
2938
|
mergeCells: false,
|
2937
|
-
|
2938
2939
|
/**
|
2939
2940
|
* The `minCols` option sets a minimum number of columns.
|
2940
2941
|
*
|
@@ -2962,7 +2963,6 @@ var _default = function _default() {
|
|
2962
2963
|
* ```
|
2963
2964
|
*/
|
2964
2965
|
minCols: 0,
|
2965
|
-
|
2966
2966
|
/**
|
2967
2967
|
* The `minRows` option sets a minimum number of rows.
|
2968
2968
|
*
|
@@ -2983,7 +2983,6 @@ var _default = function _default() {
|
|
2983
2983
|
* ```
|
2984
2984
|
*/
|
2985
2985
|
minRows: 0,
|
2986
|
-
|
2987
2986
|
/**
|
2988
2987
|
* The `minSpareCols` option sets a minimum number of empty columns
|
2989
2988
|
* at the grid's right-hand end.
|
@@ -3012,7 +3011,6 @@ var _default = function _default() {
|
|
3012
3011
|
* ```
|
3013
3012
|
*/
|
3014
3013
|
minSpareCols: 0,
|
3015
|
-
|
3016
3014
|
/**
|
3017
3015
|
* The `minSpareRows` option sets a minimum number of empty rows
|
3018
3016
|
* at the bottom of the grid.
|
@@ -3034,7 +3032,6 @@ var _default = function _default() {
|
|
3034
3032
|
* ```
|
3035
3033
|
*/
|
3036
3034
|
minSpareRows: 0,
|
3037
|
-
|
3038
3035
|
/**
|
3039
3036
|
* @description
|
3040
3037
|
* The `multiColumnSorting` option configures the [`MultiColumnSorting`](@/api/columnSorting.md) plugin.
|
@@ -3113,14 +3110,21 @@ var _default = function _default() {
|
|
3113
3110
|
* ```
|
3114
3111
|
*/
|
3115
3112
|
multiColumnSorting: void 0,
|
3116
|
-
|
3117
3113
|
/**
|
3118
3114
|
* @description
|
3119
3115
|
* The `nestedHeaders` option configures the [`NestedHeaders`](@/api/nestedHeaders.md) plugin.
|
3120
3116
|
*
|
3121
|
-
* You can set the `nestedHeaders` option to
|
3122
|
-
*
|
3123
|
-
*
|
3117
|
+
* You can set the `nestedHeaders` option to one of the following:
|
3118
|
+
*
|
3119
|
+
* | Setting | Description |
|
3120
|
+
* | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
3121
|
+
* | `false` (default) | Disable the [`NestedHeaders`](@/api/nestedHeaders.md) plugin |
|
3122
|
+
* | `true` | - Enable the [`NestedHeaders`](@/api/nestedHeaders.md) plugin<br>- Don't configure any nested headers |
|
3123
|
+
* | Array of arrays | - Enable the [`NestedHeaders`](@/api/nestedHeaders.md) plugin<br>- Configure headers that are nested on Handsontable's initialization |
|
3124
|
+
*
|
3125
|
+
* If you set the `nestedHeaders` option to an array of arrays, each array configures one set of nested headers.
|
3126
|
+
*
|
3127
|
+
* Each array element configures one header, and can be one of the following:
|
3124
3128
|
*
|
3125
3129
|
* | Array element | Description |
|
3126
3130
|
* | ------------- | -------------------------------------------------------------------------------------------- |
|
@@ -3132,7 +3136,7 @@ var _default = function _default() {
|
|
3132
3136
|
* - [Column groups: Nested headers](@/guides/columns/column-groups.md#nested-headers)
|
3133
3137
|
*
|
3134
3138
|
* @memberof Options#
|
3135
|
-
* @type {Array[]}
|
3139
|
+
* @type {boolean|Array[]}
|
3136
3140
|
* @default undefined
|
3137
3141
|
* @category NestedHeaders
|
3138
3142
|
*
|
@@ -3146,7 +3150,6 @@ var _default = function _default() {
|
|
3146
3150
|
* ```
|
3147
3151
|
*/
|
3148
3152
|
nestedHeaders: void 0,
|
3149
|
-
|
3150
3153
|
/**
|
3151
3154
|
* @description
|
3152
3155
|
* The `nestedRows` option configures the [`NestedRows`](@/api/nestedRows.md) plugin.
|
@@ -3173,7 +3176,6 @@ var _default = function _default() {
|
|
3173
3176
|
* @category NestedRows
|
3174
3177
|
*/
|
3175
3178
|
nestedRows: void 0,
|
3176
|
-
|
3177
3179
|
/**
|
3178
3180
|
* The `noWordWrapClassName` option lets you add a CSS class name
|
3179
3181
|
* to each cell that has the [`wordWrap`](#wordWrap) option set to `false`.
|
@@ -3203,7 +3205,6 @@ var _default = function _default() {
|
|
3203
3205
|
* ```
|
3204
3206
|
*/
|
3205
3207
|
noWordWrapClassName: 'htNoWrap',
|
3206
|
-
|
3207
3208
|
/**
|
3208
3209
|
* The `numericFormat` option configures the number format and the currency format
|
3209
3210
|
* of [`numeric`](@/guides/cell-types/numeric-cell-type.md) cells` displayed output
|
@@ -3248,7 +3249,6 @@ var _default = function _default() {
|
|
3248
3249
|
* ```
|
3249
3250
|
*/
|
3250
3251
|
numericFormat: void 0,
|
3251
|
-
|
3252
3252
|
/**
|
3253
3253
|
* If the `observeDOMVisibility` option is set to `true`,
|
3254
3254
|
* Handsontable rerenders every time it detects that the grid was made visible in the DOM.
|
@@ -3265,7 +3265,6 @@ var _default = function _default() {
|
|
3265
3265
|
* ```
|
3266
3266
|
*/
|
3267
3267
|
observeDOMVisibility: true,
|
3268
|
-
|
3269
3268
|
/**
|
3270
3269
|
* The `outsideClickDeselects` option determines what happens to the current [selection](@/guides/cell-features/selection.md)
|
3271
3270
|
* when you click outside of the grid.
|
@@ -3303,7 +3302,6 @@ var _default = function _default() {
|
|
3303
3302
|
* ```
|
3304
3303
|
*/
|
3305
3304
|
outsideClickDeselects: true,
|
3306
|
-
|
3307
3305
|
/**
|
3308
3306
|
* @description
|
3309
3307
|
* The `persistentState` option configures the [`PersistentState`](@/api/persistentState.md) plugin.
|
@@ -3316,7 +3314,7 @@ var _default = function _default() {
|
|
3316
3314
|
* | `true` | Enable the [`PersistentState`](@/api/persistentState.md) plugin |
|
3317
3315
|
*
|
3318
3316
|
* Read more:
|
3319
|
-
* - [Saving data: Saving data locally](@/guides/getting-started/saving-data.md#
|
3317
|
+
* - [Saving data: Saving data locally](@/guides/getting-started/saving-data.md#save-data-locally)
|
3320
3318
|
* - [Plugins: `PersistentState`](@/api/persistentState.md)
|
3321
3319
|
*
|
3322
3320
|
* @memberof Options#
|
@@ -3331,7 +3329,6 @@ var _default = function _default() {
|
|
3331
3329
|
* ```
|
3332
3330
|
*/
|
3333
3331
|
persistentState: void 0,
|
3334
|
-
|
3335
3332
|
/**
|
3336
3333
|
* The `placeholder` option lets you display placeholder text in every empty cell.
|
3337
3334
|
*
|
@@ -3369,7 +3366,6 @@ var _default = function _default() {
|
|
3369
3366
|
* ```
|
3370
3367
|
*/
|
3371
3368
|
placeholder: void 0,
|
3372
|
-
|
3373
3369
|
/**
|
3374
3370
|
* The `placeholderCellClassName` option lets you add a CSS class name to cells
|
3375
3371
|
* that contain [`placeholder`](#placeholder) text.
|
@@ -3400,7 +3396,6 @@ var _default = function _default() {
|
|
3400
3396
|
* ```
|
3401
3397
|
*/
|
3402
3398
|
placeholderCellClassName: 'htPlaceholder',
|
3403
|
-
|
3404
3399
|
/**
|
3405
3400
|
* The `preventOverflow` option configures preventing Handsontable
|
3406
3401
|
* from overflowing outside of its parent element.
|
@@ -3425,7 +3420,6 @@ var _default = function _default() {
|
|
3425
3420
|
* ```
|
3426
3421
|
*/
|
3427
3422
|
preventOverflow: false,
|
3428
|
-
|
3429
3423
|
/**
|
3430
3424
|
* The `preventWheel` option configures preventing the `wheel` event's default action
|
3431
3425
|
* on overlays.
|
@@ -3450,7 +3444,6 @@ var _default = function _default() {
|
|
3450
3444
|
* ```
|
3451
3445
|
*/
|
3452
3446
|
preventWheel: false,
|
3453
|
-
|
3454
3447
|
/**
|
3455
3448
|
* @description
|
3456
3449
|
* The `readOnly` option determines whether a cell, column or comment is editable or not.
|
@@ -3465,7 +3458,7 @@ var _default = function _default() {
|
|
3465
3458
|
* `readOnly` cells can't be changed by the [`populateFromArray()`](@/api/core.md#populatefromarray) method.
|
3466
3459
|
*
|
3467
3460
|
* Read more:
|
3468
|
-
* - [Configuration options: Cascading configuration](@/guides/getting-started/
|
3461
|
+
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration)
|
3469
3462
|
*
|
3470
3463
|
* @memberof Options#
|
3471
3464
|
* @type {boolean}
|
@@ -3479,7 +3472,6 @@ var _default = function _default() {
|
|
3479
3472
|
* ```
|
3480
3473
|
*/
|
3481
3474
|
readOnly: false,
|
3482
|
-
|
3483
3475
|
/**
|
3484
3476
|
* The `readOnlyCellClassName` option lets you add a CSS class name to [read-only](#readOnly) cells.
|
3485
3477
|
*
|
@@ -3508,7 +3500,6 @@ var _default = function _default() {
|
|
3508
3500
|
* ```
|
3509
3501
|
*/
|
3510
3502
|
readOnlyCellClassName: 'htDimmed',
|
3511
|
-
|
3512
3503
|
/**
|
3513
3504
|
* The `renderAllRows` option configures Handsontable's [row virtualization](@/guides/rows/row-virtualization.md).
|
3514
3505
|
*
|
@@ -3534,7 +3525,6 @@ var _default = function _default() {
|
|
3534
3525
|
* ```
|
3535
3526
|
*/
|
3536
3527
|
renderAllRows: void 0,
|
3537
|
-
|
3538
3528
|
/**
|
3539
3529
|
* @description
|
3540
3530
|
* The `renderer` option sets a [cell renderer](@/guides/cell-functions/cell-renderer.md) for a cell.
|
@@ -3563,7 +3553,7 @@ var _default = function _default() {
|
|
3563
3553
|
* Read more:
|
3564
3554
|
* - [Cell renderer](@/guides/cell-functions/cell-renderer.md)
|
3565
3555
|
* - [Cell type](@/guides/cell-types/cell-type.md)
|
3566
|
-
* - [Configuration options: Cascading configuration](@/guides/getting-started/
|
3556
|
+
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration)
|
3567
3557
|
* - [`type`](#type)
|
3568
3558
|
*
|
3569
3559
|
* @memberof Options#
|
@@ -3596,7 +3586,6 @@ var _default = function _default() {
|
|
3596
3586
|
* ```
|
3597
3587
|
*/
|
3598
3588
|
renderer: void 0,
|
3599
|
-
|
3600
3589
|
/**
|
3601
3590
|
* The `rowHeaders` option configures your grid's row headers.
|
3602
3591
|
*
|
@@ -3632,7 +3621,6 @@ var _default = function _default() {
|
|
3632
3621
|
* ```
|
3633
3622
|
*/
|
3634
3623
|
rowHeaders: void 0,
|
3635
|
-
|
3636
3624
|
/**
|
3637
3625
|
* @description
|
3638
3626
|
* The `rowHeaderWidth` option configures the width of row headers.
|
@@ -3659,11 +3647,10 @@ var _default = function _default() {
|
|
3659
3647
|
* ```
|
3660
3648
|
*/
|
3661
3649
|
rowHeaderWidth: void 0,
|
3662
|
-
|
3663
3650
|
/**
|
3664
3651
|
* The `rowHeights` option sets rows' heights, in pixels.
|
3665
3652
|
*
|
3666
|
-
* In the rendering process, the default row height is
|
3653
|
+
* In the rendering process, the default row height is 23 px (22 px + 1 px of the row's bottom border).
|
3667
3654
|
* You can change it to equal or greater than 23px, by setting the `rowHeights` option to one of the following:
|
3668
3655
|
*
|
3669
3656
|
* | Setting | Description | Example |
|
@@ -3706,7 +3693,6 @@ var _default = function _default() {
|
|
3706
3693
|
* ```
|
3707
3694
|
*/
|
3708
3695
|
rowHeights: void 0,
|
3709
|
-
|
3710
3696
|
/**
|
3711
3697
|
* @description
|
3712
3698
|
* The `search` option configures the [`Search`](@/api/search.md) plugin.
|
@@ -3758,7 +3744,6 @@ var _default = function _default() {
|
|
3758
3744
|
* ```
|
3759
3745
|
*/
|
3760
3746
|
search: false,
|
3761
|
-
|
3762
3747
|
/**
|
3763
3748
|
* @description
|
3764
3749
|
* The `selectionMode` option configures how [selection](@/guides/cell-features/selection.md) works.
|
@@ -3772,7 +3757,7 @@ var _default = function _default() {
|
|
3772
3757
|
* | `'multiple'` | Allow the user to select multiple ranges of cells at a time. |
|
3773
3758
|
*
|
3774
3759
|
* Read more:
|
3775
|
-
* - [Selection: Selecting ranges](@/guides/cell-features/selection.md#
|
3760
|
+
* - [Selection: Selecting ranges](@/guides/cell-features/selection.md#select-ranges)
|
3776
3761
|
*
|
3777
3762
|
* @memberof Options#
|
3778
3763
|
* @type {string}
|
@@ -3792,7 +3777,6 @@ var _default = function _default() {
|
|
3792
3777
|
* ```
|
3793
3778
|
*/
|
3794
3779
|
selectionMode: 'multiple',
|
3795
|
-
|
3796
3780
|
/**
|
3797
3781
|
* The `selectOptions` option configures options that the end user can choose from in [`select`](@/guides/cell-types/select-cell-type.md) cells.
|
3798
3782
|
*
|
@@ -3850,7 +3834,6 @@ var _default = function _default() {
|
|
3850
3834
|
* ```
|
3851
3835
|
*/
|
3852
3836
|
selectOptions: void 0,
|
3853
|
-
|
3854
3837
|
/**
|
3855
3838
|
* @description
|
3856
3839
|
* The `skipColumnOnPaste` option determines whether you can paste data into a given column.
|
@@ -3865,7 +3848,7 @@ var _default = function _default() {
|
|
3865
3848
|
* | `true` | - Disable pasting data into this column<br>- On pasting, paste data into the next column to the right |
|
3866
3849
|
*
|
3867
3850
|
* Read more:
|
3868
|
-
* - [Configuration options: Setting column options](@/guides/getting-started/
|
3851
|
+
* - [Configuration options: Setting column options](@/guides/getting-started/configuration-options.md#set-column-options)
|
3869
3852
|
*
|
3870
3853
|
* @memberof Options#
|
3871
3854
|
* @type {boolean}
|
@@ -3883,7 +3866,6 @@ var _default = function _default() {
|
|
3883
3866
|
* ```
|
3884
3867
|
*/
|
3885
3868
|
skipColumnOnPaste: false,
|
3886
|
-
|
3887
3869
|
/**
|
3888
3870
|
* @description
|
3889
3871
|
*
|
@@ -3899,7 +3881,7 @@ var _default = function _default() {
|
|
3899
3881
|
* | `true` | - Disable pasting data into this row<br>- On pasting, paste data into the row below |
|
3900
3882
|
*
|
3901
3883
|
* Read more:
|
3902
|
-
* - [Configuration options: Setting row options](@/guides/getting-started/
|
3884
|
+
* - [Configuration options: Setting row options](@/guides/getting-started/configuration-options.md#set-row-options)
|
3903
3885
|
*
|
3904
3886
|
* @memberof Options#
|
3905
3887
|
* @type {boolean}
|
@@ -3921,7 +3903,6 @@ var _default = function _default() {
|
|
3921
3903
|
* ```
|
3922
3904
|
*/
|
3923
3905
|
skipRowOnPaste: false,
|
3924
|
-
|
3925
3906
|
/**
|
3926
3907
|
* The `sortByRelevance` option configures whether [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md) cells'
|
3927
3908
|
* lists are sorted in the same order as provided in the [`source`](#source) option.
|
@@ -3955,7 +3936,6 @@ var _default = function _default() {
|
|
3955
3936
|
* ```
|
3956
3937
|
*/
|
3957
3938
|
sortByRelevance: true,
|
3958
|
-
|
3959
3939
|
/**
|
3960
3940
|
* The `source` option sets options available in [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md)
|
3961
3941
|
* and [`dropdown`](@/guides/cell-types/dropdown-cell-type.md) cells.
|
@@ -4002,7 +3982,6 @@ var _default = function _default() {
|
|
4002
3982
|
* ```
|
4003
3983
|
*/
|
4004
3984
|
source: void 0,
|
4005
|
-
|
4006
3985
|
/**
|
4007
3986
|
* @description
|
4008
3987
|
* If the [`data`](#data) option is not set, the `startCols` option sets the initial number of empty columns.
|
@@ -4021,7 +4000,6 @@ var _default = function _default() {
|
|
4021
4000
|
* ```
|
4022
4001
|
*/
|
4023
4002
|
startCols: 5,
|
4024
|
-
|
4025
4003
|
/**
|
4026
4004
|
* @description
|
4027
4005
|
* If the [`data`](#data) option is not set, the `startRows` option sets the initial number of empty rows.
|
@@ -4040,7 +4018,6 @@ var _default = function _default() {
|
|
4040
4018
|
* ```
|
4041
4019
|
*/
|
4042
4020
|
startRows: 5,
|
4043
|
-
|
4044
4021
|
/**
|
4045
4022
|
* @description
|
4046
4023
|
* The `stretchH` option determines what happens when the declared grid width
|
@@ -4070,7 +4047,6 @@ var _default = function _default() {
|
|
4070
4047
|
* ```
|
4071
4048
|
*/
|
4072
4049
|
stretchH: 'none',
|
4073
|
-
|
4074
4050
|
/**
|
4075
4051
|
* The `strict` option configures the behavior of [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md) cells.
|
4076
4052
|
*
|
@@ -4105,7 +4081,6 @@ var _default = function _default() {
|
|
4105
4081
|
* ```
|
4106
4082
|
*/
|
4107
4083
|
strict: void 0,
|
4108
|
-
|
4109
4084
|
/**
|
4110
4085
|
* The `tableClassName` option lets you add CSS class names
|
4111
4086
|
* to every Handsontable instance inside the `container` element.
|
@@ -4146,7 +4121,6 @@ var _default = function _default() {
|
|
4146
4121
|
* ```
|
4147
4122
|
*/
|
4148
4123
|
tableClassName: void 0,
|
4149
|
-
|
4150
4124
|
/**
|
4151
4125
|
* The `tabMoves` option configures the action of the <kbd>**Tab**</kbd> key.
|
4152
4126
|
*
|
@@ -4181,7 +4155,6 @@ var _default = function _default() {
|
|
4181
4155
|
row: 0,
|
4182
4156
|
col: 1
|
4183
4157
|
},
|
4184
|
-
|
4185
4158
|
/**
|
4186
4159
|
* @description
|
4187
4160
|
* The `title` option configures [column header](@/guides/columns/column-header.md) names.
|
@@ -4214,7 +4187,6 @@ var _default = function _default() {
|
|
4214
4187
|
* ```
|
4215
4188
|
*/
|
4216
4189
|
title: void 0,
|
4217
|
-
|
4218
4190
|
/**
|
4219
4191
|
* The `trimDropdown` option configures the width of the [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md)
|
4220
4192
|
* and [`dropdown`](@/guides/cell-types/dropdown-cell-type.md) lists.
|
@@ -4254,7 +4226,6 @@ var _default = function _default() {
|
|
4254
4226
|
* ```
|
4255
4227
|
*/
|
4256
4228
|
trimDropdown: true,
|
4257
|
-
|
4258
4229
|
/**
|
4259
4230
|
* @description
|
4260
4231
|
* The `trimRows` option configures the [`TrimRows`](@/api/trimRows.md) plugin.
|
@@ -4287,7 +4258,6 @@ var _default = function _default() {
|
|
4287
4258
|
* ```
|
4288
4259
|
*/
|
4289
4260
|
trimRows: void 0,
|
4290
|
-
|
4291
4261
|
/**
|
4292
4262
|
* The `trimWhitespace` option configures automatic whitespace removal. This option
|
4293
4263
|
* affects the cell renderer and the cell editor.
|
@@ -4316,7 +4286,6 @@ var _default = function _default() {
|
|
4316
4286
|
* ```
|
4317
4287
|
*/
|
4318
4288
|
trimWhitespace: true,
|
4319
|
-
|
4320
4289
|
/**
|
4321
4290
|
* @description
|
4322
4291
|
* The `type` option lets you set the [`renderer`](#renderer), [`editor`](#editor), and [`validator`](#validator)
|
@@ -4342,7 +4311,7 @@ var _default = function _default() {
|
|
4342
4311
|
* - [Cell renderer](@/guides/cell-functions/cell-renderer.md)
|
4343
4312
|
* - [Cell editor](@/guides/cell-functions/cell-editor.md)
|
4344
4313
|
* - [Cell validator](@/guides/cell-functions/cell-validator.md)
|
4345
|
-
* - [Configuration options: Cascading configuration](@/guides/getting-started/
|
4314
|
+
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration)
|
4346
4315
|
* - [`renderer`](#renderer)
|
4347
4316
|
* - [`editor`](#editor)
|
4348
4317
|
* - [`validator`](#validator)
|
@@ -4371,7 +4340,6 @@ var _default = function _default() {
|
|
4371
4340
|
* ```
|
4372
4341
|
*/
|
4373
4342
|
type: 'text',
|
4374
|
-
|
4375
4343
|
/**
|
4376
4344
|
* The `uncheckedTemplate` option lets you configure what value
|
4377
4345
|
* an unchecked [`checkbox`](@/guides/cell-types/checkbox-cell-type.md) cell has.
|
@@ -4414,7 +4382,6 @@ var _default = function _default() {
|
|
4414
4382
|
* ```
|
4415
4383
|
*/
|
4416
4384
|
uncheckedTemplate: void 0,
|
4417
|
-
|
4418
4385
|
/**
|
4419
4386
|
* The `undo` option configures the [`UndoRedo`](@/api/undoRedo.md) plugin.
|
4420
4387
|
*
|
@@ -4445,7 +4412,6 @@ var _default = function _default() {
|
|
4445
4412
|
* ```
|
4446
4413
|
*/
|
4447
4414
|
undo: void 0,
|
4448
|
-
|
4449
4415
|
/**
|
4450
4416
|
* @description
|
4451
4417
|
* The `validator` option sets a [cell validator](@/guides/cell-functions/cell-validator.md) for a cell.
|
@@ -4476,7 +4442,7 @@ var _default = function _default() {
|
|
4476
4442
|
* Read more:
|
4477
4443
|
* - [Cell validator](@/guides/cell-functions/cell-validator.md)
|
4478
4444
|
* - [Cell type](@/guides/cell-types/cell-type.md)
|
4479
|
-
* - [Configuration options: Cascading configuration](@/guides/getting-started/
|
4445
|
+
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration)
|
4480
4446
|
* - [`type`](#type)
|
4481
4447
|
*
|
4482
4448
|
* @memberof Options#
|
@@ -4505,7 +4471,6 @@ var _default = function _default() {
|
|
4505
4471
|
* ```
|
4506
4472
|
*/
|
4507
4473
|
validator: void 0,
|
4508
|
-
|
4509
4474
|
/**
|
4510
4475
|
* @description
|
4511
4476
|
* The `viewportColumnRenderingOffset` option configures the number of columns
|
@@ -4533,7 +4498,6 @@ var _default = function _default() {
|
|
4533
4498
|
* ```
|
4534
4499
|
*/
|
4535
4500
|
viewportColumnRenderingOffset: 'auto',
|
4536
|
-
|
4537
4501
|
/**
|
4538
4502
|
* @description
|
4539
4503
|
* The `viewportRowRenderingOffset` option configures the number of rows
|
@@ -4562,7 +4526,6 @@ var _default = function _default() {
|
|
4562
4526
|
* ```
|
4563
4527
|
*/
|
4564
4528
|
viewportRowRenderingOffset: 'auto',
|
4565
|
-
|
4566
4529
|
/**
|
4567
4530
|
* The `visibleRows` option sets the height of the [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md)
|
4568
4531
|
* and [`dropdown`](@/guides/cell-types/dropdown-cell-type.md) lists.
|
@@ -4597,7 +4560,6 @@ var _default = function _default() {
|
|
4597
4560
|
* ```
|
4598
4561
|
*/
|
4599
4562
|
visibleRows: 10,
|
4600
|
-
|
4601
4563
|
/**
|
4602
4564
|
* The `width` option configures the width of your grid.
|
4603
4565
|
*
|
@@ -4632,7 +4594,6 @@ var _default = function _default() {
|
|
4632
4594
|
* ```
|
4633
4595
|
*/
|
4634
4596
|
width: void 0,
|
4635
|
-
|
4636
4597
|
/**
|
4637
4598
|
* The `wordWrap` option configures whether content that exceeds a column's width is wrapped or not.
|
4638
4599
|
*
|
@@ -4671,9 +4632,8 @@ var _default = function _default() {
|
|
4671
4632
|
* ```
|
4672
4633
|
*/
|
4673
4634
|
wordWrap: true
|
4674
|
-
/* eslint-enable jsdoc/require-description-complete-sentence */
|
4675
4635
|
|
4636
|
+
/* eslint-enable jsdoc/require-description-complete-sentence */
|
4676
4637
|
};
|
4677
4638
|
};
|
4678
|
-
|
4679
4639
|
exports.default = _default;
|