Commit Graph

71 Commits

Author SHA1 Message Date
JFH
ea7156232e Fix issue #447 (#449)
* fix #447

* test and build
2020-12-03 13:42:52 +01:00
JFH
28019eef07 Refactor canvas in multiple pieces to increase maintainability (#446)
* #refactor-canvas getJsonFromSvgElement and svgroot code moved to separate file
* #refactor-canvas build files changes
* #refactor-canvas addSVGElementsFromJson move to json file
* #refactor-canvas selected element option function move separate file
* #refactor-canvas moveUpDownSelected move to select-elem
* ##refactor-canvas build file updated
* #refactor-canvas moveSelectedElements  move to selected-elem
* #refactor-canvas cloneSelectedElements move to slected-elem
* #refactor-canvas alignSelectedElements move to selected-elem
* #refactor-canvas deleteSelectedElements move to selected-elem
* #refactor-canvas copySelectedElements and groupSelectedElements move to selected-elem
* #refactor-canvas pushGroupProperty, ungroupSelectedElement move to selected-elem
* #refactor-canvas comment changes
* #refactor-canvas UndoManager move to separate file
* #refactor-canvas event file move to mouseMove, mouseUpEvent and dblClickEvent
* #refactor-canvas mouseDown move to event
* #refactor-canvas move to undo file
* #refactor alignment changes  and set function revert return
* #refactor-canvas textaction move to separate file
* #refactor-canvas paste-element function move to separate file
* #refactor-canvas set and get  method move to separate file
* #refactor-canvas set and get function moved changes
* #refactor clear file import and regaring function moved changes changes
* #refactor-canvas svg related function move to separate file
* #refactor-canvas setBackground methos move to elem-get-set file
* #refactor-canvas getBsplinePoint method move to event file
* #refactor-canvas export functions move to svg-exec
* #refactor-canvas svg related function moved separate file
* #refactor-canvas updateCanvas,  cycleElement move to selected-elem file
* #refactor-canvas removeUnusedDefElems move to svg-exec file
* #refactor-canvas blur method move to separate file blur-event.js
* #refactor-canvas selection related function move to separate file slection.js
* #refactor-canvas convertGradients, mousewheelmove event bind function move to other files
* #refactor-canvas extension function move to selection file
* #refactor-canvas svg tag long string changes to es6 format
* eslint fixes
* eslint and test fixes
* add netlify logo per their requirements
* #refactor-canvas path file separate to path-method.js and path-actions.js
* #refactor-canvas lint issue fixed
* #refactor-canvas path.js file class and const move to path-method.js
* #refactor-canvas eslint issue fixed. 'jsdoc/check-examples': 'off' already so removed eslint-disable jsdoc/check-examples
* #refactor-canvas path class moved changes and copy-elem.js file cypress test issue fixed
* #refactor-canvas UI - Clipboard paste element  cypress issue fixed
* #refactor-canvas cypress test cases issue fixed changes
* #refactor-canvas cypress test cases issue fixed changes
* #refactor-canvas cypress test case issue fixed
* npm update and fix a few eslint new errors
* fix snapshot and run tests
* add star tool to cypress
* #refactor-canvas shapelibrary, star, polygon and panning tool issue fixed
* build
* Update layer.js
* revert proper declarations

Authored-by OptimistikSAS
2020-11-11 11:38:45 +01:00
jfh
087fa44cea add netlify logo per their requirements 2020-10-25 23:37:47 +01:00
Brett Zamir
d03e5eeae6 - Linting: Apply latest eslint-plugin-jsdoc; lint properties/param defaults 2020-10-20 09:48:07 +08:00
jfh
a1fd9b85f4 refactor some jQuery to es6 2020-10-17 00:38:27 +02:00
jfh
6d1c36b6d3 useEncodeURIComponent to add security to dynamic import 2020-10-05 21:27:48 +02:00
jfh
08c68cb537 add ability to add extensions not located in the extensions folder 2020-10-04 23:10:35 +02:00
jfh
cfbb5a5ec8 npm update + fix linked to this update
found an issue with eslint when empty comments were used.
2020-10-04 23:07:31 +02:00
jfh
e2493664ed initial commit 2020-10-03 19:04:20 +02:00
jfh
e4e7d68aba locale.js with no jquery 2020-09-23 10:05:36 +02:00
jfh
2488a3a438 remove jquery in favor of native dom 2020-09-23 00:31:05 +02:00
jfh
b7133d5604 supportsGoodDecimals_ not used anywhere so was removed 2020-09-22 19:43:40 +02:00
jfh
a6d7a872f0 minor format and lint fix 2020-09-20 23:50:22 +02:00
jfh
5583488181 disable eslint rule for unsupported feature 2020-09-19 23:59:42 +02:00
jfh
359a161ff2 remove external folder in favor of npm dependencies 2020-09-19 15:21:30 +02:00
jfh
37fbc055fc use pathseg from npm
improvements that were made to svgpathseg polyfill locally may have to be applied to the original package.
2020-09-19 12:57:14 +02:00
jfh
213c075425 remove DS Store files 2020-09-18 23:57:41 +02:00
jfh
327ec26efa remove DS Store files 2020-09-18 23:00:35 +02:00
jfh
57cbea9d27 nomodule forward removed
may need to put it back later
2020-09-18 22:17:28 +02:00
jfh
74691af06f add lack of svg support file 2020-09-18 19:31:35 +02:00
jfh
3ce12fba9b move jquery import from index.html to index.js 2020-09-18 19:30:31 +02:00
jfh
22e44a0f56 no need to have several import of svgpathseg as this one loads to the window 2020-09-13 19:10:29 +02:00
jfh
ff711f080b remove externals in favor of npm packages 2020-09-13 12:08:05 +02:00
jfh
d15ee0fc3a translate to french 2020-09-13 01:29:49 +02:00
jfh
6c93cbf0b2 Use rollup:intro to build the xdomain-index.js 2020-09-13 01:27:40 +02:00
jfh
0d34672c9a fix issue with locale extension builds 2020-09-12 01:27:47 +02:00
jfh
ff83e4d22e improve loading of extension locales with fallback 2020-09-10 00:54:17 +02:00
jfh
cf8c8a8398 fix issues with the es build and locales. 2020-09-09 12:14:00 +02:00
jfh
029ed1a1e1 fix issue with storage 2020-09-09 01:35:47 +02:00
jfh
cfb3620d3a group each plugin in its own folder 2020-09-06 08:32:10 +02:00
jfh
caa4fe38cc add minification in the build 2020-09-04 22:34:30 +02:00
jfh
4643bab371 fix editor start with src and dist using es-dev-server 2020-09-01 00:15:18 +02:00
jfh
53f64d9649 adjkust package for instrument 2020-08-29 00:07:07 +02:00
jfh
e22ea424db use a fixed import for canvg 2020-08-29 00:02:35 +02:00
jfh
44f9190403 use last npm package to export pdf 2020-08-28 01:30:53 +02:00
jfh
bac5d13d20 move canvg and rgbcolor libs to external 2020-08-28 01:28:14 +02:00
jfh
2827efc88f add xml as import to allow roller to include in the build 2020-08-27 00:09:55 +02:00
jfh
5b6e3fef8e add extensions and locales 2020-08-24 01:23:00 +02:00
jfh
082e8bf6f2 Merge branch 'master' into new-build 2020-08-21 12:42:36 +02:00
jfh
512ee2cd83 build dist 2020-08-21 12:31:23 +02:00
jfh
7829adb5a0 don't remove the style 2020-08-20 15:29:39 +02:00
jfh
2a850bcf1a fix iife with chrome 2020-08-10 01:01:14 +02:00
jfh
842f59b6c1 use standard polyfills (only tested with esm) 2020-08-09 18:33:17 +02:00
JFH
72df064ea3 now use dynamic import() and rely on Babel to polyfill 2020-08-07 22:12:40 +02:00
JFH
7f461f9c63 working but incomplete version with new build. 2020-08-06 21:09:16 +02:00
JFH
31bca25b1c Starting Branch to simplify Build process 2020-08-05 19:58:06 +02:00
Brett Zamir
4c14de143b - Build: Fix build input for xdomain; update external files per latest
- Docs: Update dev. license badge per latest
- Linting (LGTM): Fix paths
- Linting (ESLint): Fix ignore path
- npm: Fix copy file paths
2020-08-05 18:38:52 +08:00
JFH
ae16828829 fix xdomain html files 2020-08-04 15:27:50 +02:00
JFH
47df565b57 eslint to ignore the iife xdomain 2020-08-03 19:51:28 +02:00
JFH
b558290164 fix the folder for svg-editor.html 2020-08-03 18:12:52 +02:00