{"_id":"@composy/image-editor-vue","name":"@composy/image-editor-vue","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@composy/image-editor-vue","version":"0.0.1","description":"Vue components for @composy/image-editor-core","keywords":["image-editor","vue","vue3","vue2","canvas","component"],"author":{"name":"LDesign Team"},"license":"MIT","type":"module","sideEffects":["*.vue","*.tsx","*.jsx","dist/*","es/**/style/**","esm/**/style/**"],"exports":{".":{"types":"./es/index.d.ts","import":"./es/index.js","require":"./lib/index.cjs","default":"./es/index.js"},"./components":{"types":"./es/components/index.d.ts","import":"./es/components/index.js","require":"./lib/components/index.cjs","default":"./es/components/index.js"},"./components/*":{"types":"./es/components/*.d.ts","import":"./es/components/*.js","require":"./lib/components/*.cjs","default":"./es/components/*.js"},"./composables":{"types":"./es/composables/index.d.ts","import":"./es/composables/index.js","require":"./lib/composables/index.cjs","default":"./es/composables/index.js"},"./composables/*":{"types":"./es/composables/*.d.ts","import":"./es/composables/*.js","require":"./lib/composables/*.cjs","default":"./es/composables/*.js"},"./types":{"types":"./es/types/index.d.ts","import":"./es/types/index.js","require":"./lib/types/index.cjs","default":"./es/types/index.js"},"./types/*":{"types":"./es/types/*.d.ts","import":"./es/types/*.js","require":"./lib/types/*.cjs","default":"./es/types/*.js"},"./index.css":"./dist/index.css","./index.min.css":"./dist/index.min.css","./style/index.css":"./lib/style/index.css","./style/index.less":"./es/style/index.less","./package.json":"./package.json"},"main":"./lib/index.cjs","module":"./es/index.js","types":"./es/index.d.ts","unpkg":"./dist/index.min.js","jsdelivr":"./dist/index.min.js","scripts":{"build":"ldesign-builder build","dev":"vite build --watch","lint":"eslint . --cache","lint:check":"eslint . --cache --max-warnings 0","lint:fix":"eslint . --cache --fix","test":"ltesting run:unit","test:coverage":"ltesting run:unit --coverage","test:watch":"ltesting run:unit --watch","test:run":"ltesting run:unit","test:changed":"ltesting run:unit --changed","test:failed":"ltesting run:unit --failed","test:ui":"ltesting dashboard"},"dependencies":{"@composy/image-editor-core":"^0.0.1","vue-demi":"^0.14.10"},"peerDependencies":{"vue":"^2.7.0 || ^3.5.32"},"devDependencies":{"@antfu/eslint-config":"9.1.0","@composy/builder":"^0.0.1","@composy/testing":"^0.0.1","@vue/test-utils":"^2.4.11","eslint":"10.7.0","fast-check":"^4.9.0","jsdom":"29.1.1","typescript":"5.9.3","vite":"^8.1.4","vue":"3.5.39","vue-tsc":"^3.3.7"},"publishConfig":{"registry":"http://npm.longrise.cn:6286/"},"style":"./dist/style.css","typings":"./es/index.d.ts","browser":"./dist/index.js","_id":"@composy/image-editor-vue@0.0.1","_nodeVersion":"23.11.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-343bch7zopde7fUKA/ieL21apo2EbibYMCPEWGYFbYf6u2hEOc8EzYxm8pzpgVZ4zv1MLszYsaP5pEbYjePDcQ==","shasum":"f58eba02fec7c0a1a0024c14bd0472a029ebc347","tarball":"https://registry.npmjs.org/@composy/image-editor-vue/-/image-editor-vue-0.0.1.tgz","fileCount":87,"unpackedSize":580224,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCJT6I6ynH3HVw4eQq9RTr5HlvEuDB6wDwrjlan7Dhw4QIhAKPJlHW5yp9hjM2yOzqiejxhDawC1HB+hzzRCFPFZLfI"}]},"_npmUser":{"name":"swimly","email":"979741120@qq.com"},"directories":{},"maintainers":[{"name":"swimly","email":"979741120@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/image-editor-vue_0.0.1_1786949142291_0.42023371196111015"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-17T06:45:42.177Z","0.0.1":"2026-08-17T06:45:42.440Z","modified":"2026-08-17T06:45:42.617Z"},"maintainers":[{"name":"swimly","email":"979741120@qq.com"}],"description":"Vue components for @composy/image-editor-core","keywords":["image-editor","vue","vue3","vue2","canvas","component"],"author":{"name":"LDesign Team"},"license":"MIT","readme":"# @composy/image-editor-vue\n\nProfessional image editor library with annotations, filters, crop, and more（Vue 3 适配层）\n\n## 功能特性\n\n- 🧩 Vue 3 组件\n- 🪝 组合式函数 (Composables)\n- ⚡ 响应式数据绑定\n\n## 安装\n\n```bash\nnpm install @composy/image-editor-vue\n```\n\n## 快速开始\n\n```vue\n<template>\n  <!-- 使用组件 -->\n</template>\n\n<script setup>\n// import { /* 组件 */ } from '@composy/image-editor-vue'\n</script>\n```\n\n## 跨域导出\n\n浏览器禁止导出被跨域图片污染的 canvas。默认 `crossOrigin` 为 `anonymous`，源站需要返回 CORS 响应头；如果源站不支持 CORS，请改用本地上传、`data:` URL 或同源 `blob:` URL。\n\n```vue\n<ImageEditor\n  image=\"https://third-party.example.com/a.jpg\"\n  cross-origin=\"anonymous\"\n/>\n```\n\n显式设置 `cross-origin` 为 `null` 只适合预览无 CORS 图片，修改后的 canvas 不能导出。\n\n## 目录结构\n\n```\npackages/vue/\n├── src/              # 源码\n├── package.json\n├── tsconfig.json     # ESM 构建配置\n└── tsconfig.cjs.json # CJS 构建配置\n```\n\n## 依赖\n\n- `@composy/image-editor-core` — 核心引擎\n- `vue` ^3.3.0 (peerDependency)\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-5f5771780ae607e34032842868145e2b"}