{"_id":"vue-slicksort","_rev":"33-e14debc75121050f0207aa540adab86b","name":"vue-slicksort","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","dist-tags":{"latest":"2.0.5","beta":"1.1.3-0"},"versions":{"0.1.0":{"name":"vue-slicksort","version":"0.1.0","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/commonjs/index.js","jsnext:main":"dist/es6/index.js","browser":"dist/umd/vue-sortable.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run build:commonjs && npm run build:es6 && npm run build:umd","rollup":"cross-env BABEL_ENV=rollup rollup -c","build:commonjs":"npm run clean:commonjs && cross-env BABEL_ENV=commonjs babel src --out-dir dist/commonjs --ignore *.example.js,*.test.js","build:es6":"npm run clean:es6 && cross-env BABEL_ENV=es6 BABEL_DISABLE_CACHE=1 babel src --out-dir dist/es6 --ignore *.test.js","build:umd":"npm run rollup","clean":"npm run clean:umd; npm run clean:es6; npm run clean:commonjs","clean:umd":"rimraf dist/umd","clean:es6":"rimraf dist/es6","clean:commonjs":"rimraf dist/commonjs","test":"eslint src/** --ext .js"},"dependencies":{"babel-runtime":"^6.11.6","vue":"^2.5.13"},"peerDependencies":{"vue":"^2.2.0 || ^2.5.0"},"devDependencies":{"autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","cross-env":"^1.0.7","css-loader":"^0.23.1","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^0.9.1","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^3.2.0","stack-source-map":"^1.0.4","style-loader":"^0.13.1","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"gitHead":"9ae8c78130f6d1c0347d35eeb3f501918870c532","_id":"vue-slicksort@0.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-5Dp4tYuidMhYeld7p7oyb5QAhJ3J6iRoaiXl3EndKvJM49B7q8lz1gC2I9uc0TOQs/t5Y21bXXWn4hnlodyNmA==","shasum":"aca366b8ae3e45e516436783d6ecee0144581883","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGitAnntQsdSs7Fy5VkNwfE0QL/z/EK/qi2RLSpdVcAfAiEAtU/jryeRygN90NESkRY9gNnoujCTwYXgKsAWk3BoMY0="}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort-0.1.0.tgz_1516149949957_0.9475088003091514"},"directories":{}},"0.1.1":{"name":"vue-slicksort","version":"0.1.1","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/commonjs/index.js","jsnext:main":"dist/es6/index.js","browser":"dist/umd/vue-sortable.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run build:commonjs && npm run build:es6 && npm run build:umd","rollup":"cross-env BABEL_ENV=rollup rollup -c","build:commonjs":"npm run clean:commonjs && cross-env BABEL_ENV=commonjs babel src --out-dir dist/commonjs --ignore *.example.js,*.test.js","build:es6":"npm run clean:es6 && cross-env BABEL_ENV=es6 BABEL_DISABLE_CACHE=1 babel src --out-dir dist/es6 --ignore *.test.js","build:umd":"npm run rollup","clean":"npm run clean:umd; npm run clean:es6; npm run clean:commonjs","clean:umd":"rimraf dist/umd","clean:es6":"rimraf dist/es6","clean:commonjs":"rimraf dist/commonjs","test":"eslint src/** --ext .js","storybook":"start-storybook -p 9001 -c .storybook","build-storybook":"build-storybook -s .storybook -o .out","deploy-storybook":"storybook-to-ghpages"},"dependencies":{"babel-runtime":"^6.11.6","vue":"^2.5.13"},"peerDependencies":{"vue":"^2.2.0 || ^2.5.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","cross-env":"^1.0.7","css-loader":"^0.23.1","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^0.9.1","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^3.2.0","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"gitHead":"ecf80667a2a2ae8b5dcdc602edd35e24d649021b","_id":"vue-slicksort@0.1.1","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-1dtcyGcu44FBhyJqhnDgj8JaRA6E3T5AeaYYS9pjfyipA0DbLJyvQYSZi56sqdcvF5q+5K88EbyLwXqPuqjrSQ==","shasum":"e6ec93631abd193b49d8ffa51a1c1f7d1864e10a","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGS6tVnOgMV5BoFAqfYHEYa0OwcnDItiAEJzxQysD1LtAiA0Bpge4bPGjG2812tVxZTcvpsgvi0NQY+5iomxHUfoOA=="}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort-0.1.1.tgz_1516492572270_0.14548434573225677"},"directories":{}},"0.1.2":{"name":"vue-slicksort","version":"0.1.2","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/commonjs/index.js","jsnext:main":"dist/es6/index.js","browser":"dist/umd/vue-sortable.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run build:commonjs && npm run build:es6 && npm run build:umd","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","build:commonjs":"npm run clean:commonjs && cross-env BABEL_ENV=commonjs babel src --out-dir dist/commonjs --ignore *.example.js,*.test.js","build:es6":"npm run clean:es6 && cross-env BABEL_ENV=es6 BABEL_DISABLE_CACHE=1 babel src --out-dir dist/es6 --ignore *.test.js","build:umd":"npm run rollup","clean":"npm run clean:umd; npm run clean:es6; npm run clean:commonjs","clean:umd":"rimraf dist/umd","clean:es6":"rimraf dist/es6","clean:commonjs":"rimraf dist/commonjs","test":"eslint src/** --ext .js","storybook":"start-storybook -p 9001 -c .storybook","build-storybook":"build-storybook -s .storybook -o .out","deploy-storybook":"storybook-to-ghpages"},"dependencies":{"babel-runtime":"^6.11.6","vue":"^2.5.13"},"peerDependencies":{"vue":"^2.2.0 || ^2.5.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","cross-env":"^1.0.7","css-loader":"^0.23.1","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^0.9.1","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^3.2.0","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"gitHead":"766a416f62277e6ec9887ac862d7daf43153584b","_id":"vue-slicksort@0.1.2","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-JB8aqFL4ALEnbgH5/UBaBGOxFtBowgADtcHCDe8D+8C9ZO/xDfcV5GrO+TOaMG/bgXzDtBsZvP/NUb1YohKSlQ==","shasum":"be5931aa92f96de6a70c4ffe1cf0feb342a8061f","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-0.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuPy2XlumsFPEEWutTJdsfGLvCIMF8lKuBeu8sbAiMSwIgFqek3wFR7A4FEIIK8tXMdBWa2Ew65UAUOKjVy2z5jgQ="}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort-0.1.2.tgz_1516650133649_0.8810410057194531"},"directories":{}},"0.1.3":{"name":"vue-slicksort","version":"0.1.3","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/commonjs/index.js","jsnext:main":"dist/es6/index.js","browser":"dist/umd/vue-sortable.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","build:commonjs":"npm run clean:commonjs && cross-env BABEL_ENV=commonjs babel src --out-dir dist/commonjs --ignore *.example.js,*.test.js","build:es6":"npm run clean:es6 && cross-env BABEL_ENV=es6 BABEL_DISABLE_CACHE=1 babel src --out-dir dist/es6 --ignore *.test.js","build:umd":"npm run clean:umd && npm run rollup","clean":"npm run clean:umd; npm run clean:es6; npm run clean:commonjs","clean:umd":"rimraf dist/umd","clean:es6":"rimraf dist/es6","clean:commonjs":"rimraf dist/commonjs","test":"eslint src/** --ext .js","storybook":"start-storybook -p 9001 -c .storybook","build-storybook":"build-storybook -s .storybook -o .out","deploy-storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push master; git push master --tags; npm publish; npm run deploy-storybook"},"peerDependencies":{"vue":"^2.2.0 || ^2.5.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.23.1","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^0.9.1","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^3.2.0","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^2.5.13","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"gitHead":"1e0e5398e721fe8a2cb892df45f8f04e64c3b376","_id":"vue-slicksort@0.1.3","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-m2Y5ujLTIGNBkCnx1X4fyC2Pbg7P02eTS4AsjvzL2gfOpxVkmb7tWM/ffDN/4OgUP+idC2As2aI9Ry4/o1gQ9Q==","shasum":"d85d3834982499b6f666904ffa12d7b98ce04cf3","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-0.1.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCV4H4+8mWI/rlQqW42hIsIOy8S8F1o05jDzHMfiQSMJAIgFDImInKvlnY0uC96E+WKWImQj5zVgzDHJRPBa0WkibI="}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort-0.1.3.tgz_1516652181123_0.17562287859618664"},"directories":{}},"0.1.4":{"name":"vue-slicksort","version":"0.1.4","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -p 9001 -c .storybook","build-storybook":"build-storybook -s .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push master; git push master --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":"^2.2.0 || ^2.5.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.23.1","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^0.9.1","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^3.2.0","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^2.5.13","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"gitHead":"627c02907332ea2b7548bb0755e8134ed7c1f8e6","_id":"vue-slicksort@0.1.4","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-GlcK2M2PCI4RowoIkX60QqJbbPU52sZl/mYuqVLiaNZ4cw1YpxFipAl//pvSGpYYQ+OBnBBT90fVIbD7mZImLQ==","shasum":"a3e5410387002273e844e60630f94d683ffacbfa","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-0.1.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEaSmPIn1ftrBtzt62HjhOZywkDFQpirsAmBwAJ9JlcFAiEA2NxiT3RGJHPQWKRjyTKOgUJ7giXWjXST94KqkF6SUMk="}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort-0.1.4.tgz_1516660841453_0.7981161589268595"},"directories":{}},"0.1.5":{"name":"vue-slicksort","version":"0.1.5","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -p 9001 -c .storybook","build-storybook":"build-storybook -s .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push master; git push master --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":">=2.2.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.23.1","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^0.9.1","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^3.2.0","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^2.5.13","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"gitHead":"ff7885fc74584c4e71532ad5bce4674787603bcf","_id":"vue-slicksort@0.1.5","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-4tt2ETzDrjtdR2xEbhLISITc21oDZFoD+UvTmVGrmYqzZYtyh+EJ0y1urzttxf90gcOsGpnVoyCZKG4n+6G3fQ==","shasum":"cb8f7e67d6265e60ebc3c7dcd90864d56065e189","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-0.1.5.tgz","fileCount":10,"unpackedSize":455664,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8DzC/HdKspEf6SE5pipmMpUajd5odLaRxV0H0rV31VQIgcLonBU0Rih6KrbbZN0s5jNs4d9vWuBNiV37Bq5ED2rQ="}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_0.1.5_1518474628581_0.5233931427667569"},"_hasShrinkwrap":false},"0.1.6":{"name":"vue-slicksort","version":"0.1.6","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -p 9001 -c .storybook","build-storybook":"build-storybook -s .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":">=2.2.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.28.9","cssnano":"^3.10.0","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^2.1.0","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^6.0.6","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^2.5.13","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"browserslist":["> 1%","last 4 versions"],"gitHead":"e20ba1530f8b013f86e4bccda6b872964e7bbfc0","_id":"vue-slicksort@0.1.6","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-Uc/gOBppSi2mo2TprcUwl7nLcI5mWraXDORHxGJk/C49f8Scbrw9fQ54MStf4sPqy858/mPrhNY/XXJogN8wCw==","shasum":"81e5f1a4fa65fe1605d7c50c4819505a1dc6074d","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-0.1.6.tgz","fileCount":11,"unpackedSize":457626,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6d022L02Rw+l/1CIx5FesXQbJEcaTxaBQmj+qaA9LwQIhAOyF3QBlrOvGIDHvajFlgnfilJSOySyeFKCQcoaFxbii"}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_0.1.6_1518979551619_0.08203505760432273"},"_hasShrinkwrap":false},"0.1.8":{"name":"vue-slicksort","version":"0.1.8","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -s ./logo -p 8001 -c .storybook","build-storybook":"build-storybook -s ./logo -c .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":">=2.2.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/addon-options":"^3.4.4","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.28.9","cssnano":"^3.10.0","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^2.1.0","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^6.0.6","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^2.5.13","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"browserslist":["> 1%","last 4 versions"],"files":["dist/*"],"gitHead":"6981df867c704677698e5f14874734b82eeda9a6","_id":"vue-slicksort@0.1.8","_shasum":"e2055f5998efd6a1f040aff4616a7b5e5e64fe85","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"shasum":"e2055f5998efd6a1f040aff4616a7b5e5e64fe85","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-0.1.8.tgz","fileCount":9,"unpackedSize":178139,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+619CRA9TVsSAnZWagAABV0P+QGeqOV7ztQvXxzmurBs\n+N6yMa10zE1Gde0wmpZos1X7RQRQxvRtyG4s7hBqv6ys5JOlW3bbtW3u3ux4\nObTToKac8feAckywJ1/dT9aQlanDLdkoVhZPf2gRQyiOHUuu+um2p8IXjnJg\n5s1C7yn4IFU3l/93Ew/lAdtuHELF9utrLkAp2CrrYB+yV+ubu5T4ewQydWXC\nW+Wr1gqOw3gA00ezJlJrCQjUgaHG8ATS/mFgSAONE3suUjTEEKxi8Bt6le8c\n+GdwbOHHxK52QGIErWMsOwOgnarOSVldIrEZcuLfWgjWhvLvCl4KU9hSQF2y\nEqksTOyzj2ORd3U6x60BGpF+oXrSagoin/J7kNfrn695Iz+nT/Yedj44VMUb\nQ/NFOKbJVzabvO1Ko7zBXgSCOw8eNOKT4JWjZPNHgU98tstRoGlRurPT0Sj0\nW+hS+BXm+5QbfoNaTm+n+fITSYBHdZWpn4J/XtwtMOgvhzC/N6bfSWNVO3Rw\neZ5dq1m3OPUa53p3bLTOW68waWZvAvPpDANSc5xVc2QUif168Nq6PL486OS/\nj7AduGTI9rS5Bzwu3RO39VwpVLdlsj2e7MkNxY4QlpxtSUkWhq3lGxfFjGyr\nu8Nz4ZuYtAmpY9FO4DCsBwrANT63f2bCxxr+vKMt3KWuowS37cToCLfW0rg2\nQ5gg\r\n=PmGo\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-f2vtlWbVEhKi47xxZl0AjKmcbcG7WlY0TKdSAkkYZ2Ny7Pu1v6Pbje66Xx13+YtVJdzQ26qFbfVFdCjo7fnWiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHSCJCI6UNwT4HF62JpuvxHrmnHY0KOGLJfPlPGjdgUBAiEAnx31i7dNvM6+OEUzsbFVI0twaVUaYh7QAPyxCyN2hqs="}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_0.1.8_1526443387309_0.7919881314455852"},"_hasShrinkwrap":false},"0.1.9":{"name":"vue-slicksort","version":"0.1.9","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -s ./logo -p 8001 -c .storybook","build-storybook":"build-storybook -s ./logo -c .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":">=2.2.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/addon-options":"^3.4.4","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.28.9","cssnano":"^3.10.0","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^2.1.0","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^6.0.6","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^2.5.13","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"browserslist":["> 1%","last 4 versions"],"files":["dist/*"],"gitHead":"6e3b8001fbbc506eaf195c029d66bc31089d21f6","_id":"vue-slicksort@0.1.9","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-pd0NYXPVL3auxFZ1ReezEZuTPML5MzlP9o3nEnF+MyN+ndoRwuQjWdeftNn3T18Rzgp/p8R+9qYsmHh85zmtMQ==","shasum":"b18275c91380e4de57683991da89c9ab5dd21d12","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-0.1.9.tgz","fileCount":9,"unpackedSize":178490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbT5yLCRA9TVsSAnZWagAAhTYP/0+/dq6f4W4bFk3xlDqU\nfggiYLq7G4z4aTk4/T7AkHSH35K2N9F/xCOfC8jwo3rwNb5o01BUxZKNpFA8\ndG3XOrU44B1142IZ+be08JbWjqBlBkjCYxCDy+YD4Hbvv4wlESwFmQB68lww\nvc32l1i2xJxsdrKYmrOZgZmstMxRv5CfyS7aDyjyPmMMCJTt38LfVMthfbYu\n8taTI7RuZX+dRfPi40SX3Q5fpuZi+qlOi0dhkLrRePKfzM7YKrx1MriaA2fG\nBg8U3le/cnr2zZwawtHFQgnJsFLRvWuCBhqnUYExNeeOXkSbemouixU6bC8h\njEblITobnIjdZdI3DOk7R3Wf8PqPIdqw2FMVZqV7BjIrBF5odDgkS5CuMavl\n1lx2P+UjXwmumBs7Tsj6/sqXFQ4wYDz5YnPgiChJ4KgeiFTpk0OA7DubNaPh\nLo+1oCvvXXiK+M3aUNcjyihdg9B/h3v8k44Q80UFtSyUsFPObq9Vlxb+OXgt\nAW9xju/ergP2u9A8Dtg9k9PxDW1yvMPjTO4vuskp7ioF6nO8b7g0tW/ZmZKq\nnuKcMfxOxPu/RIk2ry81wWHdk6L5JWG1AeOd35XWTUw1ikhTLndWZVpZakKv\nMtrO8pkH8gUzkP3FtQVH25mGnb0XikGkpNJLK/sC/NSktkdzEMxXGXmmI/Sf\nSUhZ\r\n=L5h2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMPwjPsVbZiecPM3OQUIv+H62OqF7NMt1WQkTet1+/bQIgOcR5qcPp3cfuVD7ioInH+vPG4W9xG41j78S+GF9S71E="}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_0.1.9_1531944074883_0.026682796250326435"},"_hasShrinkwrap":false},"0.1.10":{"name":"vue-slicksort","version":"0.1.10","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -s ./logo -p 8001 -c .storybook","build-storybook":"build-storybook -s ./logo -c .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":">=2.2.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/addon-options":"^3.4.4","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.28.9","cssnano":"^3.10.0","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^2.1.0","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^6.0.6","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^2.5.13","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"browserslist":["> 1%","last 4 versions"],"files":["dist/*"],"gitHead":"b4700b550a073e126a7b3c56d0c7622a4e0e9ef5","_id":"vue-slicksort@0.1.10","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-5/U69wT40v3hMCsrl1o2OQAtHYL8bxYr09kipyu1EIjT5zywAQmz3AiHfVW1UAqzYpcWCQyVrA1OzMJrV2GR1A==","shasum":"4c2569603f5ffa266c23ac7b6bb1238e2a32bcfa","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-0.1.10.tgz","fileCount":9,"unpackedSize":178491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbT5zsCRA9TVsSAnZWagAAPXEP/2TMt+SKVVNZF4NG+oed\nk9jeVITkqmvxB5VhigSPq4WYOtrGvtdPxEquEFTlAXpXNY9zlJxYlzLlC3kN\nSfkHCYUEuWexamx+nEqZ7OLqNAHoirtA8RWj+1xMTx29BdDUlVXeSohzG+6Z\n4y+3RIewzCJbjY9EPftfFP4pN3WHuxcDXXMONKioA51MqeRB47t6DdtUl6F4\nc+1WlRK0VvPsKs2va/OAkhdBG6iomQskymuWNTMfLvMVbdXOg/CQYumt157/\ndOMlyzmDyZJr14xS6C1cuGmp/aS0hZQL+njcTMRl1m6TcGrQBFO+5qQHnCZv\nthRTPEfpNXAtWgv9vTlVZz9/LpfyaX1WF38jGizypsUUabaQY9ApJC8NOe0D\ngRJCTY5+mQ8f8rq3bHQsA1f52eg69OLobgd8vucQJ874F5OohXGADeurQJwD\nUUZRWdgCJnsWz7sRiT8Toq2002GxECKvElV7Tsf/wzxUeLBC/yoRQRfYRBUI\nNWq2Kl5jc+tuzZCXCngJCzYip3bk/CGykycmv1cblyGJwhE1dJYAwtN18ScV\nN105MMlYmwoG7sTrC91n439Fqnv/waw9miyIlkLqqTAGHBHK9TNcML0Sa3Ts\nHXeKUReYOmGALf54D/UqkERCY+jR3WWGEaK7oImoBpiI34F++jJOLwdB0l4k\ntgmV\r\n=Ji1W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICu/rLWveeRqI0+Js60VOtr4tIOi6zT5CTZxEJClEqPtAiEA2MECzPIFoSAi5Z/SAXtFSRRw6Rp9H1BKzdZpHpMQ018="}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_0.1.10_1531944172621_0.03456125317548908"},"_hasShrinkwrap":false},"0.2.0-0":{"name":"vue-slicksort","version":"0.2.0-0","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -s ./logo -p 8001 -c .storybook","build-storybook":"build-storybook -s ./logo -c .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":">=2.2.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/addon-options":"^3.4.4","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.28.9","cssnano":"^3.10.0","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^2.1.0","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^6.0.6","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^2.5.13","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"browserslist":["> 1%","last 4 versions"],"files":["index.d.ts","dist/*"],"readme":"# Vue Slicksort 🖖\n\n![Slicksort logo](/logo/logomark.png)\n\n> A set of component mixins to turn any list into an animated, touch-friendly, sortable list.\n> Based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by [@clauderic]\n\n[![npm version](https://img.shields.io/npm/v/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![npm downloads](https://img.shields.io/npm/dm/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/Jexordexan/vue-slicksort/blob/master/LICENSE)\n[![Gitter](https://badges.gitter.im/vue-slicksort/Lobby.svg)](https://gitter.im/vue-slicksort/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n![gzip size](http://img.badgesize.io/https://npmcdn.com/vue-slicksort?compression=gzip)\n\n### Examples available here: <a href=\"https://jexordexan.github.io/vue-slicksort/\">https://jexordexan.github.io/vue-slicksort/</a>\n\n## Features\n\n- **`v-model` Compatible** – Make any array editable with the `v-model` standard\n- **Mixin Components** – Integrates with your existing components\n- **Standalone Components** – Easy to use components for slick lists\n- **Drag handle, auto-scrolling, locked axis, events, and more!**\n- **Suuuper smooth animations** – Chasing the 60FPS dream 🌈\n- **Horizontal lists, vertical lists, or a grid** ↔ ↕ ⤡\n- **Touch support** 👌\n- **Oh yeah, and it's DEPENDENCY FREE!** 👌\n\n## Installation\n\nUsing [npm](https://www.npmjs.com/package/vue-slicksort):\n\n```\n  $ npm install vue-slicksort --save\n```\n\nUsing yarn:\n\n```\n  $ yarn add vue-slicksort\n```\n\nUsing a CDN:\n\n```html\n<script src=\"https://unpkg.com/vue-slicksort@latest/dist/vue-slicksort.min.js\"></script>\n```\n\nThen, using a module bundler that supports either CommonJS or ES2015 modules, such as [webpack](https://github.com/webpack/webpack):\n\n```js\n// Using an ES6 transpiler like Babel\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\n// Not using an ES6 transpiler\nvar slicksort = require('vue-slicksort');\nvar ContainerMixin = slicksort.ContainerMixin;\nvar ElementMixin = slicksort.ElementMixin;\n```\n\nIf you are loading the package via `<script>` tag:\n\n```html\n<script>\n  var { ContainerMixin, ElementMixin, HandleDirective } = window.VueSlicksort;\n</script>\n```\n\n## Usage\n\n### Basic Example\n\n```js\nimport Vue from 'vue';\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\nconst SortableList = {\n  mixins: [ContainerMixin],\n  template: `\n    <ul class=\"list\">\n      <slot />\n    </ul>\n  `\n};\n\nconst SortableItem = {\n  mixins: [ElementMixin],\n  props: ['item'],\n  template: `\n    <li class=\"list-item\">{{item}}</li>\n  `\n};\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SortableList lockAxis=\"y\" v-model=\"items\">\n        <SortableItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\" :item=\"item\"/>\n      </SortableList>\n    </div>\n  `,\n  components: {\n    SortableItem,\n    SortableList\n  },\n  data() {\n    return {\n      items: [\n        'Item 1',\n        'Item 2',\n        'Item 3',\n        'Item 4',\n        'Item 5',\n        'Item 6',\n        'Item 7',\n        'Item 8'\n      ]\n    };\n  }\n};\n\nconst app = new Vue({\n  el: '#root',\n  render: h => h(ExampleVue)\n});\n```\n\nThat's it! Vue Slicksort does not come with any styles by default, since it's meant to enhance your existing components.\n\n## Slicksort components\n\nThere are two pre-built components that implement the two mixins. Use them like this:\n\n```javascript\nimport { SlickList, SlickItem } from 'vue-slicksort';\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SlickList lockAxis=\"y\" v-model=\"items\">\n        <SlickItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\">\n          {{ item }}\n        </SlickItem>\n      </SlickList>\n    </div>\n  `,\n  components: {\n    SlickItem,\n    SlickList\n  },\n  data() {\n    return {\n      items: [\n        'Item 1',\n        'Item 2',\n        'Item 3',\n        'Item 4',\n        'Item 5',\n        'Item 6',\n        'Item 7',\n        'Item 8'\n      ]\n    };\n  }\n};\n```\n\n<!-- More code examples are available [here](https://github.com/Jexordexan/vue-slicksort/blob/master/examples/). -->\n\n## Why should I use this?\n\nThere are already a number of great Drag & Drop libraries out there (for instance, [vuedraggable](https://github.com/SortableJS/Vue.Draggable) is fantastic). If those libraries fit your needs, you should definitely give them a try first. However, most of those libraries rely on the HTML5 Drag & Drop API, which has some severe limitations. For instance, things rapidly become tricky if you need to support touch devices, if you need to lock dragging to an axis, or want to animate the nodes as they're being sorted. Vue Slicksort aims to provide a simple set of component mixins to fill those gaps. If you're looking for a dead-simple, mobile-friendly way to add sortable functionality to your lists, then you're in the right place.\n\n## Customization and props\n\nYou apply options as individual `props` on whatever component is using the `ContainerMixin`. The component also emits several events during a sorting operation. Here's an example of a customized component:\n\n```html\n<SortableContainer :value=\"items\"\n                   :transitionDuration=\"250\"\n                   :lockAxis=\"'y'\"\n                   :useDragHandle=\"true\"\n                   @sort-start=\"onSortStart($event)\" >\n  <!-- SortableElement stuff goes here -->\n</SortableContainer>\n```\n\n## `ContainerMixin`\n\n### Props\n\n| Property                     | Type                                                    | Default                                                                                       | Description                                                                                                                                                                                                                                                                                                                                                                                                               |\n| :--------------------------- | :------------------------------------------------------ | :-------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `value` _(required)_         | Array                                                   |                                                                                               | The `value` can be inherited from `v-model` but has to be set to the same list that is rendered with `v-for` inside the `Container`                                                                                                                                                                                                                                                                                       |\n| `axis`                       | String                                                  | `y`                                                                                           | Items can be sorted horizontally, vertically or in a grid. Possible values: `x`, `y` or `xy`                                                                                                                                                                                                                                                                                                                              |\n| `lockAxis`                   | String                                                  |                                                                                               | If you'd like, you can lock movement to an axis while sorting. This is not something that is possible with HTML5 Drag & Drop                                                                                                                                                                                                                                                                                              |\n| `helperClass`                | String                                                  |                                                                                               | You can provide a class you'd like to add to the sortable helper to add some styles to it                                                                                                                                                                                                                                                                                                                                 |\n| `transitionDuration`         | Number                                                  | `300`                                                                                         | The duration of the transition when elements shift positions. Set this to `0` if you'd like to disable transitions                                                                                                                                                                                                                                                                                                        |\n| `pressDelay`                 | Number                                                  | `0`                                                                                           | If you'd like elements to only become sortable after being pressed for a certain time, change this property. A good sensible default value for mobile is `200`. Cannot be used in conjunction with the `distance` prop.                                                                                                                                                                                                   |\n| `pressThreshold`             | Number                                                  | `5`                                                                                           | Number of pixels of movement to tolerate before ignoring a press event.                                                                                                                                                                                                                                                                                                                                                   |\n| `distance`                   | Number                                                  | `0`                                                                                           | If you'd like elements to only become sortable after being dragged a certain number of pixels. Cannot be used in conjunction with the `pressDelay` prop.                                                                                                                                                                                                                                                                  |\n| `useDragHandle`              | Boolean                                                 | `false`                                                                                       | If you're using the `HandleDirective`, set this to `true`                                                                                                                                                                                                                                                                                                                                                                 |\n| `useWindowAsScrollContainer` | Boolean                                                 | `false`                                                                                       | If you want, you can set the `window` as the scrolling container                                                                                                                                                                                                                                                                                                                                                          |\n| `hideSortableGhost`          | Boolean                                                 | `true`                                                                                        | Whether to auto-hide the ghost element. By default, as a convenience, Vue Slicksort List will automatically hide the element that is currently being sorted. Set this to false if you would like to apply your own styling.                                                                                                                                                                                               |\n| `lockToContainerEdges`       | Boolean                                                 | `false`                                                                                       | You can lock movement of the sortable element to it's parent `Container`                                                                                                                                                                                                                                                                                                                                                  |\n| `lockOffset`                 | `OffsetValue`\\* -or- [`OffsetValue`\\*, `OffsetValue`\\*] | `\"50%\"`                                                                                       | When `lockToContainerEdges` is set to `true`, this controls the offset distance between the sortable helper and the top/bottom edges of it's parent `Container`. Percentage values are relative to the height of the item currently being sorted. If you wish to specify different behaviours for locking to the _top_ of the container vs the _bottom_, you may also pass in an `array` (For example: `[\"0%\", \"100%\"]`). |\n| `shouldCancelStart`          | Function                                                | [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L41) | This function is invoked before sorting begins, and can be used to programatically cancel sorting before it begins. By default, it will cancel sorting if the event target is either an `input`, `textarea`, `select` or `option`.                                                                                                                                                                                        |\n| `getHelperDimensions`        | Function                                                | [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49) | Optional `function({node, index, collection})` that should return the computed dimensions of the SortableHelper. See [default implementation](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49) for more details                                                                                                                                                                         |\n\n\\* `OffsetValue` can either be a finite `Number` or a `String` made up of a number and a unit (`px` or `%`).\nExamples: `10` (which is the same as `\"10px\"`), `\"50%\"`\n\n### Events\n\nEvents are emitted from the Container element, and can be bound to using `v-bind` or `@` directives\n\n| Event         | Arguments                                   | Description                                               |\n| :------------ | :------------------------------------------ | :-------------------------------------------------------- |\n| `@sort-start` | `{ event, node, index, collection }`        | Fired when sorting begins.                                |\n| `@sort-move`  | `{ event }`                                 | Fired when the mouse is moved during sorting.             |\n| `@sort-end`   | `{ event, newIndex, oldIndex, collection }` | Fired when sorting has ended.                             |\n| `@input`      | `newList`                                   | Fired after sorting has ended with the newly sorted list. |\n\n## `ElementMixin`\n\n### Props\n\n| Property             | Type             | Default | Description                                                                                                                                                                                                                   |     |\n| :------------------- | :--------------- | :------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- |\n| `index` _(required)_ | Number           |         | This is the element's sortableIndex within it's collection. This prop is required.                                                                                                                                            |\n| `collection`         | Number or String | `0`     | The collection the element is part of. This is useful if you have multiple groups of sortable elements within the same `Container`. [Example](http://Jexordexan.github.io/vue-slicksort/#/basic-configuration/multiple-lists) |\n| `disabled`           | Boolean          | `false` | Whether the element should be sortable or not                                                                                                                                                                                 |\n\n## `HandleDirective`\n\nThe `v-handle` directive is used inside the draggable element.\n\nThe Container must have the `:useDragHandle` prop set to `true` for the handle to work as explected.\n\nHere is an example for a simple element with a handle:\n\n```html\n<template>\n  <li class=\"list-item\">\n    <span v-handle class=\"handle\"></span>\n    {{item.value}}\n  </li>\n</template>\n\n<script>\nimport { ElementMixin, HandleDirective } from 'vue-slicksort';\n\nexport default {\n  mixins: [ElementMixin],\n  directives: { handle: HandleDirective },\n}\n</script>\n```\n\n# FAQ\n\n<!-- ### Running Examples\n\nIn root folder:\n\n```\n\t$ npm install\n\t$ npm run storybook\n``` -->\n\n### Grid support?\n\nNeed to sort items in a grid? We've got you covered! Just set the `axis` prop to `xy`. Grid support is currently limited to a setup where all the cells in the grid have the same width and height, though we're working hard to get variable width support in the near future.\n\n### Item disappearing when sorting / CSS issues\n\nUpon sorting, `vue-slicksort` creates a clone of the element you are sorting (the _sortable-helper_) and appends it to the end of the `<body>` tag. The original element will still be in-place to preserve its position in the DOM until the end of the drag (with inline-styling to make it invisible). If the _sortable-helper_ gets messed up from a CSS standpoint, consider that maybe your selectors to the draggable item are dependent on a parent element which isn't present anymore (again, since the _sortable-helper_ is at the end of the `<body>`). This can also be a `z-index` issue, for example, when using `vue-slicksort` within a Bootstrap modal, you'll need to increase the `z-index` of the SortableHelper so it is displayed on top of the modal.\n\n### Click events being swallowed\n\nBy default, `vue-slicksort` is triggered immediately on `mousedown`. If you'd like to prevent this behaviour, there are a number of strategies readily available. You can use the `distance` prop to set a minimum distance (in pixels) to be dragged before sorting is enabled. You can also use the `pressDelay` prop to add a delay before sorting is enabled. Alternatively, you can also use the [HandleDirective](https://github.com/Jexordexan/vue-slicksort/blob/master/src/HandleDirective.js).\n\n## Dependencies\n\nSlicksort has no dependencies.\n`vue` is the only peerDependency\n\n## Reporting Issues\n\nIf believe you've found an issue, please [report it](https://github.com/Jexordexan/vue-slicksort/issues) along with any relevant details to reproduce it. The easiest way to do so is to fork this [jsfiddle](https://jsfiddle.net/Jexordexan/1puv2L6c/).\n\n## Asking for help\n\nPlease file an issue for personal support requests. Tag them with `question`.\n\n## Contributions\n\nYes please! Feature requests / pull requests are welcome.\n\n## Thanks\n\nThis library is heavily based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by Claudéric Demers (@clauderic). A very simple and low overhead implementation of drag and drop that looks and performs great!\n","readmeFilename":"README.md","gitHead":"62a6b2b02fd9adb2eaef163d0824905af6178f58","_id":"vue-slicksort@0.2.0-0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-KjO8CXDiV+2WI7Q2/GZxRfkQpf17F1OK/wMseDYA6j0IWtkTTvGoEAeOyJNmj8+NDXjk6eJHFKT8k32t6SY87w==","shasum":"a53fd5efac0a7756bef8b08643993880b8e06a9b","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-0.2.0-0.tgz","fileCount":10,"unpackedSize":179453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdOq2CRA9TVsSAnZWagAAx0kP/jIzJTD4VyOwkKABXfBr\nOOCOTAvmvScQYbhwvaJkaIUi94GN3bJJvgynVo7aaIvqsybq9aHaTjFL1CfS\nBDYN/mWhDrhsUIJMFQpPuaecEYF5lXvOvyeuGQHS6AtYPlYrHRoDvvLJLfqv\nv99UQMmlHCaCFgmBAeXxT7qrvGi564ntYabfjg3rUjWSs3YNQkOsGrYfiNIt\nABpoBvT1zIo2l5bDf7bRk2ZqlG6iX1+xjnTyyKUx0U7fvahzrk7ef9XuSv6Z\nquSnjYY1R0c7+RvrcJX08S+h9zkewJdJ1zTOdFg8DztRqz/doMTvjExIrOFT\nbIEAYxP4dhsC0A9ti1JV9WJIfrq8abapCuKIYLBnmVPGMsp3O5murqtYHnJX\nE7GuW1Kc+AR60w+fHkHfCCi/+ndCh0AoqQF9EjvJp/Ed4ODg5d5OiDdpqkoF\nljS0iW+Higg3SKMRseuznUNXu3bwRbrncOCYGLMmr6EvTBTwRjBUflc9NLM/\nXxjVexl5lIAn5nSgABljH9qWE7X+HFBJhffuohBAoXVtwLBJf4SMd+K1d1cE\nwZAhMg49h0X7wLJozN5JpxEn7825KKL2clILHvyO86htY0tpuB5+8W0Wonr7\nZeY8ds6XXZBMQfq0/9kask3gGNm4gLC8+XCMWP7ki5TiL4AFitlKaYY8HBYB\nyNiD\r\n=2HOj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGHjLo8yODyCC4ZawV/SJKdGIH+q5GcEdDChvoaaE4xnAiEA3+Li1w9nHvShd3JgIU68hz37fmmJfo+JZTUJkRZs/MY="}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_0.2.0-0_1534388917858_0.1141062551070322"},"_hasShrinkwrap":false},"1.0.0":{"name":"vue-slicksort","version":"1.0.0","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -s ./logo -p 8001 -c .storybook","build-storybook":"build-storybook -s ./logo -c .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":">=2.2.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/addon-options":"^3.4.4","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.28.9","cssnano":"^3.10.0","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^2.1.0","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^6.0.6","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^2.5.13","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"browserslist":["> 1%","last 4 versions"],"gitHead":"9c679b201ac1eb6ec044dedd2b81573564c3c251","_id":"vue-slicksort@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-LH6KWC3hXa61Jl9lnuUBy6tuDX0xktrJiB1RaB/hZQ6cyBzWJmD2lva1d3JabWiQNBN98uKQhZb6x3ym/QR2CQ==","shasum":"b6d0512be3557a67727bca1f1b4dc39bbb6dfb64","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-1.0.0.tgz","fileCount":10,"unpackedSize":196753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4t+TCRA9TVsSAnZWagAAqSgP/3/c0HckNCb43D9oi47O\nrE/r17W0SvUf8f4Nzj+kL+MLptcOx/rz9CwX5PHkBF4tql1G8umwHOnsaFt4\ntkxa13j/9fuVSJ+tWej+aadc8aZxYeVvczthYCU98s/Bpc5to+3Nbt3tu3g9\ncRas68VFIGsbfWCvUaJ89dxezJJ8CdNkZLaTYuewul1UDUVfKIQ2J0W8W04C\nmOUBLFaRTUgzF3yyVca+Jm0zX/fH2bn+3PDuHFrEd+2XvK0XFTk+v0F/yCmO\nrA8dnNQErhhtvQSpJwEKC+0fBXz+4wOylo/Lf0uZNap3DKxnxPTSN1hlgiRq\nh63frT5giMVHtZN1MjDIS4g0fpvXrcMVOEifu6p+QPtxCF59w3o3Kc/+ERWz\ngfUfVik0w32dBYr8O9ha2/6NhZBaxcrhl4aOSZ9PugshvoD9nIHg0LeG6ufu\nfixz+zLllVMaFQRUsfZ4FqinlX+ORQhaJj7IfyXv0aay8nwU7T7wXQLonk4E\ncvsttP1bXAbkBoqCtWQgS5xgMBVS/IkbNtQKkgOOGkj+vf2co/m6oJz1OD8s\n0haBv9sMp4addrTf5VmPltVerPACByh/gqbZavIiJYyIrzDhXRg5CivS1D2N\navVDE3GQe5TUyalEmwjmdD53DlS4jQLiYCzcjvYFvixV/TQiQ5noufxu2QyB\nUelx\r\n=NYzc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEjSgsivQVxvQVx2235qhb3Qqn5fTj29zw5cqrNTGqoAAiAE6KAii1ZpZ+kEPN5iOJ+o8A1n0ie/dYhB3DhJUtOxgw=="}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_1.0.0_1541595026035_0.2354201204820905"},"_hasShrinkwrap":false},"1.1.0":{"name":"vue-slicksort","version":"1.1.0","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -s ./logo -p 8001 -c .storybook","build-storybook":"build-storybook -s ./logo -c .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":">=2.2.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/addon-options":"^3.4.4","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.28.9","cssnano":"^3.10.0","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^2.1.0","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^6.0.6","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^2.5.13","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"browserslist":["> 1%","last 4 versions"],"gitHead":"f417af65d355016a9daa7f029d795649a5d9e5db","_id":"vue-slicksort@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-tSnM/HPx/hGxlh4mNvYt5yjCSWj5DQR08QH2pyS0yTpMO0DXGRhd//vPu8FpweOkp0kNuFbU2v4nlNJ4tWa9yQ==","shasum":"8c645c0c36056300a204bdfa6e6560525ccadfa3","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-1.1.0.tgz","fileCount":10,"unpackedSize":197804,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5FfGCRA9TVsSAnZWagAA0DwQAJxM1c6OSa4uep9rKJja\nfHiWOuU1KB/nWZ6t6y9r4k6Kebf5IY1VbAR43Wu6/yYux6c0EweW6EfVaoUJ\nRu0708HRCIU3OCA9uoQjfAHvV6EyT616QBwhy1xYNOr4NjfQTfRQfHRVe8uY\n2YUOLpcSRqHXrGgDSAhRrBNMsHGJVmo5ySbKvummSrucnZM5gZhkP8uSAeEk\nf5Yy/x+dAtvwtsMLT3mxW7UlnQYYXNjkT9TaTf+9Nl0qnF9PykqCf8wSODS6\nWYo2Yo8xD8ghlIrKqCIoZKoLsejeZckkpabSAym2AIxZ984VhY40XN3rTkbV\n6sHSUPDrNPyeAg9/APFTnBf/pykQxX4pP5nHkMNqK0ZD72XijJeUO45rD3SO\nrxEkhJXPrDLLAYv9PQSKkRSi0UNuiSFlJKnRCUf9DQUO+QWTPZXQ4OxFioz9\nKbYyA5/iFJ5Ruu95I42d9yy2AzdtZXaLERWl5+SQn4uL6rlksO0NklkgZX7g\niBuW19MSO1qoqviEVKcMDL3dFJSlgnuX0gjMeNeGZjVo7bVQzVC64D+7Q6xG\njI2pg1z9t9Rvsl877dp6f8TVowE2p2nsQD0LV7udgFfAGCBGrjKla2bxxAKa\nFYSENZrLcgoVBUv2B3tEO5NKl5kzxRAxMSAUqfQ9rx8fX97sVftdofTIMBXM\nE0Qr\r\n=XLw4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBDEO41tfS3tLcoRxyRQdvoxIuHTMufr2qUgItE/wrESAiByHkr0YWGmOHM1TPgvTZqRAiBi1H0kJuD5pNJOa68aaA=="}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_1.1.0_1541691333958_0.529439916306456"},"_hasShrinkwrap":false},"1.1.1":{"name":"vue-slicksort","version":"1.1.1","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -s ./logo -p 8001 -c .storybook","build-storybook":"build-storybook -s ./logo -c .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":">=2.2.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/addon-options":"^3.4.4","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.28.9","cssnano":"^3.10.0","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^2.1.0","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^6.0.6","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^2.5.13","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"browserslist":["> 1%","last 4 versions"],"gitHead":"7bbea447411bbcb10becdd97309196f986a52bc9","_id":"vue-slicksort@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-Y/P5QwXuwUYBhOOb0/ScjUIbNl6OFJy7VOmxc43Y1JewKdQ7qQvjBoA2OejpethBXY7ty0RKPtPq/H+bF5SYtw==","shasum":"8fcd58c366902274a834c22a613d01a034ffc9ac","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-1.1.1.tgz","fileCount":10,"unpackedSize":192853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5HnvCRA9TVsSAnZWagAAgvMP/2pW/rb6wnd+KNwTkOah\nLrMZVEqCEFMNx/iA+kefi1SWVm4g3AsRSdmD9jZz5OY8ddPwBQWjAbfoXjh/\nj17lb4kVH6fPAvUhVAxm3D/1g8x+o53YTvNSfh4moZ6z1oGWWgwndkmz08MU\n2DCydD5qTKFQFERPrCSwYioqTB9V8baNgWKqpD1/laEgBkxohWdxx0iXySBD\nhh3JApcCocMQOOrZ9GtLD6ppfIVGIwZFuknX+IxhBJ1Snt9wowzgiZ1qQcIi\nWnXqqkglTF4VG0QW1eNzKmIvYFUcrU1okGj7HRR+zejHUaL2qMQ6yVHaLBph\nw8xpnXe61nEsI8IELV7F48QXujbm3BXzD3vsF1epmYTq5XA7ow7S8THQvGXr\nIGRD9hEgUP5thp4K3NqkMnX5DTJT5BsAalzuSQ6deI/zkdYIC3XhEYkw3MXl\nas0R8p4BuGtyBuZH05SEb1KhE8XdPWhdpgwtO2UeGz61afn6T52tHmAcK2g2\ndGRWYk3ZQt5GhPq3Dmog081qHxY5qpIymQeErQEfu74cOWxdv90nCjRksoxN\neCH2FNIsI723sovHX2ytS7WEfZsBtO5Mf94G/xhA5cOobQJlP4kuBTMuCxeq\nyE78U2GRKxfk0mjo4j1UR5E1irF4nsRcmf5Hp3mEXcRwS5oItf9Wew+EHCfV\nbgjE\r\n=A/VY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOtaWKz0+9VlbotEmx8jzV74FtysiLyaAPFBgiNHAW/gIgZ+gUJb6qnWBmIHIwTJluKsxv/4h0tgfu5tzcPooAX8c="}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_1.1.1_1541700078035_0.7265366212126267"},"_hasShrinkwrap":false},"1.1.2":{"name":"vue-slicksort","version":"1.1.2","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -s ./logo -p 8001 -c .storybook","build-storybook":"build-storybook -s ./logo -c .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":">=2.2.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/addon-options":"^3.4.4","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.28.9","cssnano":"^3.10.0","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^2.1.0","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^6.0.6","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^2.5.13","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"browserslist":["> 1%","last 4 versions"],"gitHead":"1328f870eb554595f5bc9de5295a255445b6dcf7","_id":"vue-slicksort@1.1.2","_npmVersion":"6.4.1","_nodeVersion":"8.11.3","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-Q1tpJXXAi90ZKqoBJ5MLPKYHQ6EUFp4/8eC727QqwTIVY+NNTnE0eB2X405CbnLEaAdvyItViiCo7q4VQPHVCw==","shasum":"1970cf0fdffd8c02f2d53e1fd4005757d91451fc","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-1.1.2.tgz","fileCount":10,"unpackedSize":199138,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCEQ0CRA9TVsSAnZWagAA/xAP/jbNMcvNF4wu4KTxAAEL\nG62VE5/qY1F1hlyHsaHCL/36zIawBoE1IIum5Goq0HGYqv9G/eTBeUiksKDV\nDF1MGo66ErDCFt/cF4fGe2UWZ5UNyclc2z4mfIAnP7WEtQdRQjyj9d1x5HWw\neC3RxrD2tlVgax+nvJdHD3HjjKMJnkQvCcsHOc8oJ0QnkoEo9QZ91qQuM3H8\neEWLV+woWkAsTfkhAefHUWTL1VJxoY8tVgp66xDJvkG4ZqmUDQu/0iRtQFOB\n+8sS6pJ4DxeDtBcDVhjD+O9IDyBdddbCgtc1YYA7Mr0hXqqRJWpPswKc6bAK\nMeoT4Q+mXwA5BEWjLfg2ehAWWHsLDqLJ9V9QZKCtvN10CHVoNBSkIbTy2TBv\n3IuKUau4jIuKjXYngBLtp74pkzeLrWTaFBH4Kac56xRFdrEWFIMSl0kkMVJt\n94R/jUwLPX5EpySo00kY0zOcu5Wbi6dcIpjB6CxhEGlImbBrpahvbLAiV5V4\n0O5+nFbMeDgM67FrXNZRStXhVFF6UCdwlBWUfsbSEq6cB6/n6cxNA4jeE4LT\nWZAGnZYAsaCWPnBdlxbNqSxISKQwPNxb8KZe6hr3d2dfYF6SgXJ0B9j4pxBd\n4VftZ13oebhDraX49SIcP5z6szMypIRVqSB3oT06tW19dh5li0BypekZe3du\nUOYn\r\n=u4bz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuwF96rB3UrZOPNtDAQTFJq0a8meT2IvIOzcLztKHpoQIhAMiP4uBuRyWEpQN8Y0eJud8GFRNVhlhLv+j9k+iXtsDe"}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_1.1.2_1544045619822_0.2810251370900101"},"_hasShrinkwrap":false},"1.1.3-0":{"name":"vue-slicksort","version":"1.1.3-0","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -s ./logo -p 8001 -c .storybook","build-storybook":"build-storybook -s ./logo -c .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":">=2.2.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/addon-options":"^3.4.4","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.28.9","cssnano":"^3.10.0","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^2.1.0","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^6.0.6","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^2.5.13","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"browserslist":["> 1%","last 4 versions"],"readme":"# Vue Slicksort 🖖\n\n![Slicksort logo](/logo/logomark.png)\n\n> A set of component mixins to turn any list into an animated, touch-friendly, sortable list.\n> Based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by [@clauderic]\n\n[![npm version](https://img.shields.io/npm/v/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![npm downloads](https://img.shields.io/npm/dm/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/Jexordexan/vue-slicksort/blob/master/LICENSE)\n[![Gitter](https://badges.gitter.im/vue-slicksort/Lobby.svg)](https://gitter.im/vue-slicksort/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n![gzip size](http://img.badgesize.io/https://npmcdn.com/vue-slicksort?compression=gzip)\n\n### Examples available here: <a href=\"https://jexordexan.github.io/vue-slicksort/\">https://jexordexan.github.io/vue-slicksort/</a>\n\n## Features\n\n- **`v-model` Compatible** – Make any array editable with the `v-model` standard\n- **Mixin Components** – Integrates with your existing components\n- **Standalone Components** – Easy to use components for slick lists\n- **Drag handle, auto-scrolling, locked axis, events, and more!**\n- **Suuuper smooth animations** – Chasing the 60FPS dream 🌈\n- **Horizontal lists, vertical lists, or a grid** ↔ ↕ ⤡\n- **Touch support** 👌\n- **Oh yeah, and it's DEPENDENCY FREE!** 👌\n\n## Installation\n\nUsing [npm](https://www.npmjs.com/package/vue-slicksort):\n\n```\n  $ npm install vue-slicksort --save\n```\n\nUsing yarn:\n\n```\n  $ yarn add vue-slicksort\n```\n\nUsing a CDN:\n\n```html\n<script src=\"https://unpkg.com/vue-slicksort@latest/dist/vue-slicksort.min.js\"></script>\n```\n\nThen, using a module bundler that supports either CommonJS or ES2015 modules, such as [webpack](https://github.com/webpack/webpack):\n\n```js\n// Using an ES6 transpiler like Babel\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\n// Not using an ES6 transpiler\nvar slicksort = require('vue-slicksort');\nvar ContainerMixin = slicksort.ContainerMixin;\nvar ElementMixin = slicksort.ElementMixin;\n```\n\nIf you are loading the package via `<script>` tag:\n\n```html\n<script>\n  var { ContainerMixin, ElementMixin, HandleDirective } = window.VueSlicksort;\n</script>\n```\n\n## Usage\n\n### Basic Example\n\n```js\nimport Vue from 'vue';\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\nconst SortableList = {\n  mixins: [ContainerMixin],\n  template: `\n    <ul class=\"list\">\n      <slot />\n    </ul>\n  `\n};\n\nconst SortableItem = {\n  mixins: [ElementMixin],\n  props: ['item'],\n  template: `\n    <li class=\"list-item\">{{item}}</li>\n  `\n};\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SortableList lockAxis=\"y\" v-model=\"items\">\n        <SortableItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\" :item=\"item\"/>\n      </SortableList>\n    </div>\n  `,\n  components: {\n    SortableItem,\n    SortableList\n  },\n  data() {\n    return {\n      items: ['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5', 'Item 6', 'Item 7', 'Item 8']\n    };\n  }\n};\n\nconst app = new Vue({\n  el: '#root',\n  render: h => h(ExampleVue)\n});\n```\n\nThat's it! Vue Slicksort does not come with any styles by default, since it's meant to enhance your existing components.\n\n## Slicksort components\n\nThere are two pre-built components that implement the two mixins. Use them like this:\n\n```javascript\nimport { SlickList, SlickItem } from 'vue-slicksort';\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SlickList lockAxis=\"y\" v-model=\"items\">\n        <SlickItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\">\n          {{ item }}\n        </SlickItem>\n      </SlickList>\n    </div>\n  `,\n  components: {\n    SlickItem,\n    SlickList\n  },\n  data() {\n    return {\n      items: ['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5', 'Item 6', 'Item 7', 'Item 8']\n    };\n  }\n};\n```\n\n<!-- More code examples are available [here](https://github.com/Jexordexan/vue-slicksort/blob/master/examples/). -->\n\n## Why should I use this?\n\nThere are already a number of great Drag & Drop libraries out there (for instance, [vuedraggable](https://github.com/SortableJS/Vue.Draggable) is fantastic). If those libraries fit your needs, you should definitely give them a try first. However, most of those libraries rely on the HTML5 Drag & Drop API, which has some severe limitations. For instance, things rapidly become tricky if you need to support touch devices, if you need to lock dragging to an axis, or want to animate the nodes as they're being sorted. Vue Slicksort aims to provide a simple set of component mixins to fill those gaps. If you're looking for a dead-simple, mobile-friendly way to add sortable functionality to your lists, then you're in the right place.\n\n## Customization and props\n\nYou apply options as individual `props` on whatever component is using the `ContainerMixin`. The component also emits several events during a sorting operation. Here's an example of a customized component:\n\n```html\n<SortableContainer :value=\"items\"\n                   :transitionDuration=\"250\"\n                   :lockAxis=\"'y'\"\n                   :useDragHandle=\"true\"\n                   @sort-start=\"onSortStart($event)\" >\n  <!-- SortableElement stuff goes here -->\n</SortableContainer>\n```\n\n## `ContainerMixin`\n\n### Props\n\n| Property                     | Type                                                    | Default                                                                                       | Description                                                                                                                                                                                                                                                                                                                                                                                                               |\n| :--------------------------- | :------------------------------------------------------ | :-------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `value` _(required)_         | Array                                                   |                                                                                               | The `value` can be inherited from `v-model` but has to be set to the same list that is rendered with `v-for` inside the `Container`                                                                                                                                                                                                                                                                                       |\n| `axis`                       | String                                                  | `y`                                                                                           | Items can be sorted horizontally, vertically or in a grid. Possible values: `x`, `y` or `xy`                                                                                                                                                                                                                                                                                                                              |\n| `lockAxis`                   | String                                                  |                                                                                               | If you'd like, you can lock movement to an axis while sorting. This is not something that is possible with HTML5 Drag & Drop                                                                                                                                                                                                                                                                                              |\n| `helperClass`                | String                                                  |                                                                                               | You can provide a class you'd like to add to the sortable helper to add some styles to it                                                                                                                                                                                                                                                                                                                                 |\n| `appendTo`                   | String                                                  | `body`                                                                                        | You can provide a querySelector string you'd like to add to the sorting element to add parent dom                                                                                                                                                                                                                                                                                                                         |\n| `transitionDuration`         | Number                                                  | `300`                                                                                         | The duration of the transition when elements shift positions. Set this to `0` if you'd like to disable transitions                                                                                                                                                                                                                                                                                                        |\n| `draggedSettlingDuration`    | Number                                                  | null                                                                                          | Override the settling duration for the drag helper. If not set, `transitionDuration` will be used.                                                                                                                                                                                                                                                                                                                        |\n| `pressDelay`                 | Number                                                  | `0`                                                                                           | If you'd like elements to only become sortable after being pressed for a certain time, change this property. A good sensible default value for mobile is `200`. Cannot be used in conjunction with the `distance` prop.                                                                                                                                                                                                   |\n| `pressThreshold`             | Number                                                  | `5`                                                                                           | Number of pixels of movement to tolerate before ignoring a press event.                                                                                                                                                                                                                                                                                                                                                   |\n| `distance`                   | Number                                                  | `0`                                                                                           | If you'd like elements to only become sortable after being dragged a certain number of pixels. Cannot be used in conjunction with the `pressDelay` prop.                                                                                                                                                                                                                                                                  |\n| `useDragHandle`              | Boolean                                                 | `false`                                                                                       | If you're using the `HandleDirective`, set this to `true`                                                                                                                                                                                                                                                                                                                                                                 |\n| `useWindowAsScrollContainer` | Boolean                                                 | `false`                                                                                       | If you want, you can set the `window` as the scrolling container                                                                                                                                                                                                                                                                                                                                                          |\n| `hideSortableGhost`          | Boolean                                                 | `true`                                                                                        | Whether to auto-hide the ghost element. By default, as a convenience, Vue Slicksort List will automatically hide the element that is currently being sorted. Set this to false if you would like to apply your own styling.                                                                                                                                                                                               |\n| `lockToContainerEdges`       | Boolean                                                 | `false`                                                                                       | You can lock movement of the sortable element to it's parent `Container`                                                                                                                                                                                                                                                                                                                                                  |\n| `lockOffset`                 | `OffsetValue`\\* -or- [`OffsetValue`\\*, `OffsetValue`\\*] | `\"50%\"`                                                                                       | When `lockToContainerEdges` is set to `true`, this controls the offset distance between the sortable helper and the top/bottom edges of it's parent `Container`. Percentage values are relative to the height of the item currently being sorted. If you wish to specify different behaviours for locking to the _top_ of the container vs the _bottom_, you may also pass in an `array` (For example: `[\"0%\", \"100%\"]`). |\n| `shouldCancelStart`          | Function                                                | [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L41) | This function is invoked before sorting begins, and can be used to programatically cancel sorting before it begins. By default, it will cancel sorting if the event target is either an `input`, `textarea`, `select` or `option`.                                                                                                                                                                                        |\n| `getHelperDimensions`        | Function                                                | [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49) | Optional `function({node, index, collection})` that should return the computed dimensions of the SortableHelper. See [default implementation](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49) for more details                                                                                                                                                                         |\n\n\\* `OffsetValue` can either be a finite `Number` or a `String` made up of a number and a unit (`px` or `%`).\nExamples: `10` (which is the same as `\"10px\"`), `\"50%\"`\n\n### Events\n\nEvents are emitted from the Container element, and can be bound to using `v-bind` or `@` directives\n\n| Event         | Arguments                                   | Description                                               |\n| :------------ | :------------------------------------------ | :-------------------------------------------------------- |\n| `@sort-start` | `{ event, node, index, collection }`        | Fired when sorting begins.                                |\n| `@sort-move`  | `{ event }`                                 | Fired when the mouse is moved during sorting.             |\n| `@sort-end`   | `{ event, newIndex, oldIndex, collection }` | Fired when sorting has ended.                             |\n| `@input`      | `newList`                                   | Fired after sorting has ended with the newly sorted list. |\n\n## `ElementMixin`\n\n### Props\n\n| Property             | Type             | Default | Description                                                                                                                                                                                                                   |     |\n| :------------------- | :--------------- | :------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- |\n| `index` _(required)_ | Number           |         | This is the element's sortableIndex within it's collection. This prop is required.                                                                                                                                            |\n| `collection`         | Number or String | `0`     | The collection the element is part of. This is useful if you have multiple groups of sortable elements within the same `Container`. [Example](http://Jexordexan.github.io/vue-slicksort/#/basic-configuration/multiple-lists) |\n| `disabled`           | Boolean          | `false` | Whether the element should be sortable or not                                                                                                                                                                                 |\n\n## `HandleDirective`\n\nThe `v-handle` directive is used inside the draggable element.\n\nThe Container must have the `:useDragHandle` prop set to `true` for the handle to work as explected.\n\nHere is an example for a simple element with a handle:\n\n```html\n<template>\n  <li class=\"list-item\">\n    <span v-handle class=\"handle\"></span>\n    {{item.value}}\n  </li>\n</template>\n\n<script>\nimport { ElementMixin, HandleDirective } from 'vue-slicksort';\n\nexport default {\n  mixins: [ElementMixin],\n  directives: { handle: HandleDirective },\n}\n</script>\n```\n\n# FAQ\n\n<!-- ### Running Examples\n\nIn root folder:\n\n```\n\t$ npm install\n\t$ npm run storybook\n``` -->\n\n### Upgrade from v0.x.x\n\nThe event names have all changed from camelCase to dash-case to accommodate for inline HTML templates.\n\n### Grid support?\n\nNeed to sort items in a grid? We've got you covered! Just set the `axis` prop to `xy`. Grid support is currently limited to a setup where all the cells in the grid have the same width and height, though we're working hard to get variable width support in the near future.\n\n### Item disappearing when sorting / CSS issues\n\nUpon sorting, `vue-slicksort` creates a clone of the element you are sorting (the _sortable-helper_) and appends it to the end of the `appendTo` tag. The original element will still be in-place to preserve its position in the DOM until the end of the drag (with inline-styling to make it invisible). If the _sortable-helper_ gets messed up from a CSS standpoint, consider that maybe your selectors to the draggable item are dependent on a parent element which isn't present anymore (again, since the _sortable-helper_ is at the end of the `appendTo` prop). This can also be a `z-index` issue, for example, when using `vue-slicksort` within a Bootstrap modal, you'll need to increase the `z-index` of the SortableHelper so it is displayed on top of the modal.\n\n### Click events being swallowed\n\nBy default, `vue-slicksort` is triggered immediately on `mousedown`. If you'd like to prevent this behaviour, there are a number of strategies readily available. You can use the `distance` prop to set a minimum distance (in pixels) to be dragged before sorting is enabled. You can also use the `pressDelay` prop to add a delay before sorting is enabled. Alternatively, you can also use the [HandleDirective](https://github.com/Jexordexan/vue-slicksort/blob/master/src/HandleDirective.js).\n\n### Scoped styles\n\nIf you are using scoped styles on the sortable list, you can use `appendTo` prop.\n\n## Dependencies\n\nSlicksort has no dependencies.\n`vue` is the only peerDependency\n\n## Reporting Issues\n\nIf believe you've found an issue, please [report it](https://github.com/Jexordexan/vue-slicksort/issues) along with any relevant details to reproduce it. The easiest way to do so is to fork this [jsfiddle](https://jsfiddle.net/Jexordexan/1puv2L6c/).\n\n## Asking for help\n\nPlease file an issue for personal support requests. Tag them with `question`.\n\n## Contributions\n\nYes please! Feature requests / pull requests are welcome.\n\n## Thanks\n\nThis library is heavily based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by Claudéric Demers (@clauderic). A very simple and low overhead implementation of drag and drop that looks and performs great!\n","readmeFilename":"README.md","gitHead":"f7d3016062596d46dfa35bf4be75509c4478fbdc","_id":"vue-slicksort@1.1.3-0","_npmVersion":"6.4.1","_nodeVersion":"8.11.3","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-JtRkFTtof7Jqz2ZUD69eTHI8Ok0hLhbwZYOoHcekAbUD9eYJGCnhy52+Gcp+Mck+PeesYKt8xxaaaMaf9ZiDnw==","shasum":"7929ab01d4efcd8a9ba532e6dc57a62e3ed0d35e","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-1.1.3-0.tgz","fileCount":10,"unpackedSize":194189,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCaZmCRA9TVsSAnZWagAArRYP/1iNE7p+oLOh6re+OOtq\naTmS9X+zI+VMA5uJfcfADiH58U7vIrhqBbtrEvY9Ib2NLXle2K+0EDNIKpLY\nQF8892/M+y6Qhk8I06mHuI41m3FZJvLKRpYHpYI1Y+OePEGy/yITcYmmraDc\nLgefdIcSCmD9AGEOiXclkW8UjcHEUB96zJllE4kmINZFtynqnCW4x6f0nW6a\nXOQszQ9B4Vuit3kovtAadOFBGsxIDB0Ob3l/GZdybTiV/Mn47LmmVL07WsQu\n0l4Yz+F8IfjVxmOUImhMiIueqn7JnsxPtsiR4jZZG0xlkR2Ja20mCkqc0E9m\nIi1uUP4KZV9eDiOZDji5xhB4ch0D9XyNRTo4z+fb07OsEh25WL8k4b7fkZIL\nbjTPFaBGAMLG3wqPIQmu3rH2Uuyh9w/D4EF09ocy6BbnghOLkBQtUIie+Oip\nP0EUJCn1/MX/0IZK3fwF+82UX37p6XIzDl80dQokR1/qYqcd2+06x+A41lL2\n+Te4QMcdRGdebE2S5vZ/bL9iyTa7+N3J9rnOika/Qwdi3xActjD/QZZjSosT\nbeL1SypKOquE3VgvqWlBDmzDlF4yEZM8Fu/Dy1CjC+meYQCMQosIaVs5fhc6\no6Dc7DhC9JKBkcFVgJ0UvvQrSe5UaPyg5EfUVqLezXlD4w6HHaGuHfTGl44A\nALPF\r\n=kj0s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB9u9H8blIdQSwQXDMeA28rG249h6dS2CKRmDMqcQvmGAiEA4di7kzfREuzrCqypUqeoz+bZPQO9mtwa2fMunaLNblw="}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_1.1.3-0_1544136294289_0.5380812370556407"},"_hasShrinkwrap":false},"1.1.3":{"name":"vue-slicksort","version":"1.1.3","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -s ./logo -p 8001 -c .storybook","build-storybook":"build-storybook -s ./logo -c .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":">=2.2.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/addon-options":"^3.4.4","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.28.9","cssnano":"^3.10.0","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^3.7.0","postcss-loader":"^2.1.0","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^6.0.6","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^2.5.13","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"browserslist":["> 1%","last 4 versions"],"gitHead":"b56da9cd8c1794840b255acce17af77f9bdd3bad","_id":"vue-slicksort@1.1.3","_npmVersion":"6.4.1","_nodeVersion":"8.11.3","_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"dist":{"integrity":"sha512-zGa0t2tyYOJpHsg2eqLZS095ZLHJsyPBoxlRZ/UUzE17VUM0skdz0MElp3/LHrUuK+MzD7wV2cAPZ+LNq6C/nw==","shasum":"f8e0a1623bfb8aa39db683e28ac7bea5d9a2d9dc","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-1.1.3.tgz","fileCount":10,"unpackedSize":194187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCadyCRA9TVsSAnZWagAAPzQQAIGt3DRBrEma9BepoPW9\n5zc8YKUdmqpGhCO2BzvBSy/KdVWWMfRPfDG/xKnUTBUDLV5uWUIrNdAmWdTJ\nxATRL1XVo67fYsJZ0i58YHkkBgnjD7kdy/bkuS2fEi7cD6bI+oYTTgfCih8s\n0kwbwQCLiYPNjcTULlmnNbOKg3sRs0Z3rrYMuvoA5o/MMs4rtIXOKZBge6I4\n9DuyWdgHd/EIpRTsnLLN4QzqjUoPqHZM4EzUR4lCTUq3epmN2XD4vEFKiX/7\nKKDBKfDiIojpnHzJZD70lMbpfXawwQvq3Uy5t/94M0lQOxe5CU8LyV60GEtf\n/4KiAS6EF4cMCsIvPaOHicK/g3AXyVhKg+84zlhv22pSxDNo8AS7YVtJ2zzx\nZyz1kFZszOAImih8QfXnolB5lbx6F0CU6B4LHZkBWOMEKJ40PDqL07QwFs52\nzRkCtGaP6azxUGsX2uMoHEhpydgtvLvf/NrNoRb7f0KR057ylnmz8tG3WNUU\nUcXMAzYj9u3+7/r0B+qRgdgDSwCZf1NHJxTMRh0m/bNdQKwnbvPR5neZ3eR5\nry+42NM06qJBoyIZ+MfvAdKvoMczZjJFYvrR4EPsLtL2xQLsS+lB0o+b+uXu\nvvHqxYOild2h28BqCQgcdgUfwjJkBeo1cr4ifSLBzTmEVdfaMBqbytdX8+k7\n7kU+\r\n=omaH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPdlV4Ht8hgxbSLEd8uYzBjtumF/XEvLmCv0wlqB9EowIgS2VitB037K3imzZN74osSxKkfseLaoat34wca4NKZRk="}]},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_1.1.3_1544136561145_0.05665262758613809"},"_hasShrinkwrap":false},"2.0.0-alpha.0":{"name":"vue-slicksort","version":"2.0.0-alpha.0","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack serve","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -s ./logo -p 8001 -c .storybook","build-storybook":"build-storybook -s ./logo -c .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":">=2.2.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/addon-options":"^3.4.4","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.28.9","cssnano":"^3.10.0","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","html-webpack-plugin":"^4.5.0","lodash":"^4.17.4","postcss-loader":"^2.1.0","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^6.0.6","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^3.0.3","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^5.9.0","webpack-cli":"^4.2.0","webpack-dev-server":"^3.11.0"},"xo":{"esnext":true,"extends":"xo-react"},"browserslist":["> 1%","last 4 versions"],"readme":"# Vue Slicksort 🖖\n\n![Slicksort logo](/logo/logomark.png)\n\n> A set of component mixins to turn any list into an animated, touch-friendly, sortable list.\n> Based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by [@clauderic]\n\n[![npm version](https://img.shields.io/npm/v/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![npm downloads](https://img.shields.io/npm/dm/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/Jexordexan/vue-slicksort/blob/master/LICENSE)\n![gzip size](http://img.badgesize.io/https://npmcdn.com/vue-slicksort?compression=gzip)\n\n<p align=\"center\">\n  <a href=\"https://jexordexan.github.io/vue-slicksort/\">\n    <img src=\"logo/demo.gif\">\n  </a>\n</p>\n\n### Examples available here: <a href=\"https://jexordexan.github.io/vue-slicksort/\">https://jexordexan.github.io/vue-slicksort/</a>\n\n## Features\n\n- **`v-model` Compatible** – Make any array editable with the `v-model` standard\n- **Mixin Components** – Integrates with your existing components\n- **Standalone Components** – Easy to use components for slick lists\n- **Drag handle, auto-scrolling, locked axis, events, and more!**\n- **Suuuper smooth animations** – Chasing the 60FPS dream 🌈\n- **Horizontal lists, vertical lists, or a grid** ↔ ↕ ⤡\n- **Touch support** 👌\n- **Oh yeah, and it's DEPENDENCY FREE!** 👌\n\n## Installation\n\nUsing [npm](https://www.npmjs.com/package/vue-slicksort):\n\n```\n  $ npm install vue-slicksort --save\n```\n\nUsing yarn:\n\n```\n  $ yarn add vue-slicksort\n```\n\nUsing a CDN:\n\n```html\n<script src=\"https://unpkg.com/vue-slicksort@latest/dist/vue-slicksort.min.js\"></script>\n```\n\nThen, using a module bundler that supports either CommonJS or ES2015 modules, such as [webpack](https://github.com/webpack/webpack):\n\n```js\n// Using an ES6 transpiler like Babel\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\n// Not using an ES6 transpiler\nvar slicksort = require('vue-slicksort');\nvar ContainerMixin = slicksort.ContainerMixin;\nvar ElementMixin = slicksort.ElementMixin;\n```\n\nIf you are loading the package via `<script>` tag:\n\n```html\n<script>\n  var { ContainerMixin, ElementMixin, HandleDirective } = window.VueSlicksort;\n</script>\n```\n\n## Usage\n\n### Basic Example\n\n```js\nimport Vue from 'vue';\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\nconst SortableList = {\n  mixins: [ContainerMixin],\n  template: `\n    <ul class=\"list\">\n      <slot />\n    </ul>\n  `\n};\n\nconst SortableItem = {\n  mixins: [ElementMixin],\n  props: ['item'],\n  template: `\n    <li class=\"list-item\">{{item}}</li>\n  `\n};\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SortableList lockAxis=\"y\" v-model=\"items\">\n        <SortableItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\" :item=\"item\"/>\n      </SortableList>\n    </div>\n  `,\n  components: {\n    SortableItem,\n    SortableList\n  },\n  data() {\n    return {\n      items: ['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5', 'Item 6', 'Item 7', 'Item 8']\n    };\n  }\n};\n\nconst app = new Vue({\n  el: '#root',\n  render: h => h(ExampleVue)\n});\n```\n\nThat's it! Vue Slicksort does not come with any styles by default, since it's meant to enhance your existing components.\n\n## Slicksort components\n\nThere are two pre-built components that implement the two mixins. Use them like this:\n\n```javascript\nimport { SlickList, SlickItem } from 'vue-slicksort';\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SlickList lockAxis=\"y\" v-model=\"items\">\n        <SlickItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\">\n          {{ item }}\n        </SlickItem>\n      </SlickList>\n    </div>\n  `,\n  components: {\n    SlickItem,\n    SlickList\n  },\n  data() {\n    return {\n      items: ['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5', 'Item 6', 'Item 7', 'Item 8']\n    };\n  }\n};\n```\n\n<!-- More code examples are available [here](https://github.com/Jexordexan/vue-slicksort/blob/master/examples/). -->\n\n## Why should I use this?\n\nThere are already a number of great Drag & Drop libraries out there (for instance, [vuedraggable](https://github.com/SortableJS/Vue.Draggable) is fantastic). If those libraries fit your needs, you should definitely give them a try first. However, most of those libraries rely on the HTML5 Drag & Drop API, which has some severe limitations. For instance, things rapidly become tricky if you need to support touch devices, if you need to lock dragging to an axis, or want to animate the nodes as they're being sorted. Vue Slicksort aims to provide a simple set of component mixins to fill those gaps. If you're looking for a dead-simple, mobile-friendly way to add sortable functionality to your lists, then you're in the right place.\n\n## Customization and props\n\nYou apply options as individual `props` on whatever component is using the `ContainerMixin`. The component also emits several events during a sorting operation. Here's an example of a customized component:\n\n```html\n<SortableContainer :value=\"items\"\n                   :transitionDuration=\"250\"\n                   :lockAxis=\"'y'\"\n                   :useDragHandle=\"true\"\n                   @sort-start=\"onSortStart($event)\" >\n  <!-- SortableElement stuff goes here -->\n</SortableContainer>\n```\n\n## `ContainerMixin`\n\n### Props\n\n#### `value` _(required)_\ntype: *Array*\n\nThe `value` can be inherited from `v-model` but has to be set to the same list that is rendered with `v-for` inside the `Container`\n\n#### `axis`\ntype: *String*\n\ndefault: `y`\n\nItems can be sorted horizontally, vertically or in a grid. Possible values: `x`, `y` or `xy`\n\n#### `lockAxis`\ntype: *String*\n\nIf you'd like, you can lock movement to an axis while sorting. This is not something that is possible with HTML5 Drag & Drop\n\n#### `helperClass`\ntype: *String*\n\nYou can provide a class you'd like to add to the sortable helper to add some styles to it\n\n#### `appendTo`\ntype: *String*\n\ndefault: `body`\n\nYou can provide a querySelector string you'd like to add to the sorting element to add parent dom\n\n#### `transitionDuration`\ntype: *Number*\n\ndefault: `300`\n\nThe duration of the transition when elements shift positions. Set this to `0` if you'd like to disable transitions\n\n#### `draggedSettlingDuration`\ntype: *Number*\n\ndefault: `null`\n\nOverride the settling duration for the drag helper. If not set, `transitionDuration` will be used.\n\n#### `pressDelay`\ntype: *Number*\n\ndefault: `0`\n\nIf you'd like elements to only become sortable after being pressed for a certain time, change this property. A good sensible default value for mobile is `200`. Cannot be used in conjunction with the `distance` prop.\n\n#### `pressThreshold`\ntype: *Number*\n\ndefault: `5`\n\nNumber of pixels of movement to tolerate before ignoring a press event.\n\n#### `distance`\ntype: *Number*\n\ndefault: `0`\n\nIf you'd like elements to only become sortable after being dragged a certain number of pixels. Cannot be used in conjunction with the `pressDelay` prop.\n\n#### `useDragHandle`\ntype: *Boolean*\n\ndefault: `false`\n\nIf you're using the `HandleDirective`, set this to `true`\n\n#### `useWindowAsScrollContainer`\ntype: *Boolean*\n\ndefault: `false`\n\nIf you want, you can set the `window` as the scrolling container\n\n#### `hideSortableGhost`\ntype: *Boolean*\n\ndefault: `true`\n\nWhether to auto-hide the ghost element. By default, as a convenience, Vue Slicksort List will automatically hide the element that is currently being sorted. Set this to false if you would like to apply your own styling.\n\n#### `lockToContainerEdges`\ntype: *Boolean*\n\ndefault: `false`\n\nYou can lock movement of the sortable element to it's parent `Container`\n\n#### `lockOffset`\ntype: *`OffsetValue` or [ `OffsetValue`, `OffsetValue` ]*\\*\n\ndefault: `\"50%\"`\n\nWhen `lockToContainerEdges` is set to `true`, this controls the offset distance between the sortable helper and the top/bottom edges of it's parent `Container`. Percentage values are relative to the height of the item currently being sorted. If you wish to specify different behaviours for locking to the _top_ of the container vs the _bottom_, you may also pass in an `array` (For example: `[\"0%\", \"100%\"]`).\n\n\\* `OffsetValue` can either be a finite `Number` or a `String` made up of a number and a unit (`px` or `%`).\nExamples: `10` (which is the same as `\"10px\"`), `\"50%\"`\n\n#### `shouldCancelStart`\ntype: *Function*\n\ndefault: [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L41)\n\nThis function is invoked before sorting begins, and can be used to programatically cancel sorting before it begins. By default, it will cancel sorting if the event target is either an `input`, `textarea`, `select` or `option`.\n\n#### `getHelperDimensions`\ntype: *Function*\n\ndefault: [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49)\n\nOptional `function({node, index, collection})` that should return the computed dimensions of the SortableHelper. See [default implementation](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49) for more details\n\n### Events\n\nEvents are emitted from the Container element, and can be bound to using `v-bind` or `@` directives\n\n\n#### `@sort-start`\n\nemits: `{ event: MouseEvent, node: HTMLElement, index: number, collection: string }`\n\nFired when sorting begins.\n\n#### `@sort-move`\n\nemits: `{ event }`\n\nFired when the mouse is moved during sorting.\n\n#### `@sort-end`\n\nemits: `{ event, newIndex, oldIndex, collection }`\n\nFired when sorting has ended.\n\n#### `@input`\n\nemits: `Array`\n\nFired after sorting has ended with the newly sorted list.\n\n---\n\n## `ElementMixin`\n\n### Props\n\n#### `index` _(required)_\ntype: *Number*\n\nThis is the element's sortableIndex within it's collection. This prop is required.\n\n#### `collection`\ntype: *Number or String*\n\ndefault: `0`\n\nThe collection the element is part of. This is useful if you have multiple groups of sortable elements within the same `Container`. [Example](http://Jexordexan.github.io/vue-slicksort/#/basic-configuration/multiple-lists)\n\n#### `disabled`\ntype: *Boolean*\n\ndefault: `false`\n\nWhether the element should be sortable or not\n\n## `HandleDirective`\n\nThe `v-handle` directive is used inside the draggable element.\n\nThe Container must have the `:useDragHandle` prop set to `true` for the handle to work as explected.\n\nHere is an example for a simple element with a handle:\n\n```html\n<template>\n  <li class=\"list-item\">\n    <span v-handle class=\"handle\"></span>\n    {{item.value}}\n  </li>\n</template>\n\n<script>\nimport { ElementMixin, HandleDirective } from 'vue-slicksort';\n\nexport default {\n  mixins: [ElementMixin],\n  directives: { handle: HandleDirective },\n}\n</script>\n```\n\n# FAQ\n\n<!-- ### Running Examples\n\nIn root folder:\n\n```\n\t$ npm install\n\t$ npm run storybook\n``` -->\n\n### Upgrade from v0.x.x\n\nThe event names have all changed from camelCase to dash-case to accommodate for inline HTML templates.\n\n### Grid support?\n\nNeed to sort items in a grid? We've got you covered! Just set the `axis` prop to `xy`. Grid support is currently limited to a setup where all the cells in the grid have the same width and height, though we're working hard to get variable width support in the near future.\n\n### Item disappearing when sorting / CSS issues\n\nUpon sorting, `vue-slicksort` creates a clone of the element you are sorting (the _sortable-helper_) and appends it to the end of the `appendTo` tag. The original element will still be in-place to preserve its position in the DOM until the end of the drag (with inline-styling to make it invisible). If the _sortable-helper_ gets messed up from a CSS standpoint, consider that maybe your selectors to the draggable item are dependent on a parent element which isn't present anymore (again, since the _sortable-helper_ is at the end of the `appendTo` prop). This can also be a `z-index` issue, for example, when using `vue-slicksort` within a Bootstrap modal, you'll need to increase the `z-index` of the SortableHelper so it is displayed on top of the modal.\n\n### Click events being swallowed\n\nBy default, `vue-slicksort` is triggered immediately on `mousedown`. If you'd like to prevent this behaviour, there are a number of strategies readily available. You can use the `distance` prop to set a minimum distance (in pixels) to be dragged before sorting is enabled. You can also use the `pressDelay` prop to add a delay before sorting is enabled. Alternatively, you can also use the [HandleDirective](https://github.com/Jexordexan/vue-slicksort/blob/master/src/HandleDirective.js).\n\n### Scoped styles\n\nIf you are using scoped styles on the sortable list, you can use `appendTo` prop.\n\n## Dependencies\n\nSlicksort has no dependencies.\n`vue` is the only peerDependency\n\n## Reporting Issues\n\nIf believe you've found an issue, please [report it](https://github.com/Jexordexan/vue-slicksort/issues) along with any relevant details to reproduce it. The easiest way to do so is to fork this [jsfiddle](https://jsfiddle.net/Jexordexan/1puv2L6c/).\n\n## Asking for help\n\nPlease file an issue for personal support requests. Tag them with `question`.\n\n## Contributions\n\nYes please! Feature requests / pull requests are welcome.\n\n## Thanks\n\nThis library is heavily based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by Claudéric Demers (@clauderic). A very simple and low overhead implementation of drag and drop that looks and performs great!\n","readmeFilename":"README.md","gitHead":"a3a2f9837b4a57db928ce3c136dc21ef71975391","_id":"vue-slicksort@2.0.0-alpha.0","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-DF6p2oUq9FOVN185Tz275xvFbXhE6EavbKFLEGU9qFKE6Vn+q80IdYbXgcOQDqJ79kq1eivzyYkGKtU+jQQtrg==","shasum":"9655535a8f020981bcfbe4ad7b3290879c79914d","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-2.0.0-alpha.0.tgz","fileCount":10,"unpackedSize":184837,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxZ0QCRA9TVsSAnZWagAAjnkP/jEGGfgZTPz0NULujSzV\n7yvd2IAaz2xbJxlOwqXLLEfwOcGi/pGR58awSaLrhR8UMCxtdZpUPz35tx1f\n4aaAEU66y/cf+vW2thgZd/gqH7e/xl54q6afencAvo+Lh+Io+Ih6SVuxDV5k\nF0OnlqoiuNZ+g6AKOQ/bD9LNzCyhKzX3COBFIPyum3Vp16zUIKI8hhoLQ73U\nXZ5AQraL1NC+3bGz0nwMLTqrdZbgMTbKLBlkyKLAQNkvW7JEGakKW5WQgPUA\ng++qUtFV/7HApQlJqh555vru9i+MQSGQinqJ6KQ8w9RX5eR8ecqMHJCjOTwk\nvhIiwqpXig+ZJXKxvteafEK2D2msN5U5vXa03ZRaMwSVln/U+zav3lnfJ++M\nEZaA8KJPfQclcGFgRFK/pGLa2Om50SL4aRTl6V8dte/gbcUWZIrs30L2tCRR\nmDjx+MRHPsS1xpt3/E7vSxyzl1AuEbrBc0k+yxTXL5NYqO0V3MHpeI6Jyc1V\nJBqoJJblXcWzFKTRY4tWjq2I+pYyroC6Jaq5WjsALcophUFDRmbu78Jg9w6O\njQZPLJSYdzxjcVaCKypERC538D4vJPv72tPe+7hp72qrxd9dnfMlKsvcO8kK\ny+Y+mwxK8pm8isj3Pixf7SK64PhIEa2Ys+zzUBMaBhqMqo84Ak4Dfg9J1Orn\nrQp2\r\n=etum\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBv+hhsRu8XHVpFYy+8iZ5LGDuCqAX3K0t1TBBEN01HwIgDVMXuVGLcsFSGxBKczKo99ZI1j78Ed3wWgDY+Xr/pnU="}]},"_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"directories":{},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_2.0.0-alpha.0_1606786320036_0.8894600129328425"},"_hasShrinkwrap":false},"2.0.0-alpha.1":{"name":"vue-slicksort","version":"2.0.0-alpha.1","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack serve","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -s ./logo -p 8001 -c .storybook","build-storybook":"build-storybook -s ./logo -c .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":">=2.2.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/addon-options":"^3.4.4","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.28.9","cssnano":"^3.10.0","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","html-webpack-plugin":"^4.5.0","lodash":"^4.17.4","postcss-loader":"^2.1.0","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass-loader":"^6.0.6","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^3.0.3","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^5.9.0","webpack-cli":"^4.2.0","webpack-dev-server":"^3.11.0"},"xo":{"esnext":true,"extends":"xo-react"},"browserslist":["> 1%","last 4 versions"],"gitHead":"fcb51543cfafe5ad35d8cc15ac5fc74754f477f6","_id":"vue-slicksort@2.0.0-alpha.1","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-kgGftWRDErLrRGHY78eN50QJd7dX+7cxHIZDk0wCW/I2IkLYa7xy/j6yzN+wizqVgBg3IOKh3YbvVE5kXFy4gw==","shasum":"3e051a35de2f18b0d3f117e47513f08249c033c6","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-2.0.0-alpha.1.tgz","fileCount":10,"unpackedSize":184894,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCjR8CRA9TVsSAnZWagAAkOAQAILJROhE+gnRgpH6zoHj\n69qt+MKobxuSu2r4nOsCJTDPKgtuLvsrLuTUZLavyMfQerRa6ExmGyn+WprY\nw+UFuRR9YLqZGKB+WGhhYA7vUZ4fmW4iuFtV4GbjmUbjM/pRkBtndctIoWKv\ne+7eh/NRql0+VYW8XIWe3qCWt06NoZd9XkAc+LSqU452OUs7OjlwpWDnRcsz\nYoeB33WYNY54D7nyu7TK/S+AtjtLmrN7MbnK1DMGqydMAPLy3kuYXmIsZoPj\nxmnTqoI0Dl48DfK4MG9Lgfja9Dl/XxDkp+tgMpADkTR6y31XrrTTHMrAZq78\nMUaf0GeXiJ36FnDCnXTlC+QPfxh3ciRJnu+nm08E9f3w+qB8/1pOlZESwlS0\ntfvFa0TYUy8QUcAR+Fcagy12r1/jBTR4e/x7c6s83ZkK9bx5NhsK5HRWPWS5\nZYNdsGxG1Gh0rFbCKzrhEb1mEmqaU7WhTHQHn3eYSXQz5rN3STFlga9ofCyi\nvDhNFpQaVv5e/2Y1Vt8vxdfsyOY9SAL9YkebmOzzoaxQYtYEbbzGmV0EHFIw\nx3fSOJ6bNanW+yoE7stqx8pUFUEABX8rIPxdlu57FXZHSasGspohFjQU5JEk\nEHUt7cZ2nmc6SoNs6OIE20jD6kQzuxPRl9Wuy+s4O9ySa0RBBrOfXw+Htaxq\ncjEE\r\n=gljp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHChPFpmR6AX+hpb3PzaPWEjx8aQKcTF8uqk7mcqHzP0AiBn2A7h39KKknStk1R+MjMZvCWubvG4ITE+w6/I2ls6kA=="}]},"_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"directories":{},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_2.0.0-alpha.1_1611281531777_0.25948991781612496"},"_hasShrinkwrap":false},"1.2.0":{"name":"vue-slicksort","version":"1.2.0","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"webpack-dev-server --config webpack.config.js","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","storybook":"start-storybook -s ./logo -p 8001 -c .storybook","build-storybook":"build-storybook -s ./logo -c .storybook -o .out","deploy:storybook":"storybook-to-ghpages","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run deploy:storybook"},"peerDependencies":{"vue":">=2.2.0"},"devDependencies":{"@storybook/addon-actions":"^3.3.9","@storybook/addon-options":"^3.4.4","@storybook/storybook-deployer":"^2.2.0","@storybook/vue":"^3.3.9","autoprefixer":"^6.3.6","babel-cli":"^6.9.0","babel-core":"^6.3.15","babel-loader":"^6.2.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-env":"^1.6.1","babel-runtime":"^6.26.0","cross-env":"^1.0.7","css-loader":"^0.28.9","cssnano":"^3.10.0","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","express":"^4.13.3","extract-text-webpack-plugin":"^3.0.2","html-webpack-plugin":"^2.16.1","lodash":"^4.17.4","node-sass":"^5.0.0","postcss-loader":"^2.1.0","qs":"^6.2.0","raw-loader":"^0.5.1","rimraf":"^2.5.2","rollup":"^0.54.0","rollup-plugin-babel":"^3.0.3","rollup-plugin-uglify":"^2.0.1","sass":"^1.32.6","sass-loader":"^6.0.6","stack-source-map":"^1.0.4","style-loader":"^0.13.1","vue":"^2.5.13","vue-loader":"^13.7.0","vue-template-compiler":"^2.5.13","webpack":"^3.10.0","webpack-dashboard":"^0.2.1","webpack-dev-server":"^2.11.0","webpack-hot-middleware":"^2.9.1"},"xo":{"esnext":true,"extends":"xo-react"},"browserslist":["> 1%","last 4 versions"],"gitHead":"21aa00b5a1d50c679609a86d43d12696082f6bfd","_id":"vue-slicksort@1.2.0","_nodeVersion":"10.23.2","_npmVersion":"6.14.10","dist":{"integrity":"sha512-k1324l+AnYy6MrpySN7PYL165z2EkvZmMe+BS7H/EugzS8IrZYRtoqa3QxSSWB34C7cplV1hj3c+7peKpxpYxg==","shasum":"2bc1da2facc4350279ebc3866acea6ee5fe681ef","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-1.2.0.tgz","fileCount":10,"unpackedSize":186375,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJv0ECRA9TVsSAnZWagAAvFMQAItS3dpQFu/b0/jwOrAD\nqLDBHa8kvHWKOqFtsGjdeK5wu1Pf4+PUAI+adDOsLH+117rAu69XNJXL8dZa\nqz0c6iokBSSEcrKsqitj5xebc7jdvGkeSNrmTx6B5fkXDw63hcfNRHeFKl8S\ndowK3Ziw9lrQ8f+yuYUe8cKiz8SlfjBcCigh+6Pa4LRCUZb9ePrZWBiyTdfJ\nM3wrnxQ+JjMoQ6NlS62dRbJPZL9pciqA+CaqNNEeFlmbj+BzEcpkyTR5qr2H\nbNpBPj6qhX0nQlDxw0alw0/IB/aRQgROIShPSUVQHRXQ80zpAW66wdDeVjWj\n7OsrMFYzMqdgUM0bTmTKG6m7/TKuhOT0Ii+vKDpNg8GjcDWeKlN5pkWNsBAX\n0/Hx2XumJLjCIGPZXLJEuKoUauJLK3rlvZ2WB4+60K5Ex57HvvEybxPA+gOW\ne6hv7aLPE6wKzqjUUpCELmRlw/6+PYIz511SAbcBzDiJdzS2sA32OCJYrd3r\n8J0i0186jD3oiVMOHoI+gqREZwSOI++2JRCPikaOxGjzMW5dqLoms/54Jmkn\n30fSz/QTvzJmfuzjYGR4JHPb+XjQ9FH8lWfH4ohEiuqmJ2Q3WPgW51VGHvW/\nDfLEwDBtbSTGyWyhwd7iNLreOS9W06VDtKu36FjaXTN64mONXMUvlFbuXkYb\nm37h\r\n=mwxp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG0Ca4o9ASZu6XGhuP1y3+I7xhZncZt5TXBCTMdArWjRAiEAvXZwHcCO12dfULeBHFCOygtcAk1PxqSaskmTMcxZX/k="}]},"_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"directories":{},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_1.2.0_1613167876213_0.3210851183705119"},"_hasShrinkwrap":false},"2.0.0-alpha.2":{"name":"vue-slicksort","version":"2.0.0-alpha.2","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"vite example","changelog":"standard-changelog","version":"npm run changelog && git add CHANGELOG.md","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .js","deploy:alpha":"npm test && npm version prerelease --preid=alpha && npm run deploy:final","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run docs:build","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:serve":"vitepress serve docs"},"peerDependencies":{"vue":">=3.0.0"},"devDependencies":{"@babel/core":"^7.12.16","@babel/plugin-external-helpers":"^7.12.13","@babel/preset-env":"^7.12.16","@vitejs/plugin-vue":"^1.1.4","@vue/compiler-sfc":"^3.0.5","autoprefixer":"^6.3.6","cross-env":"^1.0.7","cssnano":"^3.10.0","esbuild":"^0.8.44","eslint":"^4.15.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^4.2.0","lodash-es":"^4.17.20","postcss":"^8.2.6","postcss-loader":"^5.0.0","rimraf":"^2.5.2","rollup":"^2.38.5","rollup-plugin-babel":"^4.4.0","rollup-plugin-esbuild":"^2.6.1","sass":"^1.32.6","standard-changelog":"^2.0.27","vite":"^2.0.0-beta.69","vitepress":"^0.12.0","vue":"^3.0.5","vuepress":"^2.0.0-alpha.23","webpack":"^5.21.2"},"browserslist":["> 1%","last 4 versions"],"dependencies":{},"readme":"# Vue Slicksort 🖖\n\n![Slicksort logo](/logo/logomark.png)\n\n> A set of component mixins to turn any list into an animated, touch-friendly, sortable list.\n> Based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by [@clauderic]\n\n[![npm version](https://img.shields.io/npm/v/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![npm downloads](https://img.shields.io/npm/dm/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/Jexordexan/vue-slicksort/blob/master/LICENSE)\n![gzip size](http://img.badgesize.io/https://npmcdn.com/vue-slicksort?compression=gzip)\n\n<p align=\"center\">\n  <a href=\"https://jexordexan.github.io/vue-slicksort/\">\n    <img src=\"logo/demo.gif\">\n  </a>\n</p>\n\n### Examples available here: <a href=\"https://jexordexan.github.io/vue-slicksort/\">https://jexordexan.github.io/vue-slicksort/</a>\n\n### [中文文档](./doc/zh.md)\n\n## Features\n\n- **`v-model` Compatible** – Make any array editable with the `v-model` standard\n- **Mixin Components** – Integrates with your existing components\n- **Standalone Components** – Easy to use components for slick lists\n- **Drag handle, auto-scrolling, locked axis, events, and more!**\n- **Suuuper smooth animations** – Chasing the 60FPS dream 🌈\n- **Horizontal lists, vertical lists, or a grid** ↔ ↕ ⤡\n- **Touch support** 👌\n- **Oh yeah, and it's DEPENDENCY FREE!** 👌\n\n## Installation\n\nUsing [npm](https://www.npmjs.com/package/vue-slicksort):\n\n```\n  $ npm install vue-slicksort --save\n```\n\nUsing yarn:\n\n```\n  $ yarn add vue-slicksort\n```\n\nUsing a CDN:\n\n```html\n<script src=\"https://unpkg.com/vue-slicksort@latest/dist/vue-slicksort.min.js\"></script>\n```\n\nThen, using a module bundler that supports either CommonJS or ES2015 modules, such as [webpack](https://github.com/webpack/webpack):\n\n```js\n// Using an ES6 transpiler like Babel\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\n// Not using an ES6 transpiler\nvar slicksort = require('vue-slicksort');\nvar ContainerMixin = slicksort.ContainerMixin;\nvar ElementMixin = slicksort.ElementMixin;\n```\n\nIf you are loading the package via `<script>` tag:\n\n```html\n<script>\n  var { ContainerMixin, ElementMixin, HandleDirective } = window.VueSlicksort;\n</script>\n```\n\n## Usage\n\n### Basic Example\n\n```js\nimport Vue from 'vue';\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\nconst SortableList = {\n  mixins: [ContainerMixin],\n  template: `\n    <ul class=\"list\">\n      <slot />\n    </ul>\n  `,\n};\n\nconst SortableItem = {\n  mixins: [ElementMixin],\n  props: ['item'],\n  template: `\n    <li class=\"list-item\">{{item}}</li>\n  `,\n};\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SortableList lockAxis=\"y\" v-model=\"items\">\n        <SortableItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\" :item=\"item\"/>\n      </SortableList>\n    </div>\n  `,\n  components: {\n    SortableItem,\n    SortableList,\n  },\n  data() {\n    return {\n      items: ['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5', 'Item 6', 'Item 7', 'Item 8'],\n    };\n  },\n};\n\nconst app = new Vue({\n  el: '#root',\n  render: (h) => h(ExampleVue),\n});\n```\n\nThat's it! Vue Slicksort does not come with any styles by default, since it's meant to enhance your existing components.\n\n## Slicksort components\n\nThere are two pre-built components that implement the two mixins. Use them like this:\n\n```javascript\nimport { SlickList, SlickItem } from 'vue-slicksort';\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SlickList lockAxis=\"y\" v-model=\"items\" tag=\"ul\">\n        <SlickItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\" tag=\"li\">\n          {{ item }}\n        </SlickItem>\n      </SlickList>\n    </div>\n  `,\n  components: {\n    SlickItem,\n    SlickList,\n  },\n  data() {\n    return {\n      items: ['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5', 'Item 6', 'Item 7', 'Item 8'],\n    };\n  },\n};\n```\n\n<!-- More code examples are available [here](https://github.com/Jexordexan/vue-slicksort/blob/master/examples/). -->\n\n## Why should I use this?\n\nThere are already a number of great Drag & Drop libraries out there (for instance, [vuedraggable](https://github.com/SortableJS/Vue.Draggable) is fantastic). If those libraries fit your needs, you should definitely give them a try first. However, most of those libraries rely on the HTML5 Drag & Drop API, which has some severe limitations. For instance, things rapidly become tricky if you need to support touch devices, if you need to lock dragging to an axis, or want to animate the nodes as they're being sorted. Vue Slicksort aims to provide a simple set of component mixins to fill those gaps. If you're looking for a dead-simple, mobile-friendly way to add sortable functionality to your lists, then you're in the right place.\n\n## Customization and props\n\nYou apply options as individual `props` on whatever component is using the `ContainerMixin`. The component also emits several events during a sorting operation. Here's an example of a customized component:\n\n```html\n<SortableContainer\n  :value=\"items\"\n  :transitionDuration=\"250\"\n  :lockAxis=\"'y'\"\n  :useDragHandle=\"true\"\n  @sort-start=\"onSortStart($event)\"\n>\n  <!-- SortableElement stuff goes here -->\n</SortableContainer>\n```\n\n## `ContainerMixin`\n\n### Props\n\n#### `value` _(required)_\n\ntype: _Array_\n\nThe `value` can be inherited from `v-model` but has to be set to the same list that is rendered with `v-for` inside the `Container`\n\n#### `axis`\n\ntype: _String_\n\ndefault: `y`\n\nItems can be sorted horizontally, vertically or in a grid. Possible values: `x`, `y` or `xy`\n\n#### `lockAxis`\n\ntype: _String_\n\nIf you'd like, you can lock movement to an axis while sorting. This is not something that is possible with HTML5 Drag & Drop\n\n#### `helperClass`\n\ntype: _String_\n\nYou can provide a class you'd like to add to the sortable helper to add some styles to it\n\n#### `appendTo`\n\ntype: _String_\n\ndefault: `body`\n\nYou can provide a querySelector string you'd like to add to the sorting element to add parent dom\n\n#### `transitionDuration`\n\ntype: _Number_\n\ndefault: `300`\n\nThe duration of the transition when elements shift positions. Set this to `0` if you'd like to disable transitions\n\n#### `draggedSettlingDuration`\n\ntype: _Number_\n\ndefault: `null`\n\nOverride the settling duration for the drag helper. If not set, `transitionDuration` will be used.\n\n#### `pressDelay`\n\ntype: _Number_\n\ndefault: `0`\n\nIf you'd like elements to only become sortable after being pressed for a certain time, change this property. A good sensible default value for mobile is `200`. Cannot be used in conjunction with the `distance` prop.\n\n#### `pressThreshold`\n\ntype: _Number_\n\ndefault: `5`\n\nNumber of pixels of movement to tolerate before ignoring a press event.\n\n#### `distance`\n\ntype: _Number_\n\ndefault: `0`\n\nIf you'd like elements to only become sortable after being dragged a certain number of pixels. Cannot be used in conjunction with the `pressDelay` prop.\n\n#### `useDragHandle`\n\ntype: _Boolean_\n\ndefault: `false`\n\nIf you're using the `HandleDirective`, set this to `true`\n\n#### `useWindowAsScrollContainer`\n\ntype: _Boolean_\n\ndefault: `false`\n\nIf you want, you can set the `window` as the scrolling container\n\n#### `hideSortableGhost`\n\ntype: _Boolean_\n\ndefault: `true`\n\nWhether to auto-hide the ghost element. By default, as a convenience, Vue Slicksort List will automatically hide the element that is currently being sorted. Set this to false if you would like to apply your own styling.\n\n#### `lockToContainerEdges`\n\ntype: _Boolean_\n\ndefault: `false`\n\nYou can lock movement of the sortable element to it's parent `Container`\n\n#### `lockOffset`\n\ntype: _`OffsetValue` or [ `OffsetValue`, `OffsetValue` ]_\\*\n\ndefault: `\"50%\"`\n\nWhen `lockToContainerEdges` is set to `true`, this controls the offset distance between the sortable helper and the top/bottom edges of it's parent `Container`. Percentage values are relative to the height of the item currently being sorted. If you wish to specify different behaviours for locking to the _top_ of the container vs the _bottom_, you may also pass in an `array` (For example: `[\"0%\", \"100%\"]`).\n\n\\* `OffsetValue` can either be a finite `Number` or a `String` made up of a number and a unit (`px` or `%`).\nExamples: `10` (which is the same as `\"10px\"`), `\"50%\"`\n\n#### `shouldCancelStart`\n\ntype: _Function_\n\ndefault: [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L41)\n\nThis function is invoked before sorting begins, and can be used to programatically cancel sorting before it begins. By default, it will cancel sorting if the event target is either an `input`, `textarea`, `select` or `option`.\n\n#### `getHelperDimensions`\n\ntype: _Function_\n\ndefault: [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49)\n\nOptional `function({node, index})` that should return the computed dimensions of the SortableHelper. See [default implementation](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49) for more details\n\n### Events\n\nEvents are emitted from the Container element, and can be bound to using `v-bind` or `@` directives\n\n#### `@sort-start`\n\nemits: `{ event: MouseEvent, node: HTMLElement, index: number }`\n\nFired when sorting begins.\n\n#### `@sort-move`\n\nemits: `{ event }`\n\nFired when the mouse is moved during sorting.\n\n#### `@sort-end`\n\nemits: `{ event, newIndex, oldIndex }`\n\nFired when sorting has ended.\n\n#### `@input`\n\nemits: `Array`\n\nFired after sorting has ended with the newly sorted list.\n\n---\n\n## `ElementMixin`\n\n### Props\n\n#### `index` _(required)_\n\ntype: _Number_\n\nThis is the element's sortableIndex within it's collection. This prop is required.\n\n#### `collection`\n\n**REMOVED IN v2.0.0**\nUse `group` and multiple scroll containers instead.\n\ntype: _Number or String_\n\ndefault: `0`\n\nThe collection the element is part of. This is useful if you have multiple groups of sortable elements within the same `Container`. [Example](http://Jexordexan.github.io/vue-slicksort/#/basic-configuration/multiple-lists)\n\n#### `disabled`\n\ntype: _Boolean_\n\ndefault: `false`\n\nWhether the element should be sortable or not\n\n## `HandleDirective`\n\nThe `v-handle` directive is used inside the draggable element.\n\nThe Container must have the `:useDragHandle` prop set to `true` for the handle to work as expected.\n\nHere is an example for a simple element with a handle:\n\n```html\n<template>\n  <li class=\"list-item\">\n    <span v-handle class=\"handle\"></span>\n    {{item.value}}\n  </li>\n</template>\n\n<script>\n  import { ElementMixin, HandleDirective } from 'vue-slicksort';\n\n  export default {\n    mixins: [ElementMixin],\n    directives: { handle: HandleDirective },\n  };\n</script>\n```\n\n# FAQ\n\n<!-- ### Running Examples\n\nIn root folder:\n\n```\n\t$ npm install\n\t$ npm run storybook\n``` -->\n\n### Upgrade from v0.x.x\n\nThe event names have all changed from camelCase to dash-case to accommodate for inline HTML templates.\n\n### Grid support?\n\nNeed to sort items in a grid? We've got you covered! Just set the `axis` prop to `xy`. Grid support is currently limited to a setup where all the cells in the grid have the same width and height, though we're working hard to get variable width support in the near future.\n\n### Item disappearing when sorting / CSS issues\n\nUpon sorting, `vue-slicksort` creates a clone of the element you are sorting (the _sortable-helper_) and appends it to the end of the `appendTo` tag. The original element will still be in-place to preserve its position in the DOM until the end of the drag (with inline-styling to make it invisible). If the _sortable-helper_ gets messed up from a CSS standpoint, consider that maybe your selectors to the draggable item are dependent on a parent element which isn't present anymore (again, since the _sortable-helper_ is at the end of the `appendTo` prop). This can also be a `z-index` issue, for example, when using `vue-slicksort` within a Bootstrap modal, you'll need to increase the `z-index` of the SortableHelper so it is displayed on top of the modal.\n\n### Click events being swallowed\n\nBy default, `vue-slicksort` is triggered immediately on `mousedown`. If you'd like to prevent this behaviour, there are a number of strategies readily available. You can use the `distance` prop to set a minimum distance (in pixels) to be dragged before sorting is enabled. You can also use the `pressDelay` prop to add a delay before sorting is enabled. Alternatively, you can also use the [HandleDirective](https://github.com/Jexordexan/vue-slicksort/blob/master/src/HandleDirective.js).\n\n### Scoped styles\n\nIf you are using scoped styles on the sortable list, you can use `appendTo` prop.\n\n## Dependencies\n\nSlicksort has no dependencies.\n`vue` is the only peerDependency\n\n## Reporting Issues\n\nIf believe you've found an issue, please [report it](https://github.com/Jexordexan/vue-slicksort/issues) along with any relevant details to reproduce it. The easiest way to do so is to fork this [jsfiddle](https://jsfiddle.net/Jexordexan/1puv2L6c/).\n\n## Asking for help\n\nPlease file an issue for personal support requests. Tag them with `question`.\n\n## Contributions\n\nYes please! Feature requests / pull requests are welcome.\n\n## Thanks\n\nThis library is heavily based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by Claudéric Demers (@clauderic). A very simple and low overhead implementation of drag and drop that looks and performs great!\n","readmeFilename":"README.md","gitHead":"725a088c3e68c0a88e96fc974db0f1c349abdec6","_id":"vue-slicksort@2.0.0-alpha.2","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-+g5jdt6mDIIPSHmlB8EHfYBaA61O0J7a2WCfnNGGpIxUxPTyv3ccn03PD2eQj7SO80vMJAvG/L24HRz9e983WA==","shasum":"93fc2e50dbf5ee580c8f9901bfd271a8c554e2cd","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-2.0.0-alpha.2.tgz","fileCount":10,"unpackedSize":238000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgK+qGCRA9TVsSAnZWagAA2WoP/RAeOFWjDseMLtMAEA2s\nwXXz90HhM25OIKt6hm6ugT1omkUdZVaczbeJP3Cgo9sahmDHR7YsLv1wHayx\nRzdo2VylPVYGnNxxXKz9jGKgs1gULX3uxVYyNxa7FB8oUbLDO0dceTMxEMM2\nkkQ8WVbMmsV508JeNktMBCNUzD/MYd7AbE6HLNuIS4E/37kudT1tBerNRvIP\nM6T7Fv8nXzC+hrIgJPJ9ol4EwkgIJuaosYW+ghrqOEY0LqWWRbRYWZDQJlnF\nsIVLZkZqbRIgxARivx30QEilfRZDTH0sdrNBxR2QDd1x1iXJGw4jKevOjcUh\nYGd6Ijh8+j2YJAm6sKzBCTVnfMhpn/ur/3GPnD60hiKLJ4loYTKNTpGfABfy\nj6C3ITlF/EOBr4I+XYQC/+B5OW6Ztr8v/wyWm05fyELqnUu8XM6HrI1cFyBh\nncmuhMsmONmQ4HI+KjdCsFJ2SjUSk09Wc3qRTAaxM49Prnc339D2loFIeW9o\nhitFDlZLCwUp1QdrNaqDh28hin2+kC5J92iOnPW/QQ7hDTkcKayJWUljowH2\n68uX1ECtqPJC1Mne6vByMlQI2S8OTlMpaXE/anqHDTYWFrg2TXoSchV48Evq\n1Lf8jHBLRNCPYDm7VR1WQegEmZ2i358etfvJnCs/Fl7798UQ+/yDVkWX0Bdg\nkKY+\r\n=k9gk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBQrLqAQLWY68E5/RZt/U8Aq8uzvmokLq4jypQ7BGvjbAiEAoP7ulkpfsl1hRzVbL/FdfGHq/lw9EtWPFzH2H5pZSZ4="}]},"_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"directories":{},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_2.0.0-alpha.2_1613490821521_0.1170315144010885"},"_hasShrinkwrap":false},"2.0.0-alpha.3":{"name":"vue-slicksort","version":"2.0.0-alpha.3","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://github.com/Jexordexan/vue-slicksort","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"vite example","changelog":"standard-changelog","version":"npm run changelog && git add CHANGELOG.md","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .ts","deploy:alpha":"npm test && npm version prerelease --preid=alpha && npm run deploy:final","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run docs:build","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:serve":"vitepress serve docs"},"peerDependencies":{"vue":">=3.0.0"},"devDependencies":{"@babel/core":"^7.12.16","@babel/plugin-external-helpers":"^7.12.13","@babel/preset-env":"^7.12.16","@rollup/plugin-typescript":"^8.2.0","@typescript-eslint/eslint-plugin":"^4.15.1","@typescript-eslint/parser":"^4.15.1","@vitejs/plugin-vue":"^1.1.4","@vue/compiler-sfc":"^3.0.5","autoprefixer":"^6.3.6","cross-env":"^1.0.7","cssnano":"^3.10.0","esbuild":"^0.8.44","eslint":"^7.20.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^7.6.0","lodash-es":"^4.17.20","postcss":"^8.2.6","postcss-loader":"^5.0.0","rimraf":"^2.5.2","rollup":"^2.38.5","rollup-plugin-babel":"^4.4.0","rollup-plugin-bundle-size":"^1.0.3","rollup-plugin-esbuild":"^2.6.1","sass":"^1.32.6","standard-changelog":"^2.0.27","typescript":"^4.1.5","vite":"^2.0.1","vitepress":"^0.12.0","vue":"^3.0.5","vuepress":"^2.0.0-alpha.23","webpack":"^5.21.2"},"browserslist":["> 1%","last 4 versions"],"dependencies":{},"readme":"# Vue Slicksort 🖖\n\n![Slicksort logo](/logo/logomark.png)\n\n> A set of component mixins to turn any list into an animated, touch-friendly, sortable list.\n> Based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by [@clauderic]\n\n[![npm version](https://img.shields.io/npm/v/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![npm downloads](https://img.shields.io/npm/dm/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/Jexordexan/vue-slicksort/blob/master/LICENSE)\n![gzip size](http://img.badgesize.io/https://npmcdn.com/vue-slicksort?compression=gzip)\n\n<p align=\"center\">\n  <a href=\"https://jexordexan.github.io/vue-slicksort/\">\n    <img src=\"logo/demo.gif\">\n  </a>\n</p>\n\n### Examples available here: <a href=\"https://jexordexan.github.io/vue-slicksort/\">https://jexordexan.github.io/vue-slicksort/</a>\n\n### [中文文档](./doc/zh.md)\n\n## Features\n\n- **`v-model` Compatible** – Make any array editable with the `v-model` standard\n- **Mixin Components** – Integrates with your existing components\n- **Standalone Components** – Easy to use components for slick lists\n- **Drag handle, auto-scrolling, locked axis, events, and more!**\n- **Suuuper smooth animations** – Chasing the 60FPS dream 🌈\n- **Horizontal lists, vertical lists, or a grid** ↔ ↕ ⤡\n- **Touch support** 👌\n- **Oh yeah, and it's DEPENDENCY FREE!** 👌\n\n## Installation\n\nUsing [npm](https://www.npmjs.com/package/vue-slicksort):\n\n```\n  $ npm install vue-slicksort --save\n```\n\nUsing yarn:\n\n```\n  $ yarn add vue-slicksort\n```\n\nUsing a CDN:\n\n```html\n<script src=\"https://unpkg.com/vue-slicksort@latest/dist/vue-slicksort.min.js\"></script>\n```\n\nThen, using a module bundler that supports either CommonJS or ES2015 modules, such as [webpack](https://github.com/webpack/webpack):\n\n```js\n// Using an ES6 transpiler like Babel\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\n// Not using an ES6 transpiler\nvar slicksort = require('vue-slicksort');\nvar ContainerMixin = slicksort.ContainerMixin;\nvar ElementMixin = slicksort.ElementMixin;\n```\n\nIf you are loading the package via `<script>` tag:\n\n```html\n<script>\n  var { ContainerMixin, ElementMixin, HandleDirective } = window.VueSlicksort;\n</script>\n```\n\n## Usage\n\n### Basic Example\n\n```js\nimport Vue from 'vue';\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\nconst SortableList = {\n  mixins: [ContainerMixin],\n  template: `\n    <ul class=\"list\">\n      <slot />\n    </ul>\n  `,\n};\n\nconst SortableItem = {\n  mixins: [ElementMixin],\n  props: ['item'],\n  template: `\n    <li class=\"list-item\">{{item}}</li>\n  `,\n};\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SortableList lockAxis=\"y\" v-model=\"items\">\n        <SortableItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\" :item=\"item\"/>\n      </SortableList>\n    </div>\n  `,\n  components: {\n    SortableItem,\n    SortableList,\n  },\n  data() {\n    return {\n      items: ['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5', 'Item 6', 'Item 7', 'Item 8'],\n    };\n  },\n};\n\nconst app = new Vue({\n  el: '#root',\n  render: (h) => h(ExampleVue),\n});\n```\n\nThat's it! Vue Slicksort does not come with any styles by default, since it's meant to enhance your existing components.\n\n## Slicksort components\n\nThere are two pre-built components that implement the two mixins. Use them like this:\n\n```javascript\nimport { SlickList, SlickItem } from 'vue-slicksort';\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SlickList lockAxis=\"y\" v-model=\"items\" tag=\"ul\">\n        <SlickItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\" tag=\"li\">\n          {{ item }}\n        </SlickItem>\n      </SlickList>\n    </div>\n  `,\n  components: {\n    SlickItem,\n    SlickList,\n  },\n  data() {\n    return {\n      items: ['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5', 'Item 6', 'Item 7', 'Item 8'],\n    };\n  },\n};\n```\n\n<!-- More code examples are available [here](https://github.com/Jexordexan/vue-slicksort/blob/master/examples/). -->\n\n## Why should I use this?\n\nThere are already a number of great Drag & Drop libraries out there (for instance, [vuedraggable](https://github.com/SortableJS/Vue.Draggable) is fantastic). If those libraries fit your needs, you should definitely give them a try first. However, most of those libraries rely on the HTML5 Drag & Drop API, which has some severe limitations. For instance, things rapidly become tricky if you need to support touch devices, if you need to lock dragging to an axis, or want to animate the nodes as they're being sorted. Vue Slicksort aims to provide a simple set of component mixins to fill those gaps. If you're looking for a dead-simple, mobile-friendly way to add sortable functionality to your lists, then you're in the right place.\n\n## Customization and props\n\nYou apply options as individual `props` on whatever component is using the `ContainerMixin`. The component also emits several events during a sorting operation. Here's an example of a customized component:\n\n```html\n<SortableContainer\n  :value=\"items\"\n  :transitionDuration=\"250\"\n  :lockAxis=\"'y'\"\n  :useDragHandle=\"true\"\n  @sort-start=\"onSortStart($event)\"\n>\n  <!-- SortableElement stuff goes here -->\n</SortableContainer>\n```\n\n## `ContainerMixin`\n\n### Props\n\n#### `value` _(required)_\n\ntype: _Array_\n\nThe `value` can be inherited from `v-model` but has to be set to the same list that is rendered with `v-for` inside the `Container`\n\n#### `axis`\n\ntype: _String_\n\ndefault: `y`\n\nItems can be sorted horizontally, vertically or in a grid. Possible values: `x`, `y` or `xy`\n\n#### `lockAxis`\n\ntype: _String_\n\nIf you'd like, you can lock movement to an axis while sorting. This is not something that is possible with HTML5 Drag & Drop\n\n#### `helperClass`\n\ntype: _String_\n\nYou can provide a class you'd like to add to the sortable helper to add some styles to it\n\n#### `appendTo`\n\ntype: _String_\n\ndefault: `body`\n\nYou can provide a querySelector string you'd like to add to the sorting element to add parent dom\n\n#### `transitionDuration`\n\ntype: _Number_\n\ndefault: `300`\n\nThe duration of the transition when elements shift positions. Set this to `0` if you'd like to disable transitions\n\n#### `draggedSettlingDuration`\n\ntype: _Number_\n\ndefault: `null`\n\nOverride the settling duration for the drag helper. If not set, `transitionDuration` will be used.\n\n#### `pressDelay`\n\ntype: _Number_\n\ndefault: `0`\n\nIf you'd like elements to only become sortable after being pressed for a certain time, change this property. A good sensible default value for mobile is `200`. Cannot be used in conjunction with the `distance` prop.\n\n#### `pressThreshold`\n\ntype: _Number_\n\ndefault: `5`\n\nNumber of pixels of movement to tolerate before ignoring a press event.\n\n#### `distance`\n\ntype: _Number_\n\ndefault: `0`\n\nIf you'd like elements to only become sortable after being dragged a certain number of pixels. Cannot be used in conjunction with the `pressDelay` prop.\n\n#### `useDragHandle`\n\ntype: _Boolean_\n\ndefault: `false`\n\nIf you're using the `HandleDirective`, set this to `true`\n\n#### `useWindowAsScrollContainer`\n\ntype: _Boolean_\n\ndefault: `false`\n\nIf you want, you can set the `window` as the scrolling container\n\n#### `hideSortableGhost`\n\ntype: _Boolean_\n\ndefault: `true`\n\nWhether to auto-hide the ghost element. By default, as a convenience, Vue Slicksort List will automatically hide the element that is currently being sorted. Set this to false if you would like to apply your own styling.\n\n#### `lockToContainerEdges`\n\ntype: _Boolean_\n\ndefault: `false`\n\nYou can lock movement of the sortable element to it's parent `Container`\n\n#### `lockOffset`\n\ntype: _`OffsetValue` or [ `OffsetValue`, `OffsetValue` ]_\\*\n\ndefault: `\"50%\"`\n\nWhen `lockToContainerEdges` is set to `true`, this controls the offset distance between the sortable helper and the top/bottom edges of it's parent `Container`. Percentage values are relative to the height of the item currently being sorted. If you wish to specify different behaviours for locking to the _top_ of the container vs the _bottom_, you may also pass in an `array` (For example: `[\"0%\", \"100%\"]`).\n\n\\* `OffsetValue` can either be a finite `Number` or a `String` made up of a number and a unit (`px` or `%`).\nExamples: `10` (which is the same as `\"10px\"`), `\"50%\"`\n\n#### `shouldCancelStart`\n\ntype: _Function_\n\ndefault: [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L41)\n\nThis function is invoked before sorting begins, and can be used to programatically cancel sorting before it begins. By default, it will cancel sorting if the event target is either an `input`, `textarea`, `select` or `option`.\n\n#### `getHelperDimensions`\n\ntype: _Function_\n\ndefault: [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49)\n\nOptional `function({node, index})` that should return the computed dimensions of the SortableHelper. See [default implementation](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49) for more details\n\n### Events\n\nEvents are emitted from the Container element, and can be bound to using `v-bind` or `@` directives\n\n#### `@sort-start`\n\nemits: `{ event: MouseEvent, node: HTMLElement, index: number }`\n\nFired when sorting begins.\n\n#### `@sort-move`\n\nemits: `{ event }`\n\nFired when the mouse is moved during sorting.\n\n#### `@sort-end`\n\nemits: `{ event, newIndex, oldIndex }`\n\nFired when sorting has ended.\n\n#### `@input`\n\nemits: `Array`\n\nFired after sorting has ended with the newly sorted list.\n\n---\n\n## `ElementMixin`\n\n### Props\n\n#### `index` _(required)_\n\ntype: _Number_\n\nThis is the element's sortableIndex within it's collection. This prop is required.\n\n#### `collection`\n\n**REMOVED IN v2.0.0**\nUse `group` and multiple scroll containers instead.\n\ntype: _Number or String_\n\ndefault: `0`\n\nThe collection the element is part of. This is useful if you have multiple groups of sortable elements within the same `Container`. [Example](http://Jexordexan.github.io/vue-slicksort/#/basic-configuration/multiple-lists)\n\n#### `disabled`\n\ntype: _Boolean_\n\ndefault: `false`\n\nWhether the element should be sortable or not\n\n## `HandleDirective`\n\nThe `v-handle` directive is used inside the draggable element.\n\nThe Container must have the `:useDragHandle` prop set to `true` for the handle to work as expected.\n\nHere is an example for a simple element with a handle:\n\n```html\n<template>\n  <li class=\"list-item\">\n    <span v-handle class=\"handle\"></span>\n    {{item.value}}\n  </li>\n</template>\n\n<script>\n  import { ElementMixin, HandleDirective } from 'vue-slicksort';\n\n  export default {\n    mixins: [ElementMixin],\n    directives: { handle: HandleDirective },\n  };\n</script>\n```\n\n# FAQ\n\n<!-- ### Running Examples\n\nIn root folder:\n\n```\n\t$ npm install\n\t$ npm run storybook\n``` -->\n\n### Upgrade from v0.x.x\n\nThe event names have all changed from camelCase to dash-case to accommodate for inline HTML templates.\n\n### Grid support?\n\nNeed to sort items in a grid? We've got you covered! Just set the `axis` prop to `xy`. Grid support is currently limited to a setup where all the cells in the grid have the same width and height, though we're working hard to get variable width support in the near future.\n\n### Item disappearing when sorting / CSS issues\n\nUpon sorting, `vue-slicksort` creates a clone of the element you are sorting (the _sortable-helper_) and appends it to the end of the `appendTo` tag. The original element will still be in-place to preserve its position in the DOM until the end of the drag (with inline-styling to make it invisible). If the _sortable-helper_ gets messed up from a CSS standpoint, consider that maybe your selectors to the draggable item are dependent on a parent element which isn't present anymore (again, since the _sortable-helper_ is at the end of the `appendTo` prop). This can also be a `z-index` issue, for example, when using `vue-slicksort` within a Bootstrap modal, you'll need to increase the `z-index` of the SortableHelper so it is displayed on top of the modal.\n\n### Click events being swallowed\n\nBy default, `vue-slicksort` is triggered immediately on `mousedown`. If you'd like to prevent this behaviour, there are a number of strategies readily available. You can use the `distance` prop to set a minimum distance (in pixels) to be dragged before sorting is enabled. You can also use the `pressDelay` prop to add a delay before sorting is enabled. Alternatively, you can also use the [HandleDirective](https://github.com/Jexordexan/vue-slicksort/blob/master/src/HandleDirective.js).\n\n### Scoped styles\n\nIf you are using scoped styles on the sortable list, you can use `appendTo` prop.\n\n## Dependencies\n\nSlicksort has no dependencies.\n`vue` is the only peerDependency\n\n## Reporting Issues\n\nIf believe you've found an issue, please [report it](https://github.com/Jexordexan/vue-slicksort/issues) along with any relevant details to reproduce it. The easiest way to do so is to fork this [jsfiddle](https://jsfiddle.net/Jexordexan/1puv2L6c/).\n\n## Asking for help\n\nPlease file an issue for personal support requests. Tag them with `question`.\n\n## Contributions\n\nYes please! Feature requests / pull requests are welcome.\n\n## Thanks\n\nThis library is heavily based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by Claudéric Demers (@clauderic). A very simple and low overhead implementation of drag and drop that looks and performs great!\n","readmeFilename":"README.md","gitHead":"42a14cc46a0a1250a9ce0dabb30df818ca2fbb16","_id":"vue-slicksort@2.0.0-alpha.3","_nodeVersion":"10.23.2","_npmVersion":"6.14.10","dist":{"integrity":"sha512-RSxpCwHz4KGRsu7aT4KzfSIaSeB4v5P319G5h9dYqSr+F+moDZdj4ZsKhRs/+uWYea7/aXQecQESY6LxtcLN3w==","shasum":"1deb6774e771fd553a6dd853d2feb669ff6a7e73","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-2.0.0-alpha.3.tgz","fileCount":10,"unpackedSize":264948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgL8haCRA9TVsSAnZWagAAMLcQAI5P2tL5P1duJrGka5H+\n+FJ6QjyDoKJIFs97ewq2BVPcl3XbbRFdgdCMbbohlrDE8HnniNLSsd3SNAhG\nCKI6kWoKMNUl9MWEDXY6TB64N8wJgDzTRRF8dfeLay8Uk3qt/CAlOMXz8r7I\n0YbgcpR0aAOdhCTxKRqCPaeMCnOObT3xcTKCPbBXIsn003zDDJybgxejkHjw\nPODasXnTgRqVSmWj1lLAFglldV9T4qzwgT5RL2UB24AYsPFj5TWnWiaiQRY1\nbj2Q8viwDSbBqxp6T+1AD800hnLJo2wgMQm+ieIJSnlyy1D5kFs9YwXxlc9r\nxKUIJpaTXO2+tjKWpOtNfrSYlfGdAOBLnVd0ZN9YV+45LDp9pC0yGin4507L\nQfemSlf7nSermMzlNdl1yeR2+SSZ7gz9ErSprnTE9norHCB3wZ2CHbiG3X2a\nc2TUrFfrZIER5klBlfdW+iLM2hQ29jrYDygmfuNEAc7DJutScABjLJdViQHO\n+97KWsZA/JJzZdxtLdxnBhqp/1ipYiWOkDo5Rv1x+0sIGRJcigv2uK+UX+xH\n/Be0wBzZgWDxUx+Zdmvlk/NZcudtGPpQRAJyZppYBlMeuCTDoq361u36E1aI\nY2uJ21TLbhsXF6VdHzEHDYr5c+aGs9QZsO4F+AXXeuB2tUW44pm4pR9HKP1R\nBtHA\r\n=9Y/0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAMnP6tHnpOQSn7WYgTIn5p2UowPaTgWhhCHhNMrJSxQIgU+GZ8LAWCCJkW8htz0G5ulHTeiz+VIFDg37xYpny41Y="}]},"_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"directories":{},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_2.0.0-alpha.3_1613744218229_0.7150789357892751"},"_hasShrinkwrap":false},"2.0.0-alpha.4":{"name":"vue-slicksort","version":"2.0.0-alpha.4","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://vue-slicksort.netlify.app","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"vite example","changelog":"standard-changelog","version":"npm run changelog && git add CHANGELOG.md","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .ts","deploy:alpha":"npm test && npm version prerelease --preid=alpha && npm run deploy:final","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish; npm run docs:build","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:serve":"vitepress serve docs"},"peerDependencies":{"vue":">=3.0.0"},"devDependencies":{"@babel/core":"^7.12.16","@babel/plugin-external-helpers":"^7.12.13","@babel/preset-env":"^7.12.16","@rollup/plugin-typescript":"^8.2.0","@typescript-eslint/eslint-plugin":"^4.15.1","@typescript-eslint/parser":"^4.15.1","@vitejs/plugin-vue":"^1.1.4","@vue/compiler-sfc":"^3.0.5","@vueuse/core":"^4.1.1","autoprefixer":"^6.3.6","cross-env":"^1.0.7","cssnano":"^3.10.0","esbuild":"^0.8.44","eslint":"^7.20.0","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^7.6.0","lodash-es":"^4.17.20","postcss":"^8.2.6","postcss-loader":"^5.0.0","rimraf":"^2.5.2","rollup":"^2.38.5","rollup-plugin-babel":"^4.4.0","rollup-plugin-bundle-size":"^1.0.3","rollup-plugin-esbuild":"^2.6.1","sass":"^1.32.6","standard-changelog":"^2.0.27","typescript":"^4.1.5","vite":"^2.0.1","vitepress":"^0.12.0","vue":"^3.0.5","vuepress":"^2.0.0-alpha.23","webpack":"^5.21.2"},"browserslist":["> 1%","last 4 versions"],"dependencies":{},"readme":"# Vue Slicksort 🖖\n\n![Slicksort logo](/logo/logomark.png)\n\n> A set of component mixins to turn any list into an animated, touch-friendly, sortable list.\n> Based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by [@clauderic]\n\n[![npm version](https://img.shields.io/npm/v/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![npm downloads](https://img.shields.io/npm/dm/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/Jexordexan/vue-slicksort/blob/master/LICENSE)\n![gzip size](http://img.badgesize.io/https://npmcdn.com/vue-slicksort?compression=gzip)\n\n<p align=\"center\">\n  <a href=\"https://jexordexan.github.io/vue-slicksort/\">\n    <img src=\"logo/demo.gif\">\n  </a>\n</p>\n\n### Examples available here: <a href=\"https://jexordexan.github.io/vue-slicksort/\">https://jexordexan.github.io/vue-slicksort/</a>\n\n### [中文文档](./doc/zh.md)\n\n## Features\n\n- **`v-model` Compatible** – Make any array editable with the `v-model` standard\n- **Mixin Components** – Integrates with your existing components\n- **Standalone Components** – Easy to use components for slick lists\n- **Drag handle, auto-scrolling, locked axis, events, and more!**\n- **Suuuper smooth animations** – Chasing the 60FPS dream 🌈\n- **Horizontal lists, vertical lists, or a grid** ↔ ↕ ⤡\n- **Touch support** 👌\n- **Oh yeah, and it's DEPENDENCY FREE!** 👌\n\n## Installation\n\nUsing [npm](https://www.npmjs.com/package/vue-slicksort):\n\n```\n  $ npm install vue-slicksort --save\n```\n\nUsing yarn:\n\n```\n  $ yarn add vue-slicksort\n```\n\nUsing a CDN:\n\n```html\n<script src=\"https://unpkg.com/vue-slicksort@latest/dist/vue-slicksort.min.js\"></script>\n```\n\nThen, using a module bundler that supports either CommonJS or ES2015 modules, such as [webpack](https://github.com/webpack/webpack):\n\n```js\n// Using an ES6 transpiler like Babel\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\n// Not using an ES6 transpiler\nvar slicksort = require('vue-slicksort');\nvar ContainerMixin = slicksort.ContainerMixin;\nvar ElementMixin = slicksort.ElementMixin;\n```\n\nIf you are loading the package via `<script>` tag:\n\n```html\n<script>\n  var { ContainerMixin, ElementMixin, HandleDirective } = window.VueSlicksort;\n</script>\n```\n\n## Usage\n\n### Basic Example\n\n```js\nimport Vue from 'vue';\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\nconst SortableList = {\n  mixins: [ContainerMixin],\n  template: `\n    <ul class=\"list\">\n      <slot />\n    </ul>\n  `,\n};\n\nconst SortableItem = {\n  mixins: [ElementMixin],\n  props: ['item'],\n  template: `\n    <li class=\"list-item\">{{item}}</li>\n  `,\n};\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SortableList lockAxis=\"y\" v-model=\"items\">\n        <SortableItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\" :item=\"item\"/>\n      </SortableList>\n    </div>\n  `,\n  components: {\n    SortableItem,\n    SortableList,\n  },\n  data() {\n    return {\n      items: ['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5', 'Item 6', 'Item 7', 'Item 8'],\n    };\n  },\n};\n\nconst app = new Vue({\n  el: '#root',\n  render: (h) => h(ExampleVue),\n});\n```\n\nThat's it! Vue Slicksort does not come with any styles by default, since it's meant to enhance your existing components.\n\n## Slicksort components\n\nThere are two pre-built components that implement the two mixins. Use them like this:\n\n```javascript\nimport { SlickList, SlickItem } from 'vue-slicksort';\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SlickList lockAxis=\"y\" v-model=\"items\" tag=\"ul\">\n        <SlickItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\" tag=\"li\">\n          {{ item }}\n        </SlickItem>\n      </SlickList>\n    </div>\n  `,\n  components: {\n    SlickItem,\n    SlickList,\n  },\n  data() {\n    return {\n      items: ['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5', 'Item 6', 'Item 7', 'Item 8'],\n    };\n  },\n};\n```\n\n<!-- More code examples are available [here](https://github.com/Jexordexan/vue-slicksort/blob/master/examples/). -->\n\n## Why should I use this?\n\nThere are already a number of great Drag & Drop libraries out there (for instance, [vuedraggable](https://github.com/SortableJS/Vue.Draggable) is fantastic). If those libraries fit your needs, you should definitely give them a try first. However, most of those libraries rely on the HTML5 Drag & Drop API, which has some severe limitations. For instance, things rapidly become tricky if you need to support touch devices, if you need to lock dragging to an axis, or want to animate the nodes as they're being sorted. Vue Slicksort aims to provide a simple set of component mixins to fill those gaps. If you're looking for a dead-simple, mobile-friendly way to add sortable functionality to your lists, then you're in the right place.\n\n## Customization and props\n\nYou apply options as individual `props` on whatever component is using the `ContainerMixin`. The component also emits several events during a sorting operation. Here's an example of a customized component:\n\n```html\n<SortableContainer\n  :value=\"items\"\n  :transitionDuration=\"250\"\n  :lockAxis=\"'y'\"\n  :useDragHandle=\"true\"\n  @sort-start=\"onSortStart($event)\"\n>\n  <!-- SortableElement stuff goes here -->\n</SortableContainer>\n```\n\n## `ContainerMixin`\n\n### Props\n\n#### `value` _(required)_\n\ntype: _Array_\n\nThe `value` can be inherited from `v-model` but has to be set to the same list that is rendered with `v-for` inside the `Container`\n\n#### `axis`\n\ntype: _String_\n\ndefault: `y`\n\nItems can be sorted horizontally, vertically or in a grid. Possible values: `x`, `y` or `xy`\n\n#### `lockAxis`\n\ntype: _String_\n\nIf you'd like, you can lock movement to an axis while sorting. This is not something that is possible with HTML5 Drag & Drop\n\n#### `helperClass`\n\ntype: _String_\n\nYou can provide a class you'd like to add to the sortable helper to add some styles to it\n\n#### `appendTo`\n\ntype: _String_\n\ndefault: `body`\n\nYou can provide a querySelector string you'd like to add to the sorting element to add parent dom\n\n#### `transitionDuration`\n\ntype: _Number_\n\ndefault: `300`\n\nThe duration of the transition when elements shift positions. Set this to `0` if you'd like to disable transitions\n\n#### `draggedSettlingDuration`\n\ntype: _Number_\n\ndefault: `null`\n\nOverride the settling duration for the drag helper. If not set, `transitionDuration` will be used.\n\n#### `pressDelay`\n\ntype: _Number_\n\ndefault: `0`\n\nIf you'd like elements to only become sortable after being pressed for a certain time, change this property. A good sensible default value for mobile is `200`. Cannot be used in conjunction with the `distance` prop.\n\n#### `pressThreshold`\n\ntype: _Number_\n\ndefault: `5`\n\nNumber of pixels of movement to tolerate before ignoring a press event.\n\n#### `distance`\n\ntype: _Number_\n\ndefault: `0`\n\nIf you'd like elements to only become sortable after being dragged a certain number of pixels. Cannot be used in conjunction with the `pressDelay` prop.\n\n#### `useDragHandle`\n\ntype: _Boolean_\n\ndefault: `false`\n\nIf you're using the `HandleDirective`, set this to `true`\n\n#### `useWindowAsScrollContainer`\n\ntype: _Boolean_\n\ndefault: `false`\n\nIf you want, you can set the `window` as the scrolling container\n\n#### `hideSortableGhost`\n\ntype: _Boolean_\n\ndefault: `true`\n\nWhether to auto-hide the ghost element. By default, as a convenience, Vue Slicksort List will automatically hide the element that is currently being sorted. Set this to false if you would like to apply your own styling.\n\n#### `lockToContainerEdges`\n\ntype: _Boolean_\n\ndefault: `false`\n\nYou can lock movement of the sortable element to it's parent `Container`\n\n#### `lockOffset`\n\ntype: _`OffsetValue` or [ `OffsetValue`, `OffsetValue` ]_\\*\n\ndefault: `\"50%\"`\n\nWhen `lockToContainerEdges` is set to `true`, this controls the offset distance between the sortable helper and the top/bottom edges of it's parent `Container`. Percentage values are relative to the height of the item currently being sorted. If you wish to specify different behaviours for locking to the _top_ of the container vs the _bottom_, you may also pass in an `array` (For example: `[\"0%\", \"100%\"]`).\n\n\\* `OffsetValue` can either be a finite `Number` or a `String` made up of a number and a unit (`px` or `%`).\nExamples: `10` (which is the same as `\"10px\"`), `\"50%\"`\n\n#### `shouldCancelStart`\n\ntype: _Function_\n\ndefault: [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L41)\n\nThis function is invoked before sorting begins, and can be used to programatically cancel sorting before it begins. By default, it will cancel sorting if the event target is either an `input`, `textarea`, `select` or `option`.\n\n#### `getHelperDimensions`\n\ntype: _Function_\n\ndefault: [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49)\n\nOptional `function({node, index})` that should return the computed dimensions of the SortableHelper. See [default implementation](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49) for more details\n\n### Events\n\nEvents are emitted from the Container element, and can be bound to using `v-bind` or `@` directives\n\n#### `@sort-start`\n\nemits: `{ event: MouseEvent, node: HTMLElement, index: number }`\n\nFired when sorting begins.\n\n#### `@sort-move`\n\nemits: `{ event }`\n\nFired when the mouse is moved during sorting.\n\n#### `@sort-end`\n\nemits: `{ event, newIndex, oldIndex }`\n\nFired when sorting has ended.\n\n#### `@input`\n\nemits: `Array`\n\nFired after sorting has ended with the newly sorted list.\n\n---\n\n## `ElementMixin`\n\n### Props\n\n#### `index` _(required)_\n\ntype: _Number_\n\nThis is the element's sortableIndex within it's collection. This prop is required.\n\n#### `collection`\n\n**REMOVED IN v2.0.0**\nUse `group` and multiple scroll containers instead.\n\ntype: _Number or String_\n\ndefault: `0`\n\nThe collection the element is part of. This is useful if you have multiple groups of sortable elements within the same `Container`. [Example](http://Jexordexan.github.io/vue-slicksort/#/basic-configuration/multiple-lists)\n\n#### `disabled`\n\ntype: _Boolean_\n\ndefault: `false`\n\nWhether the element should be sortable or not\n\n## `HandleDirective`\n\nThe `v-handle` directive is used inside the draggable element.\n\nThe Container must have the `:useDragHandle` prop set to `true` for the handle to work as expected.\n\nHere is an example for a simple element with a handle:\n\n```html\n<template>\n  <li class=\"list-item\">\n    <span v-handle class=\"handle\"></span>\n    {{item.value}}\n  </li>\n</template>\n\n<script>\n  import { ElementMixin, HandleDirective } from 'vue-slicksort';\n\n  export default {\n    mixins: [ElementMixin],\n    directives: { handle: HandleDirective },\n  };\n</script>\n```\n\n# FAQ\n\n<!-- ### Running Examples\n\nIn root folder:\n\n```\n\t$ npm install\n\t$ npm run storybook\n``` -->\n\n### Upgrade from v0.x.x\n\nThe event names have all changed from camelCase to dash-case to accommodate for inline HTML templates.\n\n### Grid support?\n\nNeed to sort items in a grid? We've got you covered! Just set the `axis` prop to `xy`. Grid support is currently limited to a setup where all the cells in the grid have the same width and height, though we're working hard to get variable width support in the near future.\n\n### Item disappearing when sorting / CSS issues\n\nUpon sorting, `vue-slicksort` creates a clone of the element you are sorting (the _sortable-helper_) and appends it to the end of the `appendTo` tag. The original element will still be in-place to preserve its position in the DOM until the end of the drag (with inline-styling to make it invisible). If the _sortable-helper_ gets messed up from a CSS standpoint, consider that maybe your selectors to the draggable item are dependent on a parent element which isn't present anymore (again, since the _sortable-helper_ is at the end of the `appendTo` prop). This can also be a `z-index` issue, for example, when using `vue-slicksort` within a Bootstrap modal, you'll need to increase the `z-index` of the SortableHelper so it is displayed on top of the modal.\n\n### Click events being swallowed\n\nBy default, `vue-slicksort` is triggered immediately on `mousedown`. If you'd like to prevent this behaviour, there are a number of strategies readily available. You can use the `distance` prop to set a minimum distance (in pixels) to be dragged before sorting is enabled. You can also use the `pressDelay` prop to add a delay before sorting is enabled. Alternatively, you can also use the [HandleDirective](https://github.com/Jexordexan/vue-slicksort/blob/master/src/HandleDirective.js).\n\n### Scoped styles\n\nIf you are using scoped styles on the sortable list, you can use `appendTo` prop.\n\n## Dependencies\n\nSlicksort has no dependencies.\n`vue` is the only peerDependency\n\n## Reporting Issues\n\nIf believe you've found an issue, please [report it](https://github.com/Jexordexan/vue-slicksort/issues) along with any relevant details to reproduce it. The easiest way to do so is to fork this [jsfiddle](https://jsfiddle.net/Jexordexan/1puv2L6c/).\n\n## Asking for help\n\nPlease file an issue for personal support requests. Tag them with `question`.\n\n## Contributions\n\nYes please! Feature requests / pull requests are welcome.\n\n## Thanks\n\nThis library is heavily based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by Claudéric Demers (@clauderic). A very simple and low overhead implementation of drag and drop that looks and performs great!\n","readmeFilename":"README.md","gitHead":"da1865b69c943c6891ee3c36d557443b06c06d1b","_id":"vue-slicksort@2.0.0-alpha.4","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-3C60C57ou17MRM2g9rasoXoJUEJ/VjUEXulHjqyJw9qSNUeETaDJLnWYfFsR31WfIOJFNikyXEcGnY9XdcKk4w==","shasum":"876078a8a1e585a15ac577646e25241e3b39afc1","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-2.0.0-alpha.4.tgz","fileCount":10,"unpackedSize":273052,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNaTvCRA9TVsSAnZWagAAhX0QAIcKGPrD4L7S4Ehyh/zC\nJrXMHd6ak7pR3LO8sAs/ZnCWmigF+gDjPTYtIyMZxvjpFprOJ9hL7MaA45vH\ngioCV5npgKVtQXO+MXaDytcdx65edGIUZXJN9ZjQVxoW514fGS/o2ulYtjnl\n6Sui4MVicdwLgV3FGwgTlHUEpjNtrtk4hZ4QBtihx+b/rTseiFrYWAl7pnLc\nFAMGCedbfGYTcX9TDfHc4S57hrT4EvXLqDiPirriNXoJNW05LN0/oFmzMDBN\n6Y0WqQ9ocBYOPosQL37kR4jsgrOPMAxakK1yizxkky2rx2207huVK7BhA3FI\nFtBK3rLrWARpgvPtTtuYm+XEwGCxoNY5/k8WWjOfRA9HpAtjA/k73yt4gzdb\n+7pym6gPJfxoODcW3YAIweFRR61eYJtYVG2FWKLBmYZNwLBWwkkOz4AfBcGQ\nAZ0pyQ0DPBEc7mav8EtokbSFL924RrU4VMd0eMLjRFGZFbz4PCjcHH+FsdbW\nreG2Dd1ZwvNZdKxrUn92BSTtZhocsLKQVj/2SpOe4hGSvO5y6ET2dwn6gIqt\nyHskpk463pGeK+xfP+z+CwrsMVJxGswCm5oBHDeXJEiuPeWBHF1Tw1vCrokS\nM2MVAT+wQX2dh4RplW6YTyFr+ECLDQf3QqRD6QO1Ti8oNCvded9I8iZa3GM+\nQysP\r\n=IjKv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEUMxKEgUzh4wBePlKRHjEdqbH6Yu00nI49nKu14QVSAAiBaaXerixiIWxWy3/Umeac8chc1WRUh79o0/pgCyrKAnQ=="}]},"_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"directories":{},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_2.0.0-alpha.4_1614128366622_0.5772843137930828"},"_hasShrinkwrap":false},"2.0.0-alpha.5":{"name":"vue-slicksort","version":"2.0.0-alpha.5","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://vue-slicksort.netlify.app","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"vite example","changelog":"standard-changelog","version":"npm run changelog && git add CHANGELOG.md","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .ts","cy":"cypress open-ct","deploy:alpha":"npm test && npm version prerelease --preid=alpha && npm run deploy:final","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:serve":"vitepress serve docs"},"peerDependencies":{"vue":">=3.0.0"},"devDependencies":{"@babel/core":"^7.13.14","@babel/plugin-external-helpers":"^7.12.13","@babel/plugin-transform-regenerator":"^7.13.15","@babel/plugin-transform-runtime":"^7.13.15","@babel/preset-env":"^7.12.16","@cypress/vite-dev-server":"^1.2.5","@cypress/vue":"^3.0.1","@rollup/plugin-typescript":"^8.2.0","@typescript-eslint/eslint-plugin":"^4.15.1","@typescript-eslint/parser":"^4.15.1","@vitejs/plugin-vue":"^1.2.2","@vue/compiler-sfc":"^3.0.11","@vue/test-utils":"^2.0.0-rc.6","@vueuse/core":"^4.1.1","autoprefixer":"^6.3.6","cross-env":"^1.0.7","cssnano":"^3.10.0","cypress":"^7.2.0","esbuild":"^0.8.44","eslint":"^7.20.0","eslint-plugin-cypress":"^2.11.2","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^7.6.0","postcss":"^8.2.6","rimraf":"^2.5.2","rollup":"^2.38.5","rollup-plugin-babel":"^4.4.0","rollup-plugin-bundle-size":"^1.0.3","rollup-plugin-esbuild":"^2.6.1","sass":"^1.32.6","standard-changelog":"^2.0.27","typescript":"^4.2.3","vite":"^2.2.3","vitepress":"^0.13.2","vue":"^3.0.11","vuepress":"^2.0.0-alpha.23"},"browserslist":["> 1%","last 4 versions"],"dependencies":{},"readme":"# Vue Slicksort 🖖\n\n![Slicksort logo](/logo/logomark.png)\n\n> A set of component mixins to turn any list into an animated, touch-friendly, sortable list.\n> Based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by [@clauderic]\n\n[![npm version](https://img.shields.io/npm/v/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![npm downloads](https://img.shields.io/npm/dm/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/Jexordexan/vue-slicksort/blob/master/LICENSE)\n![gzip size](http://img.badgesize.io/https://npmcdn.com/vue-slicksort?compression=gzip)\n\n<p align=\"center\">\n  <a href=\"https://jexordexan.github.io/vue-slicksort/\">\n    <img src=\"logo/demo.gif\">\n  </a>\n</p>\n\n### Examples available here: <a href=\"https://jexordexan.github.io/vue-slicksort/\">https://jexordexan.github.io/vue-slicksort/</a>\n\n### [中文文档](./doc/zh.md)\n\n## Features\n\n- **`v-model` Compatible** – Make any array editable with the `v-model` standard\n- **Mixin Components** – Integrates with your existing components\n- **Standalone Components** – Easy to use components for slick lists\n- **Drag handle, auto-scrolling, locked axis, events, and more!**\n- **Suuuper smooth animations** – Chasing the 60FPS dream 🌈\n- **Horizontal lists, vertical lists, or a grid** ↔ ↕ ⤡\n- **Touch support** 👌\n- **Oh yeah, and it's DEPENDENCY FREE!** 👌\n\n## Installation\n\nUsing [npm](https://www.npmjs.com/package/vue-slicksort):\n\n```\n  $ npm install vue-slicksort --save\n```\n\nUsing yarn:\n\n```\n  $ yarn add vue-slicksort\n```\n\nUsing a CDN:\n\n```html\n<script src=\"https://unpkg.com/vue-slicksort@latest/dist/vue-slicksort.min.js\"></script>\n```\n\nThen, using a module bundler that supports either CommonJS or ES2015 modules, such as [webpack](https://github.com/webpack/webpack):\n\n```js\n// Using an ES6 transpiler like Babel\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\n// Not using an ES6 transpiler\nvar slicksort = require('vue-slicksort');\nvar ContainerMixin = slicksort.ContainerMixin;\nvar ElementMixin = slicksort.ElementMixin;\n```\n\nIf you are loading the package via `<script>` tag:\n\n```html\n<script>\n  var { ContainerMixin, ElementMixin, HandleDirective } = window.VueSlicksort;\n</script>\n```\n\n## Usage\n\n### Basic Example\n\n```js\nimport Vue from 'vue';\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\nconst SortableList = {\n  mixins: [ContainerMixin],\n  template: `\n    <ul class=\"list\">\n      <slot />\n    </ul>\n  `,\n};\n\nconst SortableItem = {\n  mixins: [ElementMixin],\n  props: ['item'],\n  template: `\n    <li class=\"list-item\">{{item}}</li>\n  `,\n};\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SortableList lockAxis=\"y\" v-model=\"items\">\n        <SortableItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\" :item=\"item\"/>\n      </SortableList>\n    </div>\n  `,\n  components: {\n    SortableItem,\n    SortableList,\n  },\n  data() {\n    return {\n      items: ['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5', 'Item 6', 'Item 7', 'Item 8'],\n    };\n  },\n};\n\nconst app = new Vue({\n  el: '#root',\n  render: (h) => h(ExampleVue),\n});\n```\n\nThat's it! Vue Slicksort does not come with any styles by default, since it's meant to enhance your existing components.\n\n## Slicksort components\n\nThere are two pre-built components that implement the two mixins. Use them like this:\n\n```javascript\nimport { SlickList, SlickItem } from 'vue-slicksort';\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SlickList lockAxis=\"y\" v-model=\"items\" tag=\"ul\">\n        <SlickItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\" tag=\"li\">\n          {{ item }}\n        </SlickItem>\n      </SlickList>\n    </div>\n  `,\n  components: {\n    SlickItem,\n    SlickList,\n  },\n  data() {\n    return {\n      items: ['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5', 'Item 6', 'Item 7', 'Item 8'],\n    };\n  },\n};\n```\n\n<!-- More code examples are available [here](https://github.com/Jexordexan/vue-slicksort/blob/master/examples/). -->\n\n## Why should I use this?\n\nThere are already a number of great Drag & Drop libraries out there (for instance, [vuedraggable](https://github.com/SortableJS/Vue.Draggable) is fantastic). If those libraries fit your needs, you should definitely give them a try first. However, most of those libraries rely on the HTML5 Drag & Drop API, which has some severe limitations. For instance, things rapidly become tricky if you need to support touch devices, if you need to lock dragging to an axis, or want to animate the nodes as they're being sorted. Vue Slicksort aims to provide a simple set of component mixins to fill those gaps. If you're looking for a dead-simple, mobile-friendly way to add sortable functionality to your lists, then you're in the right place.\n\n## Customization and props\n\nYou apply options as individual `props` on whatever component is using the `ContainerMixin`. The component also emits several events during a sorting operation. Here's an example of a customized component:\n\n```html\n<SortableContainer\n  :value=\"items\"\n  :transitionDuration=\"250\"\n  :lockAxis=\"'y'\"\n  :useDragHandle=\"true\"\n  @sort-start=\"onSortStart($event)\"\n>\n  <!-- SortableElement stuff goes here -->\n</SortableContainer>\n```\n\n## `ContainerMixin`\n\n### Props\n\n#### `value` _(required)_\n\ntype: _Array_\n\nThe `value` can be inherited from `v-model` but has to be set to the same list that is rendered with `v-for` inside the `Container`\n\n#### `axis`\n\ntype: _String_\n\ndefault: `y`\n\nItems can be sorted horizontally, vertically or in a grid. Possible values: `x`, `y` or `xy`\n\n#### `lockAxis`\n\ntype: _String_\n\nIf you'd like, you can lock movement to an axis while sorting. This is not something that is possible with HTML5 Drag & Drop\n\n#### `helperClass`\n\ntype: _String_\n\nYou can provide a class you'd like to add to the sortable helper to add some styles to it\n\n#### `appendTo`\n\ntype: _String_\n\ndefault: `body`\n\nYou can provide a querySelector string you'd like to add to the sorting element to add parent dom\n\n#### `transitionDuration`\n\ntype: _Number_\n\ndefault: `300`\n\nThe duration of the transition when elements shift positions. Set this to `0` if you'd like to disable transitions\n\n#### `draggedSettlingDuration`\n\ntype: _Number_\n\ndefault: `null`\n\nOverride the settling duration for the drag helper. If not set, `transitionDuration` will be used.\n\n#### `pressDelay`\n\ntype: _Number_\n\ndefault: `0`\n\nIf you'd like elements to only become sortable after being pressed for a certain time, change this property. A good sensible default value for mobile is `200`. Cannot be used in conjunction with the `distance` prop.\n\n#### `pressThreshold`\n\ntype: _Number_\n\ndefault: `5`\n\nNumber of pixels of movement to tolerate before ignoring a press event.\n\n#### `distance`\n\ntype: _Number_\n\ndefault: `0`\n\nIf you'd like elements to only become sortable after being dragged a certain number of pixels. Cannot be used in conjunction with the `pressDelay` prop.\n\n#### `useDragHandle`\n\ntype: _Boolean_\n\ndefault: `false`\n\nIf you're using the `HandleDirective`, set this to `true`\n\n#### `useWindowAsScrollContainer`\n\ntype: _Boolean_\n\ndefault: `false`\n\nIf you want, you can set the `window` as the scrolling container\n\n#### `hideSortableGhost`\n\ntype: _Boolean_\n\ndefault: `true`\n\nWhether to auto-hide the ghost element. By default, as a convenience, Vue Slicksort List will automatically hide the element that is currently being sorted. Set this to false if you would like to apply your own styling.\n\n#### `lockToContainerEdges`\n\ntype: _Boolean_\n\ndefault: `false`\n\nYou can lock movement of the sortable element to it's parent `Container`\n\n#### `lockOffset`\n\ntype: _`OffsetValue` or [ `OffsetValue`, `OffsetValue` ]_\\*\n\ndefault: `\"50%\"`\n\nWhen `lockToContainerEdges` is set to `true`, this controls the offset distance between the sortable helper and the top/bottom edges of it's parent `Container`. Percentage values are relative to the height of the item currently being sorted. If you wish to specify different behaviours for locking to the _top_ of the container vs the _bottom_, you may also pass in an `array` (For example: `[\"0%\", \"100%\"]`).\n\n\\* `OffsetValue` can either be a finite `Number` or a `String` made up of a number and a unit (`px` or `%`).\nExamples: `10` (which is the same as `\"10px\"`), `\"50%\"`\n\n#### `shouldCancelStart`\n\ntype: _Function_\n\ndefault: [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L41)\n\nThis function is invoked before sorting begins, and can be used to programatically cancel sorting before it begins. By default, it will cancel sorting if the event target is either an `input`, `textarea`, `select` or `option`.\n\n#### `getHelperDimensions`\n\ntype: _Function_\n\ndefault: [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49)\n\nOptional `function({node, index})` that should return the computed dimensions of the SortableHelper. See [default implementation](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49) for more details\n\n### Events\n\nEvents are emitted from the Container element, and can be bound to using `v-bind` or `@` directives\n\n#### `@sort-start`\n\nemits: `{ event: MouseEvent, node: HTMLElement, index: number }`\n\nFired when sorting begins.\n\n#### `@sort-move`\n\nemits: `{ event }`\n\nFired when the mouse is moved during sorting.\n\n#### `@sort-end`\n\nemits: `{ event, newIndex, oldIndex }`\n\nFired when sorting has ended.\n\n#### `@input`\n\nemits: `Array`\n\nFired after sorting has ended with the newly sorted list.\n\n---\n\n## `ElementMixin`\n\n### Props\n\n#### `index` _(required)_\n\ntype: _Number_\n\nThis is the element's sortableIndex within it's collection. This prop is required.\n\n#### `collection`\n\n**REMOVED IN v2.0.0**\nUse `group` and multiple scroll containers instead.\n\ntype: _Number or String_\n\ndefault: `0`\n\nThe collection the element is part of. This is useful if you have multiple groups of sortable elements within the same `Container`. [Example](http://Jexordexan.github.io/vue-slicksort/#/basic-configuration/multiple-lists)\n\n#### `disabled`\n\ntype: _Boolean_\n\ndefault: `false`\n\nWhether the element should be sortable or not\n\n## `HandleDirective`\n\nThe `v-handle` directive is used inside the draggable element.\n\nThe Container must have the `:useDragHandle` prop set to `true` for the handle to work as expected.\n\nHere is an example for a simple element with a handle:\n\n```html\n<template>\n  <li class=\"list-item\">\n    <span v-handle class=\"handle\"></span>\n    {{item.value}}\n  </li>\n</template>\n\n<script>\n  import { ElementMixin, HandleDirective } from 'vue-slicksort';\n\n  export default {\n    mixins: [ElementMixin],\n    directives: { handle: HandleDirective },\n  };\n</script>\n```\n\n# FAQ\n\n<!-- ### Running Examples\n\nIn root folder:\n\n```\n\t$ npm install\n\t$ npm run storybook\n``` -->\n\n### Upgrade from v0.x.x\n\nThe event names have all changed from camelCase to dash-case to accommodate for inline HTML templates.\n\n### Grid support?\n\nNeed to sort items in a grid? We've got you covered! Just set the `axis` prop to `xy`. Grid support is currently limited to a setup where all the cells in the grid have the same width and height, though we're working hard to get variable width support in the near future.\n\n### Item disappearing when sorting / CSS issues\n\nUpon sorting, `vue-slicksort` creates a clone of the element you are sorting (the _sortable-helper_) and appends it to the end of the `appendTo` tag. The original element will still be in-place to preserve its position in the DOM until the end of the drag (with inline-styling to make it invisible). If the _sortable-helper_ gets messed up from a CSS standpoint, consider that maybe your selectors to the draggable item are dependent on a parent element which isn't present anymore (again, since the _sortable-helper_ is at the end of the `appendTo` prop). This can also be a `z-index` issue, for example, when using `vue-slicksort` within a Bootstrap modal, you'll need to increase the `z-index` of the SortableHelper so it is displayed on top of the modal.\n\n### Click events being swallowed\n\nBy default, `vue-slicksort` is triggered immediately on `mousedown`. If you'd like to prevent this behaviour, there are a number of strategies readily available. You can use the `distance` prop to set a minimum distance (in pixels) to be dragged before sorting is enabled. You can also use the `pressDelay` prop to add a delay before sorting is enabled. Alternatively, you can also use the [HandleDirective](https://github.com/Jexordexan/vue-slicksort/blob/master/src/HandleDirective.js).\n\n### Scoped styles\n\nIf you are using scoped styles on the sortable list, you can use `appendTo` prop.\n\n## Dependencies\n\nSlicksort has no dependencies.\n`vue` is the only peerDependency\n\n## Reporting Issues\n\nIf believe you've found an issue, please [report it](https://github.com/Jexordexan/vue-slicksort/issues) along with any relevant details to reproduce it. The easiest way to do so is to fork this [jsfiddle](https://jsfiddle.net/Jexordexan/1puv2L6c/).\n\n## Asking for help\n\nPlease file an issue for personal support requests. Tag them with `question`.\n\n## Contributions\n\nYes please! Feature requests / pull requests are welcome.\n\n## Thanks\n\nThis library is heavily based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by Claudéric Demers (@clauderic). A very simple and low overhead implementation of drag and drop that looks and performs great!\n","readmeFilename":"README.md","gitHead":"eab842dfe3b7db8858c10b77fd7ea63a510ddad9","_id":"vue-slicksort@2.0.0-alpha.5","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-OETVkNwC/w7nfW/5xKl5wnvuKYG7Ml+lFOxbcqo0ETpcgNv30e/+rkwaXakb6PVkpr+v+1jbKP8nbkYObtyooQ==","shasum":"b1c09ed1882105001b1ea5f7fea0e81efadf3c70","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-2.0.0-alpha.5.tgz","fileCount":10,"unpackedSize":278499,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkKSmCRA9TVsSAnZWagAA93YP+wd0oWMlD+E51U70HXUa\nwic9lvftpojwV2tu03NtQlXDsl/6X5L4UvalEAr3gu+nNBx2wVLvb7VQ/KAv\n+f9rEhq2Q7IbOpm8djljfxjQg8KGB9uC7Wnj0ym/rvmMiAvYlhH+vvT8oyE0\ntJBpEppeKSninIz9TebAwSO+Zaz3xYyTUaQ7ad/Jv2WDaqRJQYNS8w4YScI8\n07+2hkA2+SCMz1KNlvDXYJdz6z8J+/fm3KdRLBOgNYmLhsYjdT2Xb9YiU7iz\nL/lWLk1KPijK/YtuGfpkZOek0lAdKptDLkJasa7ti89gD1dubsXxfSBfpkDV\ne+gxTZqlB5islYC/Zi68BSiT0LixEixNo8m33ath+fnSQ3MdYS1EFTAGlGTN\n8qvui/XiBZA4BvmzDmVel40vDOKSc3tM4iiEywzEkDbry3DKTvXU0ki72ygO\ncB0SwH48GtBGG1H06XakAxBDeb1EAeReCZR/LF82LQnr8M3flmj3G1VdFhc4\nXggvwNyUA0o1U827bDb2YNMUZUOvWVjOsf0c0tDzGB6wMQKhjiVmZ97v/C8k\nBFzTWbDsOHcWN5yGfXblNeYxYARzxhGG68ydi9q18SDUoSrGOu8qiqkHP/+k\nEmQNwV0DzMb315in8zP0dhzl8sRSolB2AWRJmPdJvuzJICQUgjhkwEAcwlwV\ng+ES\r\n=rCpk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcenTvrqnywsMp5JAr95nq4o2qtP9dwf2gQ07PKyrHywIgM5M+UDB1D+ti1I7LDmlJSkgdnHHLja6FDttGqtz9048="}]},"_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"directories":{},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_2.0.0-alpha.5_1620092069524_0.7420505252924703"},"_hasShrinkwrap":false},"2.0.2":{"name":"vue-slicksort","version":"2.0.2","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://vue-slicksort.netlify.app","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"vite example","changelog":"standard-changelog","version":"npm run changelog && git add CHANGELOG.md","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .ts && npm run test:cy","cy":"cypress open --component","test:cy":"cypress run --component","deploy:alpha":"npm test && npm version prerelease --preid=alpha && npm run deploy:final","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:serve":"vitepress serve docs"},"peerDependencies":{"vue":">=3.0.0"},"devDependencies":{"@babel/core":"^7.13.14","@babel/plugin-external-helpers":"^7.12.13","@babel/plugin-transform-regenerator":"^7.13.15","@babel/plugin-transform-runtime":"^7.13.15","@babel/preset-env":"^7.12.16","@cypress/vite-dev-server":"^4.0.1","@cypress/vue":"^5.0.1","@rollup/plugin-typescript":"^8.2.0","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","@vitejs/plugin-vue":"^3.2.0","@vitejs/plugin-vue-jsx":"^2.1.1","@vue/compiler-sfc":"^3.2.45","@vue/test-utils":"^2.0.0-rc.6","@vueuse/core":"^4.1.1","autoprefixer":"^6.3.6","cross-env":"^1.0.7","cssnano":"^3.10.0","cypress":"^11.1.0","esbuild":"^0.8.44","eslint":"^7.20.0","eslint-plugin-cypress":"^2.11.2","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^7.6.0","postcss":"^8.2.6","rimraf":"^2.5.2","rollup":"^2.38.5","rollup-plugin-babel":"^4.4.0","rollup-plugin-bundle-size":"^1.0.3","rollup-plugin-esbuild":"^2.6.1","sass":"^1.32.6","standard-changelog":"^2.0.27","typescript":"^4.2.3","vite":"^3.2.4","vitepress":"^1.0.0-alpha.29","vue":"^3.2.45","vuepress":"^2.0.0-alpha.23"},"browserslist":["> 1%","last 4 versions"],"dependencies":{},"gitHead":"24ab21ce5b7d53492da65dc0cc7d2265c35a23f1","_id":"vue-slicksort@2.0.2","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-dF++nigP6/Yd7emYacK6Hz+2w4YrMFQiqo5v5MAPE+TUv6PTeGdejwu2v+UqhG1RPK85Pn8lhpgTvbmIrM5sfg==","shasum":"edb6a36b5a17a4feae5f1979070889611ac6e930","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-2.0.2.tgz","fileCount":9,"unpackedSize":272281,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMVTOja9dSZqM+lFr5hmd4ZXBUIf7ZZt2LhGedf2kLOQIgaf4SzhVdrBCi1/wtxNEqVqi0Qkq9Lz9N9ssXy6Y9hv4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeQ4sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmre6w/8DuC6oK1uGVrTHQ1xnW1TItRKtSlQKW+8/ls4Njaf5ZffLu+G\r\nuvzshSyHRIl5I6gMTILlGRogtJtUVbIHdbPBka76fNN5AmqDuGrLHHd577rh\r\noVj0CbfF1BeQsz1SlSGCkvkRuyLa0I/KKGUgP+vQtho2YLJefKtDVyuOZ+Sk\r\n1868XCH1b2hbsLXo9tvTojDwuL0F1c4sWdrX50OwoCqRqTmr3Rmb2hYnhTMi\r\n+5t/c8sTLdP8J5+28N9DYmukMB2QmkJ6DFGFagwlakytouLJsLBAqttHDngC\r\nY3hwp9n0UGVOn3VUzZ8NbDjb2ipH0nilmtNRki2mEosiEpzlmEG8BQ6XJqrp\r\nTB6/sUZ1q3Yewfhcs622lKyV5Bx3bwfG8PY+I5nwIholXdsgrBTqo9cDeVLR\r\nvyFTfLNMJtdixMu8ORd1VnQ21voaAcDgjPwMv5S9Fs+3gCjBOE4lDz8a3w+i\r\n6oPN7alWauGA791H9/zD4r6H83eQx6M9067pcnfY/XZOiIDlSmHUayV9cgEK\r\ncNaJeHvYdY5q12TUroFjiHZMFC9Hk5ZSWP+vKzFwGkJFcOWzgb93WCPOanRZ\r\niKVDY7F8/CMDhIGgDJkW+aHgRuSB3pcIBIpUOHPMoMFAg8CpjaitzmY4E0sn\r\n+1uaoAxkzQFxl/scuPdi95KVZwaTveklrzo=\r\n=Ck3r\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"directories":{},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_2.0.2_1668877867922_0.01915759965033148"},"_hasShrinkwrap":false},"2.0.3":{"name":"vue-slicksort","version":"2.0.3","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://vue-slicksort.netlify.app","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"vite example","changelog":"standard-changelog","version":"npm run changelog && git add CHANGELOG.md","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .ts && npm run test:cy","cy":"cypress open --component","test:cy":"cypress run --component","deploy:alpha":"npm test && npm version prerelease --preid=alpha && npm run deploy:final","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:serve":"vitepress serve docs"},"peerDependencies":{"vue":">=3.0.0"},"devDependencies":{"@babel/core":"^7.13.14","@babel/plugin-external-helpers":"^7.12.13","@babel/plugin-transform-regenerator":"^7.13.15","@babel/plugin-transform-runtime":"^7.13.15","@babel/preset-env":"^7.12.16","@cypress/vite-dev-server":"^4.0.1","@cypress/vue":"^5.0.1","@rollup/plugin-typescript":"^8.2.0","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","@vitejs/plugin-vue":"^3.2.0","@vitejs/plugin-vue-jsx":"^2.1.1","@vue/compiler-sfc":"^3.2.45","@vue/test-utils":"^2.0.0-rc.6","@vueuse/core":"^9.5.0","autoprefixer":"^6.3.6","cross-env":"^1.0.7","cssnano":"^3.10.0","cypress":"^11.1.0","esbuild":"^0.8.44","eslint":"^7.20.0","eslint-plugin-cypress":"^2.11.2","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^7.6.0","postcss":"^8.2.6","rimraf":"^2.5.2","rollup":"^2.38.5","rollup-plugin-babel":"^4.4.0","rollup-plugin-bundle-size":"^1.0.3","rollup-plugin-esbuild":"^2.6.1","sass":"^1.32.6","standard-changelog":"^2.0.27","typescript":"^4.2.3","vite":"^3.2.4","vitepress":"^1.0.0-alpha.29","vue":"^3.2.45","vuepress":"^2.0.0-alpha.23"},"browserslist":["> 1%","last 4 versions"],"dependencies":{},"gitHead":"21e55711258681a267b6c0835db65a8f32dbb2c7","_id":"vue-slicksort@2.0.3","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-xtAxSE5xoOxBBceJ8043w7Z9wV1cpjua/x68x9tzS8zXurmqKH5slkrLLSiQT33c4vF8Zw5yAc4M4Z1HtIdWUg==","shasum":"67807d1a4389029d72c8632789206c27eec4b0be","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-2.0.3.tgz","fileCount":9,"unpackedSize":272550,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNQwKNSfYdvaxHHr1j6I3PRRaZ2mpWu8d0PW5Ezv54egIhAIaP019JodSEXxEE8yMWE+sfkxDvI4Ige8//V1Bh7tBL"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgQOEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp1gg//VeSkJM/FH529rPkuUnAtqCZvdD8tH8hEAYJbmmHE+PFO+VEV\r\nhy/DQyBVREnUknI1TDVoBMdiJB/fc9zcYPmUajJQyv+zGoVoWMdX6qRgQt1D\r\nDKfmgvJr1B3EgQyQ/ZWRiHcpZvYy7F+lMV0HvtdHmLaNARER51PKeFdfwqxw\r\nNT7c8+6JrYq+lTOrJmHkOXhVdlY4R4Mq15Nv1UgK4adLYDnVVpd49xZ3gqAL\r\n0cjz+00v7DsrEBeKAvAx9bLvI04sbEhim0Yo/U5T0PQoNA4fuPeNZbQppsb/\r\nXKyOYu7ZgLIO5uuuoZIvW9MykIrYUJHPBN7rrpRoZVGo4rM5HQ+nFq0lm5Vn\r\nwSHuUoVmQGa1tNLh6W2gGqPWFgR/47zn2xhlVk7kOQLzP8H8jouxCivGEM01\r\n+lDvmF0W33Nnwbdc5M3QxCqVqP/VLG6t4XIdQgBakUXmGU6KYEFfYRkXVS8X\r\nIwdZ/mD7U0+di4hDH+rp5yQ4JvlJ3oXIP4To+84JvZYV4QLoNi8y4LFn+CBh\r\na4RJl880qy+fg9bqSSJJ8NNUfsiPhdA6FeVGH1eoVrdbFaUEJkfCikKTT4or\r\nMoxDEL4Ohzaaz7KT2G6WNRSSRtjR7LwUamTwTMofRUSl9sQ+w/huRjOSFNoe\r\nElWQhN0LeqVlaYGduhyVI0pfRWSGWe3BoVQ=\r\n=M6UY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"directories":{},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_2.0.3_1669399428424_0.33204134219403403"},"_hasShrinkwrap":false},"2.0.5":{"name":"vue-slicksort","version":"2.0.5","description":"Set of mixins to turn any list into a sortable, touch-friendly, animated list","author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"user":"jsimonds","homepage":"https://vue-slicksort.netlify.app","main":"dist/vue-slicksort.cjs.js","module":"dist/vue-slicksort.esm.js","browser":"dist/vue-slicksort.umd.js","unpkg":"dist/vue-slicksort.min.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"scripts":{"start":"vite example","changelog":"standard-changelog","version":"npm run changelog && git add CHANGELOG.md","build":"npm run clean && npm run rollup","prepublishOnly":"npm run build","rollup":"cross-env BABEL_ENV=rollup rollup -c","clean":"rimraf dist/","test":"eslint src/** --ext .ts && npm run test:cy","cy":"cypress open --component","test:cy":"cypress run --component","deploy:alpha":"npm test && npm version prerelease --preid=alpha && npm run deploy:final","deploy:patch":"npm test && npm version patch && npm run deploy:final","deploy:final":"git push; git push --tags; npm publish","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:serve":"vitepress serve docs"},"peerDependencies":{"vue":">=3.0.0"},"devDependencies":{"@babel/core":"^7.13.14","@babel/plugin-external-helpers":"^7.12.13","@babel/plugin-transform-regenerator":"^7.13.15","@babel/plugin-transform-runtime":"^7.13.15","@babel/preset-env":"^7.12.16","@cypress/vite-dev-server":"^4.0.1","@cypress/vue":"^5.0.1","@rollup/plugin-typescript":"^8.2.0","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","@vitejs/plugin-vue":"^3.2.0","@vitejs/plugin-vue-jsx":"^2.1.1","@vue/compiler-sfc":"^3.2.45","@vue/test-utils":"^2.0.0-rc.6","@vueuse/core":"^9.5.0","autoprefixer":"^6.3.6","cross-env":"^1.0.7","cssnano":"^3.10.0","cypress":"^11.1.0","esbuild":"^0.8.44","eslint":"^7.20.0","eslint-plugin-cypress":"^2.11.2","eslint-plugin-import":"^2.0.1","eslint-plugin-vue":"^7.6.0","postcss":"^8.2.6","rimraf":"^2.5.2","rollup":"^2.38.5","rollup-plugin-babel":"^4.4.0","rollup-plugin-bundle-size":"^1.0.3","rollup-plugin-esbuild":"^2.6.1","sass":"^1.32.6","standard-changelog":"^2.0.27","typescript":"^4.2.3","vite":"^3.2.4","vitepress":"^1.0.0-alpha.29","vue":"^3.2.45","vuepress":"^2.0.0-alpha.23"},"browserslist":["> 1%","last 4 versions"],"dependencies":{},"gitHead":"b46a191bc6f23a1de1494a96543ffde47b5b200c","_id":"vue-slicksort@2.0.5","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-fXz1YrNjhUbJK7o0tMk27mIr4pMAZYLSYvtmLazCtfpvz+zafPCn34ILDL8B7hT7WLVZKreYs6JVe5VWymqmzA==","shasum":"d080829de9d04b16e8d194ed8b4e219a501091a2","tarball":"https://registry.npmjs.org/vue-slicksort/-/vue-slicksort-2.0.5.tgz","fileCount":9,"unpackedSize":272588,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJ1pMqxJfKTQNZdmEuxuMMOBCLCuy18FKhtKqpDZn13AIhAKAcvPITo721clSfdXUzx38V7imawpC+8qQlTNBEJkul"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6TwlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrh9xAAo54t13ulvZS9+PB22T7tO46NiZH93yizaa7z5/mlIUn1jSW+\r\njaESVjwr//WiKr6pHnBwy2R1d3S/gUPdR82dfl64VWsE4JL8rRAiniI+18iz\r\nxy+owmpPbdovOFQXrWpz9RhAYoRlESI7XseA6OrvTuivP6/z994uBLx7Ipc4\r\np313uh5JIQncXp+TogZYlUWDp49PZ/ih52b/RSgueTK5lSUnD+PE7H3tOBHB\r\netYsJLZd7N/DCwV4Kxu4Hv4DHPyxwBjJvWwaANXb7vz6TtJRpaYYvw2VtBbT\r\nYkV7CM0ataRoccuTwfIMlPi9B8HiaI9yyXKKt13L5i15dUysbJy892gZOuOX\r\nNP/OKxuzwPXDaCQQMHPvg9FbXl8/WjvKJv1TKoBOMEDDy3NBv7r4cwRYZyYa\r\nKc7eJ9dJsB6W2t34G0ASHqOQEdi5Xpb4Y232B56ILnZgpeVp8P6fHdUy/yJv\r\nitGfQ+iapirDIZHIG9CSSuyI2lXGh7teDZDbrhrZm7P9LtKnBBLTMCCbFLW/\r\nTeSi1xq1VuVpD6reU/VKcA438uY1LPnr3tEmuMBQCrng+JqReqgm7Po8dd4h\r\nqSbi1r0VfVpxVPigwV7Z4I3eaG3sFOHWCIdklgLrVgMggGG4/txuzMUXtxj7\r\nEwmZlImqQiTzmf19L3QMkSbx7ouGgi5dCho=\r\n=5xdG\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jexordexan","email":"simonds.jordan@gmail.com"},"directories":{},"maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-slicksort_2.0.5_1676229669115_0.23366126319183622"},"_hasShrinkwrap":false}},"readme":"# Vue Slicksort 🖖\n\n![Slicksort logo](/logo/logomark.png)\n\n> A set of component mixins to turn any list into an animated, touch-friendly, sortable list.\n> Based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by [@clauderic]\n\n[![npm version](https://img.shields.io/npm/v/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![npm downloads](https://img.shields.io/npm/dm/vue-slicksort.svg)](https://www.npmjs.com/package/vue-slicksort)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/Jexordexan/vue-slicksort/blob/master/LICENSE)\n![gzip size](http://img.badgesize.io/https://npmcdn.com/vue-slicksort?compression=gzip)\n\n<p align=\"center\">\n  <a href=\"https://vue-slicksort.netlify.app/\">\n    <img src=\"logo/demo.gif\">\n  </a>\n</p>\n\n### Examples available here: [vue-slicksort.netlify.app/](https://vue-slicksort.netlify.app/)\n\n### [中文文档](./doc/zh.md)\n\n## Features\n\n- **`v-model` Compatible** – Make any array editable with the `v-model` standard\n- **Mixin Components** – Integrates with your existing components\n- **Standalone Components** – Easy to use components for slick lists\n- **Drag handle, auto-scrolling, locked axis, events, and more!**\n- **Suuuper smooth animations** – Chasing the 60FPS dream 🌈\n- **Horizontal lists, vertical lists, or a grid** ↔ ↕ ⤡\n- **Touch support** 👌\n- **Oh yeah, and it's DEPENDENCY FREE!** 👌\n\n## Installation\n\nUsing [npm](https://www.npmjs.com/package/vue-slicksort):\n\n```\n  $ npm install vue-slicksort --save\n```\n\nUsing yarn:\n\n```\n  $ yarn add vue-slicksort\n```\n\nUsing a CDN:\n\n```html\n<script src=\"https://unpkg.com/vue-slicksort@latest/dist/vue-slicksort.min.js\"></script>\n```\n\nThen, using a module bundler that supports either CommonJS or ES2015 modules, such as [webpack](https://github.com/webpack/webpack):\n\n```js\n// Using an ES6 transpiler like Babel\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\n// Not using an ES6 transpiler\nvar slicksort = require('vue-slicksort');\nvar ContainerMixin = slicksort.ContainerMixin;\nvar ElementMixin = slicksort.ElementMixin;\n```\n\nIf you are loading the package via `<script>` tag:\n\n```html\n<script>\n  var { ContainerMixin, ElementMixin, HandleDirective } = window.VueSlicksort;\n</script>\n```\n\n## Usage\n\nCheck out the docs:  [vue-slicksort.netlify.app](https://vue-slicksort.netlify.app/)\n\n<!-- \n## Usage\n\n### Basic Example\n\n```js\nimport Vue from 'vue';\nimport { ContainerMixin, ElementMixin } from 'vue-slicksort';\n\nconst SortableList = {\n  mixins: [ContainerMixin],\n  template: `\n    <ul class=\"list\">\n      <slot />\n    </ul>\n  `,\n};\n\nconst SortableItem = {\n  mixins: [ElementMixin],\n  props: ['item'],\n  template: `\n    <li class=\"list-item\">{{item}}</li>\n  `,\n};\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SortableList lockAxis=\"y\" v-model=\"items\">\n        <SortableItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\" :item=\"item\"/>\n      </SortableList>\n    </div>\n  `,\n  components: {\n    SortableItem,\n    SortableList,\n  },\n  data() {\n    return {\n      items: ['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5', 'Item 6', 'Item 7', 'Item 8'],\n    };\n  },\n};\n\nconst app = new Vue({\n  el: '#root',\n  render: (h) => h(ExampleVue),\n});\n```\n\nThat's it! Vue Slicksort does not come with any styles by default, since it's meant to enhance your existing components.\n\n## Slicksort components\n\nThere are two pre-built components that implement the two mixins. Use them like this:\n\n```javascript\nimport { SlickList, SlickItem } from 'vue-slicksort';\n\nconst ExampleVue = {\n  name: 'Example',\n  template: `\n    <div class=\"root\">\n      <SlickList lockAxis=\"y\" v-model=\"items\" tag=\"ul\">\n        <SlickItem v-for=\"(item, index) in items\" :index=\"index\" :key=\"index\" tag=\"li\">\n          {{ item }}\n        </SlickItem>\n      </SlickList>\n    </div>\n  `,\n  components: {\n    SlickItem,\n    SlickList,\n  },\n  data() {\n    return {\n      items: ['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5', 'Item 6', 'Item 7', 'Item 8'],\n    };\n  },\n};\n``` -->\n\n<!-- More code examples are available [here](https://github.com/Jexordexan/vue-slicksort/blob/master/examples/). -->\n\n## Why should I use this?\n\nThere are already a number of great Drag & Drop libraries out there (for instance, [vuedraggable](https://github.com/SortableJS/Vue.Draggable) is fantastic). If those libraries fit your needs, you should definitely give them a try first. However, most of those libraries rely on the HTML5 Drag & Drop API, which has some severe limitations. For instance, things rapidly become tricky if you need to support touch devices, if you need to lock dragging to an axis, or want to animate the nodes as they're being sorted. Vue Slicksort aims to provide a simple set of component mixins to fill those gaps. If you're looking for a dead-simple, mobile-friendly way to add sortable functionality to your lists, then you're in the right place.\n<!-- \n## Customization and props\n\nYou apply options as individual `props` on whatever component is using the `ContainerMixin`. The component also emits several events during a sorting operation. Here's an example of a customized component:\n\n```html\n<SortableContainer\n  :value=\"items\"\n  :transitionDuration=\"250\"\n  :lockAxis=\"'y'\"\n  :useDragHandle=\"true\"\n  @sort-start=\"onSortStart($event)\"\n>\n</SortableContainer>\n```\n\n## `ContainerMixin`\n\n### Props\n\n#### `value` _(required)_\n\ntype: _Array_\n\nThe `value` can be inherited from `v-model` but has to be set to the same list that is rendered with `v-for` inside the `Container`\n\n#### `axis`\n\ntype: _String_\n\ndefault: `y`\n\nItems can be sorted horizontally, vertically or in a grid. Possible values: `x`, `y` or `xy`\n\n#### `lockAxis`\n\ntype: _String_\n\nIf you'd like, you can lock movement to an axis while sorting. This is not something that is possible with HTML5 Drag & Drop\n\n#### `helperClass`\n\ntype: _String_\n\nYou can provide a class you'd like to add to the sortable helper to add some styles to it\n\n#### `appendTo`\n\ntype: _String_\n\ndefault: `body`\n\nYou can provide a querySelector string you'd like to add to the sorting element to add parent dom\n\n#### `transitionDuration`\n\ntype: _Number_\n\ndefault: `300`\n\nThe duration of the transition when elements shift positions. Set this to `0` if you'd like to disable transitions\n\n#### `draggedSettlingDuration`\n\ntype: _Number_\n\ndefault: `null`\n\nOverride the settling duration for the drag helper. If not set, `transitionDuration` will be used.\n\n#### `pressDelay`\n\ntype: _Number_\n\ndefault: `0`\n\nIf you'd like elements to only become sortable after being pressed for a certain time, change this property. A good sensible default value for mobile is `200`. Cannot be used in conjunction with the `distance` prop.\n\n#### `pressThreshold`\n\ntype: _Number_\n\ndefault: `5`\n\nNumber of pixels of movement to tolerate before ignoring a press event.\n\n#### `distance`\n\ntype: _Number_\n\ndefault: `0`\n\nIf you'd like elements to only become sortable after being dragged a certain number of pixels. Cannot be used in conjunction with the `pressDelay` prop.\n\n#### `useDragHandle`\n\ntype: _Boolean_\n\ndefault: `false`\n\nIf you're using the `HandleDirective`, set this to `true`\n\n#### `useWindowAsScrollContainer`\n\ntype: _Boolean_\n\ndefault: `false`\n\nIf you want, you can set the `window` as the scrolling container\n\n#### `hideSortableGhost`\n\ntype: _Boolean_\n\ndefault: `true`\n\nWhether to auto-hide the ghost element. By default, as a convenience, Vue Slicksort List will automatically hide the element that is currently being sorted. Set this to false if you would like to apply your own styling.\n\n#### `lockToContainerEdges`\n\ntype: _Boolean_\n\ndefault: `false`\n\nYou can lock movement of the sortable element to it's parent `Container`\n\n#### `lockOffset`\n\ntype: _`OffsetValue` or [ `OffsetValue`, `OffsetValue` ]_\\*\n\ndefault: `\"50%\"`\n\nWhen `lockToContainerEdges` is set to `true`, this controls the offset distance between the sortable helper and the top/bottom edges of it's parent `Container`. Percentage values are relative to the height of the item currently being sorted. If you wish to specify different behaviours for locking to the _top_ of the container vs the _bottom_, you may also pass in an `array` (For example: `[\"0%\", \"100%\"]`).\n\n\\* `OffsetValue` can either be a finite `Number` or a `String` made up of a number and a unit (`px` or `%`).\nExamples: `10` (which is the same as `\"10px\"`), `\"50%\"`\n\n#### `shouldCancelStart`\n\ntype: _Function_\n\ndefault: [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L41)\n\nThis function is invoked before sorting begins, and can be used to programatically cancel sorting before it begins. By default, it will cancel sorting if the event target is either an `input`, `textarea`, `select` or `option`.\n\n#### `getHelperDimensions`\n\ntype: _Function_\n\ndefault: [Function](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49)\n\nOptional `function({node, index})` that should return the computed dimensions of the SortableHelper. See [default implementation](https://github.com/Jexordexan/vue-slicksort/blob/master/src/ContainerMixin.js#L49) for more details\n\n### Events\n\nEvents are emitted from the Container element, and can be bound to using `v-bind` or `@` directives\n\n#### `@sort-start`\n\nemits: `{ event: MouseEvent, node: HTMLElement, index: number }`\n\nFired when sorting begins.\n\n#### `@sort-move`\n\nemits: `{ event }`\n\nFired when the mouse is moved during sorting.\n\n#### `@sort-end`\n\nemits: `{ event, newIndex, oldIndex }`\n\nFired when sorting has ended.\n\n#### `@input`\n\nemits: `Array`\n\nFired after sorting has ended with the newly sorted list.\n\n---\n\n## `ElementMixin`\n\n### Props\n\n#### `index` _(required)_\n\ntype: _Number_\n\nThis is the element's sortableIndex within it's collection. This prop is required.\n\n#### `collection`\n\n**REMOVED IN v2.0.0**\nUse `group` and multiple scroll containers instead.\n\ntype: _Number or String_\n\ndefault: `0`\n\nThe collection the element is part of. This is useful if you have multiple groups of sortable elements within the same `Container`. [Example](http://Jexordexan.github.io/vue-slicksort/#/basic-configuration/multiple-lists)\n\n#### `disabled`\n\ntype: _Boolean_\n\ndefault: `false`\n\nWhether the element should be sortable or not\n\n## `HandleDirective`\n\nThe `v-handle` directive is used inside the draggable element.\n\nThe Container must have the `:useDragHandle` prop set to `true` for the handle to work as expected.\n\nHere is an example for a simple element with a handle:\n\n```html\n<template>\n  <li class=\"list-item\">\n    <span v-handle class=\"handle\"></span>\n    {{item.value}}\n  </li>\n</template>\n\n<script>\n  import { ElementMixin, HandleDirective } from 'vue-slicksort';\n\n  export default {\n    mixins: [ElementMixin],\n    directives: { handle: HandleDirective },\n  };\n</script>\n``` -->\n\n# FAQ\n\n<!-- ### Running Examples\n\nIn root folder:\n\n```\n\t$ npm install\n\t$ npm run storybook\n``` -->\n\n\n### Upgrade from v1.x\n\nThere are a few changes in v2, mainly support for Vue 3 and dragging between groups. Read more about migrating here:\n[vue-slicksort.netlify.app/migrating-1x](https://vue-slicksort.netlify.app/migrating-1x)\n\n### Upgrade from v0.x\n\nThe event names have all changed from camelCase to dash-case to accommodate for inline HTML templates.\n\n### Grid support?\n\nNeed to sort items in a grid? We've got you covered! Just set the `axis` prop to `xy`. Grid support is currently limited to a setup where all the cells in the grid have the same width and height, though we're working hard to get variable width support in the near future.\n\n### Item disappearing when sorting / CSS issues\n\nUpon sorting, `vue-slicksort` creates a clone of the element you are sorting (the _sortable-helper_) and appends it to the end of the `appendTo` tag. The original element will still be in-place to preserve its position in the DOM until the end of the drag (with inline-styling to make it invisible). If the _sortable-helper_ gets messed up from a CSS standpoint, consider that maybe your selectors to the draggable item are dependent on a parent element which isn't present anymore (again, since the _sortable-helper_ is at the end of the `appendTo` prop). This can also be a `z-index` issue, for example, when using `vue-slicksort` within a Bootstrap modal, you'll need to increase the `z-index` of the SortableHelper so it is displayed on top of the modal.\n\n### Click events being swallowed\n\nBy default, `vue-slicksort` is triggered immediately on `mousedown`. If you'd like to prevent this behaviour, there are a number of strategies readily available. You can use the `distance` prop to set a minimum distance (in pixels) to be dragged before sorting is enabled. You can also use the `pressDelay` prop to add a delay before sorting is enabled. Alternatively, you can also use the [HandleDirective](https://github.com/Jexordexan/vue-slicksort/blob/master/src/HandleDirective.js).\n\n### Scoped styles\n\nIf you are using scoped styles on the sortable list, you can use `appendTo` prop.\n\n## Dependencies\n\nSlicksort has no dependencies.\n`vue` is the only peerDependency\n\n## Reporting Issues\n\nIf believe you've found an issue, please [report it](https://github.com/Jexordexan/vue-slicksort/issues) along with any relevant details to reproduce it. The easiest way to do so is to fork this [jsfiddle](https://jsfiddle.net/Jexordexan/1puv2L6c/).\n\n## Asking for help\n\nPlease file an issue for personal support requests. Tag them with `question`.\n\n## Contributions\n\nYes please! Feature requests / pull requests are welcome.\n\n## Thanks\n\nThis library is heavily based on [react-sortable-hoc](https://github.com/clauderic/react-sortable-hoc) by Claudéric Demers (@clauderic). A very simple and low overhead implementation of drag and drop that looks and performs great!\n","maintainers":[{"name":"jexordexan","email":"simonds.jordan@gmail.com"}],"time":{"modified":"2023-02-12T19:21:09.351Z","created":"2018-01-17T00:45:51.215Z","0.1.0":"2018-01-17T00:45:51.215Z","0.1.1":"2018-01-20T23:56:13.763Z","0.1.2":"2018-01-22T19:42:15.489Z","0.1.3":"2018-01-22T20:16:23.305Z","0.1.4":"2018-01-22T22:40:42.731Z","0.1.5":"2018-02-12T22:30:29.522Z","0.1.6":"2018-02-18T18:45:51.701Z","0.1.8":"2018-05-16T04:03:07.408Z","0.1.9":"2018-07-18T20:01:15.475Z","0.1.10":"2018-07-18T20:02:52.995Z","0.2.0-0":"2018-08-16T03:08:38.000Z","1.0.0":"2018-11-07T12:50:26.265Z","1.1.0":"2018-11-08T15:35:34.135Z","1.1.1":"2018-11-08T18:01:18.227Z","1.1.2":"2018-12-05T21:33:39.969Z","1.1.3-0":"2018-12-06T22:44:54.420Z","1.1.3":"2018-12-06T22:49:21.525Z","2.0.0-alpha.0":"2020-12-01T01:32:00.173Z","2.0.0-alpha.1":"2021-01-22T02:12:11.908Z","1.2.0":"2021-02-12T22:11:16.371Z","2.0.0-alpha.2":"2021-02-16T15:53:41.622Z","2.0.0-alpha.3":"2021-02-19T14:16:58.437Z","2.0.0-alpha.4":"2021-02-24T00:59:26.789Z","2.0.0-alpha.5":"2021-05-04T01:34:29.664Z","2.0.2":"2022-11-19T17:11:08.087Z","2.0.3":"2022-11-25T18:03:48.627Z","2.0.5":"2023-02-12T19:21:09.275Z"},"homepage":"https://vue-slicksort.netlify.app","keywords":["vue","vuejs","vue-component","vue-mixin","sortable","sortable-list","list","sortable list","smooth","animated","mixin","component","react-sortable-hoc","vue-slicksort","vue-sort","vue-sortable","drag and drop","vue-slicksort"],"repository":{"type":"git","url":"git+https://github.com/Jexordexan/vue-slicksort.git"},"author":{"name":"Jordan Simonds","email":"simonds.jordan@gmail.com"},"bugs":{"url":"https://github.com/Jexordexan/vue-slicksort/issues"},"license":"MIT","readmeFilename":"README.md"}