├── .editorconfig
├── .gitignore
├── CHANGELOG.md
├── LICENSE
├── README.md
├── README.zh-CN.md
├── demo
├── App.vue
├── assets
│ ├── Crested_Ibis.jpg
│ └── demo.gif
├── dist
│ ├── Crested_Ibis.61dac377.jpg
│ ├── index.html
│ ├── main.41d0c573.js
│ ├── main.41d0c573.js.map
│ └── main.c967b235.css
├── index.html
└── main.js
├── dist
├── vue-image-painter.common.js
├── vue-image-painter.common.min.js
├── vue-image-painter.esm.js
├── vue-image-painter.esm.min.js
├── vue-image-painter.js
└── vue-image-painter.min.js
├── package.json
├── scripts
└── release.sh
├── src
├── ImagePainter
│ ├── index.vue
│ ├── mixins
│ │ └── index.js
│ └── style
│ │ └── animation.styl
└── index.js
└── yarn.lock
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = space
6 | indent_size = 2
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .cache
3 | node_modules
4 | *.log
5 | .idea
6 | .vscode
7 | package-lock.json
8 | npm-debug.log
9 | dev
10 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Change Log
2 |
3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4 |
5 |
6 | ## [0.1.3](https://github.com/komomoo/vue-image-painter/compare/v0.1.2...v0.1.3) (2019-07-05)
7 |
8 |
9 |
10 |
11 | ## [0.1.2](https://github.com/komomoo/vue-image-painter/compare/v0.1.1...v0.1.2) (2019-07-05)
12 |
13 |
14 |
15 |
16 | ## [0.1.1](https://github.com/komomoo/vue-image-painter/compare/v0.1.0...v0.1.1) (2019-07-05)
17 |
18 |
19 | ### Features
20 |
21 | * add animation blur ([69333e9](https://github.com/komomoo/vue-image-painter/commit/69333e9))
22 | * props add animation ([d116126](https://github.com/komomoo/vue-image-painter/commit/d116126))
23 |
24 |
25 |
26 |
27 | # 0.1.0 (2019-07-05)
28 |
29 |
30 | ### Features
31 |
32 | * demo ([11249d6](https://github.com/komomoo/vue-image-painter/commit/11249d6))
33 | * ImagePainter ([19d8d69](https://github.com/komomoo/vue-image-painter/commit/19d8d69))
34 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 komo
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 all
13 | 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 THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # vue-image-painter
2 |
3 | English | [简体中文](./README.zh-CN.md)
4 |
5 | ## 🌰 Example
6 |
7 | 图片加载中...
8 |
9 | [Demo](https://komomoo.github.io/vue-image-painter/demo/dist/)
10 |
11 | [Demo Source Code](https://github.com/komomoo/vue-image-painter/blob/master/demo/App.vue)
12 |
13 | ## 🚀 QuickStart
14 |
15 | 1. Install
16 |
17 | ```bash
18 | yarn add vue-image-painter # OR npm i -S vue-image-painter
19 | ```
20 |
21 | 2. Import
22 |
23 | ```js
24 | // main.js
25 | import ImagePainter from 'vue-image-painter'
26 | Vue.use(ImagePainter)
27 | ```
28 |
29 | 3. Usage. Please refer to the [Demo Source Code](https://github.com/komomoo/vue-image-painter/blob/master/demo/App.vue)
30 |
31 | ```html
32 |
8 |
9 | [Demo](https://komomoo.github.io/vue-image-painter/demo/dist/)
10 |
11 | [Demo 源码](https://github.com/komomoo/vue-image-painter/blob/master/demo/App.vue)
12 |
13 | ## 🚀 快速开始
14 |
15 | 1. 安装
16 |
17 | ```bash
18 | yarn add vue-image-painter # 或 npm i -S vue-image-painter
19 | ```
20 |
21 | 2. 引入
22 |
23 | ```js
24 | // main.js 入口中
25 | import ImagePainter from 'vue-image-painter'
26 | Vue.use(ImagePainter)
27 | ```
28 |
29 | 3. 使用,请参考[Demo 源码](https://github.com/komomoo/vue-image-painter/blob/master/demo/App.vue)
30 |
31 | ```html
32 |
Image Draw
4 |
5 |
6 |