{"_id":"vue-element-dialog","_rev":"27-3861c7aa025082ee43be17169386f209","name":"vue-element-dialog","dist-tags":{"latest":"1.0.5"},"versions":{"0.1.5":{"name":"vue-element-dialog","version":"0.1.5","keywords":["vue","element-ui","el-dialog","imperative"],"license":"MIT","_id":"vue-element-dialog@0.1.5","maintainers":[{"name":"edwdzhang","email":"edwdzhang@gmail.com"}],"homepage":"https://github.com/edwdzhang/vue-element-dialog#readme","bugs":{"url":"https://github.com/edwdzhang/vue-element-dialog/issues"},"dist":{"shasum":"d15c6646a871981e10ae64e0caa55e37722cd76e","tarball":"https://registry.npmjs.org/vue-element-dialog/-/vue-element-dialog-0.1.5.tgz","fileCount":11,"integrity":"sha512-bN8QV1EilRCRQh9VZlXYozjfE47xX92GtnuVOBnxVEHH+YtJytpZ+bmaxk570vL4axxmwO2paAYPgcXNuIm1IQ==","signatures":[{"sig":"MEQCIBIgVpI+zqY99laqoMDPW7nFzyl9vkArQv9Q4Ji0C++dAiBcBZd1e/me2zr58cAGUTHyqskeKVotcamONUtb28DY0Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":352784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+E63ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpCrg//RCFgj8JdQ4mCnOtTfOGsIt6a6MuJAHQaz3xXP88MboHasItI\r\nuMoeexI3yaqWJNNLt7uVUdxkX07Ffjfc/BoxJGq5sKlJnSuh2xJZf57sjlhF\r\nindhlvOFE0rPKklDAlVfM1r/qIL9BaN0atnPW4ULldk8FsQdjZj19gQZtcCp\r\nKt1/SQbRYf51rZFv9yd2wi4RGDVSRuUKHL4s/LMuSvkn+zXr8xb/C3YVG7bM\r\nr0zDPhfiQZc7ALq+cLHNXyMJTtXjIubdk4DP17bRANoyk7LZeDBKW5J2p7iU\r\npNHP59Y5GvaGzAVriArXtbp8qrhBrbK6gz5TFi3qKOApdZgTSTxkP6Eqsxh1\r\n65nU/Uwfw+hKLI2HAIc84E/CVxm/9AZT3DV7i1YtnaHMFaqwUB1tfOjdZFdb\r\nzxmsTbmVCRz2d3i/qMqtpvLJKIyPZfxunHbaxIauJFsJSzL6l17uFTvvm+/R\r\n9X1YNRry3svm1sYQyMFFK1eekdUS3+WZ8NqNM78ORVX5lZkVA+di0L93T2LP\r\nnkndb2OYBAvVgp19bzXM3EGR/1hjv9a+v2GyeaqfDNK/fqA174rfXhyl0EUz\r\nFJeqbN4VWV5PzltAmKzQrSJgY5FzetjfXDbOXjGDUJxE3hRXwIRT8wi/A0qV\r\nkJKxm/TNyHWsf4nxecpwGqXHObbst1JEs6g=\r\n=jMZF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/VueElementDialog.umd.min.js","module":"dist/VueElementDialog.umd.js","scripts":{"lint":"vue-cli-service lint src examples","build":"vue-cli-service build --name VueElementDialog --entry ./src/index.js --target lib","serve":"vue-cli-service serve ./examples/main.js --open","release":"node scripts/release.js"},"_npmUser":{"name":"edwdzhang","email":"edwdzhang@gmail.com"},"repository":{"url":"https://github.com/edwdzhang/vue-element-dialog.git","type":"git"},"description":"An imperative dialog for el-dialog in element-ui@2","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021-present Edward Zhang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_hasShrinkwrap":false,"devDependencies":{"vue":"^2.6.14","eslint":"^6.7.2","core-js":"^3.15.2","prettier":"^2.2.1","element-ui":"^2.15.3","babel-eslint":"^10.1.0","@vue/cli-service":"~4.5.0","eslint-plugin-vue":"^6.2.2","@vue/cli-plugin-babel":"~4.5.0","vue-template-compiler":"^2.6.11","@vue/cli-plugin-eslint":"~4.5.0","eslint-plugin-prettier":"^3.3.1","@vue/eslint-config-prettier":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vue-element-dialog_0.1.5_1677217463128_0.8540826402761743","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"vue-element-dialog","version":"1.0.0","keywords":["vue","element-ui","el-dialog","imperative"],"author":{"name":"Dylan Zhang"},"license":"MIT","_id":"vue-element-dialog@1.0.0","maintainers":[{"name":"dnzng","email":"1193055507@qq.com"}],"homepage":"https://github.com/dnzng/vue-element-dialog#readme","bugs":{"url":"https://github.com/dnzng/vue-element-dialog/issues"},"dist":{"shasum":"619aa7d7547916a9b65bc65a2422c85a1b673ae9","tarball":"https://registry.npmjs.org/vue-element-dialog/-/vue-element-dialog-1.0.0.tgz","fileCount":9,"integrity":"sha512-tipX1Y10fa8Wy0US8XVctJyfnM69D76lIL1NB1B2LwoO7og05j3Xej6U1MwwjtRuENO3FO9F8ImM1+c7giIEaA==","signatures":[{"sig":"MEUCIQCkXD5gB8sVo1RvHvvZ0AVKybfiw1lcpFMu4ezmOYKdugIgHqEeCFtDMHXUQEBmNajw1l7sN93xBrPBhi61wbDAGoQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23610},"main":"./dist/index.js","_from":"file:vue-element-dialog-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","scripts":{"dev":"vite dev --open","lint":"eslint .","test":"vitest","build":"tsup","release":"bumpp && pnpm publish","typecheck":"tsc --incremental --noEmit","postinstall":"simple-git-hooks"},"_npmUser":{"name":"dnzng","email":"1193055507@qq.com"},"_resolved":"/private/var/folders/vw/blzhmc555dx411yjzzqw0cyw0000gn/T/72ae6986d29812c78cc9783aa2eed28a/vue-element-dialog-1.0.0.tgz","_integrity":"sha512-tipX1Y10fa8Wy0US8XVctJyfnM69D76lIL1NB1B2LwoO7og05j3Xej6U1MwwjtRuENO3FO9F8ImM1+c7giIEaA==","repository":{"url":"git+https://github.com/dnzng/vue-element-dialog.git","type":"git"},"_npmVersion":"9.6.7","description":"An imperative dialog for el-dialog component in element-ui based on Vue@2.x","directories":{},"lint-staged":{"*.{js,ts,vue,md,json}":["eslint --fix"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"vue":"2","tsup":"^7.2.0","vite":"^4.4.9","bumpp":"^9.1.1","jsdom":"^22.1.0","eslint":"^8.47.0","vitest":"^0.34.1","element-ui":"^2.15.13","typescript":"^5.1.6","lint-staged":"^14.0.0","simple-git-hooks":"^2.9.0","@vitejs/plugin-vue2":"^2.2.0","@dnzng/eslint-config":"^0.1.4"},"peerDependencies":{"vue":">=2.6","element-ui":">=2.12.0","vue-router":">=3.x"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged && pnpm typecheck"},"_npmOperationalInternal":{"tmp":"tmp/vue-element-dialog_1.0.0_1692385513453_0.30035725017237214","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"vue-element-dialog","version":"1.0.1","keywords":["vue","element-ui","el-dialog","imperative"],"author":{"name":"Dylan Zhang"},"license":"MIT","_id":"vue-element-dialog@1.0.1","maintainers":[{"name":"dnzng","email":"1193055507@qq.com"}],"homepage":"https://github.com/dnzng/vue-element-dialog#readme","bugs":{"url":"https://github.com/dnzng/vue-element-dialog/issues"},"dist":{"shasum":"4cb4dcfb0f1e71b4aacf232c80cc30a732bbc06e","tarball":"https://registry.npmjs.org/vue-element-dialog/-/vue-element-dialog-1.0.1.tgz","fileCount":9,"integrity":"sha512-IOMBz+9InO8dFeQykK1W3frwKCUSRQGXSA/xvgGSbRAc4eyvxRtJLrC6udN/n4W/2VKguJOYCEcjClunXGDFKg==","signatures":[{"sig":"MEYCIQD7mxu7tasUJdB8LV3KP3OQZWg+nZpWw04fESXRQvmAJwIhAL4WFESjKkdwAJ3wpcXkXfRrHL/aDvTQAPfJa50ZLift","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24821},"main":"./dist/index.js","_from":"file:vue-element-dialog-1.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16"},"scripts":{"dev":"vite dev --open","lint":"eslint .","test":"vitest","build":"tsup","release":"bumpp && pnpm publish","typecheck":"tsc --incremental --noEmit","postinstall":"simple-git-hooks"},"_npmUser":{"name":"dnzng","email":"1193055507@qq.com"},"_resolved":"/private/var/folders/vw/blzhmc555dx411yjzzqw0cyw0000gn/T/33ed80c7be55c3f19fa55dd3b2bbd651/vue-element-dialog-1.0.1.tgz","_integrity":"sha512-IOMBz+9InO8dFeQykK1W3frwKCUSRQGXSA/xvgGSbRAc4eyvxRtJLrC6udN/n4W/2VKguJOYCEcjClunXGDFKg==","repository":{"url":"git+https://github.com/dnzng/vue-element-dialog.git","type":"git"},"_npmVersion":"9.6.7","description":"An imperative dialog for el-dialog component in element-ui based on Vue@2.x","directories":{},"lint-staged":{"*.{js,ts,vue,md,json}":["eslint --fix"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"packageManager":"pnpm@8.6.5","devDependencies":{"vue":"^2.7.14","tsup":"^7.2.0","vite":"^4.4.9","bumpp":"^9.1.1","jsdom":"^22.1.0","eslint":"^8.47.0","vitest":"^0.34.1","element-ui":"^2.15.13","typescript":"^5.1.6","lint-staged":"^14.0.0","simple-git-hooks":"^2.9.0","@vitejs/plugin-vue2":"^2.2.0","@dnzng/eslint-config":"^0.1.4"},"peerDependencies":{"vue":">=2.6 <3","element-ui":">=2.12.0","vue-router":">=3.x"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged && pnpm typecheck"},"_npmOperationalInternal":{"tmp":"tmp/vue-element-dialog_1.0.1_1692460497874_0.9175674843394375","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"vue-element-dialog","version":"1.0.2","keywords":["vue","element-ui","el-dialog","imperative"],"author":{"name":"Dylan Zhang"},"license":"MIT","_id":"vue-element-dialog@1.0.2","maintainers":[{"name":"dnzng","email":"1193055507@qq.com"}],"homepage":"https://github.com/dnzng/vue-element-dialog#readme","bugs":{"url":"https://github.com/dnzng/vue-element-dialog/issues"},"dist":{"shasum":"e6e59a92dc41a131bfd4ce967951b5a8349b4246","tarball":"https://registry.npmjs.org/vue-element-dialog/-/vue-element-dialog-1.0.2.tgz","fileCount":9,"integrity":"sha512-S12EAo0biIBsMTLYlp7PiRp0hfVMjmJkQr8DXZEEfg7IA4TJvidRC1ezj+4vwjo3tjhmwIxuO44WT6fndcTXOw==","signatures":[{"sig":"MEQCIGtMO4i5Zvm/ODmh4fgkmvRixVDxQ17xc+un9KrUfgWVAiBLBOwgKwacbp8sw5dQdXwdg5fElce6YXN4AOy5iySrHw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24832},"main":"./dist/index.js","_from":"file:vue-element-dialog-1.0.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16"},"scripts":{"dev":"vite dev --open","lint":"eslint .","test":"vitest","build":"tsup","release":"bumpp && pnpm publish","typecheck":"tsc --incremental --noEmit"},"_npmUser":{"name":"dnzng","email":"1193055507@qq.com"},"_resolved":"/private/var/folders/vw/blzhmc555dx411yjzzqw0cyw0000gn/T/5a0c0349da4ab5e08b4a981afb2de873/vue-element-dialog-1.0.2.tgz","_integrity":"sha512-S12EAo0biIBsMTLYlp7PiRp0hfVMjmJkQr8DXZEEfg7IA4TJvidRC1ezj+4vwjo3tjhmwIxuO44WT6fndcTXOw==","repository":{"url":"git+https://github.com/dnzng/vue-element-dialog.git","type":"git"},"_npmVersion":"9.6.7","description":"An imperative dialog for el-dialog component in element-ui based on Vue@2.x","directories":{},"lint-staged":{"*.{js,ts,vue,md,json}":["eslint --fix"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"packageManager":"pnpm@8.6.5","devDependencies":{"vue":"^2.7.14","tsup":"^7.2.0","vite":"^4.4.9","bumpp":"^9.1.1","jsdom":"^22.1.0","eslint":"^8.47.0","vitest":"^0.34.1","element-ui":"^2.15.13","typescript":"^5.1.6","lint-staged":"^14.0.0","simple-git-hooks":"^2.9.0","@vitejs/plugin-vue2":"^2.2.0","@dnzng/eslint-config":"^0.1.4"},"peerDependencies":{"vue":">=2.6 <3","element-ui":">=2.12.0"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged && pnpm typecheck"},"_npmOperationalInternal":{"tmp":"tmp/vue-element-dialog_1.0.2_1692535676872_0.49289372471719517","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"vue-element-dialog","version":"1.0.3","keywords":["vue","element-ui","el-dialog","imperative"],"author":{"name":"Dylan Zhang"},"license":"MIT","_id":"vue-element-dialog@1.0.3","maintainers":[{"name":"dnzng","email":"1193055507@qq.com"}],"homepage":"https://github.com/dnzng/vue-element-dialog#readme","bugs":{"url":"https://github.com/dnzng/vue-element-dialog/issues"},"dist":{"shasum":"976426a2d44d0bb08321272363023c7a308b03e3","tarball":"https://registry.npmjs.org/vue-element-dialog/-/vue-element-dialog-1.0.3.tgz","fileCount":8,"integrity":"sha512-cBXS0pAgGfnxfbKpyh9bdBtiI4r9ZfDdLgArFe7uYpYVXs07ubE12QWz3xBA18Ub8aD/NP+5VSEEj2NTAO53Cw==","signatures":[{"sig":"MEUCIQC2QoJQZWIQMojegXxLj5/ThAV06fqdYTB5nqMtwJ/ZIgIgbOB41V7DMFc+jqo93Z0mHVAlv+y2n+qlFmivCLUUiyo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20949},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16"},"gitHead":"6a60228d3dd7d1835b9f8044f0d4e5d623e030c1","scripts":{"dev":"vite dev --open","lint":"eslint .","test":"vitest","build":"tsup","release":"bumpp && npm publish","typecheck":"tsc --noEmit","prepublishOnly":"pnpm build"},"_npmUser":{"name":"dnzng","email":"1193055507@qq.com"},"repository":{"url":"git+https://github.com/dnzng/vue-element-dialog.git","type":"git"},"_npmVersion":"9.6.7","description":"An imperative dialog for el-dialog component in element-ui based on Vue@2.x","directories":{},"lint-staged":{"*.{js,ts,vue,md,json}":["eslint --fix"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"packageManager":"pnpm@8.6.5","devDependencies":{"vue":"^2.7.14","tsup":"^7.2.0","vite":"^4.4.9","bumpp":"^9.1.1","jsdom":"^22.1.0","eslint":"^8.47.0","vitest":"^0.34.1","element-ui":"^2.15.13","typescript":"^5.1.6","lint-staged":"^14.0.0","simple-git-hooks":"^2.9.0","@vitejs/plugin-vue2":"^2.2.0","@dnzng/eslint-config":"^0.1.4"},"peerDependencies":{"vue":">=2.6 <3","element-ui":">=2.12.0"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged && pnpm typecheck"},"_npmOperationalInternal":{"tmp":"tmp/vue-element-dialog_1.0.3_1692565414756_0.29425568518075695","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"vue-element-dialog","version":"1.0.4","keywords":["vue","element-ui","el-dialog","imperative"],"author":{"name":"Dylan Zhang"},"license":"MIT","_id":"vue-element-dialog@1.0.4","maintainers":[{"name":"dnzng","email":"1193055507@qq.com"}],"homepage":"https://github.com/dnzng/vue-element-dialog#readme","bugs":{"url":"https://github.com/dnzng/vue-element-dialog/issues"},"dist":{"shasum":"896375e8341cec35c70286e68d8b12ae051d21e7","tarball":"https://registry.npmjs.org/vue-element-dialog/-/vue-element-dialog-1.0.4.tgz","fileCount":7,"integrity":"sha512-MHJf2AqpOYbyYoJony3EGkiIPVddT+0wL9efrtxYywZyr+tEOAfzxOs0xUbe51/lw646k3wF2mpdSGrc7GYveA==","signatures":[{"sig":"MEQCIDsQuTfrgMgK7/mc9t5gXKkxCL6tiYoGiF/Qfh+yFC3LAiBfLMwkx9PuaLYbZ0flWSoNMeGL9wZBA+teJ5R06Ai+qg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20936},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16"},"gitHead":"003a60c03d5af7098d21d930a11195104efccb64","scripts":{"dev":"vite dev --open","lint":"eslint .","test":"vitest","build":"tsup","release":"bumpp && npm publish","typecheck":"tsc --noEmit","prepublishOnly":"pnpm build"},"_npmUser":{"name":"dnzng","email":"1193055507@qq.com"},"repository":{"url":"git+https://github.com/dnzng/vue-element-dialog.git","type":"git"},"_npmVersion":"9.6.7","description":"An imperative dialog for the el-dialog component in element-ui based on Vue@2.x","directories":{},"lint-staged":{"*.{js,ts,vue,md,json}":["eslint --fix"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"packageManager":"pnpm@8.6.5","devDependencies":{"vue":"^2.7.14","tsup":"^7.2.0","vite":"^4.4.9","bumpp":"^9.1.1","jsdom":"^22.1.0","eslint":"^8.47.0","vitest":"^0.34.1","element-ui":"^2.15.13","typescript":"^5.1.6","lint-staged":"^14.0.0","simple-git-hooks":"^2.9.0","@vitejs/plugin-vue2":"^2.2.0","@dnzng/eslint-config":"^0.1.4"},"peerDependencies":{"vue":">=2.6 <3.0.0","element-ui":">=2.12.0"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged && pnpm typecheck"},"_npmOperationalInternal":{"tmp":"tmp/vue-element-dialog_1.0.4_1692717556731_0.7321520341726573","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"vue-element-dialog","version":"1.0.5","keywords":["vue","element-ui","el-dialog","imperative"],"author":{"name":"Dylan Zhang"},"license":"MIT","_id":"vue-element-dialog@1.0.5","maintainers":[{"name":"dnzng","email":"dnxzng@gmail.com"}],"homepage":"https://github.com/dnzng/vue-element-dialog#readme","bugs":{"url":"https://github.com/dnzng/vue-element-dialog/issues"},"dist":{"shasum":"2c84dc444a0b7259c1a7fd9e6005fe7a8ffb93f7","tarball":"https://registry.npmjs.org/vue-element-dialog/-/vue-element-dialog-1.0.5.tgz","fileCount":8,"integrity":"sha512-l6wnTgRpRfRR6iItAczOBCdn0fstFLoHB/1BeP/cczYL4NIHa8/U9o6jbif4Jr44rfEx1cIeBEh9UyktZpejnQ==","signatures":[{"sig":"MEUCIQD4o7fZOqtkYsJr4m4hIScHzWT2M/3K3NMPr0Tf2ZB4vwIgBXAkrJOR1xUPgW63weUd9FnxbRAK27H9SJUBc4EDdic=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25286},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=16"},"gitHead":"439843100481290e31529fffa8e218136d21eca5","scripts":{"lint":"eslint .","test":"vitest","build":"unbuild","example":"vite dev --open","release":"bumpp && npm publish","typecheck":"tsc --noEmit","prepublishOnly":"pnpm build"},"_npmUser":{"name":"dnzng","email":"dnxzng@gmail.com"},"repository":{"url":"git+https://github.com/dnzng/vue-element-dialog.git","type":"git"},"_npmVersion":"9.6.7","description":"An imperative call to the el-dialog component in element-ui based on Vue@2.x","directories":{},"lint-staged":{"*.{js,ts,vue,md,json}":["eslint --fix"]},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"packageManager":"pnpm@8.6.5","devDependencies":{"vue":"^2.7.14","vite":"^4.4.9","bumpp":"^9.1.1","jsdom":"^22.1.0","eslint":"^8.47.0","vitest":"^0.34.1","unbuild":"^2.0.0","element-ui":"^2.15.13","typescript":"^5.1.6","lint-staged":"^14.0.0","simple-git-hooks":"^2.9.0","@vitejs/plugin-vue2":"^2.2.0","@dnzng/eslint-config":"^0.1.7"},"peerDependencies":{"vue":">=2.6 <3.0.0","element-ui":">=2.12.0"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged && pnpm typecheck"},"_npmOperationalInternal":{"tmp":"tmp/vue-element-dialog_1.0.5_1693665910911_0.3632974711297403","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-02-24T05:44:23.045Z","modified":"2026-08-25T07:17:38.510Z","0.0.1":"2021-07-29T09:58:32.203Z","0.0.1-beta.1":"2021-07-30T10:27:21.326Z","0.0.2":"2021-07-30T10:30:17.962Z","0.0.3":"2021-07-30T11:23:48.782Z","0.0.4":"2021-08-02T11:05:22.600Z","0.0.5":"2021-08-03T13:27:41.405Z","0.1.0":"2021-08-27T09:07:34.046Z","0.1.1":"2021-09-02T07:42:22.971Z","0.1.5":"2023-02-24T05:44:23.303Z","1.0.0":"2023-08-18T19:05:13.695Z","1.0.1":"2023-08-19T15:54:58.089Z","1.0.2":"2023-08-20T12:47:57.083Z","1.0.3":"2023-08-20T21:03:34.952Z","1.0.4":"2023-08-22T15:19:16.977Z","1.0.5":"2023-09-02T14:45:11.094Z"},"bugs":{"url":"https://github.com/dnzng/vue-element-dialog/issues"},"author":{"name":"Dylan Zhang"},"license":"MIT","homepage":"https://github.com/dnzng/vue-element-dialog#readme","keywords":["vue","element-ui","el-dialog","imperative"],"repository":{"url":"git+https://github.com/dnzng/vue-element-dialog.git","type":"git"},"description":"An imperative call to the el-dialog component in element-ui based on Vue@2.x","maintainers":[{"email":"ljdzemail@163.com","name":"dziin"},{"email":"adylanzhang@gmail.com","name":"dz89"}],"readme":"# vue-element-dialog \n\n[![npm](https://img.shields.io/npm/v/vue-element-dialog.svg)](https://www.npmjs.com/package/vue-element-dialog) \n[![build status](https://github.com/dnzng/vue-element-dialog/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/dnzng/vue-element-dialog/actions/workflows/ci.yml)\n[![download](https://img.shields.io/npm/dm/vue-element-dialog)](https://www.npmjs.com/package/vue-element-dialog)\n\nProvides an imperative call to the [el-dialog](https://element.eleme.cn/#/en-US/component/dialog) component in [element-ui](https://element.eleme.cn/#/en-US) based on vue@2.x.\n\n## Install\n\n```bash\nnpm i vue-element-dialog element-ui\n# or pnpm\npnpm add vue-element-dialog element-ui\n```\n\n## Usage\n\n### Register\n\n```js\nimport Vue from 'vue' // vue@2.x\nimport ElementUI from 'element-ui'\nimport VueElementDialog from 'vue-element-dialog'\nimport 'element-ui/lib/theme-chalk/index.css'\n\nVue.use(ElementUI)\nVue.use(VueElementDialog, { center: true })\n```\n\n### Invoking\n\n`App.vue`:\n\n```html\n<template>\n  <div id=\"app\">\n    <el-button type=\"primary\" @click=\"onOpen\">onOpen</el-button>\n  </div>\n</template>\n\n<script>\nimport YourComponent from 'path/to/YourComponent.vue'\n\nexport default {\n  name: 'App',\n\n  methods: {\n    onOpen() {\n      this.$dialog(\n        // Your component will be shown in the default slot of the el-dialog component.\n        YourComponent,\n        // props and events configuration for the el-dialog component\n        {\n          // props\n          visible: true,\n          title: 'Your Title',\n          // events\n          opened() {\n            console.log('has opened...')\n          }\n        }\n      )\n        .then((value) => {\n          console.log(value)  // Follow or Like\n        })\n    }\n  }\n}\n</script>\n```\n\n`YourComponent.vue`:\n\n```html\n<template>\n  <el-main>\n    <h1>Hi</h1>\n    <div>\n      <el-button type=\"primary\" @click=\"onLike\">Like</el-button>\n      <el-button type=\"primary\" @click=\"onFollow\">Follow</el-button>\n    </div>\n  </el-main>\n</template>\n\n<script>\nexport default {\n  name: 'YourComponent',\n\n  props: {\n    msg: String\n  },\n  methods: {\n    onLike() {\n      this.$emit('close', 'Like')\n    },\n    onFollow() {\n      this.$emit('close', 'Follow')\n    }\n  }\n}\n</script>\n```\n\n## Options\n\nSupports all of the props, events and slots defined on the [el-dialog](https://element.eleme.cn/#/en-US/component/dialog) component.\n\n### slots\n\nThere are three ways of defining slots to be chosen from.\n\n1. Directly passes your component, which will be shown in the default slot. e.g.\n\n```js\nthis.$dialog(MainComponent)\n```\n\n2. Provides an object where each key-value pair represents a slot supported by `el-dialog`. e.g.\n\n```js\nthis.$dialog({\n  default: MainComponent,\n  title: TitleComponent,\n  footer: FooterComponent\n})\n```\n\n3. Similar to the second way, it supports the components that have the `props`` option and need the `props` data. e.g.\n\n```js\nthis.$dialog({\n  default: {\n    component: MainComponent,\n    propsData: {\n      msg: 'Follow and Like it.'\n    }\n  }\n})\n```\n\n### props and events\n\nThe second parameter is used to configure all of the props and events supported by `el-dialog`. e.g.\n\n```js\nthis.$dialog(YourComponent, {\n  // props\n  visible: true,\n  title: 'your title',\n  // events\n  opened() {\n    console.log('has opened...')\n  }\n})\n```\n\n## Injected Event\n\nThis plugin will inject a called `close` event into your component passed to the `el-dialog`. You can call it to close the current opened dialog and pass some values. The eventual state of the promise returned by calling `this.$dialog` will become resolved when calling the `close` event, so you will be able to access the values passed to the `close` event.\n\nNote that due to the limitations of the `resolve` method, the type of the resolved value will vary depending on the number of arguments you pass to this `$emit('close', ...)`. The value is `undefined` if you don't pass anything. The value is the argument itself if you pass one. The value is an array of arguments if you pass more than one. e.g.\n\n```js\nthis.$emit('close') // the value is `undefined`\nthis.$emit('close', { foo: 1 }) // the value is `{ foo: 1 }`\nthis.$emit('close', 'Follow', { number: 99 }) // the value is `['Follow', { number: 99 }]`\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}