{"_id":"@cicctencent/design-editor","_rev":"4-ea58c76a684824c3ac81fec5b418e83d","name":"@cicctencent/design-editor","description":"design html 设计图片编辑库","dist-tags":{"latest":"1.0.87"},"versions":{"1.0.83":{"name":"@cicctencent/design-editor","version":"1.0.83","author":{"name":"fefeding"},"license":"MIT","_id":"@cicctencent/design-editor@1.0.83","maintainers":[{"name":"jiamao","email":"haofefe@163.com"}],"dist":{"shasum":"7a2df7b1e1d9802a6aa50616a0502bd6cc38a476","tarball":"https://registry.npmjs.org/@cicctencent/design-editor/-/design-editor-1.0.83.tgz","fileCount":50,"integrity":"sha512-BgpKrVJZaX8NL5tbnjvnCpnjTmBbQVmwt3RVkIagFCdAcYEM7PpDRH6Cs3JMwaZDy9xtYFKLVyFnvE1KtiT7Jw==","signatures":[{"sig":"MEYCIQCrw9B0tGKfvPmu7g7bKCZ2zNTsg/0Sz8LYQIPlMUUdNgIhAJG7b1a1qFFpU2LznDVhNEGvVaF5ITfU2yabIn3IkxAy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":508449},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"375426acf34ad4dd03115d98e2465d9074062ed1","scripts":{"api":"npm run api:json && npm run api:md","dev":"node test/dev","push":"npm publish --registry=https://registry.npmjs.org","test":"vitest","build":"gulp && node build.js","api:md":"npx api-documenter markdown -i ./docs/.api -o ./docs/api && node ./build/md.js","update":"npx taze major  -w","release":"npx bumpp --commit --tag --push","api:json":"npx api-extractor run","docs:dev":"npm run api && vitepress dev","docs:build":"npm run api && vitepress build","docs:preview":"npm run api && vitepress preview"},"_npmUser":{"name":"jiamao","email":"haofefe@163.com"},"_npmVersion":"8.19.4","description":"design html 设计图片编辑库","directories":{},"_nodeVersion":"16.20.2","dependencies":{"@fefeding/utils":"^1.0.38","@fefeding/css-filters":"^1.0.7","@fefeding/eventemitter":"^1.0.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^4.0.2","tsify":"^5.0.4","tslib":"^2.6.2","rollup":"^4.9.6","vitest":"^1.2.2","express":"^4.18.2","request":"^2.88.2","babelify":"^10.0.0","gulp-cli":"^2.3.0","happy-dom":"^13.3.5","vitepress":"^1.0.0-rc.40","browserify":"^17.0.0","typescript":"^5.3.3","@babel/core":"^7.23.7","gulp-concat":"^2.6.1","html-to-image":"^1.11.11","gulp-typescript":"^6.0.0-alpha.1","@babel/preset-env":"^7.23.8","babel-preset-es2015":"^6.24.1","vinyl-source-stream":"^2.0.0","@rollup/plugin-babel":"^6.0.4","babel-preset-stage-0":"^6.24.1","@babel/preset-stage-0":"^7.8.3","@cicctencent/figma2html":"^1.0.49","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.4","@microsoft/api-documenter":"^7.23.20","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3","@babel/plugin-proposal-function-bind":"^7.23.3","@babel/plugin-proposal-class-properties":"^7.10.1"},"_npmOperationalInternal":{"tmp":"tmp/design-editor_1.0.83_1715571759964_0.010922810446425846","host":"s3://npm-registry-packages"}},"1.0.84":{"name":"@cicctencent/design-editor","version":"1.0.84","author":{"name":"fefeding"},"license":"MIT","_id":"@cicctencent/design-editor@1.0.84","maintainers":[{"name":"jiamao","email":"haofefe@163.com"}],"dist":{"shasum":"772e6a06cb83e2f707c25ea488ee0e3d38874725","tarball":"https://registry.npmjs.org/@cicctencent/design-editor/-/design-editor-1.0.84.tgz","fileCount":50,"integrity":"sha512-09FF+z1/KrirtpDFc+sn8c/KW44cwb/x9IzMIQd1nKWNUOfHN5oVuSPny2HfVjSn7z3TGQF/8UdRHxulx1V00A==","signatures":[{"sig":"MEYCIQDwnhPuvhaSlfxQrcqGAjJOrCKytG3DSiEeB2hESo0YfAIhAMbF4jRJoMOSCxW1GGZT7RaObJYvuZzeQp4O72aWZAsB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":511084},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"976b18bdabd01435d139dc5c4966c418a4f7731d","scripts":{"api":"npm run api:json && npm run api:md","dev":"node test/dev","push":"npm publish --registry=https://registry.npmjs.org","test":"vitest","build":"gulp && node build.js","api:md":"npx api-documenter markdown -i ./docs/.api -o ./docs/api && node ./build/md.js","update":"npx taze major  -w","release":"npx bumpp --commit --tag --push","api:json":"npx api-extractor run","docs:dev":"npm run api && vitepress dev","docs:build":"npm run api && vitepress build","docs:preview":"npm run api && vitepress preview"},"_npmUser":{"name":"jiamao","email":"haofefe@163.com"},"_npmVersion":"8.19.4","description":"design html 设计图片编辑库","directories":{},"_nodeVersion":"16.20.2","dependencies":{"@fefeding/utils":"^1.0.38","@fefeding/css-filters":"^1.0.7","@fefeding/eventemitter":"^1.0.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^4.0.2","tsify":"^5.0.4","tslib":"^2.6.2","rollup":"^4.9.6","vitest":"^1.2.2","express":"^4.18.2","request":"^2.88.2","babelify":"^10.0.0","gulp-cli":"^2.3.0","happy-dom":"^13.3.5","vitepress":"^1.0.0-rc.40","browserify":"^17.0.0","typescript":"^5.3.3","@babel/core":"^7.23.7","gulp-concat":"^2.6.1","html-to-image":"^1.11.11","gulp-typescript":"^6.0.0-alpha.1","@babel/preset-env":"^7.23.8","babel-preset-es2015":"^6.24.1","vinyl-source-stream":"^2.0.0","@rollup/plugin-babel":"^6.0.4","babel-preset-stage-0":"^6.24.1","@babel/preset-stage-0":"^7.8.3","@cicctencent/figma2html":"^1.0.49","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.4","@microsoft/api-documenter":"^7.23.20","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3","@babel/plugin-proposal-function-bind":"^7.23.3","@babel/plugin-proposal-class-properties":"^7.10.1"},"_npmOperationalInternal":{"tmp":"tmp/design-editor_1.0.84_1715743337408_0.7129822694782426","host":"s3://npm-registry-packages"}},"1.0.85":{"name":"@cicctencent/design-editor","version":"1.0.85","author":{"name":"fefeding"},"license":"MIT","_id":"@cicctencent/design-editor@1.0.85","maintainers":[{"name":"jiamao","email":"haofefe@163.com"}],"dist":{"shasum":"b6ea5618468144edd2ebcab60a7f5cd34e5b8e34","tarball":"https://registry.npmjs.org/@cicctencent/design-editor/-/design-editor-1.0.85.tgz","fileCount":50,"integrity":"sha512-9OwvPlCVy45t0z1K+mDcA+sO4YH5tPHkoE5n5AG9I+sKnmhLNVmw+Nnr1N7Zn8pIJVa2YUkQA1/EgxK/RxHwTw==","signatures":[{"sig":"MEYCIQD7gznuY9QLHGLHg5Ct7fFM+rHng/Uuf8DUaSn6jeuPkwIhAJ5wgza54JLNK+NixfvJm7fMF/9QaI2/z28vaMDLhTuB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":510962},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"a1dfe7c241eb45fa2b7e2acea2569b7df6e0fcd0","scripts":{"api":"npm run api:json && npm run api:md","dev":"node test/dev","push":"npm publish --registry=https://registry.npmjs.org","test":"vitest","build":"gulp && node build.js","api:md":"npx api-documenter markdown -i ./docs/.api -o ./docs/api && node ./build/md.js","update":"npx taze major  -w","release":"npx bumpp --commit --tag --push","api:json":"npx api-extractor run","docs:dev":"npm run api && vitepress dev","docs:build":"npm run api && vitepress build","docs:preview":"npm run api && vitepress preview"},"_npmUser":{"name":"jiamao","email":"haofefe@163.com"},"_npmVersion":"8.19.4","description":"design html 设计图片编辑库","directories":{},"_nodeVersion":"16.20.2","dependencies":{"@fefeding/utils":"^1.0.38","@fefeding/css-filters":"^1.0.7","@fefeding/eventemitter":"^1.0.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^4.0.2","tsify":"^5.0.4","tslib":"^2.6.2","rollup":"^4.9.6","vitest":"^1.2.2","express":"^4.18.2","request":"^2.88.2","babelify":"^10.0.0","gulp-cli":"^2.3.0","happy-dom":"^13.3.5","vitepress":"^1.0.0-rc.40","browserify":"^17.0.0","typescript":"^5.3.3","@babel/core":"^7.23.7","gulp-concat":"^2.6.1","html-to-image":"^1.11.11","gulp-typescript":"^6.0.0-alpha.1","@babel/preset-env":"^7.23.8","babel-preset-es2015":"^6.24.1","vinyl-source-stream":"^2.0.0","@rollup/plugin-babel":"^6.0.4","babel-preset-stage-0":"^6.24.1","@babel/preset-stage-0":"^7.8.3","@cicctencent/figma2html":"^1.0.49","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.4","@microsoft/api-documenter":"^7.23.20","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3","@babel/plugin-proposal-function-bind":"^7.23.3","@babel/plugin-proposal-class-properties":"^7.10.1"},"_npmOperationalInternal":{"tmp":"tmp/design-editor_1.0.85_1715743428858_0.9873797228600967","host":"s3://npm-registry-packages"}},"1.0.86":{"name":"@cicctencent/design-editor","version":"1.0.86","author":{"name":"fefeding"},"license":"MIT","_id":"@cicctencent/design-editor@1.0.86","maintainers":[{"name":"jiamao","email":"haofefe@163.com"}],"dist":{"shasum":"f6b1945ec217185bd59f61bc1916895c24195e53","tarball":"https://registry.npmjs.org/@cicctencent/design-editor/-/design-editor-1.0.86.tgz","fileCount":50,"integrity":"sha512-QfHtEQ7SdoUdW7YEDr/7EOKZLevbniSkBieLOm6Pdb1DFbKC0uUfJ4GDL1/3Jsm4FyRXxV13/b742BXXRtaJkw==","signatures":[{"sig":"MEUCIQCM8IlLVjqnGNAdzkVw445AtVFqTsgTQm0kbhG+AHDURwIgQ+CZ5ch/oiLg7DsG1fN96AbbFlequ1X0apNUGTeYEXI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":510294},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"00c8f0f8b3b8567234c10a9c4fa4b73fad7289f1","scripts":{"api":"npm run api:json && npm run api:md","dev":"node test/dev","push":"npm publish --registry=https://registry.npmjs.org","test":"vitest","build":"gulp && node build.js","api:md":"npx api-documenter markdown -i ./docs/.api -o ./docs/api && node ./build/md.js","update":"npx taze major  -w","release":"npx bumpp --commit --tag --push","api:json":"npx api-extractor run","docs:dev":"npm run api && vitepress dev","docs:build":"npm run api && vitepress build","docs:preview":"npm run api && vitepress preview"},"_npmUser":{"name":"jiamao","email":"haofefe@163.com"},"_npmVersion":"8.19.4","description":"design html 设计图片编辑库","directories":{},"_nodeVersion":"16.20.2","dependencies":{"@fefeding/utils":"^1.0.38","@fefeding/css-filters":"^1.0.7","@fefeding/eventemitter":"^1.0.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"gulp":"^4.0.2","tsify":"^5.0.4","tslib":"^2.6.2","rollup":"^4.9.6","vitest":"^1.2.2","express":"^4.18.2","request":"^2.88.2","babelify":"^10.0.0","gulp-cli":"^2.3.0","happy-dom":"^13.3.5","vitepress":"^1.0.0-rc.40","browserify":"^17.0.0","typescript":"^5.3.3","@babel/core":"^7.23.7","gulp-concat":"^2.6.1","html-to-image":"^1.11.11","gulp-typescript":"^6.0.0-alpha.1","@babel/preset-env":"^7.23.8","babel-preset-es2015":"^6.24.1","vinyl-source-stream":"^2.0.0","@rollup/plugin-babel":"^6.0.4","babel-preset-stage-0":"^6.24.1","@babel/preset-stage-0":"^7.8.3","@cicctencent/figma2html":"^1.0.49","@rollup/plugin-commonjs":"^25.0.7","@microsoft/api-extractor":"^7.39.4","@microsoft/api-documenter":"^7.23.20","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3","@babel/plugin-proposal-function-bind":"^7.23.3","@babel/plugin-proposal-class-properties":"^7.10.1"},"_npmOperationalInternal":{"tmp":"tmp/design-editor_1.0.86_1716519477805_0.16056495617399746","host":"s3://npm-registry-packages"}},"1.0.87":{"name":"@cicctencent/design-editor","version":"1.0.87","description":"design html 设计图片编辑库","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"dev":"node test/dev","build":"gulp && node build.js","test":"vitest","update":"npx taze major  -w","release":"npx bumpp --commit --tag --push","api:json":"npx api-extractor run","api:md":"npx api-documenter markdown -i ./docs/.api -o ./docs/api && node ./build/md.js","api":"npm run api:json && npm run api:md","push":"npm publish --registry=https://registry.npmjs.org","docs:dev":"npm run api && vitepress dev","docs:build":"npm run api && vitepress build","docs:preview":"npm run api && vitepress preview"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"devDependencies":{"@babel/core":"^7.23.7","@babel/plugin-proposal-class-properties":"^7.10.1","@babel/plugin-proposal-function-bind":"^7.23.3","@babel/preset-env":"^7.23.8","@babel/preset-stage-0":"^7.8.3","@cicctencent/figma2html":"^1.0.49","@microsoft/api-documenter":"^7.23.20","@microsoft/api-extractor":"^7.39.4","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","babel-preset-es2015":"^6.24.1","babel-preset-stage-0":"^6.24.1","babelify":"^10.0.0","browserify":"^17.0.0","express":"^4.18.2","gulp":"^4.0.2","gulp-cli":"^2.3.0","gulp-concat":"^2.6.1","gulp-typescript":"^6.0.0-alpha.1","happy-dom":"^13.3.5","html-to-image":"^1.11.11","request":"^2.88.2","rollup":"^4.9.6","rollup-plugin-typescript2":"^0.36.0","tsify":"^5.0.4","tslib":"^2.6.2","typescript":"^5.3.3","vinyl-source-stream":"^2.0.0","vitepress":"^1.0.0-rc.40","vitest":"^1.2.2"},"dependencies":{"@fefeding/css-filters":"^1.0.7","@fefeding/eventemitter":"^1.0.1","@fefeding/utils":"^1.0.38"},"author":{"name":"fefeding"},"license":"MIT","gitHead":"10ac3c722a3d87e31d667319c553f83f952e1983","_id":"@cicctencent/design-editor@1.0.87","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-qvsBQoa6ZvLhXlxgUEb/sRjHfsH210Qp9By9EqwNFwwqeDZ0yOI/sc8xI6TSxy/pVofHcdHxGKwWKK4mao0rpg==","shasum":"57d4e1980b914033c2e161a304074a2bad476938","tarball":"https://registry.npmjs.org/@cicctencent/design-editor/-/design-editor-1.0.87.tgz","fileCount":50,"unpackedSize":518437,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAcDauI47BThbp6UUMWczhxRMcVSx4u6o2UbKObLD7/lAiBGwp/45gwdBre8R7qvwiVhyyy5ibLqP87gCBKMm89WVA=="}]},"_npmUser":{"name":"jiamao","email":"haofefe@163.com"},"directories":{},"maintainers":[{"name":"jiamao","email":"haofefe@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/design-editor_1.0.87_1718787826668_0.3691229564307952"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-13T03:42:39.846Z","modified":"2024-06-19T09:03:47.004Z","1.0.83":"2024-05-13T03:42:40.172Z","1.0.84":"2024-05-15T03:22:17.598Z","1.0.85":"2024-05-15T03:23:49.014Z","1.0.86":"2024-05-24T02:57:57.957Z","1.0.87":"2024-06-19T09:03:46.826Z"},"maintainers":[{"name":"jiamao","email":"haofefe@163.com"}],"author":{"name":"fefeding"},"license":"MIT","readme":"# @cicctencent/design-editor\r\nhtml设计编辑器\r\n\r\n```zsh\r\nsrc\r\n├── components\r\n│   ├── image.ts\r\n│   └── text.ts\r\n├── constant\r\n│   ├── data.ts  基础数据结构 JData、IData、IDataItem\r\n│   ├── eventEmitter.ts    与dom无关的事件发射器，扩展了eventemitter3的on和off支持空格间隔多个事件\r\n│   ├── styleMap.ts\r\n│   ├── transform.ts\r\n│   └── types.ts\r\n├── core\r\n│   ├── baseComponent.ts\r\n│   ├── controller.ts\r\n│   ├── element.ts 元素相关能力的基类：JElement\r\n│   ├── event.ts   dom相关的事件处理。\r\n│   ├── fonts.ts\r\n│   └── style.ts\r\n├── editor.ts\r\n├── index.ts\r\n└── lib\r\n    └── util.ts\r\n```\r\n\r\n[example](https://fefeding.github.io/design-editor/example/index.html)\r\n\r\n# API\r\n[API](./docs/api/index.md)","readmeFilename":"README.md"}