"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "getCellMetas", {
    enumerable: true,
    get: function() {
        return getCellMetas;
    }
});
const _number = require("../../helpers/number");
function getCellMetas(hot, fromRow, toRow, fromColumn, toColumn) {
    const cellMetas = [];
    (0, _number.rangeEach)(fromColumn, toColumn, (columnIndex)=>{
        (0, _number.rangeEach)(fromRow, toRow, (rowIndex)=>{
            const cellMeta = hot.getCellMeta(rowIndex, columnIndex);
            cellMetas.push([
                cellMeta.visualRow,
                cellMeta.visualCol,
                cellMeta
            ]);
        });
    });
    return cellMetas;
}
