Socket
Socket
Sign inDemoInstall

vue-annotator

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-annotator - npm Package Compare versions

Comparing version 0.10.2 to 0.11.1

src/components/Annotator.vue

37

package.json
{
"name": "vue-annotator",
"version": "0.10.2",
"version": "0.11.1",
"description": "Vue Component for drawing annotation (box, etc)",

@@ -13,2 +13,6 @@ "homepage": "http://vue-annotator.surge.sh",

"main": "dist/vue-annotator.js",
"files": [
"src/components/",
"src/mixins/"
],
"author": "Fahmi Akbar Wildana",

@@ -19,21 +23,24 @@ "license": "MIT",

"scripts": {
"storybook": "poi --config .storybook/poi.config.js --storybook -o",
"storybook:build": "poi build --config .storybook/poi.config.js --storybook",
"deploy-storybook": "surge .storybook/dist",
"build": "poi build src/Annotator.vue --component vue-annotator"
"dev": "poi --config .storybook/poi.config.js --storybook -o",
"build:storybook": "poi build --config .storybook/poi.config.js --storybook",
"build:component": "poi build src/components/Annotator.vue --library",
"build:component:umd": "poi build src/components/Annotator.vue --library Annotator",
"deploy": "surge .storybook/dist"
},
"devDependencies": {
"@storybook/addon-actions": "^3.2.13",
"@storybook/addon-centered": "^3.2.19",
"@storybook/addon-console": "^1.0.0",
"@storybook/addon-info": "^3.2.19",
"@storybook/addon-knobs": "^3.2.19",
"@storybook/addon-notes": "^3.2.19",
"@storybook/addon-options": "^3.2.19",
"@storybook/vue": "^3.2.19",
"@storybook/addon-actions": "^3.3.0",
"@storybook/addon-centered": "^3.3.0",
"@storybook/addon-info": "^3.3.0",
"@storybook/addon-knobs": "^3.3.0",
"@storybook/addon-notes": "^3.3.0",
"@storybook/addon-options": "^3.3.0",
"@storybook/vue": "^3.3.0",
"storybook-readme": "^3.2.0",
"babel-plugin-transform-imports": "^1.4.1",
"markdown-loader": "^2.0.2",
"raw-loader": "^0.5.1",
"marked": "^0.3.9",
"poi": "^9.4.3",
"poi-preset-resolve-alias": "^1.0.1",
"poi-preset-storybook": "^0.1.3",
"raw-loader": "^0.5.1",
"storybook-readme": "^3.1.1",
"surge": "^0.19.0"

@@ -40,0 +47,0 @@ },

# vue-annotator
[![CircleCI](https://circleci.com/gh/DrSensor/vue-annotator.svg?style=shield)](https://circleci.com/gh/DrSensor/vue-annotator)
[![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat-square)](./DONATE.md)
[![donate](https://img.shields.io/badge/donate-$-yellowgreen.svg?maxAge=2592000&style=flat)](https://github.com/DrSensor/vue-annotator/blob/master/DONATE.md)

@@ -39,2 +39,3 @@ Create annotation using SVG and HTML element.

| `multipleSelect` | enable multiple select | `Boolean` | optional | `false` |
| `delete.sync` | delete selected element when set to `true` | `Boolean` | optional |

@@ -50,3 +51,2 @@

| `drawing` | *draw element via mouse click&drag | `<rect>`, `<ellipse>`, `<circle>` |
| `select` (not yet implemented) | *texture element to apply when annotation is selected | `<defs>` |

@@ -60,2 +60,3 @@ ### Events

| `drawcancel` | emit when drawing element is canceled (via right click) |
| `update:delete` | emit when shape was successfully deleted |

@@ -89,9 +90,7 @@ > Tips: use `element.node.isSameNode(this.$refs.myAnnotation)` for identifying the element.

## Support
See [CONTRIBUTING.md](./CONTRIBUTING.md) for contributing directly via:
- [Pull Requests](./CONTRIBUTING.md/#Pull-Request) or
- [Create Issues](./CONTRIBUTING.md/#Create-Issue)
See [CONTRIBUTING.md](https://github.com/DrSensor/vue-annotator/blob/master/CONTRIBUTING.md) for contributing directly via:
- [Pull Requests](https://github.com/DrSensor/vue-annotator/blob/master/CONTRIBUTING.md/#pull-requests) or
- [Create Issues](https://github.com/DrSensor/vue-annotator/blob/master/CONTRIBUTING.md/#create-issues)
For donation see [DONATE.md](./DONATE.md)
## License
[MIT](./LICENSE) License
[MIT](https://github.com/DrSensor/vue-annotator/blob/master/LICENSE) License
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc