const SET_DATA = 'SET_DATA';
const SET_CREATE_FORMULA_PARSER = 'SET_CREATE_FORMULA_PARSER';
const SELECT_ENTIRE_ROW = 'SELECT_ENTIRE_ROW';
const SELECT_ENTIRE_COLUMN = 'SELECT_ENTIRE_COLUMN';
const SELECT_ENTIRE_WORKSHEET = 'SELECT_ENTIRE_WORKSHEET';
const SET_SELECTION = 'SET_SELECTION';
const SELECT = 'SELECT';
const ACTIVATE = 'ACTIVATE';
const SET_CELL_DATA = 'SET_CELL_DATA';
const SET_CELL_DIMENSIONS = 'SET_CELL_DIMENSIONS';
const COPY = 'COPY';
const CUT = 'CUT';
const PASTE = 'PASTE';
const EDIT = 'EDIT';
const VIEW = 'VIEW';
const CLEAR = 'CLEAR';
const BLUR = 'BLUR';
const KEY_PRESS = 'KEY_PRESS';
const KEY_DOWN = 'KEY_DOWN';
const DRAG_START = 'DRAG_START';
const DRAG_END = 'DRAG_END';
const COMMIT = 'COMMIT';
const BOLD = 'BOLD';
const ITALIC = 'ITALIC';
const UNDERLINE_TYPE = 'UNDERLINE_TYPE';
const FONT_FAMILY = 'FONT_FAMILY';
const FONT_SIZE = 'FONT_SIZE';
const TEXT_ALIGN = 'TEXT_ALIGN';
const BORDER_TYPE = 'BORDER_TYPE';
const COLOR = 'COLOR';
const BACKGROUND_COLOR = 'BACKGROUND_COLOR';
const FORMATE_PAINTER = 'FORMATE_PAINTER';
const ADD_ROW_TOP = 'ADD_ROW_TOP';
const ADD_ROW_BOTTOM = 'ADD_ROW_BOTTOM';
const ADD_COLUMN_LEFT = 'ADD_COLUMN_LEFT';
const ADD_COLUMN_RIGHT = 'ADD_COLUMN_RIGHT';
const DELETE_ROW = 'DELETE_ROW';
const DELETE_COLUMN = 'DELETE_COLUMN';
const SET_ROW_HEIGHT = 'SET_ROW_HEIGHT';
const SET_COLUMN_WIDTH = 'SET_COLUMN_WIDTH';
const SET_COLUMN_POSITION = 'SET_COLUMN_POSITION';
const SET_AUTO_FILL = 'SET_AUTO_FILL';
const UPDATE_COLUMN_DIMENSIONS = 'UPDATE_COLUMN_DIMENSIONS';
const SET_EDITABLE = 'SET_EDITABLE';
const ON_MOUSE_UP = 'ON_MOUSE_UP';
function onMouseUp(point) {
    return {
        type: ON_MOUSE_UP,
        payload: { point },
    };
}
function updateColumnDimensions(minimumColumnWidth) {
    return {
        type: UPDATE_COLUMN_DIMENSIONS,
        payload: { minimumColumnWidth },
    };
}
function editable(editable) {
    return {
        type: SET_EDITABLE,
        payload: { editable },
    };
}
function autoFill(autofill) {
    return {
        type: SET_AUTO_FILL,
        payload: { autofill },
    };
}
function setRowHeight(row, height) {
    return {
        type: SET_ROW_HEIGHT,
        payload: { row, height },
    };
}
function setColumnWidth(column, width) {
    return {
        type: SET_COLUMN_WIDTH,
        payload: { column, width },
    };
}
function setColumnPosition(column, width) {
    return {
        type: SET_COLUMN_POSITION,
        payload: { column, width },
    };
}
function bold(data) {
    return {
        type: BOLD,
        payload: { data },
    };
}
function italic(data) {
    return {
        type: ITALIC,
        payload: { data },
    };
}
function borderType(data, value, color) {
    return {
        type: BORDER_TYPE,
        payload: { data, value, color },
    };
}
function underlineType(data) {
    return {
        type: UNDERLINE_TYPE,
        payload: { data },
    };
}
function fontSize(data, value) {
    return {
        type: FONT_SIZE,
        payload: { data, value },
    };
}
function fontFamily(data, value) {
    return {
        type: FONT_FAMILY,
        payload: { data, value },
    };
}
function textAlign(data, value) {
    return {
        type: TEXT_ALIGN,
        payload: { data, value },
    };
}
function color(data, value) {
    return {
        type: COLOR,
        payload: { data, value },
    };
}
function backgroundStyle(data, value) {
    return {
        type: BACKGROUND_COLOR,
        payload: { data, value },
    };
}
function formatePainter(data) {
    return {
        type: FORMATE_PAINTER,
        payload: { data },
    };
}
function addRowTop(row) {
    return {
        type: ADD_ROW_TOP,
        row,
    };
}
function addRowBottom(row) {
    return {
        type: ADD_ROW_BOTTOM,
        row,
    };
}
function addColumnLeft(columnWidth, column) {
    return {
        type: ADD_COLUMN_LEFT,
        columnWidth,
        column,
    };
}
function addColumnRight(columnWidth, column) {
    return {
        type: ADD_COLUMN_RIGHT,
        columnWidth,
        column,
    };
}
function deleteRow(row) {
    return {
        type: DELETE_ROW,
        row,
    };
}
function deleteColumn(column) {
    return {
        type: DELETE_COLUMN,
        column
    };
}
function keyPress(event) {
    return {
        type: KEY_PRESS,
        payload: { event },
    };
}
function setData(data) {
    return {
        type: SET_DATA,
        payload: { data },
    };
}
function setCreateFormulaParser(createFormulaParser) {
    return {
        type: SET_CREATE_FORMULA_PARSER,
        payload: { createFormulaParser },
    };
}
function selectEntireRow(row, extend) {
    return {
        type: SELECT_ENTIRE_ROW,
        payload: { row, extend },
    };
}
function selectEntireColumn(column, extend) {
    return {
        type: SELECT_ENTIRE_COLUMN,
        payload: { column, extend },
    };
}
function selectEntireWorksheet() {
    return { type: SELECT_ENTIRE_WORKSHEET };
}
function setSelection(selection) {
    return { type: SET_SELECTION, payload: { selection } };
}
function select(point) {
    return {
        type: SELECT,
        payload: { point },
    };
}
function activate(point) {
    return {
        type: ACTIVATE,
        payload: { point },
    };
}
function setCellData(active, data) {
    return {
        type: SET_CELL_DATA,
        payload: { active, data },
    };
}
function setCellDimensions(point, dimensions) {
    return {
        type: SET_CELL_DIMENSIONS,
        payload: { point, dimensions },
    };
}
function paste(data) {
    return {
        type: PASTE,
        payload: { data },
    };
}
function keyDown(event) {
    return {
        type: KEY_DOWN,
        payload: { event },
    };
}
function dragStart() {
    return { type: DRAG_START };
}
function dragEnd() {
    return { type: DRAG_END };
}
function commit(changes) {
    return {
        type: COMMIT,
        payload: { changes },
    };
}
function copy() {
    return { type: COPY };
}
function cut() {
    return { type: CUT };
}
function edit() {
    return { type: EDIT };
}
function view() {
    return { type: VIEW };
}
function blur() {
    return { type: BLUR };
}

export { ACTIVATE, ADD_COLUMN_LEFT, ADD_COLUMN_RIGHT, ADD_ROW_BOTTOM, ADD_ROW_TOP, BACKGROUND_COLOR, BLUR, BOLD, BORDER_TYPE, CLEAR, COLOR, COMMIT, COPY, CUT, DELETE_COLUMN, DELETE_ROW, DRAG_END, DRAG_START, EDIT, FONT_FAMILY, FONT_SIZE, FORMATE_PAINTER, ITALIC, KEY_DOWN, KEY_PRESS, ON_MOUSE_UP, PASTE, SELECT, SELECT_ENTIRE_COLUMN, SELECT_ENTIRE_ROW, SELECT_ENTIRE_WORKSHEET, SET_AUTO_FILL, SET_CELL_DATA, SET_CELL_DIMENSIONS, SET_COLUMN_POSITION, SET_COLUMN_WIDTH, SET_CREATE_FORMULA_PARSER, SET_DATA, SET_EDITABLE, SET_ROW_HEIGHT, SET_SELECTION, TEXT_ALIGN, UNDERLINE_TYPE, UPDATE_COLUMN_DIMENSIONS, VIEW, activate, addColumnLeft, addColumnRight, addRowBottom, addRowTop, autoFill, backgroundStyle, blur, bold, borderType, color, commit, copy, cut, deleteColumn, deleteRow, dragEnd, dragStart, edit, editable, fontFamily, fontSize, formatePainter, italic, keyDown, keyPress, onMouseUp, paste, select, selectEntireColumn, selectEntireRow, selectEntireWorksheet, setCellData, setCellDimensions, setColumnPosition, setColumnWidth, setCreateFormulaParser, setData, setRowHeight, setSelection, textAlign, underlineType, updateColumnDimensions, view };
//# sourceMappingURL=actions.js.map
