{"_id":"@abramzog/annotorious-selector-pack","_rev":"3-4537480b1e85f6b889e8bc183133d7e9","name":"@abramzog/annotorious-selector-pack","dist-tags":{"latest":"1.0.2"},"versions":{"0.5.4":{"name":"@abramzog/annotorious-selector-pack","version":"0.5.4","description":"Additional selection tools for Annotorious and the Annotorious OpenSeadragon plugin","main":"dist/annotorious-selector-pack.js","scripts":{"start":"webpack serve --open --mode=development","build":"webpack --mode=production"},"repository":{"type":"git","url":"git+https://github.com/recogito/annotorious-selector-pack.git"},"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/recogito/annotorious-selector-pack/issues"},"homepage":"https://github.com/recogito/annotorious-selector-pack#readme","devDependencies":{"@babel/plugin-proposal-class-properties":"^7.14.5","@babel/preset-env":"^7.14.7","babel-loader":"^8.2.2","css-loader":"^5.2.6","html-webpack-plugin":"^5.4.0","sass":"^1.35.2","sass-loader":"^10.2.0","style-loader":"^2.0.0","webpack":"^5.59.1","webpack-cli":"^4.9.1","webpack-dev-server":"^4.3.1"},"dependencies":{"@recogito/annotorious":"^2.7.10"},"gitHead":"6545e2c9e7c522e717c6648e5618ca5ed8a0e6e1","_id":"@abramzog/annotorious-selector-pack@0.5.4","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-5eQg7kavhd2enNKPoRTGNXbOdiBINhl0uUFsGlYdToFE3Qm1auz2rPkunuaWyDlHU4ZrIC/oKZeX9XM6EeLDDw==","shasum":"4c5e7f506da5f7319fbbf8f329f2294f3f523a18","tarball":"https://registry.npmjs.org/@abramzog/annotorious-selector-pack/-/annotorious-selector-pack-0.5.4.tgz","fileCount":33,"unpackedSize":588138,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUMqvT6fEh3ws4BC7hwNj/FSV59KWN/oBkRnFK2EKpOwIgPyj9b2DTHS91HlLsDrdaNJZ0VA2fq9SiwBLpqgS400A="}]},"_npmUser":{"name":"abramzog","email":"gabiabramzon@gmail.com"},"directories":{},"maintainers":[{"name":"abramzog","email":"gabiabramzon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/annotorious-selector-pack_0.5.4_1690366928560_0.15639001132100017"},"_hasShrinkwrap":false},"1.0.0":{"name":"@abramzog/annotorious-selector-pack","version":"1.0.0","description":"Additional selection tools for Annotorious and the Annotorious OpenSeadragon plugin","main":"dist/annotorious-selector-pack.js","scripts":{"start":"webpack serve --open --mode=development","build":"webpack --mode=production"},"repository":{"type":"git","url":"git+https://github.com/recogito/annotorious-selector-pack.git"},"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/recogito/annotorious-selector-pack/issues"},"homepage":"https://github.com/recogito/annotorious-selector-pack#readme","devDependencies":{"@babel/plugin-proposal-class-properties":"^7.14.5","@babel/preset-env":"^7.14.7","babel-loader":"^8.2.2","css-loader":"^5.2.6","html-webpack-plugin":"^5.4.0","sass":"^1.35.2","sass-loader":"^10.2.0","style-loader":"^2.0.0","webpack":"^5.59.1","webpack-cli":"^4.9.1","webpack-dev-server":"^4.3.1"},"dependencies":{"@abramzog/annotorious":"^1.0.0"},"gitHead":"47b3c39d8871655e665ac4c612fa462caa4ba94b","_id":"@abramzog/annotorious-selector-pack@1.0.0","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-uL4RHrfT/vIapyg/i9ThbzDJLieEsctFmp6E7rcuFqHC1T+JUAgeIvKwITEYdAMYa8ZUo0vWZ1Q7m3UBYbagMA==","shasum":"2db61d0a828874ea6011d78d0d9090be55028e2b","tarball":"https://registry.npmjs.org/@abramzog/annotorious-selector-pack/-/annotorious-selector-pack-1.0.0.tgz","fileCount":33,"unpackedSize":588137,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBONyAY573FuxXu0QTfnqgUYO0A8ODCuSW97M89P8zUnAiEA5V1y9VwhATzCLupUAHwnEb458pZaLXVptJiYXvxrpRE="}]},"_npmUser":{"name":"abramzog","email":"gabiabramzon@gmail.com"},"directories":{},"maintainers":[{"name":"abramzog","email":"gabiabramzon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/annotorious-selector-pack_1.0.0_1690375988379_0.14193992587951"},"_hasShrinkwrap":false},"1.0.1":{"name":"@abramzog/annotorious-selector-pack","version":"1.0.1","description":"Additional selection tools for Annotorious and the Annotorious OpenSeadragon plugin","main":"dist/annotorious-selector-pack.js","scripts":{"start":"webpack serve --open --mode=development","build":"webpack --mode=production"},"repository":{"type":"git","url":"git+https://github.com/recogito/annotorious-selector-pack.git"},"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/recogito/annotorious-selector-pack/issues"},"homepage":"https://github.com/recogito/annotorious-selector-pack#readme","devDependencies":{"@babel/plugin-proposal-class-properties":"^7.14.5","@babel/preset-env":"^7.14.7","babel-loader":"^8.2.2","css-loader":"^5.2.6","html-webpack-plugin":"^5.4.0","sass":"^1.35.2","sass-loader":"^10.2.0","style-loader":"^2.0.0","webpack":"^5.59.1","webpack-cli":"^4.9.1","webpack-dev-server":"^4.3.1"},"dependencies":{"@abramzog/annotorious":"^1.0.1"},"gitHead":"57ed3129bbebdf72fe062d3def8b93c39cc31ec0","_id":"@abramzog/annotorious-selector-pack@1.0.1","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-JyV1kk4J0+852DmAgVOhaLHvnOxJWBLE5c/RYDp5PY3n49QJShFppbbeWr3pGwild8C+inP/62E9aX4Zp1WbCQ==","shasum":"a64b1ca8660dad50c306f6d7448529c59862d722","tarball":"https://registry.npmjs.org/@abramzog/annotorious-selector-pack/-/annotorious-selector-pack-1.0.1.tgz","fileCount":37,"unpackedSize":886554,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCP1PJNdMNwhoJLjVj1TYed6Wh7K7R6m4MZaFvW0X0J/wIhAO2kbojudev6ZLqTdJzmofQw8YLHEEYEKntwHUJkcn6U"}]},"_npmUser":{"name":"abramzog","email":"gabiabramzon@gmail.com"},"directories":{},"maintainers":[{"name":"abramzog","email":"gabiabramzon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/annotorious-selector-pack_1.0.1_1690441295316_0.4888804765517807"},"_hasShrinkwrap":false},"1.0.2":{"name":"@abramzog/annotorious-selector-pack","version":"1.0.2","description":"Additional selection tools for Annotorious and the Annotorious OpenSeadragon plugin","main":"dist/annotorious-selector-pack.js","scripts":{"start":"webpack serve --open --mode=development","build":"webpack --mode=production"},"repository":{"type":"git","url":"git+https://github.com/recogito/annotorious-selector-pack.git"},"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/recogito/annotorious-selector-pack/issues"},"homepage":"https://github.com/recogito/annotorious-selector-pack#readme","devDependencies":{"@babel/plugin-proposal-class-properties":"^7.14.5","@babel/preset-env":"^7.14.7","babel-loader":"^8.2.2","css-loader":"^5.2.6","html-webpack-plugin":"^5.4.0","sass":"^1.35.2","sass-loader":"^10.2.0","style-loader":"^2.0.0","webpack":"^5.59.1","webpack-cli":"^4.9.1","webpack-dev-server":"^4.3.1"},"dependencies":{"@abramzog/annotorious":"^1.0.2"},"gitHead":"16409fd3200e275caddb5fa2b9c019694e344f6d","_id":"@abramzog/annotorious-selector-pack@1.0.2","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-JJ/PkFUmCcJkuG/q3gWIXYxnfStnT1EAD9f6bP4rpqa4AyZAznXdV7H/NeUdzVup7GHCOXsKeVt3CgRNXcibIw==","shasum":"cea1bda3b42d42bbc100dbca032f923f86c3c326","tarball":"https://registry.npmjs.org/@abramzog/annotorious-selector-pack/-/annotorious-selector-pack-1.0.2.tgz","fileCount":37,"unpackedSize":886554,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXo+wOpWVWMW+POeGSCT1ZPyo4KFOxnFcUNlvmURTrJAiBiRqui/GitHmtyGm3dx1lgQApjtxy084C4BTOvsZZiIA=="}]},"_npmUser":{"name":"abramzog","email":"gabiabramzon@gmail.com"},"directories":{},"maintainers":[{"name":"abramzog","email":"gabiabramzon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/annotorious-selector-pack_1.0.2_1690448199706_0.04015038699328777"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-26T10:22:08.464Z","0.5.4":"2023-07-26T10:22:08.832Z","modified":"2023-07-27T08:56:40.143Z","1.0.0":"2023-07-26T12:53:08.622Z","1.0.1":"2023-07-27T07:01:35.578Z","1.0.2":"2023-07-27T08:56:39.992Z"},"maintainers":[{"name":"abramzog","email":"gabiabramzon@gmail.com"}],"description":"Additional selection tools for Annotorious and the Annotorious OpenSeadragon plugin","homepage":"https://github.com/recogito/annotorious-selector-pack#readme","repository":{"type":"git","url":"git+https://github.com/recogito/annotorious-selector-pack.git"},"bugs":{"url":"https://github.com/recogito/annotorious-selector-pack/issues"},"license":"BSD-3-Clause","readme":"# Annotorious Selector Pack\n\nAdditional selection tools for Annotorious and the Annotorious OpenSeadragon plugin.\n\n- Point\n- Circle\n- Ellipse\n- Freehand\n- Multi-polygon\n\n## Using\n\nInclude the plugin in your page directl from the CDN:\n\n```html\n<html>\n  <head>\n    <!-- Annotorious first -->\n    <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/@abramzog/annotorious@latest/dist/annotorious.min.css\">\n    <script src=\"https://cdn.jsdelivr.net/npm/@abramzog/annotorious@latest/dist/annotorious.min.js\"></script>\n\n    <!-- Selector Pack plugin -->\n    <script src=\"https://cdn.jsdelivr.net/npm/@abramzog/annotorious-selector-pack@latest/dist/annotorious-selector-pack.min.js\"></script>\n  </head>\n\n  <body>\n    <img id=\"hallstatt\" src=\"640px-Hallstatt.jpg\">\n    <script>\n      window.onload = function() {\n        // Init Annotorious\n        var anno = Annotorious.init({\n          image: 'hallstatt'\n        });\n\n        // Init the plugin\n        Annotorious.SelectorPack(anno);\n\n        // [ 'rect', 'polygon', 'point', 'circle', 'ellipse', 'freehand' ]\n        console.log(anno.listDrawingTools());\n\n        anno.setDrawingTool('ellipse');\n      }\n    </script>\n  </body>\n</html>\n```\n\n### If you only want to include some tools\n\nYou can set the tools to include when initializing the plugin.\n\n```js\n// Will only include ellipse and freehand, but not circle\nAnnotorious.SelectorPack(anno, {\n  tools: ['ellipse', 'freehand']\n});\n```\n## Installation  with npm\n```\nnpm i @abramzog/annotorious-selector-pack\n\n```\n\n## Using with VueJS\n\nTo use the plugin in VueJS, please follow [this guide](https://recogito.github.io/guides/annotorious-in-vue/).\n\n## Development\n\nTo run in development mode:\n\n```sh\n$ npm install\n$ npm start\n```\n","readmeFilename":"README.md"}