{"_id":"@cristiansarghe/ng-generic-modal","_rev":"6-1bf08560c1edc7c2fdfd49ca305e992b","name":"@cristiansarghe/ng-generic-modal","dist-tags":{"latest":"14.0.1"},"versions":{"1.0.0":{"name":"@cristiansarghe/ng-generic-modal","version":"1.0.0","author":{"name":"Cristian Sarghe","email":"csarghe@gmail.com","url":"https://cristiansarghe.com/"},"keywords":["angular","modal","popup","lightweight","generic"],"license":"MIT","main":"bundles/cristiansarghe-ng-generic-modal.umd.js","module":"fesm2015/cristiansarghe-ng-generic-modal.js","peerDependencies":{"@angular/common":"^10.0.14","@angular/core":"^10.0.14"},"dependencies":{"tslib":"^2.0.0"},"es2015":"fesm2015/cristiansarghe-ng-generic-modal.js","esm2015":"esm2015/cristiansarghe-ng-generic-modal.js","fesm2015":"fesm2015/cristiansarghe-ng-generic-modal.js","typings":"cristiansarghe-ng-generic-modal.d.ts","metadata":"cristiansarghe-ng-generic-modal.metadata.json","sideEffects":false,"description":"`@cristiansarghe/ng-generic-modal` is a _just-add-water_ customizable and lightweight Angular popup.","_id":"@cristiansarghe/ng-generic-modal@1.0.0","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-4tucxtR+FIRJfEF67UO91UTeIJ2KPqA15gq4/x8TM3l38syJH5FobTa1N0lYdev2bOUBU+ef7S3NZODX6gVAlQ==","shasum":"996b74ddaf1fecac2a813b77a3da586513577192","tarball":"https://registry.npmjs.org/@cristiansarghe/ng-generic-modal/-/ng-generic-modal-1.0.0.tgz","fileCount":19,"unpackedSize":59614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTlFmCRA9TVsSAnZWagAAneMP/0joYxj79Wi/dx/9GDTO\naz2atxkKI5rmSPwWkf8eT7uUV7Pk5bK1O4tZPTMXZcVKZurGKfX6ZyHSEIoH\nMikb3RY9GXspuJltJr2HdnUmPKKFFObNtuXNHEqflJYfDpgDW3p0UQWZscHk\n5Yd05wBkgwBC6SGkodwqqYWoyAONKpEkDvPs1q065WMzYaEUktiO6IbHD5jN\n1pohb3YOrfE80Qvypxdq8g/08sZRm+zuClb0UInWVDVn4VgYRwLZU70q8aP4\n3GNwLCL5pKW3DCKMHz5cN/p9Qgq8OcOtbJEv511pEuVdeeXZ0yWH3EUV/OFW\nX/vK59EkCoLb7wHRy2Dyu7OPillPNiEGgH/haMqxyUA0f24GILfGYJmoj4DZ\nrPojHXfyNC/uqEieKUDOlARXe2Ahy6HgjKC6RCLDIRACoMZOU/FuxXt/XXaB\ne2AHwm7fH2AI8MEptWBQEPuLJXP4isJBptsKdpMNqUmKw7wDklzmMPx75qjS\nbJV9im2Wp/Pwaj5MEYkzcO4QS9wsRrIf/wmiDwv4S0Ca4Zv8MJ/xYSFnYOYz\n0qbOR3DF4nqj2/7q0X/ujl9PrSjz8si30zlFySaVerWVfFYrFtm+9YVWBopn\nBPIuUKRpWsVp+gZoDi0v6wKoAZVHMX6qb71SYJWM3j9d7eO3U3dSSQF9u9cI\n8wZc\r\n=gQmg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU5dJbgG7jTo+j5r2IkB5/5kjCBgLA5/IeaPRgwbXPHQIgfstcKm1WKmPzFmv09iji7PGji/5btJI1mez7AULTmXc="}]},"_npmUser":{"name":"cristiansarghe","email":"csarghe@gmail.com"},"directories":{},"maintainers":[{"name":"cristiansarghe","email":"csarghe@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ng-generic-modal_1.0.0_1615745382031_0.42127828060624606"},"_hasShrinkwrap":false},"1.1.0":{"name":"@cristiansarghe/ng-generic-modal","version":"1.1.0","author":{"name":"Cristian Sarghe","email":"csarghe@gmail.com","url":"https://cristiansarghe.com/"},"repository":{"type":"git","url":"git+https://github.com/CristianSarghe/ng-generic-modal.git"},"license":"MIT","main":"../../dist/ng-generic-modal/bundles/ng-generic-modal.umd.js","module":"fesm2015/cristiansarghe-ng-generic-modal.mjs","peerDependencies":{"@angular/common":"^10.0.14","@angular/core":"^10.0.14"},"dependencies":{"tslib":"^2.3.0"},"es2020":"fesm2020/cristiansarghe-ng-generic-modal.mjs","esm2020":"esm2020/cristiansarghe-ng-generic-modal.mjs","fesm2020":"fesm2020/cristiansarghe-ng-generic-modal.mjs","fesm2015":"fesm2015/cristiansarghe-ng-generic-modal.mjs","typings":"cristiansarghe-ng-generic-modal.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./cristiansarghe-ng-generic-modal.d.ts","esm2020":"./esm2020/cristiansarghe-ng-generic-modal.mjs","es2020":"./fesm2020/cristiansarghe-ng-generic-modal.mjs","es2015":"./fesm2015/cristiansarghe-ng-generic-modal.mjs","node":"./fesm2015/cristiansarghe-ng-generic-modal.mjs","default":"./fesm2020/cristiansarghe-ng-generic-modal.mjs"}},"sideEffects":false,"description":"`@cristiansarghe/ng-generic-modal` is a _just-add-water_ customizable and lightweight Angular popup.","bugs":{"url":"https://github.com/CristianSarghe/ng-generic-modal/issues"},"homepage":"https://github.com/CristianSarghe/ng-generic-modal#readme","_id":"@cristiansarghe/ng-generic-modal@1.1.0","_nodeVersion":"16.13.1","_npmVersion":"7.10.0","dist":{"integrity":"sha512-DWDztYl1x+XaienJg3ZgNM6bvgZnGujyeU8qSyn9Vz3VL5d2C2AtC8FTUZW1xLtgNo9vggOiGnzF607IbYbZKw==","shasum":"94f62146a516ce7903bb361e967cf199a75b88e8","tarball":"https://registry.npmjs.org/@cristiansarghe/ng-generic-modal/-/ng-generic-modal-1.1.0.tgz","fileCount":16,"unpackedSize":66350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0h5gCRA9TVsSAnZWagAAN6oQAKONPSEqF/RL8iLjWt3P\nplFZptjL5bSibywjc7lkIWnu7wTJK2mpADXiCc6k/1d14qW4Kagq0GbZg2Qc\nlqRcYLYfLjVhQz69mD4qjqYfNdQToBdHLybLyPQ+gziHrY2AzwvJlWBDCPzz\nce82PMklseShknzytiEv4QxXNr/2W/miyLduyK0CG5aehoSMBN3uMGMQjNCo\nQ5zJwFn6ucJBFYvMQ4AAI0ts2rGunYkFfdKQZuVb2FM7FtV4nhTooCg451sT\n41FwqRSntNCcAdEL2Ku2qHf9tWlbnpD+gi1J3mnuvzTQbJsxmaax1tMg6Fu/\nee3gZ6AAXMvaU/u2CHe0naMS/r+IpNZBavL5pGLIvMhhJsTM4VZyGJkkIQhB\ng7czA95WRP0TpXeiXOHYnoeuZ+SMoYk3cFP4NHdwKxaa+v5cvupwCyT32cjr\nhq2cDRJyP6rSavlK09Z+yjqnk/W6a13K0hWM1NCO7Nsm/RUQDWnZ2Lae4zJm\nH/1wIxOfymAXVpCqzfhgPxROps4FPRULsrbyvOtAV/eheSUKuOjYMBlLD1PJ\nX/UGE/2MkRqM4yRMIks+fw06gVMKllrcKgzseKAGb57GoDzYWCjZPMjrjJ4t\njxqj1E7JfaopqZNUnv/rRnK1hesfA9gYeBdxC644rcIfb9Ni0fjxOxNYs0Al\ntERq\r\n=w1FZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGCDC2K0yFJMniOt401aA7nhzqOo+wxKM69K8Rz0TgXEAiAw71m0D7xN8XxBDnFBlFNy/5yWO5vQb+8hDY2x3hNwIA=="}]},"_npmUser":{"name":"cristiansarghe","email":"csarghe@gmail.com"},"directories":{},"maintainers":[{"name":"cristiansarghe","email":"csarghe@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ng-generic-modal_1.1.0_1641160288680_0.4080477642773257"},"_hasShrinkwrap":false},"14.0.0":{"name":"@cristiansarghe/ng-generic-modal","version":"14.0.0","author":{"name":"Cristian Sarghe","email":"csarghe@gmail.com","url":"https://cristiansarghe.com/"},"keywords":["angular","modal","popup","template","lightweight","generic"],"repository":{"type":"git","url":"git+https://github.com/CristianSarghe/ng-generic-modal.git"},"license":"MIT","main":"../../dist/ng-generic-modal/bundles/ng-generic-modal.umd.js","module":"fesm2015/cristiansarghe-ng-generic-modal.mjs","peerDependencies":{"@angular/common":"^14.0.14","@angular/core":"^14.0.14"},"dependencies":{"tslib":"^2.3.0"},"es2020":"fesm2020/cristiansarghe-ng-generic-modal.mjs","esm2020":"esm2020/cristiansarghe-ng-generic-modal.mjs","fesm2020":"fesm2020/cristiansarghe-ng-generic-modal.mjs","fesm2015":"fesm2015/cristiansarghe-ng-generic-modal.mjs","typings":"index.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./index.d.ts","esm2020":"./esm2020/cristiansarghe-ng-generic-modal.mjs","es2020":"./fesm2020/cristiansarghe-ng-generic-modal.mjs","es2015":"./fesm2015/cristiansarghe-ng-generic-modal.mjs","node":"./fesm2015/cristiansarghe-ng-generic-modal.mjs","default":"./fesm2020/cristiansarghe-ng-generic-modal.mjs"}},"sideEffects":false,"gitHead":"846b630c6209f873214d7cb7e71d876e8bf128eb","description":"`@cristiansarghe/ng-generic-modal` is a _just-add-water_ customizable and lightweight Angular popup.","bugs":{"url":"https://github.com/CristianSarghe/ng-generic-modal/issues"},"homepage":"https://github.com/CristianSarghe/ng-generic-modal#readme","_id":"@cristiansarghe/ng-generic-modal@14.0.0","_nodeVersion":"16.15.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-JxBQdKEUff2x0xUXJIg5hLD5WjO4wNxe8iTB1Vmo/xj3rlogEai+X4nd3XjnG9KwHLQ/2M5zZVENe593MZXKhQ==","shasum":"3772790c75effd2be6aabbfacdec4461ded83bfa","tarball":"https://registry.npmjs.org/@cristiansarghe/ng-generic-modal/-/ng-generic-modal-14.0.0.tgz","fileCount":16,"unpackedSize":70925,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDI8UHBwmZ7fZoQ8Hjm1aaDtMbNzaXcJMUp0t86xoOn6gIhANVFvOswpgK6wJkurbPkxOIiEEUGULobU+lchkwa9HNB"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitx/qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGqA/8CGsRjHaFApxSRgi4wV73aTpm52Ak9xoSqpWgjXEGmskD0ked\r\nr+6+DIkgvSkOCQfT3/1I0T3hOLo8pf6oka36sNpAoc1zB8Ow9ZThlHiaKkex\r\nx4JwwabWtRJBHq3sUHP0XaLs8a+KAh+mFpd7Kl1BLYETe9v3Gt0mkdNcKvvl\r\nwKPx2JjDVBLNskreY1bQr7/4a7B9bKiql0W7FT7PYTT1nPWXcnFygN33KOVG\r\npqMXBbltlaCOy/CIE6lANo4ewA4BXzN2hNNGGL+vIWknn/0zpo6kEardLN7l\r\noLC5R9GWG3V8zurqUO8UPHz8a6RCIrneMV5wS++lNOXDeFm81Uwgqa/G+UAn\r\nvHWm0qb75Wg20FvKQHKil63BPOKX+UV9WmGVgyD+RoSwS9GTrTvtE2y7s6m8\r\n2h5Mu5cdLd2H/U+Oi44qnecTsZcHacidNY3INWpjapnOIJVXi87u65NvBnS1\r\nGM6RQx7AO+Y0NoVqB0t/GaDAWsR1UHZlqRlUlMPG89VLeEaY5+cD4Baa0As5\r\nlO6KZPw8WBZ/OSTnU3IW594sgbMse/HlGIo4hj805g+H7OxRCWisTcG8wFxS\r\n+I597EzzKxoqKxOtprqVN1sHkTsYUjSUtdTBfvwByMC/dGo7FlXSJ2071tFt\r\n5kCLYNpArwwHiH1fhuRCfNgVx6uOzGNdc5E=\r\n=NSQ1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cristiansarghe","email":"csarghe@gmail.com"},"directories":{},"maintainers":[{"name":"cristiansarghe","email":"csarghe@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ng-generic-modal_14.0.0_1656168426719_0.5960606808045243"},"_hasShrinkwrap":false},"14.0.1":{"name":"@cristiansarghe/ng-generic-modal","version":"14.0.1","author":{"name":"Cristian Sarghe","email":"csarghe@gmail.com","url":"https://cristiansarghe.com/"},"keywords":["angular","modal","popup","template","lightweight","generic"],"repository":{"type":"git","url":"git+https://github.com/CristianSarghe/ng-generic-modal.git"},"license":"MIT","main":"../../dist/ng-generic-modal/bundles/ng-generic-modal.umd.js","module":"fesm2015/cristiansarghe-ng-generic-modal.mjs","peerDependencies":{"@angular/common":"^14.0.0","@angular/core":"^14.0.0"},"dependencies":{"tslib":"^2.3.0"},"es2020":"fesm2020/cristiansarghe-ng-generic-modal.mjs","esm2020":"esm2020/cristiansarghe-ng-generic-modal.mjs","fesm2020":"fesm2020/cristiansarghe-ng-generic-modal.mjs","fesm2015":"fesm2015/cristiansarghe-ng-generic-modal.mjs","typings":"index.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./index.d.ts","esm2020":"./esm2020/cristiansarghe-ng-generic-modal.mjs","es2020":"./fesm2020/cristiansarghe-ng-generic-modal.mjs","es2015":"./fesm2015/cristiansarghe-ng-generic-modal.mjs","node":"./fesm2015/cristiansarghe-ng-generic-modal.mjs","default":"./fesm2020/cristiansarghe-ng-generic-modal.mjs"}},"sideEffects":false,"gitHead":"96810dcac4af2b32dc4e2b774806405e646be64f","description":"`@cristiansarghe/ng-generic-modal` is a _just-add-water_ customizable and lightweight Angular popup.","bugs":{"url":"https://github.com/CristianSarghe/ng-generic-modal/issues"},"homepage":"https://github.com/CristianSarghe/ng-generic-modal#readme","_id":"@cristiansarghe/ng-generic-modal@14.0.1","_nodeVersion":"16.15.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-4A2CqbxMS/vgjUk6SJYgB76Ee2BlxJ0SFWCc6DBHHvYkjoRQMTGugbpG3XYbf/pscdrytYSvAVj4iHCQKY5tEA==","shasum":"f9c36ef19e9dc260e9aff829ee7432ea4f63b715","tarball":"https://registry.npmjs.org/@cristiansarghe/ng-generic-modal/-/ng-generic-modal-14.0.1.tgz","fileCount":16,"unpackedSize":70923,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCF/vIj0UF8WNeATx5hwlAJ8RAxLTqT1qFP++aCkGzhSgIgcLofyv81TVitEwoNGvQAoXCb9ce+lUCvjVKvucwseBc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJityR0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoLTQ//f/Ib3vkwkvu1pHd6l6oc28c3D4r16CpsOgi0wagybuj26sHo\r\n7IP3SqwlECujj6vsiql/c39aWkTtikXAclUU7+InFsMjDygzfL8V69PaW6II\r\nwKMZMzYaAbz3IGlrmYi5TGOp+NLpH1QKaZdrd2iMBm6/oTeDjm9Cq/8/3Smy\r\nEpEwAI0aiy7fmDVepgm3qKJd+Rj9XDQc/IdZh7rNXOvlsimU3NgflhWuTrbu\r\nKvhvo8u8VvLFkJOXuuv9m46emDkt1ChPE8RB6llVK8sUZTonF4fjDTcBLoQx\r\nga86Gai6Oq0IkpXYOLFtIin5V+v6XBbk0Zq+DDBtqf2AwF/BbxSUiAFe3uHd\r\nj0agOHqpaEP0ozaAojsV4Gahq9+kkL28GEa3GfFl/9IAQDiG7rze28DwIv1r\r\nXJGC1N5OTRlAJFJgXSpv/INlSYu0GEQyLQNJJcQDpvolP9vOBsQIFvEkZCER\r\nwKBMUvVIlJb5hVnRJcwE4vN8382JNgTe2ZdtNStdS+M+0uM+Uvh8gLj8tusq\r\nCh6+KDLwDuMQeJRpk2Y7hdsK0TZywZ3zWPOZZ6D7Lhz0sKypHi2WFTHPBk3n\r\n/BlVJEdTBOn9IwNVHb0mFnBz2s7SLgoygflonOWPhQCkGs0g5LakXvEMcEqa\r\nA/dsv4LuBk4d3sL6bNfTg4PULjWSN8L0d14=\r\n=Ztl9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cristiansarghe","email":"csarghe@gmail.com"},"directories":{},"maintainers":[{"name":"cristiansarghe","email":"csarghe@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ng-generic-modal_14.0.1_1656169587937_0.2663192971400339"},"_hasShrinkwrap":false}},"time":{"created":"2021-03-14T18:09:41.990Z","1.0.0":"2021-03-14T18:09:42.172Z","modified":"2022-06-25T15:06:28.242Z","1.0.1":"2022-01-02T21:33:18.319Z","1.1.0":"2022-01-02T21:51:28.790Z","14.0.0":"2022-06-25T14:47:06.915Z","14.0.1":"2022-06-25T15:06:28.172Z"},"maintainers":[{"name":"cristiansarghe","email":"csarghe@gmail.com"}],"description":"`@cristiansarghe/ng-generic-modal` is a _just-add-water_ customizable and lightweight Angular popup.","readme":"\r\n# Angular Generic Modal\r\n\r\n## Customizable Angular modal\r\n\r\n### What is it?\r\n\r\n`@cristiansarghe/ng-generic-modal` is a _just-add-water_ customizable and lightweight Angular popup.\r\n\r\n### Installation\r\n\r\n`npm i @cristiansarghe/ng-generic-modal`\r\n\r\n### Customization\r\n#### Content\r\n\r\n* The modal has 3 parts, driven by `ng-template`s: `modalHeading`, `modalBody` and `modalActions`. You can pass content to any of them in the following way:\r\n\r\n```\r\n<ng-generic-modal #modalReference>\r\n\t<ng-template #modalHeading>\r\n\t\tThis is the heading\r\n\t</ng-template>\r\n\r\n\t<ng-template #modalBody>\r\n\t\tThis is the modal body\r\n\t</ng-template>\r\n\r\n\t<ng-template #modalActions>\r\n\t\t<button>This is an action</button>\r\n\t\t<button>And this is another action</button>\r\n\t</ng-template>\r\n</ng-generic-modal>\r\n```\r\n\r\n#### Opening and hiding\r\n* Given `modalReference` a reference to the modal element, method `modalReference.open()` will open the popup.\r\n* To hide the modal, it's enough to call `modalReference.hide()`.\r\n* To rely less on method calling, the `modal-close` directive allows picking one or more elements **inside the modal templates** that close the modal when clicked. Example: \r\n\r\n```\r\n<ng-generic-modal #modalReference>\r\n\t<ng-template #modalActions>\r\n\t\t<button modal-close (click)=\"myMethod()\">Submit</button>\r\n\t\t<button modal-close>Cancel</button>\r\n\t\t<button>Options</button>\r\n\t</ng-template>\r\n</ng-generic-modal>\r\n```\r\n\r\nIn the above example, the Close button will just hide the modal, while the Submit button will run `myMethod()` and then hide the modal. The Options button will not hide the modal, as it doesn't have `modal-close` attached.\r\n\r\n* **NOTE**: `open` method can receive a _state_ of the modal (which can be any object or primitive value). That value can be accessed within the modal `ng-template`s by simply targeting the `data` variable:\r\n```\r\n<ng-generic-modal #modalReference>\r\n\t<ng-template #modalHeading let-data=\"data\">  // Pass the variable to the template\r\n\t\tThis is my name: {{data}}\r\n\t</ng-template>\r\n</ng-generic-modal>\r\n```\r\n\r\n`data` can be accessed at any time, but it's pointless unless there's anything passed to `.open(state)`\r\n\r\n`data` variable does NOT keep its value between popup sessions (gets erased on each `.hide()`)\r\n\r\n#### @Input()\r\n\r\n| Input                      | Type    | Required                   | Description                                                    |\r\n| -------------------------- | ------- | -------------------------- | ---------------------------------------------------------------|\r\n| hasBackdrop                | boolean | Optional, default: true    | Show a dark background behind the modal whenever it's open     |\r\n| customModalContainerClass  | string  | Optional, default: null    | Add a custom class on modal container                          |\r\n| closeOnBackdropClick       | boolean | Optional, default: true    | Allow closing modal by clicking outside (on the backdrop)      |\r\n| showCloseButton            | boolean | Optional, default: true    | Show or hide the top right X closing button                    |\r\n\r\n#### Output()\r\n\r\n| Output                     | Type               | Payload type                                                      | Description                        |\r\n| -------------------------- | ------------------ | ----------------------------------------------------------------- | -----------------------------------|\r\n| beforeOpen                 | EventEmitter\\<T>    | The type of the passed state or `undefined` if there is no state    | Event emitted before popup opens   |\r\n| afterOpen\t\t\t\t     | EventEmitter\\<T>    | The type of the passed state or `undefined` if there is no state    | Event emitted after popup opens    |\r\n| beforeHide      \t \t\t | EventEmitter\\<void> | `undefined`                                                         | Event emitted before popup hides   |\r\n| afterHide         \t     | EventEmitter\\<void> | `undefined`                                                         | Event emitted after popup hides    |\r\n","readmeFilename":"README.md","author":{"name":"Cristian Sarghe","email":"csarghe@gmail.com","url":"https://cristiansarghe.com/"},"license":"MIT","homepage":"https://github.com/CristianSarghe/ng-generic-modal#readme","repository":{"type":"git","url":"git+https://github.com/CristianSarghe/ng-generic-modal.git"},"bugs":{"url":"https://github.com/CristianSarghe/ng-generic-modal/issues"},"keywords":["angular","modal","popup","template","lightweight","generic"]}