{"_id":"@caroundsky/el-plus-dialog-service","_rev":"4-954c50b5b58606dbe4e71556a9777195","name":"@caroundsky/el-plus-dialog-service","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.1":{"name":"@caroundsky/el-plus-dialog-service","private":false,"version":"0.0.1","main":"lib/dialog-service.js","module":"lib/dialog-service.js","typings":"lib/types/index.d.ts","scripts":{"serve":"vite","build":"vite build","preview":"vite preview"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.29.0","@typescript-eslint/parser":"^5.29.0","@vitejs/plugin-vue":"^2.3.3","@vitejs/plugin-vue-jsx":"^1.3.10","lodash":"^4.17.21","rollup-plugin-commonjs":"^10.1.0","typescript":"^4.5.4","unplugin-element-plus":"^0.4.1","unplugin-vue-components":"^0.21.0","vite":"^2.9.9","vite-plugin-css-injected-by-js":"^1.5.0","vite-plugin-dts":"^1.4.0","vite-plugin-imp":"^2.2.0","vite-plugin-vue-setup-extend":"^0.4.0","vue-tsc":"^0.34.7"},"dependencies":{"axios":"0.21.1","element-plus":"^2.2.6","less":"^4.1.3","vue":"^3.2.25"},"peerDependencies":{"element-plus":"2.x","vue":"3.x"},"keywords":["vite","element-plus","dialog-service","typescript"],"author":{"name":"@caroundsky"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/caroundsky/el-plus-dialog-service.git"},"bugs":{"url":"https://github.com/caroundsky/el-plus-dialog-service/issues"},"gitHead":"78a6fbeda36c7de2e2848d0a44ea48254c9a2542","description":"基于 [Element Plus Dialog](https://element-plus.org/zh-CN/component/dialog.html) 二次封装，以服务的形式调用。","homepage":"https://github.com/caroundsky/el-plus-dialog-service#readme","_id":"@caroundsky/el-plus-dialog-service@0.0.1","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-VfbNVyI2za7KuVVbcGnI95UpGFOJCw839db+WPLPDf4bTsRqvagc4nGQcifc6iv9Z49E9wFa3Xuk3zmSYM/w4g==","shasum":"052ee1b166e00471b86b38bf5d11bb7b9498920f","tarball":"https://registry.npmjs.org/@caroundsky/el-plus-dialog-service/-/el-plus-dialog-service-0.0.1.tgz","fileCount":35,"unpackedSize":126694,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZ6S3z0hPks51hnGtfdAvh5wG6zDK+Uoq6EOqqfjr2RAiEAlyzPgIXqYX1aCuaEcWivRdt2xlyXQ1vIY0Z3Tuq4Y1I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6i3dACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSaQ/9HctQE/MjjHfUSX6BxQpaKXDO2ZOgZ9pqK76ewgSVSP35KyMi\r\nDicaSjgcy1MwgbeZ++PRoR6jt5TT9u5sjBtZZjeuIWVn9a+4WpMeDDnKsXRf\r\nCVrwAK2AqJNNmJ9FRqJLTqLj+qvaDGwghJkJ+fR8W7ayGWDZL7ROQVmL9ILd\r\nJgGmWTOBFMiNMJLDBcf68jIVbCJ5WtPCHEWs/E5PUxvu4uzuuLc9ufKTc0k6\r\nm61EpXoEkqVzfZroybylxvQ2zQfThrZj3vEsCbTIUeU3IXJ6DQtRiEM69PIF\r\nz/+RxlA7tGlDntIcqagFJ225CdeQPaqFmdi6TyEgAa19h2J8dm3qwB7B04OH\r\nviVo60L2bknnrxfPy4UB61HTSz3HFUm+8yMYVBXx+C2z9/1/cY/7s45k+BTL\r\nxAHipdTDiIHKrrBkXu+GKhuofkR39bw+haqqIUmBFSMPegW/jJGAuYI6nJYP\r\nwCwt3siRJUd8gLPFlPVfIMIkXrxNL919egVMFORgbmdDhhhmnTxOzxLdAXNb\r\ne7tvSiQBaDS5NK0N4sHa8LWHJJtmjO7idaHrTDQZi3L6C5XfV0P2U6RXhf+s\r\nLNoWOBd0SQcR5zYFtqbXE8f/hGpv7iOofMX+usfS+byziFXGwgDCfz6wQloq\r\n0KgCMouEIUwmBmfu9g5falV5GR5wBYslvJ4=\r\n=F5ZL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"caroundsky","email":"539966898@qq.com"},"directories":{},"maintainers":[{"name":"caroundsky","email":"539966898@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/el-plus-dialog-service_0.0.1_1659514333219_0.18598932884786934"},"_hasShrinkwrap":false},"0.0.2":{"name":"@caroundsky/el-plus-dialog-service","private":false,"version":"0.0.2","main":"lib/dialog-service.js","module":"lib/dialog-service.js","typings":"lib/types/index.d.ts","scripts":{"serve":"vite","build":"vite build","preview":"vite preview"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.29.0","@typescript-eslint/parser":"^5.29.0","@vitejs/plugin-vue":"^2.3.3","@vitejs/plugin-vue-jsx":"^1.3.10","lodash":"^4.17.21","rollup-plugin-commonjs":"^10.1.0","typescript":"^4.5.4","unplugin-element-plus":"^0.4.1","unplugin-vue-components":"^0.21.0","vite":"^2.9.9","vite-plugin-css-injected-by-js":"^1.5.0","vite-plugin-dts":"^1.4.0","vite-plugin-imp":"^2.2.0","vite-plugin-vue-setup-extend":"^0.4.0","vue-tsc":"^0.34.7"},"dependencies":{"axios":"0.21.1","element-plus":"^2.2.6","less":"^4.1.3","vue":"^3.2.25"},"peerDependencies":{"element-plus":"2.x","vue":"3.x"},"keywords":["vite","element-plus","dialog-service","typescript"],"author":{"name":"@caroundsky"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/caroundsky/el-plus-dialog-service.git"},"bugs":{"url":"https://github.com/caroundsky/el-plus-dialog-service/issues"},"gitHead":"2fa2c27f4ff85e57d911c6cf61000169f6f1ebf3","description":"基于 [Element Plus Dialog](https://element-plus.org/zh-CN/component/dialog.html) 二次封装，以服务的形式调用。","homepage":"https://github.com/caroundsky/el-plus-dialog-service#readme","_id":"@caroundsky/el-plus-dialog-service@0.0.2","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-A2HO2POJqvudF79rG4qqu6pOotaq5sv0WBKK52ECKoqHZ0XMq9UmtzoiYG1zshKx6Hhb1z1oxrzxoLfgPilD0Q==","shasum":"51a432abcc60db60e56213e425526a47e6b18240","tarball":"https://registry.npmjs.org/@caroundsky/el-plus-dialog-service/-/el-plus-dialog-service-0.0.2.tgz","fileCount":35,"unpackedSize":125760,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC81b6z1/I9fPH4RcdYNqzZl17TDx1wFn4P+vgMWPW4jAIgLlhXEY3OCPN2w14esHyZH6vydG0wzep0VhIBZFpsFnw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8NZXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrK0g/+JdqhPMSFEv+3nUDVaIFKpp6ilQtYIAFxgm0naXUh5rq0UE7G\r\nkZlWA11XtVW+hVkFFxKKyPdtf8ttu7BiOsZ/p19q8CyX9y7zGt5/xxuAWoBj\r\niON/jibdDbY7ifvBTHzp80bR1t9Y2TatL0HsI5eH1mIC4QXUH7fWqGmkV0FB\r\nelUeS9o8Ms9q4pyE52Fs4kPGh2twz0nq8Vp/oe+AcvD07anbI5MNzPhIWINw\r\n5fCa8Ak0qekhLANfI0ZO10jdryBfNmaAsn8rCA2tVxOASRi2kG0R6TfqO3xz\r\nWAzt7tQZ9ro/9iaTIHWgf2mvQB+0dw0X/mry8CWGuOSdUsi1650AAVoz3LDK\r\nkK0gr3LKr0+6RUtyzj9BGDprGxjAtSPkZL2uSs2jO9X75mYHPq/mXedCKKPX\r\nHgpXbaG3pxnGtA8Q07vJvp1TIHPfzBc8ADNmQFTnVn1IGsPFFR6Pd30w8fvl\r\nGINsWExshcfgr7xAbG0peROHtWSVKEDUI2faRel/A4VRNO3Wq5YMomLD/w/3\r\nHfmpnpNJ0Q9/LqWEI9oGYWqWykNugkufgO4L7G8W0a/83VoKBSX1I1YSIUEQ\r\ns13Rw6ELtazDRRV3k9upqNKMpblmSPmwBz4lk33YEhXmktfz1KBaIdQCm1+z\r\nwSDw0KlYvA3b85mMsH3UGQYRduie1e9UkKk=\r\n=JfzT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"caroundsky","email":"539966898@qq.com"},"directories":{},"maintainers":[{"name":"caroundsky","email":"539966898@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/el-plus-dialog-service_0.0.2_1659950678991_0.7701706484749935"},"_hasShrinkwrap":false},"0.0.3":{"name":"@caroundsky/el-plus-dialog-service","private":false,"version":"0.0.3","main":"lib/dialog-service.js","module":"lib/dialog-service.js","typings":"lib/types/index.d.ts","scripts":{"serve":"vite","build":"vite build","preview":"vite preview"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.29.0","@typescript-eslint/parser":"^5.29.0","@vitejs/plugin-vue":"^2.3.3","@vitejs/plugin-vue-jsx":"^1.3.10","lodash":"^4.17.21","rollup-plugin-commonjs":"^10.1.0","typescript":"^4.5.4","unplugin-element-plus":"^0.4.1","unplugin-vue-components":"^0.21.0","vite":"^2.9.9","vite-plugin-css-injected-by-js":"^1.5.0","vite-plugin-dts":"^1.4.0","vite-plugin-imp":"^2.2.0","vite-plugin-vue-setup-extend":"^0.4.0","vue-tsc":"^0.34.7"},"dependencies":{"@vueuse/core":"^9.1.1","axios":"0.21.1","element-plus":"^2.2.6","less":"^4.1.3","vue":"^3.2.25"},"peerDependencies":{"element-plus":"2.x","vue":"3.x"},"keywords":["vite","element-plus","dialog-service","typescript"],"author":{"name":"@caroundsky"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/caroundsky/el-plus-dialog-service.git"},"bugs":{"url":"https://github.com/caroundsky/el-plus-dialog-service/issues"},"gitHead":"2a70ad78ca714fd276cb416a6880649aec344812","description":"基于 [Element Plus Dialog](https://element-plus.org/zh-CN/component/dialog.html) 二次封装，以服务的形式调用。","homepage":"https://github.com/caroundsky/el-plus-dialog-service#readme","_id":"@caroundsky/el-plus-dialog-service@0.0.3","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-m07T/4CNugA3lbAePS++rEMe1HCHB2nyaslXM5FFdJoXWAtqVJ8Ge+h/EoSQ21qLjCuLdSyrAbSIn3QOLMi68w==","shasum":"2ebd5b2b8856cf25d7ef0a06a63cdb526025f2a5","tarball":"https://registry.npmjs.org/@caroundsky/el-plus-dialog-service/-/el-plus-dialog-service-0.0.3.tgz","fileCount":37,"unpackedSize":386326,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB0l+et9Bd4/dh48nX8sKgvpayLOulMunZJMq806SYZ8AiEAiiItwf40EHCEMb4E68BVXnbQEj8phf52n9bzB0dxc7Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCKFAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6PA//co5WuMhxV1rkbGAY8kw77kPRhhbfFVwKb6rEr5tO2dFUHHjZ\r\noIIhur8sjZQzE5K7E10wIscp9qeJRlDf6eKutAAPbZ6RCkCznldiw08wE0k9\r\nnmka1pTQonK0X0Et/sGdKZ9KcuxbE/mRsdSCHc5sEDwAt2GtfOa0zAAGneck\r\nIj/0jRRS2gorBS2RF5N3GeXl44dNvp207J4urus+c6NRGLUGRJzgkrjqli6f\r\nojylfS4H1jVpxpzSa4M/eiU5nCyHi89vnpMTLCe7esLkB4+bM7zuVuxdVuL7\r\n2S192JDw9j+10NEofgD8gdc2hxmJHA2xpSX6kq9VsPy5EMP8Vq/Ersvz0qjZ\r\nBHMu+0A84i6qqAIIna2+9DSoZgUlFRAMYXGhW2KUEDNtbCzd5Kb70jZx71Rv\r\nAJa8PvjKlo4JCqEClrNGR+up3g5Uyu1kGdEsYMrF3HHKqQ76h2lKRZDWMODt\r\n7A9m7f1fSxcBLfejb8GSqdVk654CJvfSCbk07Icv48dDEcZz2/Ozs6Gwd88p\r\ntZzzRWH+Nh3ADmlBCzBCZ4x+n44Wv05GIJtACxh3sWHL7o5wXM7vS3J1O2VY\r\nYNGdbxkaZqCq5F6CNqDTvUEdPnJpuUh67juq50ykzosKvqmuJ1tF8lMP/jon\r\nYMy28UUgD3i8UMfkK7rsBT67BQWzLEOvcrM=\r\n=Iann\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"caroundsky","email":"539966898@qq.com"},"directories":{},"maintainers":[{"name":"caroundsky","email":"539966898@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/el-plus-dialog-service_0.0.3_1661509952120_0.32671449695315213"},"_hasShrinkwrap":false},"0.0.4":{"name":"@caroundsky/el-plus-dialog-service","private":false,"version":"0.0.4","main":"lib/dialog-service.js","module":"lib/dialog-service.js","typings":"lib/types/index.d.ts","scripts":{"serve":"vite","build":"vite build","preview":"vite preview"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.29.0","@typescript-eslint/parser":"^5.29.0","@vitejs/plugin-vue":"^2.3.3","@vitejs/plugin-vue-jsx":"^1.3.10","lodash":"^4.17.21","rollup-plugin-commonjs":"^10.1.0","typescript":"^4.5.4","unplugin-element-plus":"^0.4.1","unplugin-vue-components":"^0.21.0","vite":"^2.9.9","vite-plugin-css-injected-by-js":"^1.5.0","vite-plugin-dts":"^1.4.0","vite-plugin-imp":"^2.2.0","vite-plugin-vue-setup-extend":"^0.4.0","vue-tsc":"^0.34.7"},"dependencies":{"@vueuse/core":"^9.1.1","axios":"0.21.1","element-plus":"^2.2.x","less":"^4.1.3","vue":"^3.2.25"},"peerDependencies":{"element-plus":"2.x","vue":"3.x"},"keywords":["element-plus","dialog-service","dialog"],"author":{"name":"@caroundsky"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/caroundsky/el-plus-dialog-service.git"},"bugs":{"url":"https://github.com/caroundsky/el-plus-dialog-service/issues"},"gitHead":"fba3f2c44606ee33d266b6192016138ee3f158ff","description":"基于 [Element Plus Dialog](https://element-plus.org/zh-CN/component/dialog.html) 二次封装，以服务的形式调用。","homepage":"https://github.com/caroundsky/el-plus-dialog-service#readme","_id":"@caroundsky/el-plus-dialog-service@0.0.4","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-48VygNSKZ/Yx+q2GJ8SgZoE7UggLNXNirgZV4aLnl62rizKBrUPlBqN6pz2Shf6oCRNIikKLTfqsdbTid25d4g==","shasum":"d4a1426522ad7239e25b9eafa126d0ba9f85e80c","tarball":"https://registry.npmjs.org/@caroundsky/el-plus-dialog-service/-/el-plus-dialog-service-0.0.4.tgz","fileCount":37,"unpackedSize":387942,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMzULJvwujDzkzkKQ2PpIT77SMmSakOxWa3TGYVCZNzgIhAOvqnjixgOmxT0H5M27uZRrYaNAwnxOtFgNYQ0N9B3Rg"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjItOaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrVYA//auq/KRLYsjWSc7nwTedFI2OMR3UJIBmj9s8gdX5ZROnoQJcD\r\nT5InPpw6P8w3KQW9cP9GGZz1lHbDQguMHSvNjd+ivyRwduJxwkF0uhJH4hnh\r\ndESpbVPCf/COfN0AcVaaKjyQSSu2q8haHI/GbPfH1Sr9HZojlVlvVm/KUEKO\r\n1YXdQPLcxGjLPP8qZnf1CEMxHhpO/jkIyO/7aNccpsz+g8i1k/5DgPdnE/Pd\r\nhKzwyHHro6MXCZ53dboyBI5vZX/d78yAIAo/KMqeMLd5E+yJIOKVtSOzd7tx\r\nGvSHDRVLdh8dMGayy6Y79olrm82YUjxDTvw5dKJJYQwXPLmPhsAM6jmBFOzx\r\n2EdVMTbKmJpYY6iJQ9p4h22/uizgRhXhd1XjZ4mCnCcyI1vjDVHS3JEf3f31\r\nhHStbpDAK2IqZZXgWNuAl0YJev/8J4z9eDSonPgLWAp13GNoxrHqGhxO0mM/\r\n9IjCZGSwe0AEzYuxse6XWSVawFEnPgU2oA8yCc3uB8xkIuSselOF904P37Xh\r\n53X0249S3redNHwAXpFcF92WREiEt04jW+cw3KjeaO9wNrWAezm5IiwV5KRK\r\no0+zVlDs+EJs93s9h/tNU86EDaUfs0GffVPuqlpGznfE5FyWHCMEEYZ/ccTQ\r\nAPiXOKnyF78s0gYHYqNKqG5CXBktfkxR2pk=\r\n=s48v\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"caroundsky","email":"539966898@qq.com"},"directories":{},"maintainers":[{"name":"caroundsky","email":"539966898@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/el-plus-dialog-service_0.0.4_1663226778273_0.2328241741648054"},"_hasShrinkwrap":false},"0.0.5":{"name":"@caroundsky/el-plus-dialog-service","private":false,"version":"0.0.5","main":"lib/dialog-service.js","module":"lib/dialog-service.js","typings":"lib/types/index.d.ts","scripts":{"serve":"vite","build":"vite build","preview":"vite preview"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.29.0","@typescript-eslint/parser":"^5.29.0","@vitejs/plugin-vue":"^2.3.3","@vitejs/plugin-vue-jsx":"^1.3.10","lodash":"^4.17.21","rollup-plugin-commonjs":"^10.1.0","typescript":"^4.5.4","unplugin-element-plus":"^0.4.1","unplugin-vue-components":"^0.21.0","vite":"^2.9.9","vite-plugin-css-injected-by-js":"^1.5.0","vite-plugin-dts":"^1.4.0","vite-plugin-imp":"^2.2.0","vite-plugin-vue-setup-extend":"^0.4.0","vue-tsc":"^0.34.7"},"dependencies":{"@vueuse/core":"^9.1.1","axios":"0.21.1","element-plus":"^2.2.x","less":"^4.1.3","vue":"^3.2.25"},"peerDependencies":{"element-plus":"2.x","vue":"3.x"},"keywords":["element-plus","dialog-service","dialog service","dialog"],"author":{"name":"@caroundsky"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/caroundsky/el-plus-dialog-service.git"},"bugs":{"url":"https://github.com/caroundsky/el-plus-dialog-service/issues"},"gitHead":"f2b26124633c38cff901ba2b9388eee61fa30f10","description":"基于 [Element Plus Dialog](https://element-plus.org/zh-CN/component/dialog.html) 二次封装，以服务的形式调用。","homepage":"https://github.com/caroundsky/el-plus-dialog-service#readme","_id":"@caroundsky/el-plus-dialog-service@0.0.5","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-EnJMnyLhFgddOUmepS+7uhH8ACk9JOf4QXzl4cl7DUYpEe6SYP6gKL4pp9PZHh+ZwRmWCalSJ0k0K5fEr/kUEw==","shasum":"0fdbfe91a2a76a219b543bdd41dafb0ee5a10f0d","tarball":"https://registry.npmjs.org/@caroundsky/el-plus-dialog-service/-/el-plus-dialog-service-0.0.5.tgz","fileCount":37,"unpackedSize":389227,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZrj0aOgtjDkm+/kE1xwdOu+1FCjNoRmCn9VVSHdXkUwIhAKE5qCmMkKzniVN6usGupjMqg/SRAJxbVeLfOBwPrno0"}]},"_npmUser":{"name":"caroundsky","email":"539966898@qq.com"},"directories":{},"maintainers":[{"name":"caroundsky","email":"539966898@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/el-plus-dialog-service_0.0.5_1714904916323_0.6268131321828543"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-03T08:12:13.128Z","0.0.1":"2022-08-03T08:12:13.380Z","modified":"2024-05-05T10:28:36.688Z","0.0.2":"2022-08-08T09:24:39.147Z","0.0.3":"2022-08-26T10:32:32.239Z","0.0.4":"2022-09-15T07:26:18.454Z","0.0.5":"2024-05-05T10:28:36.497Z"},"maintainers":[{"name":"caroundsky","email":"539966898@qq.com"}],"description":"基于 [Element Plus Dialog](https://element-plus.org/zh-CN/component/dialog.html) 二次封装，以服务的形式调用。","homepage":"https://github.com/caroundsky/el-plus-dialog-service#readme","keywords":["element-plus","dialog-service","dialog service","dialog"],"repository":{"type":"git","url":"git+https://github.com/caroundsky/el-plus-dialog-service.git"},"author":{"name":"@caroundsky"},"bugs":{"url":"https://github.com/caroundsky/el-plus-dialog-service/issues"},"readme":"# el-plus-dialog-service\r\n\r\n基于 [Element Plus Dialog](https://element-plus.org/zh-CN/component/dialog.html) 二次封装，以服务的形式调用。\r\n\r\n服务依赖于宿主项目的Element Plus版本，\"element-plus\": \"2.x\", \"vue\": \"3.x\"。\r\n\r\nTips:\r\n\r\n `el-plus`于2.2.16调整了dialog的class绑定方式，若宿主项目的`el-plus`低于2.2.16，此服务请安装v0.3版本。\r\n\r\n* 安装\r\n\r\n```bash\r\nyarn add @caroundsky/el-plus-dialog-service\r\n```\r\n\r\n* 使用\r\n\r\n```js\r\n// 入口文件 main.js\r\nimport { createApp } from \"vue\"\r\nimport useDialog from '@caroundsky/el-plus-dialog-service'\r\n\r\n// 若项目内未全局引入 element/el-dialog 样式，需要手动引入\r\nimport 'element-plus/es/components/dialog/style/css'\r\n\r\nconst app = createApp(App)\r\napp.mount('#app')\r\n\r\nuseDialog.initCtx(app._context)\r\n\r\n```\r\n\r\n```js\r\n/**\r\n 接受配置项：\r\n - config - 必填，参考下方props\r\n*/\r\nimport useDialog from '@caroundsky/el-plus-dialog-service'\r\n\r\nuseDialog(config)\r\n```\r\n\r\n* 若将服务挂载到全局，并在选项式API中获得代码提示，需要在项目内xx.d.ts中声明相关变量\r\n\r\n```ts\r\n/**\r\n 在选项式API中使用\r\n*/\r\n\r\n// main.ts 入口文件，挂载到全局$dialogService\r\nimport { createApp } from 'vue'\r\nimport useDialog from '@caroundsky/el-plus-dialog-service'\r\nimport App from './xx.vue'\r\n\r\nconst app = createApp(App)\r\napp.mount('#app')\r\nuseDialog.initCtx(app._context)\r\napp.config.globalProperties.$useDialog = useDialog\r\n\r\n// xx.d.ts\r\nexport {}\r\n\r\ndeclare module '@vue/runtime-core' {\r\n  interface ComponentCustomProperties {\r\n    $useDialog: typeof import('@caroundsky/el-plus-dialog-service')['default']\r\n  }\r\n}\r\n\r\n// xx.vue\r\nimport { defineComponent } from 'vue'\r\n\r\nexport default defineComponent({\r\n  methods: {\r\n    showDialog() {\r\n      this.$useDialog(\r\n        {\r\n          title: '标题',\r\n          content: '内容',\r\n          buttons: [\r\n            {\r\n              label: '确认',\r\n              type: 'primary',\r\n              onClick: ({ vm }) => {\r\n                vm.hide()\r\n              },\r\n            },\r\n          ],\r\n        }\r\n      )\r\n    },\r\n  },\r\n})\r\n```\r\n\r\n```js\r\n/**\r\n 在组合式API中使用\r\n*/\r\n<script setup lang=\"tsx\">\r\nimport Demo from './demo.vue'\r\nimport useDialog from '@caroundsky/el-plus-dialog-service'\r\n\r\nfunction showDialog() {\r\n  useDialog({\r\n    title: '测试',\r\n    height: '40vh',\r\n    content: <Demo />,\r\n    buttons: [\r\n      {\r\n        label: '确定 ',\r\n        type: 'primary',\r\n        onClick: ({ vm, component }) => {\r\n          vm.hide()\r\n        },\r\n      },\r\n    ],\r\n  })\r\n}\r\n</script>\r\n```\r\n\r\n## Props\r\n\r\n| 参数 | 类型 | 默认值 | 说明 |\r\n| :---: | :---: | :---: | --- |\r\n| title | string \\| VNode \\| () => VNode | — | 标题，可返回VNode进行自定义布局 |\r\n| content | string \\| VNode \\| () => VNode | — | 内容,与下方的 iframeSrc 二选一，内容的padding自行控制，组件本身不提供默认边距 |\r\n| buttons | array<br>() => VNode \\| array <br>VNode |[] | `Array`：[ { label, type, onClick }, () => { return VNode }, ... ]<br><br> `label`：按钮名<br>`type`：类型 primary / success / warning / danger / info / text<br>`...attrs`: 与 [el-button](https://element-plus.org/zh-CN/component/button.html#button-%E5%B1%9E%E6%80%A7) 一致<br>`onClick`: function({ vm, ctx, component }) {}；<br><br>vm：弹窗实例，可使用 vm.close() 或者 vm.hide() 关闭弹窗， 执行close会触发beforeClose<br>ctx：按钮上下文<br> component： content 实例，若为Vnode，实例内使用`defineExpose` 暴露出相应方法来调用<br><br>`Fn`：<br>({ vm, component, getFooterBtns }) => {  返回Array / VNode }<br>如果想通过content组件本身来生成按钮，可以使用`getFooterBtns`参数，会携带组件实例，通过调用实例的自定义方法，该方法返回上述的Array或者Vnode即可<br>`return getFooterBtns(cont => cont['自定义方法']())`|\r\n| width | string | 520px | 宽度 |\r\n| height | string | — | 高度，建议用vh做单位达到自适应效果 |\r\n| top | string | — | 距离顶部距离 |\r\n| class | string | — | 自定义class `v0.4之前版本，请使用customClass` |\r\n| canModalClose | boolean | false | 是否可Esc或点击弹窗外区域关闭弹窗 |\r\n| zIndex | number | 1000 | z-index值 |\r\n| iframeSrc | string | — | iframe 地址 |\r\n| fullscreen | boolean | false | 默认最大化打开，与下方的 Enable 二选一 |\r\n| fullScreenEnable | boolean | true | 允许最大化 |\r\n| resize | boolean | false | 允许通过右下角自由缩放 |\r\n| beforeClose |fn|—|关闭前执行，此方法会阻止弹窗关闭，(vm, done) => {}|\r\n| afterOpen |fn|—|打开后执行，(vm) => {}|\r\n| afterClose |fn|—|关闭后执行，(vm) => {}|\r\n\r\n## Methods 实例方法\r\n\r\n| 方法名 | 说明 |\r\n| :---: | --- |\r\n| hide | 关闭当前弹窗 |\r\n| close | 关闭当前弹窗,会触发beforeClose方法 |\r\n| title | 标题 |\r\n| buttons | 按钮组 |\r\n| fullscreen | 全屏 |\r\n| height | 高度 |\r\n| width | 宽度 |\r\n","readmeFilename":"README.md"}