export interface MenuType {
  name: string,
  title: string,
  icon: string,
  type: string,
  children: MenuType[],
  open: boolean,

  [key: string]: any
}

export enum Language {
  zh = 'zh', // 中文
  en = 'en' // 英文
}

export interface DialogConfig {
  show: boolean
  template: string,
  width: string,
  height: string,
  who: string
  header: {
    title: string,
    hasIcon: boolean,
    iconSrc: string,
    hasMin: boolean,
    hasMax: boolean
  },
  position: {
    top: string,
    left: string
  }
}

export interface DialogAllConfig {
  dialog: DialogConfig,
  info: any
}
