├── .gitignore ├── LICENSE ├── README.md ├── package.json ├── packages ├── partner │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ │ └── index.ts └── platform │ ├── canvaskit │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ │ └── index.ts │ ├── miniapp │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ │ └── index.ts │ ├── node │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ │ └── index.ts │ ├── web │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ │ └── index.ts │ └── worker │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ └── index.ts └── src └── index.ts /.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | types 3 | node_modules 4 | 5 | .DS_Store 6 | 7 | .idea 8 | .vscode 9 | 10 | .eslintcache 11 | *.tsbuildinfo 12 | *.log -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2023-present, Chao (Leafer) Wan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # leafer-editor 2 | 3 | **leafer-editor** 在 [leafer-ui](https://github.com/leaferjs/leafer-ui) 的基础上,集成了 图形编辑器、视图控制 、滚动条、箭头、HTML 插件,适用于在线图形编辑的场景。 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "leafer-editor", 3 | "version": "1.6.7", 4 | "author": "Chao (Leafer) Wan", 5 | "license": "MIT", 6 | "type": "module", 7 | "main": "dist/web.esm.min.js", 8 | "exports": { 9 | "import": "./dist/web.esm.min.js", 10 | "require": "./dist/web.min.cjs", 11 | "types": "./types/index.d.ts" 12 | }, 13 | "types": "types/index.d.ts", 14 | "unpkg": "dist/web.min.js", 15 | "jsdelivr": "dist/web.min.js", 16 | "files": ["src","types","dist"], 17 | "repository": { 18 | "type": "git", 19 | "url": "https://github.com/leaferjs/leafer-editor.git" 20 | }, 21 | "homepage": "https://github.com/leaferjs/leafer-editor", 22 | "bugs": "https://github.com/leaferjs/leafer-editor/issues", 23 | "keywords": [ 24 | "leafer editor", 25 | "leafer-editor", 26 | "leaferui", 27 | "leafer-ui", 28 | "leaferjs", 29 | "leafer", 30 | "html5", 31 | "canvas", 32 | "2d", 33 | "graphic", 34 | "renderer", 35 | "engine" 36 | ], 37 | "dependencies": { 38 | "leafer-ui": "1.6.7", 39 | "@leafer-ui/draw": "1.6.7", 40 | "@leafer-ui/core": "1.6.7", 41 | "@leafer-editor/web": "1.6.7", 42 | "@leafer-in/editor": "1.6.7", 43 | "@leafer-in/viewport": "1.6.7", 44 | "@leafer-in/view": "1.6.7", 45 | "@leafer-in/scroll": "1.6.7", 46 | "@leafer-in/arrow": "1.6.7", 47 | "@leafer-in/find": "1.6.7", 48 | "@leafer-in/export": "1.6.7", 49 | "@leafer-in/resize": "1.6.7", 50 | "@leafer-in/color": "1.6.7", 51 | "@leafer-in/text-editor": "1.6.7", 52 | "@leafer-in/html": "1.6.7", 53 | "@leafer-in/interface": "1.6.7" 54 | } 55 | } -------------------------------------------------------------------------------- /packages/partner/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2023-present, Chao (Leafer) Wan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /packages/partner/README.md: -------------------------------------------------------------------------------- 1 | # @leafer-editor/partner 2 | -------------------------------------------------------------------------------- /packages/partner/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@leafer-editor/partner", 3 | "version": "1.6.7", 4 | "description": "@leafer-editor/partner", 5 | "author": "Chao (Leafer) Wan", 6 | "license": "MIT", 7 | "main": "src/index.ts", 8 | "types": "types/index.d.ts", 9 | "files": ["src","types","dist"], 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/leaferjs/leafer-editor.git" 13 | }, 14 | "homepage": "https://github.com/leaferjs/leafer-editor/tree/main/packages/partner", 15 | "bugs": "https://github.com/leaferjs/leafer-editor/issues", 16 | "keywords": [ 17 | "leafer", 18 | "leaferjs" 19 | ], 20 | "dependencies": { 21 | "@leafer-in/editor": "1.6.7", 22 | "@leafer-in/viewport": "1.6.7", 23 | "@leafer-in/view": "1.6.7", 24 | "@leafer-in/scroll": "1.6.7", 25 | "@leafer-in/arrow": "1.6.7", 26 | "@leafer-in/find": "1.6.7", 27 | "@leafer-in/export": "1.6.7", 28 | "@leafer-in/resize": "1.6.7", 29 | "@leafer-in/color": "1.6.7" 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /packages/partner/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from '@leafer-in/interface' 2 | 3 | export * from '@leafer-in/editor' 4 | export * from '@leafer-in/viewport' 5 | export * from '@leafer-in/view' 6 | export * from '@leafer-in/scroll' 7 | export * from '@leafer-in/arrow' 8 | export * from '@leafer-in/find' 9 | export * from '@leafer-in/export' -------------------------------------------------------------------------------- /packages/platform/canvaskit/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2023-present, Chao (Leafer) Wan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /packages/platform/canvaskit/README.md: -------------------------------------------------------------------------------- 1 | # @leafer-editor/canvaskit 2 | -------------------------------------------------------------------------------- /packages/platform/canvaskit/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@leafer-editor/canvaskit", 3 | "version": "1.6.7", 4 | "description": "@leafer-editor/canvaskit", 5 | "author": "Chao (Leafer) Wan", 6 | "license": "MIT", 7 | "main": "src/index.ts", 8 | "types": "types/index.d.ts", 9 | "files": ["src","types","dist"], 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/leaferjs/leafer-editor.git" 13 | }, 14 | "homepage": "https://github.com/leaferjs/leafer-editor/tree/main/packages/platform/canvaskit", 15 | "bugs": "https://github.com/leaferjs/leafer-editor/issues", 16 | "keywords": [ 17 | "leafer editor canvaskit", 18 | "leafer-editor-canvaskit", 19 | "leafer-editor", 20 | "leafer-ui", 21 | "leaferjs" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /packages/platform/canvaskit/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leaferjs/leafer-editor/edd8269ea3e220e1f61b1a8c9c660869a4000205/packages/platform/canvaskit/src/index.ts -------------------------------------------------------------------------------- /packages/platform/miniapp/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2023-present, Chao (Leafer) Wan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /packages/platform/miniapp/README.md: -------------------------------------------------------------------------------- 1 | # @leafer-editor/miniapp 2 | -------------------------------------------------------------------------------- /packages/platform/miniapp/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@leafer-editor/miniapp", 3 | "version": "1.6.7", 4 | "description": "@leafer-editor/miniapp", 5 | "author": "Chao (Leafer) Wan", 6 | "license": "MIT", 7 | "type": "module", 8 | "main": "dist/miniapp.esm.min.js", 9 | "exports": { 10 | "import": "./dist/miniapp.esm.min.js", 11 | "require": "./dist/miniapp.min.cjs", 12 | "types": "./types/index.d.ts" 13 | }, 14 | "types": "types/index.d.ts", 15 | "unpkg": "dist/miniapp.esm.min.js", 16 | "jsdelivr": "dist/miniapp.esm.min.js", 17 | "files": ["src","types","dist"], 18 | "repository": { 19 | "type": "git", 20 | "url": "https://github.com/leaferjs/leafer-editor.git" 21 | }, 22 | "homepage": "https://github.com/leaferjs/leafer-editor/tree/main/packages/platform/miniapp", 23 | "bugs": "https://github.com/leaferjs/leafer-editor/issues", 24 | "keywords": [ 25 | "leafer editor miniapp", 26 | "leafer-editor-miniapp", 27 | "leafer-editor", 28 | "leafer-ui", 29 | "leaferjs" 30 | ], 31 | "dependencies": { 32 | "@leafer-ui/miniapp": "1.6.7", 33 | "@leafer-ui/draw": "1.6.7", 34 | "@leafer-ui/core": "1.6.7", 35 | "@leafer-editor/partner": "1.6.7", 36 | "@leafer-in/editor": "1.6.7", 37 | "@leafer-in/viewport": "1.6.7", 38 | "@leafer-in/view": "1.6.7", 39 | "@leafer-in/scroll": "1.6.7", 40 | "@leafer-in/arrow": "1.6.7", 41 | "@leafer-in/find": "1.6.7", 42 | "@leafer-in/export": "1.6.7", 43 | "@leafer-in/resize": "1.6.7", 44 | "@leafer-in/color": "1.6.7", 45 | "@leafer-in/interface": "1.6.7" 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /packages/platform/miniapp/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from '@leafer-ui/miniapp' 2 | 3 | export * from '@leafer-editor/partner' -------------------------------------------------------------------------------- /packages/platform/node/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2023-present, Chao (Leafer) Wan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /packages/platform/node/README.md: -------------------------------------------------------------------------------- 1 | # @leafer-editor/node 2 | -------------------------------------------------------------------------------- /packages/platform/node/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@leafer-editor/node", 3 | "version": "1.6.7", 4 | "description": "@leafer-editor/node", 5 | "author": "Chao (Leafer) Wan", 6 | "license": "MIT", 7 | "type": "module", 8 | "main": "dist/node.esm.min.js", 9 | "exports": { 10 | "import": "./dist/node.esm.min.js", 11 | "require": "./dist/node.min.cjs", 12 | "types": "./types/index.d.ts" 13 | }, 14 | "types": "types/index.d.ts", 15 | "unpkg": "dist/node.esm.min.js", 16 | "jsdelivr": "dist/node.esm.min.js", 17 | "files": ["src","types","dist"], 18 | "repository": { 19 | "type": "git", 20 | "url": "https://github.com/leaferjs/leafer-editor.git" 21 | }, 22 | "homepage": "https://github.com/leaferjs/leafer-editor/tree/main/packages/platform/node", 23 | "bugs": "https://github.com/leaferjs/leafer-editor/issues", 24 | "keywords": [ 25 | "leafer editor node", 26 | "leafer-editor-node", 27 | "leafer-editor", 28 | "leafer-ui", 29 | "leaferjs" 30 | ], 31 | "dependencies": { 32 | "@leafer-ui/node": "1.6.7", 33 | "@leafer-ui/draw": "1.6.7", 34 | "@leafer-ui/core": "1.6.7", 35 | "@leafer-editor/partner": "1.6.7", 36 | "@leafer-in/editor": "1.6.7", 37 | "@leafer-in/viewport": "1.6.7", 38 | "@leafer-in/view": "1.6.7", 39 | "@leafer-in/scroll": "1.6.7", 40 | "@leafer-in/arrow": "1.6.7", 41 | "@leafer-in/find": "1.6.7", 42 | "@leafer-in/export": "1.6.7", 43 | "@leafer-in/resize": "1.6.7", 44 | "@leafer-in/color": "1.6.7", 45 | "@leafer-in/interface": "1.6.7" 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /packages/platform/node/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from '@leafer-ui/node' 2 | 3 | export * from '@leafer-editor/partner' -------------------------------------------------------------------------------- /packages/platform/web/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2023-present, Chao (Leafer) Wan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /packages/platform/web/README.md: -------------------------------------------------------------------------------- 1 | # @leafer-editor/web 2 | -------------------------------------------------------------------------------- /packages/platform/web/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@leafer-editor/web", 3 | "version": "1.6.7", 4 | "description": "@leafer-editor/web", 5 | "author": "Chao (Leafer) Wan", 6 | "license": "MIT", 7 | "main": "src/index.ts", 8 | "types": "types/index.d.ts", 9 | "files": ["src","types","dist"], 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/leaferjs/leafer-editor.git" 13 | }, 14 | "homepage": "https://github.com/leaferjs/leafer-editor/tree/main/packages/platform/web", 15 | "bugs": "https://github.com/leaferjs/leafer-editor/issues", 16 | "keywords": [ 17 | "leafer-editor", 18 | "leafer-ui", 19 | "leaferjs" 20 | ], 21 | "dependencies": { 22 | "leafer-ui": "1.6.7", 23 | "@leafer-ui/draw": "1.6.7", 24 | "@leafer-ui/core": "1.6.7", 25 | "@leafer-editor/partner": "1.6.7", 26 | "@leafer-in/text-editor": "1.6.7", 27 | "@leafer-in/html": "1.6.7", 28 | "@leafer-in/interface": "1.6.7" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /packages/platform/web/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from 'leafer-ui' 2 | 3 | export * from '@leafer-editor/partner' 4 | export * from '@leafer-in/text-editor' 5 | export * from '@leafer-in/html' 6 | 7 | -------------------------------------------------------------------------------- /packages/platform/worker/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2023-present, Chao (Leafer) Wan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /packages/platform/worker/README.md: -------------------------------------------------------------------------------- 1 | # @leafer-editor/worker 2 | -------------------------------------------------------------------------------- /packages/platform/worker/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@leafer-editor/worker", 3 | "version": "1.6.7", 4 | "description": "@leafer-editor/worker", 5 | "author": "Chao (Leafer) Wan", 6 | "license": "MIT", 7 | "type": "module", 8 | "main": "dist/worker.esm.min.js", 9 | "exports": { 10 | "import": "./dist/worker.esm.min.js", 11 | "require": "./dist/worker.min.cjs", 12 | "types": "./types/index.d.ts" 13 | }, 14 | "types": "types/index.d.ts", 15 | "unpkg": "dist/worker.min.js", 16 | "jsdelivr": "dist/worker.min.js", 17 | "files": ["src","types","dist"], 18 | "repository": { 19 | "type": "git", 20 | "url": "https://github.com/leaferjs/leafer-editor.git" 21 | }, 22 | "homepage": "https://github.com/leaferjs/leafer-editor/tree/main/packages/platform/worker", 23 | "bugs": "https://github.com/leaferjs/leafer-editor/issues", 24 | "keywords": [ 25 | "leafer editor worker", 26 | "leafer-editor-worker", 27 | "leafer-editor", 28 | "leafer-ui", 29 | "leaferjs" 30 | ], 31 | "dependencies": { 32 | "@leafer-ui/worker": "1.6.7", 33 | "@leafer-ui/draw": "1.6.7", 34 | "@leafer-ui/core": "1.6.7", 35 | "@leafer-editor/partner": "1.6.7", 36 | "@leafer-in/editor": "1.6.7", 37 | "@leafer-in/viewport": "1.6.7", 38 | "@leafer-in/view": "1.6.7", 39 | "@leafer-in/scroll": "1.6.7", 40 | "@leafer-in/arrow": "1.6.7", 41 | "@leafer-in/find": "1.6.7", 42 | "@leafer-in/export": "1.6.7", 43 | "@leafer-in/resize": "1.6.7", 44 | "@leafer-in/color": "1.6.7", 45 | "@leafer-in/text-editor": "1.6.7", 46 | "@leafer-in/html": "1.6.7", 47 | "@leafer-in/interface": "1.6.7" 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /packages/platform/worker/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from '@leafer-ui/worker' 2 | 3 | export * from '@leafer-editor/partner' 4 | export * from '@leafer-in/text-editor' 5 | export * from '@leafer-in/html' -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export * from '@leafer-editor/web' --------------------------------------------------------------------------------