data.ts 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
  2. // @ts-ignore
  3. // eslint-disable-next-line @typescript-eslint/no-unused-vars
  4. import React from 'react';
  5. import Close from '../../public/icons/close.svg';
  6. import DownArrow from '../../public/icons/arrow00.svg';
  7. import Edit from '../../public/icons/navbar/rename00.svg';
  8. import EditActive from '../../public/icons/navbar/rename01.svg';
  9. import Search from '../../public/icons/navbar/Search00.svg';
  10. import SearchActive from '../../public/icons/navbar/Search01.svg';
  11. import Annotation from '../../public/icons/navbar/MyAnnotation00.svg';
  12. import AnnotationActive from '../../public/icons/navbar/MyAnnotation01.svg';
  13. import Thumbnail from '../../public/icons/navbar/Thumbnail00.svg';
  14. import ThumbnailActive from '../../public/icons/navbar/Thumbnail01.svg';
  15. import Print from '../../public/icons/navbar/Print00.svg';
  16. import PrintActive from '../../public/icons/navbar/Print01.svg';
  17. import Export from '../../public/icons/navbar/Export00.svg';
  18. import ExportActive from '../../public/icons/navbar/Export01.svg';
  19. import ZoomIn from '../../public/icons/toolbar/zoom00.svg';
  20. import ZoomInActive from '../../public/icons/toolbar/zoom01.svg';
  21. import ZoomOut from '../../public/icons/toolbar/zoomOut00.svg';
  22. import ZoomOutActive from '../../public/icons/toolbar/zoomOut01.svg';
  23. import Hand from '../../public/icons/toolbar/hand00.svg';
  24. import HandActive from '../../public/icons/toolbar/hand01.svg';
  25. import RotateLeft from '../../public/icons/toolbar/RotateLeft00.svg';
  26. import RotateLeftActive from '../../public/icons/toolbar/RotateLeft01.svg';
  27. import RotateRight from '../../public/icons/toolbar/RotateRight00.svg';
  28. import RotateRightActive from '../../public/icons/toolbar/RotateRight01.svg';
  29. import MarkupTools from '../../public/icons/sidebar/Markuptools00.svg';
  30. import Highlight from '../../public/icons/sidebar/Highlight.svg';
  31. import Freehand from '../../public/icons/sidebar/Freehand.svg';
  32. import Markpen from '../../public/icons/sidebar/markpen.svg';
  33. import Text from '../../public/icons/sidebar/Text.svg';
  34. import StickyNote1 from '../../public/icons/sidebar/StickyNote.svg';
  35. import StickyNote2 from '../../public/icons/annotation/StickyNote02.svg';
  36. import Shape from '../../public/icons/sidebar/Shape.svg';
  37. import CreateForm from '../../public/icons/sidebar/CreatForm00.svg';
  38. import AddImage from '../../public/icons/sidebar/AddImage00.svg';
  39. import Watermark from '../../public/icons/sidebar/Watermark00.svg';
  40. import Underline from '../../public/icons/sidebar/Underline.svg';
  41. import Squiggly from '../../public/icons/sidebar/Squiggly.svg';
  42. import Strikeout from '../../public/icons/sidebar/Strikeout.svg';
  43. import ColorPicker from '../../public/icons/sidebar/Colorpicker.svg';
  44. import Eraser from '../../public/icons/sidebar/eraser00.svg';
  45. import EraserActive from '../../public/icons/sidebar/eraser01.svg';
  46. import Undo from '../../public/icons/sidebar/undo.svg';
  47. import Redo from '../../public/icons/sidebar/redo.svg';
  48. import Bold from '../../public/icons/sidebar/Bold00.svg';
  49. import BoldActive from '../../public/icons/sidebar/Bold01.svg';
  50. import Italic from '../../public/icons/sidebar/Italic00.svg';
  51. import ItalicActive from '../../public/icons/sidebar/Italic01.svg';
  52. import AlignCenter from '../../public/icons/sidebar/Aligncenter00.svg';
  53. import AlignCenterActive from '../../public/icons/sidebar/Aligncenter01.svg';
  54. import AlignLeft from '../../public/icons/sidebar/Alignleft00.svg';
  55. import AlignLeftActive from '../../public/icons/sidebar/Alignleft01.svg';
  56. import AlignRight from '../../public/icons/sidebar/Alignright00.svg';
  57. import AlignRightActive from '../../public/icons/sidebar/Alignright01.svg';
  58. import Circle from '../../public/icons/sidebar/Circle.svg';
  59. import Square from '../../public/icons/sidebar/Rectangle.svg';
  60. import Line from '../../public/icons/sidebar/Line.svg';
  61. import Arrow from '../../public/icons/sidebar/Arrow.svg';
  62. import Border from '../../public/icons/sidebar/Border.svg';
  63. import Fill from '../../public/icons/sidebar/Fill.svg';
  64. import TextField from '../../public/icons/sidebar/Textfiled.svg';
  65. import Checkbox from '../../public/icons/sidebar/checkBox.svg';
  66. import RadioButton from '../../public/icons/sidebar/radiobutton.svg';
  67. import LeftBack from '../../public/icons/sidebar/LeftBack.svg';
  68. import RightBack from '../../public/icons/sidebar/RightBack.svg';
  69. import Sort from '../../public/icons/annotation/sort.svg';
  70. import Import from '../../public/icons/annotation/import.svg';
  71. import AnnotationExport from '../../public/icons/annotation/Export.svg';
  72. import ToolOpen from '../../public/icons/btn_ToolsOpen.svg';
  73. import ToolClose from '../../public/icons/btn_ToolsClose.svg';
  74. import Trash from '../../public/icons/selector/delete00.svg';
  75. import Trash2 from '../../public/icons/selector/scale_delete.svg';
  76. import RightArrow from '../../public/icons/right-arrow.svg';
  77. import Clear from '../../public/icons/sidebar/clear.svg';
  78. import None from '../../public/icons/sidebar/None.svg';
  79. const data: { [index: string]: any } = {
  80. close: {
  81. Normal: Close,
  82. },
  83. 'down-arrow': {
  84. Normal: DownArrow,
  85. },
  86. edit: {
  87. Normal: Edit,
  88. Hover: EditActive,
  89. },
  90. search: {
  91. Normal: Search,
  92. Hover: SearchActive,
  93. },
  94. annotations: {
  95. Normal: Annotation,
  96. Hover: AnnotationActive,
  97. },
  98. thumbnails: {
  99. Normal: Thumbnail,
  100. Hover: ThumbnailActive,
  101. },
  102. print: {
  103. Normal: Print,
  104. Hover: PrintActive,
  105. },
  106. export: {
  107. Normal: Export,
  108. Hover: ExportActive,
  109. },
  110. 'zoom-in': {
  111. Normal: ZoomIn,
  112. Hover: ZoomInActive,
  113. },
  114. 'zoom-out': {
  115. Normal: ZoomOut,
  116. Hover: ZoomOutActive,
  117. },
  118. hand: {
  119. Normal: Hand,
  120. Hover: HandActive,
  121. },
  122. 'rotate-left': {
  123. Normal: RotateLeft,
  124. Hover: RotateLeftActive,
  125. },
  126. 'rotate-right': {
  127. Normal: RotateRight,
  128. Hover: RotateRightActive,
  129. },
  130. 'markup-tools': {
  131. Normal: MarkupTools,
  132. },
  133. highlight: {
  134. Normal: Highlight,
  135. },
  136. freehand: {
  137. Normal: Freehand,
  138. },
  139. text: {
  140. Normal: Text,
  141. },
  142. 'sticky-note': {
  143. Normal: StickyNote1,
  144. },
  145. 'sticky-note-2': {
  146. Normal: StickyNote2,
  147. },
  148. shape: {
  149. Normal: Shape,
  150. },
  151. 'create-form': {
  152. Normal: CreateForm,
  153. },
  154. 'add-image': {
  155. Normal: AddImage,
  156. },
  157. watermark: {
  158. Normal: Watermark,
  159. },
  160. underline: {
  161. Normal: Underline,
  162. },
  163. squiggly: {
  164. Normal: Squiggly,
  165. },
  166. strikeout: {
  167. Normal: Strikeout,
  168. },
  169. 'color-picker': {
  170. Normal: ColorPicker,
  171. },
  172. markpen: {
  173. Normal: Markpen,
  174. },
  175. eraser: {
  176. Normal: Eraser,
  177. Hover: EraserActive,
  178. },
  179. undo: {
  180. Normal: Undo,
  181. },
  182. redo: {
  183. Normal: Redo,
  184. },
  185. bold: {
  186. Normal: Bold,
  187. Hover: BoldActive,
  188. },
  189. italic: {
  190. Normal: Italic,
  191. Hover: ItalicActive,
  192. },
  193. 'align-center': {
  194. Normal: AlignCenter,
  195. Hover: AlignCenterActive,
  196. },
  197. 'align-left': {
  198. Normal: AlignLeft,
  199. Hover: AlignLeftActive,
  200. },
  201. 'align-right': {
  202. Normal: AlignRight,
  203. Hover: AlignRightActive,
  204. },
  205. circle: {
  206. Normal: Circle,
  207. },
  208. square: {
  209. Normal: Square,
  210. },
  211. line: {
  212. Normal: Line,
  213. },
  214. arrow: {
  215. Normal: Arrow,
  216. },
  217. border: {
  218. Normal: Border,
  219. },
  220. fill: {
  221. Normal: Fill,
  222. },
  223. 'text-field': {
  224. Normal: TextField,
  225. },
  226. checkbox: {
  227. Normal: Checkbox,
  228. },
  229. 'radio-button': {
  230. Normal: RadioButton,
  231. },
  232. 'right-back': {
  233. Normal: RightBack,
  234. },
  235. 'left-back': {
  236. Normal: LeftBack,
  237. },
  238. sort: {
  239. Normal: Sort,
  240. },
  241. import: {
  242. Normal: Import,
  243. },
  244. 'annotation-export': {
  245. Normal: AnnotationExport,
  246. },
  247. 'tool-open': {
  248. Normal: ToolOpen,
  249. },
  250. 'tool-close': {
  251. Normal: ToolClose,
  252. },
  253. trash: {
  254. Normal: Trash,
  255. },
  256. 'trash-2': {
  257. Normal: Trash2,
  258. },
  259. 'right-arrow': {
  260. Normal: RightArrow,
  261. },
  262. clear: {
  263. Normal: Clear,
  264. },
  265. none: {
  266. Normal: None,
  267. },
  268. };
  269. export default data;