handsontable 0.0.0-next-9ec04ce-20221121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of handsontable might be problematic. Click here for more details.
- package/3rdparty/SheetClip/SheetClip.js +128 -0
- package/3rdparty/SheetClip/SheetClip.mjs +123 -0
- package/3rdparty/SheetClip/index.js +7 -0
- package/3rdparty/SheetClip/index.mjs +1 -0
- package/3rdparty/autoResize/autoResize.js +164 -0
- package/3rdparty/autoResize/autoResize.mjs +160 -0
- package/3rdparty/autoResize/index.js +6 -0
- package/3rdparty/autoResize/index.mjs +1 -0
- package/3rdparty/walkontable/src/border.js +746 -0
- package/3rdparty/walkontable/src/border.mjs +741 -0
- package/3rdparty/walkontable/src/calculator/constants.js +30 -0
- package/3rdparty/walkontable/src/calculator/constants.mjs +23 -0
- package/3rdparty/walkontable/src/calculator/index.js +22 -0
- package/3rdparty/walkontable/src/calculator/index.mjs +4 -0
- package/3rdparty/walkontable/src/calculator/viewportColumns.d.ts +18 -0
- package/3rdparty/walkontable/src/calculator/viewportColumns.js +297 -0
- package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +292 -0
- package/3rdparty/walkontable/src/calculator/viewportRows.js +175 -0
- package/3rdparty/walkontable/src/calculator/viewportRows.mjs +170 -0
- package/3rdparty/walkontable/src/cell/coords.d.ts +16 -0
- package/3rdparty/walkontable/src/cell/coords.js +185 -0
- package/3rdparty/walkontable/src/cell/coords.mjs +180 -0
- package/3rdparty/walkontable/src/cell/range.d.ts +59 -0
- package/3rdparty/walkontable/src/cell/range.js +888 -0
- package/3rdparty/walkontable/src/cell/range.mjs +882 -0
- package/3rdparty/walkontable/src/core/_base.js +395 -0
- package/3rdparty/walkontable/src/core/_base.mjs +390 -0
- package/3rdparty/walkontable/src/core/clone.js +59 -0
- package/3rdparty/walkontable/src/core/clone.mjs +54 -0
- package/3rdparty/walkontable/src/core/core.js +130 -0
- package/3rdparty/walkontable/src/core/core.mjs +125 -0
- package/3rdparty/walkontable/src/event.js +401 -0
- package/3rdparty/walkontable/src/event.mjs +396 -0
- package/3rdparty/walkontable/src/facade/core.js +236 -0
- package/3rdparty/walkontable/src/facade/core.mjs +231 -0
- package/3rdparty/walkontable/src/filter/column.js +107 -0
- package/3rdparty/walkontable/src/filter/column.mjs +102 -0
- package/3rdparty/walkontable/src/filter/row.js +107 -0
- package/3rdparty/walkontable/src/filter/row.mjs +102 -0
- package/3rdparty/walkontable/src/index.d.ts +1 -0
- package/3rdparty/walkontable/src/index.js +37 -0
- package/3rdparty/walkontable/src/index.mjs +10 -0
- package/3rdparty/walkontable/src/overlay/_base.js +363 -0
- package/3rdparty/walkontable/src/overlay/_base.mjs +357 -0
- package/3rdparty/walkontable/src/overlay/bottom.js +397 -0
- package/3rdparty/walkontable/src/overlay/bottom.mjs +391 -0
- package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.js +140 -0
- package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.mjs +134 -0
- package/3rdparty/walkontable/src/overlay/constants.js +26 -0
- package/3rdparty/walkontable/src/overlay/constants.mjs +15 -0
- package/3rdparty/walkontable/src/overlay/index.js +34 -0
- package/3rdparty/walkontable/src/overlay/index.mjs +7 -0
- package/3rdparty/walkontable/src/overlay/inlineStart.js +385 -0
- package/3rdparty/walkontable/src/overlay/inlineStart.mjs +379 -0
- package/3rdparty/walkontable/src/overlay/top.js +415 -0
- package/3rdparty/walkontable/src/overlay/top.mjs +409 -0
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.js +130 -0
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.mjs +124 -0
- package/3rdparty/walkontable/src/overlays.js +675 -0
- package/3rdparty/walkontable/src/overlays.mjs +670 -0
- package/3rdparty/walkontable/src/renderer/_base.js +83 -0
- package/3rdparty/walkontable/src/renderer/_base.mjs +78 -0
- package/3rdparty/walkontable/src/renderer/cells.js +127 -0
- package/3rdparty/walkontable/src/renderer/cells.mjs +122 -0
- package/3rdparty/walkontable/src/renderer/colGroup.js +101 -0
- package/3rdparty/walkontable/src/renderer/colGroup.mjs +96 -0
- package/3rdparty/walkontable/src/renderer/columnHeaders.js +115 -0
- package/3rdparty/walkontable/src/renderer/columnHeaders.mjs +110 -0
- package/3rdparty/walkontable/src/renderer/index.js +118 -0
- package/3rdparty/walkontable/src/renderer/index.mjs +107 -0
- package/3rdparty/walkontable/src/renderer/rowHeaders.js +119 -0
- package/3rdparty/walkontable/src/renderer/rowHeaders.mjs +114 -0
- package/3rdparty/walkontable/src/renderer/rows.js +99 -0
- package/3rdparty/walkontable/src/renderer/rows.mjs +94 -0
- package/3rdparty/walkontable/src/renderer/table.js +317 -0
- package/3rdparty/walkontable/src/renderer/table.mjs +313 -0
- package/3rdparty/walkontable/src/scroll.js +316 -0
- package/3rdparty/walkontable/src/scroll.mjs +311 -0
- package/3rdparty/walkontable/src/selection.js +349 -0
- package/3rdparty/walkontable/src/selection.mjs +343 -0
- package/3rdparty/walkontable/src/settings.js +306 -0
- package/3rdparty/walkontable/src/settings.mjs +302 -0
- package/3rdparty/walkontable/src/table/bottom.js +56 -0
- package/3rdparty/walkontable/src/table/bottom.mjs +50 -0
- package/3rdparty/walkontable/src/table/bottomInlineStartCorner.js +57 -0
- package/3rdparty/walkontable/src/table/bottomInlineStartCorner.mjs +51 -0
- package/3rdparty/walkontable/src/table/inlineStart.js +53 -0
- package/3rdparty/walkontable/src/table/inlineStart.mjs +47 -0
- package/3rdparty/walkontable/src/table/master.js +132 -0
- package/3rdparty/walkontable/src/table/master.mjs +126 -0
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.js +93 -0
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.mjs +88 -0
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.js +93 -0
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.mjs +88 -0
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.js +85 -0
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.mjs +80 -0
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.js +90 -0
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.mjs +85 -0
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.js +85 -0
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.mjs +80 -0
- package/3rdparty/walkontable/src/table/top.js +56 -0
- package/3rdparty/walkontable/src/table/top.mjs +50 -0
- package/3rdparty/walkontable/src/table/topInlineStartCorner.js +57 -0
- package/3rdparty/walkontable/src/table/topInlineStartCorner.mjs +51 -0
- package/3rdparty/walkontable/src/table.js +1171 -0
- package/3rdparty/walkontable/src/table.mjs +1165 -0
- package/3rdparty/walkontable/src/types.js +98 -0
- package/3rdparty/walkontable/src/types.mjs +97 -0
- package/3rdparty/walkontable/src/utils/column.js +121 -0
- package/3rdparty/walkontable/src/utils/column.mjs +117 -0
- package/3rdparty/walkontable/src/utils/nodesPool.js +48 -0
- package/3rdparty/walkontable/src/utils/nodesPool.mjs +44 -0
- package/3rdparty/walkontable/src/utils/orderView/constants.js +30 -0
- package/3rdparty/walkontable/src/utils/orderView/constants.mjs +23 -0
- package/3rdparty/walkontable/src/utils/orderView/index.js +8 -0
- package/3rdparty/walkontable/src/utils/orderView/index.mjs +3 -0
- package/3rdparty/walkontable/src/utils/orderView/sharedView.js +81 -0
- package/3rdparty/walkontable/src/utils/orderView/sharedView.mjs +76 -0
- package/3rdparty/walkontable/src/utils/orderView/view.js +216 -0
- package/3rdparty/walkontable/src/utils/orderView/view.mjs +211 -0
- package/3rdparty/walkontable/src/utils/orderView/viewSize.js +68 -0
- package/3rdparty/walkontable/src/utils/orderView/viewSize.mjs +64 -0
- package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.js +137 -0
- package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.mjs +132 -0
- package/3rdparty/walkontable/src/utils/row.js +43 -0
- package/3rdparty/walkontable/src/utils/row.mjs +39 -0
- package/3rdparty/walkontable/src/viewport.js +491 -0
- package/3rdparty/walkontable/src/viewport.mjs +486 -0
- package/CHANGELOG.md +716 -0
- package/LICENSE.txt +25 -0
- package/README.md +140 -0
- package/base.d.ts +3 -0
- package/base.js +54 -0
- package/base.mjs +44 -0
- package/cellTypes/autocompleteType/autocompleteType.d.ts +17 -0
- package/cellTypes/autocompleteType/autocompleteType.js +16 -0
- package/cellTypes/autocompleteType/autocompleteType.mjs +10 -0
- package/cellTypes/autocompleteType/index.d.ts +1 -0
- package/cellTypes/autocompleteType/index.js +7 -0
- package/cellTypes/autocompleteType/index.mjs +1 -0
- package/cellTypes/base.d.ts +14 -0
- package/cellTypes/checkboxType/checkboxType.d.ts +14 -0
- package/cellTypes/checkboxType/checkboxType.js +14 -0
- package/cellTypes/checkboxType/checkboxType.mjs +8 -0
- package/cellTypes/checkboxType/index.d.ts +1 -0
- package/cellTypes/checkboxType/index.js +7 -0
- package/cellTypes/checkboxType/index.mjs +1 -0
- package/cellTypes/dateType/dateType.d.ts +17 -0
- package/cellTypes/dateType/dateType.js +17 -0
- package/cellTypes/dateType/dateType.mjs +11 -0
- package/cellTypes/dateType/index.d.ts +1 -0
- package/cellTypes/dateType/index.js +7 -0
- package/cellTypes/dateType/index.mjs +1 -0
- package/cellTypes/dropdownType/dropdownType.d.ts +17 -0
- package/cellTypes/dropdownType/dropdownType.js +17 -0
- package/cellTypes/dropdownType/dropdownType.mjs +11 -0
- package/cellTypes/dropdownType/index.d.ts +1 -0
- package/cellTypes/dropdownType/index.js +7 -0
- package/cellTypes/dropdownType/index.mjs +1 -0
- package/cellTypes/handsontableType/handsontableType.d.ts +14 -0
- package/cellTypes/handsontableType/handsontableType.js +15 -0
- package/cellTypes/handsontableType/handsontableType.mjs +9 -0
- package/cellTypes/handsontableType/index.d.ts +1 -0
- package/cellTypes/handsontableType/index.js +7 -0
- package/cellTypes/handsontableType/index.mjs +1 -0
- package/cellTypes/index.d.ts +47 -0
- package/cellTypes/index.js +52 -0
- package/cellTypes/index.mjs +26 -0
- package/cellTypes/numericType/index.d.ts +1 -0
- package/cellTypes/numericType/index.js +7 -0
- package/cellTypes/numericType/index.mjs +1 -0
- package/cellTypes/numericType/numericType.d.ts +17 -0
- package/cellTypes/numericType/numericType.js +17 -0
- package/cellTypes/numericType/numericType.mjs +11 -0
- package/cellTypes/passwordType/index.d.ts +1 -0
- package/cellTypes/passwordType/index.js +7 -0
- package/cellTypes/passwordType/index.mjs +1 -0
- package/cellTypes/passwordType/passwordType.d.ts +14 -0
- package/cellTypes/passwordType/passwordType.js +15 -0
- package/cellTypes/passwordType/passwordType.mjs +9 -0
- package/cellTypes/registry.d.ts +18 -0
- package/cellTypes/registry.js +60 -0
- package/cellTypes/registry.mjs +51 -0
- package/cellTypes/textType/index.d.ts +1 -0
- package/cellTypes/textType/index.js +7 -0
- package/cellTypes/textType/index.mjs +1 -0
- package/cellTypes/textType/textType.d.ts +14 -0
- package/cellTypes/textType/textType.js +14 -0
- package/cellTypes/textType/textType.mjs +8 -0
- package/cellTypes/timeType/index.d.ts +1 -0
- package/cellTypes/timeType/index.js +7 -0
- package/cellTypes/timeType/index.mjs +1 -0
- package/cellTypes/timeType/timeType.d.ts +17 -0
- package/cellTypes/timeType/timeType.js +16 -0
- package/cellTypes/timeType/timeType.mjs +10 -0
- package/common.d.ts +74 -0
- package/core.d.ts +167 -0
- package/core.js +4684 -0
- package/core.mjs +4679 -0
- package/dataMap/dataMap.js +975 -0
- package/dataMap/dataMap.mjs +970 -0
- package/dataMap/dataSource.js +325 -0
- package/dataMap/dataSource.mjs +320 -0
- package/dataMap/index.js +16 -0
- package/dataMap/index.mjs +7 -0
- package/dataMap/metaManager/index.js +339 -0
- package/dataMap/metaManager/index.mjs +334 -0
- package/dataMap/metaManager/lazyFactoryMap.js +370 -0
- package/dataMap/metaManager/lazyFactoryMap.mjs +366 -0
- package/dataMap/metaManager/metaLayers/cellMeta.js +275 -0
- package/dataMap/metaManager/metaLayers/cellMeta.mjs +270 -0
- package/dataMap/metaManager/metaLayers/columnMeta.js +153 -0
- package/dataMap/metaManager/metaLayers/columnMeta.mjs +148 -0
- package/dataMap/metaManager/metaLayers/globalMeta.js +103 -0
- package/dataMap/metaManager/metaLayers/globalMeta.mjs +98 -0
- package/dataMap/metaManager/metaLayers/tableMeta.js +73 -0
- package/dataMap/metaManager/metaLayers/tableMeta.mjs +69 -0
- package/dataMap/metaManager/metaSchema.js +4610 -0
- package/dataMap/metaManager/metaSchema.mjs +4605 -0
- package/dataMap/metaManager/mods/dynamicCellMeta.js +107 -0
- package/dataMap/metaManager/mods/dynamicCellMeta.mjs +101 -0
- package/dataMap/metaManager/mods/extendMetaProperties.js +104 -0
- package/dataMap/metaManager/mods/extendMetaProperties.mjs +99 -0
- package/dataMap/metaManager/utils.js +99 -0
- package/dataMap/metaManager/utils.mjs +91 -0
- package/dataMap/replaceData.js +119 -0
- package/dataMap/replaceData.mjs +115 -0
- package/dist/README.md +54 -0
- package/dist/handsontable.css +1941 -0
- package/dist/handsontable.full.css +2172 -0
- package/dist/handsontable.full.js +150392 -0
- package/dist/handsontable.full.min.css +47 -0
- package/dist/handsontable.full.min.js +869 -0
- package/dist/handsontable.js +94075 -0
- package/dist/handsontable.min.css +43 -0
- package/dist/handsontable.min.js +31 -0
- package/dist/languages/all.js +583 -0
- package/dist/languages/all.min.js +1 -0
- package/dist/languages/ar-AR.js +157 -0
- package/dist/languages/ar-AR.min.js +1 -0
- package/dist/languages/cs-CZ.js +157 -0
- package/dist/languages/cs-CZ.min.js +1 -0
- package/dist/languages/de-CH.js +158 -0
- package/dist/languages/de-CH.min.js +1 -0
- package/dist/languages/de-DE.js +159 -0
- package/dist/languages/de-DE.min.js +1 -0
- package/dist/languages/en-US.js +160 -0
- package/dist/languages/en-US.min.js +1 -0
- package/dist/languages/es-MX.js +161 -0
- package/dist/languages/es-MX.min.js +1 -0
- package/dist/languages/fr-FR.js +162 -0
- package/dist/languages/fr-FR.min.js +1 -0
- package/dist/languages/it-IT.js +164 -0
- package/dist/languages/it-IT.min.js +1 -0
- package/dist/languages/ja-JP.js +161 -0
- package/dist/languages/ja-JP.min.js +1 -0
- package/dist/languages/ko-KR.js +161 -0
- package/dist/languages/ko-KR.min.js +1 -0
- package/dist/languages/lv-LV.js +161 -0
- package/dist/languages/lv-LV.min.js +1 -0
- package/dist/languages/nb-NO.js +161 -0
- package/dist/languages/nb-NO.min.js +1 -0
- package/dist/languages/nl-NL.js +161 -0
- package/dist/languages/nl-NL.min.js +1 -0
- package/dist/languages/pl-PL.js +161 -0
- package/dist/languages/pl-PL.min.js +1 -0
- package/dist/languages/pt-BR.js +161 -0
- package/dist/languages/pt-BR.min.js +1 -0
- package/dist/languages/ru-RU.js +161 -0
- package/dist/languages/ru-RU.min.js +1 -0
- package/dist/languages/sr-SP.js +161 -0
- package/dist/languages/sr-SP.min.js +1 -0
- package/dist/languages/zh-CN.js +161 -0
- package/dist/languages/zh-CN.min.js +1 -0
- package/dist/languages/zh-TW.js +161 -0
- package/dist/languages/zh-TW.min.js +1 -0
- package/editorManager.js +522 -0
- package/editorManager.mjs +514 -0
- package/editors/autocompleteEditor/autocompleteEditor.d.ts +29 -0
- package/editors/autocompleteEditor/autocompleteEditor.js +584 -0
- package/editors/autocompleteEditor/autocompleteEditor.mjs +578 -0
- package/editors/autocompleteEditor/index.d.ts +1 -0
- package/editors/autocompleteEditor/index.js +7 -0
- package/editors/autocompleteEditor/index.mjs +1 -0
- package/editors/baseEditor/baseEditor.d.ts +45 -0
- package/editors/baseEditor/baseEditor.js +688 -0
- package/editors/baseEditor/baseEditor.mjs +679 -0
- package/editors/baseEditor/index.d.ts +1 -0
- package/editors/baseEditor/index.js +8 -0
- package/editors/baseEditor/index.mjs +1 -0
- package/editors/checkboxEditor/checkboxEditor.d.ts +12 -0
- package/editors/checkboxEditor/checkboxEditor.js +85 -0
- package/editors/checkboxEditor/checkboxEditor.mjs +79 -0
- package/editors/checkboxEditor/index.d.ts +1 -0
- package/editors/checkboxEditor/index.js +7 -0
- package/editors/checkboxEditor/index.mjs +1 -0
- package/editors/dateEditor/dateEditor.d.ts +18 -0
- package/editors/dateEditor/dateEditor.js +325 -0
- package/editors/dateEditor/dateEditor.mjs +318 -0
- package/editors/dateEditor/index.d.ts +1 -0
- package/editors/dateEditor/index.js +7 -0
- package/editors/dateEditor/index.mjs +1 -0
- package/editors/dropdownEditor/dropdownEditor.d.ts +7 -0
- package/editors/dropdownEditor/dropdownEditor.js +81 -0
- package/editors/dropdownEditor/dropdownEditor.mjs +74 -0
- package/editors/dropdownEditor/index.d.ts +1 -0
- package/editors/dropdownEditor/index.js +7 -0
- package/editors/dropdownEditor/index.mjs +1 -0
- package/editors/handsontableEditor/handsontableEditor.d.ts +10 -0
- package/editors/handsontableEditor/handsontableEditor.js +306 -0
- package/editors/handsontableEditor/handsontableEditor.mjs +300 -0
- package/editors/handsontableEditor/index.d.ts +1 -0
- package/editors/handsontableEditor/index.js +7 -0
- package/editors/handsontableEditor/index.mjs +1 -0
- package/editors/index.d.ts +56 -0
- package/editors/index.js +63 -0
- package/editors/index.mjs +30 -0
- package/editors/numericEditor/index.d.ts +1 -0
- package/editors/numericEditor/index.js +7 -0
- package/editors/numericEditor/index.mjs +1 -0
- package/editors/numericEditor/numericEditor.d.ts +7 -0
- package/editors/numericEditor/numericEditor.js +49 -0
- package/editors/numericEditor/numericEditor.mjs +43 -0
- package/editors/passwordEditor/index.d.ts +1 -0
- package/editors/passwordEditor/index.js +7 -0
- package/editors/passwordEditor/index.mjs +1 -0
- package/editors/passwordEditor/passwordEditor.d.ts +7 -0
- package/editors/passwordEditor/passwordEditor.js +68 -0
- package/editors/passwordEditor/passwordEditor.mjs +62 -0
- package/editors/registry.d.ts +29 -0
- package/editors/registry.js +106 -0
- package/editors/registry.mjs +94 -0
- package/editors/selectEditor/index.d.ts +1 -0
- package/editors/selectEditor/index.js +7 -0
- package/editors/selectEditor/index.mjs +1 -0
- package/editors/selectEditor/selectEditor.d.ts +16 -0
- package/editors/selectEditor/selectEditor.js +302 -0
- package/editors/selectEditor/selectEditor.mjs +296 -0
- package/editors/textEditor/caretPositioner.js +37 -0
- package/editors/textEditor/caretPositioner.mjs +33 -0
- package/editors/textEditor/index.d.ts +1 -0
- package/editors/textEditor/index.js +7 -0
- package/editors/textEditor/index.mjs +1 -0
- package/editors/textEditor/textEditor.d.ts +24 -0
- package/editors/textEditor/textEditor.js +612 -0
- package/editors/textEditor/textEditor.mjs +605 -0
- package/editors/timeEditor/index.d.ts +1 -0
- package/editors/timeEditor/index.js +7 -0
- package/editors/timeEditor/index.mjs +1 -0
- package/editors/timeEditor/timeEditor.d.ts +7 -0
- package/editors/timeEditor/timeEditor.js +70 -0
- package/editors/timeEditor/timeEditor.mjs +64 -0
- package/eventManager.d.ts +13 -0
- package/eventManager.js +236 -0
- package/eventManager.mjs +231 -0
- package/handsontable-non-commercial-license.pdf +0 -0
- package/helpers/array.d.ts +18 -0
- package/helpers/array.js +353 -0
- package/helpers/array.mjs +333 -0
- package/helpers/browser.d.ts +25 -0
- package/helpers/browser.js +231 -0
- package/helpers/browser.mjs +210 -0
- package/helpers/console.d.ts +4 -0
- package/helpers/console.js +65 -0
- package/helpers/console.mjs +56 -0
- package/helpers/data.d.ts +12 -0
- package/helpers/data.js +247 -0
- package/helpers/data.mjs +234 -0
- package/helpers/date.d.ts +1 -0
- package/helpers/date.js +22 -0
- package/helpers/date.mjs +18 -0
- package/helpers/dom/element.d.ts +49 -0
- package/helpers/dom/element.js +1117 -0
- package/helpers/dom/element.mjs +1064 -0
- package/helpers/dom/event.d.ts +4 -0
- package/helpers/dom/event.js +46 -0
- package/helpers/dom/event.mjs +39 -0
- package/helpers/dom/index.d.ts +2 -0
- package/helpers/feature.d.ts +11 -0
- package/helpers/feature.js +184 -0
- package/helpers/feature.mjs +172 -0
- package/helpers/function.d.ts +10 -0
- package/helpers/function.js +319 -0
- package/helpers/function.mjs +307 -0
- package/helpers/index.d.ts +14 -0
- package/helpers/mixed.d.ts +5 -0
- package/helpers/mixed.js +230 -0
- package/helpers/mixed.mjs +220 -0
- package/helpers/number.d.ts +5 -0
- package/helpers/number.js +142 -0
- package/helpers/number.mjs +134 -0
- package/helpers/object.d.ts +16 -0
- package/helpers/object.js +371 -0
- package/helpers/object.mjs +352 -0
- package/helpers/string.d.ts +7 -0
- package/helpers/string.js +115 -0
- package/helpers/string.mjs +104 -0
- package/helpers/templateLiteralTag.d.ts +1 -0
- package/helpers/templateLiteralTag.js +26 -0
- package/helpers/templateLiteralTag.mjs +22 -0
- package/helpers/unicode.d.ts +73 -0
- package/helpers/unicode.js +158 -0
- package/helpers/unicode.mjs +148 -0
- package/helpers/wrappers/jquery.js +50 -0
- package/helpers/wrappers/jquery.mjs +46 -0
- package/i18n/constants.js +162 -0
- package/i18n/constants.mjs +82 -0
- package/i18n/index.d.ts +2 -0
- package/i18n/index.js +18 -0
- package/i18n/index.mjs +2 -0
- package/i18n/languages/ar-AR.js +25 -0
- package/i18n/languages/ar-AR.mjs +15 -0
- package/i18n/languages/cs-CZ.js +24 -0
- package/i18n/languages/cs-CZ.mjs +14 -0
- package/i18n/languages/de-CH.d.ts +5 -0
- package/i18n/languages/de-CH.js +24 -0
- package/i18n/languages/de-CH.mjs +14 -0
- package/i18n/languages/de-DE.d.ts +5 -0
- package/i18n/languages/de-DE.js +24 -0
- package/i18n/languages/de-DE.mjs +14 -0
- package/i18n/languages/en-US.d.ts +5 -0
- package/i18n/languages/en-US.js +24 -0
- package/i18n/languages/en-US.mjs +14 -0
- package/i18n/languages/es-MX.d.ts +5 -0
- package/i18n/languages/es-MX.js +24 -0
- package/i18n/languages/es-MX.mjs +13 -0
- package/i18n/languages/fr-FR.d.ts +5 -0
- package/i18n/languages/fr-FR.js +24 -0
- package/i18n/languages/fr-FR.mjs +14 -0
- package/i18n/languages/index.d.ts +35 -0
- package/i18n/languages/index.js +42 -0
- package/i18n/languages/index.mjs +20 -0
- package/i18n/languages/it-IT.d.ts +5 -0
- package/i18n/languages/it-IT.js +24 -0
- package/i18n/languages/it-IT.mjs +14 -0
- package/i18n/languages/ja-JP.d.ts +5 -0
- package/i18n/languages/ja-JP.js +24 -0
- package/i18n/languages/ja-JP.mjs +14 -0
- package/i18n/languages/ko-KR.d.ts +5 -0
- package/i18n/languages/ko-KR.js +24 -0
- package/i18n/languages/ko-KR.mjs +14 -0
- package/i18n/languages/lv-LV.d.ts +5 -0
- package/i18n/languages/lv-LV.js +24 -0
- package/i18n/languages/lv-LV.mjs +14 -0
- package/i18n/languages/nb-NO.d.ts +5 -0
- package/i18n/languages/nb-NO.js +24 -0
- package/i18n/languages/nb-NO.mjs +14 -0
- package/i18n/languages/nl-NL.d.ts +5 -0
- package/i18n/languages/nl-NL.js +24 -0
- package/i18n/languages/nl-NL.mjs +14 -0
- package/i18n/languages/pl-PL.d.ts +5 -0
- package/i18n/languages/pl-PL.js +24 -0
- package/i18n/languages/pl-PL.mjs +14 -0
- package/i18n/languages/pt-BR.d.ts +5 -0
- package/i18n/languages/pt-BR.js +24 -0
- package/i18n/languages/pt-BR.mjs +14 -0
- package/i18n/languages/ru-RU.d.ts +5 -0
- package/i18n/languages/ru-RU.js +24 -0
- package/i18n/languages/ru-RU.mjs +14 -0
- package/i18n/languages/sr-SP.js +24 -0
- package/i18n/languages/sr-SP.mjs +14 -0
- package/i18n/languages/zh-CN.d.ts +5 -0
- package/i18n/languages/zh-CN.js +24 -0
- package/i18n/languages/zh-CN.mjs +14 -0
- package/i18n/languages/zh-TW.d.ts +5 -0
- package/i18n/languages/zh-TW.js +24 -0
- package/i18n/languages/zh-TW.mjs +14 -0
- package/i18n/phraseFormatters/index.js +31 -0
- package/i18n/phraseFormatters/index.mjs +26 -0
- package/i18n/phraseFormatters/pluralize.js +21 -0
- package/i18n/phraseFormatters/pluralize.mjs +17 -0
- package/i18n/phraseFormatters/substituteVariables.js +22 -0
- package/i18n/phraseFormatters/substituteVariables.mjs +18 -0
- package/i18n/registry.d.ts +13 -0
- package/i18n/registry.js +180 -0
- package/i18n/registry.mjs +155 -0
- package/i18n/utils.js +90 -0
- package/i18n/utils.mjs +83 -0
- package/index.d.ts +520 -0
- package/index.js +130 -0
- package/index.mjs +112 -0
- package/languages/all.js +583 -0
- package/languages/ar-AR.js +157 -0
- package/languages/ar-AR.mjs +17 -0
- package/languages/cs-CZ.js +157 -0
- package/languages/cs-CZ.mjs +16 -0
- package/languages/de-CH.js +158 -0
- package/languages/de-CH.mjs +16 -0
- package/languages/de-DE.js +159 -0
- package/languages/de-DE.mjs +16 -0
- package/languages/en-US.js +160 -0
- package/languages/en-US.mjs +16 -0
- package/languages/es-MX.js +161 -0
- package/languages/es-MX.mjs +15 -0
- package/languages/fr-FR.js +162 -0
- package/languages/fr-FR.mjs +16 -0
- package/languages/index.js +583 -0
- package/languages/index.mjs +20 -0
- package/languages/it-IT.js +164 -0
- package/languages/it-IT.mjs +16 -0
- package/languages/ja-JP.js +161 -0
- package/languages/ja-JP.mjs +16 -0
- package/languages/ko-KR.js +161 -0
- package/languages/ko-KR.mjs +16 -0
- package/languages/lv-LV.js +161 -0
- package/languages/lv-LV.mjs +16 -0
- package/languages/nb-NO.js +161 -0
- package/languages/nb-NO.mjs +16 -0
- package/languages/nl-NL.js +161 -0
- package/languages/nl-NL.mjs +16 -0
- package/languages/pl-PL.js +161 -0
- package/languages/pl-PL.mjs +16 -0
- package/languages/pt-BR.js +161 -0
- package/languages/pt-BR.mjs +16 -0
- package/languages/ru-RU.js +161 -0
- package/languages/ru-RU.mjs +16 -0
- package/languages/sr-SP.js +161 -0
- package/languages/sr-SP.mjs +16 -0
- package/languages/zh-CN.js +161 -0
- package/languages/zh-CN.mjs +16 -0
- package/languages/zh-TW.js +161 -0
- package/languages/zh-TW.mjs +16 -0
- package/mixins/hooksRefRegisterer.js +61 -0
- package/mixins/hooksRefRegisterer.mjs +56 -0
- package/mixins/localHooks.js +71 -0
- package/mixins/localHooks.mjs +66 -0
- package/package.json +751 -0
- package/pluginHooks.d.ts +256 -0
- package/pluginHooks.js +2750 -0
- package/pluginHooks.mjs +2744 -0
- package/plugins/autoColumnSize/autoColumnSize.d.ts +27 -0
- package/plugins/autoColumnSize/autoColumnSize.js +796 -0
- package/plugins/autoColumnSize/autoColumnSize.mjs +788 -0
- package/plugins/autoColumnSize/index.d.ts +1 -0
- package/plugins/autoColumnSize/index.js +8 -0
- package/plugins/autoColumnSize/index.mjs +1 -0
- package/plugins/autoRowSize/autoRowSize.d.ts +27 -0
- package/plugins/autoRowSize/autoRowSize.js +735 -0
- package/plugins/autoRowSize/autoRowSize.mjs +727 -0
- package/plugins/autoRowSize/index.d.ts +1 -0
- package/plugins/autoRowSize/index.js +8 -0
- package/plugins/autoRowSize/index.mjs +1 -0
- package/plugins/autofill/autofill.d.ts +18 -0
- package/plugins/autofill/autofill.js +694 -0
- package/plugins/autofill/autofill.mjs +687 -0
- package/plugins/autofill/index.d.ts +1 -0
- package/plugins/autofill/index.js +8 -0
- package/plugins/autofill/index.mjs +1 -0
- package/plugins/autofill/utils.js +134 -0
- package/plugins/autofill/utils.mjs +126 -0
- package/plugins/base/base.d.ts +27 -0
- package/plugins/base/base.js +345 -0
- package/plugins/base/base.mjs +339 -0
- package/plugins/base/index.d.ts +1 -0
- package/plugins/base/index.js +7 -0
- package/plugins/base/index.mjs +1 -0
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.d.ts +9 -0
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +169 -0
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.mjs +161 -0
- package/plugins/bindRowsWithHeaders/index.d.ts +1 -0
- package/plugins/bindRowsWithHeaders/index.js +8 -0
- package/plugins/bindRowsWithHeaders/index.mjs +1 -0
- package/plugins/bindRowsWithHeaders/maps/looseBindsMap.js +80 -0
- package/plugins/bindRowsWithHeaders/maps/looseBindsMap.mjs +75 -0
- package/plugins/bindRowsWithHeaders/maps/strictBindsMap.js +103 -0
- package/plugins/bindRowsWithHeaders/maps/strictBindsMap.mjs +98 -0
- package/plugins/collapsibleColumns/collapsibleColumns.d.ts +22 -0
- package/plugins/collapsibleColumns/collapsibleColumns.js +592 -0
- package/plugins/collapsibleColumns/collapsibleColumns.mjs +584 -0
- package/plugins/collapsibleColumns/index.d.ts +1 -0
- package/plugins/collapsibleColumns/index.js +8 -0
- package/plugins/collapsibleColumns/index.mjs +1 -0
- package/plugins/columnSorting/columnSorting.d.ts +30 -0
- package/plugins/columnSorting/columnSorting.js +865 -0
- package/plugins/columnSorting/columnSorting.mjs +857 -0
- package/plugins/columnSorting/columnStatesManager.js +273 -0
- package/plugins/columnSorting/columnStatesManager.mjs +268 -0
- package/plugins/columnSorting/domHelpers.js +54 -0
- package/plugins/columnSorting/domHelpers.mjs +49 -0
- package/plugins/columnSorting/index.d.ts +1 -0
- package/plugins/columnSorting/index.js +8 -0
- package/plugins/columnSorting/index.mjs +1 -0
- package/plugins/columnSorting/rootComparator.js +52 -0
- package/plugins/columnSorting/rootComparator.mjs +48 -0
- package/plugins/columnSorting/sortFunction/checkbox.js +64 -0
- package/plugins/columnSorting/sortFunction/checkbox.mjs +58 -0
- package/plugins/columnSorting/sortFunction/date.js +61 -0
- package/plugins/columnSorting/sortFunction/date.mjs +54 -0
- package/plugins/columnSorting/sortFunction/default.js +65 -0
- package/plugins/columnSorting/sortFunction/default.mjs +59 -0
- package/plugins/columnSorting/sortFunction/numeric.js +49 -0
- package/plugins/columnSorting/sortFunction/numeric.mjs +43 -0
- package/plugins/columnSorting/sortService/engine.js +26 -0
- package/plugins/columnSorting/sortService/engine.mjs +18 -0
- package/plugins/columnSorting/sortService/index.js +13 -0
- package/plugins/columnSorting/sortService/index.mjs +3 -0
- package/plugins/columnSorting/sortService/registry.js +37 -0
- package/plugins/columnSorting/sortService/registry.mjs +30 -0
- package/plugins/columnSorting/utils.js +122 -0
- package/plugins/columnSorting/utils.mjs +110 -0
- package/plugins/columnSummary/columnSummary.d.ts +72 -0
- package/plugins/columnSummary/columnSummary.js +544 -0
- package/plugins/columnSummary/columnSummary.mjs +536 -0
- package/plugins/columnSummary/endpoints.js +557 -0
- package/plugins/columnSummary/endpoints.mjs +552 -0
- package/plugins/columnSummary/index.d.ts +1 -0
- package/plugins/columnSummary/index.js +8 -0
- package/plugins/columnSummary/index.mjs +1 -0
- package/plugins/columnSummary/utils.js +13 -0
- package/plugins/columnSummary/utils.mjs +9 -0
- package/plugins/comments/commentEditor.js +241 -0
- package/plugins/comments/commentEditor.mjs +236 -0
- package/plugins/comments/comments.d.ts +50 -0
- package/plugins/comments/comments.js +942 -0
- package/plugins/comments/comments.mjs +932 -0
- package/plugins/comments/displaySwitch.js +115 -0
- package/plugins/comments/displaySwitch.mjs +109 -0
- package/plugins/comments/index.d.ts +1 -0
- package/plugins/comments/index.js +8 -0
- package/plugins/comments/index.mjs +1 -0
- package/plugins/contextMenu/commandExecutor.js +113 -0
- package/plugins/contextMenu/commandExecutor.mjs +108 -0
- package/plugins/contextMenu/contextMenu.d.ts +65 -0
- package/plugins/contextMenu/contextMenu.js +445 -0
- package/plugins/contextMenu/contextMenu.mjs +437 -0
- package/plugins/contextMenu/cursor.js +126 -0
- package/plugins/contextMenu/cursor.mjs +121 -0
- package/plugins/contextMenu/index.d.ts +1 -0
- package/plugins/contextMenu/index.js +8 -0
- package/plugins/contextMenu/index.mjs +1 -0
- package/plugins/contextMenu/itemsFactory.js +136 -0
- package/plugins/contextMenu/itemsFactory.mjs +131 -0
- package/plugins/contextMenu/menu.js +1003 -0
- package/plugins/contextMenu/menu.mjs +997 -0
- package/plugins/contextMenu/predefinedItems/alignment.js +277 -0
- package/plugins/contextMenu/predefinedItems/alignment.mjs +259 -0
- package/plugins/contextMenu/predefinedItems/clearColumn.js +47 -0
- package/plugins/contextMenu/predefinedItems/clearColumn.mjs +29 -0
- package/plugins/contextMenu/predefinedItems/columnLeft.js +57 -0
- package/plugins/contextMenu/predefinedItems/columnLeft.mjs +39 -0
- package/plugins/contextMenu/predefinedItems/columnRight.js +55 -0
- package/plugins/contextMenu/predefinedItems/columnRight.mjs +37 -0
- package/plugins/contextMenu/predefinedItems/noItems.js +22 -0
- package/plugins/contextMenu/predefinedItems/noItems.mjs +16 -0
- package/plugins/contextMenu/predefinedItems/readOnly.js +69 -0
- package/plugins/contextMenu/predefinedItems/readOnly.mjs +51 -0
- package/plugins/contextMenu/predefinedItems/redo.js +42 -0
- package/plugins/contextMenu/predefinedItems/redo.mjs +24 -0
- package/plugins/contextMenu/predefinedItems/removeColumn.js +79 -0
- package/plugins/contextMenu/predefinedItems/removeColumn.mjs +68 -0
- package/plugins/contextMenu/predefinedItems/removeRow.js +78 -0
- package/plugins/contextMenu/predefinedItems/removeRow.mjs +67 -0
- package/plugins/contextMenu/predefinedItems/rowAbove.js +53 -0
- package/plugins/contextMenu/predefinedItems/rowAbove.mjs +35 -0
- package/plugins/contextMenu/predefinedItems/rowBelow.js +51 -0
- package/plugins/contextMenu/predefinedItems/rowBelow.mjs +33 -0
- package/plugins/contextMenu/predefinedItems/separator.js +16 -0
- package/plugins/contextMenu/predefinedItems/separator.mjs +10 -0
- package/plugins/contextMenu/predefinedItems/undo.js +42 -0
- package/plugins/contextMenu/predefinedItems/undo.mjs +24 -0
- package/plugins/contextMenu/predefinedItems.js +76 -0
- package/plugins/contextMenu/predefinedItems.mjs +57 -0
- package/plugins/contextMenu/utils.js +278 -0
- package/plugins/contextMenu/utils.mjs +261 -0
- package/plugins/copyPaste/clipboardData.js +29 -0
- package/plugins/copyPaste/clipboardData.mjs +25 -0
- package/plugins/copyPaste/contextMenuItem/copy.js +45 -0
- package/plugins/copyPaste/contextMenuItem/copy.mjs +29 -0
- package/plugins/copyPaste/contextMenuItem/cut.js +45 -0
- package/plugins/copyPaste/contextMenuItem/cut.mjs +29 -0
- package/plugins/copyPaste/copyPaste.d.ts +35 -0
- package/plugins/copyPaste/copyPaste.js +721 -0
- package/plugins/copyPaste/copyPaste.mjs +713 -0
- package/plugins/copyPaste/focusableElement.js +210 -0
- package/plugins/copyPaste/focusableElement.mjs +204 -0
- package/plugins/copyPaste/index.d.ts +1 -0
- package/plugins/copyPaste/index.js +8 -0
- package/plugins/copyPaste/index.mjs +1 -0
- package/plugins/copyPaste/pasteEvent.js +17 -0
- package/plugins/copyPaste/pasteEvent.mjs +12 -0
- package/plugins/customBorders/contextMenuItem/bottom.js +39 -0
- package/plugins/customBorders/contextMenuItem/bottom.mjs +23 -0
- package/plugins/customBorders/contextMenuItem/index.js +14 -0
- package/plugins/customBorders/contextMenuItem/index.mjs +6 -0
- package/plugins/customBorders/contextMenuItem/left.js +40 -0
- package/plugins/customBorders/contextMenuItem/left.mjs +24 -0
- package/plugins/customBorders/contextMenuItem/noBorders.js +36 -0
- package/plugins/customBorders/contextMenuItem/noBorders.mjs +20 -0
- package/plugins/customBorders/contextMenuItem/right.js +40 -0
- package/plugins/customBorders/contextMenuItem/right.mjs +24 -0
- package/plugins/customBorders/contextMenuItem/top.js +39 -0
- package/plugins/customBorders/contextMenuItem/top.mjs +23 -0
- package/plugins/customBorders/customBorders.d.ts +38 -0
- package/plugins/customBorders/customBorders.js +887 -0
- package/plugins/customBorders/customBorders.mjs +877 -0
- package/plugins/customBorders/index.d.ts +1 -0
- package/plugins/customBorders/index.js +8 -0
- package/plugins/customBorders/index.mjs +1 -0
- package/plugins/customBorders/utils.js +265 -0
- package/plugins/customBorders/utils.mjs +249 -0
- package/plugins/dragToScroll/dragToScroll.d.ts +15 -0
- package/plugins/dragToScroll/dragToScroll.js +335 -0
- package/plugins/dragToScroll/dragToScroll.mjs +327 -0
- package/plugins/dragToScroll/index.d.ts +1 -0
- package/plugins/dragToScroll/index.js +8 -0
- package/plugins/dragToScroll/index.mjs +1 -0
- package/plugins/dropdownMenu/dropdownMenu.d.ts +24 -0
- package/plugins/dropdownMenu/dropdownMenu.js +511 -0
- package/plugins/dropdownMenu/dropdownMenu.mjs +504 -0
- package/plugins/dropdownMenu/index.d.ts +1 -0
- package/plugins/dropdownMenu/index.js +8 -0
- package/plugins/dropdownMenu/index.mjs +1 -0
- package/plugins/exportFile/dataProvider.js +200 -0
- package/plugins/exportFile/dataProvider.mjs +195 -0
- package/plugins/exportFile/exportFile.d.ts +12 -0
- package/plugins/exportFile/exportFile.js +262 -0
- package/plugins/exportFile/exportFile.mjs +250 -0
- package/plugins/exportFile/index.d.ts +1 -0
- package/plugins/exportFile/index.js +8 -0
- package/plugins/exportFile/index.mjs +1 -0
- package/plugins/exportFile/typeFactory.js +30 -0
- package/plugins/exportFile/typeFactory.mjs +21 -0
- package/plugins/exportFile/types/_base.js +78 -0
- package/plugins/exportFile/types/_base.mjs +73 -0
- package/plugins/exportFile/types/csv.js +131 -0
- package/plugins/exportFile/types/csv.mjs +125 -0
- package/plugins/filters/component/_base.js +169 -0
- package/plugins/filters/component/_base.mjs +163 -0
- package/plugins/filters/component/actionBar.js +161 -0
- package/plugins/filters/component/actionBar.mjs +151 -0
- package/plugins/filters/component/condition.js +325 -0
- package/plugins/filters/component/condition.mjs +316 -0
- package/plugins/filters/component/operators.js +222 -0
- package/plugins/filters/component/operators.mjs +216 -0
- package/plugins/filters/component/value.js +278 -0
- package/plugins/filters/component/value.mjs +269 -0
- package/plugins/filters/condition/beginsWith.js +50 -0
- package/plugins/filters/condition/beginsWith.mjs +39 -0
- package/plugins/filters/condition/between.js +64 -0
- package/plugins/filters/condition/between.mjs +53 -0
- package/plugins/filters/condition/byValue.js +48 -0
- package/plugins/filters/condition/byValue.mjs +42 -0
- package/plugins/filters/condition/contains.js +50 -0
- package/plugins/filters/condition/contains.mjs +39 -0
- package/plugins/filters/condition/date/after.js +55 -0
- package/plugins/filters/condition/date/after.mjs +43 -0
- package/plugins/filters/condition/date/before.js +55 -0
- package/plugins/filters/condition/date/before.mjs +43 -0
- package/plugins/filters/condition/date/today.js +39 -0
- package/plugins/filters/condition/date/today.mjs +20 -0
- package/plugins/filters/condition/date/tomorrow.js +39 -0
- package/plugins/filters/condition/date/tomorrow.mjs +20 -0
- package/plugins/filters/condition/date/yesterday.js +39 -0
- package/plugins/filters/condition/date/yesterday.mjs +20 -0
- package/plugins/filters/condition/empty.js +35 -0
- package/plugins/filters/condition/empty.mjs +17 -0
- package/plugins/filters/condition/endsWith.js +50 -0
- package/plugins/filters/condition/endsWith.mjs +39 -0
- package/plugins/filters/condition/equal.js +49 -0
- package/plugins/filters/condition/equal.mjs +38 -0
- package/plugins/filters/condition/false.js +18 -0
- package/plugins/filters/condition/false.mjs +12 -0
- package/plugins/filters/condition/greaterThan.js +52 -0
- package/plugins/filters/condition/greaterThan.mjs +41 -0
- package/plugins/filters/condition/greaterThanOrEqual.js +52 -0
- package/plugins/filters/condition/greaterThanOrEqual.mjs +41 -0
- package/plugins/filters/condition/lessThan.js +52 -0
- package/plugins/filters/condition/lessThan.mjs +41 -0
- package/plugins/filters/condition/lessThanOrEqual.js +52 -0
- package/plugins/filters/condition/lessThanOrEqual.mjs +41 -0
- package/plugins/filters/condition/none.js +33 -0
- package/plugins/filters/condition/none.mjs +15 -0
- package/plugins/filters/condition/notBetween.js +36 -0
- package/plugins/filters/condition/notBetween.mjs +18 -0
- package/plugins/filters/condition/notContains.js +36 -0
- package/plugins/filters/condition/notContains.mjs +18 -0
- package/plugins/filters/condition/notEmpty.js +36 -0
- package/plugins/filters/condition/notEmpty.mjs +18 -0
- package/plugins/filters/condition/notEqual.js +36 -0
- package/plugins/filters/condition/notEqual.mjs +18 -0
- package/plugins/filters/condition/true.js +18 -0
- package/plugins/filters/condition/true.mjs +12 -0
- package/plugins/filters/conditionCollection.d.ts +32 -0
- package/plugins/filters/conditionCollection.js +343 -0
- package/plugins/filters/conditionCollection.mjs +337 -0
- package/plugins/filters/conditionRegisterer.js +61 -0
- package/plugins/filters/conditionRegisterer.mjs +53 -0
- package/plugins/filters/conditionUpdateObserver.d.ts +10 -0
- package/plugins/filters/conditionUpdateObserver.js +248 -0
- package/plugins/filters/conditionUpdateObserver.mjs +242 -0
- package/plugins/filters/constants.js +103 -0
- package/plugins/filters/constants.mjs +69 -0
- package/plugins/filters/dataFilter.js +98 -0
- package/plugins/filters/dataFilter.mjs +93 -0
- package/plugins/filters/filters.d.ts +56 -0
- package/plugins/filters/filters.js +1037 -0
- package/plugins/filters/filters.mjs +1026 -0
- package/plugins/filters/index.d.ts +1 -0
- package/plugins/filters/index.js +8 -0
- package/plugins/filters/index.mjs +1 -0
- package/plugins/filters/logicalOperationRegisterer.js +50 -0
- package/plugins/filters/logicalOperationRegisterer.mjs +42 -0
- package/plugins/filters/logicalOperations/conjunction.js +36 -0
- package/plugins/filters/logicalOperations/conjunction.mjs +18 -0
- package/plugins/filters/logicalOperations/disjunction.js +36 -0
- package/plugins/filters/logicalOperations/disjunction.mjs +18 -0
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.js +40 -0
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.mjs +22 -0
- package/plugins/filters/ui/_base.js +249 -0
- package/plugins/filters/ui/_base.mjs +231 -0
- package/plugins/filters/ui/input.js +140 -0
- package/plugins/filters/ui/input.mjs +134 -0
- package/plugins/filters/ui/link.js +86 -0
- package/plugins/filters/ui/link.mjs +80 -0
- package/plugins/filters/ui/multipleSelect.js +441 -0
- package/plugins/filters/ui/multipleSelect.mjs +434 -0
- package/plugins/filters/ui/radioInput.js +130 -0
- package/plugins/filters/ui/radioInput.mjs +124 -0
- package/plugins/filters/ui/select.js +269 -0
- package/plugins/filters/ui/select.mjs +261 -0
- package/plugins/filters/utils.js +143 -0
- package/plugins/filters/utils.mjs +134 -0
- package/plugins/formulas/engine/register.js +259 -0
- package/plugins/formulas/engine/register.mjs +247 -0
- package/plugins/formulas/engine/settings.js +115 -0
- package/plugins/formulas/engine/settings.mjs +107 -0
- package/plugins/formulas/formulas.d.ts +31 -0
- package/plugins/formulas/formulas.js +1229 -0
- package/plugins/formulas/formulas.mjs +1221 -0
- package/plugins/formulas/index.d.ts +1 -0
- package/plugins/formulas/index.js +8 -0
- package/plugins/formulas/index.mjs +1 -0
- package/plugins/formulas/utils.js +24 -0
- package/plugins/formulas/utils.mjs +19 -0
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.js +76 -0
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.mjs +67 -0
- package/plugins/hiddenColumns/contextMenuItem/showColumn.js +124 -0
- package/plugins/hiddenColumns/contextMenuItem/showColumn.mjs +115 -0
- package/plugins/hiddenColumns/hiddenColumns.d.ts +21 -0
- package/plugins/hiddenColumns/hiddenColumns.js +620 -0
- package/plugins/hiddenColumns/hiddenColumns.mjs +612 -0
- package/plugins/hiddenColumns/index.d.ts +1 -0
- package/plugins/hiddenColumns/index.js +8 -0
- package/plugins/hiddenColumns/index.mjs +1 -0
- package/plugins/hiddenRows/contextMenuItem/hideRow.js +76 -0
- package/plugins/hiddenRows/contextMenuItem/hideRow.mjs +67 -0
- package/plugins/hiddenRows/contextMenuItem/showRow.js +124 -0
- package/plugins/hiddenRows/contextMenuItem/showRow.mjs +115 -0
- package/plugins/hiddenRows/hiddenRows.d.ts +21 -0
- package/plugins/hiddenRows/hiddenRows.js +612 -0
- package/plugins/hiddenRows/hiddenRows.mjs +604 -0
- package/plugins/hiddenRows/index.d.ts +1 -0
- package/plugins/hiddenRows/index.js +8 -0
- package/plugins/hiddenRows/index.mjs +1 -0
- package/plugins/index.d.ts +111 -0
- package/plugins/index.js +115 -0
- package/plugins/index.mjs +75 -0
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.js +58 -0
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.mjs +49 -0
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.js +58 -0
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.mjs +49 -0
- package/plugins/manualColumnFreeze/index.d.ts +1 -0
- package/plugins/manualColumnFreeze/index.js +8 -0
- package/plugins/manualColumnFreeze/index.mjs +1 -0
- package/plugins/manualColumnFreeze/manualColumnFreeze.d.ts +11 -0
- package/plugins/manualColumnFreeze/manualColumnFreeze.js +250 -0
- package/plugins/manualColumnFreeze/manualColumnFreeze.mjs +242 -0
- package/plugins/manualColumnMove/index.d.ts +1 -0
- package/plugins/manualColumnMove/index.js +8 -0
- package/plugins/manualColumnMove/index.mjs +1 -0
- package/plugins/manualColumnMove/manualColumnMove.d.ts +14 -0
- package/plugins/manualColumnMove/manualColumnMove.js +775 -0
- package/plugins/manualColumnMove/manualColumnMove.mjs +767 -0
- package/plugins/manualColumnMove/ui/_base.js +209 -0
- package/plugins/manualColumnMove/ui/_base.mjs +204 -0
- package/plugins/manualColumnMove/ui/backlight.js +60 -0
- package/plugins/manualColumnMove/ui/backlight.mjs +54 -0
- package/plugins/manualColumnMove/ui/guideline.js +60 -0
- package/plugins/manualColumnMove/ui/guideline.mjs +54 -0
- package/plugins/manualColumnResize/index.d.ts +1 -0
- package/plugins/manualColumnResize/index.js +8 -0
- package/plugins/manualColumnResize/index.mjs +1 -0
- package/plugins/manualColumnResize/manualColumnResize.d.ts +30 -0
- package/plugins/manualColumnResize/manualColumnResize.js +690 -0
- package/plugins/manualColumnResize/manualColumnResize.mjs +680 -0
- package/plugins/manualRowMove/index.d.ts +1 -0
- package/plugins/manualRowMove/index.js +8 -0
- package/plugins/manualRowMove/index.mjs +1 -0
- package/plugins/manualRowMove/manualRowMove.d.ts +14 -0
- package/plugins/manualRowMove/manualRowMove.js +757 -0
- package/plugins/manualRowMove/manualRowMove.mjs +749 -0
- package/plugins/manualRowMove/ui/_base.js +196 -0
- package/plugins/manualRowMove/ui/_base.mjs +191 -0
- package/plugins/manualRowMove/ui/backlight.js +60 -0
- package/plugins/manualRowMove/ui/backlight.mjs +54 -0
- package/plugins/manualRowMove/ui/guideline.js +60 -0
- package/plugins/manualRowMove/ui/guideline.mjs +54 -0
- package/plugins/manualRowResize/index.d.ts +1 -0
- package/plugins/manualRowResize/index.js +8 -0
- package/plugins/manualRowResize/index.mjs +1 -0
- package/plugins/manualRowResize/manualRowResize.d.ts +29 -0
- package/plugins/manualRowResize/manualRowResize.js +652 -0
- package/plugins/manualRowResize/manualRowResize.mjs +642 -0
- package/plugins/mergeCells/calculations/autofill.js +464 -0
- package/plugins/mergeCells/calculations/autofill.mjs +459 -0
- package/plugins/mergeCells/calculations/selection.js +204 -0
- package/plugins/mergeCells/calculations/selection.mjs +199 -0
- package/plugins/mergeCells/cellCoords.js +347 -0
- package/plugins/mergeCells/cellCoords.mjs +342 -0
- package/plugins/mergeCells/cellsCollection.js +344 -0
- package/plugins/mergeCells/cellsCollection.mjs +338 -0
- package/plugins/mergeCells/contextMenuItem/toggleMerge.js +55 -0
- package/plugins/mergeCells/contextMenuItem/toggleMerge.mjs +38 -0
- package/plugins/mergeCells/index.d.ts +1 -0
- package/plugins/mergeCells/index.js +8 -0
- package/plugins/mergeCells/index.mjs +1 -0
- package/plugins/mergeCells/mergeCells.d.ts +22 -0
- package/plugins/mergeCells/mergeCells.js +1290 -0
- package/plugins/mergeCells/mergeCells.mjs +1282 -0
- package/plugins/mergeCells/utils.js +30 -0
- package/plugins/mergeCells/utils.mjs +26 -0
- package/plugins/multiColumnSorting/domHelpers.js +44 -0
- package/plugins/multiColumnSorting/domHelpers.mjs +39 -0
- package/plugins/multiColumnSorting/index.d.ts +1 -0
- package/plugins/multiColumnSorting/index.js +8 -0
- package/plugins/multiColumnSorting/index.mjs +1 -0
- package/plugins/multiColumnSorting/multiColumnSorting.d.ts +8 -0
- package/plugins/multiColumnSorting/multiColumnSorting.js +336 -0
- package/plugins/multiColumnSorting/multiColumnSorting.mjs +329 -0
- package/plugins/multiColumnSorting/rootComparator.js +55 -0
- package/plugins/multiColumnSorting/rootComparator.mjs +51 -0
- package/plugins/multiColumnSorting/utils.js +16 -0
- package/plugins/multiColumnSorting/utils.mjs +12 -0
- package/plugins/multipleSelectionHandles/index.d.ts +1 -0
- package/plugins/multipleSelectionHandles/index.js +8 -0
- package/plugins/multipleSelectionHandles/index.mjs +1 -0
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.d.ts +21 -0
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +394 -0
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.mjs +386 -0
- package/plugins/nestedHeaders/index.d.ts +1 -0
- package/plugins/nestedHeaders/index.js +8 -0
- package/plugins/nestedHeaders/index.mjs +1 -0
- package/plugins/nestedHeaders/nestedHeaders.d.ts +17 -0
- package/plugins/nestedHeaders/nestedHeaders.js +666 -0
- package/plugins/nestedHeaders/nestedHeaders.mjs +658 -0
- package/plugins/nestedHeaders/stateManager/headersTree.js +288 -0
- package/plugins/nestedHeaders/stateManager/headersTree.mjs +283 -0
- package/plugins/nestedHeaders/stateManager/index.js +417 -0
- package/plugins/nestedHeaders/stateManager/index.mjs +412 -0
- package/plugins/nestedHeaders/stateManager/matrixGenerator.js +102 -0
- package/plugins/nestedHeaders/stateManager/matrixGenerator.mjs +99 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.js +98 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.mjs +94 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.js +95 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.mjs +91 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.js +54 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.mjs +50 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.js +40 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.mjs +35 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.js +55 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.mjs +51 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/utils/tree.js +61 -0
- package/plugins/nestedHeaders/stateManager/nodeModifiers/utils/tree.mjs +55 -0
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +122 -0
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.mjs +119 -0
- package/plugins/nestedHeaders/stateManager/sourceSettings.js +250 -0
- package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +245 -0
- package/plugins/nestedHeaders/stateManager/utils.js +75 -0
- package/plugins/nestedHeaders/stateManager/utils.mjs +70 -0
- package/plugins/nestedHeaders/utils/ghostTable.js +167 -0
- package/plugins/nestedHeaders/utils/ghostTable.mjs +162 -0
- package/plugins/nestedRows/data/dataManager.js +809 -0
- package/plugins/nestedRows/data/dataManager.mjs +804 -0
- package/plugins/nestedRows/index.d.ts +1 -0
- package/plugins/nestedRows/index.js +8 -0
- package/plugins/nestedRows/index.mjs +1 -0
- package/plugins/nestedRows/nestedRows.d.ts +12 -0
- package/plugins/nestedRows/nestedRows.js +592 -0
- package/plugins/nestedRows/nestedRows.mjs +584 -0
- package/plugins/nestedRows/ui/_base.js +28 -0
- package/plugins/nestedRows/ui/_base.mjs +23 -0
- package/plugins/nestedRows/ui/collapsing.js +562 -0
- package/plugins/nestedRows/ui/collapsing.mjs +556 -0
- package/plugins/nestedRows/ui/contextMenu.js +147 -0
- package/plugins/nestedRows/ui/contextMenu.mjs +138 -0
- package/plugins/nestedRows/ui/headers.js +157 -0
- package/plugins/nestedRows/ui/headers.mjs +151 -0
- package/plugins/nestedRows/utils/rowMoveController.js +331 -0
- package/plugins/nestedRows/utils/rowMoveController.mjs +327 -0
- package/plugins/persistentState/index.d.ts +1 -0
- package/plugins/persistentState/index.js +8 -0
- package/plugins/persistentState/index.mjs +1 -0
- package/plugins/persistentState/persistentState.d.ts +13 -0
- package/plugins/persistentState/persistentState.js +207 -0
- package/plugins/persistentState/persistentState.mjs +199 -0
- package/plugins/persistentState/storage.js +138 -0
- package/plugins/persistentState/storage.mjs +133 -0
- package/plugins/registry.d.ts +9 -0
- package/plugins/registry.js +150 -0
- package/plugins/registry.mjs +146 -0
- package/plugins/search/index.d.ts +1 -0
- package/plugins/search/index.js +8 -0
- package/plugins/search/index.mjs +1 -0
- package/plugins/search/search.d.ts +28 -0
- package/plugins/search/search.js +377 -0
- package/plugins/search/search.mjs +370 -0
- package/plugins/touchScroll/index.d.ts +1 -0
- package/plugins/touchScroll/index.js +8 -0
- package/plugins/touchScroll/index.mjs +1 -0
- package/plugins/touchScroll/touchScroll.d.ts +13 -0
- package/plugins/touchScroll/touchScroll.js +250 -0
- package/plugins/touchScroll/touchScroll.mjs +243 -0
- package/plugins/trimRows/index.d.ts +1 -0
- package/plugins/trimRows/index.js +8 -0
- package/plugins/trimRows/index.mjs +1 -0
- package/plugins/trimRows/trimRows.d.ts +17 -0
- package/plugins/trimRows/trimRows.js +393 -0
- package/plugins/trimRows/trimRows.mjs +386 -0
- package/plugins/undoRedo/index.d.ts +1 -0
- package/plugins/undoRedo/index.js +18 -0
- package/plugins/undoRedo/index.mjs +2 -0
- package/plugins/undoRedo/undoRedo.d.ts +49 -0
- package/plugins/undoRedo/undoRedo.js +935 -0
- package/plugins/undoRedo/undoRedo.mjs +928 -0
- package/registry.d.ts +6 -0
- package/registry.js +35 -0
- package/registry.mjs +26 -0
- package/renderers/autocompleteRenderer/autocompleteRenderer.d.ts +5 -0
- package/renderers/autocompleteRenderer/autocompleteRenderer.js +59 -0
- package/renderers/autocompleteRenderer/autocompleteRenderer.mjs +52 -0
- package/renderers/autocompleteRenderer/index.d.ts +1 -0
- package/renderers/autocompleteRenderer/index.js +7 -0
- package/renderers/autocompleteRenderer/index.mjs +1 -0
- package/renderers/base.d.ts +3 -0
- package/renderers/baseRenderer/baseRenderer.d.ts +5 -0
- package/renderers/baseRenderer/baseRenderer.js +46 -0
- package/renderers/baseRenderer/baseRenderer.mjs +39 -0
- package/renderers/baseRenderer/index.d.ts +1 -0
- package/renderers/baseRenderer/index.js +7 -0
- package/renderers/baseRenderer/index.mjs +1 -0
- package/renderers/checkboxRenderer/checkboxRenderer.d.ts +5 -0
- package/renderers/checkboxRenderer/checkboxRenderer.js +398 -0
- package/renderers/checkboxRenderer/checkboxRenderer.mjs +391 -0
- package/renderers/checkboxRenderer/index.d.ts +1 -0
- package/renderers/checkboxRenderer/index.js +7 -0
- package/renderers/checkboxRenderer/index.mjs +1 -0
- package/renderers/htmlRenderer/htmlRenderer.d.ts +5 -0
- package/renderers/htmlRenderer/htmlRenderer.js +25 -0
- package/renderers/htmlRenderer/htmlRenderer.mjs +19 -0
- package/renderers/htmlRenderer/index.d.ts +1 -0
- package/renderers/htmlRenderer/index.js +7 -0
- package/renderers/htmlRenderer/index.mjs +1 -0
- package/renderers/index.d.ts +45 -0
- package/renderers/index.js +48 -0
- package/renderers/index.mjs +24 -0
- package/renderers/numericRenderer/index.d.ts +1 -0
- package/renderers/numericRenderer/index.js +7 -0
- package/renderers/numericRenderer/index.mjs +1 -0
- package/renderers/numericRenderer/numericRenderer.d.ts +5 -0
- package/renderers/numericRenderer/numericRenderer.js +57 -0
- package/renderers/numericRenderer/numericRenderer.mjs +50 -0
- package/renderers/passwordRenderer/index.d.ts +1 -0
- package/renderers/passwordRenderer/index.js +7 -0
- package/renderers/passwordRenderer/index.mjs +1 -0
- package/renderers/passwordRenderer/passwordRenderer.d.ts +5 -0
- package/renderers/passwordRenderer/passwordRenderer.js +32 -0
- package/renderers/passwordRenderer/passwordRenderer.mjs +26 -0
- package/renderers/registry.d.ts +18 -0
- package/renderers/registry.js +48 -0
- package/renderers/registry.mjs +38 -0
- package/renderers/textRenderer/index.d.ts +1 -0
- package/renderers/textRenderer/index.js +7 -0
- package/renderers/textRenderer/index.mjs +1 -0
- package/renderers/textRenderer/textRenderer.d.ts +5 -0
- package/renderers/textRenderer/textRenderer.js +48 -0
- package/renderers/textRenderer/textRenderer.mjs +42 -0
- package/renderers/timeRenderer/index.d.ts +1 -0
- package/renderers/timeRenderer/index.js +7 -0
- package/renderers/timeRenderer/index.mjs +1 -0
- package/renderers/timeRenderer/timeRenderer.d.ts +5 -0
- package/renderers/timeRenderer/timeRenderer.js +26 -0
- package/renderers/timeRenderer/timeRenderer.mjs +20 -0
- package/selection/highlight/constants.js +16 -0
- package/selection/highlight/constants.mjs +6 -0
- package/selection/highlight/highlight.js +330 -0
- package/selection/highlight/highlight.mjs +325 -0
- package/selection/highlight/types/activeHeader.js +38 -0
- package/selection/highlight/types/activeHeader.mjs +32 -0
- package/selection/highlight/types/area.js +49 -0
- package/selection/highlight/types/area.mjs +43 -0
- package/selection/highlight/types/cell.js +46 -0
- package/selection/highlight/types/cell.mjs +40 -0
- package/selection/highlight/types/customSelection.js +41 -0
- package/selection/highlight/types/customSelection.mjs +35 -0
- package/selection/highlight/types/fill.js +41 -0
- package/selection/highlight/types/fill.mjs +35 -0
- package/selection/highlight/types/header.js +49 -0
- package/selection/highlight/types/header.mjs +43 -0
- package/selection/highlight/types/index.js +43 -0
- package/selection/highlight/types/index.mjs +39 -0
- package/selection/highlight/visualSelection.js +277 -0
- package/selection/highlight/visualSelection.mjs +272 -0
- package/selection/index.d.ts +5 -0
- package/selection/index.js +30 -0
- package/selection/index.mjs +6 -0
- package/selection/mouseEventHandler.js +135 -0
- package/selection/mouseEventHandler.mjs +129 -0
- package/selection/range.js +173 -0
- package/selection/range.mjs +168 -0
- package/selection/selection.js +802 -0
- package/selection/selection.mjs +796 -0
- package/selection/transformation.js +169 -0
- package/selection/transformation.mjs +163 -0
- package/selection/utils.js +256 -0
- package/selection/utils.mjs +242 -0
- package/settings.d.ts +210 -0
- package/shortcuts/context.d.ts +20 -0
- package/shortcuts/context.js +241 -0
- package/shortcuts/context.mjs +236 -0
- package/shortcuts/index.d.ts +1 -0
- package/shortcuts/index.js +6 -0
- package/shortcuts/index.mjs +1 -0
- package/shortcuts/keyObserver.js +58 -0
- package/shortcuts/keyObserver.mjs +54 -0
- package/shortcuts/manager.d.ts +10 -0
- package/shortcuts/manager.js +165 -0
- package/shortcuts/manager.mjs +159 -0
- package/shortcuts/recorder.js +165 -0
- package/shortcuts/recorder.mjs +161 -0
- package/shortcuts/utils.js +58 -0
- package/shortcuts/utils.mjs +51 -0
- package/tableView.js +1313 -0
- package/tableView.mjs +1307 -0
- package/translations/changesObservable/observable.js +175 -0
- package/translations/changesObservable/observable.mjs +170 -0
- package/translations/changesObservable/observer.js +100 -0
- package/translations/changesObservable/observer.mjs +94 -0
- package/translations/changesObservable/utils.js +50 -0
- package/translations/changesObservable/utils.mjs +46 -0
- package/translations/index.d.ts +1 -0
- package/translations/index.js +29 -0
- package/translations/index.mjs +4 -0
- package/translations/indexMapper.d.ts +48 -0
- package/translations/indexMapper.js +865 -0
- package/translations/indexMapper.mjs +859 -0
- package/translations/mapCollections/aggregatedCollection.js +139 -0
- package/translations/mapCollections/aggregatedCollection.mjs +134 -0
- package/translations/mapCollections/index.js +18 -0
- package/translations/mapCollections/index.mjs +2 -0
- package/translations/mapCollections/mapCollection.js +164 -0
- package/translations/mapCollections/mapCollection.mjs +156 -0
- package/translations/maps/hidingMap.js +63 -0
- package/translations/maps/hidingMap.mjs +58 -0
- package/translations/maps/index.js +59 -0
- package/translations/maps/index.mjs +29 -0
- package/translations/maps/indexMap.d.ts +10 -0
- package/translations/maps/indexMap.js +203 -0
- package/translations/maps/indexMap.mjs +197 -0
- package/translations/maps/indexesSequence.js +82 -0
- package/translations/maps/indexesSequence.mjs +77 -0
- package/translations/maps/linkedPhysicalIndexToValueMap.js +216 -0
- package/translations/maps/linkedPhysicalIndexToValueMap.mjs +211 -0
- package/translations/maps/physicalIndexToValueMap.js +76 -0
- package/translations/maps/physicalIndexToValueMap.mjs +71 -0
- package/translations/maps/trimmingMap.js +63 -0
- package/translations/maps/trimmingMap.mjs +58 -0
- package/translations/maps/utils/actionsOnIndexes.js +42 -0
- package/translations/maps/utils/actionsOnIndexes.mjs +37 -0
- package/translations/maps/utils/index.js +28 -0
- package/translations/maps/utils/index.mjs +22 -0
- package/translations/maps/utils/indexesSequence.js +52 -0
- package/translations/maps/utils/indexesSequence.mjs +47 -0
- package/translations/maps/utils/physicallyIndexed.js +61 -0
- package/translations/maps/utils/physicallyIndexed.mjs +56 -0
- package/utils/dataStructures/linkedList.js +263 -0
- package/utils/dataStructures/linkedList.mjs +258 -0
- package/utils/dataStructures/priorityMap.js +106 -0
- package/utils/dataStructures/priorityMap.mjs +99 -0
- package/utils/dataStructures/queue.js +83 -0
- package/utils/dataStructures/queue.mjs +78 -0
- package/utils/dataStructures/stack.js +83 -0
- package/utils/dataStructures/stack.mjs +78 -0
- package/utils/dataStructures/tree.js +254 -0
- package/utils/dataStructures/tree.mjs +246 -0
- package/utils/dataStructures/uniqueMap.js +144 -0
- package/utils/dataStructures/uniqueMap.mjs +140 -0
- package/utils/dataStructures/uniqueSet.js +78 -0
- package/utils/dataStructures/uniqueSet.mjs +74 -0
- package/utils/ghostTable.js +536 -0
- package/utils/ghostTable.mjs +531 -0
- package/utils/interval.js +134 -0
- package/utils/interval.mjs +129 -0
- package/utils/parseTable.d.ts +5 -0
- package/utils/parseTable.js +305 -0
- package/utils/parseTable.mjs +299 -0
- package/utils/rootInstance.js +48 -0
- package/utils/rootInstance.mjs +38 -0
- package/utils/samplesGenerator.js +210 -0
- package/utils/samplesGenerator.mjs +205 -0
- package/utils/staticRegister.js +92 -0
- package/utils/staticRegister.mjs +86 -0
- package/validators/autocompleteValidator/autocompleteValidator.d.ts +5 -0
- package/validators/autocompleteValidator/autocompleteValidator.js +56 -0
- package/validators/autocompleteValidator/autocompleteValidator.mjs +50 -0
- package/validators/autocompleteValidator/index.d.ts +1 -0
- package/validators/autocompleteValidator/index.js +7 -0
- package/validators/autocompleteValidator/index.mjs +1 -0
- package/validators/base.d.ts +6 -0
- package/validators/dateValidator/dateValidator.d.ts +5 -0
- package/validators/dateValidator/dateValidator.js +77 -0
- package/validators/dateValidator/dateValidator.mjs +69 -0
- package/validators/dateValidator/index.d.ts +1 -0
- package/validators/dateValidator/index.js +8 -0
- package/validators/dateValidator/index.mjs +1 -0
- package/validators/index.d.ts +33 -0
- package/validators/index.js +32 -0
- package/validators/index.mjs +16 -0
- package/validators/numericValidator/index.d.ts +1 -0
- package/validators/numericValidator/index.js +7 -0
- package/validators/numericValidator/index.mjs +1 -0
- package/validators/numericValidator/numericValidator.d.ts +5 -0
- package/validators/numericValidator/numericValidator.js +30 -0
- package/validators/numericValidator/numericValidator.mjs +24 -0
- package/validators/registry.d.ts +18 -0
- package/validators/registry.js +48 -0
- package/validators/registry.mjs +38 -0
- package/validators/timeValidator/index.d.ts +1 -0
- package/validators/timeValidator/index.js +7 -0
- package/validators/timeValidator/index.mjs +1 -0
- package/validators/timeValidator/timeValidator.d.ts +5 -0
- package/validators/timeValidator/timeValidator.js +66 -0
- package/validators/timeValidator/timeValidator.mjs +60 -0
@@ -0,0 +1,888 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
exports.__esModule = true;
|
4
|
+
exports.default = void 0;
|
5
|
+
require("core-js/modules/es.array.includes.js");
|
6
|
+
require("core-js/modules/es.string.includes.js");
|
7
|
+
require("core-js/modules/es.array.index-of.js");
|
8
|
+
require("core-js/modules/es.array.iterator.js");
|
9
|
+
require("core-js/modules/es.object.to-string.js");
|
10
|
+
require("core-js/modules/es.string.iterator.js");
|
11
|
+
require("core-js/modules/es.weak-map.js");
|
12
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
13
|
+
var _coords = _interopRequireDefault(require("./../cell/coords"));
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
15
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
16
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
17
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
18
|
+
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
19
|
+
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
20
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
21
|
+
function _classPrivateFieldGet(receiver, privateMap) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get"); return _classApplyDescriptorGet(receiver, descriptor); }
|
22
|
+
function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; }
|
23
|
+
function _classPrivateFieldSet(receiver, privateMap, value) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "set"); _classApplyDescriptorSet(receiver, descriptor, value); return value; }
|
24
|
+
function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); }
|
25
|
+
function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); } else { if (!descriptor.writable) { throw new TypeError("attempted to set read only private field"); } descriptor.value = value; } }
|
26
|
+
var _isRtl = /*#__PURE__*/new WeakMap();
|
27
|
+
/**
|
28
|
+
* CellRange holds cell coordinates as {@link CellCoords} instances. This object represent unit of the selection layer which
|
29
|
+
* can contains multiple contiguous cells or single cell.
|
30
|
+
*
|
31
|
+
* @util
|
32
|
+
*/
|
33
|
+
var CellRange = /*#__PURE__*/function () {
|
34
|
+
/**
|
35
|
+
* Used to draw bold border around a cell where selection was started and to edit the cell
|
36
|
+
* when you press Enter. The highlight cannot point to headers (negative values) so its
|
37
|
+
* coordinates object is normalized while assigning.
|
38
|
+
*
|
39
|
+
* @type {CellCoords}
|
40
|
+
*/
|
41
|
+
|
42
|
+
/**
|
43
|
+
* Usually the same as highlight, but in Excel there is distinction - one can change
|
44
|
+
* highlight within a selection.
|
45
|
+
*
|
46
|
+
* @type {CellCoords}
|
47
|
+
*/
|
48
|
+
|
49
|
+
/**
|
50
|
+
* End selection.
|
51
|
+
*
|
52
|
+
* @type {CellCoords}
|
53
|
+
*/
|
54
|
+
|
55
|
+
/**
|
56
|
+
* @type {boolean}
|
57
|
+
*/
|
58
|
+
|
59
|
+
function CellRange(highlight) {
|
60
|
+
var from = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : highlight;
|
61
|
+
var to = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : highlight;
|
62
|
+
var isRtl = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
|
63
|
+
_classCallCheck(this, CellRange);
|
64
|
+
_defineProperty(this, "highlight", null);
|
65
|
+
_defineProperty(this, "from", null);
|
66
|
+
_defineProperty(this, "to", null);
|
67
|
+
_classPrivateFieldInitSpec(this, _isRtl, {
|
68
|
+
writable: true,
|
69
|
+
value: false
|
70
|
+
});
|
71
|
+
this.highlight = highlight.clone().normalize();
|
72
|
+
this.from = from.clone();
|
73
|
+
this.to = to.clone();
|
74
|
+
_classPrivateFieldSet(this, _isRtl, isRtl);
|
75
|
+
}
|
76
|
+
|
77
|
+
/**
|
78
|
+
* Set the new coordinates for highlighting selection.
|
79
|
+
*
|
80
|
+
* @param {CellCoords} coords Coordinates to use.
|
81
|
+
* @returns {CellRange}
|
82
|
+
*/
|
83
|
+
_createClass(CellRange, [{
|
84
|
+
key: "setHighlight",
|
85
|
+
value: function setHighlight(coords) {
|
86
|
+
this.highlight = coords.clone().normalize();
|
87
|
+
return this;
|
88
|
+
}
|
89
|
+
|
90
|
+
/**
|
91
|
+
* Set the new coordinates where selection starts from.
|
92
|
+
*
|
93
|
+
* @param {CellCoords} coords Coordinates to use.
|
94
|
+
* @returns {CellRange}
|
95
|
+
*/
|
96
|
+
}, {
|
97
|
+
key: "setFrom",
|
98
|
+
value: function setFrom(coords) {
|
99
|
+
this.from = coords.clone();
|
100
|
+
return this;
|
101
|
+
}
|
102
|
+
|
103
|
+
/**
|
104
|
+
* Set new coordinates where selection ends from.
|
105
|
+
*
|
106
|
+
* @param {CellCoords} coords Coordinates to use.
|
107
|
+
* @returns {CellRange}
|
108
|
+
*/
|
109
|
+
}, {
|
110
|
+
key: "setTo",
|
111
|
+
value: function setTo(coords) {
|
112
|
+
this.to = coords.clone();
|
113
|
+
return this;
|
114
|
+
}
|
115
|
+
|
116
|
+
/**
|
117
|
+
* Checks if given coordinates are valid in context of a given Walkontable instance.
|
118
|
+
*
|
119
|
+
* @param {Walkontable} wot The Walkontable instance.
|
120
|
+
* @returns {boolean}
|
121
|
+
*/
|
122
|
+
}, {
|
123
|
+
key: "isValid",
|
124
|
+
value: function isValid(wot) {
|
125
|
+
return this.from.isValid(wot) && this.to.isValid(wot);
|
126
|
+
}
|
127
|
+
|
128
|
+
/**
|
129
|
+
* Checks if this cell range is restricted to one cell.
|
130
|
+
*
|
131
|
+
* @returns {boolean}
|
132
|
+
*/
|
133
|
+
}, {
|
134
|
+
key: "isSingle",
|
135
|
+
value: function isSingle() {
|
136
|
+
return this.from.row >= 0 && this.from.row === this.to.row && this.from.col >= 0 && this.from.col === this.to.col;
|
137
|
+
}
|
138
|
+
|
139
|
+
/**
|
140
|
+
* Returns selected range height (in number of rows including rows' headers).
|
141
|
+
*
|
142
|
+
* @returns {number}
|
143
|
+
*/
|
144
|
+
}, {
|
145
|
+
key: "getOuterHeight",
|
146
|
+
value: function getOuterHeight() {
|
147
|
+
return Math.max(this.from.row, this.to.row) - Math.min(this.from.row, this.to.row) + 1;
|
148
|
+
}
|
149
|
+
|
150
|
+
/**
|
151
|
+
* Returns selected range width (in number of columns including columns' headers).
|
152
|
+
*
|
153
|
+
* @returns {number}
|
154
|
+
*/
|
155
|
+
}, {
|
156
|
+
key: "getOuterWidth",
|
157
|
+
value: function getOuterWidth() {
|
158
|
+
return Math.max(this.from.col, this.to.col) - Math.min(this.from.col, this.to.col) + 1;
|
159
|
+
}
|
160
|
+
|
161
|
+
/**
|
162
|
+
* Returns selected range height (in number of rows excluding rows' headers).
|
163
|
+
*
|
164
|
+
* @returns {number}
|
165
|
+
*/
|
166
|
+
}, {
|
167
|
+
key: "getHeight",
|
168
|
+
value: function getHeight() {
|
169
|
+
var fromRow = Math.max(this.from.row, 0);
|
170
|
+
var toRow = Math.max(this.to.row, 0);
|
171
|
+
return Math.max(fromRow, toRow) - Math.min(fromRow, toRow) + 1;
|
172
|
+
}
|
173
|
+
|
174
|
+
/**
|
175
|
+
* Returns selected range width (in number of columns excluding columns' headers).
|
176
|
+
*
|
177
|
+
* @returns {number}
|
178
|
+
*/
|
179
|
+
}, {
|
180
|
+
key: "getWidth",
|
181
|
+
value: function getWidth() {
|
182
|
+
var fromCol = Math.max(this.from.col, 0);
|
183
|
+
var toCol = Math.max(this.to.col, 0);
|
184
|
+
return Math.max(fromCol, toCol) - Math.min(fromCol, toCol) + 1;
|
185
|
+
}
|
186
|
+
|
187
|
+
/**
|
188
|
+
* Returns the number of cells within the range (excluding the column and row headers, if selected).
|
189
|
+
*
|
190
|
+
* @returns {number}
|
191
|
+
*/
|
192
|
+
}, {
|
193
|
+
key: "getCellsCount",
|
194
|
+
value: function getCellsCount() {
|
195
|
+
return this.getWidth() * this.getHeight();
|
196
|
+
}
|
197
|
+
|
198
|
+
/**
|
199
|
+
* Checks if given cell coordinates are within `from` and `to` cell coordinates of this range.
|
200
|
+
*
|
201
|
+
* @param {CellCoords} cellCoords The cell coordinates to check.
|
202
|
+
* @returns {boolean}
|
203
|
+
*/
|
204
|
+
}, {
|
205
|
+
key: "includes",
|
206
|
+
value: function includes(cellCoords) {
|
207
|
+
var row = cellCoords.row,
|
208
|
+
col = cellCoords.col;
|
209
|
+
var topStart = this.getOuterTopStartCorner();
|
210
|
+
var bottomEnd = this.getOuterBottomEndCorner();
|
211
|
+
return topStart.row <= row && bottomEnd.row >= row && topStart.col <= col && bottomEnd.col >= col;
|
212
|
+
}
|
213
|
+
|
214
|
+
/**
|
215
|
+
* Checks if given range is within of this range.
|
216
|
+
*
|
217
|
+
* @param {CellRange} cellRange The cells range to check.
|
218
|
+
* @returns {boolean}
|
219
|
+
*/
|
220
|
+
}, {
|
221
|
+
key: "includesRange",
|
222
|
+
value: function includesRange(cellRange) {
|
223
|
+
return this.includes(cellRange.getOuterTopStartCorner()) && this.includes(cellRange.getOuterBottomEndCorner());
|
224
|
+
}
|
225
|
+
|
226
|
+
/**
|
227
|
+
* Checks if given range is equal to this range.
|
228
|
+
*
|
229
|
+
* @param {CellRange} cellRange The cells range to check.
|
230
|
+
* @returns {boolean}
|
231
|
+
*/
|
232
|
+
}, {
|
233
|
+
key: "isEqual",
|
234
|
+
value: function isEqual(cellRange) {
|
235
|
+
return Math.min(this.from.row, this.to.row) === Math.min(cellRange.from.row, cellRange.to.row) && Math.max(this.from.row, this.to.row) === Math.max(cellRange.from.row, cellRange.to.row) && Math.min(this.from.col, this.to.col) === Math.min(cellRange.from.col, cellRange.to.col) && Math.max(this.from.col, this.to.col) === Math.max(cellRange.from.col, cellRange.to.col);
|
236
|
+
}
|
237
|
+
|
238
|
+
/**
|
239
|
+
* Checks if tested range overlaps with the range. Range A is considered to to be overlapping with range B
|
240
|
+
* if intersection of A and B or B and A is not empty.
|
241
|
+
*
|
242
|
+
* @param {CellRange} cellRange The cells range to check.
|
243
|
+
* @returns {boolean}
|
244
|
+
*/
|
245
|
+
}, {
|
246
|
+
key: "overlaps",
|
247
|
+
value: function overlaps(cellRange) {
|
248
|
+
return cellRange.isSouthEastOf(this.getOuterTopLeftCorner()) && cellRange.isNorthWestOf(this.getOuterBottomRightCorner());
|
249
|
+
}
|
250
|
+
|
251
|
+
/**
|
252
|
+
* Checks if tested coordinates are positioned in south-east from this cell range.
|
253
|
+
*
|
254
|
+
* @param {CellRange} cellRange The cells range to check.
|
255
|
+
* @returns {boolean}
|
256
|
+
*/
|
257
|
+
}, {
|
258
|
+
key: "isSouthEastOf",
|
259
|
+
value: function isSouthEastOf(cellRange) {
|
260
|
+
return this.getOuterTopLeftCorner().isSouthEastOf(cellRange) || this.getOuterBottomRightCorner().isSouthEastOf(cellRange);
|
261
|
+
}
|
262
|
+
|
263
|
+
/**
|
264
|
+
* Checks if tested coordinates are positioned in north-west from this cell range.
|
265
|
+
*
|
266
|
+
* @param {CellRange} cellRange The cells range to check.
|
267
|
+
* @returns {boolean}
|
268
|
+
*/
|
269
|
+
}, {
|
270
|
+
key: "isNorthWestOf",
|
271
|
+
value: function isNorthWestOf(cellRange) {
|
272
|
+
return this.getOuterTopLeftCorner().isNorthWestOf(cellRange) || this.getOuterBottomRightCorner().isNorthWestOf(cellRange);
|
273
|
+
}
|
274
|
+
|
275
|
+
/**
|
276
|
+
* Returns `true` if the provided range is overlapping the current range horizontally (e.g. The current range's last
|
277
|
+
* column is 5 and the provided range's first column is 3).
|
278
|
+
*
|
279
|
+
* @param {CellRange} cellRange The cells range to check.
|
280
|
+
* @returns {boolean}
|
281
|
+
*/
|
282
|
+
}, {
|
283
|
+
key: "isOverlappingHorizontally",
|
284
|
+
value: function isOverlappingHorizontally(cellRange) {
|
285
|
+
return this.getOuterTopRightCorner().col >= cellRange.getOuterTopLeftCorner().col && this.getOuterTopRightCorner().col <= cellRange.getOuterTopRightCorner().col || this.getOuterTopLeftCorner().col <= cellRange.getOuterTopRightCorner().col && this.getOuterTopLeftCorner().col >= cellRange.getOuterTopLeftCorner().col;
|
286
|
+
}
|
287
|
+
|
288
|
+
/**
|
289
|
+
* Returns `true` if the provided range is overlapping the current range vertically (e.g. The current range's last
|
290
|
+
* row is 5 and the provided range's first row is 3).
|
291
|
+
*
|
292
|
+
* @param {CellRange} cellRange The cells range to check.
|
293
|
+
* @returns {boolean}
|
294
|
+
*/
|
295
|
+
}, {
|
296
|
+
key: "isOverlappingVertically",
|
297
|
+
value: function isOverlappingVertically(cellRange) {
|
298
|
+
return this.getOuterBottomRightCorner().row >= cellRange.getOuterTopRightCorner().row && this.getOuterBottomRightCorner().row <= cellRange.getOuterBottomRightCorner().row || this.getOuterTopRightCorner().row <= cellRange.getOuterBottomRightCorner().row && this.getOuterTopRightCorner().row >= cellRange.getOuterTopRightCorner().row;
|
299
|
+
}
|
300
|
+
|
301
|
+
/**
|
302
|
+
* Adds a cell to a range (only if exceeds corners of the range). Returns information if range was expanded.
|
303
|
+
*
|
304
|
+
* @param {CellCoords} cellCoords The cell coordinates.
|
305
|
+
* @returns {boolean}
|
306
|
+
*/
|
307
|
+
}, {
|
308
|
+
key: "expand",
|
309
|
+
value: function expand(cellCoords) {
|
310
|
+
var topStart = this.getOuterTopStartCorner();
|
311
|
+
var bottomEnd = this.getOuterBottomEndCorner();
|
312
|
+
if (cellCoords.row < topStart.row || cellCoords.col < topStart.col || cellCoords.row > bottomEnd.row || cellCoords.col > bottomEnd.col) {
|
313
|
+
this.from = this._createCellCoords(Math.min(topStart.row, cellCoords.row), Math.min(topStart.col, cellCoords.col));
|
314
|
+
this.to = this._createCellCoords(Math.max(bottomEnd.row, cellCoords.row), Math.max(bottomEnd.col, cellCoords.col));
|
315
|
+
return true;
|
316
|
+
}
|
317
|
+
return false;
|
318
|
+
}
|
319
|
+
|
320
|
+
/**
|
321
|
+
* Expand the current object by the range passed in the first argument.
|
322
|
+
*
|
323
|
+
* @param {CellRange} expandingRange Object extending the range.
|
324
|
+
* @returns {boolean}
|
325
|
+
*/
|
326
|
+
}, {
|
327
|
+
key: "expandByRange",
|
328
|
+
value: function expandByRange(expandingRange) {
|
329
|
+
if (this.includesRange(expandingRange) || !this.overlaps(expandingRange)) {
|
330
|
+
return false;
|
331
|
+
}
|
332
|
+
var topStart = this.getOuterTopStartCorner();
|
333
|
+
var bottomEnd = this.getOuterBottomEndCorner();
|
334
|
+
var initialDirection = this.getDirection();
|
335
|
+
var expandingTopStart = expandingRange.getOuterTopStartCorner();
|
336
|
+
var expandingBottomEnd = expandingRange.getOuterBottomEndCorner();
|
337
|
+
var resultTopRow = Math.min(topStart.row, expandingTopStart.row);
|
338
|
+
var resultTopCol = Math.min(topStart.col, expandingTopStart.col);
|
339
|
+
var resultBottomRow = Math.max(bottomEnd.row, expandingBottomEnd.row);
|
340
|
+
var resultBottomCol = Math.max(bottomEnd.col, expandingBottomEnd.col);
|
341
|
+
var finalFrom = this._createCellCoords(resultTopRow, resultTopCol);
|
342
|
+
var finalTo = this._createCellCoords(resultBottomRow, resultBottomCol);
|
343
|
+
this.from = finalFrom;
|
344
|
+
this.to = finalTo;
|
345
|
+
this.setDirection(initialDirection);
|
346
|
+
if (this.highlight.row === this.getOuterBottomRightCorner().row && this.getVerticalDirection() === 'N-S') {
|
347
|
+
this.flipDirectionVertically();
|
348
|
+
}
|
349
|
+
if (this.highlight.col === this.getOuterTopRightCorner().col && this.getHorizontalDirection() === 'W-E') {
|
350
|
+
this.flipDirectionHorizontally();
|
351
|
+
}
|
352
|
+
return true;
|
353
|
+
}
|
354
|
+
|
355
|
+
/**
|
356
|
+
* Gets the direction of the selection.
|
357
|
+
*
|
358
|
+
* @returns {string} Returns one of the values: `'NW-SE'`, `'NE-SW'`, `'SE-NW'`, `'SW-NE'`.
|
359
|
+
*/
|
360
|
+
}, {
|
361
|
+
key: "getDirection",
|
362
|
+
value: function getDirection() {
|
363
|
+
if (this.from.isNorthWestOf(this.to)) {
|
364
|
+
// NorthWest - SouthEast
|
365
|
+
return 'NW-SE';
|
366
|
+
} else if (this.from.isNorthEastOf(this.to)) {
|
367
|
+
// NorthEast - SouthWest
|
368
|
+
return 'NE-SW';
|
369
|
+
} else if (this.from.isSouthEastOf(this.to)) {
|
370
|
+
// SouthEast - NorthWest
|
371
|
+
return 'SE-NW';
|
372
|
+
} else if (this.from.isSouthWestOf(this.to)) {
|
373
|
+
// SouthWest - NorthEast
|
374
|
+
return 'SW-NE';
|
375
|
+
}
|
376
|
+
}
|
377
|
+
|
378
|
+
/**
|
379
|
+
* Sets the direction of the selection.
|
380
|
+
*
|
381
|
+
* @param {string} direction One of the values: `'NW-SE'`, `'NE-SW'`, `'SE-NW'`, `'SW-NE'`.
|
382
|
+
*/
|
383
|
+
}, {
|
384
|
+
key: "setDirection",
|
385
|
+
value: function setDirection(direction) {
|
386
|
+
switch (direction) {
|
387
|
+
case 'NW-SE':
|
388
|
+
var _ref = [this.getOuterTopLeftCorner(), this.getOuterBottomRightCorner()];
|
389
|
+
this.from = _ref[0];
|
390
|
+
this.to = _ref[1];
|
391
|
+
break;
|
392
|
+
case 'NE-SW':
|
393
|
+
var _ref2 = [this.getOuterTopRightCorner(), this.getOuterBottomLeftCorner()];
|
394
|
+
this.from = _ref2[0];
|
395
|
+
this.to = _ref2[1];
|
396
|
+
break;
|
397
|
+
case 'SE-NW':
|
398
|
+
var _ref3 = [this.getOuterBottomRightCorner(), this.getOuterTopLeftCorner()];
|
399
|
+
this.from = _ref3[0];
|
400
|
+
this.to = _ref3[1];
|
401
|
+
break;
|
402
|
+
case 'SW-NE':
|
403
|
+
var _ref4 = [this.getOuterBottomLeftCorner(), this.getOuterTopRightCorner()];
|
404
|
+
this.from = _ref4[0];
|
405
|
+
this.to = _ref4[1];
|
406
|
+
break;
|
407
|
+
default:
|
408
|
+
break;
|
409
|
+
}
|
410
|
+
}
|
411
|
+
|
412
|
+
/**
|
413
|
+
* Gets the vertical direction of the range.
|
414
|
+
*
|
415
|
+
* @returns {string} Returns one of the values: `N-S` (north->south), `S-N` (south->north).
|
416
|
+
*/
|
417
|
+
}, {
|
418
|
+
key: "getVerticalDirection",
|
419
|
+
value: function getVerticalDirection() {
|
420
|
+
return ['NE-SW', 'NW-SE'].indexOf(this.getDirection()) > -1 ? 'N-S' : 'S-N';
|
421
|
+
}
|
422
|
+
|
423
|
+
/**
|
424
|
+
* Gets the horizontal direction of the range.
|
425
|
+
*
|
426
|
+
* @returns {string} Returns one of the values: `W-E` (west->east), `E-W` (east->west).
|
427
|
+
*/
|
428
|
+
}, {
|
429
|
+
key: "getHorizontalDirection",
|
430
|
+
value: function getHorizontalDirection() {
|
431
|
+
return ['NW-SE', 'SW-NE'].indexOf(this.getDirection()) > -1 ? 'W-E' : 'E-W';
|
432
|
+
}
|
433
|
+
|
434
|
+
/**
|
435
|
+
* Flip the direction vertically. (e.g. `NW-SE` changes to `SW-NE`).
|
436
|
+
*/
|
437
|
+
}, {
|
438
|
+
key: "flipDirectionVertically",
|
439
|
+
value: function flipDirectionVertically() {
|
440
|
+
var direction = this.getDirection();
|
441
|
+
switch (direction) {
|
442
|
+
case 'NW-SE':
|
443
|
+
this.setDirection('SW-NE');
|
444
|
+
break;
|
445
|
+
case 'NE-SW':
|
446
|
+
this.setDirection('SE-NW');
|
447
|
+
break;
|
448
|
+
case 'SE-NW':
|
449
|
+
this.setDirection('NE-SW');
|
450
|
+
break;
|
451
|
+
case 'SW-NE':
|
452
|
+
this.setDirection('NW-SE');
|
453
|
+
break;
|
454
|
+
default:
|
455
|
+
break;
|
456
|
+
}
|
457
|
+
}
|
458
|
+
|
459
|
+
/**
|
460
|
+
* Flip the direction horizontally. (e.g. `NW-SE` changes to `NE-SW`).
|
461
|
+
*/
|
462
|
+
}, {
|
463
|
+
key: "flipDirectionHorizontally",
|
464
|
+
value: function flipDirectionHorizontally() {
|
465
|
+
var direction = this.getDirection();
|
466
|
+
switch (direction) {
|
467
|
+
case 'NW-SE':
|
468
|
+
this.setDirection('NE-SW');
|
469
|
+
break;
|
470
|
+
case 'NE-SW':
|
471
|
+
this.setDirection('NW-SE');
|
472
|
+
break;
|
473
|
+
case 'SE-NW':
|
474
|
+
this.setDirection('SW-NE');
|
475
|
+
break;
|
476
|
+
case 'SW-NE':
|
477
|
+
this.setDirection('SE-NW');
|
478
|
+
break;
|
479
|
+
default:
|
480
|
+
break;
|
481
|
+
}
|
482
|
+
}
|
483
|
+
|
484
|
+
/**
|
485
|
+
* Gets the top left (in LTR) or top right (in RTL) corner coordinates of this range. If the corner contains
|
486
|
+
* header coordinates (negative values), the corner coordinates will be normalized to 0.
|
487
|
+
*
|
488
|
+
* @returns {CellCoords}
|
489
|
+
*/
|
490
|
+
}, {
|
491
|
+
key: "getTopStartCorner",
|
492
|
+
value: function getTopStartCorner() {
|
493
|
+
return this._createCellCoords(Math.min(this.from.row, this.to.row), Math.min(this.from.col, this.to.col)).normalize();
|
494
|
+
}
|
495
|
+
|
496
|
+
/**
|
497
|
+
* Gets the top left corner coordinates of this range, no matter if the code runs in LTR or RTL document mode.
|
498
|
+
* If the corner contains header coordinates (negative values), the corner coordinates will be normalized to 0.
|
499
|
+
*
|
500
|
+
* @returns {CellCoords}
|
501
|
+
*/
|
502
|
+
}, {
|
503
|
+
key: "getTopLeftCorner",
|
504
|
+
value: function getTopLeftCorner() {
|
505
|
+
return _classPrivateFieldGet(this, _isRtl) ? this.getTopEndCorner() : this.getTopStartCorner();
|
506
|
+
}
|
507
|
+
|
508
|
+
/**
|
509
|
+
* Gets the bottom right (in LTR) or bottom left (in RTL) corner coordinates of this range. If the corner contains
|
510
|
+
* header coordinates (negative values), the corner coordinates will be normalized to 0.
|
511
|
+
*
|
512
|
+
* @returns {CellCoords}
|
513
|
+
*/
|
514
|
+
}, {
|
515
|
+
key: "getBottomEndCorner",
|
516
|
+
value: function getBottomEndCorner() {
|
517
|
+
return this._createCellCoords(Math.max(this.from.row, this.to.row), Math.max(this.from.col, this.to.col)).normalize();
|
518
|
+
}
|
519
|
+
|
520
|
+
/**
|
521
|
+
* Gets the bottom right corner coordinates of this range, no matter if the code runs in LTR or RTL document mode.
|
522
|
+
* If the corner contains header coordinates (negative values), the corner coordinates will be normalized to 0.
|
523
|
+
*
|
524
|
+
* @returns {CellCoords}
|
525
|
+
*/
|
526
|
+
}, {
|
527
|
+
key: "getBottomRightCorner",
|
528
|
+
value: function getBottomRightCorner() {
|
529
|
+
return _classPrivateFieldGet(this, _isRtl) ? this.getBottomStartCorner() : this.getBottomEndCorner();
|
530
|
+
}
|
531
|
+
|
532
|
+
/**
|
533
|
+
* Gets the top right (in LTR) or top left (in RTL) corner coordinates of this range. If the corner contains
|
534
|
+
* header coordinates (negative values), the corner coordinates will be normalized to 0.
|
535
|
+
*
|
536
|
+
* @returns {CellCoords}
|
537
|
+
*/
|
538
|
+
}, {
|
539
|
+
key: "getTopEndCorner",
|
540
|
+
value: function getTopEndCorner() {
|
541
|
+
return this._createCellCoords(Math.min(this.from.row, this.to.row), Math.max(this.from.col, this.to.col)).normalize();
|
542
|
+
}
|
543
|
+
|
544
|
+
/**
|
545
|
+
* Gets the top right corner coordinates of this range, no matter if the code runs in LTR or RTL document mode.
|
546
|
+
* If the corner contains header coordinates (negative values), the corner coordinates will be normalized to 0.
|
547
|
+
*
|
548
|
+
* @returns {CellCoords}
|
549
|
+
*/
|
550
|
+
}, {
|
551
|
+
key: "getTopRightCorner",
|
552
|
+
value: function getTopRightCorner() {
|
553
|
+
return _classPrivateFieldGet(this, _isRtl) ? this.getTopStartCorner() : this.getTopEndCorner();
|
554
|
+
}
|
555
|
+
|
556
|
+
/**
|
557
|
+
* Gets the bottom left (in LTR) or bottom right (in RTL) corner coordinates of this range. If the corner
|
558
|
+
* contains header coordinates (negative values), the corner coordinates will be normalized to 0.
|
559
|
+
*
|
560
|
+
* @returns {CellCoords}
|
561
|
+
*/
|
562
|
+
}, {
|
563
|
+
key: "getBottomStartCorner",
|
564
|
+
value: function getBottomStartCorner() {
|
565
|
+
return this._createCellCoords(Math.max(this.from.row, this.to.row), Math.min(this.from.col, this.to.col)).normalize();
|
566
|
+
}
|
567
|
+
|
568
|
+
/**
|
569
|
+
* Gets the bottom left corner coordinates of this range, no matter if the code runs in LTR or RTL document mode.
|
570
|
+
* If the corner contains header coordinates (negative values), the corner coordinates will be normalized to 0.
|
571
|
+
*
|
572
|
+
* @returns {CellCoords}
|
573
|
+
*/
|
574
|
+
}, {
|
575
|
+
key: "getBottomLeftCorner",
|
576
|
+
value: function getBottomLeftCorner() {
|
577
|
+
return _classPrivateFieldGet(this, _isRtl) ? this.getBottomEndCorner() : this.getBottomStartCorner();
|
578
|
+
}
|
579
|
+
|
580
|
+
/**
|
581
|
+
* Gets the top left (in LTR) or top right (in RTL) corner coordinates of this range. If the corner
|
582
|
+
* contains header coordinates (negative values), then the top and start coordinates will be pointed to that header.
|
583
|
+
*
|
584
|
+
* @returns {CellCoords}
|
585
|
+
*/
|
586
|
+
}, {
|
587
|
+
key: "getOuterTopStartCorner",
|
588
|
+
value: function getOuterTopStartCorner() {
|
589
|
+
return this._createCellCoords(Math.min(this.from.row, this.to.row), Math.min(this.from.col, this.to.col));
|
590
|
+
}
|
591
|
+
|
592
|
+
/**
|
593
|
+
* Gets the top left corner coordinates of this range, no matter if the code runs in LTR or RTL document mode.
|
594
|
+
* If the corner contains header coordinates (negative values), then the top and left coordinates will be
|
595
|
+
* pointed to that header.
|
596
|
+
*
|
597
|
+
* @returns {CellCoords}
|
598
|
+
*/
|
599
|
+
}, {
|
600
|
+
key: "getOuterTopLeftCorner",
|
601
|
+
value: function getOuterTopLeftCorner() {
|
602
|
+
return _classPrivateFieldGet(this, _isRtl) ? this.getOuterTopEndCorner() : this.getOuterTopStartCorner();
|
603
|
+
}
|
604
|
+
|
605
|
+
/**
|
606
|
+
* Gets the bottom right (in LTR) or bottom left (in RTL) corner coordinates of this range. If the corner
|
607
|
+
* contains header coordinates (negative values), then the top and start coordinates will be pointed to that header.
|
608
|
+
*
|
609
|
+
* @returns {CellCoords}
|
610
|
+
*/
|
611
|
+
}, {
|
612
|
+
key: "getOuterBottomEndCorner",
|
613
|
+
value: function getOuterBottomEndCorner() {
|
614
|
+
return this._createCellCoords(Math.max(this.from.row, this.to.row), Math.max(this.from.col, this.to.col));
|
615
|
+
}
|
616
|
+
|
617
|
+
/**
|
618
|
+
* Gets the bottom right corner coordinates of this range, no matter if the code runs in LTR or RTL document mode.
|
619
|
+
* If the corner contains header coordinates (negative values), then the top and left coordinates will be
|
620
|
+
* pointed to that header.
|
621
|
+
*
|
622
|
+
* @returns {CellCoords}
|
623
|
+
*/
|
624
|
+
}, {
|
625
|
+
key: "getOuterBottomRightCorner",
|
626
|
+
value: function getOuterBottomRightCorner() {
|
627
|
+
return _classPrivateFieldGet(this, _isRtl) ? this.getOuterBottomStartCorner() : this.getOuterBottomEndCorner();
|
628
|
+
}
|
629
|
+
|
630
|
+
/**
|
631
|
+
* Gets the top right (in LTR) or top left (in RTL) corner coordinates of this range. If the corner
|
632
|
+
* contains header coordinates (negative values), then the top and start coordinates will be pointed to that header.
|
633
|
+
*
|
634
|
+
* @returns {CellCoords}
|
635
|
+
*/
|
636
|
+
}, {
|
637
|
+
key: "getOuterTopEndCorner",
|
638
|
+
value: function getOuterTopEndCorner() {
|
639
|
+
return this._createCellCoords(Math.min(this.from.row, this.to.row), Math.max(this.from.col, this.to.col));
|
640
|
+
}
|
641
|
+
|
642
|
+
/**
|
643
|
+
* Gets the top right corner coordinates of this range, no matter if the code runs in LTR or RTL document mode.
|
644
|
+
* If the corner contains header coordinates (negative values), then the top and left coordinates will be
|
645
|
+
* pointed to that header.
|
646
|
+
*
|
647
|
+
* @returns {CellCoords}
|
648
|
+
*/
|
649
|
+
}, {
|
650
|
+
key: "getOuterTopRightCorner",
|
651
|
+
value: function getOuterTopRightCorner() {
|
652
|
+
return _classPrivateFieldGet(this, _isRtl) ? this.getOuterTopStartCorner() : this.getOuterTopEndCorner();
|
653
|
+
}
|
654
|
+
|
655
|
+
/**
|
656
|
+
* Gets the bottom left (in LTR) or bottom right (in RTL) corner coordinates of this range. If the corner
|
657
|
+
* contains header coordinates (negative values), then the top and start coordinates will be pointed to that header.
|
658
|
+
*
|
659
|
+
* @returns {CellCoords}
|
660
|
+
*/
|
661
|
+
}, {
|
662
|
+
key: "getOuterBottomStartCorner",
|
663
|
+
value: function getOuterBottomStartCorner() {
|
664
|
+
return this._createCellCoords(Math.max(this.from.row, this.to.row), Math.min(this.from.col, this.to.col));
|
665
|
+
}
|
666
|
+
|
667
|
+
/**
|
668
|
+
* Gets the bottom left corner coordinates of this range, no matter if the code runs in LTR or RTL document mode.
|
669
|
+
* If the corner contains header coordinates (negative values), then the top and left coordinates will be
|
670
|
+
* pointed to that header.
|
671
|
+
*
|
672
|
+
* @returns {CellCoords}
|
673
|
+
*/
|
674
|
+
}, {
|
675
|
+
key: "getOuterBottomLeftCorner",
|
676
|
+
value: function getOuterBottomLeftCorner() {
|
677
|
+
return _classPrivateFieldGet(this, _isRtl) ? this.getOuterBottomEndCorner() : this.getOuterBottomStartCorner();
|
678
|
+
}
|
679
|
+
|
680
|
+
/**
|
681
|
+
* Checks if coordinates match to one of the 4th corners of this range.
|
682
|
+
*
|
683
|
+
* @param {CellCoords} coords Cell coordinates to check.
|
684
|
+
* @param {CellRange} [expandedRange] The cells range to compare with.
|
685
|
+
* @returns {boolean}
|
686
|
+
*/
|
687
|
+
}, {
|
688
|
+
key: "isCorner",
|
689
|
+
value: function isCorner(coords, expandedRange) {
|
690
|
+
if (expandedRange && expandedRange.includes(coords) && (this.getOuterTopLeftCorner().isEqual(this._createCellCoords(expandedRange.from.row, expandedRange.from.col)) || this.getOuterTopRightCorner().isEqual(this._createCellCoords(expandedRange.from.row, expandedRange.to.col)) || this.getOuterBottomLeftCorner().isEqual(this._createCellCoords(expandedRange.to.row, expandedRange.from.col)) || this.getOuterBottomRightCorner().isEqual(this._createCellCoords(expandedRange.to.row, expandedRange.to.col)))) {
|
691
|
+
return true;
|
692
|
+
}
|
693
|
+
return coords.isEqual(this.getOuterTopLeftCorner()) || coords.isEqual(this.getOuterTopRightCorner()) || coords.isEqual(this.getOuterBottomLeftCorner()) || coords.isEqual(this.getOuterBottomRightCorner());
|
694
|
+
}
|
695
|
+
|
696
|
+
/**
|
697
|
+
* Gets coordinates of the corner which is opposite to the matched. When the passed coordinates matched to the
|
698
|
+
* bottom-right corner of this range then the coordinates for top-left will be returned.
|
699
|
+
*
|
700
|
+
* @param {CellCoords} coords Cell coordinates to check.
|
701
|
+
* @param {CellRange} [expandedRange] The cells range to compare with.
|
702
|
+
* @returns {CellCoords}
|
703
|
+
*/
|
704
|
+
}, {
|
705
|
+
key: "getOppositeCorner",
|
706
|
+
value: function getOppositeCorner(coords, expandedRange) {
|
707
|
+
if (!(coords instanceof _coords.default)) {
|
708
|
+
return false;
|
709
|
+
}
|
710
|
+
if (expandedRange) {
|
711
|
+
var from = expandedRange.from,
|
712
|
+
to = expandedRange.to;
|
713
|
+
if (expandedRange.includes(coords)) {
|
714
|
+
if (this.getOuterTopStartCorner().isEqual(this._createCellCoords(from.row, from.col))) {
|
715
|
+
return this.getOuterBottomEndCorner();
|
716
|
+
}
|
717
|
+
if (this.getOuterTopEndCorner().isEqual(this._createCellCoords(from.row, to.col))) {
|
718
|
+
return this.getOuterBottomStartCorner();
|
719
|
+
}
|
720
|
+
if (this.getOuterBottomStartCorner().isEqual(this._createCellCoords(to.row, from.col))) {
|
721
|
+
return this.getOuterTopEndCorner();
|
722
|
+
}
|
723
|
+
if (this.getOuterBottomEndCorner().isEqual(this._createCellCoords(to.row, to.col))) {
|
724
|
+
return this.getOuterTopStartCorner();
|
725
|
+
}
|
726
|
+
}
|
727
|
+
}
|
728
|
+
if (coords.isEqual(this.getOuterBottomEndCorner())) {
|
729
|
+
return this.getOuterTopStartCorner();
|
730
|
+
} else if (coords.isEqual(this.getOuterTopStartCorner())) {
|
731
|
+
return this.getOuterBottomEndCorner();
|
732
|
+
} else if (coords.isEqual(this.getOuterTopEndCorner())) {
|
733
|
+
return this.getOuterBottomStartCorner();
|
734
|
+
} else if (coords.isEqual(this.getOuterBottomStartCorner())) {
|
735
|
+
return this.getOuterTopEndCorner();
|
736
|
+
}
|
737
|
+
}
|
738
|
+
|
739
|
+
/**
|
740
|
+
* @param {CellRange} range The cells range to compare with.
|
741
|
+
* @returns {Array}
|
742
|
+
*/
|
743
|
+
}, {
|
744
|
+
key: "getBordersSharedWith",
|
745
|
+
value: function getBordersSharedWith(range) {
|
746
|
+
if (!this.includesRange(range)) {
|
747
|
+
return [];
|
748
|
+
}
|
749
|
+
var thisBorders = {
|
750
|
+
top: Math.min(this.from.row, this.to.row),
|
751
|
+
bottom: Math.max(this.from.row, this.to.row),
|
752
|
+
left: Math.min(this.from.col, this.to.col),
|
753
|
+
right: Math.max(this.from.col, this.to.col)
|
754
|
+
};
|
755
|
+
var rangeBorders = {
|
756
|
+
top: Math.min(range.from.row, range.to.row),
|
757
|
+
bottom: Math.max(range.from.row, range.to.row),
|
758
|
+
left: Math.min(range.from.col, range.to.col),
|
759
|
+
right: Math.max(range.from.col, range.to.col)
|
760
|
+
};
|
761
|
+
var result = [];
|
762
|
+
if (thisBorders.top === rangeBorders.top) {
|
763
|
+
result.push('top');
|
764
|
+
}
|
765
|
+
if (thisBorders.right === rangeBorders.right) {
|
766
|
+
result.push('right');
|
767
|
+
}
|
768
|
+
if (thisBorders.bottom === rangeBorders.bottom) {
|
769
|
+
result.push('bottom');
|
770
|
+
}
|
771
|
+
if (thisBorders.left === rangeBorders.left) {
|
772
|
+
result.push('left');
|
773
|
+
}
|
774
|
+
return result;
|
775
|
+
}
|
776
|
+
|
777
|
+
/**
|
778
|
+
* Get inner selected cell coords defined by this range.
|
779
|
+
*
|
780
|
+
* @returns {Array}
|
781
|
+
*/
|
782
|
+
}, {
|
783
|
+
key: "getInner",
|
784
|
+
value: function getInner() {
|
785
|
+
var topStart = this.getOuterTopStartCorner();
|
786
|
+
var bottomEnd = this.getOuterBottomEndCorner();
|
787
|
+
var out = [];
|
788
|
+
for (var r = topStart.row; r <= bottomEnd.row; r++) {
|
789
|
+
for (var c = topStart.col; c <= bottomEnd.col; c++) {
|
790
|
+
if (!(this.from.row === r && this.from.col === c) && !(this.to.row === r && this.to.col === c)) {
|
791
|
+
out.push(this._createCellCoords(r, c));
|
792
|
+
}
|
793
|
+
}
|
794
|
+
}
|
795
|
+
return out;
|
796
|
+
}
|
797
|
+
|
798
|
+
/**
|
799
|
+
* Get all selected cell coords defined by this range.
|
800
|
+
*
|
801
|
+
* @returns {Array}
|
802
|
+
*/
|
803
|
+
}, {
|
804
|
+
key: "getAll",
|
805
|
+
value: function getAll() {
|
806
|
+
var topStart = this.getOuterTopStartCorner();
|
807
|
+
var bottomEnd = this.getOuterBottomEndCorner();
|
808
|
+
var out = [];
|
809
|
+
for (var r = topStart.row; r <= bottomEnd.row; r++) {
|
810
|
+
for (var c = topStart.col; c <= bottomEnd.col; c++) {
|
811
|
+
if (topStart.row === r && topStart.col === c) {
|
812
|
+
out.push(topStart);
|
813
|
+
} else if (bottomEnd.row === r && bottomEnd.col === c) {
|
814
|
+
out.push(bottomEnd);
|
815
|
+
} else {
|
816
|
+
out.push(this._createCellCoords(r, c));
|
817
|
+
}
|
818
|
+
}
|
819
|
+
}
|
820
|
+
return out;
|
821
|
+
}
|
822
|
+
|
823
|
+
/**
|
824
|
+
* Runs a callback function against all cells in the range. You can break the iteration by returning
|
825
|
+
* `false` in the callback function.
|
826
|
+
*
|
827
|
+
* @param {Function} callback The callback function.
|
828
|
+
*/
|
829
|
+
}, {
|
830
|
+
key: "forAll",
|
831
|
+
value: function forAll(callback) {
|
832
|
+
var topStart = this.getOuterTopStartCorner();
|
833
|
+
var bottomEnd = this.getOuterBottomEndCorner();
|
834
|
+
for (var r = topStart.row; r <= bottomEnd.row; r++) {
|
835
|
+
for (var c = topStart.col; c <= bottomEnd.col; c++) {
|
836
|
+
var breakIteration = callback(r, c);
|
837
|
+
if (breakIteration === false) {
|
838
|
+
return;
|
839
|
+
}
|
840
|
+
}
|
841
|
+
}
|
842
|
+
}
|
843
|
+
|
844
|
+
/**
|
845
|
+
* Clones the range coordinates.
|
846
|
+
*
|
847
|
+
* @returns {CellRange}
|
848
|
+
*/
|
849
|
+
}, {
|
850
|
+
key: "clone",
|
851
|
+
value: function clone() {
|
852
|
+
return new CellRange(this.highlight, this.from, this.to, _classPrivateFieldGet(this, _isRtl));
|
853
|
+
}
|
854
|
+
|
855
|
+
/**
|
856
|
+
* Convert CellRange to literal object.
|
857
|
+
*
|
858
|
+
* @returns {object} Returns a literal object with `from` and `to` properties which each of that object
|
859
|
+
* contains `row` and `col` keys.
|
860
|
+
*/
|
861
|
+
}, {
|
862
|
+
key: "toObject",
|
863
|
+
value: function toObject() {
|
864
|
+
return {
|
865
|
+
from: this.from.toObject(),
|
866
|
+
to: this.to.toObject()
|
867
|
+
};
|
868
|
+
}
|
869
|
+
|
870
|
+
/**
|
871
|
+
* Creates and returns a new instance of the CellCoords object. The object automatically inherits
|
872
|
+
* the LTR/RTL flag from this CellRange instance.
|
873
|
+
*
|
874
|
+
* @private
|
875
|
+
* @param {number} row The row index.
|
876
|
+
* @param {number} column The column index.
|
877
|
+
* @returns {CellCoords}
|
878
|
+
*/
|
879
|
+
}, {
|
880
|
+
key: "_createCellCoords",
|
881
|
+
value: function _createCellCoords(row, column) {
|
882
|
+
return new _coords.default(row, column, _classPrivateFieldGet(this, _isRtl));
|
883
|
+
}
|
884
|
+
}]);
|
885
|
+
return CellRange;
|
886
|
+
}();
|
887
|
+
var _default = CellRange;
|
888
|
+
exports.default = _default;
|