export interface ToolConfig {
  key? : string,
  icon : string,
  name : string,
  shortcut? : string,
  isCtrl? : boolean,
  tooltip? : string,
}

export const ToolConfigs : {[key:string] : ToolConfig} = {
  'pan': {
    icon: 'fal fa-arrows',
    name: $localize`移动`,
    shortcut : ' ',
    tooltip : $localize`空格键`
  },
  'color-picker': {
    icon: 'fal fa-eye-dropper',
    name: $localize`吸色`,
    shortcut : 'i',
  },
  'number-edit-bucket': {
    icon: 'fal fa-fill-drip',
    name: $localize`填充`,
    shortcut : 'g',
},
  'number-edit-erase': {
    icon: 'fal fa-eraser',
    name: $localize`擦除`,
    shortcut : 'e',
  },
  'number-edit-select': {
    icon: 'fal fa-plus-circle',
    name: $localize`编排`,
    shortcut: 'j',
  },
  'number-edit-play': {
    icon: 'fal fa-play-circle',
    name: $localize`播放`,
    shortcut: 'k',
  },
  'map-edit-merge': {
    icon: 'fal fa-link',
    name: $localize`合并`,
    shortcut : 'e',
    isCtrl : true,
    tooltip : 'Ctrl/Cmd + e'
  },
  'map-edit-brush': {
    icon: 'fal fa-paint-brush-alt',
    name: $localize`笔刷`,
    shortcut : 'b',
  },
  'map-edit-recover': {
    icon: 'fal fa-first-aid',
    name: $localize`恢复`,
    shortcut : 'z',
  },
  'map-edit-split-area': {
    icon: 'fal fa-plus-circle',
    name: $localize`分割`,
    shortcut : 'x',
  },
  'map-edit-pencil': {
    icon: 'fal fa-pencil',
    name: $localize`铅笔`,
    shortcut : 'p',
  },
  'order-edit-select': {
    icon: 'fal fa-plus-circle',
    name: $localize`选择`,
  },
  'order-edit-play': {
    icon: 'fal fa-play-circle',
    name: $localize`播放`,
  },
  'mark-edit-mark': {
    icon: 'far fa-circle',
    name: $localize`标记`,
    shortcut : 'n',
  },
};
