"use strict";

exports.__esModule = true;
exports.videoCellType = void 0;
var _types = require("../../types");
var _View = require("./View");
exports.VideoView = _View.VideoView;
var _Edit = require("./Edit");
exports.VideoEdit = _Edit.VideoEdit;
const videoCellType = exports.videoCellType = (0, _types.defineCellType)({
  type: 'video',
  ViewComponent: _View.VideoView,
  EditComponent: _Edit.VideoEdit,
  serialize: value => value ?? '',
  clearable: true,
  showEditWhenFocused: true,
  // Returning undefined blocks all key presses from starting type-to-edit, but
  // the presence of the function sets the :typeToEdit CSS modifier which keeps
  // the selection borders visible while the cell is in edit mode (double border).
  onTypeToEdit: () => undefined
});
//# sourceMappingURL=index.js.map