{"_id":"@addapptables/modal","_rev":"6-2777f9a149a34e3a284d68b41fbcbdcf","name":"@addapptables/modal","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.1":{"name":"@addapptables/modal","version":"0.0.1","author":{"name":"Addapptables"},"description":"Material modal library for angular","license":"MIT","homepage":"https://github.com/addapptables/modal-ui","peerDependencies":{"@angular/common":">= 7.0.0 < 8.0.0","@angular/core":">= 7.0.0 < 8.0.0","@angular/material":">= 7.0.0 < 8.0.0","@angular/animations":">= 7.0.0 < 8.0.0","@angular/cdk":">= 7.0.0 < 8.0.0","@addapptables/perfect-scrollbar":">= 0.0.2 < 1.0.0"},"repository":{"type":"git","url":"git+https://github.com/addapptables/modal-ui.git"},"bugs":{"url":"https://github.com/addapptables/modal-ui/issues"},"keywords":["angular","angular 2","modal","material","addapptables-modal-ui","addapptables"],"main":"bundles/addapptables-modal.umd.js","module":"fesm5/addapptables-modal.js","es2015":"fesm2015/addapptables-modal.js","esm5":"esm5/addapptables-modal.js","esm2015":"esm2015/addapptables-modal.js","fesm5":"fesm5/addapptables-modal.js","fesm2015":"fesm2015/addapptables-modal.js","typings":"addapptables-modal.d.ts","metadata":"addapptables-modal.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"_id":"@addapptables/modal@0.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"teogl","email":"teito.lop@gmail.com"},"dist":{"integrity":"sha512-VXQ5KPwBOnYwSwnE5L9h2CqCWoOXcvXCIn+nHIpY+mJ6YiXbZTHkllwZLhL5h6cSEvoIt57qd4hHE3IcMBx/QA==","shasum":"e9656b8d29b2927e24171a29ace33986804e0104","tarball":"https://registry.npmjs.org/@addapptables/modal/-/modal-0.0.1.tgz","fileCount":42,"unpackedSize":105198,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT4SzCRA9TVsSAnZWagAAh4EP/2JLCw4uqfZ2g4a0ekf0\nKOuf9i0J8hX5wJbjBJRZktO9YIjXTRMtBaPpJe4SGLdqqRiF5r6n2gJ2DPBF\nbuTMK+ddELv5c1Eas8n77F3Q8DfNhvUrG0uzKYVvM/PhmxY2q71bej2FK/NW\nruGGjK9JUq7DXuX7+6m1XCKO1apf5EUUSFFeQCBEIRNOI5GbbvpQ1e2EyDPH\nXokQB66TNp1A4TgkrRAeXfWuJzk9nPp4YkNttWdKMEOpdcSuL7cnFEjYGBQY\njSlS9PEDQkMz1Gh/Ztou9dKYHRSWZYeKqc6LZX9T7kDtPKnMzjY4mC+3Q8XN\nAu1zwqHkiUW76xUl54cfbFeMrXBgvPQMHuz3n6bCIVgJK7YIvTgsjrRWDfbk\nhUCG2z8VZ/NY8rHVg7skJpohCXBoz4Lt4RA4+ywMi2l+hZmfuQdXfTNApIjl\nBAZvRouRYjPMmmCTdzTHxqJWUygX0ml4TfMd+J3oEqBuaWSQmhVH9A5CiILk\nUnx55BvVzR7vGPdEIHw2+vqAyQ7TxG7i3RnwrKYk+hBnEAKxJDCJwNX1Lw/1\nSP6yxFecqv3FXpoUb3GOOrVOXiIYVHDO2Z2T1rOiZ14tvOGo9MRHTlHF8Ftr\nA/xav9QiEdOkBxLb42G6Uk1Roio9H7urXgeudWa0KmqBN/bRp9p+Ths8AyyB\nbMq2\r\n=BbfB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAvvS0h9rpLPulP/kOmrR9lhlAUYTZMo6nznNaqv1BfzAiBO53aG4ZGlIYRYwrPQZlmI+Ny2d2Os22OFgYBSOSaAEA=="}]},"maintainers":[{"name":"teogl","email":"teito.lop@gmail.com"},{"name":"sebastian.delaroche","email":"sebastianroche17@gmail.com"},{"name":"addapptable","email":"dev@addapptables.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal_0.0.1_1548715186665_0.5888090268967137"},"_hasShrinkwrap":false},"1.0.0":{"name":"@addapptables/modal","version":"1.0.0","author":{"name":"Addapptables"},"description":"Material modal library for angular","license":"MIT","homepage":"https://github.com/addapptables/modal-ui","peerDependencies":{"@angular/common":">=7.0.0 < 8.0.0","@angular/core":">=7.0.0 < 8.0.0","@angular/material":">=7.0.0 < 8.0.0","@angular/animations":">=7.0.0 < 8.0.0","@angular/cdk":">=7.0.0 < 8.0.0","@addapptables/perfect-scrollbar":">=1.0.0 < 2.0.0"},"repository":{"type":"git","url":"git+https://github.com/addapptables/modal-ui.git"},"bugs":{"url":"https://github.com/addapptables/modal-ui/issues"},"keywords":["angular","angular 2","modal","material","addapptables-modal-ui","addapptables"],"main":"bundles/addapptables-modal.umd.js","module":"fesm5/addapptables-modal.js","es2015":"fesm2015/addapptables-modal.js","esm5":"esm5/addapptables-modal.js","esm2015":"esm2015/addapptables-modal.js","fesm5":"fesm5/addapptables-modal.js","fesm2015":"fesm2015/addapptables-modal.js","typings":"addapptables-modal.d.ts","metadata":"addapptables-modal.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"_id":"@addapptables/modal@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"teogl","email":"teito.lop@gmail.com"},"dist":{"integrity":"sha512-iPIpauy0v7BgymbRrnO8SoPBZdNizxQggHu7mFCplhjUyHrjEbhrID5/FyOHOlJqN4cKWTnslcwX5UgefnIRKw==","shasum":"41ebd0fe595d60a482b5e5195d26cda430f4d6bb","tarball":"https://registry.npmjs.org/@addapptables/modal/-/modal-1.0.0.tgz","fileCount":42,"unpackedSize":105216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVcOmCRA9TVsSAnZWagAAwkUP+QB0IphOj5TJu723NWb8\nvK+PXWHE8zm6T323oHMILvKEztS9mTtx7WY3SDMoXZ+pCpu8gQd7b26tHrH/\nCeR70huN2bb3XMkcKPjx2nn8+68o1Llxh4kJW3JzuKdlMK4n/9KJalS4OoKG\npowE8cW7vD8t41ZsWyYxn7BbE8/yN5iznZbfTHYp8nH6PuQUX5thpqNkAzxk\naYSuiiUZSH3PEWXIO95KAbnNlT+kxDRBjthrLiOVGuDDIraoSvBqCOsBx0Wr\nLuKNNBuhFLMb493Lcl/PVMvDoPQO0ijYvdFNBCK3ByNo0fSDgubR7A/bDhOz\nFPcs0R/usN+Eo/Ox3E9AxbugIOcb7vZ9CM7cTE2p7F+EGP2rcBT8XHXXlbhs\nWhiHmYaMI3mco8fWxwfTpOGoGTeXjTZEt1z7vkOuiZJsbT5YLRDjqaj/5S+f\nI4rFA9g8nE/edX/jYttGsvufDqLQ42MAi9qWNwTbjIcJuh37h4J0IzhGPvLE\n75e4ZMp45GZKUUh8AhDfsnlfhSpNc9b1/nJDICnrywUw1n2H/ZH9MdsgzJ9j\nmk6AnUQdi5a9zJjZ6CJEoMO4qZtm1ICkD+7kDAPRdILEcaQMuBlD7rvr0xaj\ns0rOmyuDoZ1tPg5cOZZYHB8KkqXwu8j61SbE4y5alRmBBVMyN3V85SjFG1HY\nzzb8\r\n=Y9cd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3VcwwoLN64iaQfgzKk0DHp0mFwTafnDkgI5w0t1PL3QIhAOgs7yvJDt6F3J2iDczKO8sP8xdjKh2zjKzakT4qn1We"}]},"maintainers":[{"name":"addapptable","email":"dev@addapptables.com"},{"name":"sebastian.delaroche","email":"sebastianroche17@gmail.com"},{"name":"teogl","email":"teito.lop@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal_1.0.0_1549124517554_0.3698617460060256"},"_hasShrinkwrap":false},"2.0.0":{"name":"@addapptables/modal","version":"2.0.0","author":{"name":"Addapptables"},"description":"Material modal library for angular","license":"MIT","homepage":"https://github.com/addapptables/modal-ui","peerDependencies":{"@angular/common":">=8.0.0 < 9.0.0","@angular/core":">=8.0.0 < 9.0.0","@angular/material":">=8.0.0 < 9.0.0","@angular/animations":">=8.0.0 < 9.0.0","@angular/cdk":">=8.0.0 < 9.0.0"},"repository":{"type":"git","url":"git+https://github.com/addapptables/modal-ui.git"},"bugs":{"url":"https://github.com/addapptables/modal-ui/issues"},"keywords":["angular modal","modal","angular material modal","addapptables-modal-ui","addapptables"],"main":"bundles/addapptables-modal.umd.js","module":"fesm5/addapptables-modal.js","es2015":"fesm2015/addapptables-modal.js","esm5":"esm5/addapptables-modal.js","esm2015":"esm2015/addapptables-modal.js","fesm5":"fesm5/addapptables-modal.js","fesm2015":"fesm2015/addapptables-modal.js","typings":"addapptables-modal.d.ts","metadata":"addapptables-modal.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"_id":"@addapptables/modal@2.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-p+sDXrTt4WfD09k1K2DOI6eLtGD16U00MnWmhB2G6PrKb8yc9H64XdDmaCNq5ubDX7qBC/XS6R940GzxeWm1vw==","shasum":"8834946a3d81e35833aafb0e1cb7586b7ccb9c44","tarball":"https://registry.npmjs.org/@addapptables/modal/-/modal-2.0.0.tgz","fileCount":42,"unpackedSize":107527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZAocCRA9TVsSAnZWagAAj2QP/1AUqYWOxOpU7zj/Ai1r\n+wlR42gWWO8HeY/LicNlIr2Ja/YvSc0hAR6WbEYDyrvafZHGANA9rN1wZOz9\nFDyGC/hFzLmquW1k3X0mQ14ropFNMVw4yaY1MhKE6QdJhlTPELmlvInMS4O9\nMt0W8sXCx0t0xJEHSZmWLsNJ541FYNppKwwCnlIfgb4Oxezxkd451Qwn1STS\n/z7Ui/ac8/6aCEut34sAT0Z5n/Jz6GN0u89XSSQG7K3s2bwF8y3mPw7DbPQC\nMOKn75qou1nPfLRv/dDtvLHxUmJgk3otE/7S0tvF9L8kXkOifXGvZDevmM1i\ntHeyLlcNbLXBWCSjq3xLCjJMCnyQVjNfFDssK+PCyyM1tdmZX4IG3GTIl3uD\n04E50N3udk+DRHv1ng1urdFkMyWjA9csXZbCk7r+jxIspViGiBTBPf8enwfM\nP59qrzlRxuzElVgjQ5Cyf/dsXxvRQLZNytlS0qFnscJafDv9P+MJrtkr1UB6\nKVM9UvA6bESd2lSeQRr2DVVU9vH4v4Hq3YJX9p05hzmmpRrB+OyoO7jj4ZfN\nI6VMduE2XmW9baddSoqynqw6cmHFvktlLduTeD3IU9DMGI+XdeF6swLCtcCH\naSPfeO7V3E0LDiyF7N6htW6qErCouafN8z4eOn5XK7u3VdV/rqG/mpnW/kSO\n1Nn3\r\n=wol4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKzVHF7zQuImFnyw1ck8hzUxBFuX3+kBg1wEYayB6F5gIhAMVEkPeq5FMw25EWPle88dtNzkjlZQQdcvEWzngBxrT/"}]},"maintainers":[{"name":"addapptable","email":"dev@addapptables.com"},{"name":"sebastian.delaroche","email":"sebastianroche17@gmail.com"},{"name":"teogl","email":"teito.lop@gmail.com"}],"_npmUser":{"name":"teogl","email":"teito.lop@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modal_2.0.0_1566837275251_0.9107425606995014"},"_hasShrinkwrap":false}},"time":{"created":"2019-01-28T22:39:46.508Z","0.0.1":"2019-01-28T22:39:46.818Z","modified":"2022-04-04T11:27:43.796Z","1.0.0":"2019-02-02T16:21:57.691Z","2.0.0":"2019-08-26T16:34:35.398Z"},"maintainers":[{"email":"teito.lop@gmail.com","name":"teogl"}],"description":"Material modal library for angular","homepage":"https://github.com/addapptables/modal-ui","keywords":["angular modal","modal","angular material modal","addapptables-modal-ui","addapptables"],"repository":{"type":"git","url":"git+https://github.com/addapptables/modal-ui.git"},"author":{"name":"Addapptables"},"bugs":{"url":"https://github.com/addapptables/modal-ui/issues"},"license":"MIT","readme":"# ADDAPPTABLES modal\r\n\r\nADDAPPTABLES modal is a library for angular\r\n\r\n[See demo](http://addapptables.com/admin/ecommerce/products)\r\n\r\n## Getting Started\r\nTo get started, let's install the package through npm:\r\n\r\nChoose the version corresponding to your Angular version:\r\n\r\n Angular     | @addapptables/modal\r\n ----------- | -------------------\r\n 8           | 2.x\r\n 7           | 1.x\r\n\r\n```\r\nnpm i @addapptables/modal --S\r\n```\r\n\r\nInstall peer dependencies\r\n\r\n```\r\nnpm i\r\n@addapptables/perfect-scrollbar\r\nperfect-scrollbar\r\n@angular/material\r\n@angular/cdk\r\n@angular/animations --S\r\n```\r\n\r\n## How to use\r\n\r\n- Import the module AlertModule into the AppModule\r\n\r\n```typescript\r\nimport { ModalModule } from '@addapptables/modal';\r\n@NgModule({\r\n  imports: [ModalModule.forRoot({ width: '800px' })]\r\n})\r\nexport class AppModule { }\r\n```\r\n\r\n- Create a component modal\r\n\r\n```typescript\r\n@Component({\r\n...\r\n})\r\nexport class FormModalComponent {\r\n\r\n  constructor(\r\n    private _dialogRef: MatDialogRef<FormModalComponent>,\r\n    @Optional() @Inject(MAT_DIALOG_DATA) public data: any\r\n  ) { }\r\n\r\n  close() {\r\n    this._dialogRef.close();\r\n  }\r\n\r\n}\r\n```\r\n\r\n```html\r\n<addapptable-modal>\r\n  <addapptable-modal-header>\r\n    <h3 class=\"text-accent\">Title</h3>\r\n    <button mat-icon-button (click)=\"close()\">\r\n      <mat-icon suffix>close</mat-icon>\r\n    </button>\r\n  </addapptable-modal-header>\r\n  <addapptable-modal-body>\r\n    //modal body\r\n  </addapptable-modal-body>\r\n  <addapptable-modal-footer>\r\n    <button type=\"submit\" mat-raised-button color=\"accent\">\r\n      Save\r\n    </button>\r\n    <button type=\"button\" mat-raised-button (click)=\"close()\">Close</button>\r\n  </addapptable-modal-footer>\r\n</addapptable-modal>\r\n```\r\n\r\n```typescript\r\nimport { ModalModule } from '@addapptables/modal';\r\n\r\n@NgModule({\r\n  imports: [ModalModule],\r\n  entryComponents: [\r\n    FormModalComponent // this line is important\r\n  ]\r\n})\r\nexport class OtherModule { }\r\n```\r\n\r\n```typescript\r\n@Component({\r\n...\r\n})\r\nexport class ProductListComponent {\r\n\r\n  constructor(\r\n    private _modalService: ModalService\r\n  ) { }\r\n\r\n  showModal() {\r\n    this._modalService.show(FormModalComponent);\r\n  }\r\n}\r\n```\r\n","readmeFilename":"README.md"}