js-draw 0.18.0 → 0.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (656) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/bundle.js +1 -1
  3. package/package.json +3 -2
  4. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -34
  5. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  6. package/.github/ISSUE_TEMPLATE/translation.yml +0 -902
  7. package/.github/pull_request_template.md +0 -15
  8. package/.github/workflows/firebase-hosting-merge.yml +0 -34
  9. package/.github/workflows/firebase-hosting-pull-request.yml +0 -34
  10. package/.github/workflows/github-pages.yml +0 -58
  11. package/.husky/pre-commit +0 -4
  12. package/build_tools/BundledFile.ts +0 -167
  13. package/build_tools/buildTranslationTemplate.ts +0 -121
  14. package/build_tools/bundle.ts +0 -11
  15. package/build_tools/postDist.ts +0 -71
  16. package/dist/cjs/build_tools/BundledFile.d.ts +0 -13
  17. package/dist/cjs/build_tools/BundledFile.js +0 -163
  18. package/dist/cjs/build_tools/buildTranslationTemplate.d.ts +0 -1
  19. package/dist/cjs/build_tools/buildTranslationTemplate.js +0 -119
  20. package/dist/cjs/build_tools/bundle.d.ts +0 -1
  21. package/dist/cjs/build_tools/bundle.js +0 -10
  22. package/dist/cjs/build_tools/postDist.d.ts +0 -1
  23. package/dist/cjs/build_tools/postDist.js +0 -72
  24. package/dist/cjs/src/Color4.d.ts +0 -61
  25. package/dist/cjs/src/Color4.js +0 -197
  26. package/dist/cjs/src/Editor.d.ts +0 -308
  27. package/dist/cjs/src/Editor.js +0 -904
  28. package/dist/cjs/src/EditorImage.d.ts +0 -97
  29. package/dist/cjs/src/EditorImage.js +0 -486
  30. package/dist/cjs/src/EventDispatcher.d.ts +0 -30
  31. package/dist/cjs/src/EventDispatcher.js +0 -57
  32. package/dist/cjs/src/Pointer.d.ts +0 -24
  33. package/dist/cjs/src/Pointer.js +0 -84
  34. package/dist/cjs/src/SVGLoader.d.ts +0 -48
  35. package/dist/cjs/src/SVGLoader.js +0 -472
  36. package/dist/cjs/src/UndoRedoHistory.d.ts +0 -19
  37. package/dist/cjs/src/UndoRedoHistory.js +0 -93
  38. package/dist/cjs/src/Viewport.d.ts +0 -71
  39. package/dist/cjs/src/Viewport.js +0 -264
  40. package/dist/cjs/src/bundle/bundled.d.ts +0 -4
  41. package/dist/cjs/src/bundle/bundled.js +0 -24
  42. package/dist/cjs/src/commands/Command.d.ts +0 -16
  43. package/dist/cjs/src/commands/Command.js +0 -34
  44. package/dist/cjs/src/commands/Duplicate.d.ts +0 -14
  45. package/dist/cjs/src/commands/Duplicate.js +0 -39
  46. package/dist/cjs/src/commands/Erase.d.ts +0 -14
  47. package/dist/cjs/src/commands/Erase.js +0 -63
  48. package/dist/cjs/src/commands/SerializableCommand.d.ts +0 -12
  49. package/dist/cjs/src/commands/SerializableCommand.js +0 -42
  50. package/dist/cjs/src/commands/UnresolvedCommand.d.ts +0 -14
  51. package/dist/cjs/src/commands/UnresolvedCommand.js +0 -28
  52. package/dist/cjs/src/commands/invertCommand.d.ts +0 -4
  53. package/dist/cjs/src/commands/invertCommand.js +0 -49
  54. package/dist/cjs/src/commands/lib.d.ts +0 -7
  55. package/dist/cjs/src/commands/lib.js +0 -18
  56. package/dist/cjs/src/commands/localization.d.ts +0 -23
  57. package/dist/cjs/src/commands/localization.js +0 -24
  58. package/dist/cjs/src/commands/uniteCommands.d.ts +0 -4
  59. package/dist/cjs/src/commands/uniteCommands.js +0 -121
  60. package/dist/cjs/src/components/AbstractComponent.d.ts +0 -73
  61. package/dist/cjs/src/components/AbstractComponent.js +0 -258
  62. package/dist/cjs/src/components/ImageBackground.d.ts +0 -42
  63. package/dist/cjs/src/components/ImageBackground.js +0 -146
  64. package/dist/cjs/src/components/ImageComponent.d.ts +0 -31
  65. package/dist/cjs/src/components/ImageComponent.js +0 -152
  66. package/dist/cjs/src/components/RestylableComponent.d.ts +0 -24
  67. package/dist/cjs/src/components/RestylableComponent.js +0 -88
  68. package/dist/cjs/src/components/SVGGlobalAttributesObject.d.ts +0 -21
  69. package/dist/cjs/src/components/SVGGlobalAttributesObject.js +0 -65
  70. package/dist/cjs/src/components/Stroke.d.ts +0 -40
  71. package/dist/cjs/src/components/Stroke.js +0 -191
  72. package/dist/cjs/src/components/TextComponent.d.ts +0 -53
  73. package/dist/cjs/src/components/TextComponent.js +0 -258
  74. package/dist/cjs/src/components/UnknownSVGObject.d.ts +0 -18
  75. package/dist/cjs/src/components/UnknownSVGObject.js +0 -50
  76. package/dist/cjs/src/components/builders/ArrowBuilder.d.ts +0 -19
  77. package/dist/cjs/src/components/builders/ArrowBuilder.js +0 -117
  78. package/dist/cjs/src/components/builders/FreehandLineBuilder.d.ts +0 -33
  79. package/dist/cjs/src/components/builders/FreehandLineBuilder.js +0 -173
  80. package/dist/cjs/src/components/builders/LineBuilder.d.ts +0 -18
  81. package/dist/cjs/src/components/builders/LineBuilder.js +0 -89
  82. package/dist/cjs/src/components/builders/PressureSensitiveFreehandLineBuilder.d.ts +0 -36
  83. package/dist/cjs/src/components/builders/PressureSensitiveFreehandLineBuilder.js +0 -347
  84. package/dist/cjs/src/components/builders/RectangleBuilder.d.ts +0 -20
  85. package/dist/cjs/src/components/builders/RectangleBuilder.js +0 -59
  86. package/dist/cjs/src/components/builders/types.d.ts +0 -12
  87. package/dist/cjs/src/components/builders/types.js +0 -2
  88. package/dist/cjs/src/components/lib.d.ts +0 -12
  89. package/dist/cjs/src/components/lib.js +0 -43
  90. package/dist/cjs/src/components/localization.d.ts +0 -11
  91. package/dist/cjs/src/components/localization.js +0 -13
  92. package/dist/cjs/src/components/util/StrokeSmoother.d.ts +0 -35
  93. package/dist/cjs/src/components/util/StrokeSmoother.js +0 -217
  94. package/dist/cjs/src/components/util/describeComponentList.d.ts +0 -4
  95. package/dist/cjs/src/components/util/describeComponentList.js +0 -16
  96. package/dist/cjs/src/lib.d.ts +0 -34
  97. package/dist/cjs/src/lib.js +0 -63
  98. package/dist/cjs/src/localization.d.ts +0 -14
  99. package/dist/cjs/src/localization.js +0 -13
  100. package/dist/cjs/src/localizations/de.d.ts +0 -3
  101. package/dist/cjs/src/localizations/de.js +0 -6
  102. package/dist/cjs/src/localizations/en.d.ts +0 -3
  103. package/dist/cjs/src/localizations/en.js +0 -6
  104. package/dist/cjs/src/localizations/es.d.ts +0 -3
  105. package/dist/cjs/src/localizations/es.js +0 -20
  106. package/dist/cjs/src/localizations/getLocalizationTable.d.ts +0 -3
  107. package/dist/cjs/src/localizations/getLocalizationTable.js +0 -50
  108. package/dist/cjs/src/math/LineSegment2.d.ts +0 -24
  109. package/dist/cjs/src/math/LineSegment2.js +0 -131
  110. package/dist/cjs/src/math/Mat33.d.ts +0 -118
  111. package/dist/cjs/src/math/Mat33.js +0 -332
  112. package/dist/cjs/src/math/Path.d.ts +0 -71
  113. package/dist/cjs/src/math/Path.js +0 -655
  114. package/dist/cjs/src/math/Rect2.d.ts +0 -52
  115. package/dist/cjs/src/math/Rect2.js +0 -234
  116. package/dist/cjs/src/math/Triangle.d.ts +0 -11
  117. package/dist/cjs/src/math/Triangle.js +0 -22
  118. package/dist/cjs/src/math/Vec2.d.ts +0 -13
  119. package/dist/cjs/src/math/Vec2.js +0 -19
  120. package/dist/cjs/src/math/Vec3.d.ts +0 -106
  121. package/dist/cjs/src/math/Vec3.js +0 -177
  122. package/dist/cjs/src/math/lib.d.ts +0 -7
  123. package/dist/cjs/src/math/lib.js +0 -18
  124. package/dist/cjs/src/math/rounding.d.ts +0 -4
  125. package/dist/cjs/src/math/rounding.js +0 -135
  126. package/dist/cjs/src/rendering/Display.d.ts +0 -75
  127. package/dist/cjs/src/rendering/Display.js +0 -214
  128. package/dist/cjs/src/rendering/RenderingStyle.d.ts +0 -31
  129. package/dist/cjs/src/rendering/RenderingStyle.js +0 -48
  130. package/dist/cjs/src/rendering/TextRenderingStyle.d.ts +0 -36
  131. package/dist/cjs/src/rendering/TextRenderingStyle.js +0 -29
  132. package/dist/cjs/src/rendering/caching/CacheRecord.d.ts +0 -20
  133. package/dist/cjs/src/rendering/caching/CacheRecord.js +0 -61
  134. package/dist/cjs/src/rendering/caching/CacheRecordManager.d.ts +0 -12
  135. package/dist/cjs/src/rendering/caching/CacheRecordManager.js +0 -50
  136. package/dist/cjs/src/rendering/caching/RenderingCache.d.ts +0 -11
  137. package/dist/cjs/src/rendering/caching/RenderingCache.js +0 -51
  138. package/dist/cjs/src/rendering/caching/RenderingCacheNode.d.ts +0 -29
  139. package/dist/cjs/src/rendering/caching/RenderingCacheNode.js +0 -326
  140. package/dist/cjs/src/rendering/caching/testUtils.d.ts +0 -9
  141. package/dist/cjs/src/rendering/caching/testUtils.js +0 -27
  142. package/dist/cjs/src/rendering/caching/types.d.ts +0 -19
  143. package/dist/cjs/src/rendering/caching/types.js +0 -2
  144. package/dist/cjs/src/rendering/lib.d.ts +0 -5
  145. package/dist/cjs/src/rendering/lib.js +0 -16
  146. package/dist/cjs/src/rendering/localization.d.ts +0 -10
  147. package/dist/cjs/src/rendering/localization.js +0 -12
  148. package/dist/cjs/src/rendering/renderers/AbstractRenderer.d.ts +0 -68
  149. package/dist/cjs/src/rendering/renderers/AbstractRenderer.js +0 -170
  150. package/dist/cjs/src/rendering/renderers/CanvasRenderer.d.ts +0 -63
  151. package/dist/cjs/src/rendering/renderers/CanvasRenderer.js +0 -236
  152. package/dist/cjs/src/rendering/renderers/DummyRenderer.d.ts +0 -35
  153. package/dist/cjs/src/rendering/renderers/DummyRenderer.js +0 -112
  154. package/dist/cjs/src/rendering/renderers/SVGRenderer.d.ts +0 -57
  155. package/dist/cjs/src/rendering/renderers/SVGRenderer.js +0 -311
  156. package/dist/cjs/src/rendering/renderers/TextOnlyRenderer.d.ts +0 -29
  157. package/dist/cjs/src/rendering/renderers/TextOnlyRenderer.js +0 -63
  158. package/dist/cjs/src/testing/beforeEachFile.d.ts +0 -1
  159. package/dist/cjs/src/testing/beforeEachFile.js +0 -12
  160. package/dist/cjs/src/testing/createEditor.d.ts +0 -4
  161. package/dist/cjs/src/testing/createEditor.js +0 -14
  162. package/dist/cjs/src/testing/lib.d.ts +0 -2
  163. package/dist/cjs/src/testing/lib.js +0 -10
  164. package/dist/cjs/src/testing/loadExpectExtensions.d.ts +0 -2
  165. package/dist/cjs/src/testing/loadExpectExtensions.js +0 -28
  166. package/dist/cjs/src/testing/sendPenEvent.d.ts +0 -12
  167. package/dist/cjs/src/testing/sendPenEvent.js +0 -24
  168. package/dist/cjs/src/testing/sendTouchEvent.d.ts +0 -42
  169. package/dist/cjs/src/testing/sendTouchEvent.js +0 -87
  170. package/dist/cjs/src/toolbar/HTMLToolbar.d.ts +0 -103
  171. package/dist/cjs/src/toolbar/HTMLToolbar.js +0 -383
  172. package/dist/cjs/src/toolbar/IconProvider.d.ts +0 -62
  173. package/dist/cjs/src/toolbar/IconProvider.js +0 -660
  174. package/dist/cjs/src/toolbar/lib.d.ts +0 -3
  175. package/dist/cjs/src/toolbar/lib.js +0 -24
  176. package/dist/cjs/src/toolbar/localization.d.ts +0 -49
  177. package/dist/cjs/src/toolbar/localization.js +0 -51
  178. package/dist/cjs/src/toolbar/makeColorInput.d.ts +0 -6
  179. package/dist/cjs/src/toolbar/makeColorInput.js +0 -120
  180. package/dist/cjs/src/toolbar/types.d.ts +0 -4
  181. package/dist/cjs/src/toolbar/types.js +0 -2
  182. package/dist/cjs/src/toolbar/widgets/ActionButtonWidget.d.ts +0 -15
  183. package/dist/cjs/src/toolbar/widgets/ActionButtonWidget.js +0 -31
  184. package/dist/cjs/src/toolbar/widgets/BaseToolWidget.d.ts +0 -11
  185. package/dist/cjs/src/toolbar/widgets/BaseToolWidget.js +0 -50
  186. package/dist/cjs/src/toolbar/widgets/BaseWidget.d.ts +0 -72
  187. package/dist/cjs/src/toolbar/widgets/BaseWidget.js +0 -313
  188. package/dist/cjs/src/toolbar/widgets/DocumentPropertiesWidget.d.ts +0 -18
  189. package/dist/cjs/src/toolbar/widgets/DocumentPropertiesWidget.js +0 -126
  190. package/dist/cjs/src/toolbar/widgets/EraserToolWidget.d.ts +0 -17
  191. package/dist/cjs/src/toolbar/widgets/EraserToolWidget.js +0 -63
  192. package/dist/cjs/src/toolbar/widgets/HandToolWidget.d.ts +0 -17
  193. package/dist/cjs/src/toolbar/widgets/HandToolWidget.js +0 -201
  194. package/dist/cjs/src/toolbar/widgets/InsertImageWidget.d.ts +0 -19
  195. package/dist/cjs/src/toolbar/widgets/InsertImageWidget.js +0 -176
  196. package/dist/cjs/src/toolbar/widgets/OverflowWidget.d.ts +0 -25
  197. package/dist/cjs/src/toolbar/widgets/OverflowWidget.js +0 -77
  198. package/dist/cjs/src/toolbar/widgets/PenToolWidget.d.ts +0 -27
  199. package/dist/cjs/src/toolbar/widgets/PenToolWidget.js +0 -226
  200. package/dist/cjs/src/toolbar/widgets/SelectionToolWidget.d.ts +0 -13
  201. package/dist/cjs/src/toolbar/widgets/SelectionToolWidget.js +0 -153
  202. package/dist/cjs/src/toolbar/widgets/TextToolWidget.d.ts +0 -16
  203. package/dist/cjs/src/toolbar/widgets/TextToolWidget.js +0 -115
  204. package/dist/cjs/src/toolbar/widgets/lib.d.ts +0 -10
  205. package/dist/cjs/src/toolbar/widgets/lib.js +0 -26
  206. package/dist/cjs/src/tools/BaseTool.d.ts +0 -22
  207. package/dist/cjs/src/tools/BaseTool.js +0 -66
  208. package/dist/cjs/src/tools/Eraser.d.ts +0 -23
  209. package/dist/cjs/src/tools/Eraser.js +0 -112
  210. package/dist/cjs/src/tools/FindTool.d.ts +0 -21
  211. package/dist/cjs/src/tools/FindTool.js +0 -121
  212. package/dist/cjs/src/tools/PanZoom.d.ts +0 -52
  213. package/dist/cjs/src/tools/PanZoom.js +0 -421
  214. package/dist/cjs/src/tools/PasteHandler.d.ts +0 -23
  215. package/dist/cjs/src/tools/PasteHandler.js +0 -99
  216. package/dist/cjs/src/tools/Pen.d.ts +0 -39
  217. package/dist/cjs/src/tools/Pen.js +0 -179
  218. package/dist/cjs/src/tools/PipetteTool.d.ts +0 -18
  219. package/dist/cjs/src/tools/PipetteTool.js +0 -45
  220. package/dist/cjs/src/tools/SelectionTool/SelectAllShortcutHandler.d.ts +0 -8
  221. package/dist/cjs/src/tools/SelectionTool/SelectAllShortcutHandler.js +0 -28
  222. package/dist/cjs/src/tools/SelectionTool/Selection.d.ts +0 -64
  223. package/dist/cjs/src/tools/SelectionTool/Selection.js +0 -488
  224. package/dist/cjs/src/tools/SelectionTool/SelectionHandle.d.ts +0 -38
  225. package/dist/cjs/src/tools/SelectionTool/SelectionHandle.js +0 -85
  226. package/dist/cjs/src/tools/SelectionTool/SelectionTool.d.ts +0 -36
  227. package/dist/cjs/src/tools/SelectionTool/SelectionTool.js +0 -405
  228. package/dist/cjs/src/tools/SelectionTool/TransformMode.d.ts +0 -34
  229. package/dist/cjs/src/tools/SelectionTool/TransformMode.js +0 -107
  230. package/dist/cjs/src/tools/SelectionTool/types.d.ts +0 -9
  231. package/dist/cjs/src/tools/SelectionTool/types.js +0 -14
  232. package/dist/cjs/src/tools/TextTool.d.ts +0 -33
  233. package/dist/cjs/src/tools/TextTool.js +0 -262
  234. package/dist/cjs/src/tools/ToolController.d.ts +0 -18
  235. package/dist/cjs/src/tools/ToolController.js +0 -187
  236. package/dist/cjs/src/tools/ToolEnabledGroup.d.ts +0 -6
  237. package/dist/cjs/src/tools/ToolEnabledGroup.js +0 -14
  238. package/dist/cjs/src/tools/ToolSwitcherShortcut.d.ts +0 -16
  239. package/dist/cjs/src/tools/ToolSwitcherShortcut.js +0 -38
  240. package/dist/cjs/src/tools/ToolbarShortcutHandler.d.ts +0 -12
  241. package/dist/cjs/src/tools/ToolbarShortcutHandler.js +0 -29
  242. package/dist/cjs/src/tools/UndoRedoShortcut.d.ts +0 -8
  243. package/dist/cjs/src/tools/UndoRedoShortcut.js +0 -28
  244. package/dist/cjs/src/tools/lib.d.ts +0 -16
  245. package/dist/cjs/src/tools/lib.js +0 -36
  246. package/dist/cjs/src/tools/localization.d.ts +0 -28
  247. package/dist/cjs/src/tools/localization.js +0 -30
  248. package/dist/cjs/src/types.d.ts +0 -151
  249. package/dist/cjs/src/types.js +0 -38
  250. package/dist/cjs/src/util/assertions.d.ts +0 -23
  251. package/dist/cjs/src/util/assertions.js +0 -51
  252. package/dist/cjs/src/util/fileToBase64.d.ts +0 -3
  253. package/dist/cjs/src/util/fileToBase64.js +0 -15
  254. package/dist/cjs/src/util/untilNextAnimationFrame.d.ts +0 -3
  255. package/dist/cjs/src/util/untilNextAnimationFrame.js +0 -9
  256. package/dist/cjs/src/util/waitForTimeout.d.ts +0 -2
  257. package/dist/cjs/src/util/waitForTimeout.js +0 -9
  258. package/dist/mjs/build_tools/BundledFile.d.ts +0 -13
  259. package/dist/mjs/build_tools/BundledFile.mjs +0 -157
  260. package/dist/mjs/build_tools/buildTranslationTemplate.d.ts +0 -1
  261. package/dist/mjs/build_tools/buildTranslationTemplate.mjs +0 -94
  262. package/dist/mjs/build_tools/bundle.d.ts +0 -1
  263. package/dist/mjs/build_tools/bundle.mjs +0 -5
  264. package/dist/mjs/build_tools/postDist.d.ts +0 -1
  265. package/dist/mjs/build_tools/postDist.mjs +0 -67
  266. package/dist/mjs/src/Color4.d.ts +0 -61
  267. package/dist/mjs/src/Color4.mjs +0 -193
  268. package/dist/mjs/src/Editor.d.ts +0 -308
  269. package/dist/mjs/src/Editor.mjs +0 -874
  270. package/dist/mjs/src/EditorImage.d.ts +0 -97
  271. package/dist/mjs/src/EditorImage.mjs +0 -477
  272. package/dist/mjs/src/EventDispatcher.d.ts +0 -30
  273. package/dist/mjs/src/EventDispatcher.mjs +0 -54
  274. package/dist/mjs/src/Pointer.d.ts +0 -24
  275. package/dist/mjs/src/Pointer.mjs +0 -80
  276. package/dist/mjs/src/SVGLoader.d.ts +0 -48
  277. package/dist/mjs/src/SVGLoader.mjs +0 -442
  278. package/dist/mjs/src/UndoRedoHistory.d.ts +0 -19
  279. package/dist/mjs/src/UndoRedoHistory.mjs +0 -91
  280. package/dist/mjs/src/Viewport.d.ts +0 -71
  281. package/dist/mjs/src/Viewport.mjs +0 -256
  282. package/dist/mjs/src/bundle/bundled.d.ts +0 -4
  283. package/dist/mjs/src/bundle/bundled.mjs +0 -5
  284. package/dist/mjs/src/commands/Command.d.ts +0 -16
  285. package/dist/mjs/src/commands/Command.mjs +0 -30
  286. package/dist/mjs/src/commands/Duplicate.d.ts +0 -14
  287. package/dist/mjs/src/commands/Duplicate.mjs +0 -33
  288. package/dist/mjs/src/commands/Erase.d.ts +0 -14
  289. package/dist/mjs/src/commands/Erase.mjs +0 -57
  290. package/dist/mjs/src/commands/SerializableCommand.d.ts +0 -12
  291. package/dist/mjs/src/commands/SerializableCommand.mjs +0 -36
  292. package/dist/mjs/src/commands/UnresolvedCommand.d.ts +0 -14
  293. package/dist/mjs/src/commands/UnresolvedCommand.mjs +0 -22
  294. package/dist/mjs/src/commands/invertCommand.d.ts +0 -4
  295. package/dist/mjs/src/commands/invertCommand.mjs +0 -44
  296. package/dist/mjs/src/commands/lib.d.ts +0 -7
  297. package/dist/mjs/src/commands/lib.mjs +0 -7
  298. package/dist/mjs/src/commands/localization.d.ts +0 -23
  299. package/dist/mjs/src/commands/localization.mjs +0 -21
  300. package/dist/mjs/src/commands/uniteCommands.d.ts +0 -4
  301. package/dist/mjs/src/commands/uniteCommands.mjs +0 -116
  302. package/dist/mjs/src/components/AbstractComponent.d.ts +0 -73
  303. package/dist/mjs/src/components/AbstractComponent.mjs +0 -252
  304. package/dist/mjs/src/components/ImageBackground.d.ts +0 -42
  305. package/dist/mjs/src/components/ImageBackground.mjs +0 -139
  306. package/dist/mjs/src/components/ImageComponent.d.ts +0 -31
  307. package/dist/mjs/src/components/ImageComponent.mjs +0 -146
  308. package/dist/mjs/src/components/RestylableComponent.d.ts +0 -24
  309. package/dist/mjs/src/components/RestylableComponent.mjs +0 -80
  310. package/dist/mjs/src/components/SVGGlobalAttributesObject.d.ts +0 -21
  311. package/dist/mjs/src/components/SVGGlobalAttributesObject.mjs +0 -59
  312. package/dist/mjs/src/components/Stroke.d.ts +0 -40
  313. package/dist/mjs/src/components/Stroke.mjs +0 -185
  314. package/dist/mjs/src/components/TextComponent.d.ts +0 -53
  315. package/dist/mjs/src/components/TextComponent.mjs +0 -252
  316. package/dist/mjs/src/components/UnknownSVGObject.d.ts +0 -18
  317. package/dist/mjs/src/components/UnknownSVGObject.mjs +0 -44
  318. package/dist/mjs/src/components/builders/ArrowBuilder.d.ts +0 -19
  319. package/dist/mjs/src/components/builders/ArrowBuilder.mjs +0 -86
  320. package/dist/mjs/src/components/builders/FreehandLineBuilder.d.ts +0 -33
  321. package/dist/mjs/src/components/builders/FreehandLineBuilder.mjs +0 -165
  322. package/dist/mjs/src/components/builders/LineBuilder.d.ts +0 -18
  323. package/dist/mjs/src/components/builders/LineBuilder.mjs +0 -58
  324. package/dist/mjs/src/components/builders/PressureSensitiveFreehandLineBuilder.d.ts +0 -36
  325. package/dist/mjs/src/components/builders/PressureSensitiveFreehandLineBuilder.mjs +0 -339
  326. package/dist/mjs/src/components/builders/RectangleBuilder.d.ts +0 -20
  327. package/dist/mjs/src/components/builders/RectangleBuilder.mjs +0 -50
  328. package/dist/mjs/src/components/builders/types.d.ts +0 -12
  329. package/dist/mjs/src/components/builders/types.mjs +0 -1
  330. package/dist/mjs/src/components/lib.d.ts +0 -12
  331. package/dist/mjs/src/components/lib.mjs +0 -12
  332. package/dist/mjs/src/components/localization.d.ts +0 -11
  333. package/dist/mjs/src/components/localization.mjs +0 -10
  334. package/dist/mjs/src/components/util/StrokeSmoother.d.ts +0 -35
  335. package/dist/mjs/src/components/util/StrokeSmoother.mjs +0 -210
  336. package/dist/mjs/src/components/util/describeComponentList.d.ts +0 -4
  337. package/dist/mjs/src/components/util/describeComponentList.mjs +0 -14
  338. package/dist/mjs/src/lib.d.ts +0 -34
  339. package/dist/mjs/src/lib.mjs +0 -34
  340. package/dist/mjs/src/localization.d.ts +0 -14
  341. package/dist/mjs/src/localization.mjs +0 -10
  342. package/dist/mjs/src/localizations/de.d.ts +0 -3
  343. package/dist/mjs/src/localizations/de.mjs +0 -4
  344. package/dist/mjs/src/localizations/en.d.ts +0 -3
  345. package/dist/mjs/src/localizations/en.mjs +0 -4
  346. package/dist/mjs/src/localizations/es.d.ts +0 -3
  347. package/dist/mjs/src/localizations/es.mjs +0 -18
  348. package/dist/mjs/src/localizations/getLocalizationTable.d.ts +0 -3
  349. package/dist/mjs/src/localizations/getLocalizationTable.mjs +0 -45
  350. package/dist/mjs/src/math/LineSegment2.d.ts +0 -24
  351. package/dist/mjs/src/math/LineSegment2.mjs +0 -125
  352. package/dist/mjs/src/math/Mat33.d.ts +0 -118
  353. package/dist/mjs/src/math/Mat33.mjs +0 -326
  354. package/dist/mjs/src/math/Path.d.ts +0 -71
  355. package/dist/mjs/src/math/Path.mjs +0 -648
  356. package/dist/mjs/src/math/Rect2.d.ts +0 -52
  357. package/dist/mjs/src/math/Rect2.mjs +0 -228
  358. package/dist/mjs/src/math/Triangle.d.ts +0 -11
  359. package/dist/mjs/src/math/Triangle.mjs +0 -19
  360. package/dist/mjs/src/math/Vec2.d.ts +0 -13
  361. package/dist/mjs/src/math/Vec2.mjs +0 -13
  362. package/dist/mjs/src/math/Vec3.d.ts +0 -106
  363. package/dist/mjs/src/math/Vec3.mjs +0 -174
  364. package/dist/mjs/src/math/lib.d.ts +0 -7
  365. package/dist/mjs/src/math/lib.mjs +0 -7
  366. package/dist/mjs/src/math/rounding.d.ts +0 -4
  367. package/dist/mjs/src/math/rounding.mjs +0 -128
  368. package/dist/mjs/src/rendering/Display.d.ts +0 -75
  369. package/dist/mjs/src/rendering/Display.mjs +0 -207
  370. package/dist/mjs/src/rendering/RenderingStyle.d.ts +0 -31
  371. package/dist/mjs/src/rendering/RenderingStyle.mjs +0 -38
  372. package/dist/mjs/src/rendering/TextRenderingStyle.d.ts +0 -36
  373. package/dist/mjs/src/rendering/TextRenderingStyle.mjs +0 -23
  374. package/dist/mjs/src/rendering/caching/CacheRecord.d.ts +0 -20
  375. package/dist/mjs/src/rendering/caching/CacheRecord.mjs +0 -55
  376. package/dist/mjs/src/rendering/caching/CacheRecordManager.d.ts +0 -12
  377. package/dist/mjs/src/rendering/caching/CacheRecordManager.mjs +0 -43
  378. package/dist/mjs/src/rendering/caching/RenderingCache.d.ts +0 -11
  379. package/dist/mjs/src/rendering/caching/RenderingCache.mjs +0 -45
  380. package/dist/mjs/src/rendering/caching/RenderingCacheNode.d.ts +0 -29
  381. package/dist/mjs/src/rendering/caching/RenderingCacheNode.mjs +0 -320
  382. package/dist/mjs/src/rendering/caching/testUtils.d.ts +0 -9
  383. package/dist/mjs/src/rendering/caching/testUtils.mjs +0 -20
  384. package/dist/mjs/src/rendering/caching/types.d.ts +0 -19
  385. package/dist/mjs/src/rendering/caching/types.mjs +0 -1
  386. package/dist/mjs/src/rendering/lib.d.ts +0 -5
  387. package/dist/mjs/src/rendering/lib.mjs +0 -5
  388. package/dist/mjs/src/rendering/localization.d.ts +0 -10
  389. package/dist/mjs/src/rendering/localization.mjs +0 -9
  390. package/dist/mjs/src/rendering/renderers/AbstractRenderer.d.ts +0 -68
  391. package/dist/mjs/src/rendering/renderers/AbstractRenderer.mjs +0 -144
  392. package/dist/mjs/src/rendering/renderers/CanvasRenderer.d.ts +0 -63
  393. package/dist/mjs/src/rendering/renderers/CanvasRenderer.mjs +0 -230
  394. package/dist/mjs/src/rendering/renderers/DummyRenderer.d.ts +0 -35
  395. package/dist/mjs/src/rendering/renderers/DummyRenderer.mjs +0 -106
  396. package/dist/mjs/src/rendering/renderers/SVGRenderer.d.ts +0 -57
  397. package/dist/mjs/src/rendering/renderers/SVGRenderer.mjs +0 -304
  398. package/dist/mjs/src/rendering/renderers/TextOnlyRenderer.d.ts +0 -29
  399. package/dist/mjs/src/rendering/renderers/TextOnlyRenderer.mjs +0 -57
  400. package/dist/mjs/src/testing/beforeEachFile.d.ts +0 -1
  401. package/dist/mjs/src/testing/beforeEachFile.mjs +0 -7
  402. package/dist/mjs/src/testing/createEditor.d.ts +0 -4
  403. package/dist/mjs/src/testing/createEditor.mjs +0 -9
  404. package/dist/mjs/src/testing/lib.d.ts +0 -2
  405. package/dist/mjs/src/testing/lib.mjs +0 -2
  406. package/dist/mjs/src/testing/loadExpectExtensions.d.ts +0 -2
  407. package/dist/mjs/src/testing/loadExpectExtensions.mjs +0 -24
  408. package/dist/mjs/src/testing/sendPenEvent.d.ts +0 -12
  409. package/dist/mjs/src/testing/sendPenEvent.mjs +0 -19
  410. package/dist/mjs/src/testing/sendTouchEvent.d.ts +0 -42
  411. package/dist/mjs/src/testing/sendTouchEvent.mjs +0 -62
  412. package/dist/mjs/src/toolbar/HTMLToolbar.d.ts +0 -103
  413. package/dist/mjs/src/toolbar/HTMLToolbar.mjs +0 -376
  414. package/dist/mjs/src/toolbar/IconProvider.d.ts +0 -62
  415. package/dist/mjs/src/toolbar/IconProvider.mjs +0 -654
  416. package/dist/mjs/src/toolbar/lib.d.ts +0 -3
  417. package/dist/mjs/src/toolbar/lib.mjs +0 -3
  418. package/dist/mjs/src/toolbar/localization.d.ts +0 -49
  419. package/dist/mjs/src/toolbar/localization.mjs +0 -48
  420. package/dist/mjs/src/toolbar/makeColorInput.d.ts +0 -6
  421. package/dist/mjs/src/toolbar/makeColorInput.mjs +0 -113
  422. package/dist/mjs/src/toolbar/types.d.ts +0 -4
  423. package/dist/mjs/src/toolbar/types.mjs +0 -1
  424. package/dist/mjs/src/toolbar/widgets/ActionButtonWidget.d.ts +0 -15
  425. package/dist/mjs/src/toolbar/widgets/ActionButtonWidget.mjs +0 -25
  426. package/dist/mjs/src/toolbar/widgets/BaseToolWidget.d.ts +0 -11
  427. package/dist/mjs/src/toolbar/widgets/BaseToolWidget.mjs +0 -44
  428. package/dist/mjs/src/toolbar/widgets/BaseWidget.d.ts +0 -72
  429. package/dist/mjs/src/toolbar/widgets/BaseWidget.mjs +0 -307
  430. package/dist/mjs/src/toolbar/widgets/DocumentPropertiesWidget.d.ts +0 -18
  431. package/dist/mjs/src/toolbar/widgets/DocumentPropertiesWidget.mjs +0 -120
  432. package/dist/mjs/src/toolbar/widgets/EraserToolWidget.d.ts +0 -17
  433. package/dist/mjs/src/toolbar/widgets/EraserToolWidget.mjs +0 -57
  434. package/dist/mjs/src/toolbar/widgets/HandToolWidget.d.ts +0 -17
  435. package/dist/mjs/src/toolbar/widgets/HandToolWidget.mjs +0 -172
  436. package/dist/mjs/src/toolbar/widgets/InsertImageWidget.d.ts +0 -19
  437. package/dist/mjs/src/toolbar/widgets/InsertImageWidget.mjs +0 -170
  438. package/dist/mjs/src/toolbar/widgets/OverflowWidget.d.ts +0 -25
  439. package/dist/mjs/src/toolbar/widgets/OverflowWidget.mjs +0 -71
  440. package/dist/mjs/src/toolbar/widgets/PenToolWidget.d.ts +0 -27
  441. package/dist/mjs/src/toolbar/widgets/PenToolWidget.mjs +0 -220
  442. package/dist/mjs/src/toolbar/widgets/SelectionToolWidget.d.ts +0 -13
  443. package/dist/mjs/src/toolbar/widgets/SelectionToolWidget.mjs +0 -147
  444. package/dist/mjs/src/toolbar/widgets/TextToolWidget.d.ts +0 -16
  445. package/dist/mjs/src/toolbar/widgets/TextToolWidget.mjs +0 -109
  446. package/dist/mjs/src/toolbar/widgets/lib.d.ts +0 -10
  447. package/dist/mjs/src/toolbar/widgets/lib.mjs +0 -10
  448. package/dist/mjs/src/tools/BaseTool.d.ts +0 -22
  449. package/dist/mjs/src/tools/BaseTool.mjs +0 -63
  450. package/dist/mjs/src/tools/Eraser.d.ts +0 -23
  451. package/dist/mjs/src/tools/Eraser.mjs +0 -106
  452. package/dist/mjs/src/tools/FindTool.d.ts +0 -21
  453. package/dist/mjs/src/tools/FindTool.mjs +0 -114
  454. package/dist/mjs/src/tools/PanZoom.d.ts +0 -52
  455. package/dist/mjs/src/tools/PanZoom.mjs +0 -414
  456. package/dist/mjs/src/tools/PasteHandler.d.ts +0 -23
  457. package/dist/mjs/src/tools/PasteHandler.mjs +0 -93
  458. package/dist/mjs/src/tools/Pen.d.ts +0 -39
  459. package/dist/mjs/src/tools/Pen.mjs +0 -173
  460. package/dist/mjs/src/tools/PipetteTool.d.ts +0 -18
  461. package/dist/mjs/src/tools/PipetteTool.mjs +0 -39
  462. package/dist/mjs/src/tools/SelectionTool/SelectAllShortcutHandler.d.ts +0 -8
  463. package/dist/mjs/src/tools/SelectionTool/SelectAllShortcutHandler.mjs +0 -22
  464. package/dist/mjs/src/tools/SelectionTool/Selection.d.ts +0 -64
  465. package/dist/mjs/src/tools/SelectionTool/Selection.mjs +0 -459
  466. package/dist/mjs/src/tools/SelectionTool/SelectionHandle.d.ts +0 -38
  467. package/dist/mjs/src/tools/SelectionTool/SelectionHandle.mjs +0 -81
  468. package/dist/mjs/src/tools/SelectionTool/SelectionTool.d.ts +0 -36
  469. package/dist/mjs/src/tools/SelectionTool/SelectionTool.mjs +0 -398
  470. package/dist/mjs/src/tools/SelectionTool/TransformMode.d.ts +0 -34
  471. package/dist/mjs/src/tools/SelectionTool/TransformMode.mjs +0 -98
  472. package/dist/mjs/src/tools/SelectionTool/types.d.ts +0 -9
  473. package/dist/mjs/src/tools/SelectionTool/types.mjs +0 -11
  474. package/dist/mjs/src/tools/TextTool.d.ts +0 -33
  475. package/dist/mjs/src/tools/TextTool.mjs +0 -256
  476. package/dist/mjs/src/tools/ToolController.d.ts +0 -18
  477. package/dist/mjs/src/tools/ToolController.mjs +0 -158
  478. package/dist/mjs/src/tools/ToolEnabledGroup.d.ts +0 -6
  479. package/dist/mjs/src/tools/ToolEnabledGroup.mjs +0 -11
  480. package/dist/mjs/src/tools/ToolSwitcherShortcut.d.ts +0 -16
  481. package/dist/mjs/src/tools/ToolSwitcherShortcut.mjs +0 -32
  482. package/dist/mjs/src/tools/ToolbarShortcutHandler.d.ts +0 -12
  483. package/dist/mjs/src/tools/ToolbarShortcutHandler.mjs +0 -23
  484. package/dist/mjs/src/tools/UndoRedoShortcut.d.ts +0 -8
  485. package/dist/mjs/src/tools/UndoRedoShortcut.mjs +0 -22
  486. package/dist/mjs/src/tools/lib.d.ts +0 -16
  487. package/dist/mjs/src/tools/lib.mjs +0 -16
  488. package/dist/mjs/src/tools/localization.d.ts +0 -28
  489. package/dist/mjs/src/tools/localization.mjs +0 -27
  490. package/dist/mjs/src/types.d.ts +0 -151
  491. package/dist/mjs/src/types.mjs +0 -35
  492. package/dist/mjs/src/util/assertions.d.ts +0 -23
  493. package/dist/mjs/src/util/assertions.mjs +0 -45
  494. package/dist/mjs/src/util/fileToBase64.d.ts +0 -3
  495. package/dist/mjs/src/util/fileToBase64.mjs +0 -13
  496. package/dist/mjs/src/util/untilNextAnimationFrame.d.ts +0 -3
  497. package/dist/mjs/src/util/untilNextAnimationFrame.mjs +0 -7
  498. package/dist/mjs/src/util/waitForTimeout.d.ts +0 -2
  499. package/dist/mjs/src/util/waitForTimeout.mjs +0 -7
  500. package/src/Color4.test.ts +0 -40
  501. package/src/Color4.ts +0 -236
  502. package/src/Editor.css +0 -86
  503. package/src/Editor.loadFrom.test.ts +0 -24
  504. package/src/Editor.toSVG.test.ts +0 -111
  505. package/src/Editor.ts +0 -1122
  506. package/src/EditorImage.test.ts +0 -120
  507. package/src/EditorImage.ts +0 -603
  508. package/src/EventDispatcher.test.ts +0 -123
  509. package/src/EventDispatcher.ts +0 -71
  510. package/src/Pointer.ts +0 -127
  511. package/src/SVGLoader.test.ts +0 -114
  512. package/src/SVGLoader.ts +0 -511
  513. package/src/UndoRedoHistory.test.ts +0 -33
  514. package/src/UndoRedoHistory.ts +0 -102
  515. package/src/Viewport.ts +0 -319
  516. package/src/bundle/bundled.ts +0 -7
  517. package/src/commands/Command.ts +0 -45
  518. package/src/commands/Duplicate.ts +0 -48
  519. package/src/commands/Erase.ts +0 -74
  520. package/src/commands/SerializableCommand.ts +0 -49
  521. package/src/commands/UnresolvedCommand.ts +0 -37
  522. package/src/commands/invertCommand.ts +0 -51
  523. package/src/commands/lib.ts +0 -16
  524. package/src/commands/localization.ts +0 -47
  525. package/src/commands/uniteCommands.test.ts +0 -23
  526. package/src/commands/uniteCommands.ts +0 -135
  527. package/src/components/AbstractComponent.transformBy.test.ts +0 -22
  528. package/src/components/AbstractComponent.ts +0 -364
  529. package/src/components/ImageBackground.test.ts +0 -35
  530. package/src/components/ImageBackground.ts +0 -176
  531. package/src/components/ImageComponent.ts +0 -171
  532. package/src/components/RestylableComponent.ts +0 -142
  533. package/src/components/SVGGlobalAttributesObject.ts +0 -81
  534. package/src/components/Stroke.test.ts +0 -139
  535. package/src/components/Stroke.ts +0 -245
  536. package/src/components/TextComponent.test.ts +0 -99
  537. package/src/components/TextComponent.ts +0 -315
  538. package/src/components/UnknownSVGObject.test.ts +0 -10
  539. package/src/components/UnknownSVGObject.ts +0 -60
  540. package/src/components/builders/ArrowBuilder.ts +0 -107
  541. package/src/components/builders/FreehandLineBuilder.ts +0 -212
  542. package/src/components/builders/LineBuilder.ts +0 -77
  543. package/src/components/builders/PressureSensitiveFreehandLineBuilder.ts +0 -454
  544. package/src/components/builders/RectangleBuilder.ts +0 -74
  545. package/src/components/builders/types.ts +0 -15
  546. package/src/components/lib.ts +0 -25
  547. package/src/components/localization.ts +0 -22
  548. package/src/components/util/StrokeSmoother.ts +0 -293
  549. package/src/components/util/describeComponentList.ts +0 -18
  550. package/src/lib.ts +0 -37
  551. package/src/localization.ts +0 -34
  552. package/src/localizations/de.ts +0 -98
  553. package/src/localizations/en.ts +0 -8
  554. package/src/localizations/es.ts +0 -74
  555. package/src/localizations/getLocalizationTable.test.ts +0 -27
  556. package/src/localizations/getLocalizationTable.ts +0 -55
  557. package/src/math/LineSegment2.test.ts +0 -99
  558. package/src/math/LineSegment2.ts +0 -160
  559. package/src/math/Mat33.test.ts +0 -244
  560. package/src/math/Mat33.ts +0 -437
  561. package/src/math/Path.fromString.test.ts +0 -223
  562. package/src/math/Path.test.ts +0 -198
  563. package/src/math/Path.toString.test.ts +0 -77
  564. package/src/math/Path.ts +0 -790
  565. package/src/math/Rect2.test.ts +0 -204
  566. package/src/math/Rect2.ts +0 -315
  567. package/src/math/Triangle.ts +0 -29
  568. package/src/math/Vec2.test.ts +0 -30
  569. package/src/math/Vec2.ts +0 -18
  570. package/src/math/Vec3.test.ts +0 -44
  571. package/src/math/Vec3.ts +0 -218
  572. package/src/math/lib.ts +0 -15
  573. package/src/math/rounding.test.ts +0 -65
  574. package/src/math/rounding.ts +0 -156
  575. package/src/rendering/Display.ts +0 -249
  576. package/src/rendering/RenderingStyle.test.ts +0 -68
  577. package/src/rendering/RenderingStyle.ts +0 -55
  578. package/src/rendering/TextRenderingStyle.ts +0 -45
  579. package/src/rendering/caching/CacheRecord.test.ts +0 -49
  580. package/src/rendering/caching/CacheRecord.ts +0 -77
  581. package/src/rendering/caching/CacheRecordManager.ts +0 -71
  582. package/src/rendering/caching/RenderingCache.test.ts +0 -44
  583. package/src/rendering/caching/RenderingCache.ts +0 -66
  584. package/src/rendering/caching/RenderingCacheNode.ts +0 -405
  585. package/src/rendering/caching/testUtils.ts +0 -35
  586. package/src/rendering/caching/types.ts +0 -34
  587. package/src/rendering/lib.ts +0 -6
  588. package/src/rendering/localization.ts +0 -20
  589. package/src/rendering/renderers/AbstractRenderer.ts +0 -222
  590. package/src/rendering/renderers/CanvasRenderer.ts +0 -296
  591. package/src/rendering/renderers/DummyRenderer.test.ts +0 -42
  592. package/src/rendering/renderers/DummyRenderer.ts +0 -136
  593. package/src/rendering/renderers/SVGRenderer.ts +0 -354
  594. package/src/rendering/renderers/TextOnlyRenderer.ts +0 -70
  595. package/src/styles.js +0 -7
  596. package/src/testing/beforeEachFile.ts +0 -8
  597. package/src/testing/createEditor.ts +0 -11
  598. package/src/testing/global.d.ts +0 -17
  599. package/src/testing/lib.ts +0 -3
  600. package/src/testing/loadExpectExtensions.ts +0 -25
  601. package/src/testing/sendPenEvent.ts +0 -31
  602. package/src/testing/sendTouchEvent.ts +0 -78
  603. package/src/toolbar/HTMLToolbar.ts +0 -492
  604. package/src/toolbar/IconProvider.ts +0 -736
  605. package/src/toolbar/lib.ts +0 -4
  606. package/src/toolbar/localization.ts +0 -106
  607. package/src/toolbar/makeColorInput.ts +0 -145
  608. package/src/toolbar/toolbar.css +0 -213
  609. package/src/toolbar/types.ts +0 -5
  610. package/src/toolbar/widgets/ActionButtonWidget.ts +0 -39
  611. package/src/toolbar/widgets/BaseToolWidget.ts +0 -56
  612. package/src/toolbar/widgets/BaseWidget.ts +0 -377
  613. package/src/toolbar/widgets/DocumentPropertiesWidget.ts +0 -167
  614. package/src/toolbar/widgets/EraserToolWidget.ts +0 -85
  615. package/src/toolbar/widgets/HandToolWidget.ts +0 -250
  616. package/src/toolbar/widgets/InsertImageWidget.css +0 -44
  617. package/src/toolbar/widgets/InsertImageWidget.ts +0 -223
  618. package/src/toolbar/widgets/OverflowWidget.css +0 -27
  619. package/src/toolbar/widgets/OverflowWidget.ts +0 -92
  620. package/src/toolbar/widgets/PenToolWidget.ts +0 -288
  621. package/src/toolbar/widgets/SelectionToolWidget.ts +0 -190
  622. package/src/toolbar/widgets/TextToolWidget.ts +0 -145
  623. package/src/toolbar/widgets/lib.ts +0 -13
  624. package/src/tools/BaseTool.ts +0 -76
  625. package/src/tools/Eraser.test.ts +0 -103
  626. package/src/tools/Eraser.ts +0 -139
  627. package/src/tools/FindTool.css +0 -7
  628. package/src/tools/FindTool.ts +0 -152
  629. package/src/tools/PanZoom.test.ts +0 -310
  630. package/src/tools/PanZoom.ts +0 -520
  631. package/src/tools/PasteHandler.ts +0 -95
  632. package/src/tools/Pen.test.ts +0 -194
  633. package/src/tools/Pen.ts +0 -226
  634. package/src/tools/PipetteTool.ts +0 -55
  635. package/src/tools/SelectionTool/SelectAllShortcutHandler.ts +0 -28
  636. package/src/tools/SelectionTool/Selection.ts +0 -607
  637. package/src/tools/SelectionTool/SelectionHandle.ts +0 -108
  638. package/src/tools/SelectionTool/SelectionTool.css +0 -23
  639. package/src/tools/SelectionTool/SelectionTool.test.ts +0 -261
  640. package/src/tools/SelectionTool/SelectionTool.ts +0 -480
  641. package/src/tools/SelectionTool/TransformMode.ts +0 -114
  642. package/src/tools/SelectionTool/types.ts +0 -11
  643. package/src/tools/TextTool.ts +0 -326
  644. package/src/tools/ToolController.ts +0 -178
  645. package/src/tools/ToolEnabledGroup.ts +0 -14
  646. package/src/tools/ToolSwitcherShortcut.ts +0 -39
  647. package/src/tools/ToolbarShortcutHandler.ts +0 -34
  648. package/src/tools/UndoRedoShortcut.test.ts +0 -56
  649. package/src/tools/UndoRedoShortcut.ts +0 -25
  650. package/src/tools/lib.ts +0 -21
  651. package/src/tools/localization.ts +0 -66
  652. package/src/types.ts +0 -234
  653. package/src/util/assertions.ts +0 -55
  654. package/src/util/fileToBase64.ts +0 -18
  655. package/src/util/untilNextAnimationFrame.ts +0 -9
  656. package/src/util/waitForTimeout.ts +0 -9
@@ -1,902 +0,0 @@
1
- name: Translation
2
- # This template is auto-generated by build_tools/buildTranslationTemplate.ts
3
- # Do not modify it directly.
4
- description: Translate the editor to a new language!
5
- title: "[Translation]: <language>"
6
- labels: [localization]
7
- assignees: []
8
- body:
9
- - type: markdown
10
- attributes:
11
- value: |
12
- Thank you for taking the time to translate `js-draw`! If you don't have time to translate all of the strings below, feel free to submit an incomplete translation and edit it later. Use this template to update an existing translation or to create a new translation.
13
- - type: markdown
14
- attributes:
15
- value: |
16
- (Optional) If you would like to submit a pull request that applies this translation, note that existing translations are present in [src/localizations/](https://github.com/personalizedrefrigerator/js-draw/tree/main/src/localizations).
17
- - type: input
18
- id: language-name
19
- attributes:
20
- label: "Language"
21
- description: "The name of the language to translate to in English (e.g. Spanish)"
22
- validations:
23
- required: true
24
- - type: input
25
- id: translation-pen
26
- attributes:
27
- label: "pen"
28
- description: "Translate `Pen`."
29
- placeholder: "Pen"
30
- validations:
31
- required: false
32
- - type: input
33
- id: translation-eraser
34
- attributes:
35
- label: "eraser"
36
- description: "Translate `Eraser`."
37
- placeholder: "Eraser"
38
- validations:
39
- required: false
40
- - type: input
41
- id: translation-select
42
- attributes:
43
- label: "select"
44
- description: "Translate `Select`."
45
- placeholder: "Select"
46
- validations:
47
- required: false
48
- - type: input
49
- id: translation-handTool
50
- attributes:
51
- label: "handTool"
52
- description: "Translate `Pan`."
53
- placeholder: "Pan"
54
- validations:
55
- required: false
56
- - type: input
57
- id: translation-zoom
58
- attributes:
59
- label: "zoom"
60
- description: "Translate `Zoom`."
61
- placeholder: "Zoom"
62
- validations:
63
- required: false
64
- - type: input
65
- id: translation-image
66
- attributes:
67
- label: "image"
68
- description: "Translate `Image`."
69
- placeholder: "Image"
70
- validations:
71
- required: false
72
- - type: input
73
- id: translation-reformatSelection
74
- attributes:
75
- label: "reformatSelection"
76
- description: "Translate `Format selection`."
77
- placeholder: "Format selection"
78
- validations:
79
- required: false
80
- - type: input
81
- id: translation-inputAltText
82
- attributes:
83
- label: "inputAltText"
84
- description: "Translate `Alt text: `."
85
- placeholder: "Alt text: "
86
- validations:
87
- required: false
88
- - type: input
89
- id: translation-chooseFile
90
- attributes:
91
- label: "chooseFile"
92
- description: "Translate `Choose file: `."
93
- placeholder: "Choose file: "
94
- validations:
95
- required: false
96
- - type: input
97
- id: translation-submit
98
- attributes:
99
- label: "submit"
100
- description: "Translate `Submit`."
101
- placeholder: "Submit"
102
- validations:
103
- required: false
104
- - type: input
105
- id: translation-cancel
106
- attributes:
107
- label: "cancel"
108
- description: "Translate `Cancel`."
109
- placeholder: "Cancel"
110
- validations:
111
- required: false
112
- - type: input
113
- id: translation-resetView
114
- attributes:
115
- label: "resetView"
116
- description: "Translate `Reset view`."
117
- placeholder: "Reset view"
118
- validations:
119
- required: false
120
- - type: input
121
- id: translation-thicknessLabel
122
- attributes:
123
- label: "thicknessLabel"
124
- description: "Translate `Thickness: `."
125
- placeholder: "Thickness: "
126
- validations:
127
- required: false
128
- - type: input
129
- id: translation-colorLabel
130
- attributes:
131
- label: "colorLabel"
132
- description: "Translate `Color: `."
133
- placeholder: "Color: "
134
- validations:
135
- required: false
136
- - type: input
137
- id: translation-fontLabel
138
- attributes:
139
- label: "fontLabel"
140
- description: "Translate `Font: `."
141
- placeholder: "Font: "
142
- validations:
143
- required: false
144
- - type: input
145
- id: translation-textSize
146
- attributes:
147
- label: "textSize"
148
- description: "Translate `Size: `."
149
- placeholder: "Size: "
150
- validations:
151
- required: false
152
- - type: input
153
- id: translation-resizeImageToSelection
154
- attributes:
155
- label: "resizeImageToSelection"
156
- description: "Translate `Resize image to selection`."
157
- placeholder: "Resize image to selection"
158
- validations:
159
- required: false
160
- - type: input
161
- id: translation-deleteSelection
162
- attributes:
163
- label: "deleteSelection"
164
- description: "Translate `Delete selection`."
165
- placeholder: "Delete selection"
166
- validations:
167
- required: false
168
- - type: input
169
- id: translation-duplicateSelection
170
- attributes:
171
- label: "duplicateSelection"
172
- description: "Translate `Duplicate selection`."
173
- placeholder: "Duplicate selection"
174
- validations:
175
- required: false
176
- - type: input
177
- id: translation-undo
178
- attributes:
179
- label: "undo"
180
- description: "Translate `Undo`."
181
- placeholder: "Undo"
182
- validations:
183
- required: false
184
- - type: input
185
- id: translation-redo
186
- attributes:
187
- label: "redo"
188
- description: "Translate `Redo`."
189
- placeholder: "Redo"
190
- validations:
191
- required: false
192
- - type: input
193
- id: translation-selectObjectType
194
- attributes:
195
- label: "selectObjectType"
196
- description: "Translate `Object type: `."
197
- placeholder: "Object type: "
198
- validations:
199
- required: false
200
- - type: input
201
- id: translation-pickColorFromScreen
202
- attributes:
203
- label: "pickColorFromScreen"
204
- description: "Translate `Pick color from screen`."
205
- placeholder: "Pick color from screen"
206
- validations:
207
- required: false
208
- - type: input
209
- id: translation-clickToPickColorAnnouncement
210
- attributes:
211
- label: "clickToPickColorAnnouncement"
212
- description: "Translate `Click on the screen to pick a color`."
213
- placeholder: "Click on the screen to pick a color"
214
- validations:
215
- required: false
216
- - type: input
217
- id: translation-selectionToolKeyboardShortcuts
218
- attributes:
219
- label: "selectionToolKeyboardShortcuts"
220
- description: "Translate `Selection tool: Use arrow keys to move selected items, lowercase/uppercase ‘i’ and ‘o’ to resize.`."
221
- placeholder: "Selection tool: Use arrow keys to move selected items, lowercase/uppercase ‘i’ and ‘o’ to resize."
222
- validations:
223
- required: false
224
- - type: input
225
- id: translation-documentProperties
226
- attributes:
227
- label: "documentProperties"
228
- description: "Translate `Document`."
229
- placeholder: "Document"
230
- validations:
231
- required: false
232
- - type: input
233
- id: translation-backgroundColor
234
- attributes:
235
- label: "backgroundColor"
236
- description: "Translate `Background Color: `."
237
- placeholder: "Background Color: "
238
- validations:
239
- required: false
240
- - type: input
241
- id: translation-imageWidthOption
242
- attributes:
243
- label: "imageWidthOption"
244
- description: "Translate `Width: `."
245
- placeholder: "Width: "
246
- validations:
247
- required: false
248
- - type: input
249
- id: translation-imageHeightOption
250
- attributes:
251
- label: "imageHeightOption"
252
- description: "Translate `Height: `."
253
- placeholder: "Height: "
254
- validations:
255
- required: false
256
- - type: input
257
- id: translation-toggleOverflow
258
- attributes:
259
- label: "toggleOverflow"
260
- description: "Translate `More`."
261
- placeholder: "More"
262
- validations:
263
- required: false
264
- - type: input
265
- id: translation-touchPanning
266
- attributes:
267
- label: "touchPanning"
268
- description: "Translate `Touchscreen panning`."
269
- placeholder: "Touchscreen panning"
270
- validations:
271
- required: false
272
- - type: input
273
- id: translation-freehandPen
274
- attributes:
275
- label: "freehandPen"
276
- description: "Translate `Freehand`."
277
- placeholder: "Freehand"
278
- validations:
279
- required: false
280
- - type: input
281
- id: translation-pressureSensitiveFreehandPen
282
- attributes:
283
- label: "pressureSensitiveFreehandPen"
284
- description: "Translate `Freehand (pressure sensitive)`."
285
- placeholder: "Freehand (pressure sensitive)"
286
- validations:
287
- required: false
288
- - type: input
289
- id: translation-arrowPen
290
- attributes:
291
- label: "arrowPen"
292
- description: "Translate `Arrow`."
293
- placeholder: "Arrow"
294
- validations:
295
- required: false
296
- - type: input
297
- id: translation-linePen
298
- attributes:
299
- label: "linePen"
300
- description: "Translate `Line`."
301
- placeholder: "Line"
302
- validations:
303
- required: false
304
- - type: input
305
- id: translation-outlinedRectanglePen
306
- attributes:
307
- label: "outlinedRectanglePen"
308
- description: "Translate `Outlined rectangle`."
309
- placeholder: "Outlined rectangle"
310
- validations:
311
- required: false
312
- - type: input
313
- id: translation-filledRectanglePen
314
- attributes:
315
- label: "filledRectanglePen"
316
- description: "Translate `Filled rectangle`."
317
- placeholder: "Filled rectangle"
318
- validations:
319
- required: false
320
- - type: input
321
- id: translation-lockRotation
322
- attributes:
323
- label: "lockRotation"
324
- description: "Translate `Lock rotation`."
325
- placeholder: "Lock rotation"
326
- validations:
327
- required: false
328
- - type: input
329
- id: translation-paste
330
- attributes:
331
- label: "paste"
332
- description: "Translate `Paste`."
333
- placeholder: "Paste"
334
- validations:
335
- required: false
336
- - type: input
337
- id: translation-dropdownShown
338
- attributes:
339
- label: "dropdownShown"
340
- description: "Translate ``(toolName) => `Dropdown for ${toolName} shown` ``."
341
- placeholder: "(toolName) => `Dropdown for ${toolName} shown`"
342
- validations:
343
- required: false
344
- - type: input
345
- id: translation-dropdownHidden
346
- attributes:
347
- label: "dropdownHidden"
348
- description: "Translate ``(toolName) => `Dropdown for ${toolName} hidden` ``."
349
- placeholder: "(toolName) => `Dropdown for ${toolName} hidden`"
350
- validations:
351
- required: false
352
- - type: input
353
- id: translation-zoomLevel
354
- attributes:
355
- label: "zoomLevel"
356
- description: "Translate ``(zoomPercent) => `Zoom: ${zoomPercent}%` ``."
357
- placeholder: "(zoomPercent) => `Zoom: ${zoomPercent}%`"
358
- validations:
359
- required: false
360
- - type: input
361
- id: translation-colorChangedAnnouncement
362
- attributes:
363
- label: "colorChangedAnnouncement"
364
- description: "Translate ``(color) => `Color changed to ${color}` ``."
365
- placeholder: "(color) => `Color changed to ${color}`"
366
- validations:
367
- required: false
368
- - type: input
369
- id: translation-imageSize
370
- attributes:
371
- label: "imageSize"
372
- description: "Translate ``(size, units) => `Image size: ${size} ${units}` ``."
373
- placeholder: "(size, units) => `Image size: ${size} ${units}`"
374
- validations:
375
- required: false
376
- - type: input
377
- id: translation-errorImageHasZeroSize
378
- attributes:
379
- label: "errorImageHasZeroSize"
380
- description: "Translate `Error: Image has zero size`."
381
- placeholder: "Error: Image has zero size"
382
- validations:
383
- required: false
384
- - type: input
385
- id: translation-imageLoadError
386
- attributes:
387
- label: "imageLoadError"
388
- description: "Translate ``(message) => `Error loading image: ${message}` ``."
389
- placeholder: "(message) => `Error loading image: ${message}`"
390
- validations:
391
- required: false
392
- - type: input
393
- id: translation-penTool
394
- attributes:
395
- label: "penTool"
396
- description: "Translate ``(penId) => `Pen ${penId}` ``."
397
- placeholder: "(penId) => `Pen ${penId}`"
398
- validations:
399
- required: false
400
- - type: input
401
- id: translation-selectionTool
402
- attributes:
403
- label: "selectionTool"
404
- description: "Translate `Selection`."
405
- placeholder: "Selection"
406
- validations:
407
- required: false
408
- - type: input
409
- id: translation-selectAllTool
410
- attributes:
411
- label: "selectAllTool"
412
- description: "Translate `Select all shortcut`."
413
- placeholder: "Select all shortcut"
414
- validations:
415
- required: false
416
- - type: input
417
- id: translation-eraserTool
418
- attributes:
419
- label: "eraserTool"
420
- description: "Translate `Eraser`."
421
- placeholder: "Eraser"
422
- validations:
423
- required: false
424
- - type: input
425
- id: translation-touchPanTool
426
- attributes:
427
- label: "touchPanTool"
428
- description: "Translate `Touch panning`."
429
- placeholder: "Touch panning"
430
- validations:
431
- required: false
432
- - type: input
433
- id: translation-twoFingerPanZoomTool
434
- attributes:
435
- label: "twoFingerPanZoomTool"
436
- description: "Translate `Panning and zooming`."
437
- placeholder: "Panning and zooming"
438
- validations:
439
- required: false
440
- - type: input
441
- id: translation-undoRedoTool
442
- attributes:
443
- label: "undoRedoTool"
444
- description: "Translate `Undo/Redo`."
445
- placeholder: "Undo/Redo"
446
- validations:
447
- required: false
448
- - type: input
449
- id: translation-rightClickDragPanTool
450
- attributes:
451
- label: "rightClickDragPanTool"
452
- description: "Translate `Right-click drag`."
453
- placeholder: "Right-click drag"
454
- validations:
455
- required: false
456
- - type: input
457
- id: translation-pipetteTool
458
- attributes:
459
- label: "pipetteTool"
460
- description: "Translate `Pick color from screen`."
461
- placeholder: "Pick color from screen"
462
- validations:
463
- required: false
464
- - type: input
465
- id: translation-keyboardPanZoom
466
- attributes:
467
- label: "keyboardPanZoom"
468
- description: "Translate `Keyboard pan/zoom shortcuts`."
469
- placeholder: "Keyboard pan/zoom shortcuts"
470
- validations:
471
- required: false
472
- - type: input
473
- id: translation-textTool
474
- attributes:
475
- label: "textTool"
476
- description: "Translate `Text`."
477
- placeholder: "Text"
478
- validations:
479
- required: false
480
- - type: input
481
- id: translation-enterTextToInsert
482
- attributes:
483
- label: "enterTextToInsert"
484
- description: "Translate `Text to insert`."
485
- placeholder: "Text to insert"
486
- validations:
487
- required: false
488
- - type: input
489
- id: translation-changeTool
490
- attributes:
491
- label: "changeTool"
492
- description: "Translate `Change tool`."
493
- placeholder: "Change tool"
494
- validations:
495
- required: false
496
- - type: input
497
- id: translation-pasteHandler
498
- attributes:
499
- label: "pasteHandler"
500
- description: "Translate `Copy paste handler`."
501
- placeholder: "Copy paste handler"
502
- validations:
503
- required: false
504
- - type: input
505
- id: translation-findLabel
506
- attributes:
507
- label: "findLabel"
508
- description: "Translate `Find`."
509
- placeholder: "Find"
510
- validations:
511
- required: false
512
- - type: input
513
- id: translation-toNextMatch
514
- attributes:
515
- label: "toNextMatch"
516
- description: "Translate `Next`."
517
- placeholder: "Next"
518
- validations:
519
- required: false
520
- - type: input
521
- id: translation-closeFindDialog
522
- attributes:
523
- label: "closeFindDialog"
524
- description: "Translate `Close`."
525
- placeholder: "Close"
526
- validations:
527
- required: false
528
- - type: input
529
- id: translation-findDialogShown
530
- attributes:
531
- label: "findDialogShown"
532
- description: "Translate `Find dialog shown`."
533
- placeholder: "Find dialog shown"
534
- validations:
535
- required: false
536
- - type: input
537
- id: translation-findDialogHidden
538
- attributes:
539
- label: "findDialogHidden"
540
- description: "Translate `Find dialog hidden`."
541
- placeholder: "Find dialog hidden"
542
- validations:
543
- required: false
544
- - type: input
545
- id: translation-focusedFoundText
546
- attributes:
547
- label: "focusedFoundText"
548
- description: "Translate ``(matchIdx, totalMatches) => `Viewing match ${matchIdx} of ${totalMatches}` ``."
549
- placeholder: "(matchIdx, totalMatches) => `Viewing match ${matchIdx} of ${totalMatches}`"
550
- validations:
551
- required: false
552
- - type: input
553
- id: translation-anyDevicePanning
554
- attributes:
555
- label: "anyDevicePanning"
556
- description: "Translate `Any device panning`."
557
- placeholder: "Any device panning"
558
- validations:
559
- required: false
560
- - type: input
561
- id: translation-copied
562
- attributes:
563
- label: "copied"
564
- description: "Translate ``(count, description) => `Copied ${count} ${description}` ``."
565
- placeholder: "(count, description) => `Copied ${count} ${description}`"
566
- validations:
567
- required: false
568
- - type: input
569
- id: translation-pasted
570
- attributes:
571
- label: "pasted"
572
- description: "Translate ``(count, description) => `Pasted ${count} ${description}` ``."
573
- placeholder: "(count, description) => `Pasted ${count} ${description}`"
574
- validations:
575
- required: false
576
- - type: input
577
- id: translation-toolEnabledAnnouncement
578
- attributes:
579
- label: "toolEnabledAnnouncement"
580
- description: "Translate ``(toolName) => `${toolName} enabled` ``."
581
- placeholder: "(toolName) => `${toolName} enabled`"
582
- validations:
583
- required: false
584
- - type: input
585
- id: translation-toolDisabledAnnouncement
586
- attributes:
587
- label: "toolDisabledAnnouncement"
588
- description: "Translate ``(toolName) => `${toolName} disabled` ``."
589
- placeholder: "(toolName) => `${toolName} disabled`"
590
- validations:
591
- required: false
592
- - type: input
593
- id: translation-updatedViewport
594
- attributes:
595
- label: "updatedViewport"
596
- description: "Translate `Transformed Viewport`."
597
- placeholder: "Transformed Viewport"
598
- validations:
599
- required: false
600
- - type: input
601
- id: translation-transformedElements
602
- attributes:
603
- label: "transformedElements"
604
- description: "Translate ``(elemCount) => `Transformed ${elemCount} element${elemCount === 1 ? '' : 's'}` ``."
605
- placeholder: "(elemCount) => `Transformed ${elemCount} element${elemCount === 1 ? '' : 's'}`"
606
- validations:
607
- required: false
608
- - type: input
609
- id: translation-resizeOutputCommand
610
- attributes:
611
- label: "resizeOutputCommand"
612
- description: "Translate ``(newSize) => `Resized image to ${newSize.w}x${newSize.h}` ``."
613
- placeholder: "(newSize) => `Resized image to ${newSize.w}x${newSize.h}`"
614
- validations:
615
- required: false
616
- - type: input
617
- id: translation-addElementAction
618
- attributes:
619
- label: "addElementAction"
620
- description: "Translate ``(componentDescription) => `Added ${componentDescription}` ``."
621
- placeholder: "(componentDescription) => `Added ${componentDescription}`"
622
- validations:
623
- required: false
624
- - type: input
625
- id: translation-eraseAction
626
- attributes:
627
- label: "eraseAction"
628
- description: "Translate ``(componentDescription, numElems) => `Erased ${numElems} ${componentDescription}` ``."
629
- placeholder: "(componentDescription, numElems) => `Erased ${numElems} ${componentDescription}`"
630
- validations:
631
- required: false
632
- - type: input
633
- id: translation-duplicateAction
634
- attributes:
635
- label: "duplicateAction"
636
- description: "Translate ``(componentDescription, numElems) => `Duplicated ${numElems} ${componentDescription}` ``."
637
- placeholder: "(componentDescription, numElems) => `Duplicated ${numElems} ${componentDescription}`"
638
- validations:
639
- required: false
640
- - type: input
641
- id: translation-unionOf
642
- attributes:
643
- label: "unionOf"
644
- description: "Translate ``(actionDescription, actionCount) => `Union: ${actionCount} ${actionDescription}` ``."
645
- placeholder: "(actionDescription, actionCount) => `Union: ${actionCount} ${actionDescription}`"
646
- validations:
647
- required: false
648
- - type: input
649
- id: translation-inverseOf
650
- attributes:
651
- label: "inverseOf"
652
- description: "Translate ``(actionDescription) => `Inverse of ${actionDescription}` ``."
653
- placeholder: "(actionDescription) => `Inverse of ${actionDescription}`"
654
- validations:
655
- required: false
656
- - type: input
657
- id: translation-elements
658
- attributes:
659
- label: "elements"
660
- description: "Translate `Elements`."
661
- placeholder: "Elements"
662
- validations:
663
- required: false
664
- - type: input
665
- id: translation-erasedNoElements
666
- attributes:
667
- label: "erasedNoElements"
668
- description: "Translate `Erased nothing`."
669
- placeholder: "Erased nothing"
670
- validations:
671
- required: false
672
- - type: input
673
- id: translation-duplicatedNoElements
674
- attributes:
675
- label: "duplicatedNoElements"
676
- description: "Translate `Duplicated nothing`."
677
- placeholder: "Duplicated nothing"
678
- validations:
679
- required: false
680
- - type: input
681
- id: translation-rotatedBy
682
- attributes:
683
- label: "rotatedBy"
684
- description: "Translate ``(degrees) => `Rotated by ${Math.abs(degrees)} degrees ${degrees < 0 ? 'clockwise' : 'counter-clockwise'}` ``."
685
- placeholder: "(degrees) => `Rotated by ${Math.abs(degrees)} degrees ${degrees < 0 ? 'clockwise' : 'counter-clockwise'}`"
686
- validations:
687
- required: false
688
- - type: input
689
- id: translation-movedLeft
690
- attributes:
691
- label: "movedLeft"
692
- description: "Translate `Moved left`."
693
- placeholder: "Moved left"
694
- validations:
695
- required: false
696
- - type: input
697
- id: translation-movedUp
698
- attributes:
699
- label: "movedUp"
700
- description: "Translate `Moved up`."
701
- placeholder: "Moved up"
702
- validations:
703
- required: false
704
- - type: input
705
- id: translation-movedDown
706
- attributes:
707
- label: "movedDown"
708
- description: "Translate `Moved down`."
709
- placeholder: "Moved down"
710
- validations:
711
- required: false
712
- - type: input
713
- id: translation-movedRight
714
- attributes:
715
- label: "movedRight"
716
- description: "Translate `Moved right`."
717
- placeholder: "Moved right"
718
- validations:
719
- required: false
720
- - type: input
721
- id: translation-zoomedOut
722
- attributes:
723
- label: "zoomedOut"
724
- description: "Translate `Zoomed out`."
725
- placeholder: "Zoomed out"
726
- validations:
727
- required: false
728
- - type: input
729
- id: translation-zoomedIn
730
- attributes:
731
- label: "zoomedIn"
732
- description: "Translate `Zoomed in`."
733
- placeholder: "Zoomed in"
734
- validations:
735
- required: false
736
- - type: input
737
- id: translation-selectedElements
738
- attributes:
739
- label: "selectedElements"
740
- description: "Translate ``(count) => `Selected ${count} element${count === 1 ? '' : 's'}` ``."
741
- placeholder: "(count) => `Selected ${count} element${count === 1 ? '' : 's'}`"
742
- validations:
743
- required: false
744
- - type: input
745
- id: translation-unlabeledImageNode
746
- attributes:
747
- label: "unlabeledImageNode"
748
- description: "Translate `Unlabeled image`."
749
- placeholder: "Unlabeled image"
750
- validations:
751
- required: false
752
- - type: input
753
- id: translation-stroke
754
- attributes:
755
- label: "stroke"
756
- description: "Translate `Stroke`."
757
- placeholder: "Stroke"
758
- validations:
759
- required: false
760
- - type: input
761
- id: translation-svgObject
762
- attributes:
763
- label: "svgObject"
764
- description: "Translate `SVG Object`."
765
- placeholder: "SVG Object"
766
- validations:
767
- required: false
768
- - type: input
769
- id: translation-restyledElements
770
- attributes:
771
- label: "restyledElements"
772
- description: "Translate `Restyled elements`."
773
- placeholder: "Restyled elements"
774
- validations:
775
- required: false
776
- - type: input
777
- id: translation-emptyBackground
778
- attributes:
779
- label: "emptyBackground"
780
- description: "Translate `Empty background`."
781
- placeholder: "Empty background"
782
- validations:
783
- required: false
784
- - type: input
785
- id: translation-filledBackgroundWithColor
786
- attributes:
787
- label: "filledBackgroundWithColor"
788
- description: "Translate ``(color) => `Filled background (${color})` ``."
789
- placeholder: "(color) => `Filled background (${color})`"
790
- validations:
791
- required: false
792
- - type: input
793
- id: translation-text
794
- attributes:
795
- label: "text"
796
- description: "Translate ``(text) => `Text object: ${text}` ``."
797
- placeholder: "(text) => `Text object: ${text}`"
798
- validations:
799
- required: false
800
- - type: input
801
- id: translation-imageNode
802
- attributes:
803
- label: "imageNode"
804
- description: "Translate ``(label) => `Image: ${label}` ``."
805
- placeholder: "(label) => `Image: ${label}`"
806
- validations:
807
- required: false
808
- - type: input
809
- id: translation-pathNodeCount
810
- attributes:
811
- label: "pathNodeCount"
812
- description: "Translate ``(count) => `There are ${count} visible path objects.` ``."
813
- placeholder: "(count) => `There are ${count} visible path objects.`"
814
- validations:
815
- required: false
816
- - type: input
817
- id: translation-textNodeCount
818
- attributes:
819
- label: "textNodeCount"
820
- description: "Translate ``(count) => `There are ${count} visible text nodes.` ``."
821
- placeholder: "(count) => `There are ${count} visible text nodes.`"
822
- validations:
823
- required: false
824
- - type: input
825
- id: translation-imageNodeCount
826
- attributes:
827
- label: "imageNodeCount"
828
- description: "Translate ``(nodeCount) => `There are ${nodeCount} visible image nodes.` ``."
829
- placeholder: "(nodeCount) => `There are ${nodeCount} visible image nodes.`"
830
- validations:
831
- required: false
832
- - type: input
833
- id: translation-textNode
834
- attributes:
835
- label: "textNode"
836
- description: "Translate ``(content) => `Text: ${content}` ``."
837
- placeholder: "(content) => `Text: ${content}`"
838
- validations:
839
- required: false
840
- - type: input
841
- id: translation-rerenderAsText
842
- attributes:
843
- label: "rerenderAsText"
844
- description: "Translate `Re-render as text`."
845
- placeholder: "Re-render as text"
846
- validations:
847
- required: false
848
- - type: input
849
- id: translation-accessibilityInputInstructions
850
- attributes:
851
- label: "accessibilityInputInstructions"
852
- description: "Translate `Press \"t\" to read the contents of the viewport as text. Use the arrow keys to move the viewport, click and drag to draw strokes. Press \"w\" to zoom in and \"s\" to zoom out.`."
853
- placeholder: "Press \"t\" to read the contents of the viewport as text. Use the arrow keys to move the viewport, click and drag to draw strokes. Press \"w\" to zoom in and \"s\" to zoom out."
854
- validations:
855
- required: false
856
- - type: input
857
- id: translation-loading
858
- attributes:
859
- label: "loading"
860
- description: "Translate ``(percentage) => `Loading ${percentage}%...` ``."
861
- placeholder: "(percentage) => `Loading ${percentage}%...`"
862
- validations:
863
- required: false
864
- - type: input
865
- id: translation-imageEditor
866
- attributes:
867
- label: "imageEditor"
868
- description: "Translate `Image Editor`."
869
- placeholder: "Image Editor"
870
- validations:
871
- required: false
872
- - type: input
873
- id: translation-doneLoading
874
- attributes:
875
- label: "doneLoading"
876
- description: "Translate `Done loading`."
877
- placeholder: "Done loading"
878
- validations:
879
- required: false
880
- - type: input
881
- id: translation-undoAnnouncement
882
- attributes:
883
- label: "undoAnnouncement"
884
- description: "Translate ``(commandDescription) => `Undid ${commandDescription}` ``."
885
- placeholder: "(commandDescription) => `Undid ${commandDescription}`"
886
- validations:
887
- required: false
888
- - type: input
889
- id: translation-redoAnnouncement
890
- attributes:
891
- label: "redoAnnouncement"
892
- description: "Translate ``(commandDescription) => `Redid ${commandDescription}` ``."
893
- placeholder: "(commandDescription) => `Redid ${commandDescription}`"
894
- validations:
895
- required: false
896
- - type: textarea
897
- id: additional-comments
898
- attributes:
899
- label: "Additional information"
900
- placeholder: "Any additional information/comments on the translation can go here."
901
- validations:
902
- required: false