Files
ETB/ETB-FrontEnd/node_modules/@mui/x-data-grid/models/params/gridEditCellParams.js
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

34 lines
1.2 KiB
JavaScript

// TODO v6 - remove
/**
* Params passed to `apiRef.current.setEditCellValue`.
*/
// TODO v6 - remove
// TODO v6 - remove
var GridCellEditStartReasons;
/**
* Params passed to the `cellEditStart` event.
*/
(function (GridCellEditStartReasons) {
GridCellEditStartReasons["enterKeyDown"] = "enterKeyDown";
GridCellEditStartReasons["cellDoubleClick"] = "cellDoubleClick";
GridCellEditStartReasons["printableKeyDown"] = "printableKeyDown";
GridCellEditStartReasons["deleteKeyDown"] = "deleteKeyDown";
})(GridCellEditStartReasons || (GridCellEditStartReasons = {}));
var GridCellEditStopReasons;
/**
* Params passed to the `cellEditStop event.
*/
(function (GridCellEditStopReasons) {
GridCellEditStopReasons["cellFocusOut"] = "cellFocusOut";
GridCellEditStopReasons["escapeKeyDown"] = "escapeKeyDown";
GridCellEditStopReasons["enterKeyDown"] = "enterKeyDown";
GridCellEditStopReasons["tabKeyDown"] = "tabKeyDown";
GridCellEditStopReasons["shiftTabKeyDown"] = "shiftTabKeyDown";
})(GridCellEditStopReasons || (GridCellEditStopReasons = {}));
// https://github.com/mui/mui-x/pull/3738#discussion_r798504277
export { GridCellEditStartReasons, GridCellEditStopReasons };