{"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"license":"MIT","dist-tags":{"latest":"1.7.5"},"versions":{"1.0.0":{"name":"vue-print-nb","version":"1.0.0","description":"","main":"index.es5.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","compile":"babel -d lib/ src/","index":"babel index.js --out-file index.es5.js","prepublish":"npm run compile & npm run index"},"author":"","license":"ISC","devDependencies":{"babel-cli":"^6.26.0","babel-preset-es2015":"^6.24.1","babel-preset-stage-2":"^6.24.1"},"dependencies":{"babel-plugin-transform-runtime":"^6.23.0"},"_id":"vue-print-nb@1.0.0","_shasum":"4efe169275c965bfa2086e8ad1db1bc7b97baffa","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"dist":{"shasum":"4efe169275c965bfa2086e8ad1db1bc7b97baffa","size":4132,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.0.0.tgz","integrity":"sha512-mqMuw2GCTh3Ue2n0k1lKxSENcuB2g1eVKRp301GOBxZm4N+vE37gPRM4Ba0rMC7KzSwsRZYUbRduOisYO689Ug=="},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb-1.0.0.tgz_1512614300670_0.8615073296241462"},"directories":{},"publish_time":1512614300733,"_hasShrinkwrap":false,"_cnpm_publish_time":1512614300733,"_cnpmcore_publish_time":"2021-12-16T15:05:37.763Z"},"1.0.1":{"name":"vue-print-nb","version":"1.0.1","description":"This is a directive wrapper for printed, Simple, fast, convenient, light.","main":"index.es5.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","compile":"babel -d lib/ src/","index":"babel index.js --out-file index.es5.js","prepublish":"npm run compile & npm run index"},"author":"","license":"ISC","devDependencies":{"babel-cli":"^6.26.0","babel-preset-es2015":"^6.24.1","babel-preset-stage-2":"^6.24.1"},"dependencies":{"babel-plugin-transform-runtime":"^6.23.0"},"gitHead":"97150897647f6be45dfeb0d34834ddebe329b62a","_id":"vue-print-nb@1.0.1","_shasum":"ba26e8814719ba2278f7334243d03555518ce2f5","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"dist":{"shasum":"ba26e8814719ba2278f7334243d03555518ce2f5","size":4591,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.0.1.tgz","integrity":"sha512-GNqcrlToOAB091Hn0lB8eEPue5c6NGYFNvFJxEm9W1qiVi+JU+/I7TdsaDWsKqe6CiCeMOpO6AUDRXiBmkzMDw=="},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb-1.0.1.tgz_1512616756235_0.5231339402962476"},"directories":{},"publish_time":1512616756297,"_hasShrinkwrap":false,"_cnpm_publish_time":1512616756297,"_cnpmcore_publish_time":"2021-12-16T15:05:37.544Z"},"1.0.2":{"name":"vue-print-nb","version":"1.0.2","description":"This is a directive wrapper for printed, Simple, fast, convenient, light.","main":"index.es5.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","compile":"babel -d lib/ src/","index":"babel index.js --out-file index.es5.js","prepublish":"npm run compile & npm run index"},"author":"","license":"ISC","devDependencies":{"babel-cli":"^6.26.0","babel-preset-es2015":"^6.24.1","babel-preset-stage-2":"^6.24.1"},"dependencies":{"babel-plugin-transform-runtime":"^6.23.0"},"gitHead":"97150897647f6be45dfeb0d34834ddebe329b62a","_id":"vue-print-nb@1.0.2","_shasum":"3452e2014330e67eae808ea9eb631662fd716c94","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"dist":{"shasum":"3452e2014330e67eae808ea9eb631662fd716c94","size":4586,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.0.2.tgz","integrity":"sha512-Mhb8c7W+8Hwaz3wvvu5Sv0oDZIOHmTYD1w6Ugl0GFU+pB4+B2HKWeiCcneariNkE79aPDo89+UGFoU9wMDjbAg=="},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb-1.0.2.tgz_1512616819449_0.7345912808086723"},"directories":{},"publish_time":1512616819545,"_hasShrinkwrap":false,"_cnpm_publish_time":1512616819545,"_cnpmcore_publish_time":"2021-12-16T15:05:37.264Z"},"1.0.3":{"name":"vue-print-nb","version":"1.0.3","description":"This is a directive wrapper for printed, Simple, fast, convenient, light.","main":"index.es5.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","compile":"babel -d lib/ src/","index":"babel index.js --out-file index.es5.js","prepublish":"npm run compile & npm run index"},"author":"","license":"ISC","devDependencies":{"babel-cli":"^6.26.0","babel-preset-es2015":"^6.24.1","babel-preset-stage-2":"^6.24.1"},"dependencies":{"babel-plugin-transform-runtime":"^6.23.0"},"gitHead":"acaf0d8b4b8acc0f6112ad0a86309cfa6413ab8a","_id":"vue-print-nb@1.0.3","_shasum":"9cf0f67a808a7635c6e79a0cf4c96d652bc32cc6","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"dist":{"shasum":"9cf0f67a808a7635c6e79a0cf4c96d652bc32cc6","size":4576,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.0.3.tgz","integrity":"sha512-/U8eqPJL2wBy8fBWqG4p8Smzdu3HUhlX2BETkJDrNkoOq9yELjs1V8Zw5rroEVXPE+nE5ELOWV2FF+IG061oeA=="},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb-1.0.3.tgz_1512617111386_0.0725867385044694"},"directories":{},"publish_time":1512617111502,"_hasShrinkwrap":false,"_cnpm_publish_time":1512617111502,"_cnpmcore_publish_time":"2021-12-16T15:05:36.977Z"},"1.1.3":{"name":"vue-print-nb","version":"1.1.3","description":"Vue plug-in, print! Good!","main":"lib/tag-textarea.umd.min.js","author":{"name":"Power-kxLee"},"private":false,"license":"MIT","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","lib":"vue-cli-service build --target lib --name tag-textarea --dest lib src/index.js"},"dependencies":{"core-js":"^2.6.5","vue":"^2.6.10"},"devDependencies":{"@vue/cli-plugin-babel":"^3.8.0","@vue/cli-plugin-eslint":"^3.8.0","@vue/cli-service":"^3.8.0","babel-eslint":"^10.0.1","eslint":"^5.16.0","eslint-plugin-vue":"^5.0.0","vue-template-compiler":"^2.6.10"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"rules":{},"parserOptions":{"parser":"babel-eslint"}},"postcss":{"plugins":{"autoprefixer":{}}},"browserslist":["> 1%","last 2 versions"],"_id":"vue-print-nb@1.1.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"dist":{"shasum":"74b29df20ab23825bb44b2039efa8ebdc376560f","size":55623,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.1.3.tgz","integrity":"sha512-xfUDly3u7TOHggBQ1zKn/zSfYqZvKyPUNrZc2EcPiZgPVq+SxQPJHPNTS0QW8tPTSvhLGfhbJg1VLvUvmRGohg=="},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb_1.1.3_1559814197241_0.20956028709371166"},"_hasShrinkwrap":false,"publish_time":1559814197423,"_cnpm_publish_time":1559814197423,"_cnpmcore_publish_time":"2021-12-16T15:05:36.783Z"},"1.2.0":{"name":"vue-print-nb","version":"1.2.0","description":"Vue plug-in, print! Good!","main":"lib/tag-textarea.umd.min.js","author":{"name":"Power-kxLee"},"private":false,"license":"MIT","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","lib":"vue-cli-service build --target lib --name tag-textarea --dest lib src/index.js"},"dependencies":{"core-js":"^2.6.5","vue":"^2.6.10"},"devDependencies":{"@vue/cli-plugin-babel":"^3.8.0","@vue/cli-plugin-eslint":"^3.8.0","@vue/cli-service":"^3.8.0","babel-eslint":"^10.0.1","eslint":"^5.16.0","eslint-plugin-vue":"^5.0.0","vue-template-compiler":"^2.6.10"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"rules":{},"parserOptions":{"parser":"babel-eslint"}},"postcss":{"plugins":{"autoprefixer":{}}},"browserslist":["> 1%","last 2 versions"],"gitHead":"d723fc16a1e7f30142b3ba9f87de6001a98c2ec2","_id":"vue-print-nb@1.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"dist":{"shasum":"79e97cba815ffe55efb7eda5d590af0322b78ee2","size":57930,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.2.0.tgz","integrity":"sha512-2z5qWAjs08coD+PdAq6Q22MVZNXlh9yPlZmAcnxuTNmSvRQYH9zy6i5Vwnnfz7Gve/iiE6/UWN8MLayDPoMFBw=="},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb_1.2.0_1559836438729_0.11585774449723285"},"_hasShrinkwrap":false,"publish_time":1559836438821,"_cnpm_publish_time":1559836438821,"_cnpmcore_publish_time":"2021-12-16T15:05:36.468Z"},"1.3.0":{"name":"vue-print-nb","version":"1.3.0","description":"Vue plug-in, print! Good!","main":"lib/tag-textarea.umd.min.js","author":{"name":"Power-kxLee"},"private":false,"license":"MIT","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","lib":"vue-cli-service build --target lib --name tag-textarea --dest lib src/index.js"},"dependencies":{"core-js":"^2.6.5","vue":"^2.6.10"},"devDependencies":{"@vue/cli-plugin-babel":"^3.8.0","@vue/cli-plugin-eslint":"^3.8.0","@vue/cli-service":"^3.8.0","babel-eslint":"^10.0.1","eslint":"^5.16.0","eslint-plugin-vue":"^5.0.0","vue-template-compiler":"^2.6.10"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"rules":{},"parserOptions":{"parser":"babel-eslint"}},"postcss":{"plugins":{"autoprefixer":{}}},"browserslist":["> 1%","last 2 versions"],"gitHead":"443dbd44be693cf9730e098c5349d4a885fc992e","_id":"vue-print-nb@1.3.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"dist":{"shasum":"4d2a18d398acebe37b055560c93421b760260e48","size":57997,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.3.0.tgz","integrity":"sha512-8SCxz7Z5hWa5UgP8VxSqtRXFuGdGioHWcJSmYYjUDY7H8VglbF+HwY7DGwYHVCdG8gG0v92NWPLiH5l8m+F3Sg=="},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb_1.3.0_1560590640364_0.30224821006149294"},"_hasShrinkwrap":false,"publish_time":1560590640453,"_cnpm_publish_time":1560590640453,"_cnpmcore_publish_time":"2021-12-16T15:05:36.137Z"},"1.4.0":{"name":"vue-print-nb","version":"1.4.0","description":"Vue plug-in, print! Good!","main":"lib/tag-textarea.umd.min.js","author":{"name":"Power-kxLee"},"private":false,"license":"MIT","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","lib":"vue-cli-service build --target lib --name tag-textarea --dest lib src/index.js"},"dependencies":{"core-js":"^2.6.5","qrcodejs2":"0.0.2","vue":"^2.6.10"},"devDependencies":{"@vue/cli-plugin-babel":"^3.8.0","@vue/cli-plugin-eslint":"^3.8.0","@vue/cli-service":"^3.8.0","babel-eslint":"^10.0.1","eslint":"^5.16.0","eslint-plugin-vue":"^5.0.0","vue-template-compiler":"^2.6.10"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"rules":{},"parserOptions":{"parser":"babel-eslint"}},"postcss":{"plugins":{"autoprefixer":{}}},"browserslist":["> 1%","last 2 versions"],"gitHead":"141bb345da26c4deac2b821ee3472037ff26e226","_id":"vue-print-nb@1.4.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"dist":{"shasum":"8fb8a0fc1962c92300c704be7afcd292449088e3","size":58140,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.4.0.tgz","integrity":"sha512-oxXZszEXTCaW1/O60Ou1jSKgHE/RLwOSwU0ypbTsyjyODxTeZSWMHz80Ov90eEijTKlHUElgBiS879q+wDOQtQ=="},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb_1.4.0_1565514107133_0.2503173126372753"},"_hasShrinkwrap":false,"publish_time":1565514107489,"_cnpm_publish_time":1565514107489,"_cnpmcore_publish_time":"2021-12-16T15:05:35.778Z"},"1.5.0":{"name":"vue-print-nb","version":"1.5.0","description":"Vue plug-in, print! Good!","main":"lib/tag-textarea.umd.min.js","author":{"name":"Power-kxLee"},"private":false,"license":"MIT","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","lib":"vue-cli-service build --target lib --name tag-textarea --dest lib src/index.js"},"dependencies":{"core-js":"^2.6.5","echarts":"^4.6.0","qrcodejs2":"0.0.2","vue":"^2.6.10"},"devDependencies":{"@vue/cli-plugin-babel":"^3.8.0","@vue/cli-plugin-eslint":"^3.8.0","@vue/cli-service":"^3.8.0","babel-eslint":"^10.0.1","eslint":"^5.16.0","eslint-plugin-vue":"^5.0.0","vue-template-compiler":"^2.6.10"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"rules":{},"parserOptions":{"parser":"babel-eslint"}},"postcss":{"plugins":{"autoprefixer":{}}},"browserslist":["> 1%","last 2 versions"],"gitHead":"6a6a02e63f167a2feac2648c86edf0958a8f6195","_id":"vue-print-nb@1.5.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"shasum":"b2af7fa2923ffe69ab4e98586e0037e993813161","size":385384,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.5.0.tgz","integrity":"sha512-bBs0V4EANm2dbcA5zntChfFWns4/jM/b8Cp8WzRvoeaOUTrkD5R1cH20oLTCvwN60ZLIlcREtbkah4sP+uLhWg=="},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb_1.5.0_1578991671482_0.36125556298970785"},"_hasShrinkwrap":false,"publish_time":1578991671648,"_cnpm_publish_time":1578991671648,"_cnpmcore_publish_time":"2021-12-16T15:05:35.430Z"},"1.6.0":{"name":"vue-print-nb","version":"1.6.0","description":"Vue plug-in, print! Good!","main":"lib/print.umd.min.js","author":{"name":"Power-kxLee"},"private":false,"license":"MIT","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","lib":"vue-cli-service build --target lib --name print --dest lib print/index.js"},"dependencies":{"core-js":"^3.6.5","echarts":"^5.0.2","qrcodejs2":"0.0.2","vue":"^2.6.11"},"devDependencies":{"@vue/cli-plugin-babel":"~4.5.0","@vue/cli-plugin-eslint":"~4.5.0","@vue/cli-service":"~4.5.0","babel-eslint":"^10.1.0","eslint":"^6.7.2","eslint-plugin-vue":"^6.2.2","vue-template-compiler":"^2.6.11"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"},"rules":{}},"browserslist":["> 1%","last 2 versions","not dead"],"gitHead":"2086ead43c1cbf1627b6ecfbe86286a9f91d4c77","_id":"vue-print-nb@1.6.0","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"shasum":"845e5dbeb7e8a34fad71e625890e03f10c77f7a9","size":187832,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.6.0.tgz","integrity":"sha512-qxhw/b5djaBMRiBWwkZeISBOAgWmCekS/ShfCpO/HG1uUgchyLP/KTDUO5MaaHY147M5DC2Dox1mzhgm038OSA=="},"_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"directories":{},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb_1.6.0_1614355525928_0.9441996861985489"},"_hasShrinkwrap":false,"publish_time":1614355526344,"_cnpm_publish_time":1614355526344,"_cnpmcore_publish_time":"2021-12-16T15:05:34.229Z"},"1.6.1":{"name":"vue-print-nb","version":"1.6.1","description":"Vue plug-in, print! Good!","main":"lib/print.umd.min.js","author":{"name":"Power-kxLee"},"private":false,"license":"MIT","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","lib":"vue-cli-service build --target lib --name print --dest lib print/index.js"},"dependencies":{"vue":"^2.6.11"},"devDependencies":{"core-js":"^3.6.5","echarts":"^5.0.2","qrcodejs2":"0.0.2","@vue/cli-plugin-babel":"~4.5.0","@vue/cli-plugin-eslint":"~4.5.0","@vue/cli-service":"~4.5.0","babel-eslint":"^10.1.0","eslint":"^6.7.2","eslint-plugin-vue":"^6.2.2","vue-template-compiler":"^2.6.11"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"},"rules":{}},"browserslist":["> 1%","last 2 versions","not dead"],"gitHead":"06b9daca5ba9ff699193dd7064ad4058bc024a2a","_id":"vue-print-nb@1.6.1","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"765d9a3c6372a8afd57e0a1917781bbe21d27858","size":240283,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.6.1.tgz","integrity":"sha512-9xEQ76PJPXuBoc07vXqrXodsT+/Wkb7bf25VI8YPGifR3leriWmUeYyQ0L04h2pkQZpGBNyjfEge+bzbLOgmig=="},"_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"directories":{},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb_1.6.1_1620637591040_0.06464692520660553"},"_hasShrinkwrap":false,"publish_time":1620637591301,"_cnpm_publish_time":1620637591301,"_cnpmcore_publish_time":"2021-12-16T15:05:33.073Z"},"1.6.2":{"name":"vue-print-nb","version":"1.6.2","description":"Vue plug-in, print! Good!","main":"lib/print.umd.min.js","author":{"name":"Power-kxLee"},"private":false,"license":"MIT","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","lib":"vue-cli-service build --target lib --name print --dest lib print/index.js"},"dependencies":{"vue":"^2.6.11"},"devDependencies":{"core-js":"^3.6.5","echarts":"^5.0.2","qrcodejs2":"0.0.2","@vue/cli-plugin-babel":"~4.5.0","@vue/cli-plugin-eslint":"~4.5.0","@vue/cli-service":"~4.5.0","babel-eslint":"^10.1.0","eslint":"^6.7.2","eslint-plugin-vue":"^6.2.2","vue-template-compiler":"^2.6.11"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"},"rules":{}},"browserslist":["> 1%","last 2 versions","not dead"],"gitHead":"1522ca06140aa7a87eec48f15aca89d0e1f1f30e","_id":"vue-print-nb@1.6.2","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"2b4527620642ea4f4d5973f3b891f18ccffd9309","size":240324,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.6.2.tgz","integrity":"sha512-3jw9U7KApHep6VWAzN3hhZqyAJYWdBzBUEfKx1ZUixN5H9uwK7RhCEpRcDkDi+3vkQQwIOyu0Um3DAUNkI56fg=="},"_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"directories":{},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb_1.6.2_1620713332187_0.5873164798556076"},"_hasShrinkwrap":false,"publish_time":1620713332407,"_cnpm_publish_time":1620713332407,"_cnpmcore_publish_time":"2021-12-16T15:05:32.336Z"},"1.6.3":{"name":"vue-print-nb","version":"1.6.3","description":"Vue plug-in, print! Good!","main":"lib/print.umd.min.js","author":{"name":"Power-kxLee"},"private":false,"license":"MIT","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","lib":"vue-cli-service build --target lib --name print --dest lib print/index.js"},"dependencies":{"vue":"^2.6.11"},"devDependencies":{"core-js":"^3.6.5","echarts":"^5.0.2","qrcodejs2":"0.0.2","@vue/cli-plugin-babel":"~4.5.0","@vue/cli-plugin-eslint":"~4.5.0","@vue/cli-service":"~4.5.0","babel-eslint":"^10.1.0","eslint":"^6.7.2","eslint-plugin-vue":"^6.2.2","vue-template-compiler":"^2.6.11"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"},"rules":{}},"browserslist":["> 1%","last 2 versions","not dead"],"gitHead":"1522ca06140aa7a87eec48f15aca89d0e1f1f30e","_id":"vue-print-nb@1.6.3","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"8c214d313c12113c1024a88b692df3a8bae01464","size":240351,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.6.3.tgz","integrity":"sha512-zn1EcHiIGs93bSKKbWSHHTEP7IDHeIM64sxHjQyK3XLtANLEjQ8S7BuCFL0mP2j7BLua9qSRwmNiRJCB/fjKOA=="},"_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"directories":{},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb_1.6.3_1620721146182_0.6310202496364028"},"_hasShrinkwrap":false,"publish_time":1620721146409,"_cnpm_publish_time":1620721146409,"_cnpmcore_publish_time":"2021-12-16T15:05:31.140Z"},"1.7.0":{"name":"vue-print-nb","version":"1.7.0","description":"Vue plug-in, print! Good!","main":"lib/print.umd.min.js","author":{"name":"Power-kxLee"},"private":false,"license":"MIT","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","lib":"vue-cli-service build --target lib --name print --dest lib print/index.js"},"dependencies":{"vue":"^2.6.11"},"devDependencies":{"vue-router":"^3.5.1","core-js":"^3.6.5","echarts":"^5.0.2","qrcodejs2":"0.0.2","@vue/cli-plugin-babel":"~4.5.0","@vue/cli-plugin-eslint":"~4.5.0","@vue/cli-service":"~4.5.0","babel-eslint":"^10.1.0","eslint":"^6.7.2","eslint-plugin-vue":"^6.2.2","vue-template-compiler":"^2.6.11"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"},"rules":{}},"browserslist":["> 1%","last 2 versions","not dead"],"gitHead":"a78dee61962d20052adf51f54f846c0617718b8e","_id":"vue-print-nb@1.7.0","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"96935d708ad002cec2a01ceeea3be894a41e192a","size":292785,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.7.0.tgz","integrity":"sha512-KM8Bdk5KBEpolMF8IbfRPMbyO17ddZuZmWF8uao1fv6IdKOc0SKAVNeuqQWwFmQmCqN/Kn30BaFFKBljgez22Q=="},"_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"directories":{},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb_1.7.0_1620868718563_0.21781784806933313"},"_hasShrinkwrap":false,"publish_time":1620868718780,"_cnpm_publish_time":1620868718780,"_cnpmcore_publish_time":"2021-12-16T15:05:30.434Z"},"1.7.1":{"name":"vue-print-nb","version":"1.7.1","description":"Vue plug-in, print! Good!","main":"lib/print.umd.min.js","author":{"name":"Power-kxLee"},"private":false,"license":"MIT","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","lib":"vue-cli-service build --target lib --name print --dest lib print/index.js"},"dependencies":{"vue":"^2.6.11"},"devDependencies":{"vue-router":"^3.5.1","core-js":"^3.6.5","echarts":"^5.0.2","qrcodejs2":"0.0.2","@vue/cli-plugin-babel":"~4.5.0","@vue/cli-plugin-eslint":"~4.5.0","@vue/cli-service":"~4.5.0","babel-eslint":"^10.1.0","eslint":"^6.7.2","eslint-plugin-vue":"^6.2.2","vue-template-compiler":"^2.6.11"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"},"rules":{}},"browserslist":["> 1%","last 2 versions","not dead"],"gitHead":"24e61b36ce2e0fc701d34539baf55a7fde283104","_id":"vue-print-nb@1.7.1","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"a1848a2e812c4a6f826702355199d6a87a49b00b","size":292895,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.7.1.tgz","integrity":"sha512-nYVBRlgD3dnGw0qP+trDn9+tnCUqpw6ar0aOBXrEm0VvpQbI8zzanzklCbygF1JvAAeIe34+Bz9z7tHsnhsGEQ=="},"_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"directories":{},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb_1.7.1_1620958610548_0.7423253877799145"},"_hasShrinkwrap":false,"publish_time":1620958610740,"_cnpm_publish_time":1620958610740,"_cnpmcore_publish_time":"2021-12-16T15:05:29.597Z"},"1.7.2":{"name":"vue-print-nb","version":"1.7.2","description":"Vue plug-in, print! Good!","main":"lib/print.umd.min.js","author":{"name":"Power-kxLee"},"private":false,"license":"MIT","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","lib":"vue-cli-service build --target lib --name print --dest lib print/index.js"},"dependencies":{"vue":"^2.6.11"},"devDependencies":{"vue-router":"^3.5.1","core-js":"^3.6.5","echarts":"^5.0.2","qrcodejs2":"0.0.2","@vue/cli-plugin-babel":"~4.5.0","@vue/cli-plugin-eslint":"~4.5.0","@vue/cli-service":"~4.5.0","babel-eslint":"^10.1.0","eslint":"^6.7.2","eslint-plugin-vue":"^6.2.2","vue-template-compiler":"^2.6.11"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"},"rules":{}},"browserslist":["> 1%","last 2 versions","not dead"],"gitHead":"6dc4c42b755b026d460778703ac96e7c88007083","_id":"vue-print-nb@1.7.2","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"124b545474ca68e58c17858ac93ae4062af22192","size":293085,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.7.2.tgz","integrity":"sha512-D+YCNYaPlmq3E8pYBjB+hcwzggRlqgxFZu1QEohGLuZm2Qi0kqLYeJbUxDAwvhqWCACSoTTbaq/5Vvdqbpbk/g=="},"_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"directories":{},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb_1.7.2_1620959851723_0.9357722556132912"},"_hasShrinkwrap":false,"publish_time":1620959851926,"_cnpm_publish_time":1620959851926,"_cnpmcore_publish_time":"2021-12-16T15:05:28.834Z"},"1.7.3":{"name":"vue-print-nb","version":"1.7.3","description":"Vue plug-in, print! Good!","main":"lib/print.umd.min.js","author":{"name":"Power-kxLee"},"private":false,"license":"MIT","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","lib":"vue-cli-service build --target lib --name print --dest lib print/index.js"},"dependencies":{"vue":"^2.6.11"},"devDependencies":{"vue-router":"^3.5.1","core-js":"^3.6.5","echarts":"^5.0.2","qrcodejs2":"0.0.2","@vue/cli-plugin-babel":"~4.5.0","@vue/cli-plugin-eslint":"~4.5.0","@vue/cli-service":"~4.5.0","babel-eslint":"^10.1.0","eslint":"^6.7.2","eslint-plugin-vue":"^6.2.2","vue-template-compiler":"^2.6.11"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"},"rules":{}},"browserslist":["> 1%","last 2 versions","not dead"],"gitHead":"c5e96266dabb95e4febbf54ba9bbe9c83bc7c84e","_id":"vue-print-nb@1.7.3","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"4d5b8ff8413a1e98a40b9bedbb47b38cce6e150c","size":293207,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.7.3.tgz","integrity":"sha512-B9m/PD8F8HpOe10IsyJWwhjy8k36+kyu0h3xSfQoJp4GSHubANlri864llp0N/nysvtKaWE3MxrPOhBz1TQMGA=="},"_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"directories":{},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb_1.7.3_1620960585439_0.42028776919382493"},"_hasShrinkwrap":false,"publish_time":1620960585640,"_cnpm_publish_time":1620960585640,"_cnpmcore_publish_time":"2021-12-16T15:05:27.927Z"},"1.7.4":{"name":"vue-print-nb","version":"1.7.4","description":"Vue plug-in, print! Good!","main":"lib/print.umd.min.js","author":{"name":"Power-kxLee"},"private":false,"license":"MIT","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","lib":"vue-cli-service build --target lib --name print --dest lib print/index.js"},"dependencies":{"vue":"^2.6.11"},"devDependencies":{"vue-router":"^3.5.1","core-js":"^3.6.5","echarts":"^5.0.2","qrcodejs2":"0.0.2","@vue/cli-plugin-babel":"~4.5.0","@vue/cli-plugin-eslint":"~4.5.0","@vue/cli-service":"~4.5.0","babel-eslint":"^10.1.0","eslint":"^6.7.2","eslint-plugin-vue":"^6.2.2","vue-template-compiler":"^2.6.11"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"},"rules":{}},"browserslist":["> 1%","last 2 versions","not dead"],"gitHead":"cfb1365b6d33ea0b4071dca8af2a9067f8850b61","_id":"vue-print-nb@1.7.4","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"5a9162b0d96972b401347e60738592b5a4e42109","size":293221,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.7.4.tgz","integrity":"sha512-Z3wLg8xQN5uW8OXnM77ui/shPfU56T04UO2erLv8qCkud2ZcrV4rUodLBBuxsEGVzRlgOUuiJ0/l370GNTIKKg=="},"_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"directories":{},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb_1.7.4_1621496455101_0.47562112969084835"},"_hasShrinkwrap":false,"publish_time":1621496455330,"_cnpm_publish_time":1621496455330,"_cnpmcore_publish_time":"2021-12-16T15:05:26.556Z"},"1.7.5":{"name":"vue-print-nb","version":"1.7.5","description":"Vue plug-in, print! Good!","main":"lib/print.umd.min.js","author":{"name":"Power-kxLee"},"private":false,"license":"MIT","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","lib":"vue-cli-service build --target lib --name print --dest lib print/index.js"},"dependencies":{"vue":"^2.6.11"},"devDependencies":{"@vue/cli-plugin-babel":"~4.5.0","@vue/cli-plugin-eslint":"~4.5.0","@vue/cli-service":"~4.5.0","babel-eslint":"^10.1.0","core-js":"^3.6.5","echarts":"^5.0.2","element-ui":"^2.15.5","eslint":"^6.7.2","eslint-plugin-vue":"^6.2.2","less":"^3.9.0","less-loader":"^4.1.0","qrcodejs2":"0.0.2","sass":"^1.32.8","sass-loader":"^7.3.1","vue-router":"^3.5.1","vue-template-compiler":"^2.6.11"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"},"rules":{}},"browserslist":["> 1%","last 2 versions","not dead"],"gitHead":"933c5a9658bf197d8c4adf97eaf27b10f13757ad","_id":"vue-print-nb@1.7.5","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"0eaaf9317c233028458e8dbe8aa76603fef63b95","size":954871,"noattachment":false,"tarball":"http://tools.bpmhome.cn:8082/nexus/repository/npm-lc/vue-print-nb/-/vue-print-nb-1.7.5.tgz","integrity":"sha512-iNbNyUVRWz0Ha1UTiCKxMPtHLUDGgNI8e8xmD3xqm9RlXIUeX9bT7DgNAfY8vPzqyFRHqGjxLI1rycKH366ziQ=="},"_npmUser":{"name":"leechiji","email":"578242325@qq.com"},"directories":{},"maintainers":[{"name":"leechiji","email":"578242325@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-print-nb_1.7.5_1629968778582_0.43576118176842416"},"_hasShrinkwrap":false,"publish_time":1629968778777,"_cnpm_publish_time":1629968778777,"_cnpmcore_publish_time":"2021-12-16T15:05:25.155Z"}},"author":{"name":"Power-kxLee"},"name":"vue-print-nb","description":"","readme":"# vue-print-nb\r\n\r\nThis is a directive wrapper for printed, Simple, fast, convenient, light.\r\n<!-- TOC -->\r\n\r\n- [vue-print-nb](#vue-print-nb)\r\n  - [Install](#install)\r\n    - [Vue2 Version:](#vue2-version)\r\n    - [Vue3 Version:](#vue3-version)\r\n  - [Description](#description)\r\n  - [Usage Method:](#usage-method)\r\n    - [Print the entire page:](#print-the-entire-page)\r\n    - [Print local range:](#print-local-range)\r\n    - [Print local range More:](#print-local-range-more)\r\n    - [Print URL:](#print-url)\r\n    - [Print Preview](#print-preview)\r\n      - [Print Url Preview:](#print-url-preview)\r\n      - [Print local range Preview](#print-local-range-preview)\r\n    - [Print Async Url](#print-async-url)\r\n  - [v-print API](#v-print-api)\r\n\r\n<!-- /TOC -->\r\n## Install\r\n\r\n[在线DEMO](https://power-kxlee.github.io/vue-print-nb/dist/index.html)\r\n\r\n[ONLINE DEMO](https://power-kxlee.github.io/vue-print-nb/dist/index.html)\r\n\r\n### Vue2 Version:\r\n```bash\r\nnpm install vue-print-nb --save\r\n```\r\n\r\n\r\n```javascript\r\nimport Print from 'vue-print-nb'\r\n// Global instruction \r\nVue.use(Print);\r\n\r\n//or\r\n\r\n// Local instruction\r\nimport print from 'vue-print-nb'\r\n\r\ndirectives: {\r\n    print   \r\n}\r\n\r\n```\r\n### Vue3 Version:\r\n```bash\r\nnpm install vue3-print-nb --save\r\n```\r\n\r\n```javascript\r\n// Global instruction \r\nimport { createApp } from 'vue'\r\nimport App from './App.vue'\r\nimport print from 'vue3-print-nb'\r\nconst app = createApp(App)\r\napp.use(print)\r\napp.mount('#app')\r\n\r\n//or\r\n\r\n// Local instruction\r\nimport print from 'vue3-print-nb'\r\n\r\ndirectives: {\r\n    print   \r\n}\r\n```\r\n\r\n\r\n![](https://github.com/Power-kxLee/vue-print-nb/blob/master/src/img/Chrome.png)\r\n\r\n## Description\r\n\r\nSupport two printing methods, direct printing page HTML, and printing URL\r\n\r\nIt's easy to use, Support Vue compatible browser version\r\n\r\n\r\n## Usage Method:\r\n\r\n### Print the entire page:\r\n\r\n```\r\n<button v-print>Print the entire page</button>\r\n```\r\n\r\n\r\n### Print local range:\r\n\r\nHTML:\r\n```\r\n    <div id=\"printMe\" style=\"background:red;\">\r\n        <p>葫芦娃，葫芦娃</p>\r\n        <p>一根藤上七朵花 </p>\r\n        <p>小小树藤是我家 啦啦啦啦 </p>\r\n        <p>叮当当咚咚当当　浇不大</p>\r\n        <p> 叮当当咚咚当当 是我家</p>\r\n        <p> 啦啦啦啦</p>\r\n        <p>...</p>\r\n    </div>\r\n\r\n    <button v-print=\"'#printMe'\">Print local range</button>\r\n```\r\nPass in a string type directly\r\n* `id`: ID of local print range\r\n\r\n### Print local range More:\r\nHTML:\r\n```\r\n <button v-print=\"printObj\">Print local range</button><div id=\"loading\" v-show=\"printLoading\"></div>\r\n \r\n  <div id=\"printMe\" style=\"background:red;\">\r\n        <p>葫芦娃，葫芦娃</p>\r\n        <p>一根藤上七朵花 </p>\r\n        <p>小小树藤是我家 啦啦啦啦 </p>\r\n        <p>叮当当咚咚当当　浇不大</p>\r\n        <p> 叮当当咚咚当当 是我家</p>\r\n        <p> 啦啦啦啦</p>\r\n        <p>...</p>\r\n    </div>\r\n```\r\nJavaScript:\r\n```\r\nexport default {\r\n    data() {\r\n        return {\r\n           printLoading: true,\r\n            printObj: {\r\n              id: \"printMe\",\r\n              popTitle: 'good print',\r\n              extraCss: \"https://cdn.bootcdn.net/ajax/libs/animate.css/4.1.1/animate.compat.css, https://cdn.bootcdn.net/ajax/libs/hover.css/2.3.1/css/hover-min.css\",\r\n              extraHead: '<meta http-equiv=\"Content-Language\"content=\"zh-cn\"/>',\r\n              beforeOpenCallback (vue) {\r\n                vue.printLoading = true\r\n                console.log('打开之前')\r\n              },\r\n              openCallback (vue) {\r\n                vue.printLoading = false\r\n                console.log('执行了打印')\r\n              },\r\n              closeCallback (vue) {\r\n                console.log('关闭了打印工具')\r\n              }\r\n            }\r\n        };\r\n    }\r\n}\r\n```\r\nYou can also pass in an object type `Objcet`\r\n\r\n\r\n### Print URL:\r\n\r\nIf you need to print the specified URL, you can use the following method:\r\n(Ensure that your URL is the same source policy)\r\n\r\nHTML:\r\n```\r\n <button v-print=\"printObj\">Print local range</button>\r\n```\r\n\r\nJavaScript:\r\n```\r\nexport default {\r\n    data() {\r\n        return {\r\n            printObj: {\r\n              url: 'http://localhost:8080/'\r\n              beforeOpenCallback (vue) {\r\n                console.log('打开之前')\r\n              },\r\n              openCallback (vue) {\r\n                console.log('执行了打印')\r\n              },\r\n              closeCallback (vue) {\r\n                console.log('关闭了打印工具')\r\n              }\r\n            }\r\n        };\r\n    }\r\n}\r\n```\r\n\r\n### Print Preview\r\nSupport print preview, pass in` preview:true `, All printing methods are supported\r\n\r\n#### Print Url Preview:\r\n\r\nHTML:\r\n```\r\n <button v-print=\"printObj\">Print local range</button>\r\n```\r\n\r\nJavaScript:\r\n```\r\nexport default {\r\n    data() {\r\n        return {\r\n            \r\n            printObj: {\r\n              url: 'http://localhost:8080/'\r\n              preview: true,\r\n              previewTitle: 'Test Title', // The title of the preview window. The default is 打印预览\r\n              previewBeforeOpenCallback (vue) {\r\n                console.log('正在加载预览窗口')\r\n              },\r\n              previewOpenCallback (vue) {\r\n                console.log('已经加载完预览窗口')\r\n              },\r\n              beforeOpenCallback (vue) {\r\n                console.log('打开之前')\r\n              },\r\n              openCallback (vue) {\r\n                console.log('执行了打印')\r\n              },\r\n              closeCallback (vue) {\r\n                console.log('关闭了打印工具')\r\n              }\r\n            }\r\n        };\r\n    }\r\n}\r\n```\r\n![](2021-05-12-18-28-08.png)\r\n\r\n\r\n#### Print local range Preview\r\nHTML:\r\n```\r\n <button v-print=\"printObj\">Print local range</button><div id=\"loading\" v-show=\"printLoading\"></div>\r\n \r\n  <div id=\"printMe\" style=\"background:red;\">\r\n        <p>葫芦娃，葫芦娃</p>\r\n        <p>一根藤上七朵花 </p>\r\n        <p>小小树藤是我家 啦啦啦啦 </p>\r\n        <p>叮当当咚咚当当　浇不大</p>\r\n        <p> 叮当当咚咚当当 是我家</p>\r\n        <p> 啦啦啦啦</p>\r\n        <p>...</p>\r\n    </div>\r\n```\r\nJavaScript:\r\n```\r\nexport default {\r\n    data() {\r\n        return {\r\n           printLoading: true,\r\n            printObj: {\r\n              id: \"printMe\",\r\n              preview: true,\r\n              previewTitle: 'print Title', // The title of the preview window. The default is 打印预览\r\n              popTitle: 'good print',\r\n              extraCss: \"https://cdn.bootcdn.net/ajax/libs/animate.css/4.1.1/animate.compat.css, https://cdn.bootcdn.net/ajax/libs/hover.css/2.3.1/css/hover-min.css\",\r\n              extraHead: '<meta http-equiv=\"Content-Language\"content=\"zh-cn\"/>',\r\n              previewBeforeOpenCallback (vue) {\r\n                console.log('正在加载预览窗口')\r\n              },\r\n              previewOpenCallback (vue) {\r\n                console.log('已经加载完预览窗口')\r\n              },\r\n              beforeOpenCallback (vue) {\r\n                vue.printLoading = true\r\n                console.log('打开之前')\r\n              },\r\n              openCallback (vue) {\r\n                vue.printLoading = false\r\n                console.log('执行了打印')\r\n              },\r\n              closeCallback (vue) {\r\n                console.log('关闭了打印工具')\r\n              }\r\n            }\r\n        };\r\n    }\r\n}\r\n```\r\n\r\n![](2021-05-12-18-28-56.png)\r\n\r\n### Print Async Url\r\n\r\nPerhaps, your URL is obtained asynchronously. You can use the following method\r\n\r\nHTML:\r\n```\r\n <button v-print=\"printObj\">Print local range</button>\r\n```\r\n\r\nJavaScript:\r\n```\r\nexport default {\r\n    data() {\r\n        return {\r\n            printObj: {\r\n              asyncUrl (reslove, vue) {\r\n                setTimeout(() => {\r\n                  reslove('http://localhost:8080/')\r\n                }, 2000)\r\n              },\r\n              previewBeforeOpenCallback (vue) {\r\n                console.log('正在加载预览窗口')\r\n              },\r\n              previewOpenCallback (vue) {\r\n                console.log('已经加载完预览窗口')\r\n              },\r\n              beforeOpenCallback (vue) {\r\n                console.log('打开之前')\r\n              },\r\n              openCallback (vue) {\r\n                console.log('执行了打印')\r\n              },\r\n              closeCallback (vue) {\r\n                console.log('关闭了打印工具')\r\n              }\r\n            }\r\n        };\r\n    }\r\n}\r\n```\r\nFinally, use `reslove()` to return your URL\r\n\r\n\r\n## v-print API\r\n\r\n| Parame                    | Explain                                                                                                 | Type          | OptionalValue                                     | DefaultValue |\r\n| ------------------------- | ------------------------------------------------------------------------------------------------------- | ------------- | ------------------------------------------------- | ------------ |\r\n| id                        | Range print ID, required value                                                                          | String        | —                                                 | —            |\r\n| standard                  | Document type (Print local range only)                                                                  | String        | html5/loose/strict                                | html5        |\r\n| extraHead                 | `<head></head>`Add DOM nodes in the node, and separate multiple nodes with `,` (Print local range only) | String        | —                                                 | —            |\r\n| extraCss                  | `<link>` New CSS style sheet , and separate multiple nodes with `,`(Print local range only)             | String        | —                                                 | -            |\r\n| popTitle                  | `<title></title>` Content of label (Print local range only)                                             | String        | —                                                 | -            |\r\n| openCallback              | Call the successful callback function of the printing tool                                              | Function      | Returns the instance of `Vue` called at that time | -            |\r\n| closeCallback             | Close the callback function of printing tool success                                                    | Function      | Returns the instance of `Vue` called at that time | -            |\r\n| beforeOpenCallback        | Callback function before calling printing tool                                                          | Function      | Returns the instance of `Vue` called at that time | -            |\r\n| url                       | Print the specified URL. (It is not allowed to set the ID at the same time)                             | string        | -                                                 | -            |\r\n| asyncUrl                  | Return URL through 'resolve()' and Vue                                                                  | Function      | -                                                 | -            |\r\n| preview                   | Preview tool                                                                                            | Boolean       | -                                                 | false        |\r\n| previewTitle              | Preview tool Title                                                                                      | String        | -                                                 | '打印预览'   |\r\n| previewPrintBtnLabel      | The name of the preview tool button                                                                     | String        | -                                                 | '打印'       |\r\n| zIndex                    | CSS of preview tool: z-index                                                                            | String,Number | -                                                 | 20002        |\r\n| previewBeforeOpenCallback | Callback function before starting preview tool                                                          | Function      | Returns the instance of `Vue`                     | -            |\r\n| previewOpenCallback       | Callback function after fully opening preview tool                                                      | Function      | Returns the instance of `Vue`                     | -            |\r\n| clickMounted       | Click the callback function of the print button                                                    | Function      | Returns the instance of `Vue`                     | -            |\r\n\r\n\r\n\r\nLicense：\r\n\r\n[MIT](http://opensource.org/licenses/MIT)","time":{"modified":"2022-03-15T09:18:07.699Z","created":"2022-01-27T15:01:27.350Z","1.0.0":"2017-12-07T02:38:20.733Z","1.0.1":"2017-12-07T03:19:16.297Z","1.0.2":"2017-12-07T03:20:19.545Z","1.0.3":"2017-12-07T03:25:11.502Z","1.1.3":"2019-06-06T09:43:17.423Z","1.2.0":"2019-06-06T15:53:58.821Z","1.3.0":"2019-06-15T09:24:00.453Z","1.4.0":"2019-08-11T09:01:47.489Z","1.5.0":"2020-01-14T08:47:51.648Z","1.6.0":"2021-02-26T16:05:26.344Z","1.6.1":"2021-05-10T09:06:31.301Z","1.6.2":"2021-05-11T06:08:52.407Z","1.6.3":"2021-05-11T08:19:06.409Z","1.7.0":"2021-05-13T01:18:38.780Z","1.7.1":"2021-05-14T02:16:50.740Z","1.7.2":"2021-05-14T02:37:31.926Z","1.7.3":"2021-05-14T02:49:45.640Z","1.7.4":"2021-05-20T07:40:55.330Z","1.7.5":"2021-08-26T09:06:18.777Z"},"readmeFilename":"README.md"}