export const WIDGET_TYPE = {
  BOARD_NUMERIC: 'BOARD_NUMERIC',
  BOARD_TABLE: 'BOARD_TABLE',
  CHART_LINE: 'CHART_LINE',
  CHART_STACKED_LINE: 'CHART_STACKED_LINE',
  CHART_AREA: 'CHART_AREA',
  CHART_STACKED_AREA: 'CHART_STACKED_AREA',
  CHART_BAR: 'CHART_BAR',
  CHART_STACKED_BAR: 'CHART_STACKED_BAR',
  CHART_COLUMN: 'CHART_COLUMN',
  CHART_STACKED_COLUMN: 'CHART_STACKED_COLUMN',
  CHART_PIE: 'CHART_PIE',
  CHART_DONUT: 'CHART_DONUT',
  CHART_NIGHTINGALE: 'CHART_NIGHTINGALE',
  MIXED_CHART_LINE_BAR: 'MIXED_CHART_LINE_BAR',
  CHART_SCATTER: 'CHART_SCATTER',
  CHART_BUBBLE: 'CHART_BUBBLE',
  CHART_RADAR: 'CHART_RADAR',
  CHART_TREEMAP: 'CHART_TREEMAP',
  CHART_SUNBURST: 'CHART_SUNBURST',
  CHART_HEATMAP: 'CHART_HEATMAP',
  CHART_GAUGE: 'CHART_GAUGE',
  CHART_CANDLESTICK: 'CHART_CANDLESTICK',
  CHART_FUNNEL: 'CHART_FUNNEL',
  CHART_3D_BAR: 'CHART_3D_BAR',
  CHART_3D_LINE: 'CHART_3D_LINE',
  CHART_3D_SCATTER: 'CHART_3D_SCATTER',
  CHART_3D_BUBBLE: 'CHART_3D_BUBBLE',
  CHART_WATERFALL_BAR: 'CHART_WATERFALL_BAR',
  CHART_WATERFALL_COLUMN: 'CHART_WATERFALL_COLUMN',
  CHART_POLAR_BAR: 'CHART_POLAR_BAR',
  CHART_POLAR_STACKED_BAR: 'CHART_POLAR_STACKED_BAR',
  MIXED_CHART_LINE_PIE: 'MIXED_CHART_LINE_PIE',
  MIXED_CHART_AREA_PIE: 'MIXED_CHART_AREA_PIE',
  MIXED_CHART_BAR_PIE: 'MIXED_CHART_BAR_PIE',
  MIXED_CHART_COLUMN_PIE: 'MIXED_CHART_COLUMN_PIE',
  MIXED_CHART_STACKED_BAR_PIE: 'MIXED_CHART_STACKED_BAR_PIE',
  MIXED_CHART_STACKED_COLUMN_PIE: 'MIXED_CHART_STACKED_COLUMN_PIE',
  MIXED_CHART_STACKED_LINE_PIE: 'MIXED_CHART_STACKED_LINE_PIE',
  MIXED_CHART_STACKED_AREA_PIE: 'MIXED_CHART_STACKED_AREA_PIE',
  MIXED_CHART_DONUT_PIE: 'MIXED_CHART_DONUT_PIE',
  MIXED_CHART_NIGHTINGALE_PIE: 'MIXED_CHART_NIGHTINGALE_PIE',
  MIXED_CHART_LINE_STACKED_BAR: 'MIXED_CHART_LINE_STACKED_BAR',
  MIXED_CHART_LINE_BOARD_NUMERIC: 'MIXED_CHART_LINE_BOARD_NUMERIC',
  MIXED_CHART_AREA_BOARD_NUMERIC: 'MIXED_CHART_AREA_BOARD_NUMERIC',
  MIXED_CHART_BAR_BOARD_NUMERIC: 'MIXED_CHART_BAR_BOARD_NUMERIC',
  MIXED_CHART_COLUMN_BOARD_NUMERIC: 'MIXED_CHART_COLUMN_BOARD_NUMERIC',
  MIXED_CHART_STACKED_LINE_BOARD_NUMERIC: 'MIXED_CHART_STACKED_LINE_BOARD_NUMERIC',
  MIXED_CHART_STACKED_AREA_BOARD_NUMERIC: 'MIXED_CHART_STACKED_AREA_BOARD_NUMERIC',
  MIXED_CHART_STACKED_BAR_BOARD_NUMERIC: 'MIXED_CHART_STACKED_BAR_BOARD_NUMERIC',
  MIXED_CHART_STACKED_COLUMN_BOARD_NUMERIC: 'MIXED_CHART_STACKED_COLUMN_BOARD_NUMERIC',
  MIXED_CHART_DONUT_BOARD_NUMERIC: 'MIXED_CHART_DONUT_BOARD_NUMERIC',
  MIXED_CHART_NIGHTINGALE_BOARD_NUMERIC: 'MIXED_CHART_NIGHTINGALE_BOARD_NUMERIC',
};

export const WIDGET_AGGREGATION = {
  SUM: 'sum',
  AVG: 'avg',
  MAX: 'max',
  MIN: 'min',
};

export const TABLE_ALIGN = {
  LEFT: 'left',
  CENTER: 'center',
  RIGHT: 'right',
};

export const AGGREGATION_LIST = [
  { label: '합계', value: WIDGET_AGGREGATION.SUM },
  { label: '평균', value: WIDGET_AGGREGATION.AVG },
  { label: '최대', value: WIDGET_AGGREGATION.MAX },
  { label: '최소', value: WIDGET_AGGREGATION.MIN },
];

export const LABEL_LIST = [{ label: '표시', value: true }];

export const PIE_LABEL_LIST = [
  { label: '이름', value: '{b}' },
  { label: '값', value: '{c}' },
  { label: '퍼센트', value: '{d}' + ' %' },
];

export const ALIGN_LIST = [
  { label: 'Left', value: TABLE_ALIGN.LEFT },
  { label: 'Center', value: TABLE_ALIGN.CENTER },
  { label: 'Right', value: TABLE_ALIGN.RIGHT },
];

export const COLUMN_TYPE = {
  STRING: 'string',
  NUMBER: 'number',
  DATE: 'date',
};

export const LEGEND_LIST = [
  { label: '위쪽', value: 'top' },
  { label: '왼쪽', value: 'left' },
  { label: '오른쪽', value: 'right' },
  { label: '아래쪽', value: 'bottom' },
];

export const STATUS = {
  SUCCESS: 'SUCCESS',
};
