import switcherRenderer from './renderers/switcherRenderer';
import recoverRenderer from './renderers/recoverRenderer';
import { deleteRenderer, deleteRendererPriceFile, deleteRendererRateFile } from './renderers/deleteRenderer';
// import questionRender from './renderers/questionRender';
// import lockUnitPriceRender from './renderers/stateCheckBoxRender';
import timestampRender from './renderers/timestampRender';
// import switcherQuestionRenderer from './renderers/switcherQuestionRenderer';
import costKindRenderer from './renderers/costKindRenderer';
import gljTypeRenderer from './renderers/gljTypeRenderer';
import shareProjectRenderer from './renderers/shareProjectRenderer';
// import fromUserRenderer from './renderers/fromUserRenderer';
// import toUsersRenderer from './renderers/toUsersRenderer';
import indentRender from './renderers/indentRender';
import multipleLineRenderer from './renderers/multipleLineRenderer';
import { Hot } from '@/types/components';

const rendererRegisterList: Hot.RendererItem[] = [
  // renderer 函数
  ['wc.switcherRenderer', switcherRenderer],
  ['wc.recoverRenderer', recoverRenderer],
  ['wc.deleteRenderer', deleteRenderer],
  ['wc.deleteRenderer.priceFile', deleteRendererPriceFile],
  ['wc.deleteRenderer.rateFile', deleteRendererRateFile],
  // ['wc.questionRenderer', questionRender],
  ['wc.timestampRender', timestampRender],
  // 分享工程
  ['wc.shareProjectRenderer', shareProjectRenderer],
  // 来自
  // ['wc.fromUser', fromUserRenderer],
  // 指定用户
  // ['wc.toUsers', toUsersRenderer],
  // 工料机类型render
  ['wc.gljTypeRenderer', gljTypeRenderer],
  // 用于第一列可点开下拉且可以点击详情的情况
  // ['wc.switcherQuestionRenderer', switcherQuestionRenderer],
  // 造价书节点类型
  ['wc.costKindRenderer', costKindRenderer],
  // 用于需要缩进的情况
  ['wc.indentRender', indentRender],
  // 多行数据单行显示的情况
  ['wc.multipleLineRenderer', multipleLineRenderer],
];

export default rendererRegisterList;
