import DrawRectSvg from '@/assets/annotation/toolHotKeyIcon/icon_frame_kj.svg' ; import DrawInvalidRectSvg from '@/assets/annotation/toolHotKeyIcon/icon_frameNull_kj.svg' ; import MouseLeftSvg from '@/assets/annotation/toolHotKeyIcon/icon_mouse_left_kj.svg' ; import SelectedRectSvg from '@/assets/annotation/toolHotKeyIcon/icon_frameActive_kj.svg' ; import MouseRightSvg from '@/assets/annotation/toolHotKeyIcon/icon_mouse_right_kj.svg' ; import ChangeValidSvg from '@/assets/annotation/toolHotKeyIcon/icon_frameChange_kj.svg' ; import DeleteRectSvg from '@/assets/annotation/toolHotKeyIcon/icon_del_kj.svg' ; import { backward , dargWithRightClick , forward , restore , revoke , rotate , scale , tabChangeSelected , tabReverseChangeSelected , } from '../common' ; export const drawRect = { name : 'AnnotateRect' , icon : DrawRectSvg , shortCut : [ MouseLeftSvg , MouseLeftSvg ] , } ; export const drawInvalidRect = { name : 'AnnotateInvalidRect' , icon : DrawInvalidRectSvg , shortCut : [ MouseLeftSvg , 'Ctrl' , MouseLeftSvg ] , } ; export const selectRect = { name : 'SelectRect' , icon : SelectedRectSvg , shortCut : [ MouseRightSvg ] , noticeInfo : 'RightClick' , } ; export const changeValid = { name : 'ToggleRectEffectiveness' , icon : ChangeValidSvg , shortCut : [ 'F' ] , } ; export const changeValidByClick = { name : 'ToggleRectEffectiveness' , icon : ChangeValidSvg , shortCut : [ 'Ctrl' , MouseLeftSvg ] , } ; export const deleteRect = { name : 'DeleteRect' , icon : DeleteRectSvg , shortCut : [ MouseRightSvg ] , noticeInfo : 'SelectAndDoubleClick' , } ; const rectToolShortcutTable = [ drawRect , drawInvalidRect , selectRect , changeValid , changeValidByClick , deleteRect , revoke , restore , rotate , scale , backward , forward , dargWithRightClick , tabChangeSelected , tabReverseChangeSelected , ] ; export default rectToolShortcutTable ;