import { lang } from '@/i18n/lang'

export const getElementTypeZh = (): { [key: string]: string } => ({
  text: lang.ssElText,
  image: lang.ssElImage,
  shape: lang.ssElShape,
  line: lang.ssElLine,
  chart: lang.ssElChart,
  table: lang.ssElTable,
  video: lang.ssElVideo,
  audio: lang.ssElAudio,
  latex: lang.ssElLatex,
  frame: lang.ssElFrame,
})

export const MIN_SIZE: { [key: string]: number } = {
  text: 40,
  image: 20,
  shape: 20,
  chart: 200,
  table: 30,
  video: 250,
  audio: 20,
  latex: 20,
  frame: 200,
}