import utils from"../utils";class CellEventsClass{constructor(){}onkeydown(e,t,l){const o=utils.getKeyPressed(e);"TAB_KEY_EVENT"==o||"SHIFT_TAB_KEY_EVENT"==o?l.doAction({type:"TAB_KEY_IN_CELL",payload:{keyEvent:o,rowIndex:t.rowIndex,cellIndex:t.cellIndex,stateRecordID:t.stateRecordID}}):"ENTER_KEY_EVENT"==o&&l.doAction({type:"ENTER_KEY_IN_CELL",payload:{rowIndex:t.rowIndex,cellIndex:t.cellIndex,stateRecordID:t.stateRecordID}})}}let cellEvents=new CellEventsClass;export default cellEvents;