{"_id":"chimee-plugin-popup","_rev":"1038561","name":"chimee-plugin-popup","description":"PopupPlugin for chimee","dist-tags":{"latest":"0.0.8"},"maintainers":[{"email":"332065255@qq.com","name":"gaoyiyi"},{"email":"huzunjie@pyzy.net","name":"huzunjie"},{"email":"522963130@qq.com","name":"songguangyu"},{"email":"353904974@qq.com","name":"toxicjohann"},{"email":"welefen@gmail.com","name":"welefen"},{"email":"18636404184@163.com","name":"yandeqiang"}],"time":{"modified":"2024-09-14T16:58:33.000Z","created":"2017-07-12T05:14:35.599Z","0.0.8":"2019-10-28T07:35:17.662Z","0.0.7":"2017-12-21T02:51:09.911Z","0.0.6":"2017-11-30T09:45:12.674Z","0.0.5":"2017-11-16T11:59:56.968Z","0.0.4":"2017-11-06T11:46:08.046Z","0.0.3":"2017-08-01T03:28:25.726Z","0.0.2":"2017-07-12T10:24:59.625Z","0.0.1":"2017-07-12T05:14:35.599Z"},"users":{},"author":{"name":"huzunjie"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-plugin-popup.git"},"versions":{"0.0.8":{"name":"chimee-plugin-popup","version":"0.0.8","description":"PopupPlugin for chimee","main":"lib/index.js","module":"lib/index.mjs","jsnext:main":"lib/index.mjs","browser":"lib/index.browser.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-plugin-popup.git"},"keywords":["plugin","chimee","popup","video"],"author":{"name":"huzunjie"},"license":"MIT","bugs":{"url":"https://github.com/Chimeejs/chimee-plugin-popup/issues"},"homepage":"https://github.com/Chimeejs/chimee-plugin-popup#readme","dependencies":{"babel-runtime":"^6.26.0","chimee-helper":"^0.2.8"},"devDependencies":{"babel-eslint":"^8.0.2","babel-jest":"^21.2.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-latest":"^6.24.1","chimee":"^0.6.2","chimee-plugin-controlbar":"^0.3.7","cssnano":"^3.10.0","eslint":"^4.12.1","eslint-plugin-jest":"^21.3.2","identity-obj-proxy":"^3.0.0","jest":"^21.2.1","postcss-nested":"^2.1.2","rollup":"^0.56.5","rollup-plugin-babel":"^3.0.2","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-postcss":"^0.5.5","rollup-plugin-uglify":"^2.0.1"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"moduleNameMapper":{"\\.css$":"identity-obj-proxy"},"transform":{".*":"babel-jest"}},"gitHead":"88fdaf9e48a8cd1469465f31dd9f541dcf5967ea","_id":"chimee-plugin-popup@0.0.8","_nodeVersion":"11.1.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-5fBIZGHfgVzlSgF8DlUbZuPdTNtOank6afWpvtxYPA9WJAsSIl4Tx65+kVTNCWvDwZ/02Hn95Fy3uyTzrx2rHw==","shasum":"9b505e423eab923922a990ba99224d2ec4b2e8e6","tarball":"http://registry-npm.ywwl.com/chimee-plugin-popup/download/chimee-plugin-popup-0.0.8.tgz","fileCount":18,"unpackedSize":270338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtpo1CRA9TVsSAnZWagAAyFcP+wX3rxIoKIZvqYBlM21H\nqWxdOlEWu+78X61TxcAzwx0skgaZ6zQNgx/50BcOqxWCWfz+xlUP7L0dqQJl\n728HYW6xjxVloXzocHf9iP7tx0c6EunwryiigiEMXIU9OBvBGN4/LMp/0rTX\nMeoinLaOmd30a/85t7mHGAjWmWk1bER50dWi1jgRU6Oi28AS7ey7x7AuumqG\nKBUfUPzY1nNkuF/1Z33Xk1tlrryRjcL19Nm9MT5TegBgwiN2vQyeKwKTVk4/\nYazz+LrGqbMCnV5CaVOpnPUoeU/DGcu/DgtwUcgBeR6Jf/UgIQORAtJXq7CL\nhzUASSz70Jp9frDVYaic9d3HTNoXKwYoBZAHKNoigHd68DhspEnZhvXB6Kva\nKBgNUJ+P3ZDW4PKzvagsUXYIG2V0/NpN9RfFEYttCiSjf0uPK4sxR8keRkN1\n6fNkxfdbrXf/WJz0vRnr5qNnsfO2F4PUmAFS3OHynCPxvuhLBmnNxsxefPzB\ntHWbACh+A5n8XXisskIQbe8uCsGOG1Hj51F6k/ZE8H2gBtMAUCX2XI/bpkUs\nOSig0UAeYTJQsar2UsRvsl1AffaqPvk/mCwPICw3/sDNPb+7OUgIuq7dh3yh\na2SwdsfuLPByigEM3lkcxY8HMQWxAdXHlvgYiu+yOGNoIyjPsvPAdYoq7foO\nQGGl\r\n=baoV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4fzUiC1g4OnUzKxDnqlVnv7eu64/5anqabWbvyoqrGQIgTBaTUP5Ct4gLjjp04xYMjtJEYfUrI64E2/blp5b+4ss="}],"size":73522,"noattachment":false,"key":"/chimee-plugin-popup/-/chimee-plugin-popup-0.0.8.tgz"},"maintainers":[{"email":"332065255@qq.com","name":"gaoyiyi"},{"email":"huzunjie@pyzy.net","name":"huzunjie"},{"email":"522963130@qq.com","name":"songguangyu"},{"email":"353904974@qq.com","name":"toxicjohann"},{"email":"welefen@gmail.com","name":"welefen"},{"email":"18636404184@163.com","name":"yandeqiang"}],"_npmUser":{"name":"huzunjie","email":"huzunjie@pyzy.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-plugin-popup_0.0.8_1572248117487_0.0448774294345502"},"_hasShrinkwrap":false,"publish_time":1572248117662,"_cnpm_publish_time":1572248117662},"0.0.7":{"name":"chimee-plugin-popup","version":"0.0.7","description":"PopupPlugin for chimee","main":"lib/index.js","module":"lib/index.mjs","jsnext:main":"lib/index.mjs","browser":"lib/index.browser.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-plugin-popup.git"},"keywords":["plugin","chimee","popup","video"],"author":{"name":"huzunjie"},"license":"MIT","bugs":{"url":"https://github.com/Chimeejs/chimee-plugin-popup/issues"},"homepage":"https://github.com/Chimeejs/chimee-plugin-popup#readme","dependencies":{"babel-runtime":"^6.26.0","chimee-helper":"^0.2.8"},"devDependencies":{"babel-eslint":"^8.0.2","babel-jest":"^21.2.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-latest":"^6.24.1","chimee":"^0.6.2","chimee-plugin-controlbar":"^0.3.7","cssnano":"^3.10.0","eslint":"^4.12.1","eslint-plugin-jest":"^21.3.2","identity-obj-proxy":"^3.0.0","jest":"^21.2.1","postcss-nested":"^2.1.2","rollup":"^0.51.8","rollup-plugin-babel":"^3.0.2","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-postcss":"^0.5.5","rollup-plugin-uglify":"^2.0.1"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"moduleNameMapper":{"\\.css$":"identity-obj-proxy"},"transform":{".*":"babel-jest"}},"gitHead":"c2055ae89333f626c70159cbe92e17d123ffb7b1","_id":"chimee-plugin-popup@0.0.7","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"huzunjie","email":"huzunjie@pyzy.net"},"dist":{"integrity":"sha512-ID602e1wBGXRf+prJvVieNK1JAgowM6txRNLF7I8OEvuh6sJLlj4YwmCOppUl3AovwU3W8/IajbnZQL+YdNswQ==","shasum":"791caf330fbe6f82eff61962112c4e2ad8952549","tarball":"http://registry-npm.ywwl.com/chimee-plugin-popup/download/chimee-plugin-popup-0.0.7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEF1Rc0yrv1Yl+0VYDGcMjKg/asjcPI2VsXLFUXzrDzLAiAOqNG8qqD3LxxVhCterCRgSty20LjHZLvu9vTQZMDmDg=="}],"size":74244,"noattachment":false,"key":"/chimee-plugin-popup/-/chimee-plugin-popup-0.0.7.tgz"},"maintainers":[{"email":"welefen@gmail.com","name":"welefen"},{"email":"522963130@qq.com","name":"songguangyu"},{"email":"18636404184@163.com","name":"yandeqiang"},{"email":"353904974@qq.com","name":"toxicjohann"},{"email":"huzunjie@pyzy.net","name":"huzunjie"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-plugin-popup-0.0.7.tgz_1513824669814_0.8078081104904413"},"directories":{},"publish_time":1513824669911,"_cnpm_publish_time":1513824669911},"0.0.6":{"name":"chimee-plugin-popup","version":"0.0.6","description":"PopupPlugin for chimee","main":"lib/index.js","module":"lib/index.mjs","jsnext:main":"lib/index.mjs","browser":"lib/index.browser.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-plugin-popup.git"},"keywords":["plugin","chimee","popup","video"],"author":{"name":"huzunjie"},"license":"MIT","bugs":{"url":"https://github.com/Chimeejs/chimee-plugin-popup/issues"},"homepage":"https://github.com/Chimeejs/chimee-plugin-popup#readme","dependencies":{"babel-runtime":"^6.26.0","chimee-helper":"^0.2.8"},"devDependencies":{"babel-eslint":"^8.0.2","babel-jest":"^21.2.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-latest":"^6.24.1","chimee":"^0.6.2","chimee-plugin-controlbar":"^0.3.7","cssnano":"^3.10.0","eslint":"^4.12.1","eslint-plugin-jest":"^21.3.2","identity-obj-proxy":"^3.0.0","jest":"^21.2.1","postcss-nested":"^2.1.2","rollup":"^0.51.8","rollup-plugin-babel":"^3.0.2","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-postcss":"^0.5.5","rollup-plugin-uglify":"^2.0.1"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"moduleNameMapper":{"\\.css$":"identity-obj-proxy"},"transform":{".*":"babel-jest"}},"gitHead":"f693acccea6c06eedef81ed684777d9c14454afd","_id":"chimee-plugin-popup@0.0.6","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"huzunjie","email":"huzunjie@pyzy.net"},"dist":{"integrity":"sha512-HUgI/0G1ZB37zsILAnENFG+lyifDIf5tHZWhlMZkF7jyFWP0hikHCl9FICGCUnnhFIGcvhQaxMkdgZHDyMTS8Q==","shasum":"c511c33d1473bba7feec8ec94909f0b24767c059","tarball":"http://registry-npm.ywwl.com/chimee-plugin-popup/download/chimee-plugin-popup-0.0.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID1Nl8wuYTeYdbLIfwYEHBxhmjRpWxmPu1YZr/RgE8PBAiEAmRen4YMBw6edXEr70tyhQZo2gROxGGb8OKbhO4PCNrs="}],"size":74243,"noattachment":false,"key":"/chimee-plugin-popup/-/chimee-plugin-popup-0.0.6.tgz"},"maintainers":[{"email":"welefen@gmail.com","name":"welefen"},{"email":"522963130@qq.com","name":"songguangyu"},{"email":"18636404184@163.com","name":"yandeqiang"},{"email":"353904974@qq.com","name":"toxicjohann"},{"email":"huzunjie@pyzy.net","name":"huzunjie"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-plugin-popup-0.0.6.tgz_1512035112164_0.20739924581721425"},"directories":{},"publish_time":1512035112674,"_cnpm_publish_time":1512035112674},"0.0.5":{"name":"chimee-plugin-popup","version":"0.0.5","description":"PopupPlugin for chimee","main":"lib/index.js","module":"lib/index.mjs","jsnext:main":"lib/index.mjs","browser":"lib/index.browser.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-plugin-popup.git"},"keywords":["plugin","chimee","popup","video"],"author":{"name":"huzunjie"},"license":"MIT","bugs":{"url":"https://github.com/Chimeejs/chimee-plugin-popup/issues"},"homepage":"https://github.com/Chimeejs/chimee-plugin-popup#readme","dependencies":{"babel-runtime":"^6.26.0","chimee-helper":"^0.2.6"},"devDependencies":{"babel-eslint":"^8.0.2","babel-jest":"^21.2.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-latest":"^6.24.1","chimee":"^0.5.1","chimee-plugin-controlbar":"^0.3.5","cssnano":"^3.10.0","eslint":"^4.11.0","eslint-plugin-jest":"^21.3.2","identity-obj-proxy":"^3.0.0","jest":"^21.2.1","postcss-nested":"^2.1.2","rollup":"^0.51.6","rollup-plugin-babel":"^3.0.2","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-postcss":"^0.5.5","rollup-plugin-uglify":"^2.0.1"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"moduleNameMapper":{"\\.css$":"identity-obj-proxy"},"transform":{".*":"babel-jest"}},"gitHead":"80d6eb990da90eb8b920b54125213eeef91b07ad","_id":"chimee-plugin-popup@0.0.5","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"huzunjie","email":"huzunjie@pyzy.net"},"dist":{"integrity":"sha512-/wCzwgINxyFgt+TPvyJGiKpp1rnKRXvnxPWaQboa3gxsB4mPyrMvZqZOC4NZuSt29N/duR28nX7lhUv7MuWVLQ==","shasum":"0c61b00d0bc6ce7a67b0b7390f418bbd7245e1cf","tarball":"http://registry-npm.ywwl.com/chimee-plugin-popup/download/chimee-plugin-popup-0.0.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFufoBZFwSn1HkdDFZ6vbmKhnIoqc9S+iW8ZUcKh0/qMAiAQhrXI4UPsaeZzVSPA8/GoOmy/RfC4sOZc0AjkYEzTfw=="}],"size":73727,"noattachment":false,"key":"/chimee-plugin-popup/-/chimee-plugin-popup-0.0.5.tgz"},"maintainers":[{"email":"welefen@gmail.com","name":"welefen"},{"email":"522963130@qq.com","name":"songguangyu"},{"email":"18636404184@163.com","name":"yandeqiang"},{"email":"353904974@qq.com","name":"toxicjohann"},{"email":"huzunjie@pyzy.net","name":"huzunjie"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-plugin-popup-0.0.5.tgz_1510833596856_0.5879552410915494"},"directories":{},"publish_time":1510833596968,"_cnpm_publish_time":1510833596968},"0.0.4":{"name":"chimee-plugin-popup","version":"0.0.4","description":"PopupPlugin for chimee","main":"lib/index.js","module":"lib/index.mjs","jsnext:main":"lib/index.mjs","browser":"lib/index.browser.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-plugin-popup.git"},"keywords":["plugin","chimee","popup","video"],"author":{"name":"huzunjie"},"license":"ISC","bugs":{"url":"https://github.com/Chimeejs/chimee-plugin-popup/issues"},"homepage":"https://github.com/Chimeejs/chimee-plugin-popup#readme","dependencies":{"babel-runtime":"^6.25.0","chimee-helper":"^0.2.6"},"devDependencies":{"babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-latest":"^6.24.1","chimee":"^0.4.0","chimee-plugin-controlbar":"^0.2.6","cssnano":"^3.10.0","eslint":"^4.3.0","eslint-plugin-jest":"^20.0.3","identity-obj-proxy":"^3.0.0","jest":"^20.0.4","postcss-nested":"^2.1.0","rollup":"^0.45.2","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-postcss":"^0.5.4","rollup-plugin-uglify":"^2.0.1"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"moduleNameMapper":{"\\.css$":"identity-obj-proxy"},"transform":{".*":"babel-jest"}},"gitHead":"45981a383f30a999ca6fbdd18b7c064057c98a4c","_id":"chimee-plugin-popup@0.0.4","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"huzunjie","email":"huzunjie@pyzy.net"},"dist":{"integrity":"sha512-XO/MSIiEiW4jDWNrTSDTUAkLYi5kyuH9HAPgqJkfhK9yGvDgzG/43O/XXx43mmvCSjFMyTyTd6D5ttrP7QDsvQ==","shasum":"f6f199d9a3e739f5c1f05308d9e251a423b821ab","tarball":"http://registry-npm.ywwl.com/chimee-plugin-popup/download/chimee-plugin-popup-0.0.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICJczcQAhY7SYvNnGlPCMcSy8orIuP3pZRD1cgu6rM4GAiBcKEBWxJvofLIkDVbZrbG4hUmVzapTSQRoqwEZHPj/yg=="}],"size":72759,"noattachment":false,"key":"/chimee-plugin-popup/-/chimee-plugin-popup-0.0.4.tgz"},"maintainers":[{"email":"welefen@gmail.com","name":"welefen"},{"email":"522963130@qq.com","name":"songguangyu"},{"email":"18636404184@163.com","name":"yandeqiang"},{"email":"353904974@qq.com","name":"toxicjohann"},{"email":"huzunjie@pyzy.net","name":"huzunjie"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-plugin-popup-0.0.4.tgz_1509968767853_0.544655189383775"},"directories":{},"publish_time":1509968768046,"_cnpm_publish_time":1509968768046},"0.0.3":{"name":"chimee-plugin-popup","version":"0.0.3","description":"PopupPlugin for chimee","main":"lib/index.js","module":"lib/index.mjs","jsnext:main":"lib/index.mjs","browser":"lib/index.browser.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-plugin-popup.git"},"keywords":["plugin","chimee","popup","video"],"author":{"name":"huzunjie"},"license":"ISC","bugs":{"url":"https://github.com/Chimeejs/chimee-plugin-popup/issues"},"homepage":"https://github.com/Chimeejs/chimee-plugin-popup#readme","dependencies":{"babel-runtime":"^6.25.0","chimee-helper":"^0.1.15"},"devDependencies":{"babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-latest":"^6.24.1","chimee":"^0.2.2","chimee-plugin-controlbar":"0.0.9","cssnano":"^3.10.0","eslint":"^4.3.0","eslint-plugin-jest":"^20.0.3","identity-obj-proxy":"^3.0.0","jest":"^20.0.4","postcss-nested":"^2.1.0","rollup":"^0.45.2","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-postcss":"^0.5.4","rollup-plugin-uglify":"^2.0.1"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"moduleNameMapper":{"\\.css$":"identity-obj-proxy"},"transform":{".*":"babel-jest"}},"gitHead":"522fad7e2fa281011a2a068b76dc81d50eadd080","_id":"chimee-plugin-popup@0.0.3","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"huzunjie","email":"huzunjie@pyzy.net"},"dist":{"integrity":"sha512-yNJG4I6Fn7ia/5bXZCZz/krtY25b1y2LPdeQ0d5WHmYQavsA9NSlrcHauxxaMbHq6tVY4xEzvbyorGtV3KntpA==","shasum":"620da96d6a8bbb4f34b14857e7fa6f104bf4e173","tarball":"http://registry-npm.ywwl.com/chimee-plugin-popup/download/chimee-plugin-popup-0.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDfBtZvHJEa9WJFpcoFni1e85oYw6xfmJR5JJHmPN6GkAiBeW1+uJ5z+jHqm4esDHRHHS184sCA9elDwpQ8Xa3l/WA=="}],"size":54592,"noattachment":false,"key":"/chimee-plugin-popup/-/chimee-plugin-popup-0.0.3.tgz"},"maintainers":[{"name":"huzunjie","email":"huzunjie@pyzy.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-plugin-popup-0.0.3.tgz_1501558105561_0.17098274966701865"},"directories":{},"publish_time":1501558105726,"_cnpm_publish_time":1501558105726},"0.0.2":{"name":"chimee-plugin-popup","version":"0.0.2","description":"PopupPlugin for chimee","main":"lib/index.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-plugin-popup.git"},"keywords":["plugin","chimee","popup","video"],"author":{"name":"huzunjie"},"license":"ISC","bugs":{"url":"https://github.com/Chimeejs/chimee-plugin-popup/issues"},"homepage":"https://github.com/Chimeejs/chimee-plugin-popup#readme","dependencies":{"babel-runtime":"^6.23.0","chimee-helper":"^0.1.10"},"devDependencies":{"babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-latest":"^6.24.1","cssnano":"^3.10.0","eslint":"^4.2.0","eslint-plugin-jest":"^20.0.3","identity-obj-proxy":"^3.0.0","jest":"^20.0.4","postcss-nested":"^2.0.2","rollup":"^0.45.1","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-postcss":"^0.5.3","rollup-plugin-uglify":"^2.0.1"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"moduleNameMapper":{"\\.css$":"identity-obj-proxy"},"transform":{".*":"babel-jest"}},"gitHead":"b6e6eeb982bc5d7a31ea650c8c27fc206042cf0b","_id":"chimee-plugin-popup@0.0.2","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"huzunjie","email":"huzunjie@pyzy.net"},"dist":{"integrity":"sha512-8vtbNO0XeCvYDUK+IFTtbjxbXRfpwA5us/sxOEZCGI6AxvzWsFwbZBeKbKlp8UjKAbPPLYvB0SDroeWpjC5LoA==","shasum":"bb3e1fd43556af3d616b8ffdf1d25811f645c40b","tarball":"http://registry-npm.ywwl.com/chimee-plugin-popup/download/chimee-plugin-popup-0.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsEwgGLZIFchIktiAXDpakGlRR0Sbrdpou83jik/XiUQIhAMb/CRtRi1zgxroLr7W6cjpxyMsPFCR/08xN0/tegSK2"}],"size":53180,"noattachment":false,"key":"/chimee-plugin-popup/-/chimee-plugin-popup-0.0.2.tgz"},"maintainers":[{"name":"huzunjie","email":"huzunjie@pyzy.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-plugin-popup-0.0.2.tgz_1499855099515_0.17047051386907697"},"directories":{},"publish_time":1499855099625,"_cnpm_publish_time":1499855099625},"0.0.1":{"name":"chimee-plugin-popup","version":"0.0.1","description":"PopupPlugin for chimee","main":"lib/index.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-plugin-popup.git"},"keywords":["plugin","chimee","popup","video"],"author":{"name":"huzunjie"},"license":"ISC","bugs":{"url":"https://github.com/Chimeejs/chimee-plugin-popup/issues"},"homepage":"https://github.com/Chimeejs/chimee-plugin-popup#readme","dependencies":{"babel-runtime":"^6.23.0","chimee-helper":"^0.1.10"},"devDependencies":{"babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-latest":"^6.24.1","cssnano":"^3.10.0","eslint":"^4.2.0","eslint-plugin-jest":"^20.0.3","identity-obj-proxy":"^3.0.0","jest":"^20.0.4","postcss-nested":"^2.0.2","rollup":"^0.45.1","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-postcss":"^0.5.3","rollup-plugin-uglify":"^2.0.1"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"moduleNameMapper":{"\\.css$":"identity-obj-proxy"},"transform":{".*":"babel-jest"}},"gitHead":"3c435462e5b4934a2cf6ca95f66377f545985c58","_id":"chimee-plugin-popup@0.0.1","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"huzunjie","email":"huzunjie@pyzy.net"},"dist":{"integrity":"sha512-Yzu2cGiAuHjmXnrrinb0pLK6S+7pHHgKj9CdRcqY42BEeUMkdSDPqv/IqjNOAP5XD8ve2qeldeJXwXxqLZo4xQ==","shasum":"b0470facc0cdfd8b1e368709e6f98f9a111a11ff","tarball":"http://registry-npm.ywwl.com/chimee-plugin-popup/download/chimee-plugin-popup-0.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClF1Iy1l/MX+5BkrL9+zap4+PNl2TcxFXkhSr4UW6ckgIhAPxF4RPjdLF0hh4lK+0fG6XiX9eanDDcxScafZ0jOIMx"}],"size":53164,"noattachment":false,"key":"/chimee-plugin-popup/-/chimee-plugin-popup-0.0.1.tgz"},"maintainers":[{"name":"huzunjie","email":"huzunjie@pyzy.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-plugin-popup-0.0.1.tgz_1499836475402_0.23863846366293728"},"directories":{},"publish_time":1499836475599,"_cnpm_publish_time":1499836475599}},"readme":"# popup plugin of Chimee\n\n> 本插件提供了一个工厂方法，可用于实现模态框需求，适当UI和CSS重写后也可以用于实现各种挂件，效果参见[Demo](https://github.com/Chimeejs/chimee-plugin-popup/tree/master/demo)\n\n## 开始\n开始使用前，需要先在页面中引入`popup.js`插件模块。\n```html\n<script type=\"text/javascript\" src=\"./lib/index.browser.js\"></script>\n```\n> JS模块引入后，将在全局产生一个用来生成popup `pluginConfig` 的工厂函数 `window.chimeePluginPopup`，调用该函数传入相应参数即可得到目标`popupPluginConfig`。\n\n或者JS代码中\n```javascript\nimport chimeePluginPopup from './lib/index.js';\n```\n\n如果是基于node构建环境开发，建议使用`npm install chimee-plugin-popup --save`，需要的业务页import就好了\n```javascript\nimport chimeePluginPopup from 'chimee-plugin-popup';\n```\n\n> 通过`Chimee.install(popupPluginConfig)`把插件注册到`Chimee`类，即可在实例化播放器时在`option.plugin`数组上设定`popupPlugin`对应的name来启用UI组件。\n\n我们用来实现一个居中弹层，使用方式示例：\n```javascript\nChimee.install(chimeePluginPopup({\n  name: 'cc_popup',\n  title: '这是一个居中信息框',\n  body: '这里是信息内容',\n  offset: '50% 50%',\n  width: '200px'\n}));\nconst player = new Chimee({\n  src: 'http://cdn.toxicjohann.com/lostStar.mp4',\n  type: 'vod',\n  box: 'mp4',\n  wrapper: '#wrapper',\n  plugin: ['cc_popup'],\n  auto: true\n});\n```\n\n## 效果\n  \n  ![](http://p6.qhimg.com/dr/600__/t01c55babd4ae6974e5.png)\n  \n## 基本参数说明\n  \n可以配置设定的参数除了`pluginConfig`包含内容之外，你可能会比较容易用到的几组参数：\n \n### 声明\n  1. **name** 用来绑定实例化后的插件到Chimee实例上。<br>*比如上面代码示例中使用了`cc_popup`作为插件名字，那么在接下来就可以通过 `player.ccPopup` 来访问插件实例（注册时自动驼峰化）。*\n### 坐标尺寸控制\n  1. **offset** 控制popup的展示位置。 <br>*相对播放器区域四个边界的距离，可设定内容`像素:123px`或`百分比:12.3%`值，如：`0px 0px`、`10% 20%`。<br>设定方式支持: `'leftAndTop'`或`'left top'`或`'top right bottom left'`*\n  2. **translate** 控制popup的偏移坐标。<br>*基于offset设定后的位置进行偏移，比如当offset的top或left为50%时，将默认translate相应方向为-50，以实现居中展示，数值设定规则与offset相同。*\n  3. **width** 控制popup宽度，不设置则为auto，参数值必须带有单位\n  4. **height** 控制popup高度，同上\n### 展现内容\n  1. **title** 默认浮层标题\n  2. **body** 默认浮层展示的内容\n  3. **html** 浮层UI对应的HTML模板，默认为：\n    \n```\n<vs-pp-close class=\"_close\">×</vs-pp-close>\n<vs-pp-head>${title}</vs-pp-head>\n<vs-pp-body>${body}</vs-pp-body>\n```\n\n### 状态控制\n  1. **penetrate** 是否将交互事件同步到video元素(事件交互同步给video)，默认值false\n  2. **operable** 是否启用事件交互（false则设置CSS事件穿透），默认 true\n  3. **hide** 插件装载后是否默认为不展示（预先创建后，自行控制open时机），默认值 false\n### 事件交互 \n  **events** 用来实现交互控制，比如我们要通过右键控制popup的展示隐藏、位置移动，可以这么写：\n\n```javascript\nChimee.install(chimeePluginPopup({\n  name: 'menu_popup',\n  ...\n  hide: true,\n  events: {\n    contextmenu: function(e) {\n      this.offset(e.offsetX + 'px ' + e.offsetY + 'px').open(e);\n      e.preventDefault();\n    },\n    mousedown: function(e){\n      e.button !==2 && this.close(e)\n    }\n  }\n}));\n```\n\n比如我们要感知popup的开启关闭，做相应后续逻辑执行，可以使用popup实现时新增的生命周期钩子：\n\n```javascript\nChimee.install(chimeePluginPopup({\n  name: 'my_popup',\n  ...\n  opened(e, pluginTarget) {\n    ...\n  },\n  closed (e, pluginTarget) {\n    ...\n  }\n}));\n```\n\n如果想监听任意弹层组件的关闭，可以使用事件监听这么写：\n\n```javascript\nChimee.install(chimeePluginPopup({\n  name: 'my_popup',\n  ...\n  events: {\n    popupOpen: function (e, pluginTarget) {\n      if(this.__id === pluginTarget.__id){\n        console.log('popupOpen:', e, this, pluginTarget);\n      }\n    },\n    popupClose: function (e, pluginTarget) {\n      if (this.__id === pluginTarget.__id) {\n        console.log('popupClose:', e, this, pluginTarget);\n      }\n    }\n  }\n}));\n```\n\n也许你已经留意到了上面`if(this.__id === pluginTarget.__id)`的判断，这里因为 **events** 是针对全局范围任意插件或系统事件的监听（包括播放器本身的play、ended、pause、volumechange...），所以这里可以通过判断确定事件发出自哪个插件。\n\n\n","_attachments":{},"homepage":"https://github.com/Chimeejs/chimee-plugin-popup#readme","bugs":{"url":"https://github.com/Chimeejs/chimee-plugin-popup/issues"},"license":"MIT"}